]> git.saurik.com Git - wxWidgets.git/blob - configure
rebaked makefiles with 0.2.4 (and now with forgotten files)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 56132 2008-10-06 19:48:52Z SC .
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_BUILD_debug
822 COND_BUILD_debug_DEBUG_FLAG_default
823 COND_BUILD_debug_DEBUG_INFO_default
824 COND_BUILD_debug_UNICODE_0
825 COND_BUILD_debug_UNICODE_1
826 COND_BUILD_release
827 COND_BUILD_release_DEBUG_INFO_default
828 COND_BUILD_release_UNICODE_0
829 COND_BUILD_release_UNICODE_1
830 COND_DEBUG_FLAG_1
831 COND_DEBUG_INFO_0
832 COND_DEBUG_INFO_1
833 COND_DEPS_TRACKING_0
834 COND_DEPS_TRACKING_1
835 COND_GCC_PCH_1
836 COND_ICC_PCH_1
837 COND_MONOLITHIC_0
838 COND_MONOLITHIC_0_SHARED_0
839 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
845 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
846 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
847 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
848 COND_MONOLITHIC_0_SHARED_1
849 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
855 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
856 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
857 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
858 COND_MONOLITHIC_0_USE_AUI_1
859 COND_MONOLITHIC_0_USE_GUI_1
860 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_USE_HTML_1
862 COND_MONOLITHIC_0_USE_MEDIA_1
863 COND_MONOLITHIC_0_USE_PROPGRID_1
864 COND_MONOLITHIC_0_USE_QA_1
865 COND_MONOLITHIC_0_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_USE_STC_1
867 COND_MONOLITHIC_0_USE_XRC_1
868 COND_MONOLITHIC_1
869 COND_MONOLITHIC_1_SHARED_0
870 COND_MONOLITHIC_1_SHARED_1
871 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
872 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
873 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_1
876 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
881 COND_PLATFORM_MACOSX_1_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
883 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
884 COND_PLATFORM_MACOS_1
885 COND_PLATFORM_MAC_0
886 COND_PLATFORM_MAC_1
887 COND_PLATFORM_MSDOS_0
888 COND_PLATFORM_MSDOS_1
889 COND_PLATFORM_OS2_1
890 COND_PLATFORM_UNIX_0
891 COND_PLATFORM_UNIX_1
892 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
894 COND_PLATFORM_UNIX_1_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
896 COND_PLATFORM_WIN32_0
897 COND_PLATFORM_WIN32_1
898 COND_SHARED_0
899 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
900 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
902 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
906 COND_SHARED_0_USE_STC_1
907 COND_SHARED_0_wxUSE_EXPAT_builtin
908 COND_SHARED_0_wxUSE_REGEX_builtin
909 COND_SHARED_0_wxUSE_ZLIB_builtin
910 COND_SHARED_1
911 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
912 COND_TOOLKIT_
913 COND_TOOLKIT_COCOA
914 COND_TOOLKIT_COCOA_USE_GUI_1
915 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_DFB
917 COND_TOOLKIT_DFB_USE_GUI_1
918 COND_TOOLKIT_GTK
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_GTK_USE_GUI_1
926 COND_TOOLKIT_MAC
927 COND_TOOLKIT_MGL
928 COND_TOOLKIT_MGL_USE_GUI_1
929 COND_TOOLKIT_MOTIF
930 COND_TOOLKIT_MOTIF_USE_GUI_1
931 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_MSW
933 COND_TOOLKIT_MSW_USE_GUI_1
934 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_MSW_WXUNIV_0
936 COND_TOOLKIT_OSX_CARBON
937 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_OSX_COCOA
940 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_OSX_IPHONE
943 COND_TOOLKIT_PM
944 COND_TOOLKIT_PM_USE_GUI_1
945 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_WINCE
947 COND_TOOLKIT_WINCE_USE_GUI_1
948 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE_WXUNIV_0
950 COND_TOOLKIT_X11
951 COND_TOOLKIT_X11_USE_GUI_1
952 COND_UNICODE_1
953 COND_USE_EXCEPTIONS_0
954 COND_USE_EXCEPTIONS_1
955 COND_USE_GUI_0
956 COND_USE_GUI_1
957 COND_USE_GUI_1_USE_OPENGL_1
958 COND_USE_GUI_1_WXUNIV_0
959 COND_USE_GUI_1_WXUNIV_1
960 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
961 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
963 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
964 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
965 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
966 COND_USE_OPENGL_1
967 COND_USE_PCH_1
968 COND_USE_PLUGINS_0
969 COND_USE_RTTI_0
970 COND_USE_RTTI_1
971 COND_USE_SOSYMLINKS_1
972 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
973 COND_USE_SOVERLINUX_1
974 COND_USE_SOVERSION_0
975 COND_USE_SOVERSOLARIS_1
976 COND_USE_STC_1
977 COND_USE_THREADS_0
978 COND_USE_THREADS_1
979 COND_USE_XRC_1
980 COND_WINDOWS_IMPLIB_1
981 COND_WITH_PLUGIN_SDL_1
982 COND_WXUNIV_0
983 COND_WXUNIV_1
984 COND_WXUSE_EXPAT_BUILTIN
985 COND_WXUSE_LIBJPEG_BUILTIN
986 COND_WXUSE_LIBPNG_BUILTIN
987 COND_WXUSE_LIBTIFF_BUILTIN
988 COND_WXUSE_REGEX_BUILTIN
989 COND_WXUSE_ZLIB_BUILTIN
990 COND_wxUSE_EXPAT_builtin
991 COND_wxUSE_LIBJPEG_builtin
992 COND_wxUSE_LIBPNG_builtin
993 COND_wxUSE_LIBTIFF_builtin
994 COND_wxUSE_REGEX_builtin
995 COND_wxUSE_ZLIB_builtin
996 DEREZ
997 SHARED
998 WX_LIBRARY_BASENAME_NOGUI
999 WX_LIBRARY_BASENAME_GUI
1000 USE_GUI
1001 AFMINSTALL
1002 WIN32INSTALL
1003 TOOLKIT
1004 TOOLKIT_DIR
1005 TOOLCHAIN_NAME
1006 TOOLCHAIN_FULLNAME
1007 cross_compiling
1008 WIDGET_SET
1009 WX_RELEASE
1010 WX_VERSION
1011 WX_SUBVERSION
1012 WX_CHARTYPE
1013 WX_DEBUGTYPE
1014 WXCONFIG_CPPFLAGS
1015 WXCONFIG_CFLAGS
1016 WXCONFIG_CXXFLAGS
1017 WXCONFIG_LIBS
1018 WXCONFIG_RPATH
1019 WXCONFIG_LDFLAGS_GUI
1020 WXCONFIG_RESFLAGS
1021 GUIDIST
1022 DISTDIR
1023 SAMPLES_SUBDIRS
1024 LDFLAGS_GL
1025 OPENGL_LIBS
1026 DMALLOC_LIBS
1027 WX_VERSION_TAG
1028 RESCOMP
1029 RESFLAGS
1030 RESPROGRAMOBJ
1031 WX_RESOURCES_MACOSX_ASCII
1032 WX_RESOURCES_MACOSX_DATA
1033 LIBWXMACRES
1034 POSTLINK_COMMAND
1035 MACSETFILE
1036 GCC
1037 DLLTOOL
1038 CPPUNIT_CONFIG
1039 LIBOBJS
1040 LTLIBOBJS'
1041 ac_subst_files=''
1042 ac_precious_vars='build_alias
1043 host_alias
1044 target_alias
1045 CC
1046 CFLAGS
1047 LDFLAGS
1048 LIBS
1049 CPPFLAGS
1050 CPP
1051 CXX
1052 CXXFLAGS
1053 CCC
1054 PKG_CONFIG
1055 DIRECTFB_CFLAGS
1056 DIRECTFB_LIBS
1057 XMKMF
1058 PANGOX_CFLAGS
1059 PANGOX_LIBS
1060 PANGOFT2_CFLAGS
1061 PANGOFT2_LIBS
1062 PANGOXFT_CFLAGS
1063 PANGOXFT_LIBS
1064 GTKPRINT_CFLAGS
1065 GTKPRINT_LIBS
1066 LIBGNOMEPRINTUI_CFLAGS
1067 LIBGNOMEPRINTUI_LIBS
1068 GNOMEVFS_CFLAGS
1069 GNOMEVFS_LIBS
1070 HILDON_CFLAGS
1071 HILDON_LIBS
1072 CAIRO_CFLAGS
1073 CAIRO_LIBS
1074 GST_CFLAGS
1075 GST_LIBS'
1076 ac_subdirs_all='src/tiff
1077 src/expat'
1078
1079 # Initialize some variables set by options.
1080 ac_init_help=
1081 ac_init_version=false
1082 # The variables have the same names as the options, with
1083 # dashes changed to underlines.
1084 cache_file=/dev/null
1085 exec_prefix=NONE
1086 no_create=
1087 no_recursion=
1088 prefix=NONE
1089 program_prefix=NONE
1090 program_suffix=NONE
1091 program_transform_name=s,x,x,
1092 silent=
1093 site=
1094 srcdir=
1095 verbose=
1096 x_includes=NONE
1097 x_libraries=NONE
1098
1099 # Installation directory options.
1100 # These are left unexpanded so users can "make install exec_prefix=/foo"
1101 # and all the variables that are supposed to be based on exec_prefix
1102 # by default will actually change.
1103 # Use braces instead of parens because sh, perl, etc. also accept them.
1104 # (The list follows the same order as the GNU Coding Standards.)
1105 bindir='${exec_prefix}/bin'
1106 sbindir='${exec_prefix}/sbin'
1107 libexecdir='${exec_prefix}/libexec'
1108 datarootdir='${prefix}/share'
1109 datadir='${datarootdir}'
1110 sysconfdir='${prefix}/etc'
1111 sharedstatedir='${prefix}/com'
1112 localstatedir='${prefix}/var'
1113 includedir='${prefix}/include'
1114 oldincludedir='/usr/include'
1115 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1116 infodir='${datarootdir}/info'
1117 htmldir='${docdir}'
1118 dvidir='${docdir}'
1119 pdfdir='${docdir}'
1120 psdir='${docdir}'
1121 libdir='${exec_prefix}/lib'
1122 localedir='${datarootdir}/locale'
1123 mandir='${datarootdir}/man'
1124
1125 ac_prev=
1126 ac_dashdash=
1127 for ac_option
1128 do
1129 # If the previous option needs an argument, assign it.
1130 if test -n "$ac_prev"; then
1131 eval $ac_prev=\$ac_option
1132 ac_prev=
1133 continue
1134 fi
1135
1136 case $ac_option in
1137 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1138 *) ac_optarg=yes ;;
1139 esac
1140
1141 # Accept the important Cygnus configure options, so we can diagnose typos.
1142
1143 case $ac_dashdash$ac_option in
1144 --)
1145 ac_dashdash=yes ;;
1146
1147 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1148 ac_prev=bindir ;;
1149 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1150 bindir=$ac_optarg ;;
1151
1152 -build | --build | --buil | --bui | --bu)
1153 ac_prev=build_alias ;;
1154 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1155 build_alias=$ac_optarg ;;
1156
1157 -cache-file | --cache-file | --cache-fil | --cache-fi \
1158 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1159 ac_prev=cache_file ;;
1160 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1161 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1162 cache_file=$ac_optarg ;;
1163
1164 --config-cache | -C)
1165 cache_file=config.cache ;;
1166
1167 -datadir | --datadir | --datadi | --datad)
1168 ac_prev=datadir ;;
1169 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1170 datadir=$ac_optarg ;;
1171
1172 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1173 | --dataroo | --dataro | --datar)
1174 ac_prev=datarootdir ;;
1175 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1176 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1177 datarootdir=$ac_optarg ;;
1178
1179 -disable-* | --disable-*)
1180 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1184 { (exit 1); exit 1; }; }
1185 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1186 eval enable_$ac_feature=no ;;
1187
1188 -docdir | --docdir | --docdi | --doc | --do)
1189 ac_prev=docdir ;;
1190 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1191 docdir=$ac_optarg ;;
1192
1193 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1194 ac_prev=dvidir ;;
1195 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1196 dvidir=$ac_optarg ;;
1197
1198 -enable-* | --enable-*)
1199 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1203 { (exit 1); exit 1; }; }
1204 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1205 eval enable_$ac_feature=\$ac_optarg ;;
1206
1207 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1208 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1209 | --exec | --exe | --ex)
1210 ac_prev=exec_prefix ;;
1211 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1212 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1213 | --exec=* | --exe=* | --ex=*)
1214 exec_prefix=$ac_optarg ;;
1215
1216 -gas | --gas | --ga | --g)
1217 # Obsolete; use --with-gas.
1218 with_gas=yes ;;
1219
1220 -help | --help | --hel | --he | -h)
1221 ac_init_help=long ;;
1222 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1223 ac_init_help=recursive ;;
1224 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1225 ac_init_help=short ;;
1226
1227 -host | --host | --hos | --ho)
1228 ac_prev=host_alias ;;
1229 -host=* | --host=* | --hos=* | --ho=*)
1230 host_alias=$ac_optarg ;;
1231
1232 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1233 ac_prev=htmldir ;;
1234 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1235 | --ht=*)
1236 htmldir=$ac_optarg ;;
1237
1238 -includedir | --includedir | --includedi | --included | --include \
1239 | --includ | --inclu | --incl | --inc)
1240 ac_prev=includedir ;;
1241 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1242 | --includ=* | --inclu=* | --incl=* | --inc=*)
1243 includedir=$ac_optarg ;;
1244
1245 -infodir | --infodir | --infodi | --infod | --info | --inf)
1246 ac_prev=infodir ;;
1247 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1248 infodir=$ac_optarg ;;
1249
1250 -libdir | --libdir | --libdi | --libd)
1251 ac_prev=libdir ;;
1252 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1253 libdir=$ac_optarg ;;
1254
1255 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1256 | --libexe | --libex | --libe)
1257 ac_prev=libexecdir ;;
1258 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1259 | --libexe=* | --libex=* | --libe=*)
1260 libexecdir=$ac_optarg ;;
1261
1262 -localedir | --localedir | --localedi | --localed | --locale)
1263 ac_prev=localedir ;;
1264 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1265 localedir=$ac_optarg ;;
1266
1267 -localstatedir | --localstatedir | --localstatedi | --localstated \
1268 | --localstate | --localstat | --localsta | --localst | --locals)
1269 ac_prev=localstatedir ;;
1270 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1271 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1272 localstatedir=$ac_optarg ;;
1273
1274 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1275 ac_prev=mandir ;;
1276 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1277 mandir=$ac_optarg ;;
1278
1279 -nfp | --nfp | --nf)
1280 # Obsolete; use --without-fp.
1281 with_fp=no ;;
1282
1283 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1284 | --no-cr | --no-c | -n)
1285 no_create=yes ;;
1286
1287 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1288 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1289 no_recursion=yes ;;
1290
1291 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1292 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1293 | --oldin | --oldi | --old | --ol | --o)
1294 ac_prev=oldincludedir ;;
1295 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1296 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1297 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1298 oldincludedir=$ac_optarg ;;
1299
1300 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1301 ac_prev=prefix ;;
1302 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1303 prefix=$ac_optarg ;;
1304
1305 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1306 | --program-pre | --program-pr | --program-p)
1307 ac_prev=program_prefix ;;
1308 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1309 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1310 program_prefix=$ac_optarg ;;
1311
1312 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1313 | --program-suf | --program-su | --program-s)
1314 ac_prev=program_suffix ;;
1315 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1316 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1317 program_suffix=$ac_optarg ;;
1318
1319 -program-transform-name | --program-transform-name \
1320 | --program-transform-nam | --program-transform-na \
1321 | --program-transform-n | --program-transform- \
1322 | --program-transform | --program-transfor \
1323 | --program-transfo | --program-transf \
1324 | --program-trans | --program-tran \
1325 | --progr-tra | --program-tr | --program-t)
1326 ac_prev=program_transform_name ;;
1327 -program-transform-name=* | --program-transform-name=* \
1328 | --program-transform-nam=* | --program-transform-na=* \
1329 | --program-transform-n=* | --program-transform-=* \
1330 | --program-transform=* | --program-transfor=* \
1331 | --program-transfo=* | --program-transf=* \
1332 | --program-trans=* | --program-tran=* \
1333 | --progr-tra=* | --program-tr=* | --program-t=*)
1334 program_transform_name=$ac_optarg ;;
1335
1336 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1337 ac_prev=pdfdir ;;
1338 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1339 pdfdir=$ac_optarg ;;
1340
1341 -psdir | --psdir | --psdi | --psd | --ps)
1342 ac_prev=psdir ;;
1343 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1344 psdir=$ac_optarg ;;
1345
1346 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1347 | -silent | --silent | --silen | --sile | --sil)
1348 silent=yes ;;
1349
1350 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1351 ac_prev=sbindir ;;
1352 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1353 | --sbi=* | --sb=*)
1354 sbindir=$ac_optarg ;;
1355
1356 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1357 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1358 | --sharedst | --shareds | --shared | --share | --shar \
1359 | --sha | --sh)
1360 ac_prev=sharedstatedir ;;
1361 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1362 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1363 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1364 | --sha=* | --sh=*)
1365 sharedstatedir=$ac_optarg ;;
1366
1367 -site | --site | --sit)
1368 ac_prev=site ;;
1369 -site=* | --site=* | --sit=*)
1370 site=$ac_optarg ;;
1371
1372 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1373 ac_prev=srcdir ;;
1374 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1375 srcdir=$ac_optarg ;;
1376
1377 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1378 | --syscon | --sysco | --sysc | --sys | --sy)
1379 ac_prev=sysconfdir ;;
1380 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1381 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1382 sysconfdir=$ac_optarg ;;
1383
1384 -target | --target | --targe | --targ | --tar | --ta | --t)
1385 ac_prev=target_alias ;;
1386 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1387 target_alias=$ac_optarg ;;
1388
1389 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1390 verbose=yes ;;
1391
1392 -version | --version | --versio | --versi | --vers | -V)
1393 ac_init_version=: ;;
1394
1395 -with-* | --with-*)
1396 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1397 # Reject names that are not valid shell variable names.
1398 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1399 { echo "$as_me: error: invalid package name: $ac_package" >&2
1400 { (exit 1); exit 1; }; }
1401 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1402 eval with_$ac_package=\$ac_optarg ;;
1403
1404 -without-* | --without-*)
1405 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1406 # Reject names that are not valid shell variable names.
1407 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1408 { echo "$as_me: error: invalid package name: $ac_package" >&2
1409 { (exit 1); exit 1; }; }
1410 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1411 eval with_$ac_package=no ;;
1412
1413 --x)
1414 # Obsolete; use --with-x.
1415 with_x=yes ;;
1416
1417 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1418 | --x-incl | --x-inc | --x-in | --x-i)
1419 ac_prev=x_includes ;;
1420 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1421 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1422 x_includes=$ac_optarg ;;
1423
1424 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1425 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1426 ac_prev=x_libraries ;;
1427 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1428 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1429 x_libraries=$ac_optarg ;;
1430
1431 -*) { echo "$as_me: error: unrecognized option: $ac_option
1432 Try \`$0 --help' for more information." >&2
1433 { (exit 1); exit 1; }; }
1434 ;;
1435
1436 *=*)
1437 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1438 # Reject names that are not valid shell variable names.
1439 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1440 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1441 { (exit 1); exit 1; }; }
1442 eval $ac_envvar=\$ac_optarg
1443 export $ac_envvar ;;
1444
1445 *)
1446 # FIXME: should be removed in autoconf 3.0.
1447 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1448 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1449 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1450 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1451 ;;
1452
1453 esac
1454 done
1455
1456 if test -n "$ac_prev"; then
1457 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1458 { echo "$as_me: error: missing argument to $ac_option" >&2
1459 { (exit 1); exit 1; }; }
1460 fi
1461
1462 # Be sure to have absolute directory names.
1463 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1464 datadir sysconfdir sharedstatedir localstatedir includedir \
1465 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1466 libdir localedir mandir
1467 do
1468 eval ac_val=\$$ac_var
1469 case $ac_val in
1470 [\\/$]* | ?:[\\/]* ) continue;;
1471 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1472 esac
1473 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1474 { (exit 1); exit 1; }; }
1475 done
1476
1477 # There might be people who depend on the old broken behavior: `$host'
1478 # used to hold the argument of --host etc.
1479 # FIXME: To remove some day.
1480 build=$build_alias
1481 host=$host_alias
1482 target=$target_alias
1483
1484 # FIXME: To remove some day.
1485 if test "x$host_alias" != x; then
1486 if test "x$build_alias" = x; then
1487 cross_compiling=maybe
1488 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1489 If a cross compiler is detected then cross compile mode will be used." >&2
1490 elif test "x$build_alias" != "x$host_alias"; then
1491 cross_compiling=yes
1492 fi
1493 fi
1494
1495 ac_tool_prefix=
1496 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1497
1498 test "$silent" = yes && exec 6>/dev/null
1499
1500
1501 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1502 ac_ls_di=`ls -di .` &&
1503 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1504 { echo "$as_me: error: Working directory cannot be determined" >&2
1505 { (exit 1); exit 1; }; }
1506 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1507 { echo "$as_me: error: pwd does not report name of working directory" >&2
1508 { (exit 1); exit 1; }; }
1509
1510
1511 # Find the source files, if location was not specified.
1512 if test -z "$srcdir"; then
1513 ac_srcdir_defaulted=yes
1514 # Try the directory containing this script, then the parent directory.
1515 ac_confdir=`$as_dirname -- "$0" ||
1516 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1517 X"$0" : 'X\(//\)[^/]' \| \
1518 X"$0" : 'X\(//\)$' \| \
1519 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1520 echo X"$0" |
1521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1522 s//\1/
1523 q
1524 }
1525 /^X\(\/\/\)[^/].*/{
1526 s//\1/
1527 q
1528 }
1529 /^X\(\/\/\)$/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\).*/{
1534 s//\1/
1535 q
1536 }
1537 s/.*/./; q'`
1538 srcdir=$ac_confdir
1539 if test ! -r "$srcdir/$ac_unique_file"; then
1540 srcdir=..
1541 fi
1542 else
1543 ac_srcdir_defaulted=no
1544 fi
1545 if test ! -r "$srcdir/$ac_unique_file"; then
1546 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1548 { (exit 1); exit 1; }; }
1549 fi
1550 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1551 ac_abs_confdir=`(
1552 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1553 { (exit 1); exit 1; }; }
1554 pwd)`
1555 # When building in place, set srcdir=.
1556 if test "$ac_abs_confdir" = "$ac_pwd"; then
1557 srcdir=.
1558 fi
1559 # Remove unnecessary trailing slashes from srcdir.
1560 # Double slashes in file names in object file debugging info
1561 # mess up M-x gdb in Emacs.
1562 case $srcdir in
1563 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1564 esac
1565 for ac_var in $ac_precious_vars; do
1566 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1567 eval ac_env_${ac_var}_value=\$${ac_var}
1568 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1569 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1570 done
1571
1572 #
1573 # Report the --help message.
1574 #
1575 if test "$ac_init_help" = "long"; then
1576 # Omit some internal or obsolete options to make the list less imposing.
1577 # This message is too long to be a string in the A/UX 3.1 sh.
1578 cat <<_ACEOF
1579 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1580
1581 Usage: $0 [OPTION]... [VAR=VALUE]...
1582
1583 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1584 VAR=VALUE. See below for descriptions of some of the useful variables.
1585
1586 Defaults for the options are specified in brackets.
1587
1588 Configuration:
1589 -h, --help display this help and exit
1590 --help=short display options specific to this package
1591 --help=recursive display the short help of all the included packages
1592 -V, --version display version information and exit
1593 -q, --quiet, --silent do not print \`checking...' messages
1594 --cache-file=FILE cache test results in FILE [disabled]
1595 -C, --config-cache alias for \`--cache-file=config.cache'
1596 -n, --no-create do not create output files
1597 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1598
1599 Installation directories:
1600 --prefix=PREFIX install architecture-independent files in PREFIX
1601 [$ac_default_prefix]
1602 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1603 [PREFIX]
1604
1605 By default, \`make install' will install all the files in
1606 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1607 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1608 for instance \`--prefix=\$HOME'.
1609
1610 For better control, use the options below.
1611
1612 Fine tuning of the installation directories:
1613 --bindir=DIR user executables [EPREFIX/bin]
1614 --sbindir=DIR system admin executables [EPREFIX/sbin]
1615 --libexecdir=DIR program executables [EPREFIX/libexec]
1616 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1617 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1618 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1619 --libdir=DIR object code libraries [EPREFIX/lib]
1620 --includedir=DIR C header files [PREFIX/include]
1621 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1622 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1623 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1624 --infodir=DIR info documentation [DATAROOTDIR/info]
1625 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1626 --mandir=DIR man documentation [DATAROOTDIR/man]
1627 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1628 --htmldir=DIR html documentation [DOCDIR]
1629 --dvidir=DIR dvi documentation [DOCDIR]
1630 --pdfdir=DIR pdf documentation [DOCDIR]
1631 --psdir=DIR ps documentation [DOCDIR]
1632 _ACEOF
1633
1634 cat <<\_ACEOF
1635
1636 X features:
1637 --x-includes=DIR X include files are in DIR
1638 --x-libraries=DIR X library files are in DIR
1639
1640 System types:
1641 --build=BUILD configure for building on BUILD [guessed]
1642 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1643 --target=TARGET configure for building compilers for TARGET [HOST]
1644 _ACEOF
1645 fi
1646
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1650 esac
1651 cat <<\_ACEOF
1652
1653 Optional Features:
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-gui don't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros, even if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets 2.6 compatibility
1691 --disable-compat28 disable wxWidgets 2.8 compatibility
1692 --disable-rpath disable use of rpath for uninstalled builds
1693 --enable-objc_uniquifying enable Objective-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x-locale support (requires wxLocale)
1697 --enable-config use wxConfig (and derived) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP (requires wxProtocol
1700 --enable-http use wxHTTP (requires wxProtocol
1701 --enable-fileproto use wxFileProto class (requires wxProtocol
1702 --enable-sockets use socket/network classes
1703 --enable-ipv6 enable IPv6 support in wxSocket
1704 --enable-ole use OLE classes (Win32 only)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication (wxSocket etc.)
1707 --enable-baseevtloop use event loop in console programs too
1708 --enable-epollloop use wxEpollDispatcher class (Linux only)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding/decoding functions
1713 --enable-backtrace use wxStackWalker class for getting backtraces
1714 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class for DLL loading
1720 --enable-dynamicloader use (new) wxDynamicLibrary class
1721 --enable-exceptions build exception-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support in wxProtocol
1750 --enable-protocol-ftp FTP support in wxProtocol
1751 --enable-protocol-file FILE support in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig (Win32 only)
1754 --enable-regkey use wxRegKey class (Win32 only)
1755 --enable-docview use document view architecture
1756 --enable-help use help subsystem
1757 --enable-mshtmlhelp use MS HTML Help (win32)
1758 --enable-html use wxHTML sub-library
1759 --enable-htmlhelp use wxHTML-based help
1760 --enable-xrc use XRC resources sub-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl (Mac)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context 2D drawing API
1775 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-button use wxButton class
1785 --enable-bmpbutton use wxBitmapButton class
1786 --enable-bmpcombobox use wxBitmapComboBox class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-datepick use wxDatePickerCtrl class
1798 --enable-dirpicker use wxDirPickerCtrl class
1799 --enable-display use wxDisplay class
1800 --enable-detect_sm use code to detect X11 session manager
1801 --enable-editablebox use wxEditableListBox class
1802 --enable-filepicker use wxFilePickerCtrl class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-fontpicker use wxFontPickerCtrl class
1805 --enable-gauge use wxGauge class
1806 --enable-grid use wxGrid class
1807 --enable-dataviewctrl use wxDataViewCtrl class
1808 --enable-hyperlink use wxHyperlinkCtrl class
1809 --enable-imaglist use wxImageList class
1810 --enable-listbook use wxListbook class
1811 --enable-listbox use wxListBox class
1812 --enable-listctrl use wxListCtrl class
1813 --enable-notebook use wxNotebook class
1814 --enable-notifmsg use wxNotificationMessage class
1815 --enable-odcombobox use wxOwnerDrawnComboBox class
1816 --enable-radiobox use wxRadioBox class
1817 --enable-radiobtn use wxRadioButton class
1818 --enable-sash use wxSashWindow class
1819 --enable-scrollbar use wxScrollBar class and scrollable windows
1820 --enable-searchctrl use wxSearchCtrl class
1821 --enable-slider use wxSlider class
1822 --enable-spinbtn use wxSpinButton class
1823 --enable-spinctrl use wxSpinCtrl class
1824 --enable-splitter use wxSplitterWindow class
1825 --enable-statbmp use wxStaticBitmap class
1826 --enable-statbox use wxStaticBox class
1827 --enable-statline use wxStaticLine class
1828 --enable-stattext use wxStaticText class
1829 --enable-statusbar use wxStatusBar class
1830 --enable-tabdialog use wxTabControl class
1831 --enable-taskbaricon use wxTaskBarIcon class
1832 --enable-textctrl use wxTextCtrl class
1833 --enable-togglebtn use wxToggleButton class
1834 --enable-toolbar use wxToolBar class
1835 --enable-tbarnative use native wxToolBar class
1836 --enable-treebook use wxTreebook class
1837 --enable-toolbook use wxToolbook class
1838 --enable-treectrl use wxTreeCtrl class
1839 --enable-tipwindow use wxTipWindow class
1840 --enable-popupwin use wxPopUpWindow class
1841 --enable-commondlg use all common dialogs
1842 --enable-aboutdlg use wxAboutBox
1843 --enable-choicedlg use wxChoiceDialog
1844 --enable-coldlg use wxColourDialog
1845 --enable-filedlg use wxFileDialog
1846 --enable-finddlg use wxFindReplaceDialog
1847 --enable-fontdlg use wxFontDialog
1848 --enable-dirdlg use wxDirDialog
1849 --enable-msgdlg use wxMessageDialog
1850 --enable-numberdlg use wxNumberEntryDialog
1851 --enable-splash use wxSplashScreen
1852 --enable-textdlg use wxTextDialog
1853 --enable-tipdlg use startup tips
1854 --enable-progressdlg use wxProgressDialog
1855 --enable-wizarddlg use wxWizard
1856 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1857 --enable-miniframe use wxMiniFrame class
1858 --enable-tooltips use wxToolTip class
1859 --enable-splines use spline drawing code
1860 --enable-mousewheel use mousewheel
1861 --enable-validators use wxValidator and derived classes
1862 --enable-busyinfo use wxBusyInfo
1863 --enable-joystick use wxJoystick
1864 --enable-metafiles use wxMetaFile (Win32 only)
1865 --enable-dragimage use wxDragImage
1866 --enable-accessibility enable accessibility support
1867 --enable-palette use wxPalette class
1868 --enable-image use wxImage class
1869 --enable-gif use gif images (GIF file format)
1870 --enable-pcx use pcx images (PCX file format)
1871 --enable-tga use tga images (TGA file format)
1872 --enable-iff use iff images (IFF file format)
1873 --enable-pnm use pnm images (PNM file format)
1874 --enable-xpm use xpm images (XPM file format)
1875 --enable-ico_cur use Windows ICO and CUR formats
1876 --enable-dccache cache temporary wxDC objects (Win32 only)
1877 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1878 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1879 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1880 --enable-wxdib use wxDIB class (Win32 only)
1881 --enable-autoidman use automatic ids management
1882 --disable-largefile omit support for large files
1883 --disable-gtktest do not try to compile and run a test GTK+ program
1884 --disable-gtktest Do not try to compile and run a test GTK program
1885 --disable-sdltest Do not try to compile and run a test SDL program
1886 --enable-omf use OMF object format (OS/2)
1887 --disable-dependency-tracking
1888 don't use dependency tracking even if the compiler
1889 can
1890 --disable-precomp-headers
1891 don't use precompiled headers even if compiler can
1892
1893 Optional Packages:
1894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1896 --without-subdirs don't generate makefiles for samples/demos/...
1897 --with-flavour=NAME specify a name to identify this build
1898 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1899 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1900 --with-motif use Motif/Lesstif
1901 --with-osx_carbon use Mac OS X (Carbon)
1902 --with-osx_cocoa use Mac OS X (Cocoa)
1903 --with-mac use Mac OS X (Default)
1904 --with-cocoa use Cocoa
1905 --with-wine use Wine
1906 --with-msw use MS-Windows
1907 --with-pm use OS/2 Presentation Manager
1908 --with-mgl use SciTech MGL
1909 --with-directfb use DirectFB
1910 --with-microwin use MicroWindows
1911 --with-x11 use X11
1912 --with-libpng use libpng (PNG image format)
1913 --with-libjpeg use libjpeg (JPEG file format)
1914 --with-libtiff use libtiff (TIFF file format)
1915 --with-libxpm use libxpm (XPM file format)
1916 --with-libiconv use libiconv (character conversion)
1917 --with-libmspack use libmspack (CHM help files loading)
1918 --without-gtkprint don't use GTK printing support
1919 --without-gnomeprint don't use GNOME printing libraries
1920 --with-gnomevfs use GNOME VFS for associating MIME types
1921 --with-hildon use Hildon framework for Nokia 770
1922 --with-opengl use OpenGL (or Mesa)
1923 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1924 --with-sdl use SDL for audio on Unix
1925 --with-regex enable support for wxRegEx class
1926 --with-zlib use zlib for LZW compression
1927 --with-expat enable XML support using expat parser
1928 --with-macosx-sdk=PATH use an OS X SDK at PATH
1929 --with-macosx-version-min=VER build binaries which require at least this OS X version
1930 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1931 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1932 --with-x use the X Window System
1933 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1934 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1935 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1936 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1937 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1938
1939 Some influential environment variables:
1940 CC C compiler command
1941 CFLAGS C compiler flags
1942 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1943 nonstandard directory <lib dir>
1944 LIBS libraries to pass to the linker, e.g. -l<library>
1945 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1946 you have headers in a nonstandard directory <include dir>
1947 CPP C preprocessor
1948 CXX C++ compiler command
1949 CXXFLAGS C++ compiler flags
1950 PKG_CONFIG path to pkg-config utility
1951 DIRECTFB_CFLAGS
1952 C compiler flags for DIRECTFB, overriding pkg-config
1953 DIRECTFB_LIBS
1954 linker flags for DIRECTFB, overriding pkg-config
1955 XMKMF Path to xmkmf, Makefile generator for X Window System
1956 PANGOX_CFLAGS
1957 C compiler flags for PANGOX, overriding pkg-config
1958 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1959 PANGOFT2_CFLAGS
1960 C compiler flags for PANGOFT2, overriding pkg-config
1961 PANGOFT2_LIBS
1962 linker flags for PANGOFT2, overriding pkg-config
1963 PANGOXFT_CFLAGS
1964 C compiler flags for PANGOXFT, overriding pkg-config
1965 PANGOXFT_LIBS
1966 linker flags for PANGOXFT, overriding pkg-config
1967 GTKPRINT_CFLAGS
1968 C compiler flags for GTKPRINT, overriding pkg-config
1969 GTKPRINT_LIBS
1970 linker flags for GTKPRINT, overriding pkg-config
1971 LIBGNOMEPRINTUI_CFLAGS
1972 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1973 LIBGNOMEPRINTUI_LIBS
1974 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1975 GNOMEVFS_CFLAGS
1976 C compiler flags for GNOMEVFS, overriding pkg-config
1977 GNOMEVFS_LIBS
1978 linker flags for GNOMEVFS, overriding pkg-config
1979 HILDON_CFLAGS
1980 C compiler flags for HILDON, overriding pkg-config
1981 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1982 CAIRO_CFLAGS
1983 C compiler flags for CAIRO, overriding pkg-config
1984 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1985 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1986 GST_LIBS linker flags for GST, overriding pkg-config
1987
1988 Use these variables to override the choices made by `configure' or to help
1989 it to find libraries and programs with nonstandard names/locations.
1990
1991 Report bugs to <wx-dev@lists.wxwidgets.org>.
1992 _ACEOF
1993 ac_status=$?
1994 fi
1995
1996 if test "$ac_init_help" = "recursive"; then
1997 # If there are subdirs, report their specific --help.
1998 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1999 test -d "$ac_dir" || continue
2000 ac_builddir=.
2001
2002 case "$ac_dir" in
2003 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2004 *)
2005 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2006 # A ".." for each directory in $ac_dir_suffix.
2007 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2008 case $ac_top_builddir_sub in
2009 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2010 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2011 esac ;;
2012 esac
2013 ac_abs_top_builddir=$ac_pwd
2014 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2015 # for backward compatibility:
2016 ac_top_builddir=$ac_top_build_prefix
2017
2018 case $srcdir in
2019 .) # We are building in place.
2020 ac_srcdir=.
2021 ac_top_srcdir=$ac_top_builddir_sub
2022 ac_abs_top_srcdir=$ac_pwd ;;
2023 [\\/]* | ?:[\\/]* ) # Absolute name.
2024 ac_srcdir=$srcdir$ac_dir_suffix;
2025 ac_top_srcdir=$srcdir
2026 ac_abs_top_srcdir=$srcdir ;;
2027 *) # Relative name.
2028 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2029 ac_top_srcdir=$ac_top_build_prefix$srcdir
2030 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2031 esac
2032 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2033
2034 cd "$ac_dir" || { ac_status=$?; continue; }
2035 # Check for guested configure.
2036 if test -f "$ac_srcdir/configure.gnu"; then
2037 echo &&
2038 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2039 elif test -f "$ac_srcdir/configure"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure" --help=recursive
2042 else
2043 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2044 fi || ac_status=$?
2045 cd "$ac_pwd" || { ac_status=$?; break; }
2046 done
2047 fi
2048
2049 test -n "$ac_init_help" && exit $ac_status
2050 if $ac_init_version; then
2051 cat <<\_ACEOF
2052 wxWidgets configure 2.9.0
2053 generated by GNU Autoconf 2.61
2054
2055 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2056 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2057 This configure script is free software; the Free Software Foundation
2058 gives unlimited permission to copy, distribute and modify it.
2059 _ACEOF
2060 exit
2061 fi
2062 cat >config.log <<_ACEOF
2063 This file contains any messages produced by compilers while
2064 running configure, to aid debugging if configure makes a mistake.
2065
2066 It was created by wxWidgets $as_me 2.9.0, which was
2067 generated by GNU Autoconf 2.61. Invocation command line was
2068
2069 $ $0 $@
2070
2071 _ACEOF
2072 exec 5>>config.log
2073 {
2074 cat <<_ASUNAME
2075 ## --------- ##
2076 ## Platform. ##
2077 ## --------- ##
2078
2079 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2080 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2081 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2082 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2083 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2084
2085 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2086 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2087
2088 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2089 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2090 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2091 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2092 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2093 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2094 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2095
2096 _ASUNAME
2097
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 echo "PATH: $as_dir"
2104 done
2105 IFS=$as_save_IFS
2106
2107 } >&5
2108
2109 cat >&5 <<_ACEOF
2110
2111
2112 ## ----------- ##
2113 ## Core tests. ##
2114 ## ----------- ##
2115
2116 _ACEOF
2117
2118
2119 # Keep a trace of the command line.
2120 # Strip out --no-create and --no-recursion so they do not pile up.
2121 # Strip out --silent because we don't want to record it for future runs.
2122 # Also quote any args containing shell meta-characters.
2123 # Make two passes to allow for proper duplicate-argument suppression.
2124 ac_configure_args=
2125 ac_configure_args0=
2126 ac_configure_args1=
2127 ac_must_keep_next=false
2128 for ac_pass in 1 2
2129 do
2130 for ac_arg
2131 do
2132 case $ac_arg in
2133 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2135 | -silent | --silent | --silen | --sile | --sil)
2136 continue ;;
2137 *\'*)
2138 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 esac
2140 case $ac_pass in
2141 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2142 2)
2143 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2144 if test $ac_must_keep_next = true; then
2145 ac_must_keep_next=false # Got value, back to normal.
2146 else
2147 case $ac_arg in
2148 *=* | --config-cache | -C | -disable-* | --disable-* \
2149 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2150 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2151 | -with-* | --with-* | -without-* | --without-* | --x)
2152 case "$ac_configure_args0 " in
2153 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2154 esac
2155 ;;
2156 -* ) ac_must_keep_next=true ;;
2157 esac
2158 fi
2159 ac_configure_args="$ac_configure_args '$ac_arg'"
2160 ;;
2161 esac
2162 done
2163 done
2164 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2165 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2166
2167 # When interrupted or exit'd, cleanup temporary files, and complete
2168 # config.log. We remove comments because anyway the quotes in there
2169 # would cause problems or look ugly.
2170 # WARNING: Use '\'' to represent an apostrophe within the trap.
2171 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2172 trap 'exit_status=$?
2173 # Save into config.log some information that might help in debugging.
2174 {
2175 echo
2176
2177 cat <<\_ASBOX
2178 ## ---------------- ##
2179 ## Cache variables. ##
2180 ## ---------------- ##
2181 _ASBOX
2182 echo
2183 # The following way of writing the cache mishandles newlines in values,
2184 (
2185 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186 eval ac_val=\$$ac_var
2187 case $ac_val in #(
2188 *${as_nl}*)
2189 case $ac_var in #(
2190 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2191 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2192 esac
2193 case $ac_var in #(
2194 _ | IFS | as_nl) ;; #(
2195 *) $as_unset $ac_var ;;
2196 esac ;;
2197 esac
2198 done
2199 (set) 2>&1 |
2200 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2201 *${as_nl}ac_space=\ *)
2202 sed -n \
2203 "s/'\''/'\''\\\\'\'''\''/g;
2204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2205 ;; #(
2206 *)
2207 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2208 ;;
2209 esac |
2210 sort
2211 )
2212 echo
2213
2214 cat <<\_ASBOX
2215 ## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##
2218 _ASBOX
2219 echo
2220 for ac_var in $ac_subst_vars
2221 do
2222 eval ac_val=\$$ac_var
2223 case $ac_val in
2224 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225 esac
2226 echo "$ac_var='\''$ac_val'\''"
2227 done | sort
2228 echo
2229
2230 if test -n "$ac_subst_files"; then
2231 cat <<\_ASBOX
2232 ## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##
2235 _ASBOX
2236 echo
2237 for ac_var in $ac_subst_files
2238 do
2239 eval ac_val=\$$ac_var
2240 case $ac_val in
2241 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2242 esac
2243 echo "$ac_var='\''$ac_val'\''"
2244 done | sort
2245 echo
2246 fi
2247
2248 if test -s confdefs.h; then
2249 cat <<\_ASBOX
2250 ## ----------- ##
2251 ## confdefs.h. ##
2252 ## ----------- ##
2253 _ASBOX
2254 echo
2255 cat confdefs.h
2256 echo
2257 fi
2258 test "$ac_signal" != 0 &&
2259 echo "$as_me: caught signal $ac_signal"
2260 echo "$as_me: exit $exit_status"
2261 } >&5
2262 rm -f core *.core core.conftest.* &&
2263 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2264 exit $exit_status
2265 ' 0
2266 for ac_signal in 1 2 13 15; do
2267 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2268 done
2269 ac_signal=0
2270
2271 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2272 rm -f -r conftest* confdefs.h
2273
2274 # Predefined preprocessor variables.
2275
2276 cat >>confdefs.h <<_ACEOF
2277 #define PACKAGE_NAME "$PACKAGE_NAME"
2278 _ACEOF
2279
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2283 _ACEOF
2284
2285
2286 cat >>confdefs.h <<_ACEOF
2287 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2288 _ACEOF
2289
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_STRING "$PACKAGE_STRING"
2293 _ACEOF
2294
2295
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2298 _ACEOF
2299
2300
2301 # Let the site file select an alternate cache file if it wants to.
2302 # Prefer explicitly selected file to automatically selected ones.
2303 if test -n "$CONFIG_SITE"; then
2304 set x "$CONFIG_SITE"
2305 elif test "x$prefix" != xNONE; then
2306 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2307 else
2308 set x "$ac_default_prefix/share/config.site" \
2309 "$ac_default_prefix/etc/config.site"
2310 fi
2311 shift
2312 for ac_site_file
2313 do
2314 if test -r "$ac_site_file"; then
2315 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2316 echo "$as_me: loading site script $ac_site_file" >&6;}
2317 sed 's/^/| /' "$ac_site_file" >&5
2318 . "$ac_site_file"
2319 fi
2320 done
2321
2322 if test -r "$cache_file"; then
2323 # Some versions of bash will fail to source /dev/null (special
2324 # files actually), so we avoid doing that.
2325 if test -f "$cache_file"; then
2326 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2327 echo "$as_me: loading cache $cache_file" >&6;}
2328 case $cache_file in
2329 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2330 *) . "./$cache_file";;
2331 esac
2332 fi
2333 else
2334 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2335 echo "$as_me: creating cache $cache_file" >&6;}
2336 >$cache_file
2337 fi
2338
2339 # Check that the precious variables saved in the cache have kept the same
2340 # value.
2341 ac_cache_corrupted=false
2342 for ac_var in $ac_precious_vars; do
2343 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2344 eval ac_new_set=\$ac_env_${ac_var}_set
2345 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2346 eval ac_new_val=\$ac_env_${ac_var}_value
2347 case $ac_old_set,$ac_new_set in
2348 set,)
2349 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2350 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2351 ac_cache_corrupted=: ;;
2352 ,set)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,);;
2357 *)
2358 if test "x$ac_old_val" != "x$ac_new_val"; then
2359 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2360 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2361 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2362 echo "$as_me: former value: $ac_old_val" >&2;}
2363 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2364 echo "$as_me: current value: $ac_new_val" >&2;}
2365 ac_cache_corrupted=:
2366 fi;;
2367 esac
2368 # Pass precious variables to config.status.
2369 if test "$ac_new_set" = set; then
2370 case $ac_new_val in
2371 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2372 *) ac_arg=$ac_var=$ac_new_val ;;
2373 esac
2374 case " $ac_configure_args " in
2375 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2376 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2377 esac
2378 fi
2379 done
2380 if $ac_cache_corrupted; then
2381 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2382 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2383 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2384 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2385 { (exit 1); exit 1; }; }
2386 fi
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412 ac_ext=c
2413 ac_cpp='$CPP $CPPFLAGS'
2414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2417
2418
2419
2420
2421
2422 ac_aux_dir=
2423 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2424 if test -f "$ac_dir/install-sh"; then
2425 ac_aux_dir=$ac_dir
2426 ac_install_sh="$ac_aux_dir/install-sh -c"
2427 break
2428 elif test -f "$ac_dir/install.sh"; then
2429 ac_aux_dir=$ac_dir
2430 ac_install_sh="$ac_aux_dir/install.sh -c"
2431 break
2432 elif test -f "$ac_dir/shtool"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/shtool install -c"
2435 break
2436 fi
2437 done
2438 if test -z "$ac_aux_dir"; then
2439 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2440 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443
2444 # These three variables are undocumented and unsupported,
2445 # and are intended to be withdrawn in a future Autoconf release.
2446 # They can cause serious problems if a builder's source tree is in a directory
2447 # whose full name contains unusual characters.
2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2450 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2451
2452
2453 # Make sure we can run config.sub.
2454 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2455 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2456 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2457 { (exit 1); exit 1; }; }
2458
2459 { echo "$as_me:$LINENO: checking build system type" >&5
2460 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_build+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 ac_build_alias=$build_alias
2465 test "x$ac_build_alias" = x &&
2466 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2467 test "x$ac_build_alias" = x &&
2468 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2469 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2470 { (exit 1); exit 1; }; }
2471 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2472 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2473 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2474 { (exit 1); exit 1; }; }
2475
2476 fi
2477 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2478 echo "${ECHO_T}$ac_cv_build" >&6; }
2479 case $ac_cv_build in
2480 *-*-*) ;;
2481 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2482 echo "$as_me: error: invalid value of canonical build" >&2;}
2483 { (exit 1); exit 1; }; };;
2484 esac
2485 build=$ac_cv_build
2486 ac_save_IFS=$IFS; IFS='-'
2487 set x $ac_cv_build
2488 shift
2489 build_cpu=$1
2490 build_vendor=$2
2491 shift; shift
2492 # Remember, the first character of IFS is used to create $*,
2493 # except with old shells:
2494 build_os=$*
2495 IFS=$ac_save_IFS
2496 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2497
2498
2499 { echo "$as_me:$LINENO: checking host system type" >&5
2500 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2501 if test "${ac_cv_host+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2503 else
2504 if test "x$host_alias" = x; then
2505 ac_cv_host=$ac_cv_build
2506 else
2507 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2509 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2510 { (exit 1); exit 1; }; }
2511 fi
2512
2513 fi
2514 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2515 echo "${ECHO_T}$ac_cv_host" >&6; }
2516 case $ac_cv_host in
2517 *-*-*) ;;
2518 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2519 echo "$as_me: error: invalid value of canonical host" >&2;}
2520 { (exit 1); exit 1; }; };;
2521 esac
2522 host=$ac_cv_host
2523 ac_save_IFS=$IFS; IFS='-'
2524 set x $ac_cv_host
2525 shift
2526 host_cpu=$1
2527 host_vendor=$2
2528 shift; shift
2529 # Remember, the first character of IFS is used to create $*,
2530 # except with old shells:
2531 host_os=$*
2532 IFS=$ac_save_IFS
2533 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2534
2535
2536 { echo "$as_me:$LINENO: checking target system type" >&5
2537 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2538 if test "${ac_cv_target+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 else
2541 if test "x$target_alias" = x; then
2542 ac_cv_target=$ac_cv_host
2543 else
2544 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2545 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2546 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2547 { (exit 1); exit 1; }; }
2548 fi
2549
2550 fi
2551 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2552 echo "${ECHO_T}$ac_cv_target" >&6; }
2553 case $ac_cv_target in
2554 *-*-*) ;;
2555 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2556 echo "$as_me: error: invalid value of canonical target" >&2;}
2557 { (exit 1); exit 1; }; };;
2558 esac
2559 target=$ac_cv_target
2560 ac_save_IFS=$IFS; IFS='-'
2561 set x $ac_cv_target
2562 shift
2563 target_cpu=$1
2564 target_vendor=$2
2565 shift; shift
2566 # Remember, the first character of IFS is used to create $*,
2567 # except with old shells:
2568 target_os=$*
2569 IFS=$ac_save_IFS
2570 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2571
2572
2573 # The aliases save the names the user supplied, while $host etc.
2574 # will get canonicalized.
2575 test -n "$target_alias" &&
2576 test "$program_prefix$program_suffix$program_transform_name" = \
2577 NONENONEs,x,x, &&
2578 program_prefix=${target_alias}-
2579
2580
2581
2582 wx_major_version_number=2
2583 wx_minor_version_number=9
2584 wx_release_number=0
2585 wx_subrelease_number=0
2586
2587 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2588 WX_VERSION=$WX_RELEASE.$wx_release_number
2589 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2590
2591 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2592
2593
2594 wx_top_builddir="`pwd`"
2595
2596
2597
2598
2599 USE_UNIX=1
2600 USE_OS2=0
2601 USE_WIN32=0
2602 USE_DOS=0
2603 USE_BEOS=0
2604 USE_MAC=0
2605
2606 USE_AIX=
2607 USE_BSD= USE_DARWIN= USE_FREEBSD=
2608 USE_GNU= USE_HPUX=
2609 USE_LINUX=
2610 USE_NETBSD=
2611 USE_OPENBSD=
2612 USE_OSF= USE_SGI=
2613 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2614 USE_ULTRIX=
2615 USE_UNIXWARE=
2616
2617 USE_ALPHA=
2618
2619 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2620
2621 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2622
2623 DEFAULT_wxUSE_COCOA=0
2624 DEFAULT_wxUSE_GTK=0
2625 DEFAULT_wxUSE_OSX_CARBON=0
2626 DEFAULT_wxUSE_OSX_COCOA=0
2627 DEFAULT_wxUSE_MGL=0
2628 DEFAULT_wxUSE_MICROWIN=0
2629 DEFAULT_wxUSE_MOTIF=0
2630 DEFAULT_wxUSE_MSW=0
2631 DEFAULT_wxUSE_PM=0
2632 DEFAULT_wxUSE_X11=0
2633 DEFAULT_wxUSE_DFB=0
2634
2635 DEFAULT_DEFAULT_wxUSE_COCOA=0
2636 DEFAULT_DEFAULT_wxUSE_GTK=0
2637 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2639 DEFAULT_DEFAULT_wxUSE_MGL=0
2640 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2641 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2642 DEFAULT_DEFAULT_wxUSE_MSW=0
2643 DEFAULT_DEFAULT_wxUSE_PM=0
2644 DEFAULT_DEFAULT_wxUSE_X11=0
2645 DEFAULT_DEFAULT_wxUSE_DFB=0
2646
2647 PROGRAM_EXT=
2648 SO_SUFFIX=so
2649 SAMPLES_RPATH_FLAG=
2650 SAMPLES_RPATH_POSTLINK=
2651
2652 DEFAULT_STD_FLAG=yes
2653
2654 case "${host}" in
2655 *-hp-hpux* )
2656 USE_HPUX=1
2657 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2658 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2659 SO_SUFFIX=sl
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __HPUX__ 1
2662 _ACEOF
2663
2664
2665 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2666 ;;
2667 *-*-linux* )
2668 USE_LINUX=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __LINUX__ 1
2671 _ACEOF
2672
2673 TMP=`uname -m`
2674 if test "x$TMP" = "xalpha"; then
2675 USE_ALPHA=1
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __ALPHA__ 1
2678 _ACEOF
2679
2680 fi
2681 DEFAULT_DEFAULT_wxUSE_GTK=1
2682 ;;
2683 *-*-gnu* | *-*-k*bsd*-gnu )
2684 USE_GNU=1
2685 TMP=`uname -m`
2686 if test "x$TMP" = "xalpha"; then
2687 USE_ALPHA=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __ALPHA__ 1
2690 _ACEOF
2691
2692 fi
2693 DEFAULT_DEFAULT_wxUSE_GTK=1
2694 ;;
2695 *-*-irix5* | *-*-irix6* )
2696 USE_SGI=1
2697 USE_SVR4=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SGI__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SVR4__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 ;;
2708 *-*-solaris2* )
2709 USE_SUN=1
2710 USE_SOLARIS=1
2711 USE_SVR4=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SUN__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __SOLARIS__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __SVR4__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2726 ;;
2727 *-*-sunos4* )
2728 USE_SUN=1
2729 USE_SUNOS=1
2730 USE_BSD=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __SUN__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SUNOS__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __BSD__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 ;;
2745 *-*-freebsd*)
2746 USE_BSD=1
2747 USE_FREEBSD=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __FREEBSD__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __BSD__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_GTK=1
2757 ;;
2758 *-*-openbsd*|*-*-mirbsd*)
2759 USE_BSD=1
2760 USE_OPENBSD=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __OPENBSD__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __BSD__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_GTK=1
2770 ;;
2771 *-*-netbsd*)
2772 USE_BSD=1
2773 USE_NETBSD=1
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __NETBSD__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __BSD__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_GTK=1
2783 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2784
2785 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2786 ;;
2787 *-*-osf* )
2788 USE_ALPHA=1
2789 USE_OSF=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __ALPHA__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __OSF__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2800 ;;
2801 *-*-dgux5* )
2802 USE_ALPHA=1
2803 USE_SVR4=1
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __ALPHA__ 1
2806 _ACEOF
2807
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __SVR4__ 1
2810 _ACEOF
2811
2812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 ;;
2814 *-*-sysv5* )
2815 USE_SYSV=1
2816 USE_SVR4=1
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __SYSV__ 1
2819 _ACEOF
2820
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __SVR4__ 1
2823 _ACEOF
2824
2825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2826 ;;
2827 *-*-aix* )
2828 USE_AIX=1
2829 USE_SYSV=1
2830 USE_SVR4=1
2831 SO_SUFFIX=a
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __AIX__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846
2847 *-*-*UnixWare*)
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 USE_UNIXWARE=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __UNIXWARE__ 1
2853 _ACEOF
2854
2855 ;;
2856
2857 *-*-cygwin* | *-*-mingw32* )
2858 SO_SUFFIX=dll
2859 PROGRAM_EXT=".exe"
2860 DEFAULT_DEFAULT_wxUSE_MSW=1
2861 ;;
2862
2863 *-pc-msdosdjgpp )
2864 USE_UNIX=0
2865 USE_DOS=1
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DOS__ 1
2868 _ACEOF
2869
2870 PROGRAM_EXT=".exe"
2871 DEFAULT_DEFAULT_wxUSE_MGL=1
2872 ;;
2873
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h <<\_ACEOF
2876 #define __EMX__ 1
2877 _ACEOF
2878
2879 USE_OS2=1
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __OS2__ 1
2882 _ACEOF
2883
2884 PROGRAM_EXT=".exe"
2885 DEFAULT_DEFAULT_wxUSE_PM=1
2886 CXX=gcc
2887 LDFLAGS="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions=".exe"
2889 export ac_executable_extensions
2890 ac_save_IFS="$IFS"
2891 IFS='\\'
2892 ac_TEMP_PATH=
2893 for ac_dir in $PATH; do
2894 IFS=$ac_save_IFS
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH="$ac_dir"
2897 else
2898 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2899 fi
2900 done
2901 export PATH="$ac_TEMP_PATH"
2902 unset ac_TEMP_PATH
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-darwin* )
2907 USE_BSD=1
2908 USE_DARWIN=1
2909 SO_SUFFIX=dylib
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __BSD__ 1
2912 _ACEOF
2913
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __DARWIN__ 1
2916 _ACEOF
2917
2918 cat >>confdefs.h <<\_ACEOF
2919 #define TARGET_CARBON 1
2920 _ACEOF
2921
2922 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2923 DEFAULT_STD_FLAG=no
2924 ;;
2925 powerpc-apple-macos* )
2926 USE_UNIX=0
2927 ac_cv_c_bigendian=yes
2928 SO_SUFFIX=shlib
2929 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2930 DEFAULT_STD_FLAG=no
2931 ;;
2932
2933 *-*-beos* )
2934 USE_BEOS=1
2935 cat >>confdefs.h <<\_ACEOF
2936 #define __BEOS__ 1
2937 _ACEOF
2938
2939 ;;
2940
2941 *)
2942 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2943 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2944 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2945 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2946
2947 DEFAULT_DEFAULT_wxUSE_X11=1
2948 DEFAULT_wxUSE_SHARED=no
2949 esac
2950
2951
2952
2953 DEFAULT_wxUSE_ALL_FEATURES=yes
2954
2955 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2956 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2957
2958 DEFAULT_wxUSE_DMALLOC=no
2959 DEFAULT_wxUSE_LIBGNOMEVFS=no
2960 DEFAULT_wxUSE_LIBHILDON=no
2961 DEFAULT_wxUSE_LIBMSPACK=no
2962 DEFAULT_wxUSE_LIBSDL=no
2963 DEFAULT_wxUSE_OPENGL=no
2964
2965 DEFAULT_wxUSE_ACCESSIBILITY=no
2966 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2967 DEFAULT_wxUSE_IPV6=no
2968 DEFAULT_wxUSE_MEDIACTRL=no
2969 DEFAULT_wxUSE_TAB_DIALOG=no
2970 DEFAULT_wxUSE_GSTREAMER8=no
2971
2972 DEFAULT_wxUSE_UNICODE_UTF8=auto
2973 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2974
2975 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2976
2977 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2978
2979 DEFAULT_wxUSE_GTK2=yes
2980
2981 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2982
2983
2984
2985
2986
2987 enablestring=disable
2988 defaultval=
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2991 defaultval=yes
2992 else
2993 defaultval=no
2994 fi
2995 fi
2996
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2999 # Check whether --enable-gui was given.
3000 if test "${enable_gui+set}" = set; then
3001 enableval=$enable_gui;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_gui='wxUSE_GUI=yes'
3004 else
3005 wx_cv_use_gui='wxUSE_GUI=no'
3006 fi
3007
3008 else
3009
3010 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3011
3012 fi
3013
3014
3015 eval "$wx_cv_use_gui"
3016
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_GUI = yes; then
3019 result=no
3020 else
3021 result=yes
3022 fi
3023 else
3024 result=$wxUSE_GUI
3025 fi
3026
3027 { echo "$as_me:$LINENO: result: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3029
3030
3031 enablestring=
3032 defaultval=
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3035 defaultval=yes
3036 else
3037 defaultval=no
3038 fi
3039 fi
3040
3041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3042 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3043 # Check whether --enable-monolithic was given.
3044 if test "${enable_monolithic+set}" = set; then
3045 enableval=$enable_monolithic;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3048 else
3049 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3050 fi
3051
3052 else
3053
3054 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3055
3056 fi
3057
3058
3059 eval "$wx_cv_use_monolithic"
3060
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_MONOLITHIC = yes; then
3063 result=no
3064 else
3065 result=yes
3066 fi
3067 else
3068 result=$wxUSE_MONOLITHIC
3069 fi
3070
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3073
3074
3075 enablestring=
3076 defaultval=
3077 if test -z "$defaultval"; then
3078 if test x"$enablestring" = xdisable; then
3079 defaultval=yes
3080 else
3081 defaultval=no
3082 fi
3083 fi
3084
3085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 # Check whether --enable-plugins was given.
3088 if test "${enable_plugins+set}" = set; then
3089 enableval=$enable_plugins;
3090 if test "$enableval" = yes; then
3091 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 else
3093 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3094 fi
3095
3096 else
3097
3098 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3099
3100 fi
3101
3102
3103 eval "$wx_cv_use_plugins"
3104
3105 if test x"$enablestring" = xdisable; then
3106 if test $wxUSE_PLUGINS = yes; then
3107 result=no
3108 else
3109 result=yes
3110 fi
3111 else
3112 result=$wxUSE_PLUGINS
3113 fi
3114
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3117
3118
3119 withstring=without
3120 defaultval=$wxUSE_ALL_FEATURES
3121 if test -z "$defaultval"; then
3122 if test x"$withstring" = xwithout; then
3123 defaultval=yes
3124 else
3125 defaultval=no
3126 fi
3127 fi
3128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3129 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3130
3131 # Check whether --with-subdirs was given.
3132 if test "${with_subdirs+set}" = set; then
3133 withval=$with_subdirs;
3134 if test "$withval" = yes; then
3135 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3136 else
3137 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3138 fi
3139
3140 else
3141
3142 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3143
3144 fi
3145
3146
3147 eval "$wx_cv_use_subdirs"
3148
3149 if test x"$withstring" = xwithout; then
3150 if test $wxWITH_SUBDIRS = yes; then
3151 result=no
3152 else
3153 result=yes
3154 fi
3155 else
3156 result=$wxWITH_SUBDIRS
3157 fi
3158
3159 { echo "$as_me:$LINENO: result: $result" >&5
3160 echo "${ECHO_T}$result" >&6; }
3161
3162
3163 # Check whether --with-flavour was given.
3164 if test "${with_flavour+set}" = set; then
3165 withval=$with_flavour; WX_FLAVOUR="$withval"
3166 fi
3167
3168
3169 enablestring=
3170 defaultval=
3171 if test -z "$defaultval"; then
3172 if test x"$enablestring" = xdisable; then
3173 defaultval=yes
3174 else
3175 defaultval=no
3176 fi
3177 fi
3178
3179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3180 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3181 # Check whether --enable-official_build was given.
3182 if test "${enable_official_build+set}" = set; then
3183 enableval=$enable_official_build;
3184 if test "$enableval" = yes; then
3185 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3186 else
3187 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3188 fi
3189
3190 else
3191
3192 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3193
3194 fi
3195
3196
3197 eval "$wx_cv_use_official_build"
3198
3199 if test x"$enablestring" = xdisable; then
3200 if test $wxUSE_OFFICIAL_BUILD = yes; then
3201 result=no
3202 else
3203 result=yes
3204 fi
3205 else
3206 result=$wxUSE_OFFICIAL_BUILD
3207 fi
3208
3209 { echo "$as_me:$LINENO: result: $result" >&5
3210 echo "${ECHO_T}$result" >&6; }
3211
3212 # Check whether --enable-vendor was given.
3213 if test "${enable_vendor+set}" = set; then
3214 enableval=$enable_vendor; VENDOR="$enableval"
3215 fi
3216
3217 if test "x$VENDOR" = "x"; then
3218 VENDOR="custom"
3219 fi
3220
3221
3222 enablestring=disable
3223 defaultval=
3224 if test -z "$defaultval"; then
3225 if test x"$enablestring" = xdisable; then
3226 defaultval=yes
3227 else
3228 defaultval=no
3229 fi
3230 fi
3231
3232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3233 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3234 # Check whether --enable-all-features was given.
3235 if test "${enable_all_features+set}" = set; then
3236 enableval=$enable_all_features;
3237 if test "$enableval" = yes; then
3238 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3239 else
3240 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3241 fi
3242
3243 else
3244
3245 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3246
3247 fi
3248
3249
3250 eval "$wx_cv_use_all_features"
3251
3252 if test x"$enablestring" = xdisable; then
3253 if test $wxUSE_ALL_FEATURES = yes; then
3254 result=no
3255 else
3256 result=yes
3257 fi
3258 else
3259 result=$wxUSE_ALL_FEATURES
3260 fi
3261
3262 { echo "$as_me:$LINENO: result: $result" >&5
3263 echo "${ECHO_T}$result" >&6; }
3264
3265
3266
3267 if test "$wxUSE_GUI" = "yes"; then
3268
3269
3270 enablestring=
3271 defaultval=
3272 if test -z "$defaultval"; then
3273 if test x"$enablestring" = xdisable; then
3274 defaultval=yes
3275 else
3276 defaultval=no
3277 fi
3278 fi
3279
3280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3281 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3282 # Check whether --enable-universal was given.
3283 if test "${enable_universal+set}" = set; then
3284 enableval=$enable_universal;
3285 if test "$enableval" = yes; then
3286 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3287 else
3288 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3289 fi
3290
3291 else
3292
3293 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3294
3295 fi
3296
3297
3298 eval "$wx_cv_use_universal"
3299
3300 if test x"$enablestring" = xdisable; then
3301 if test $wxUSE_UNIVERSAL = yes; then
3302 result=no
3303 else
3304 result=yes
3305 fi
3306 else
3307 result=$wxUSE_UNIVERSAL
3308 fi
3309
3310 { echo "$as_me:$LINENO: result: $result" >&5
3311 echo "${ECHO_T}$result" >&6; }
3312
3313 if test "$wxUSE_UNIVERSAL" = "yes"; then
3314
3315 # Check whether --with-themes was given.
3316 if test "${with_themes+set}" = set; then
3317 withval=$with_themes; wxUNIV_THEMES="$withval"
3318 fi
3319
3320 fi
3321
3322
3323 # Check whether --with-gtk was given.
3324 if test "${with_gtk+set}" = set; then
3325 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-motif was given.
3330 if test "${with_motif+set}" = set; then
3331 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-osx_carbon was given.
3336 if test "${with_osx_carbon+set}" = set; then
3337 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-osx_cocoa was given.
3342 if test "${with_osx_cocoa+set}" = set; then
3343 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-mac was given.
3348 if test "${with_mac+set}" = set; then
3349 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-cocoa was given.
3354 if test "${with_cocoa+set}" = set; then
3355 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-wine was given.
3360 if test "${with_wine+set}" = set; then
3361 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3362 fi
3363
3364
3365 # Check whether --with-msw was given.
3366 if test "${with_msw+set}" = set; then
3367 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-pm was given.
3372 if test "${with_pm+set}" = set; then
3373 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-mgl was given.
3378 if test "${with_mgl+set}" = set; then
3379 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-directfb was given.
3384 if test "${with_directfb+set}" = set; then
3385 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-microwin was given.
3390 if test "${with_microwin+set}" = set; then
3391 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-x11 was given.
3396 if test "${with_x11+set}" = set; then
3397 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 enablestring=
3402 defaultval=
3403 if test -z "$defaultval"; then
3404 if test x"$enablestring" = xdisable; then
3405 defaultval=yes
3406 else
3407 defaultval=no
3408 fi
3409 fi
3410
3411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3412 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3413 # Check whether --enable-nanox was given.
3414 if test "${enable_nanox+set}" = set; then
3415 enableval=$enable_nanox;
3416 if test "$enableval" = yes; then
3417 wx_cv_use_nanox='wxUSE_NANOX=yes'
3418 else
3419 wx_cv_use_nanox='wxUSE_NANOX=no'
3420 fi
3421
3422 else
3423
3424 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3425
3426 fi
3427
3428
3429 eval "$wx_cv_use_nanox"
3430
3431 if test x"$enablestring" = xdisable; then
3432 if test $wxUSE_NANOX = yes; then
3433 result=no
3434 else
3435 result=yes
3436 fi
3437 else
3438 result=$wxUSE_NANOX
3439 fi
3440
3441 { echo "$as_me:$LINENO: result: $result" >&5
3442 echo "${ECHO_T}$result" >&6; }
3443
3444
3445 # Check whether --enable-gtk2 was given.
3446 if test "${enable_gtk2+set}" = set; then
3447 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3448 fi
3449
3450
3451 enablestring=
3452 defaultval=
3453 if test -z "$defaultval"; then
3454 if test x"$enablestring" = xdisable; then
3455 defaultval=yes
3456 else
3457 defaultval=no
3458 fi
3459 fi
3460
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3463 # Check whether --enable-gpe was given.
3464 if test "${enable_gpe+set}" = set; then
3465 enableval=$enable_gpe;
3466 if test "$enableval" = yes; then
3467 wx_cv_use_gpe='wxUSE_GPE=yes'
3468 else
3469 wx_cv_use_gpe='wxUSE_GPE=no'
3470 fi
3471
3472 else
3473
3474 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3475
3476 fi
3477
3478
3479 eval "$wx_cv_use_gpe"
3480
3481 if test x"$enablestring" = xdisable; then
3482 if test $wxUSE_GPE = yes; then
3483 result=no
3484 else
3485 result=yes
3486 fi
3487 else
3488 result=$wxUSE_GPE
3489 fi
3490
3491 { echo "$as_me:$LINENO: result: $result" >&5
3492 echo "${ECHO_T}$result" >&6; }
3493
3494
3495
3496 { echo "$as_me:$LINENO: checking for toolkit" >&5
3497 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3498
3499
3500
3501 # In Wine, we need to default to MSW, not GTK or MOTIF
3502 if test "$wxUSE_WINE" = "yes"; then
3503 DEFAULT_DEFAULT_wxUSE_GTK=0
3504 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3505 DEFAULT_DEFAULT_wxUSE_MSW=1
3506 wxUSE_SHARED=no
3507 CC=${CC:-winegcc}
3508 CXX=${CXX:-wineg++}
3509 fi
3510
3511
3512 if test "$wxUSE_GUI" = "yes"; then
3513
3514 if test "$USE_BEOS" = 1; then
3515 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3516 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3517 { (exit 1); exit 1; }; }
3518 fi
3519
3520 if test "$TOOLKIT_GIVEN" = 1; then
3521 for toolkit in $ALL_TOOLKITS; do
3522 var=wxUSE_$toolkit
3523 eval "value=\$${var}"
3524 if test "x$value" = "xno"; then
3525 eval "$var=0"
3526 elif test "x$value" != "x"; then
3527 eval "$var=1"
3528 fi
3529
3530 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3531 eval "wx${toolkit}_VERSION=$value"
3532 fi
3533 done
3534 else
3535 for toolkit in $ALL_TOOLKITS; do
3536 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3537 eval "wxUSE_$toolkit=\$${var}"
3538 done
3539 fi
3540
3541 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3542 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3543 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3544
3545 case "${host}" in
3546 *-pc-os2_emx | *-pc-os2-emx )
3547 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3548 esac
3549
3550 case "$NUM_TOOLKITS" in
3551 1)
3552 ;;
3553 0)
3554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3556 { (exit 1); exit 1; }; }
3557 ;;
3558 *)
3559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3560 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3561 { (exit 1); exit 1; }; }
3562 esac
3563
3564 # to be removed when --disable-gtk2 isn't needed
3565 if test "x$wxUSE_GTK2" = "xyes"; then
3566 wxGTK_VERSION=2
3567 elif test "x$wxUSE_GTK2" = "xno"; then
3568 wxGTK_VERSION=1
3569 fi
3570
3571 for toolkit in $ALL_TOOLKITS; do
3572 var=wxUSE_$toolkit
3573 eval "value=\$${var}"
3574 if test "$value" = 1; then
3575 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3576 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3577 echo "${ECHO_T}$toolkit_echo" >&6; }
3578 fi
3579 done
3580 else
3581 if test "x$host_alias" != "x"; then
3582 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3583 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3584 else
3585 { echo "$as_me:$LINENO: result: base only" >&5
3586 echo "${ECHO_T}base only" >&6; }
3587 fi
3588 fi
3589
3590 wxUSE_MAC=0
3591 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3592 wxUSE_MAC=1
3593 fi
3594
3595
3596
3597 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3598 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3599
3600 # Check whether --with-libpng was given.
3601 if test "${with_libpng+set}" = set; then
3602 withval=$with_libpng;
3603 if test "$withval" = yes; then
3604 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3605 elif test "$withval" = no; then
3606 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3607 elif test "$withval" = sys; then
3608 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3609 elif test "$withval" = builtin; then
3610 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3611 else
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3615 fi
3616
3617 else
3618
3619 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3620
3621 fi
3622
3623
3624 eval "$wx_cv_use_libpng"
3625
3626 if test "$wxUSE_LIBPNG" = yes; then
3627 { echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6; }
3629 elif test "$wxUSE_LIBPNG" = no; then
3630 { echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6; }
3632 elif test "$wxUSE_LIBPNG" = sys; then
3633 { echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6; }
3635 elif test "$wxUSE_LIBPNG" = builtin; then
3636 { echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6; }
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644
3645 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3646 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3647
3648 # Check whether --with-libjpeg was given.
3649 if test "${with_libjpeg+set}" = set; then
3650 withval=$with_libjpeg;
3651 if test "$withval" = yes; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3653 elif test "$withval" = no; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3655 elif test "$withval" = sys; then
3656 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3657 elif test "$withval" = builtin; then
3658 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3659 else
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3663 fi
3664
3665 else
3666
3667 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3668
3669 fi
3670
3671
3672 eval "$wx_cv_use_libjpeg"
3673
3674 if test "$wxUSE_LIBJPEG" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 elif test "$wxUSE_LIBJPEG" = no; then
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 elif test "$wxUSE_LIBJPEG" = sys; then
3681 { echo "$as_me:$LINENO: result: system version" >&5
3682 echo "${ECHO_T}system version" >&6; }
3683 elif test "$wxUSE_LIBJPEG" = builtin; then
3684 { echo "$as_me:$LINENO: result: builtin version" >&5
3685 echo "${ECHO_T}builtin version" >&6; }
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692
3693 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3694 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3695
3696 # Check whether --with-libtiff was given.
3697 if test "${with_libtiff+set}" = set; then
3698 withval=$with_libtiff;
3699 if test "$withval" = yes; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3701 elif test "$withval" = no; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3703 elif test "$withval" = sys; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3705 elif test "$withval" = builtin; then
3706 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713 else
3714
3715 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3716
3717 fi
3718
3719
3720 eval "$wx_cv_use_libtiff"
3721
3722 if test "$wxUSE_LIBTIFF" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = no; then
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = sys; then
3729 { echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6; }
3731 elif test "$wxUSE_LIBTIFF" = builtin; then
3732 { echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6; }
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740
3741 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3742 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3743
3744 # Check whether --with-libxpm was given.
3745 if test "${with_libxpm+set}" = set; then
3746 withval=$with_libxpm;
3747 if test "$withval" = yes; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3749 elif test "$withval" = no; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3751 elif test "$withval" = sys; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3753 elif test "$withval" = builtin; then
3754 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3755 else
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3759 fi
3760
3761 else
3762
3763 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3764
3765 fi
3766
3767
3768 eval "$wx_cv_use_libxpm"
3769
3770 if test "$wxUSE_LIBXPM" = yes; then
3771 { echo "$as_me:$LINENO: result: yes" >&5
3772 echo "${ECHO_T}yes" >&6; }
3773 elif test "$wxUSE_LIBXPM" = no; then
3774 { echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6; }
3776 elif test "$wxUSE_LIBXPM" = sys; then
3777 { echo "$as_me:$LINENO: result: system version" >&5
3778 echo "${ECHO_T}system version" >&6; }
3779 elif test "$wxUSE_LIBXPM" = builtin; then
3780 { echo "$as_me:$LINENO: result: builtin version" >&5
3781 echo "${ECHO_T}builtin version" >&6; }
3782 else
3783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3784 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3785 { (exit 1); exit 1; }; }
3786 fi
3787
3788
3789 withstring=
3790 defaultval=$wxUSE_ALL_FEATURES
3791 if test -z "$defaultval"; then
3792 if test x"$withstring" = xwithout; then
3793 defaultval=yes
3794 else
3795 defaultval=no
3796 fi
3797 fi
3798 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3799 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3800
3801 # Check whether --with-libiconv was given.
3802 if test "${with_libiconv+set}" = set; then
3803 withval=$with_libiconv;
3804 if test "$withval" = yes; then
3805 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3806 else
3807 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3808 fi
3809
3810 else
3811
3812 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3813
3814 fi
3815
3816
3817 eval "$wx_cv_use_libiconv"
3818
3819 if test x"$withstring" = xwithout; then
3820 if test $wxUSE_LIBICONV = yes; then
3821 result=no
3822 else
3823 result=yes
3824 fi
3825 else
3826 result=$wxUSE_LIBICONV
3827 fi
3828
3829 { echo "$as_me:$LINENO: result: $result" >&5
3830 echo "${ECHO_T}$result" >&6; }
3831
3832
3833 withstring=
3834 defaultval=$wxUSE_ALL_FEATURES
3835 if test -z "$defaultval"; then
3836 if test x"$withstring" = xwithout; then
3837 defaultval=yes
3838 else
3839 defaultval=no
3840 fi
3841 fi
3842 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3843 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3844
3845 # Check whether --with-libmspack was given.
3846 if test "${with_libmspack+set}" = set; then
3847 withval=$with_libmspack;
3848 if test "$withval" = yes; then
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3850 else
3851 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3852 fi
3853
3854 else
3855
3856 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3857
3858 fi
3859
3860
3861 eval "$wx_cv_use_libmspack"
3862
3863 if test x"$withstring" = xwithout; then
3864 if test $wxUSE_LIBMSPACK = yes; then
3865 result=no
3866 else
3867 result=yes
3868 fi
3869 else
3870 result=$wxUSE_LIBMSPACK
3871 fi
3872
3873 { echo "$as_me:$LINENO: result: $result" >&5
3874 echo "${ECHO_T}$result" >&6; }
3875
3876
3877 withstring=without
3878 defaultval=$wxUSE_ALL_FEATURES
3879 if test -z "$defaultval"; then
3880 if test x"$withstring" = xwithout; then
3881 defaultval=yes
3882 else
3883 defaultval=no
3884 fi
3885 fi
3886 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3887 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3888
3889 # Check whether --with-gtkprint was given.
3890 if test "${with_gtkprint+set}" = set; then
3891 withval=$with_gtkprint;
3892 if test "$withval" = yes; then
3893 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3894 else
3895 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3896 fi
3897
3898 else
3899
3900 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3901
3902 fi
3903
3904
3905 eval "$wx_cv_use_gtkprint"
3906
3907 if test x"$withstring" = xwithout; then
3908 if test $wxUSE_GTKPRINT = yes; then
3909 result=no
3910 else
3911 result=yes
3912 fi
3913 else
3914 result=$wxUSE_GTKPRINT
3915 fi
3916
3917 { echo "$as_me:$LINENO: result: $result" >&5
3918 echo "${ECHO_T}$result" >&6; }
3919
3920
3921 withstring=without
3922 defaultval=$wxUSE_ALL_FEATURES
3923 if test -z "$defaultval"; then
3924 if test x"$withstring" = xwithout; then
3925 defaultval=yes
3926 else
3927 defaultval=no
3928 fi
3929 fi
3930 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3931 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3932
3933 # Check whether --with-gnomeprint was given.
3934 if test "${with_gnomeprint+set}" = set; then
3935 withval=$with_gnomeprint;
3936 if test "$withval" = yes; then
3937 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3938 else
3939 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3940 fi
3941
3942 else
3943
3944 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3945
3946 fi
3947
3948
3949 eval "$wx_cv_use_gnomeprint"
3950
3951 if test x"$withstring" = xwithout; then
3952 if test $wxUSE_LIBGNOMEPRINT = yes; then
3953 result=no
3954 else
3955 result=yes
3956 fi
3957 else
3958 result=$wxUSE_LIBGNOMEPRINT
3959 fi
3960
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3963
3964
3965 withstring=
3966 defaultval=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x"$withstring" = xwithout; then
3969 defaultval=yes
3970 else
3971 defaultval=no
3972 fi
3973 fi
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3976
3977 # Check whether --with-gnomevfs was given.
3978 if test "${with_gnomevfs+set}" = set; then
3979 withval=$with_gnomevfs;
3980 if test "$withval" = yes; then
3981 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3982 else
3983 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3984 fi
3985
3986 else
3987
3988 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3989
3990 fi
3991
3992
3993 eval "$wx_cv_use_gnomevfs"
3994
3995 if test x"$withstring" = xwithout; then
3996 if test $wxUSE_LIBGNOMEVFS = yes; then
3997 result=no
3998 else
3999 result=yes
4000 fi
4001 else
4002 result=$wxUSE_LIBGNOMEVFS
4003 fi
4004
4005 { echo "$as_me:$LINENO: result: $result" >&5
4006 echo "${ECHO_T}$result" >&6; }
4007
4008
4009 withstring=
4010 defaultval=$wxUSE_ALL_FEATURES
4011 if test -z "$defaultval"; then
4012 if test x"$withstring" = xwithout; then
4013 defaultval=yes
4014 else
4015 defaultval=no
4016 fi
4017 fi
4018 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4019 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4020
4021 # Check whether --with-hildon was given.
4022 if test "${with_hildon+set}" = set; then
4023 withval=$with_hildon;
4024 if test "$withval" = yes; then
4025 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4026 else
4027 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4028 fi
4029
4030 else
4031
4032 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4033
4034 fi
4035
4036
4037 eval "$wx_cv_use_hildon"
4038
4039 if test x"$withstring" = xwithout; then
4040 if test $wxUSE_LIBHILDON = yes; then
4041 result=no
4042 else
4043 result=yes
4044 fi
4045 else
4046 result=$wxUSE_LIBHILDON
4047 fi
4048
4049 { echo "$as_me:$LINENO: result: $result" >&5
4050 echo "${ECHO_T}$result" >&6; }
4051
4052
4053 withstring=
4054 defaultval=$wxUSE_ALL_FEATURES
4055 if test -z "$defaultval"; then
4056 if test x"$withstring" = xwithout; then
4057 defaultval=yes
4058 else
4059 defaultval=no
4060 fi
4061 fi
4062 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4063 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4064
4065 # Check whether --with-opengl was given.
4066 if test "${with_opengl+set}" = set; then
4067 withval=$with_opengl;
4068 if test "$withval" = yes; then
4069 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4070 else
4071 wx_cv_use_opengl='wxUSE_OPENGL=no'
4072 fi
4073
4074 else
4075
4076 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4077
4078 fi
4079
4080
4081 eval "$wx_cv_use_opengl"
4082
4083 if test x"$withstring" = xwithout; then
4084 if test $wxUSE_OPENGL = yes; then
4085 result=no
4086 else
4087 result=yes
4088 fi
4089 else
4090 result=$wxUSE_OPENGL
4091 fi
4092
4093 { echo "$as_me:$LINENO: result: $result" >&5
4094 echo "${ECHO_T}$result" >&6; }
4095
4096
4097 fi
4098
4099
4100 withstring=
4101 defaultval=$wxUSE_ALL_FEATURES
4102 if test -z "$defaultval"; then
4103 if test x"$withstring" = xwithout; then
4104 defaultval=yes
4105 else
4106 defaultval=no
4107 fi
4108 fi
4109 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4110 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4111
4112 # Check whether --with-dmalloc was given.
4113 if test "${with_dmalloc+set}" = set; then
4114 withval=$with_dmalloc;
4115 if test "$withval" = yes; then
4116 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4117 else
4118 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4119 fi
4120
4121 else
4122
4123 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4124
4125 fi
4126
4127
4128 eval "$wx_cv_use_dmalloc"
4129
4130 if test x"$withstring" = xwithout; then
4131 if test $wxUSE_DMALLOC = yes; then
4132 result=no
4133 else
4134 result=yes
4135 fi
4136 else
4137 result=$wxUSE_DMALLOC
4138 fi
4139
4140 { echo "$as_me:$LINENO: result: $result" >&5
4141 echo "${ECHO_T}$result" >&6; }
4142
4143
4144 withstring=
4145 defaultval=$wxUSE_ALL_FEATURES
4146 if test -z "$defaultval"; then
4147 if test x"$withstring" = xwithout; then
4148 defaultval=yes
4149 else
4150 defaultval=no
4151 fi
4152 fi
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4155
4156 # Check whether --with-sdl was given.
4157 if test "${with_sdl+set}" = set; then
4158 withval=$with_sdl;
4159 if test "$withval" = yes; then
4160 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4161 else
4162 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4163 fi
4164
4165 else
4166
4167 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4168
4169 fi
4170
4171
4172 eval "$wx_cv_use_sdl"
4173
4174 if test x"$withstring" = xwithout; then
4175 if test $wxUSE_LIBSDL = yes; then
4176 result=no
4177 else
4178 result=yes
4179 fi
4180 else
4181 result=$wxUSE_LIBSDL
4182 fi
4183
4184 { echo "$as_me:$LINENO: result: $result" >&5
4185 echo "${ECHO_T}$result" >&6; }
4186
4187
4188 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4189 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4190
4191 # Check whether --with-regex was given.
4192 if test "${with_regex+set}" = set; then
4193 withval=$with_regex;
4194 if test "$withval" = yes; then
4195 wx_cv_use_regex='wxUSE_REGEX=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_regex='wxUSE_REGEX=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_regex='wxUSE_REGEX=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_regex='wxUSE_REGEX=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_regex"
4216
4217 if test "$wxUSE_REGEX" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_REGEX" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_REGEX" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_REGEX" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235
4236 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4237 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4238
4239 # Check whether --with-zlib was given.
4240 if test "${with_zlib+set}" = set; then
4241 withval=$with_zlib;
4242 if test "$withval" = yes; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_zlib"
4264
4265 if test "$wxUSE_ZLIB" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 elif test "$wxUSE_ZLIB" = no; then
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 elif test "$wxUSE_ZLIB" = sys; then
4272 { echo "$as_me:$LINENO: result: system version" >&5
4273 echo "${ECHO_T}system version" >&6; }
4274 elif test "$wxUSE_ZLIB" = builtin; then
4275 { echo "$as_me:$LINENO: result: builtin version" >&5
4276 echo "${ECHO_T}builtin version" >&6; }
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4285 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4286
4287 # Check whether --with-expat was given.
4288 if test "${with_expat+set}" = set; then
4289 withval=$with_expat;
4290 if test "$withval" = yes; then
4291 wx_cv_use_expat='wxUSE_EXPAT=yes'
4292 elif test "$withval" = no; then
4293 wx_cv_use_expat='wxUSE_EXPAT=no'
4294 elif test "$withval" = sys; then
4295 wx_cv_use_expat='wxUSE_EXPAT=sys'
4296 elif test "$withval" = builtin; then
4297 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304 else
4305
4306 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4307
4308 fi
4309
4310
4311 eval "$wx_cv_use_expat"
4312
4313 if test "$wxUSE_EXPAT" = yes; then
4314 { echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6; }
4316 elif test "$wxUSE_EXPAT" = no; then
4317 { echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6; }
4319 elif test "$wxUSE_EXPAT" = sys; then
4320 { echo "$as_me:$LINENO: result: system version" >&5
4321 echo "${ECHO_T}system version" >&6; }
4322 elif test "$wxUSE_EXPAT" = builtin; then
4323 { echo "$as_me:$LINENO: result: builtin version" >&5
4324 echo "${ECHO_T}builtin version" >&6; }
4325 else
4326 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4327 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4329 fi
4330
4331
4332 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4333 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4334
4335 # Check whether --with-macosx-sdk was given.
4336 if test "${with_macosx_sdk+set}" = set; then
4337 withval=$with_macosx_sdk;
4338 wxUSE_MACOSX_SDK=$withval
4339 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4340
4341 fi
4342
4343 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4344 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4345
4346 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4347 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4348
4349 # Check whether --with-macosx-version-min was given.
4350 if test "${with_macosx_version_min+set}" = set; then
4351 withval=$with_macosx_version_min;
4352 wxUSE_MACOSX_VERSION_MIN=$withval
4353 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4354
4355 fi
4356
4357 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4358 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4359
4360
4361
4362 enablestring=disable
4363 defaultval=
4364 if test -z "$defaultval"; then
4365 if test x"$enablestring" = xdisable; then
4366 defaultval=yes
4367 else
4368 defaultval=no
4369 fi
4370 fi
4371
4372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4373 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4374 # Check whether --enable-shared was given.
4375 if test "${enable_shared+set}" = set; then
4376 enableval=$enable_shared;
4377 if test "$enableval" = yes; then
4378 wx_cv_use_shared='wxUSE_SHARED=yes'
4379 else
4380 wx_cv_use_shared='wxUSE_SHARED=no'
4381 fi
4382
4383 else
4384
4385 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4386
4387 fi
4388
4389
4390 eval "$wx_cv_use_shared"
4391
4392 if test x"$enablestring" = xdisable; then
4393 if test $wxUSE_SHARED = yes; then
4394 result=no
4395 else
4396 result=yes
4397 fi
4398 else
4399 result=$wxUSE_SHARED
4400 fi
4401
4402 { echo "$as_me:$LINENO: result: $result" >&5
4403 echo "${ECHO_T}$result" >&6; }
4404
4405
4406 enablestring=
4407 defaultval=
4408 if test -z "$defaultval"; then
4409 if test x"$enablestring" = xdisable; then
4410 defaultval=yes
4411 else
4412 defaultval=no
4413 fi
4414 fi
4415
4416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4417 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4418 # Check whether --enable-debug was given.
4419 if test "${enable_debug+set}" = set; then
4420 enableval=$enable_debug;
4421 if test "$enableval" = yes; then
4422 wx_cv_use_debug='wxUSE_DEBUG=yes'
4423 else
4424 wx_cv_use_debug='wxUSE_DEBUG=no'
4425 fi
4426
4427 else
4428
4429 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4430
4431 fi
4432
4433
4434 eval "$wx_cv_use_debug"
4435
4436 if test x"$enablestring" = xdisable; then
4437 if test $wxUSE_DEBUG = yes; then
4438 result=no
4439 else
4440 result=yes
4441 fi
4442 else
4443 result=$wxUSE_DEBUG
4444 fi
4445
4446 { echo "$as_me:$LINENO: result: $result" >&5
4447 echo "${ECHO_T}$result" >&6; }
4448
4449
4450 enablestring=
4451 defaultval=
4452 if test -z "$defaultval"; then
4453 if test x"$enablestring" = xdisable; then
4454 defaultval=yes
4455 else
4456 defaultval=no
4457 fi
4458 fi
4459
4460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4462 # Check whether --enable-stl was given.
4463 if test "${enable_stl+set}" = set; then
4464 enableval=$enable_stl;
4465 if test "$enableval" = yes; then
4466 wx_cv_use_stl='wxUSE_STL=yes'
4467 else
4468 wx_cv_use_stl='wxUSE_STL=no'
4469 fi
4470
4471 else
4472
4473 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4474
4475 fi
4476
4477
4478 eval "$wx_cv_use_stl"
4479
4480 if test x"$enablestring" = xdisable; then
4481 if test $wxUSE_STL = yes; then
4482 result=no
4483 else
4484 result=yes
4485 fi
4486 else
4487 result=$wxUSE_STL
4488 fi
4489
4490 { echo "$as_me:$LINENO: result: $result" >&5
4491 echo "${ECHO_T}$result" >&6; }
4492
4493
4494 enablestring=
4495 defaultval=
4496 if test -z "$defaultval"; then
4497 if test x"$enablestring" = xdisable; then
4498 defaultval=yes
4499 else
4500 defaultval=no
4501 fi
4502 fi
4503
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4506 # Check whether --enable-std_iostreams was given.
4507 if test "${enable_std_iostreams+set}" = set; then
4508 enableval=$enable_std_iostreams;
4509 if test "$enableval" = yes; then
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4511 else
4512 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4513 fi
4514
4515 else
4516
4517 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4518
4519 fi
4520
4521
4522 eval "$wx_cv_use_std_iostreams"
4523
4524 if test x"$enablestring" = xdisable; then
4525 if test $wxUSE_STD_IOSTREAM = yes; then
4526 result=no
4527 else
4528 result=yes
4529 fi
4530 else
4531 result=$wxUSE_STD_IOSTREAM
4532 fi
4533
4534 { echo "$as_me:$LINENO: result: $result" >&5
4535 echo "${ECHO_T}$result" >&6; }
4536
4537
4538 enablestring=
4539 defaultval=
4540 if test -z "$defaultval"; then
4541 if test x"$enablestring" = xdisable; then
4542 defaultval=yes
4543 else
4544 defaultval=no
4545 fi
4546 fi
4547
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4550 # Check whether --enable-std_string was given.
4551 if test "${enable_std_string+set}" = set; then
4552 enableval=$enable_std_string;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4555 else
4556 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4557 fi
4558
4559 else
4560
4561 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4562
4563 fi
4564
4565
4566 eval "$wx_cv_use_std_string"
4567
4568 if test x"$enablestring" = xdisable; then
4569 if test $wxUSE_STD_STRING = yes; then
4570 result=no
4571 else
4572 result=yes
4573 fi
4574 else
4575 result=$wxUSE_STD_STRING
4576 fi
4577
4578 { echo "$as_me:$LINENO: result: $result" >&5
4579 echo "${ECHO_T}$result" >&6; }
4580
4581
4582 enablestring=disable
4583 defaultval=
4584 if test -z "$defaultval"; then
4585 if test x"$enablestring" = xdisable; then
4586 defaultval=yes
4587 else
4588 defaultval=no
4589 fi
4590 fi
4591
4592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4594 # Check whether --enable-unicode was given.
4595 if test "${enable_unicode+set}" = set; then
4596 enableval=$enable_unicode;
4597 if test "$enableval" = yes; then
4598 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4599 else
4600 wx_cv_use_unicode='wxUSE_UNICODE=no'
4601 fi
4602
4603 else
4604
4605 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4606
4607 fi
4608
4609
4610 eval "$wx_cv_use_unicode"
4611
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_UNICODE = yes; then
4614 result=no
4615 else
4616 result=yes
4617 fi
4618 else
4619 result=$wxUSE_UNICODE
4620 fi
4621
4622 { echo "$as_me:$LINENO: result: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4624
4625
4626 enablestring=
4627 defaultval=
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4630 defaultval=yes
4631 else
4632 defaultval=no
4633 fi
4634 fi
4635
4636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4638 # Check whether --enable-mslu was given.
4639 if test "${enable_mslu+set}" = set; then
4640 enableval=$enable_mslu;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4643 else
4644 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4645 fi
4646
4647 else
4648
4649 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4650
4651 fi
4652
4653
4654 eval "$wx_cv_use_mslu"
4655
4656 if test x"$enablestring" = xdisable; then
4657 if test $wxUSE_UNICODE_MSLU = yes; then
4658 result=no
4659 else
4660 result=yes
4661 fi
4662 else
4663 result=$wxUSE_UNICODE_MSLU
4664 fi
4665
4666 { echo "$as_me:$LINENO: result: $result" >&5
4667 echo "${ECHO_T}$result" >&6; }
4668
4669
4670 enablestring=
4671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4672 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4673 # Check whether --enable-utf8 was given.
4674 if test "${enable_utf8+set}" = set; then
4675 enableval=$enable_utf8;
4676 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4677
4678 else
4679
4680 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4681
4682 fi
4683
4684
4685 eval "$wx_cv_use_utf8"
4686
4687 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4688 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4689
4690
4691 enablestring=
4692 defaultval=
4693 if test -z "$defaultval"; then
4694 if test x"$enablestring" = xdisable; then
4695 defaultval=yes
4696 else
4697 defaultval=no
4698 fi
4699 fi
4700
4701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4703 # Check whether --enable-utf8only was given.
4704 if test "${enable_utf8only+set}" = set; then
4705 enableval=$enable_utf8only;
4706 if test "$enableval" = yes; then
4707 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4708 else
4709 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4710 fi
4711
4712 else
4713
4714 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_utf8only"
4720
4721 if test x"$enablestring" = xdisable; then
4722 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4723 result=no
4724 else
4725 result=yes
4726 fi
4727 else
4728 result=$wxUSE_UNICODE_UTF8_LOCALE
4729 fi
4730
4731 { echo "$as_me:$LINENO: result: $result" >&5
4732 echo "${ECHO_T}$result" >&6; }
4733
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4747 # Check whether --enable-extended_rtti was given.
4748 if test "${enable_extended_rtti+set}" = set; then
4749 enableval=$enable_extended_rtti;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4752 else
4753 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4754 fi
4755
4756 else
4757
4758 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4759
4760 fi
4761
4762
4763 eval "$wx_cv_use_extended_rtti"
4764
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_EXTENDED_RTTI = yes; then
4767 result=no
4768 else
4769 result=yes
4770 fi
4771 else
4772 result=$wxUSE_EXTENDED_RTTI
4773 fi
4774
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4777
4778 if test "$USE_OS2" = 1; then
4779 DEFAULT_wxUSE_OMF=no
4780
4781 enablestring=
4782 defaultval=
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4785 defaultval=yes
4786 else
4787 defaultval=no
4788 fi
4789 fi
4790
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4793 # Check whether --enable-omf was given.
4794 if test "${enable_omf+set}" = set; then
4795 enableval=$enable_omf;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_omf='wxUSE_OMF=yes'
4798 else
4799 wx_cv_use_omf='wxUSE_OMF=no'
4800 fi
4801
4802 else
4803
4804 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4805
4806 fi
4807
4808
4809 eval "$wx_cv_use_omf"
4810
4811 if test x"$enablestring" = xdisable; then
4812 if test $wxUSE_OMF = yes; then
4813 result=no
4814 else
4815 result=yes
4816 fi
4817 else
4818 result=$wxUSE_OMF
4819 fi
4820
4821 { echo "$as_me:$LINENO: result: $result" >&5
4822 echo "${ECHO_T}$result" >&6; }
4823
4824 fi
4825
4826 if test "$wxUSE_DEBUG" = "yes"; then
4827 DEFAULT_wxUSE_DEBUG_FLAG=yes
4828 DEFAULT_wxUSE_DEBUG_INFO=yes
4829 BUILD=debug
4830 elif test "$wxUSE_DEBUG" = "no"; then
4831 DEFAULT_wxUSE_DEBUG_FLAG=no
4832 DEFAULT_wxUSE_DEBUG_INFO=no
4833 BUILD=release
4834 fi
4835
4836
4837 enablestring=
4838 defaultval=
4839 if test -z "$defaultval"; then
4840 if test x"$enablestring" = xdisable; then
4841 defaultval=yes
4842 else
4843 defaultval=no
4844 fi
4845 fi
4846
4847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4849 # Check whether --enable-debug_flag was given.
4850 if test "${enable_debug_flag+set}" = set; then
4851 enableval=$enable_debug_flag;
4852 if test "$enableval" = yes; then
4853 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4854 else
4855 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4856 fi
4857
4858 else
4859
4860 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4861
4862 fi
4863
4864
4865 eval "$wx_cv_use_debug_flag"
4866
4867 if test x"$enablestring" = xdisable; then
4868 if test $wxUSE_DEBUG_FLAG = yes; then
4869 result=no
4870 else
4871 result=yes
4872 fi
4873 else
4874 result=$wxUSE_DEBUG_FLAG
4875 fi
4876
4877 { echo "$as_me:$LINENO: result: $result" >&5
4878 echo "${ECHO_T}$result" >&6; }
4879
4880
4881 enablestring=
4882 defaultval=
4883 if test -z "$defaultval"; then
4884 if test x"$enablestring" = xdisable; then
4885 defaultval=yes
4886 else
4887 defaultval=no
4888 fi
4889 fi
4890
4891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4893 # Check whether --enable-debug_info was given.
4894 if test "${enable_debug_info+set}" = set; then
4895 enableval=$enable_debug_info;
4896 if test "$enableval" = yes; then
4897 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4898 else
4899 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4900 fi
4901
4902 else
4903
4904 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4905
4906 fi
4907
4908
4909 eval "$wx_cv_use_debug_info"
4910
4911 if test x"$enablestring" = xdisable; then
4912 if test $wxUSE_DEBUG_INFO = yes; then
4913 result=no
4914 else
4915 result=yes
4916 fi
4917 else
4918 result=$wxUSE_DEBUG_INFO
4919 fi
4920
4921 { echo "$as_me:$LINENO: result: $result" >&5
4922 echo "${ECHO_T}$result" >&6; }
4923
4924
4925 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4926 wxUSE_DEBUG=yes
4927 BUILD=debug
4928 fi
4929
4930 if test "$wxUSE_DEBUG" = "yes"; then
4931 DEFAULT_wxUSE_OPTIMISE=no
4932 fi
4933
4934
4935 enablestring=disable
4936 defaultval=
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4939 defaultval=yes
4940 else
4941 defaultval=no
4942 fi
4943 fi
4944
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4947 # Check whether --enable-optimise was given.
4948 if test "${enable_optimise+set}" = set; then
4949 enableval=$enable_optimise;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4952 else
4953 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4954 fi
4955
4956 else
4957
4958 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4959
4960 fi
4961
4962
4963 eval "$wx_cv_use_optimise"
4964
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_OPTIMISE = yes; then
4967 result=no
4968 else
4969 result=yes
4970 fi
4971 else
4972 result=$wxUSE_OPTIMISE
4973 fi
4974
4975 { echo "$as_me:$LINENO: result: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4977
4978
4979
4980 enablestring=
4981 defaultval=
4982 if test -z "$defaultval"; then
4983 if test x"$enablestring" = xdisable; then
4984 defaultval=yes
4985 else
4986 defaultval=no
4987 fi
4988 fi
4989
4990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4992 # Check whether --enable-debug_gdb was given.
4993 if test "${enable_debug_gdb+set}" = set; then
4994 enableval=$enable_debug_gdb;
4995 if test "$enableval" = yes; then
4996 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4997 else
4998 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4999 fi
5000
5001 else
5002
5003 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5004
5005 fi
5006
5007
5008 eval "$wx_cv_use_debug_gdb"
5009
5010 if test x"$enablestring" = xdisable; then
5011 if test $wxUSE_DEBUG_GDB = yes; then
5012 result=no
5013 else
5014 result=yes
5015 fi
5016 else
5017 result=$wxUSE_DEBUG_GDB
5018 fi
5019
5020 { echo "$as_me:$LINENO: result: $result" >&5
5021 echo "${ECHO_T}$result" >&6; }
5022
5023
5024 enablestring=
5025 defaultval=
5026 if test -z "$defaultval"; then
5027 if test x"$enablestring" = xdisable; then
5028 defaultval=yes
5029 else
5030 defaultval=no
5031 fi
5032 fi
5033
5034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5035 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5036 # Check whether --enable-debug_cntxt was given.
5037 if test "${enable_debug_cntxt+set}" = set; then
5038 enableval=$enable_debug_cntxt;
5039 if test "$enableval" = yes; then
5040 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5041 else
5042 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5043 fi
5044
5045 else
5046
5047 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5048
5049 fi
5050
5051
5052 eval "$wx_cv_use_debug_cntxt"
5053
5054 if test x"$enablestring" = xdisable; then
5055 if test $wxUSE_DEBUG_CONTEXT = yes; then
5056 result=no
5057 else
5058 result=yes
5059 fi
5060 else
5061 result=$wxUSE_DEBUG_CONTEXT
5062 fi
5063
5064 { echo "$as_me:$LINENO: result: $result" >&5
5065 echo "${ECHO_T}$result" >&6; }
5066
5067
5068 enablestring=
5069 defaultval=
5070 if test -z "$defaultval"; then
5071 if test x"$enablestring" = xdisable; then
5072 defaultval=yes
5073 else
5074 defaultval=no
5075 fi
5076 fi
5077
5078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5079 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5080 # Check whether --enable-mem_tracing was given.
5081 if test "${enable_mem_tracing+set}" = set; then
5082 enableval=$enable_mem_tracing;
5083 if test "$enableval" = yes; then
5084 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5085 else
5086 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5087 fi
5088
5089 else
5090
5091 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5092
5093 fi
5094
5095
5096 eval "$wx_cv_use_mem_tracing"
5097
5098 if test x"$enablestring" = xdisable; then
5099 if test $wxUSE_MEM_TRACING = yes; then
5100 result=no
5101 else
5102 result=yes
5103 fi
5104 else
5105 result=$wxUSE_MEM_TRACING
5106 fi
5107
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5110
5111
5112 enablestring=
5113 defaultval=
5114 if test -z "$defaultval"; then
5115 if test x"$enablestring" = xdisable; then
5116 defaultval=yes
5117 else
5118 defaultval=no
5119 fi
5120 fi
5121
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5124 # Check whether --enable-profile was given.
5125 if test "${enable_profile+set}" = set; then
5126 enableval=$enable_profile;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_profile='wxUSE_PROFILE=yes'
5129 else
5130 wx_cv_use_profile='wxUSE_PROFILE=no'
5131 fi
5132
5133 else
5134
5135 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5136
5137 fi
5138
5139
5140 eval "$wx_cv_use_profile"
5141
5142 if test x"$enablestring" = xdisable; then
5143 if test $wxUSE_PROFILE = yes; then
5144 result=no
5145 else
5146 result=yes
5147 fi
5148 else
5149 result=$wxUSE_PROFILE
5150 fi
5151
5152 { echo "$as_me:$LINENO: result: $result" >&5
5153 echo "${ECHO_T}$result" >&6; }
5154
5155
5156 enablestring=
5157 defaultval=
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5160 defaultval=yes
5161 else
5162 defaultval=no
5163 fi
5164 fi
5165
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5168 # Check whether --enable-no_rtti was given.
5169 if test "${enable_no_rtti+set}" = set; then
5170 enableval=$enable_no_rtti;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5173 else
5174 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5175 fi
5176
5177 else
5178
5179 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5180
5181 fi
5182
5183
5184 eval "$wx_cv_use_no_rtti"
5185
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_NO_RTTI = yes; then
5188 result=no
5189 else
5190 result=yes
5191 fi
5192 else
5193 result=$wxUSE_NO_RTTI
5194 fi
5195
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5198
5199
5200 enablestring=
5201 defaultval=
5202 if test -z "$defaultval"; then
5203 if test x"$enablestring" = xdisable; then
5204 defaultval=yes
5205 else
5206 defaultval=no
5207 fi
5208 fi
5209
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5212 # Check whether --enable-no_exceptions was given.
5213 if test "${enable_no_exceptions+set}" = set; then
5214 enableval=$enable_no_exceptions;
5215 if test "$enableval" = yes; then
5216 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5217 else
5218 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5219 fi
5220
5221 else
5222
5223 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5224
5225 fi
5226
5227
5228 eval "$wx_cv_use_no_exceptions"
5229
5230 if test x"$enablestring" = xdisable; then
5231 if test $wxUSE_NO_EXCEPTIONS = yes; then
5232 result=no
5233 else
5234 result=yes
5235 fi
5236 else
5237 result=$wxUSE_NO_EXCEPTIONS
5238 fi
5239
5240 { echo "$as_me:$LINENO: result: $result" >&5
5241 echo "${ECHO_T}$result" >&6; }
5242
5243
5244 enablestring=
5245 defaultval=
5246 if test -z "$defaultval"; then
5247 if test x"$enablestring" = xdisable; then
5248 defaultval=yes
5249 else
5250 defaultval=no
5251 fi
5252 fi
5253
5254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5256 # Check whether --enable-permissive was given.
5257 if test "${enable_permissive+set}" = set; then
5258 enableval=$enable_permissive;
5259 if test "$enableval" = yes; then
5260 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5261 else
5262 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5263 fi
5264
5265 else
5266
5267 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5268
5269 fi
5270
5271
5272 eval "$wx_cv_use_permissive"
5273
5274 if test x"$enablestring" = xdisable; then
5275 if test $wxUSE_PERMISSIVE = yes; then
5276 result=no
5277 else
5278 result=yes
5279 fi
5280 else
5281 result=$wxUSE_PERMISSIVE
5282 fi
5283
5284 { echo "$as_me:$LINENO: result: $result" >&5
5285 echo "${ECHO_T}$result" >&6; }
5286
5287
5288 enablestring=
5289 defaultval=
5290 if test -z "$defaultval"; then
5291 if test x"$enablestring" = xdisable; then
5292 defaultval=yes
5293 else
5294 defaultval=no
5295 fi
5296 fi
5297
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5300 # Check whether --enable-no_deps was given.
5301 if test "${enable_no_deps+set}" = set; then
5302 enableval=$enable_no_deps;
5303 if test "$enableval" = yes; then
5304 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5305 else
5306 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5307 fi
5308
5309 else
5310
5311 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5312
5313 fi
5314
5315
5316 eval "$wx_cv_use_no_deps"
5317
5318 if test x"$enablestring" = xdisable; then
5319 if test $wxUSE_NO_DEPS = yes; then
5320 result=no
5321 else
5322 result=yes
5323 fi
5324 else
5325 result=$wxUSE_NO_DEPS
5326 fi
5327
5328 { echo "$as_me:$LINENO: result: $result" >&5
5329 echo "${ECHO_T}$result" >&6; }
5330
5331
5332 enablestring=disable
5333 defaultval=
5334 if test -z "$defaultval"; then
5335 if test x"$enablestring" = xdisable; then
5336 defaultval=yes
5337 else
5338 defaultval=no
5339 fi
5340 fi
5341
5342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5344 # Check whether --enable-vararg_macros was given.
5345 if test "${enable_vararg_macros+set}" = set; then
5346 enableval=$enable_vararg_macros;
5347 if test "$enableval" = yes; then
5348 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5349 else
5350 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5351 fi
5352
5353 else
5354
5355 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5356
5357 fi
5358
5359
5360 eval "$wx_cv_use_vararg_macros"
5361
5362 if test x"$enablestring" = xdisable; then
5363 if test $wxUSE_VARARG_MACROS = yes; then
5364 result=no
5365 else
5366 result=yes
5367 fi
5368 else
5369 result=$wxUSE_VARARG_MACROS
5370 fi
5371
5372 { echo "$as_me:$LINENO: result: $result" >&5
5373 echo "${ECHO_T}$result" >&6; }
5374
5375
5376 enablestring=
5377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5378 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5379 # Check whether --enable-universal_binary was given.
5380 if test "${enable_universal_binary+set}" = set; then
5381 enableval=$enable_universal_binary;
5382 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5383
5384 else
5385
5386 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5387
5388 fi
5389
5390
5391 eval "$wx_cv_use_universal_binary"
5392
5393 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5394 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5395
5396
5397
5398 enablestring=
5399 defaultval=
5400 if test -z "$defaultval"; then
5401 if test x"$enablestring" = xdisable; then
5402 defaultval=yes
5403 else
5404 defaultval=no
5405 fi
5406 fi
5407
5408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5410 # Check whether --enable-compat26 was given.
5411 if test "${enable_compat26+set}" = set; then
5412 enableval=$enable_compat26;
5413 if test "$enableval" = yes; then
5414 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5415 else
5416 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5417 fi
5418
5419 else
5420
5421 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5422
5423 fi
5424
5425
5426 eval "$wx_cv_use_compat26"
5427
5428 if test x"$enablestring" = xdisable; then
5429 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5430 result=no
5431 else
5432 result=yes
5433 fi
5434 else
5435 result=$WXWIN_COMPATIBILITY_2_6
5436 fi
5437
5438 { echo "$as_me:$LINENO: result: $result" >&5
5439 echo "${ECHO_T}$result" >&6; }
5440
5441
5442 enablestring=disable
5443 defaultval=
5444 if test -z "$defaultval"; then
5445 if test x"$enablestring" = xdisable; then
5446 defaultval=yes
5447 else
5448 defaultval=no
5449 fi
5450 fi
5451
5452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5454 # Check whether --enable-compat28 was given.
5455 if test "${enable_compat28+set}" = set; then
5456 enableval=$enable_compat28;
5457 if test "$enableval" = yes; then
5458 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5459 else
5460 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5461 fi
5462
5463 else
5464
5465 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5466
5467 fi
5468
5469
5470 eval "$wx_cv_use_compat28"
5471
5472 if test x"$enablestring" = xdisable; then
5473 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5474 result=no
5475 else
5476 result=yes
5477 fi
5478 else
5479 result=$WXWIN_COMPATIBILITY_2_8
5480 fi
5481
5482 { echo "$as_me:$LINENO: result: $result" >&5
5483 echo "${ECHO_T}$result" >&6; }
5484
5485
5486
5487 enablestring=disable
5488 defaultval=
5489 if test -z "$defaultval"; then
5490 if test x"$enablestring" = xdisable; then
5491 defaultval=yes
5492 else
5493 defaultval=no
5494 fi
5495 fi
5496
5497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5498 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5499 # Check whether --enable-rpath was given.
5500 if test "${enable_rpath+set}" = set; then
5501 enableval=$enable_rpath;
5502 if test "$enableval" = yes; then
5503 wx_cv_use_rpath='wxUSE_RPATH=yes'
5504 else
5505 wx_cv_use_rpath='wxUSE_RPATH=no'
5506 fi
5507
5508 else
5509
5510 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5511
5512 fi
5513
5514
5515 eval "$wx_cv_use_rpath"
5516
5517 if test x"$enablestring" = xdisable; then
5518 if test $wxUSE_RPATH = yes; then
5519 result=no
5520 else
5521 result=yes
5522 fi
5523 else
5524 result=$wxUSE_RPATH
5525 fi
5526
5527 { echo "$as_me:$LINENO: result: $result" >&5
5528 echo "${ECHO_T}$result" >&6; }
5529
5530
5531
5532 enablestring=
5533 defaultval=
5534 if test -z "$defaultval"; then
5535 if test x"$enablestring" = xdisable; then
5536 defaultval=yes
5537 else
5538 defaultval=no
5539 fi
5540 fi
5541
5542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5544 # Check whether --enable-objc_uniquifying was given.
5545 if test "${enable_objc_uniquifying+set}" = set; then
5546 enableval=$enable_objc_uniquifying;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5549 else
5550 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5551 fi
5552
5553 else
5554
5555 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5556
5557 fi
5558
5559
5560 eval "$wx_cv_use_objc_uniquifying"
5561
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5564 result=no
5565 else
5566 result=yes
5567 fi
5568 else
5569 result=$wxUSE_OBJC_UNIQUIFYING
5570 fi
5571
5572 { echo "$as_me:$LINENO: result: $result" >&5
5573 echo "${ECHO_T}$result" >&6; }
5574
5575
5576
5577 enablestring=disable
5578 defaultval=
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5581 defaultval=yes
5582 else
5583 defaultval=no
5584 fi
5585 fi
5586
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5589 # Check whether --enable-visibility was given.
5590 if test "${enable_visibility+set}" = set; then
5591 enableval=$enable_visibility;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5594 else
5595 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5596 fi
5597
5598 else
5599
5600 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5601
5602 fi
5603
5604
5605 eval "$wx_cv_use_visibility"
5606
5607 if test x"$enablestring" = xdisable; then
5608 if test $wxUSE_VISIBILITY = yes; then
5609 result=no
5610 else
5611 result=yes
5612 fi
5613 else
5614 result=$wxUSE_VISIBILITY
5615 fi
5616
5617 { echo "$as_me:$LINENO: result: $result" >&5
5618 echo "${ECHO_T}$result" >&6; }
5619
5620
5621
5622
5623 enablestring=
5624 defaultval=$wxUSE_ALL_FEATURES
5625 if test -z "$defaultval"; then
5626 if test x"$enablestring" = xdisable; then
5627 defaultval=yes
5628 else
5629 defaultval=no
5630 fi
5631 fi
5632
5633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5635 # Check whether --enable-intl was given.
5636 if test "${enable_intl+set}" = set; then
5637 enableval=$enable_intl;
5638 if test "$enableval" = yes; then
5639 wx_cv_use_intl='wxUSE_INTL=yes'
5640 else
5641 wx_cv_use_intl='wxUSE_INTL=no'
5642 fi
5643
5644 else
5645
5646 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5647
5648 fi
5649
5650
5651 eval "$wx_cv_use_intl"
5652
5653 if test x"$enablestring" = xdisable; then
5654 if test $wxUSE_INTL = yes; then
5655 result=no
5656 else
5657 result=yes
5658 fi
5659 else
5660 result=$wxUSE_INTL
5661 fi
5662
5663 { echo "$as_me:$LINENO: result: $result" >&5
5664 echo "${ECHO_T}$result" >&6; }
5665
5666
5667 enablestring=
5668 defaultval=$wxUSE_ALL_FEATURES
5669 if test -z "$defaultval"; then
5670 if test x"$enablestring" = xdisable; then
5671 defaultval=yes
5672 else
5673 defaultval=no
5674 fi
5675 fi
5676
5677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5678 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5679 # Check whether --enable-xlocale was given.
5680 if test "${enable_xlocale+set}" = set; then
5681 enableval=$enable_xlocale;
5682 if test "$enableval" = yes; then
5683 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5684 else
5685 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5686 fi
5687
5688 else
5689
5690 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5691
5692 fi
5693
5694
5695 eval "$wx_cv_use_xlocale"
5696
5697 if test x"$enablestring" = xdisable; then
5698 if test $wxUSE_XLOCALE = yes; then
5699 result=no
5700 else
5701 result=yes
5702 fi
5703 else
5704 result=$wxUSE_XLOCALE
5705 fi
5706
5707 { echo "$as_me:$LINENO: result: $result" >&5
5708 echo "${ECHO_T}$result" >&6; }
5709
5710
5711 enablestring=
5712 defaultval=$wxUSE_ALL_FEATURES
5713 if test -z "$defaultval"; then
5714 if test x"$enablestring" = xdisable; then
5715 defaultval=yes
5716 else
5717 defaultval=no
5718 fi
5719 fi
5720
5721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5723 # Check whether --enable-config was given.
5724 if test "${enable_config+set}" = set; then
5725 enableval=$enable_config;
5726 if test "$enableval" = yes; then
5727 wx_cv_use_config='wxUSE_CONFIG=yes'
5728 else
5729 wx_cv_use_config='wxUSE_CONFIG=no'
5730 fi
5731
5732 else
5733
5734 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5735
5736 fi
5737
5738
5739 eval "$wx_cv_use_config"
5740
5741 if test x"$enablestring" = xdisable; then
5742 if test $wxUSE_CONFIG = yes; then
5743 result=no
5744 else
5745 result=yes
5746 fi
5747 else
5748 result=$wxUSE_CONFIG
5749 fi
5750
5751 { echo "$as_me:$LINENO: result: $result" >&5
5752 echo "${ECHO_T}$result" >&6; }
5753
5754
5755
5756 enablestring=
5757 defaultval=$wxUSE_ALL_FEATURES
5758 if test -z "$defaultval"; then
5759 if test x"$enablestring" = xdisable; then
5760 defaultval=yes
5761 else
5762 defaultval=no
5763 fi
5764 fi
5765
5766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5768 # Check whether --enable-protocols was given.
5769 if test "${enable_protocols+set}" = set; then
5770 enableval=$enable_protocols;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5773 else
5774 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5775 fi
5776
5777 else
5778
5779 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5780
5781 fi
5782
5783
5784 eval "$wx_cv_use_protocols"
5785
5786 if test x"$enablestring" = xdisable; then
5787 if test $wxUSE_PROTOCOL = yes; then
5788 result=no
5789 else
5790 result=yes
5791 fi
5792 else
5793 result=$wxUSE_PROTOCOL
5794 fi
5795
5796 { echo "$as_me:$LINENO: result: $result" >&5
5797 echo "${ECHO_T}$result" >&6; }
5798
5799
5800 enablestring=
5801 defaultval=$wxUSE_ALL_FEATURES
5802 if test -z "$defaultval"; then
5803 if test x"$enablestring" = xdisable; then
5804 defaultval=yes
5805 else
5806 defaultval=no
5807 fi
5808 fi
5809
5810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5812 # Check whether --enable-ftp was given.
5813 if test "${enable_ftp+set}" = set; then
5814 enableval=$enable_ftp;
5815 if test "$enableval" = yes; then
5816 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5817 else
5818 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5819 fi
5820
5821 else
5822
5823 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5824
5825 fi
5826
5827
5828 eval "$wx_cv_use_ftp"
5829
5830 if test x"$enablestring" = xdisable; then
5831 if test $wxUSE_PROTOCOL_FTP = yes; then
5832 result=no
5833 else
5834 result=yes
5835 fi
5836 else
5837 result=$wxUSE_PROTOCOL_FTP
5838 fi
5839
5840 { echo "$as_me:$LINENO: result: $result" >&5
5841 echo "${ECHO_T}$result" >&6; }
5842
5843
5844 enablestring=
5845 defaultval=$wxUSE_ALL_FEATURES
5846 if test -z "$defaultval"; then
5847 if test x"$enablestring" = xdisable; then
5848 defaultval=yes
5849 else
5850 defaultval=no
5851 fi
5852 fi
5853
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5856 # Check whether --enable-http was given.
5857 if test "${enable_http+set}" = set; then
5858 enableval=$enable_http;
5859 if test "$enableval" = yes; then
5860 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5861 else
5862 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5863 fi
5864
5865 else
5866
5867 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5868
5869 fi
5870
5871
5872 eval "$wx_cv_use_http"
5873
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_PROTOCOL_HTTP = yes; then
5876 result=no
5877 else
5878 result=yes
5879 fi
5880 else
5881 result=$wxUSE_PROTOCOL_HTTP
5882 fi
5883
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5886
5887
5888 enablestring=
5889 defaultval=$wxUSE_ALL_FEATURES
5890 if test -z "$defaultval"; then
5891 if test x"$enablestring" = xdisable; then
5892 defaultval=yes
5893 else
5894 defaultval=no
5895 fi
5896 fi
5897
5898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5900 # Check whether --enable-fileproto was given.
5901 if test "${enable_fileproto+set}" = set; then
5902 enableval=$enable_fileproto;
5903 if test "$enableval" = yes; then
5904 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5905 else
5906 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5907 fi
5908
5909 else
5910
5911 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5912
5913 fi
5914
5915
5916 eval "$wx_cv_use_fileproto"
5917
5918 if test x"$enablestring" = xdisable; then
5919 if test $wxUSE_PROTOCOL_FILE = yes; then
5920 result=no
5921 else
5922 result=yes
5923 fi
5924 else
5925 result=$wxUSE_PROTOCOL_FILE
5926 fi
5927
5928 { echo "$as_me:$LINENO: result: $result" >&5
5929 echo "${ECHO_T}$result" >&6; }
5930
5931
5932 enablestring=
5933 defaultval=$wxUSE_ALL_FEATURES
5934 if test -z "$defaultval"; then
5935 if test x"$enablestring" = xdisable; then
5936 defaultval=yes
5937 else
5938 defaultval=no
5939 fi
5940 fi
5941
5942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5943 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5944 # Check whether --enable-sockets was given.
5945 if test "${enable_sockets+set}" = set; then
5946 enableval=$enable_sockets;
5947 if test "$enableval" = yes; then
5948 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5949 else
5950 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5951 fi
5952
5953 else
5954
5955 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5956
5957 fi
5958
5959
5960 eval "$wx_cv_use_sockets"
5961
5962 if test x"$enablestring" = xdisable; then
5963 if test $wxUSE_SOCKETS = yes; then
5964 result=no
5965 else
5966 result=yes
5967 fi
5968 else
5969 result=$wxUSE_SOCKETS
5970 fi
5971
5972 { echo "$as_me:$LINENO: result: $result" >&5
5973 echo "${ECHO_T}$result" >&6; }
5974
5975
5976 enablestring=
5977 defaultval=$wxUSE_ALL_FEATURES
5978 if test -z "$defaultval"; then
5979 if test x"$enablestring" = xdisable; then
5980 defaultval=yes
5981 else
5982 defaultval=no
5983 fi
5984 fi
5985
5986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5987 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5988 # Check whether --enable-ipv6 was given.
5989 if test "${enable_ipv6+set}" = set; then
5990 enableval=$enable_ipv6;
5991 if test "$enableval" = yes; then
5992 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5993 else
5994 wx_cv_use_ipv6='wxUSE_IPV6=no'
5995 fi
5996
5997 else
5998
5999 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6000
6001 fi
6002
6003
6004 eval "$wx_cv_use_ipv6"
6005
6006 if test x"$enablestring" = xdisable; then
6007 if test $wxUSE_IPV6 = yes; then
6008 result=no
6009 else
6010 result=yes
6011 fi
6012 else
6013 result=$wxUSE_IPV6
6014 fi
6015
6016 { echo "$as_me:$LINENO: result: $result" >&5
6017 echo "${ECHO_T}$result" >&6; }
6018
6019
6020 enablestring=
6021 defaultval=$wxUSE_ALL_FEATURES
6022 if test -z "$defaultval"; then
6023 if test x"$enablestring" = xdisable; then
6024 defaultval=yes
6025 else
6026 defaultval=no
6027 fi
6028 fi
6029
6030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6032 # Check whether --enable-ole was given.
6033 if test "${enable_ole+set}" = set; then
6034 enableval=$enable_ole;
6035 if test "$enableval" = yes; then
6036 wx_cv_use_ole='wxUSE_OLE=yes'
6037 else
6038 wx_cv_use_ole='wxUSE_OLE=no'
6039 fi
6040
6041 else
6042
6043 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6044
6045 fi
6046
6047
6048 eval "$wx_cv_use_ole"
6049
6050 if test x"$enablestring" = xdisable; then
6051 if test $wxUSE_OLE = yes; then
6052 result=no
6053 else
6054 result=yes
6055 fi
6056 else
6057 result=$wxUSE_OLE
6058 fi
6059
6060 { echo "$as_me:$LINENO: result: $result" >&5
6061 echo "${ECHO_T}$result" >&6; }
6062
6063
6064 enablestring=
6065 defaultval=$wxUSE_ALL_FEATURES
6066 if test -z "$defaultval"; then
6067 if test x"$enablestring" = xdisable; then
6068 defaultval=yes
6069 else
6070 defaultval=no
6071 fi
6072 fi
6073
6074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6075 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6076 # Check whether --enable-dataobj was given.
6077 if test "${enable_dataobj+set}" = set; then
6078 enableval=$enable_dataobj;
6079 if test "$enableval" = yes; then
6080 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6081 else
6082 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6083 fi
6084
6085 else
6086
6087 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6088
6089 fi
6090
6091
6092 eval "$wx_cv_use_dataobj"
6093
6094 if test x"$enablestring" = xdisable; then
6095 if test $wxUSE_DATAOBJ = yes; then
6096 result=no
6097 else
6098 result=yes
6099 fi
6100 else
6101 result=$wxUSE_DATAOBJ
6102 fi
6103
6104 { echo "$as_me:$LINENO: result: $result" >&5
6105 echo "${ECHO_T}$result" >&6; }
6106
6107
6108
6109 enablestring=
6110 defaultval=$wxUSE_ALL_FEATURES
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6121 # Check whether --enable-ipc was given.
6122 if test "${enable_ipc+set}" = set; then
6123 enableval=$enable_ipc;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_ipc='wxUSE_IPC=yes'
6126 else
6127 wx_cv_use_ipc='wxUSE_IPC=no'
6128 fi
6129
6130 else
6131
6132 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6133
6134 fi
6135
6136
6137 eval "$wx_cv_use_ipc"
6138
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_IPC = yes; then
6141 result=no
6142 else
6143 result=yes
6144 fi
6145 else
6146 result=$wxUSE_IPC
6147 fi
6148
6149 { echo "$as_me:$LINENO: result: $result" >&5
6150 echo "${ECHO_T}$result" >&6; }
6151
6152
6153
6154 enablestring=
6155 defaultval=$wxUSE_ALL_FEATURES
6156 if test -z "$defaultval"; then
6157 if test x"$enablestring" = xdisable; then
6158 defaultval=yes
6159 else
6160 defaultval=no
6161 fi
6162 fi
6163
6164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6165 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6166 # Check whether --enable-baseevtloop was given.
6167 if test "${enable_baseevtloop+set}" = set; then
6168 enableval=$enable_baseevtloop;
6169 if test "$enableval" = yes; then
6170 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6171 else
6172 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6173 fi
6174
6175 else
6176
6177 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6178
6179 fi
6180
6181
6182 eval "$wx_cv_use_baseevtloop"
6183
6184 if test x"$enablestring" = xdisable; then
6185 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6186 result=no
6187 else
6188 result=yes
6189 fi
6190 else
6191 result=$wxUSE_CONSOLE_EVENTLOOP
6192 fi
6193
6194 { echo "$as_me:$LINENO: result: $result" >&5
6195 echo "${ECHO_T}$result" >&6; }
6196
6197
6198 enablestring=
6199 defaultval=$wxUSE_ALL_FEATURES
6200 if test -z "$defaultval"; then
6201 if test x"$enablestring" = xdisable; then
6202 defaultval=yes
6203 else
6204 defaultval=no
6205 fi
6206 fi
6207
6208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6210 # Check whether --enable-epollloop was given.
6211 if test "${enable_epollloop+set}" = set; then
6212 enableval=$enable_epollloop;
6213 if test "$enableval" = yes; then
6214 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6215 else
6216 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6217 fi
6218
6219 else
6220
6221 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6222
6223 fi
6224
6225
6226 eval "$wx_cv_use_epollloop"
6227
6228 if test x"$enablestring" = xdisable; then
6229 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6230 result=no
6231 else
6232 result=yes
6233 fi
6234 else
6235 result=$wxUSE_EPOLL_DISPATCHER
6236 fi
6237
6238 { echo "$as_me:$LINENO: result: $result" >&5
6239 echo "${ECHO_T}$result" >&6; }
6240
6241
6242 enablestring=
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6246 defaultval=yes
6247 else
6248 defaultval=no
6249 fi
6250 fi
6251
6252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6254 # Check whether --enable-selectloop was given.
6255 if test "${enable_selectloop+set}" = set; then
6256 enableval=$enable_selectloop;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6259 else
6260 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6261 fi
6262
6263 else
6264
6265 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6266
6267 fi
6268
6269
6270 eval "$wx_cv_use_selectloop"
6271
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_SELECT_DISPATCHER = yes; then
6274 result=no
6275 else
6276 result=yes
6277 fi
6278 else
6279 result=$wxUSE_SELECT_DISPATCHER
6280 fi
6281
6282 { echo "$as_me:$LINENO: result: $result" >&5
6283 echo "${ECHO_T}$result" >&6; }
6284
6285
6286
6287 enablestring=
6288 defaultval=$wxUSE_ALL_FEATURES
6289 if test -z "$defaultval"; then
6290 if test x"$enablestring" = xdisable; then
6291 defaultval=yes
6292 else
6293 defaultval=no
6294 fi
6295 fi
6296
6297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6299 # Check whether --enable-apple_ieee was given.
6300 if test "${enable_apple_ieee+set}" = set; then
6301 enableval=$enable_apple_ieee;
6302 if test "$enableval" = yes; then
6303 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6304 else
6305 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6306 fi
6307
6308 else
6309
6310 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6311
6312 fi
6313
6314
6315 eval "$wx_cv_use_apple_ieee"
6316
6317 if test x"$enablestring" = xdisable; then
6318 if test $wxUSE_APPLE_IEEE = yes; then
6319 result=no
6320 else
6321 result=yes
6322 fi
6323 else
6324 result=$wxUSE_APPLE_IEEE
6325 fi
6326
6327 { echo "$as_me:$LINENO: result: $result" >&5
6328 echo "${ECHO_T}$result" >&6; }
6329
6330
6331 enablestring=
6332 defaultval=$wxUSE_ALL_FEATURES
6333 if test -z "$defaultval"; then
6334 if test x"$enablestring" = xdisable; then
6335 defaultval=yes
6336 else
6337 defaultval=no
6338 fi
6339 fi
6340
6341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6343 # Check whether --enable-arcstream was given.
6344 if test "${enable_arcstream+set}" = set; then
6345 enableval=$enable_arcstream;
6346 if test "$enableval" = yes; then
6347 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6348 else
6349 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6350 fi
6351
6352 else
6353
6354 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6355
6356 fi
6357
6358
6359 eval "$wx_cv_use_arcstream"
6360
6361 if test x"$enablestring" = xdisable; then
6362 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6363 result=no
6364 else
6365 result=yes
6366 fi
6367 else
6368 result=$wxUSE_ARCHIVE_STREAMS
6369 fi
6370
6371 { echo "$as_me:$LINENO: result: $result" >&5
6372 echo "${ECHO_T}$result" >&6; }
6373
6374
6375 enablestring=
6376 defaultval=$wxUSE_ALL_FEATURES
6377 if test -z "$defaultval"; then
6378 if test x"$enablestring" = xdisable; then
6379 defaultval=yes
6380 else
6381 defaultval=no
6382 fi
6383 fi
6384
6385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6387 # Check whether --enable-base64 was given.
6388 if test "${enable_base64+set}" = set; then
6389 enableval=$enable_base64;
6390 if test "$enableval" = yes; then
6391 wx_cv_use_base64='wxUSE_BASE64=yes'
6392 else
6393 wx_cv_use_base64='wxUSE_BASE64=no'
6394 fi
6395
6396 else
6397
6398 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6399
6400 fi
6401
6402
6403 eval "$wx_cv_use_base64"
6404
6405 if test x"$enablestring" = xdisable; then
6406 if test $wxUSE_BASE64 = yes; then
6407 result=no
6408 else
6409 result=yes
6410 fi
6411 else
6412 result=$wxUSE_BASE64
6413 fi
6414
6415 { echo "$as_me:$LINENO: result: $result" >&5
6416 echo "${ECHO_T}$result" >&6; }
6417
6418
6419 enablestring=
6420 defaultval=$wxUSE_ALL_FEATURES
6421 if test -z "$defaultval"; then
6422 if test x"$enablestring" = xdisable; then
6423 defaultval=yes
6424 else
6425 defaultval=no
6426 fi
6427 fi
6428
6429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6431 # Check whether --enable-backtrace was given.
6432 if test "${enable_backtrace+set}" = set; then
6433 enableval=$enable_backtrace;
6434 if test "$enableval" = yes; then
6435 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6436 else
6437 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6438 fi
6439
6440 else
6441
6442 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6443
6444 fi
6445
6446
6447 eval "$wx_cv_use_backtrace"
6448
6449 if test x"$enablestring" = xdisable; then
6450 if test $wxUSE_STACKWALKER = yes; then
6451 result=no
6452 else
6453 result=yes
6454 fi
6455 else
6456 result=$wxUSE_STACKWALKER
6457 fi
6458
6459 { echo "$as_me:$LINENO: result: $result" >&5
6460 echo "${ECHO_T}$result" >&6; }
6461
6462
6463 enablestring=
6464 defaultval=$wxUSE_ALL_FEATURES
6465 if test -z "$defaultval"; then
6466 if test x"$enablestring" = xdisable; then
6467 defaultval=yes
6468 else
6469 defaultval=no
6470 fi
6471 fi
6472
6473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6474 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6475 # Check whether --enable-catch_segvs was given.
6476 if test "${enable_catch_segvs+set}" = set; then
6477 enableval=$enable_catch_segvs;
6478 if test "$enableval" = yes; then
6479 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6480 else
6481 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6482 fi
6483
6484 else
6485
6486 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6487
6488 fi
6489
6490
6491 eval "$wx_cv_use_catch_segvs"
6492
6493 if test x"$enablestring" = xdisable; then
6494 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6495 result=no
6496 else
6497 result=yes
6498 fi
6499 else
6500 result=$wxUSE_ON_FATAL_EXCEPTION
6501 fi
6502
6503 { echo "$as_me:$LINENO: result: $result" >&5
6504 echo "${ECHO_T}$result" >&6; }
6505
6506
6507 enablestring=
6508 defaultval=$wxUSE_ALL_FEATURES
6509 if test -z "$defaultval"; then
6510 if test x"$enablestring" = xdisable; then
6511 defaultval=yes
6512 else
6513 defaultval=no
6514 fi
6515 fi
6516
6517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6518 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6519 # Check whether --enable-cmdline was given.
6520 if test "${enable_cmdline+set}" = set; then
6521 enableval=$enable_cmdline;
6522 if test "$enableval" = yes; then
6523 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6524 else
6525 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6526 fi
6527
6528 else
6529
6530 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6531
6532 fi
6533
6534
6535 eval "$wx_cv_use_cmdline"
6536
6537 if test x"$enablestring" = xdisable; then
6538 if test $wxUSE_CMDLINE_PARSER = yes; then
6539 result=no
6540 else
6541 result=yes
6542 fi
6543 else
6544 result=$wxUSE_CMDLINE_PARSER
6545 fi
6546
6547 { echo "$as_me:$LINENO: result: $result" >&5
6548 echo "${ECHO_T}$result" >&6; }
6549
6550
6551 enablestring=
6552 defaultval=$wxUSE_ALL_FEATURES
6553 if test -z "$defaultval"; then
6554 if test x"$enablestring" = xdisable; then
6555 defaultval=yes
6556 else
6557 defaultval=no
6558 fi
6559 fi
6560
6561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6563 # Check whether --enable-datetime was given.
6564 if test "${enable_datetime+set}" = set; then
6565 enableval=$enable_datetime;
6566 if test "$enableval" = yes; then
6567 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6568 else
6569 wx_cv_use_datetime='wxUSE_DATETIME=no'
6570 fi
6571
6572 else
6573
6574 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6575
6576 fi
6577
6578
6579 eval "$wx_cv_use_datetime"
6580
6581 if test x"$enablestring" = xdisable; then
6582 if test $wxUSE_DATETIME = yes; then
6583 result=no
6584 else
6585 result=yes
6586 fi
6587 else
6588 result=$wxUSE_DATETIME
6589 fi
6590
6591 { echo "$as_me:$LINENO: result: $result" >&5
6592 echo "${ECHO_T}$result" >&6; }
6593
6594
6595 enablestring=
6596 defaultval=$wxUSE_ALL_FEATURES
6597 if test -z "$defaultval"; then
6598 if test x"$enablestring" = xdisable; then
6599 defaultval=yes
6600 else
6601 defaultval=no
6602 fi
6603 fi
6604
6605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6607 # Check whether --enable-debugreport was given.
6608 if test "${enable_debugreport+set}" = set; then
6609 enableval=$enable_debugreport;
6610 if test "$enableval" = yes; then
6611 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6612 else
6613 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6614 fi
6615
6616 else
6617
6618 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6619
6620 fi
6621
6622
6623 eval "$wx_cv_use_debugreport"
6624
6625 if test x"$enablestring" = xdisable; then
6626 if test $wxUSE_DEBUGREPORT = yes; then
6627 result=no
6628 else
6629 result=yes
6630 fi
6631 else
6632 result=$wxUSE_DEBUGREPORT
6633 fi
6634
6635 { echo "$as_me:$LINENO: result: $result" >&5
6636 echo "${ECHO_T}$result" >&6; }
6637
6638
6639 enablestring=
6640 defaultval=$wxUSE_ALL_FEATURES
6641 if test -z "$defaultval"; then
6642 if test x"$enablestring" = xdisable; then
6643 defaultval=yes
6644 else
6645 defaultval=no
6646 fi
6647 fi
6648
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6651 # Check whether --enable-dialupman was given.
6652 if test "${enable_dialupman+set}" = set; then
6653 enableval=$enable_dialupman;
6654 if test "$enableval" = yes; then
6655 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6656 else
6657 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6658 fi
6659
6660 else
6661
6662 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6663
6664 fi
6665
6666
6667 eval "$wx_cv_use_dialupman"
6668
6669 if test x"$enablestring" = xdisable; then
6670 if test $wxUSE_DIALUP_MANAGER = yes; then
6671 result=no
6672 else
6673 result=yes
6674 fi
6675 else
6676 result=$wxUSE_DIALUP_MANAGER
6677 fi
6678
6679 { echo "$as_me:$LINENO: result: $result" >&5
6680 echo "${ECHO_T}$result" >&6; }
6681
6682
6683 enablestring=
6684 defaultval=$wxUSE_ALL_FEATURES
6685 if test -z "$defaultval"; then
6686 if test x"$enablestring" = xdisable; then
6687 defaultval=yes
6688 else
6689 defaultval=no
6690 fi
6691 fi
6692
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6695 # Check whether --enable-dynlib was given.
6696 if test "${enable_dynlib+set}" = set; then
6697 enableval=$enable_dynlib;
6698 if test "$enableval" = yes; then
6699 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6700 else
6701 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6702 fi
6703
6704 else
6705
6706 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6707
6708 fi
6709
6710
6711 eval "$wx_cv_use_dynlib"
6712
6713 if test x"$enablestring" = xdisable; then
6714 if test $wxUSE_DYNLIB_CLASS = yes; then
6715 result=no
6716 else
6717 result=yes
6718 fi
6719 else
6720 result=$wxUSE_DYNLIB_CLASS
6721 fi
6722
6723 { echo "$as_me:$LINENO: result: $result" >&5
6724 echo "${ECHO_T}$result" >&6; }
6725
6726
6727 enablestring=
6728 defaultval=$wxUSE_ALL_FEATURES
6729 if test -z "$defaultval"; then
6730 if test x"$enablestring" = xdisable; then
6731 defaultval=yes
6732 else
6733 defaultval=no
6734 fi
6735 fi
6736
6737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6739 # Check whether --enable-dynamicloader was given.
6740 if test "${enable_dynamicloader+set}" = set; then
6741 enableval=$enable_dynamicloader;
6742 if test "$enableval" = yes; then
6743 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6744 else
6745 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6746 fi
6747
6748 else
6749
6750 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6751
6752 fi
6753
6754
6755 eval "$wx_cv_use_dynamicloader"
6756
6757 if test x"$enablestring" = xdisable; then
6758 if test $wxUSE_DYNAMIC_LOADER = yes; then
6759 result=no
6760 else
6761 result=yes
6762 fi
6763 else
6764 result=$wxUSE_DYNAMIC_LOADER
6765 fi
6766
6767 { echo "$as_me:$LINENO: result: $result" >&5
6768 echo "${ECHO_T}$result" >&6; }
6769
6770
6771 enablestring=
6772 defaultval=$wxUSE_ALL_FEATURES
6773 if test -z "$defaultval"; then
6774 if test x"$enablestring" = xdisable; then
6775 defaultval=yes
6776 else
6777 defaultval=no
6778 fi
6779 fi
6780
6781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6783 # Check whether --enable-exceptions was given.
6784 if test "${enable_exceptions+set}" = set; then
6785 enableval=$enable_exceptions;
6786 if test "$enableval" = yes; then
6787 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6788 else
6789 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6790 fi
6791
6792 else
6793
6794 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6795
6796 fi
6797
6798
6799 eval "$wx_cv_use_exceptions"
6800
6801 if test x"$enablestring" = xdisable; then
6802 if test $wxUSE_EXCEPTIONS = yes; then
6803 result=no
6804 else
6805 result=yes
6806 fi
6807 else
6808 result=$wxUSE_EXCEPTIONS
6809 fi
6810
6811 { echo "$as_me:$LINENO: result: $result" >&5
6812 echo "${ECHO_T}$result" >&6; }
6813
6814
6815 enablestring=
6816 defaultval=$wxUSE_ALL_FEATURES
6817 if test -z "$defaultval"; then
6818 if test x"$enablestring" = xdisable; then
6819 defaultval=yes
6820 else
6821 defaultval=no
6822 fi
6823 fi
6824
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6827 # Check whether --enable-ffile was given.
6828 if test "${enable_ffile+set}" = set; then
6829 enableval=$enable_ffile;
6830 if test "$enableval" = yes; then
6831 wx_cv_use_ffile='wxUSE_FFILE=yes'
6832 else
6833 wx_cv_use_ffile='wxUSE_FFILE=no'
6834 fi
6835
6836 else
6837
6838 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6839
6840 fi
6841
6842
6843 eval "$wx_cv_use_ffile"
6844
6845 if test x"$enablestring" = xdisable; then
6846 if test $wxUSE_FFILE = yes; then
6847 result=no
6848 else
6849 result=yes
6850 fi
6851 else
6852 result=$wxUSE_FFILE
6853 fi
6854
6855 { echo "$as_me:$LINENO: result: $result" >&5
6856 echo "${ECHO_T}$result" >&6; }
6857
6858
6859 enablestring=
6860 defaultval=$wxUSE_ALL_FEATURES
6861 if test -z "$defaultval"; then
6862 if test x"$enablestring" = xdisable; then
6863 defaultval=yes
6864 else
6865 defaultval=no
6866 fi
6867 fi
6868
6869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6870 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6871 # Check whether --enable-file was given.
6872 if test "${enable_file+set}" = set; then
6873 enableval=$enable_file;
6874 if test "$enableval" = yes; then
6875 wx_cv_use_file='wxUSE_FILE=yes'
6876 else
6877 wx_cv_use_file='wxUSE_FILE=no'
6878 fi
6879
6880 else
6881
6882 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6883
6884 fi
6885
6886
6887 eval "$wx_cv_use_file"
6888
6889 if test x"$enablestring" = xdisable; then
6890 if test $wxUSE_FILE = yes; then
6891 result=no
6892 else
6893 result=yes
6894 fi
6895 else
6896 result=$wxUSE_FILE
6897 fi
6898
6899 { echo "$as_me:$LINENO: result: $result" >&5
6900 echo "${ECHO_T}$result" >&6; }
6901
6902
6903 enablestring=
6904 defaultval=$wxUSE_ALL_FEATURES
6905 if test -z "$defaultval"; then
6906 if test x"$enablestring" = xdisable; then
6907 defaultval=yes
6908 else
6909 defaultval=no
6910 fi
6911 fi
6912
6913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6914 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6915 # Check whether --enable-filesystem was given.
6916 if test "${enable_filesystem+set}" = set; then
6917 enableval=$enable_filesystem;
6918 if test "$enableval" = yes; then
6919 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6920 else
6921 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6922 fi
6923
6924 else
6925
6926 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6927
6928 fi
6929
6930
6931 eval "$wx_cv_use_filesystem"
6932
6933 if test x"$enablestring" = xdisable; then
6934 if test $wxUSE_FILESYSTEM = yes; then
6935 result=no
6936 else
6937 result=yes
6938 fi
6939 else
6940 result=$wxUSE_FILESYSTEM
6941 fi
6942
6943 { echo "$as_me:$LINENO: result: $result" >&5
6944 echo "${ECHO_T}$result" >&6; }
6945
6946
6947 enablestring=
6948 defaultval=$wxUSE_ALL_FEATURES
6949 if test -z "$defaultval"; then
6950 if test x"$enablestring" = xdisable; then
6951 defaultval=yes
6952 else
6953 defaultval=no
6954 fi
6955 fi
6956
6957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6958 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6959 # Check whether --enable-fontenum was given.
6960 if test "${enable_fontenum+set}" = set; then
6961 enableval=$enable_fontenum;
6962 if test "$enableval" = yes; then
6963 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6964 else
6965 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6966 fi
6967
6968 else
6969
6970 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6971
6972 fi
6973
6974
6975 eval "$wx_cv_use_fontenum"
6976
6977 if test x"$enablestring" = xdisable; then
6978 if test $wxUSE_FONTENUM = yes; then
6979 result=no
6980 else
6981 result=yes
6982 fi
6983 else
6984 result=$wxUSE_FONTENUM
6985 fi
6986
6987 { echo "$as_me:$LINENO: result: $result" >&5
6988 echo "${ECHO_T}$result" >&6; }
6989
6990
6991 enablestring=
6992 defaultval=$wxUSE_ALL_FEATURES
6993 if test -z "$defaultval"; then
6994 if test x"$enablestring" = xdisable; then
6995 defaultval=yes
6996 else
6997 defaultval=no
6998 fi
6999 fi
7000
7001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7003 # Check whether --enable-fontmap was given.
7004 if test "${enable_fontmap+set}" = set; then
7005 enableval=$enable_fontmap;
7006 if test "$enableval" = yes; then
7007 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7008 else
7009 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7010 fi
7011
7012 else
7013
7014 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7015
7016 fi
7017
7018
7019 eval "$wx_cv_use_fontmap"
7020
7021 if test x"$enablestring" = xdisable; then
7022 if test $wxUSE_FONTMAP = yes; then
7023 result=no
7024 else
7025 result=yes
7026 fi
7027 else
7028 result=$wxUSE_FONTMAP
7029 fi
7030
7031 { echo "$as_me:$LINENO: result: $result" >&5
7032 echo "${ECHO_T}$result" >&6; }
7033
7034
7035 enablestring=
7036 defaultval=$wxUSE_ALL_FEATURES
7037 if test -z "$defaultval"; then
7038 if test x"$enablestring" = xdisable; then
7039 defaultval=yes
7040 else
7041 defaultval=no
7042 fi
7043 fi
7044
7045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7047 # Check whether --enable-fs_archive was given.
7048 if test "${enable_fs_archive+set}" = set; then
7049 enableval=$enable_fs_archive;
7050 if test "$enableval" = yes; then
7051 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7052 else
7053 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7054 fi
7055
7056 else
7057
7058 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7059
7060 fi
7061
7062
7063 eval "$wx_cv_use_fs_archive"
7064
7065 if test x"$enablestring" = xdisable; then
7066 if test $wxUSE_FS_ARCHIVE = yes; then
7067 result=no
7068 else
7069 result=yes
7070 fi
7071 else
7072 result=$wxUSE_FS_ARCHIVE
7073 fi
7074
7075 { echo "$as_me:$LINENO: result: $result" >&5
7076 echo "${ECHO_T}$result" >&6; }
7077
7078
7079 enablestring=
7080 defaultval=$wxUSE_ALL_FEATURES
7081 if test -z "$defaultval"; then
7082 if test x"$enablestring" = xdisable; then
7083 defaultval=yes
7084 else
7085 defaultval=no
7086 fi
7087 fi
7088
7089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7091 # Check whether --enable-fs_inet was given.
7092 if test "${enable_fs_inet+set}" = set; then
7093 enableval=$enable_fs_inet;
7094 if test "$enableval" = yes; then
7095 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7096 else
7097 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7098 fi
7099
7100 else
7101
7102 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7103
7104 fi
7105
7106
7107 eval "$wx_cv_use_fs_inet"
7108
7109 if test x"$enablestring" = xdisable; then
7110 if test $wxUSE_FS_INET = yes; then
7111 result=no
7112 else
7113 result=yes
7114 fi
7115 else
7116 result=$wxUSE_FS_INET
7117 fi
7118
7119 { echo "$as_me:$LINENO: result: $result" >&5
7120 echo "${ECHO_T}$result" >&6; }
7121
7122
7123 enablestring=
7124 defaultval=$wxUSE_ALL_FEATURES
7125 if test -z "$defaultval"; then
7126 if test x"$enablestring" = xdisable; then
7127 defaultval=yes
7128 else
7129 defaultval=no
7130 fi
7131 fi
7132
7133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7135 # Check whether --enable-fs_zip was given.
7136 if test "${enable_fs_zip+set}" = set; then
7137 enableval=$enable_fs_zip;
7138 if test "$enableval" = yes; then
7139 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7140 else
7141 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7142 fi
7143
7144 else
7145
7146 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7147
7148 fi
7149
7150
7151 eval "$wx_cv_use_fs_zip"
7152
7153 if test x"$enablestring" = xdisable; then
7154 if test $wxUSE_FS_ZIP = yes; then
7155 result=no
7156 else
7157 result=yes
7158 fi
7159 else
7160 result=$wxUSE_FS_ZIP
7161 fi
7162
7163 { echo "$as_me:$LINENO: result: $result" >&5
7164 echo "${ECHO_T}$result" >&6; }
7165
7166
7167 enablestring=
7168 defaultval=$wxUSE_ALL_FEATURES
7169 if test -z "$defaultval"; then
7170 if test x"$enablestring" = xdisable; then
7171 defaultval=yes
7172 else
7173 defaultval=no
7174 fi
7175 fi
7176
7177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7179 # Check whether --enable-geometry was given.
7180 if test "${enable_geometry+set}" = set; then
7181 enableval=$enable_geometry;
7182 if test "$enableval" = yes; then
7183 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7184 else
7185 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7186 fi
7187
7188 else
7189
7190 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7191
7192 fi
7193
7194
7195 eval "$wx_cv_use_geometry"
7196
7197 if test x"$enablestring" = xdisable; then
7198 if test $wxUSE_GEOMETRY = yes; then
7199 result=no
7200 else
7201 result=yes
7202 fi
7203 else
7204 result=$wxUSE_GEOMETRY
7205 fi
7206
7207 { echo "$as_me:$LINENO: result: $result" >&5
7208 echo "${ECHO_T}$result" >&6; }
7209
7210
7211 enablestring=
7212 defaultval=$wxUSE_ALL_FEATURES
7213 if test -z "$defaultval"; then
7214 if test x"$enablestring" = xdisable; then
7215 defaultval=yes
7216 else
7217 defaultval=no
7218 fi
7219 fi
7220
7221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7222 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7223 # Check whether --enable-log was given.
7224 if test "${enable_log+set}" = set; then
7225 enableval=$enable_log;
7226 if test "$enableval" = yes; then
7227 wx_cv_use_log='wxUSE_LOG=yes'
7228 else
7229 wx_cv_use_log='wxUSE_LOG=no'
7230 fi
7231
7232 else
7233
7234 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7235
7236 fi
7237
7238
7239 eval "$wx_cv_use_log"
7240
7241 if test x"$enablestring" = xdisable; then
7242 if test $wxUSE_LOG = yes; then
7243 result=no
7244 else
7245 result=yes
7246 fi
7247 else
7248 result=$wxUSE_LOG
7249 fi
7250
7251 { echo "$as_me:$LINENO: result: $result" >&5
7252 echo "${ECHO_T}$result" >&6; }
7253
7254
7255 enablestring=
7256 defaultval=$wxUSE_ALL_FEATURES
7257 if test -z "$defaultval"; then
7258 if test x"$enablestring" = xdisable; then
7259 defaultval=yes
7260 else
7261 defaultval=no
7262 fi
7263 fi
7264
7265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7266 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7267 # Check whether --enable-longlong was given.
7268 if test "${enable_longlong+set}" = set; then
7269 enableval=$enable_longlong;
7270 if test "$enableval" = yes; then
7271 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7272 else
7273 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7274 fi
7275
7276 else
7277
7278 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7279
7280 fi
7281
7282
7283 eval "$wx_cv_use_longlong"
7284
7285 if test x"$enablestring" = xdisable; then
7286 if test $wxUSE_LONGLONG = yes; then
7287 result=no
7288 else
7289 result=yes
7290 fi
7291 else
7292 result=$wxUSE_LONGLONG
7293 fi
7294
7295 { echo "$as_me:$LINENO: result: $result" >&5
7296 echo "${ECHO_T}$result" >&6; }
7297
7298
7299 enablestring=
7300 defaultval=$wxUSE_ALL_FEATURES
7301 if test -z "$defaultval"; then
7302 if test x"$enablestring" = xdisable; then
7303 defaultval=yes
7304 else
7305 defaultval=no
7306 fi
7307 fi
7308
7309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7310 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7311 # Check whether --enable-mimetype was given.
7312 if test "${enable_mimetype+set}" = set; then
7313 enableval=$enable_mimetype;
7314 if test "$enableval" = yes; then
7315 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7316 else
7317 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7318 fi
7319
7320 else
7321
7322 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7323
7324 fi
7325
7326
7327 eval "$wx_cv_use_mimetype"
7328
7329 if test x"$enablestring" = xdisable; then
7330 if test $wxUSE_MIMETYPE = yes; then
7331 result=no
7332 else
7333 result=yes
7334 fi
7335 else
7336 result=$wxUSE_MIMETYPE
7337 fi
7338
7339 { echo "$as_me:$LINENO: result: $result" >&5
7340 echo "${ECHO_T}$result" >&6; }
7341
7342
7343 enablestring=
7344 defaultval=$wxUSE_ALL_FEATURES
7345 if test -z "$defaultval"; then
7346 if test x"$enablestring" = xdisable; then
7347 defaultval=yes
7348 else
7349 defaultval=no
7350 fi
7351 fi
7352
7353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7354 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7355 # Check whether --enable-printfposparam was given.
7356 if test "${enable_printfposparam+set}" = set; then
7357 enableval=$enable_printfposparam;
7358 if test "$enableval" = yes; then
7359 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7360 else
7361 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7362 fi
7363
7364 else
7365
7366 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7367
7368 fi
7369
7370
7371 eval "$wx_cv_use_printfposparam"
7372
7373 if test x"$enablestring" = xdisable; then
7374 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7375 result=no
7376 else
7377 result=yes
7378 fi
7379 else
7380 result=$wxUSE_PRINTF_POS_PARAMS
7381 fi
7382
7383 { echo "$as_me:$LINENO: result: $result" >&5
7384 echo "${ECHO_T}$result" >&6; }
7385
7386
7387 enablestring=
7388 defaultval=$wxUSE_ALL_FEATURES
7389 if test -z "$defaultval"; then
7390 if test x"$enablestring" = xdisable; then
7391 defaultval=yes
7392 else
7393 defaultval=no
7394 fi
7395 fi
7396
7397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7399 # Check whether --enable-snglinst was given.
7400 if test "${enable_snglinst+set}" = set; then
7401 enableval=$enable_snglinst;
7402 if test "$enableval" = yes; then
7403 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7404 else
7405 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7406 fi
7407
7408 else
7409
7410 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7411
7412 fi
7413
7414
7415 eval "$wx_cv_use_snglinst"
7416
7417 if test x"$enablestring" = xdisable; then
7418 if test $wxUSE_SNGLINST_CHECKER = yes; then
7419 result=no
7420 else
7421 result=yes
7422 fi
7423 else
7424 result=$wxUSE_SNGLINST_CHECKER
7425 fi
7426
7427 { echo "$as_me:$LINENO: result: $result" >&5
7428 echo "${ECHO_T}$result" >&6; }
7429
7430
7431 enablestring=
7432 defaultval=$wxUSE_ALL_FEATURES
7433 if test -z "$defaultval"; then
7434 if test x"$enablestring" = xdisable; then
7435 defaultval=yes
7436 else
7437 defaultval=no
7438 fi
7439 fi
7440
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7443 # Check whether --enable-sound was given.
7444 if test "${enable_sound+set}" = set; then
7445 enableval=$enable_sound;
7446 if test "$enableval" = yes; then
7447 wx_cv_use_sound='wxUSE_SOUND=yes'
7448 else
7449 wx_cv_use_sound='wxUSE_SOUND=no'
7450 fi
7451
7452 else
7453
7454 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7455
7456 fi
7457
7458
7459 eval "$wx_cv_use_sound"
7460
7461 if test x"$enablestring" = xdisable; then
7462 if test $wxUSE_SOUND = yes; then
7463 result=no
7464 else
7465 result=yes
7466 fi
7467 else
7468 result=$wxUSE_SOUND
7469 fi
7470
7471 { echo "$as_me:$LINENO: result: $result" >&5
7472 echo "${ECHO_T}$result" >&6; }
7473
7474
7475 enablestring=
7476 defaultval=$wxUSE_ALL_FEATURES
7477 if test -z "$defaultval"; then
7478 if test x"$enablestring" = xdisable; then
7479 defaultval=yes
7480 else
7481 defaultval=no
7482 fi
7483 fi
7484
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7487 # Check whether --enable-stdpaths was given.
7488 if test "${enable_stdpaths+set}" = set; then
7489 enableval=$enable_stdpaths;
7490 if test "$enableval" = yes; then
7491 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7492 else
7493 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7494 fi
7495
7496 else
7497
7498 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7499
7500 fi
7501
7502
7503 eval "$wx_cv_use_stdpaths"
7504
7505 if test x"$enablestring" = xdisable; then
7506 if test $wxUSE_STDPATHS = yes; then
7507 result=no
7508 else
7509 result=yes
7510 fi
7511 else
7512 result=$wxUSE_STDPATHS
7513 fi
7514
7515 { echo "$as_me:$LINENO: result: $result" >&5
7516 echo "${ECHO_T}$result" >&6; }
7517
7518
7519 enablestring=
7520 defaultval=$wxUSE_ALL_FEATURES
7521 if test -z "$defaultval"; then
7522 if test x"$enablestring" = xdisable; then
7523 defaultval=yes
7524 else
7525 defaultval=no
7526 fi
7527 fi
7528
7529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7531 # Check whether --enable-stopwatch was given.
7532 if test "${enable_stopwatch+set}" = set; then
7533 enableval=$enable_stopwatch;
7534 if test "$enableval" = yes; then
7535 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7536 else
7537 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7538 fi
7539
7540 else
7541
7542 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7543
7544 fi
7545
7546
7547 eval "$wx_cv_use_stopwatch"
7548
7549 if test x"$enablestring" = xdisable; then
7550 if test $wxUSE_STOPWATCH = yes; then
7551 result=no
7552 else
7553 result=yes
7554 fi
7555 else
7556 result=$wxUSE_STOPWATCH
7557 fi
7558
7559 { echo "$as_me:$LINENO: result: $result" >&5
7560 echo "${ECHO_T}$result" >&6; }
7561
7562
7563 enablestring=
7564 defaultval=$wxUSE_ALL_FEATURES
7565 if test -z "$defaultval"; then
7566 if test x"$enablestring" = xdisable; then
7567 defaultval=yes
7568 else
7569 defaultval=no
7570 fi
7571 fi
7572
7573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7574 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7575 # Check whether --enable-streams was given.
7576 if test "${enable_streams+set}" = set; then
7577 enableval=$enable_streams;
7578 if test "$enableval" = yes; then
7579 wx_cv_use_streams='wxUSE_STREAMS=yes'
7580 else
7581 wx_cv_use_streams='wxUSE_STREAMS=no'
7582 fi
7583
7584 else
7585
7586 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7587
7588 fi
7589
7590
7591 eval "$wx_cv_use_streams"
7592
7593 if test x"$enablestring" = xdisable; then
7594 if test $wxUSE_STREAMS = yes; then
7595 result=no
7596 else
7597 result=yes
7598 fi
7599 else
7600 result=$wxUSE_STREAMS
7601 fi
7602
7603 { echo "$as_me:$LINENO: result: $result" >&5
7604 echo "${ECHO_T}$result" >&6; }
7605
7606
7607 enablestring=
7608 defaultval=$wxUSE_ALL_FEATURES
7609 if test -z "$defaultval"; then
7610 if test x"$enablestring" = xdisable; then
7611 defaultval=yes
7612 else
7613 defaultval=no
7614 fi
7615 fi
7616
7617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7619 # Check whether --enable-system_options was given.
7620 if test "${enable_system_options+set}" = set; then
7621 enableval=$enable_system_options;
7622 if test "$enableval" = yes; then
7623 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7624 else
7625 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7626 fi
7627
7628 else
7629
7630 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7631
7632 fi
7633
7634
7635 eval "$wx_cv_use_system_options"
7636
7637 if test x"$enablestring" = xdisable; then
7638 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7639 result=no
7640 else
7641 result=yes
7642 fi
7643 else
7644 result=$wxUSE_SYSTEM_OPTIONS
7645 fi
7646
7647 { echo "$as_me:$LINENO: result: $result" >&5
7648 echo "${ECHO_T}$result" >&6; }
7649
7650
7651 enablestring=
7652 defaultval=$wxUSE_ALL_FEATURES
7653 if test -z "$defaultval"; then
7654 if test x"$enablestring" = xdisable; then
7655 defaultval=yes
7656 else
7657 defaultval=no
7658 fi
7659 fi
7660
7661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7663 # Check whether --enable-tarstream was given.
7664 if test "${enable_tarstream+set}" = set; then
7665 enableval=$enable_tarstream;
7666 if test "$enableval" = yes; then
7667 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7668 else
7669 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7670 fi
7671
7672 else
7673
7674 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7675
7676 fi
7677
7678
7679 eval "$wx_cv_use_tarstream"
7680
7681 if test x"$enablestring" = xdisable; then
7682 if test $wxUSE_TARSTREAM = yes; then
7683 result=no
7684 else
7685 result=yes
7686 fi
7687 else
7688 result=$wxUSE_TARSTREAM
7689 fi
7690
7691 { echo "$as_me:$LINENO: result: $result" >&5
7692 echo "${ECHO_T}$result" >&6; }
7693
7694
7695 enablestring=
7696 defaultval=$wxUSE_ALL_FEATURES
7697 if test -z "$defaultval"; then
7698 if test x"$enablestring" = xdisable; then
7699 defaultval=yes
7700 else
7701 defaultval=no
7702 fi
7703 fi
7704
7705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7707 # Check whether --enable-textbuf was given.
7708 if test "${enable_textbuf+set}" = set; then
7709 enableval=$enable_textbuf;
7710 if test "$enableval" = yes; then
7711 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7712 else
7713 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7714 fi
7715
7716 else
7717
7718 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7719
7720 fi
7721
7722
7723 eval "$wx_cv_use_textbuf"
7724
7725 if test x"$enablestring" = xdisable; then
7726 if test $wxUSE_TEXTBUFFER = yes; then
7727 result=no
7728 else
7729 result=yes
7730 fi
7731 else
7732 result=$wxUSE_TEXTBUFFER
7733 fi
7734
7735 { echo "$as_me:$LINENO: result: $result" >&5
7736 echo "${ECHO_T}$result" >&6; }
7737
7738
7739 enablestring=
7740 defaultval=$wxUSE_ALL_FEATURES
7741 if test -z "$defaultval"; then
7742 if test x"$enablestring" = xdisable; then
7743 defaultval=yes
7744 else
7745 defaultval=no
7746 fi
7747 fi
7748
7749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7751 # Check whether --enable-textfile was given.
7752 if test "${enable_textfile+set}" = set; then
7753 enableval=$enable_textfile;
7754 if test "$enableval" = yes; then
7755 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7756 else
7757 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7758 fi
7759
7760 else
7761
7762 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7763
7764 fi
7765
7766
7767 eval "$wx_cv_use_textfile"
7768
7769 if test x"$enablestring" = xdisable; then
7770 if test $wxUSE_TEXTFILE = yes; then
7771 result=no
7772 else
7773 result=yes
7774 fi
7775 else
7776 result=$wxUSE_TEXTFILE
7777 fi
7778
7779 { echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6; }
7781
7782
7783 enablestring=
7784 defaultval=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x"$enablestring" = xdisable; then
7787 defaultval=yes
7788 else
7789 defaultval=no
7790 fi
7791 fi
7792
7793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7795 # Check whether --enable-timer was given.
7796 if test "${enable_timer+set}" = set; then
7797 enableval=$enable_timer;
7798 if test "$enableval" = yes; then
7799 wx_cv_use_timer='wxUSE_TIMER=yes'
7800 else
7801 wx_cv_use_timer='wxUSE_TIMER=no'
7802 fi
7803
7804 else
7805
7806 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7807
7808 fi
7809
7810
7811 eval "$wx_cv_use_timer"
7812
7813 if test x"$enablestring" = xdisable; then
7814 if test $wxUSE_TIMER = yes; then
7815 result=no
7816 else
7817 result=yes
7818 fi
7819 else
7820 result=$wxUSE_TIMER
7821 fi
7822
7823 { echo "$as_me:$LINENO: result: $result" >&5
7824 echo "${ECHO_T}$result" >&6; }
7825
7826
7827 enablestring=
7828 defaultval=$wxUSE_ALL_FEATURES
7829 if test -z "$defaultval"; then
7830 if test x"$enablestring" = xdisable; then
7831 defaultval=yes
7832 else
7833 defaultval=no
7834 fi
7835 fi
7836
7837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7839 # Check whether --enable-variant was given.
7840 if test "${enable_variant+set}" = set; then
7841 enableval=$enable_variant;
7842 if test "$enableval" = yes; then
7843 wx_cv_use_variant='wxUSE_VARIANT=yes'
7844 else
7845 wx_cv_use_variant='wxUSE_VARIANT=no'
7846 fi
7847
7848 else
7849
7850 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7851
7852 fi
7853
7854
7855 eval "$wx_cv_use_variant"
7856
7857 if test x"$enablestring" = xdisable; then
7858 if test $wxUSE_VARIANT = yes; then
7859 result=no
7860 else
7861 result=yes
7862 fi
7863 else
7864 result=$wxUSE_VARIANT
7865 fi
7866
7867 { echo "$as_me:$LINENO: result: $result" >&5
7868 echo "${ECHO_T}$result" >&6; }
7869
7870
7871 enablestring=
7872 defaultval=$wxUSE_ALL_FEATURES
7873 if test -z "$defaultval"; then
7874 if test x"$enablestring" = xdisable; then
7875 defaultval=yes
7876 else
7877 defaultval=no
7878 fi
7879 fi
7880
7881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7883 # Check whether --enable-zipstream was given.
7884 if test "${enable_zipstream+set}" = set; then
7885 enableval=$enable_zipstream;
7886 if test "$enableval" = yes; then
7887 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7888 else
7889 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7890 fi
7891
7892 else
7893
7894 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7895
7896 fi
7897
7898
7899 eval "$wx_cv_use_zipstream"
7900
7901 if test x"$enablestring" = xdisable; then
7902 if test $wxUSE_ZIPSTREAM = yes; then
7903 result=no
7904 else
7905 result=yes
7906 fi
7907 else
7908 result=$wxUSE_ZIPSTREAM
7909 fi
7910
7911 { echo "$as_me:$LINENO: result: $result" >&5
7912 echo "${ECHO_T}$result" >&6; }
7913
7914
7915
7916 enablestring=
7917 defaultval=$wxUSE_ALL_FEATURES
7918 if test -z "$defaultval"; then
7919 if test x"$enablestring" = xdisable; then
7920 defaultval=yes
7921 else
7922 defaultval=no
7923 fi
7924 fi
7925
7926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7928 # Check whether --enable-url was given.
7929 if test "${enable_url+set}" = set; then
7930 enableval=$enable_url;
7931 if test "$enableval" = yes; then
7932 wx_cv_use_url='wxUSE_URL=yes'
7933 else
7934 wx_cv_use_url='wxUSE_URL=no'
7935 fi
7936
7937 else
7938
7939 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7940
7941 fi
7942
7943
7944 eval "$wx_cv_use_url"
7945
7946 if test x"$enablestring" = xdisable; then
7947 if test $wxUSE_URL = yes; then
7948 result=no
7949 else
7950 result=yes
7951 fi
7952 else
7953 result=$wxUSE_URL
7954 fi
7955
7956 { echo "$as_me:$LINENO: result: $result" >&5
7957 echo "${ECHO_T}$result" >&6; }
7958
7959
7960 enablestring=
7961 defaultval=$wxUSE_ALL_FEATURES
7962 if test -z "$defaultval"; then
7963 if test x"$enablestring" = xdisable; then
7964 defaultval=yes
7965 else
7966 defaultval=no
7967 fi
7968 fi
7969
7970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7971 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7972 # Check whether --enable-protocol was given.
7973 if test "${enable_protocol+set}" = set; then
7974 enableval=$enable_protocol;
7975 if test "$enableval" = yes; then
7976 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7977 else
7978 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7979 fi
7980
7981 else
7982
7983 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7984
7985 fi
7986
7987
7988 eval "$wx_cv_use_protocol"
7989
7990 if test x"$enablestring" = xdisable; then
7991 if test $wxUSE_PROTOCOL = yes; then
7992 result=no
7993 else
7994 result=yes
7995 fi
7996 else
7997 result=$wxUSE_PROTOCOL
7998 fi
7999
8000 { echo "$as_me:$LINENO: result: $result" >&5
8001 echo "${ECHO_T}$result" >&6; }
8002
8003
8004 enablestring=
8005 defaultval=$wxUSE_ALL_FEATURES
8006 if test -z "$defaultval"; then
8007 if test x"$enablestring" = xdisable; then
8008 defaultval=yes
8009 else
8010 defaultval=no
8011 fi
8012 fi
8013
8014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8016 # Check whether --enable-protocol_http was given.
8017 if test "${enable_protocol_http+set}" = set; then
8018 enableval=$enable_protocol_http;
8019 if test "$enableval" = yes; then
8020 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8021 else
8022 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8023 fi
8024
8025 else
8026
8027 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8028
8029 fi
8030
8031
8032 eval "$wx_cv_use_protocol_http"
8033
8034 if test x"$enablestring" = xdisable; then
8035 if test $wxUSE_PROTOCOL_HTTP = yes; then
8036 result=no
8037 else
8038 result=yes
8039 fi
8040 else
8041 result=$wxUSE_PROTOCOL_HTTP
8042 fi
8043
8044 { echo "$as_me:$LINENO: result: $result" >&5
8045 echo "${ECHO_T}$result" >&6; }
8046
8047
8048 enablestring=
8049 defaultval=$wxUSE_ALL_FEATURES
8050 if test -z "$defaultval"; then
8051 if test x"$enablestring" = xdisable; then
8052 defaultval=yes
8053 else
8054 defaultval=no
8055 fi
8056 fi
8057
8058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8060 # Check whether --enable-protocol_ftp was given.
8061 if test "${enable_protocol_ftp+set}" = set; then
8062 enableval=$enable_protocol_ftp;
8063 if test "$enableval" = yes; then
8064 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8065 else
8066 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8067 fi
8068
8069 else
8070
8071 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8072
8073 fi
8074
8075
8076 eval "$wx_cv_use_protocol_ftp"
8077
8078 if test x"$enablestring" = xdisable; then
8079 if test $wxUSE_PROTOCOL_FTP = yes; then
8080 result=no
8081 else
8082 result=yes
8083 fi
8084 else
8085 result=$wxUSE_PROTOCOL_FTP
8086 fi
8087
8088 { echo "$as_me:$LINENO: result: $result" >&5
8089 echo "${ECHO_T}$result" >&6; }
8090
8091
8092 enablestring=
8093 defaultval=$wxUSE_ALL_FEATURES
8094 if test -z "$defaultval"; then
8095 if test x"$enablestring" = xdisable; then
8096 defaultval=yes
8097 else
8098 defaultval=no
8099 fi
8100 fi
8101
8102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8104 # Check whether --enable-protocol_file was given.
8105 if test "${enable_protocol_file+set}" = set; then
8106 enableval=$enable_protocol_file;
8107 if test "$enableval" = yes; then
8108 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8109 else
8110 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8111 fi
8112
8113 else
8114
8115 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8116
8117 fi
8118
8119
8120 eval "$wx_cv_use_protocol_file"
8121
8122 if test x"$enablestring" = xdisable; then
8123 if test $wxUSE_PROTOCOL_FILE = yes; then
8124 result=no
8125 else
8126 result=yes
8127 fi
8128 else
8129 result=$wxUSE_PROTOCOL_FILE
8130 fi
8131
8132 { echo "$as_me:$LINENO: result: $result" >&5
8133 echo "${ECHO_T}$result" >&6; }
8134
8135
8136
8137 enablestring=
8138 defaultval=$wxUSE_ALL_FEATURES
8139 if test -z "$defaultval"; then
8140 if test x"$enablestring" = xdisable; then
8141 defaultval=yes
8142 else
8143 defaultval=no
8144 fi
8145 fi
8146
8147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8148 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8149 # Check whether --enable-threads was given.
8150 if test "${enable_threads+set}" = set; then
8151 enableval=$enable_threads;
8152 if test "$enableval" = yes; then
8153 wx_cv_use_threads='wxUSE_THREADS=yes'
8154 else
8155 wx_cv_use_threads='wxUSE_THREADS=no'
8156 fi
8157
8158 else
8159
8160 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8161
8162 fi
8163
8164
8165 eval "$wx_cv_use_threads"
8166
8167 if test x"$enablestring" = xdisable; then
8168 if test $wxUSE_THREADS = yes; then
8169 result=no
8170 else
8171 result=yes
8172 fi
8173 else
8174 result=$wxUSE_THREADS
8175 fi
8176
8177 { echo "$as_me:$LINENO: result: $result" >&5
8178 echo "${ECHO_T}$result" >&6; }
8179
8180
8181
8182 enablestring=
8183 defaultval=
8184 if test -z "$defaultval"; then
8185 if test x"$enablestring" = xdisable; then
8186 defaultval=yes
8187 else
8188 defaultval=no
8189 fi
8190 fi
8191
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8194 # Check whether --enable-iniconf was given.
8195 if test "${enable_iniconf+set}" = set; then
8196 enableval=$enable_iniconf;
8197 if test "$enableval" = yes; then
8198 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8199 else
8200 wx_cv_use_iniconf='wxUSE_INICONF=no'
8201 fi
8202
8203 else
8204
8205 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8206
8207 fi
8208
8209
8210 eval "$wx_cv_use_iniconf"
8211
8212 if test x"$enablestring" = xdisable; then
8213 if test $wxUSE_INICONF = yes; then
8214 result=no
8215 else
8216 result=yes
8217 fi
8218 else
8219 result=$wxUSE_INICONF
8220 fi
8221
8222 { echo "$as_me:$LINENO: result: $result" >&5
8223 echo "${ECHO_T}$result" >&6; }
8224
8225
8226 enablestring=
8227 defaultval=$wxUSE_ALL_FEATURES
8228 if test -z "$defaultval"; then
8229 if test x"$enablestring" = xdisable; then
8230 defaultval=yes
8231 else
8232 defaultval=no
8233 fi
8234 fi
8235
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8238 # Check whether --enable-regkey was given.
8239 if test "${enable_regkey+set}" = set; then
8240 enableval=$enable_regkey;
8241 if test "$enableval" = yes; then
8242 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8243 else
8244 wx_cv_use_regkey='wxUSE_REGKEY=no'
8245 fi
8246
8247 else
8248
8249 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8250
8251 fi
8252
8253
8254 eval "$wx_cv_use_regkey"
8255
8256 if test x"$enablestring" = xdisable; then
8257 if test $wxUSE_REGKEY = yes; then
8258 result=no
8259 else
8260 result=yes
8261 fi
8262 else
8263 result=$wxUSE_REGKEY
8264 fi
8265
8266 { echo "$as_me:$LINENO: result: $result" >&5
8267 echo "${ECHO_T}$result" >&6; }
8268
8269
8270 if test "$wxUSE_GUI" = "yes"; then
8271
8272
8273
8274 enablestring=
8275 defaultval=$wxUSE_ALL_FEATURES
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8278 defaultval=yes
8279 else
8280 defaultval=no
8281 fi
8282 fi
8283
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8286 # Check whether --enable-docview was given.
8287 if test "${enable_docview+set}" = set; then
8288 enableval=$enable_docview;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8291 else
8292 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8293 fi
8294
8295 else
8296
8297 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8298
8299 fi
8300
8301
8302 eval "$wx_cv_use_docview"
8303
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8306 result=no
8307 else
8308 result=yes
8309 fi
8310 else
8311 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8312 fi
8313
8314 { echo "$as_me:$LINENO: result: $result" >&5
8315 echo "${ECHO_T}$result" >&6; }
8316
8317
8318 enablestring=
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8322 defaultval=yes
8323 else
8324 defaultval=no
8325 fi
8326 fi
8327
8328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8330 # Check whether --enable-help was given.
8331 if test "${enable_help+set}" = set; then
8332 enableval=$enable_help;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_help='wxUSE_HELP=yes'
8335 else
8336 wx_cv_use_help='wxUSE_HELP=no'
8337 fi
8338
8339 else
8340
8341 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8342
8343 fi
8344
8345
8346 eval "$wx_cv_use_help"
8347
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_HELP = yes; then
8350 result=no
8351 else
8352 result=yes
8353 fi
8354 else
8355 result=$wxUSE_HELP
8356 fi
8357
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8360
8361
8362 enablestring=
8363 defaultval=$wxUSE_ALL_FEATURES
8364 if test -z "$defaultval"; then
8365 if test x"$enablestring" = xdisable; then
8366 defaultval=yes
8367 else
8368 defaultval=no
8369 fi
8370 fi
8371
8372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8374 # Check whether --enable-mshtmlhelp was given.
8375 if test "${enable_mshtmlhelp+set}" = set; then
8376 enableval=$enable_mshtmlhelp;
8377 if test "$enableval" = yes; then
8378 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8379 else
8380 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8381 fi
8382
8383 else
8384
8385 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8386
8387 fi
8388
8389
8390 eval "$wx_cv_use_mshtmlhelp"
8391
8392 if test x"$enablestring" = xdisable; then
8393 if test $wxUSE_MS_HTML_HELP = yes; then
8394 result=no
8395 else
8396 result=yes
8397 fi
8398 else
8399 result=$wxUSE_MS_HTML_HELP
8400 fi
8401
8402 { echo "$as_me:$LINENO: result: $result" >&5
8403 echo "${ECHO_T}$result" >&6; }
8404
8405
8406 enablestring=
8407 defaultval=$wxUSE_ALL_FEATURES
8408 if test -z "$defaultval"; then
8409 if test x"$enablestring" = xdisable; then
8410 defaultval=yes
8411 else
8412 defaultval=no
8413 fi
8414 fi
8415
8416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8417 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8418 # Check whether --enable-html was given.
8419 if test "${enable_html+set}" = set; then
8420 enableval=$enable_html;
8421 if test "$enableval" = yes; then
8422 wx_cv_use_html='wxUSE_HTML=yes'
8423 else
8424 wx_cv_use_html='wxUSE_HTML=no'
8425 fi
8426
8427 else
8428
8429 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8430
8431 fi
8432
8433
8434 eval "$wx_cv_use_html"
8435
8436 if test x"$enablestring" = xdisable; then
8437 if test $wxUSE_HTML = yes; then
8438 result=no
8439 else
8440 result=yes
8441 fi
8442 else
8443 result=$wxUSE_HTML
8444 fi
8445
8446 { echo "$as_me:$LINENO: result: $result" >&5
8447 echo "${ECHO_T}$result" >&6; }
8448
8449
8450 enablestring=
8451 defaultval=$wxUSE_ALL_FEATURES
8452 if test -z "$defaultval"; then
8453 if test x"$enablestring" = xdisable; then
8454 defaultval=yes
8455 else
8456 defaultval=no
8457 fi
8458 fi
8459
8460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8461 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8462 # Check whether --enable-htmlhelp was given.
8463 if test "${enable_htmlhelp+set}" = set; then
8464 enableval=$enable_htmlhelp;
8465 if test "$enableval" = yes; then
8466 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8467 else
8468 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8469 fi
8470
8471 else
8472
8473 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8474
8475 fi
8476
8477
8478 eval "$wx_cv_use_htmlhelp"
8479
8480 if test x"$enablestring" = xdisable; then
8481 if test $wxUSE_WXHTML_HELP = yes; then
8482 result=no
8483 else
8484 result=yes
8485 fi
8486 else
8487 result=$wxUSE_WXHTML_HELP
8488 fi
8489
8490 { echo "$as_me:$LINENO: result: $result" >&5
8491 echo "${ECHO_T}$result" >&6; }
8492
8493
8494 enablestring=
8495 defaultval=$wxUSE_ALL_FEATURES
8496 if test -z "$defaultval"; then
8497 if test x"$enablestring" = xdisable; then
8498 defaultval=yes
8499 else
8500 defaultval=no
8501 fi
8502 fi
8503
8504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8505 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8506 # Check whether --enable-xrc was given.
8507 if test "${enable_xrc+set}" = set; then
8508 enableval=$enable_xrc;
8509 if test "$enableval" = yes; then
8510 wx_cv_use_xrc='wxUSE_XRC=yes'
8511 else
8512 wx_cv_use_xrc='wxUSE_XRC=no'
8513 fi
8514
8515 else
8516
8517 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8518
8519 fi
8520
8521
8522 eval "$wx_cv_use_xrc"
8523
8524 if test x"$enablestring" = xdisable; then
8525 if test $wxUSE_XRC = yes; then
8526 result=no
8527 else
8528 result=yes
8529 fi
8530 else
8531 result=$wxUSE_XRC
8532 fi
8533
8534 { echo "$as_me:$LINENO: result: $result" >&5
8535 echo "${ECHO_T}$result" >&6; }
8536
8537
8538 enablestring=
8539 defaultval=$wxUSE_ALL_FEATURES
8540 if test -z "$defaultval"; then
8541 if test x"$enablestring" = xdisable; then
8542 defaultval=yes
8543 else
8544 defaultval=no
8545 fi
8546 fi
8547
8548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8549 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8550 # Check whether --enable-aui was given.
8551 if test "${enable_aui+set}" = set; then
8552 enableval=$enable_aui;
8553 if test "$enableval" = yes; then
8554 wx_cv_use_aui='wxUSE_AUI=yes'
8555 else
8556 wx_cv_use_aui='wxUSE_AUI=no'
8557 fi
8558
8559 else
8560
8561 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8562
8563 fi
8564
8565
8566 eval "$wx_cv_use_aui"
8567
8568 if test x"$enablestring" = xdisable; then
8569 if test $wxUSE_AUI = yes; then
8570 result=no
8571 else
8572 result=yes
8573 fi
8574 else
8575 result=$wxUSE_AUI
8576 fi
8577
8578 { echo "$as_me:$LINENO: result: $result" >&5
8579 echo "${ECHO_T}$result" >&6; }
8580
8581
8582 enablestring=
8583 defaultval=$wxUSE_ALL_FEATURES
8584 if test -z "$defaultval"; then
8585 if test x"$enablestring" = xdisable; then
8586 defaultval=yes
8587 else
8588 defaultval=no
8589 fi
8590 fi
8591
8592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8594 # Check whether --enable-propgrid was given.
8595 if test "${enable_propgrid+set}" = set; then
8596 enableval=$enable_propgrid;
8597 if test "$enableval" = yes; then
8598 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8599 else
8600 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8601 fi
8602
8603 else
8604
8605 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8606
8607 fi
8608
8609
8610 eval "$wx_cv_use_propgrid"
8611
8612 if test x"$enablestring" = xdisable; then
8613 if test $wxUSE_PROPGRID = yes; then
8614 result=no
8615 else
8616 result=yes
8617 fi
8618 else
8619 result=$wxUSE_PROPGRID
8620 fi
8621
8622 { echo "$as_me:$LINENO: result: $result" >&5
8623 echo "${ECHO_T}$result" >&6; }
8624
8625
8626 enablestring=
8627 defaultval=$wxUSE_ALL_FEATURES
8628 if test -z "$defaultval"; then
8629 if test x"$enablestring" = xdisable; then
8630 defaultval=yes
8631 else
8632 defaultval=no
8633 fi
8634 fi
8635
8636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8637 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8638 # Check whether --enable-stc was given.
8639 if test "${enable_stc+set}" = set; then
8640 enableval=$enable_stc;
8641 if test "$enableval" = yes; then
8642 wx_cv_use_stc='wxUSE_STC=yes'
8643 else
8644 wx_cv_use_stc='wxUSE_STC=no'
8645 fi
8646
8647 else
8648
8649 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8650
8651 fi
8652
8653
8654 eval "$wx_cv_use_stc"
8655
8656 if test x"$enablestring" = xdisable; then
8657 if test $wxUSE_STC = yes; then
8658 result=no
8659 else
8660 result=yes
8661 fi
8662 else
8663 result=$wxUSE_STC
8664 fi
8665
8666 { echo "$as_me:$LINENO: result: $result" >&5
8667 echo "${ECHO_T}$result" >&6; }
8668
8669
8670 enablestring=
8671 defaultval=$wxUSE_ALL_FEATURES
8672 if test -z "$defaultval"; then
8673 if test x"$enablestring" = xdisable; then
8674 defaultval=yes
8675 else
8676 defaultval=no
8677 fi
8678 fi
8679
8680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8681 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8682 # Check whether --enable-constraints was given.
8683 if test "${enable_constraints+set}" = set; then
8684 enableval=$enable_constraints;
8685 if test "$enableval" = yes; then
8686 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8687 else
8688 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8689 fi
8690
8691 else
8692
8693 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8694
8695 fi
8696
8697
8698 eval "$wx_cv_use_constraints"
8699
8700 if test x"$enablestring" = xdisable; then
8701 if test $wxUSE_CONSTRAINTS = yes; then
8702 result=no
8703 else
8704 result=yes
8705 fi
8706 else
8707 result=$wxUSE_CONSTRAINTS
8708 fi
8709
8710 { echo "$as_me:$LINENO: result: $result" >&5
8711 echo "${ECHO_T}$result" >&6; }
8712
8713
8714 enablestring=
8715 defaultval=$wxUSE_ALL_FEATURES
8716 if test -z "$defaultval"; then
8717 if test x"$enablestring" = xdisable; then
8718 defaultval=yes
8719 else
8720 defaultval=no
8721 fi
8722 fi
8723
8724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8725 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8726 # Check whether --enable-loggui was given.
8727 if test "${enable_loggui+set}" = set; then
8728 enableval=$enable_loggui;
8729 if test "$enableval" = yes; then
8730 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8731 else
8732 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8733 fi
8734
8735 else
8736
8737 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8738
8739 fi
8740
8741
8742 eval "$wx_cv_use_loggui"
8743
8744 if test x"$enablestring" = xdisable; then
8745 if test $wxUSE_LOGGUI = yes; then
8746 result=no
8747 else
8748 result=yes
8749 fi
8750 else
8751 result=$wxUSE_LOGGUI
8752 fi
8753
8754 { echo "$as_me:$LINENO: result: $result" >&5
8755 echo "${ECHO_T}$result" >&6; }
8756
8757
8758 enablestring=
8759 defaultval=$wxUSE_ALL_FEATURES
8760 if test -z "$defaultval"; then
8761 if test x"$enablestring" = xdisable; then
8762 defaultval=yes
8763 else
8764 defaultval=no
8765 fi
8766 fi
8767
8768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8770 # Check whether --enable-logwin was given.
8771 if test "${enable_logwin+set}" = set; then
8772 enableval=$enable_logwin;
8773 if test "$enableval" = yes; then
8774 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8775 else
8776 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8777 fi
8778
8779 else
8780
8781 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8782
8783 fi
8784
8785
8786 eval "$wx_cv_use_logwin"
8787
8788 if test x"$enablestring" = xdisable; then
8789 if test $wxUSE_LOGWINDOW = yes; then
8790 result=no
8791 else
8792 result=yes
8793 fi
8794 else
8795 result=$wxUSE_LOGWINDOW
8796 fi
8797
8798 { echo "$as_me:$LINENO: result: $result" >&5
8799 echo "${ECHO_T}$result" >&6; }
8800
8801
8802 enablestring=
8803 defaultval=$wxUSE_ALL_FEATURES
8804 if test -z "$defaultval"; then
8805 if test x"$enablestring" = xdisable; then
8806 defaultval=yes
8807 else
8808 defaultval=no
8809 fi
8810 fi
8811
8812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8814 # Check whether --enable-logdialog was given.
8815 if test "${enable_logdialog+set}" = set; then
8816 enableval=$enable_logdialog;
8817 if test "$enableval" = yes; then
8818 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8819 else
8820 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8821 fi
8822
8823 else
8824
8825 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8826
8827 fi
8828
8829
8830 eval "$wx_cv_use_logdialog"
8831
8832 if test x"$enablestring" = xdisable; then
8833 if test $wxUSE_LOGDIALOG = yes; then
8834 result=no
8835 else
8836 result=yes
8837 fi
8838 else
8839 result=$wxUSE_LOGDIALOG
8840 fi
8841
8842 { echo "$as_me:$LINENO: result: $result" >&5
8843 echo "${ECHO_T}$result" >&6; }
8844
8845
8846 enablestring=
8847 defaultval=$wxUSE_ALL_FEATURES
8848 if test -z "$defaultval"; then
8849 if test x"$enablestring" = xdisable; then
8850 defaultval=yes
8851 else
8852 defaultval=no
8853 fi
8854 fi
8855
8856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8858 # Check whether --enable-mdi was given.
8859 if test "${enable_mdi+set}" = set; then
8860 enableval=$enable_mdi;
8861 if test "$enableval" = yes; then
8862 wx_cv_use_mdi='wxUSE_MDI=yes'
8863 else
8864 wx_cv_use_mdi='wxUSE_MDI=no'
8865 fi
8866
8867 else
8868
8869 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8870
8871 fi
8872
8873
8874 eval "$wx_cv_use_mdi"
8875
8876 if test x"$enablestring" = xdisable; then
8877 if test $wxUSE_MDI = yes; then
8878 result=no
8879 else
8880 result=yes
8881 fi
8882 else
8883 result=$wxUSE_MDI
8884 fi
8885
8886 { echo "$as_me:$LINENO: result: $result" >&5
8887 echo "${ECHO_T}$result" >&6; }
8888
8889
8890 enablestring=
8891 defaultval=$wxUSE_ALL_FEATURES
8892 if test -z "$defaultval"; then
8893 if test x"$enablestring" = xdisable; then
8894 defaultval=yes
8895 else
8896 defaultval=no
8897 fi
8898 fi
8899
8900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8902 # Check whether --enable-mdidoc was given.
8903 if test "${enable_mdidoc+set}" = set; then
8904 enableval=$enable_mdidoc;
8905 if test "$enableval" = yes; then
8906 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8907 else
8908 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8909 fi
8910
8911 else
8912
8913 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8914
8915 fi
8916
8917
8918 eval "$wx_cv_use_mdidoc"
8919
8920 if test x"$enablestring" = xdisable; then
8921 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8922 result=no
8923 else
8924 result=yes
8925 fi
8926 else
8927 result=$wxUSE_MDI_ARCHITECTURE
8928 fi
8929
8930 { echo "$as_me:$LINENO: result: $result" >&5
8931 echo "${ECHO_T}$result" >&6; }
8932
8933
8934 enablestring=
8935 defaultval=$wxUSE_ALL_FEATURES
8936 if test -z "$defaultval"; then
8937 if test x"$enablestring" = xdisable; then
8938 defaultval=yes
8939 else
8940 defaultval=no
8941 fi
8942 fi
8943
8944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8946 # Check whether --enable-mediactrl was given.
8947 if test "${enable_mediactrl+set}" = set; then
8948 enableval=$enable_mediactrl;
8949 if test "$enableval" = yes; then
8950 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8951 else
8952 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8953 fi
8954
8955 else
8956
8957 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8958
8959 fi
8960
8961
8962 eval "$wx_cv_use_mediactrl"
8963
8964 if test x"$enablestring" = xdisable; then
8965 if test $wxUSE_MEDIACTRL = yes; then
8966 result=no
8967 else
8968 result=yes
8969 fi
8970 else
8971 result=$wxUSE_MEDIACTRL
8972 fi
8973
8974 { echo "$as_me:$LINENO: result: $result" >&5
8975 echo "${ECHO_T}$result" >&6; }
8976
8977
8978 enablestring=
8979 defaultval=$wxUSE_ALL_FEATURES
8980 if test -z "$defaultval"; then
8981 if test x"$enablestring" = xdisable; then
8982 defaultval=yes
8983 else
8984 defaultval=no
8985 fi
8986 fi
8987
8988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8989 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8990 # Check whether --enable-gstreamer8 was given.
8991 if test "${enable_gstreamer8+set}" = set; then
8992 enableval=$enable_gstreamer8;
8993 if test "$enableval" = yes; then
8994 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8995 else
8996 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8997 fi
8998
8999 else
9000
9001 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9002
9003 fi
9004
9005
9006 eval "$wx_cv_use_gstreamer8"
9007
9008 if test x"$enablestring" = xdisable; then
9009 if test $wxUSE_GSTREAMER8 = yes; then
9010 result=no
9011 else
9012 result=yes
9013 fi
9014 else
9015 result=$wxUSE_GSTREAMER8
9016 fi
9017
9018 { echo "$as_me:$LINENO: result: $result" >&5
9019 echo "${ECHO_T}$result" >&6; }
9020
9021
9022 enablestring=
9023 defaultval=$wxUSE_ALL_FEATURES
9024 if test -z "$defaultval"; then
9025 if test x"$enablestring" = xdisable; then
9026 defaultval=yes
9027 else
9028 defaultval=no
9029 fi
9030 fi
9031
9032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9033 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9034 # Check whether --enable-webkit was given.
9035 if test "${enable_webkit+set}" = set; then
9036 enableval=$enable_webkit;
9037 if test "$enableval" = yes; then
9038 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9039 else
9040 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9041 fi
9042
9043 else
9044
9045 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9046
9047 fi
9048
9049
9050 eval "$wx_cv_use_webkit"
9051
9052 if test x"$enablestring" = xdisable; then
9053 if test $wxUSE_WEBKIT = yes; then
9054 result=no
9055 else
9056 result=yes
9057 fi
9058 else
9059 result=$wxUSE_WEBKIT
9060 fi
9061
9062 { echo "$as_me:$LINENO: result: $result" >&5
9063 echo "${ECHO_T}$result" >&6; }
9064
9065
9066 enablestring=
9067 defaultval=$wxUSE_ALL_FEATURES
9068 if test -z "$defaultval"; then
9069 if test x"$enablestring" = xdisable; then
9070 defaultval=yes
9071 else
9072 defaultval=no
9073 fi
9074 fi
9075
9076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9078 # Check whether --enable-richtext was given.
9079 if test "${enable_richtext+set}" = set; then
9080 enableval=$enable_richtext;
9081 if test "$enableval" = yes; then
9082 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9083 else
9084 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9085 fi
9086
9087 else
9088
9089 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9090
9091 fi
9092
9093
9094 eval "$wx_cv_use_richtext"
9095
9096 if test x"$enablestring" = xdisable; then
9097 if test $wxUSE_RICHTEXT = yes; then
9098 result=no
9099 else
9100 result=yes
9101 fi
9102 else
9103 result=$wxUSE_RICHTEXT
9104 fi
9105
9106 { echo "$as_me:$LINENO: result: $result" >&5
9107 echo "${ECHO_T}$result" >&6; }
9108
9109
9110 enablestring=
9111 defaultval=$wxUSE_ALL_FEATURES
9112 if test -z "$defaultval"; then
9113 if test x"$enablestring" = xdisable; then
9114 defaultval=yes
9115 else
9116 defaultval=no
9117 fi
9118 fi
9119
9120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9122 # Check whether --enable-graphics_ctx was given.
9123 if test "${enable_graphics_ctx+set}" = set; then
9124 enableval=$enable_graphics_ctx;
9125 if test "$enableval" = yes; then
9126 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9127 else
9128 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9129 fi
9130
9131 else
9132
9133 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9134
9135 fi
9136
9137
9138 eval "$wx_cv_use_graphics_ctx"
9139
9140 if test x"$enablestring" = xdisable; then
9141 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9142 result=no
9143 else
9144 result=yes
9145 fi
9146 else
9147 result=$wxUSE_GRAPHICS_CONTEXT
9148 fi
9149
9150 { echo "$as_me:$LINENO: result: $result" >&5
9151 echo "${ECHO_T}$result" >&6; }
9152
9153
9154 enablestring=
9155 defaultval=$wxUSE_ALL_FEATURES
9156 if test -z "$defaultval"; then
9157 if test x"$enablestring" = xdisable; then
9158 defaultval=yes
9159 else
9160 defaultval=no
9161 fi
9162 fi
9163
9164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9166 # Check whether --enable-postscript was given.
9167 if test "${enable_postscript+set}" = set; then
9168 enableval=$enable_postscript;
9169 if test "$enableval" = yes; then
9170 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9171 else
9172 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9173 fi
9174
9175 else
9176
9177 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9178
9179 fi
9180
9181
9182 eval "$wx_cv_use_postscript"
9183
9184 if test x"$enablestring" = xdisable; then
9185 if test $wxUSE_POSTSCRIPT = yes; then
9186 result=no
9187 else
9188 result=yes
9189 fi
9190 else
9191 result=$wxUSE_POSTSCRIPT
9192 fi
9193
9194 { echo "$as_me:$LINENO: result: $result" >&5
9195 echo "${ECHO_T}$result" >&6; }
9196
9197
9198 enablestring=
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9202 defaultval=yes
9203 else
9204 defaultval=no
9205 fi
9206 fi
9207
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9210 # Check whether --enable-printarch was given.
9211 if test "${enable_printarch+set}" = set; then
9212 enableval=$enable_printarch;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9215 else
9216 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9217 fi
9218
9219 else
9220
9221 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9222
9223 fi
9224
9225
9226 eval "$wx_cv_use_printarch"
9227
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9230 result=no
9231 else
9232 result=yes
9233 fi
9234 else
9235 result=$wxUSE_PRINTING_ARCHITECTURE
9236 fi
9237
9238 { echo "$as_me:$LINENO: result: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9240
9241
9242 enablestring=
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9246 defaultval=yes
9247 else
9248 defaultval=no
9249 fi
9250 fi
9251
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9254 # Check whether --enable-svg was given.
9255 if test "${enable_svg+set}" = set; then
9256 enableval=$enable_svg;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_svg='wxUSE_SVG=yes'
9259 else
9260 wx_cv_use_svg='wxUSE_SVG=no'
9261 fi
9262
9263 else
9264
9265 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9266
9267 fi
9268
9269
9270 eval "$wx_cv_use_svg"
9271
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_SVG = yes; then
9274 result=no
9275 else
9276 result=yes
9277 fi
9278 else
9279 result=$wxUSE_SVG
9280 fi
9281
9282 { echo "$as_me:$LINENO: result: $result" >&5
9283 echo "${ECHO_T}$result" >&6; }
9284
9285
9286
9287
9288 enablestring=
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9292 defaultval=yes
9293 else
9294 defaultval=no
9295 fi
9296 fi
9297
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9300 # Check whether --enable-clipboard was given.
9301 if test "${enable_clipboard+set}" = set; then
9302 enableval=$enable_clipboard;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9305 else
9306 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9307 fi
9308
9309 else
9310
9311 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9312
9313 fi
9314
9315
9316 eval "$wx_cv_use_clipboard"
9317
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_CLIPBOARD = yes; then
9320 result=no
9321 else
9322 result=yes
9323 fi
9324 else
9325 result=$wxUSE_CLIPBOARD
9326 fi
9327
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9330
9331
9332 enablestring=
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9336 defaultval=yes
9337 else
9338 defaultval=no
9339 fi
9340 fi
9341
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9344 # Check whether --enable-dnd was given.
9345 if test "${enable_dnd+set}" = set; then
9346 enableval=$enable_dnd;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9349 else
9350 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9351 fi
9352
9353 else
9354
9355 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9356
9357 fi
9358
9359
9360 eval "$wx_cv_use_dnd"
9361
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_DRAG_AND_DROP = yes; then
9364 result=no
9365 else
9366 result=yes
9367 fi
9368 else
9369 result=$wxUSE_DRAG_AND_DROP
9370 fi
9371
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9374
9375
9376 enablestring=
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9380 defaultval=yes
9381 else
9382 defaultval=no
9383 fi
9384 fi
9385
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9388 # Check whether --enable-metafile was given.
9389 if test "${enable_metafile+set}" = set; then
9390 enableval=$enable_metafile;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9393 else
9394 wx_cv_use_metafile='wxUSE_METAFILE=no'
9395 fi
9396
9397 else
9398
9399 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_metafile"
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_METAFILE = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_METAFILE
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420
9421 DEFAULT_wxUSE_CONTROLS=none
9422
9423 enablestring=disable
9424 defaultval=
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9435 # Check whether --enable-controls was given.
9436 if test "${enable_controls+set}" = set; then
9437 enableval=$enable_controls;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9440 else
9441 wx_cv_use_controls='wxUSE_CONTROLS=no'
9442 fi
9443
9444 else
9445
9446 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9447
9448 fi
9449
9450
9451 eval "$wx_cv_use_controls"
9452
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_CONTROLS = yes; then
9455 result=no
9456 else
9457 result=yes
9458 fi
9459 else
9460 result=$wxUSE_CONTROLS
9461 fi
9462
9463 { echo "$as_me:$LINENO: result: $result" >&5
9464 echo "${ECHO_T}$result" >&6; }
9465
9466
9467 if test "$wxUSE_CONTROLS" = "yes"; then
9468 DEFAULT_wxUSE_ACCEL=yes
9469 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9470 DEFAULT_wxUSE_BMPBUTTON=yes
9471 DEFAULT_wxUSE_BUTTON=yes
9472 DEFAULT_wxUSE_CALCTRL=yes
9473 DEFAULT_wxUSE_CARET=yes
9474 DEFAULT_wxUSE_COMBOBOX=yes
9475 DEFAULT_wxUSE_CHECKBOX=yes
9476 DEFAULT_wxUSE_CHECKLISTBOX=yes
9477 DEFAULT_wxUSE_CHOICE=yes
9478 DEFAULT_wxUSE_CHOICEBOOK=yes
9479 DEFAULT_wxUSE_COLLPANE=yes
9480 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9481 DEFAULT_wxUSE_COMBOBOX=yes
9482 DEFAULT_wxUSE_DATEPICKCTRL=yes
9483 DEFAULT_wxUSE_DISPLAY=yes
9484 DEFAULT_wxUSE_DETECT_SM=yes
9485 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9486 DEFAULT_wxUSE_FILECTRL=yes
9487 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9488 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9489 DEFAULT_wxUSE_GAUGE=yes
9490 DEFAULT_wxUSE_GRID=yes
9491 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9492 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9493 DEFAULT_wxUSE_IMAGLIST=yes
9494 DEFAULT_wxUSE_LISTBOOK=yes
9495 DEFAULT_wxUSE_LISTBOX=yes
9496 DEFAULT_wxUSE_LISTCTRL=yes
9497 DEFAULT_wxUSE_NOTEBOOK=yes
9498 DEFAULT_wxUSE_RADIOBOX=yes
9499 DEFAULT_wxUSE_RADIOBTN=yes
9500 DEFAULT_wxUSE_SASH=yes
9501 DEFAULT_wxUSE_SCROLLBAR=yes
9502 DEFAULT_wxUSE_SEARCHCTRL=yes
9503 DEFAULT_wxUSE_SLIDER=yes
9504 DEFAULT_wxUSE_SPINBTN=yes
9505 DEFAULT_wxUSE_SPINCTRL=yes
9506 DEFAULT_wxUSE_SPLITTER=yes
9507 DEFAULT_wxUSE_STATBMP=yes
9508 DEFAULT_wxUSE_STATBOX=yes
9509 DEFAULT_wxUSE_STATLINE=yes
9510 DEFAULT_wxUSE_STATUSBAR=yes
9511 DEFAULT_wxUSE_TAB_DIALOG=yes
9512 DEFAULT_wxUSE_TOGGLEBTN=yes
9513 DEFAULT_wxUSE_TOOLBAR=yes
9514 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9515 DEFAULT_wxUSE_TOOLTIPS=yes
9516 DEFAULT_wxUSE_TREEBOOK=yes
9517 DEFAULT_wxUSE_TOOLBOOK=yes
9518 DEFAULT_wxUSE_TREECTRL=yes
9519 DEFAULT_wxUSE_POPUPWIN=yes
9520 DEFAULT_wxUSE_TIPWINDOW=yes
9521 elif test "$wxUSE_CONTROLS" = "no"; then
9522 DEFAULT_wxUSE_ACCEL=no
9523 DEFAULT_wxUSE_ANIMATIONCTRL=no
9524 DEFAULT_wxUSE_BMPBUTTON=no
9525 DEFAULT_wxUSE_BUTTON=no
9526 DEFAULT_wxUSE_CALCTRL=no
9527 DEFAULT_wxUSE_CARET=no
9528 DEFAULT_wxUSE_COLLPANE=no
9529 DEFAULT_wxUSE_COMBOBOX=no
9530 DEFAULT_wxUSE_CHECKBOX=no
9531 DEFAULT_wxUSE_CHECKLISTBOX=no
9532 DEFAULT_wxUSE_CHOICE=no
9533 DEFAULT_wxUSE_CHOICEBOOK=no
9534 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9535 DEFAULT_wxUSE_COMBOBOX=no
9536 DEFAULT_wxUSE_DATEPICKCTRL=no
9537 DEFAULT_wxUSE_DISPLAY=no
9538 DEFAULT_wxUSE_DETECT_SM=no
9539 DEFAULT_wxUSE_DIRPICKERCTRL=no
9540 DEFAULT_wxUSE_FILECTRL=no
9541 DEFAULT_wxUSE_FILEPICKERCTRL=no
9542 DEFAULT_wxUSE_FONTPICKERCTRL=no
9543 DEFAULT_wxUSE_GAUGE=no
9544 DEFAULT_wxUSE_GRID=no
9545 DEFAULT_wxUSE_HYPERLINKCTRL=no
9546 DEFAULT_wxUSE_DATAVIEWCTRL=no
9547 DEFAULT_wxUSE_IMAGLIST=no
9548 DEFAULT_wxUSE_LISTBOOK=no
9549 DEFAULT_wxUSE_LISTBOX=no
9550 DEFAULT_wxUSE_LISTCTRL=no
9551 DEFAULT_wxUSE_NOTEBOOK=no
9552 DEFAULT_wxUSE_RADIOBOX=no
9553 DEFAULT_wxUSE_RADIOBTN=no
9554 DEFAULT_wxUSE_SASH=no
9555 DEFAULT_wxUSE_SCROLLBAR=no
9556 DEFAULT_wxUSE_SEARCHCTRL=no
9557 DEFAULT_wxUSE_SLIDER=no
9558 DEFAULT_wxUSE_SPINBTN=no
9559 DEFAULT_wxUSE_SPINCTRL=no
9560 DEFAULT_wxUSE_SPLITTER=no
9561 DEFAULT_wxUSE_STATBMP=no
9562 DEFAULT_wxUSE_STATBOX=no
9563 DEFAULT_wxUSE_STATLINE=no
9564 DEFAULT_wxUSE_STATUSBAR=no
9565 DEFAULT_wxUSE_TAB_DIALOG=no
9566 DEFAULT_wxUSE_TOGGLEBTN=no
9567 DEFAULT_wxUSE_TOOLBAR=no
9568 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9569 DEFAULT_wxUSE_TOOLTIPS=no
9570 DEFAULT_wxUSE_TREEBOOK=no
9571 DEFAULT_wxUSE_TOOLBOOK=no
9572 DEFAULT_wxUSE_TREECTRL=no
9573 DEFAULT_wxUSE_POPUPWIN=no
9574 DEFAULT_wxUSE_TIPWINDOW=no
9575 fi
9576
9577
9578 enablestring=
9579 defaultval=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x"$enablestring" = xdisable; then
9582 defaultval=yes
9583 else
9584 defaultval=no
9585 fi
9586 fi
9587
9588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9590 # Check whether --enable-accel was given.
9591 if test "${enable_accel+set}" = set; then
9592 enableval=$enable_accel;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_accel='wxUSE_ACCEL=yes'
9595 else
9596 wx_cv_use_accel='wxUSE_ACCEL=no'
9597 fi
9598
9599 else
9600
9601 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9602
9603 fi
9604
9605
9606 eval "$wx_cv_use_accel"
9607
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_ACCEL = yes; then
9610 result=no
9611 else
9612 result=yes
9613 fi
9614 else
9615 result=$wxUSE_ACCEL
9616 fi
9617
9618 { echo "$as_me:$LINENO: result: $result" >&5
9619 echo "${ECHO_T}$result" >&6; }
9620
9621
9622 enablestring=
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9626 defaultval=yes
9627 else
9628 defaultval=no
9629 fi
9630 fi
9631
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9634 # Check whether --enable-animatectrl was given.
9635 if test "${enable_animatectrl+set}" = set; then
9636 enableval=$enable_animatectrl;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9639 else
9640 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9641 fi
9642
9643 else
9644
9645 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9646
9647 fi
9648
9649
9650 eval "$wx_cv_use_animatectrl"
9651
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_ANIMATIONCTRL = yes; then
9654 result=no
9655 else
9656 result=yes
9657 fi
9658 else
9659 result=$wxUSE_ANIMATIONCTRL
9660 fi
9661
9662 { echo "$as_me:$LINENO: result: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9664
9665
9666 enablestring=
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9670 defaultval=yes
9671 else
9672 defaultval=no
9673 fi
9674 fi
9675
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9678 # Check whether --enable-button was given.
9679 if test "${enable_button+set}" = set; then
9680 enableval=$enable_button;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_button='wxUSE_BUTTON=yes'
9683 else
9684 wx_cv_use_button='wxUSE_BUTTON=no'
9685 fi
9686
9687 else
9688
9689 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9690
9691 fi
9692
9693
9694 eval "$wx_cv_use_button"
9695
9696 if test x"$enablestring" = xdisable; then
9697 if test $wxUSE_BUTTON = yes; then
9698 result=no
9699 else
9700 result=yes
9701 fi
9702 else
9703 result=$wxUSE_BUTTON
9704 fi
9705
9706 { echo "$as_me:$LINENO: result: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9708
9709
9710 enablestring=
9711 defaultval=$wxUSE_ALL_FEATURES
9712 if test -z "$defaultval"; then
9713 if test x"$enablestring" = xdisable; then
9714 defaultval=yes
9715 else
9716 defaultval=no
9717 fi
9718 fi
9719
9720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9722 # Check whether --enable-bmpbutton was given.
9723 if test "${enable_bmpbutton+set}" = set; then
9724 enableval=$enable_bmpbutton;
9725 if test "$enableval" = yes; then
9726 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9727 else
9728 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9729 fi
9730
9731 else
9732
9733 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9734
9735 fi
9736
9737
9738 eval "$wx_cv_use_bmpbutton"
9739
9740 if test x"$enablestring" = xdisable; then
9741 if test $wxUSE_BMPBUTTON = yes; then
9742 result=no
9743 else
9744 result=yes
9745 fi
9746 else
9747 result=$wxUSE_BMPBUTTON
9748 fi
9749
9750 { echo "$as_me:$LINENO: result: $result" >&5
9751 echo "${ECHO_T}$result" >&6; }
9752
9753
9754 enablestring=
9755 defaultval=$wxUSE_ALL_FEATURES
9756 if test -z "$defaultval"; then
9757 if test x"$enablestring" = xdisable; then
9758 defaultval=yes
9759 else
9760 defaultval=no
9761 fi
9762 fi
9763
9764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9766 # Check whether --enable-bmpcombobox was given.
9767 if test "${enable_bmpcombobox+set}" = set; then
9768 enableval=$enable_bmpcombobox;
9769 if test "$enableval" = yes; then
9770 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9771 else
9772 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9773 fi
9774
9775 else
9776
9777 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9778
9779 fi
9780
9781
9782 eval "$wx_cv_use_bmpcombobox"
9783
9784 if test x"$enablestring" = xdisable; then
9785 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9786 result=no
9787 else
9788 result=yes
9789 fi
9790 else
9791 result=$wxUSE_BITMAPCOMBOBOX
9792 fi
9793
9794 { echo "$as_me:$LINENO: result: $result" >&5
9795 echo "${ECHO_T}$result" >&6; }
9796
9797
9798 enablestring=
9799 defaultval=$wxUSE_ALL_FEATURES
9800 if test -z "$defaultval"; then
9801 if test x"$enablestring" = xdisable; then
9802 defaultval=yes
9803 else
9804 defaultval=no
9805 fi
9806 fi
9807
9808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9810 # Check whether --enable-calendar was given.
9811 if test "${enable_calendar+set}" = set; then
9812 enableval=$enable_calendar;
9813 if test "$enableval" = yes; then
9814 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9815 else
9816 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9817 fi
9818
9819 else
9820
9821 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9822
9823 fi
9824
9825
9826 eval "$wx_cv_use_calendar"
9827
9828 if test x"$enablestring" = xdisable; then
9829 if test $wxUSE_CALCTRL = yes; then
9830 result=no
9831 else
9832 result=yes
9833 fi
9834 else
9835 result=$wxUSE_CALCTRL
9836 fi
9837
9838 { echo "$as_me:$LINENO: result: $result" >&5
9839 echo "${ECHO_T}$result" >&6; }
9840
9841
9842 enablestring=
9843 defaultval=$wxUSE_ALL_FEATURES
9844 if test -z "$defaultval"; then
9845 if test x"$enablestring" = xdisable; then
9846 defaultval=yes
9847 else
9848 defaultval=no
9849 fi
9850 fi
9851
9852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9853 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9854 # Check whether --enable-caret was given.
9855 if test "${enable_caret+set}" = set; then
9856 enableval=$enable_caret;
9857 if test "$enableval" = yes; then
9858 wx_cv_use_caret='wxUSE_CARET=yes'
9859 else
9860 wx_cv_use_caret='wxUSE_CARET=no'
9861 fi
9862
9863 else
9864
9865 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9866
9867 fi
9868
9869
9870 eval "$wx_cv_use_caret"
9871
9872 if test x"$enablestring" = xdisable; then
9873 if test $wxUSE_CARET = yes; then
9874 result=no
9875 else
9876 result=yes
9877 fi
9878 else
9879 result=$wxUSE_CARET
9880 fi
9881
9882 { echo "$as_me:$LINENO: result: $result" >&5
9883 echo "${ECHO_T}$result" >&6; }
9884
9885
9886 enablestring=
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9890 defaultval=yes
9891 else
9892 defaultval=no
9893 fi
9894 fi
9895
9896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9898 # Check whether --enable-checkbox was given.
9899 if test "${enable_checkbox+set}" = set; then
9900 enableval=$enable_checkbox;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9903 else
9904 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9905 fi
9906
9907 else
9908
9909 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9910
9911 fi
9912
9913
9914 eval "$wx_cv_use_checkbox"
9915
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_CHECKBOX = yes; then
9918 result=no
9919 else
9920 result=yes
9921 fi
9922 else
9923 result=$wxUSE_CHECKBOX
9924 fi
9925
9926 { echo "$as_me:$LINENO: result: $result" >&5
9927 echo "${ECHO_T}$result" >&6; }
9928
9929
9930 enablestring=
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9934 defaultval=yes
9935 else
9936 defaultval=no
9937 fi
9938 fi
9939
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9942 # Check whether --enable-checklst was given.
9943 if test "${enable_checklst+set}" = set; then
9944 enableval=$enable_checklst;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9947 else
9948 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9949 fi
9950
9951 else
9952
9953 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9954
9955 fi
9956
9957
9958 eval "$wx_cv_use_checklst"
9959
9960 if test x"$enablestring" = xdisable; then
9961 if test $wxUSE_CHECKLST = yes; then
9962 result=no
9963 else
9964 result=yes
9965 fi
9966 else
9967 result=$wxUSE_CHECKLST
9968 fi
9969
9970 { echo "$as_me:$LINENO: result: $result" >&5
9971 echo "${ECHO_T}$result" >&6; }
9972
9973
9974 enablestring=
9975 defaultval=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x"$enablestring" = xdisable; then
9978 defaultval=yes
9979 else
9980 defaultval=no
9981 fi
9982 fi
9983
9984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9985 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9986 # Check whether --enable-choice was given.
9987 if test "${enable_choice+set}" = set; then
9988 enableval=$enable_choice;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_choice='wxUSE_CHOICE=yes'
9991 else
9992 wx_cv_use_choice='wxUSE_CHOICE=no'
9993 fi
9994
9995 else
9996
9997 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9998
9999 fi
10000
10001
10002 eval "$wx_cv_use_choice"
10003
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_CHOICE = yes; then
10006 result=no
10007 else
10008 result=yes
10009 fi
10010 else
10011 result=$wxUSE_CHOICE
10012 fi
10013
10014 { echo "$as_me:$LINENO: result: $result" >&5
10015 echo "${ECHO_T}$result" >&6; }
10016
10017
10018 enablestring=
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10022 defaultval=yes
10023 else
10024 defaultval=no
10025 fi
10026 fi
10027
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10030 # Check whether --enable-choicebook was given.
10031 if test "${enable_choicebook+set}" = set; then
10032 enableval=$enable_choicebook;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10035 else
10036 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10037 fi
10038
10039 else
10040
10041 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10042
10043 fi
10044
10045
10046 eval "$wx_cv_use_choicebook"
10047
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_CHOICEBOOK = yes; then
10050 result=no
10051 else
10052 result=yes
10053 fi
10054 else
10055 result=$wxUSE_CHOICEBOOK
10056 fi
10057
10058 { echo "$as_me:$LINENO: result: $result" >&5
10059 echo "${ECHO_T}$result" >&6; }
10060
10061
10062 enablestring=
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10066 defaultval=yes
10067 else
10068 defaultval=no
10069 fi
10070 fi
10071
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10074 # Check whether --enable-collpane was given.
10075 if test "${enable_collpane+set}" = set; then
10076 enableval=$enable_collpane;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10079 else
10080 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10081 fi
10082
10083 else
10084
10085 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10086
10087 fi
10088
10089
10090 eval "$wx_cv_use_collpane"
10091
10092 if test x"$enablestring" = xdisable; then
10093 if test $wxUSE_COLLPANE = yes; then
10094 result=no
10095 else
10096 result=yes
10097 fi
10098 else
10099 result=$wxUSE_COLLPANE
10100 fi
10101
10102 { echo "$as_me:$LINENO: result: $result" >&5
10103 echo "${ECHO_T}$result" >&6; }
10104
10105
10106 enablestring=
10107 defaultval=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x"$enablestring" = xdisable; then
10110 defaultval=yes
10111 else
10112 defaultval=no
10113 fi
10114 fi
10115
10116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10118 # Check whether --enable-colourpicker was given.
10119 if test "${enable_colourpicker+set}" = set; then
10120 enableval=$enable_colourpicker;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10123 else
10124 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10125 fi
10126
10127 else
10128
10129 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10130
10131 fi
10132
10133
10134 eval "$wx_cv_use_colourpicker"
10135
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_COLOURPICKERCTRL = yes; then
10138 result=no
10139 else
10140 result=yes
10141 fi
10142 else
10143 result=$wxUSE_COLOURPICKERCTRL
10144 fi
10145
10146 { echo "$as_me:$LINENO: result: $result" >&5
10147 echo "${ECHO_T}$result" >&6; }
10148
10149
10150 enablestring=
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10154 defaultval=yes
10155 else
10156 defaultval=no
10157 fi
10158 fi
10159
10160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10161 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10162 # Check whether --enable-combobox was given.
10163 if test "${enable_combobox+set}" = set; then
10164 enableval=$enable_combobox;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10167 else
10168 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10169 fi
10170
10171 else
10172
10173 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10174
10175 fi
10176
10177
10178 eval "$wx_cv_use_combobox"
10179
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_COMBOBOX = yes; then
10182 result=no
10183 else
10184 result=yes
10185 fi
10186 else
10187 result=$wxUSE_COMBOBOX
10188 fi
10189
10190 { echo "$as_me:$LINENO: result: $result" >&5
10191 echo "${ECHO_T}$result" >&6; }
10192
10193
10194 enablestring=
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10198 defaultval=yes
10199 else
10200 defaultval=no
10201 fi
10202 fi
10203
10204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10206 # Check whether --enable-comboctrl was given.
10207 if test "${enable_comboctrl+set}" = set; then
10208 enableval=$enable_comboctrl;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10211 else
10212 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10213 fi
10214
10215 else
10216
10217 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10218
10219 fi
10220
10221
10222 eval "$wx_cv_use_comboctrl"
10223
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_COMBOCTRL = yes; then
10226 result=no
10227 else
10228 result=yes
10229 fi
10230 else
10231 result=$wxUSE_COMBOCTRL
10232 fi
10233
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10236
10237
10238 enablestring=
10239 defaultval=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x"$enablestring" = xdisable; then
10242 defaultval=yes
10243 else
10244 defaultval=no
10245 fi
10246 fi
10247
10248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10249 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10250 # Check whether --enable-datepick was given.
10251 if test "${enable_datepick+set}" = set; then
10252 enableval=$enable_datepick;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10255 else
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10257 fi
10258
10259 else
10260
10261 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10262
10263 fi
10264
10265
10266 eval "$wx_cv_use_datepick"
10267
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_DATEPICKCTRL = yes; then
10270 result=no
10271 else
10272 result=yes
10273 fi
10274 else
10275 result=$wxUSE_DATEPICKCTRL
10276 fi
10277
10278 { echo "$as_me:$LINENO: result: $result" >&5
10279 echo "${ECHO_T}$result" >&6; }
10280
10281
10282 enablestring=
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10286 defaultval=yes
10287 else
10288 defaultval=no
10289 fi
10290 fi
10291
10292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10294 # Check whether --enable-dirpicker was given.
10295 if test "${enable_dirpicker+set}" = set; then
10296 enableval=$enable_dirpicker;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10299 else
10300 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10301 fi
10302
10303 else
10304
10305 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10306
10307 fi
10308
10309
10310 eval "$wx_cv_use_dirpicker"
10311
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_DIRPICKERCTRL = yes; then
10314 result=no
10315 else
10316 result=yes
10317 fi
10318 else
10319 result=$wxUSE_DIRPICKERCTRL
10320 fi
10321
10322 { echo "$as_me:$LINENO: result: $result" >&5
10323 echo "${ECHO_T}$result" >&6; }
10324
10325
10326 enablestring=
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10330 defaultval=yes
10331 else
10332 defaultval=no
10333 fi
10334 fi
10335
10336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10338 # Check whether --enable-display was given.
10339 if test "${enable_display+set}" = set; then
10340 enableval=$enable_display;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_display='wxUSE_DISPLAY=yes'
10343 else
10344 wx_cv_use_display='wxUSE_DISPLAY=no'
10345 fi
10346
10347 else
10348
10349 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10350
10351 fi
10352
10353
10354 eval "$wx_cv_use_display"
10355
10356 if test x"$enablestring" = xdisable; then
10357 if test $wxUSE_DISPLAY = yes; then
10358 result=no
10359 else
10360 result=yes
10361 fi
10362 else
10363 result=$wxUSE_DISPLAY
10364 fi
10365
10366 { echo "$as_me:$LINENO: result: $result" >&5
10367 echo "${ECHO_T}$result" >&6; }
10368
10369
10370 enablestring=
10371 defaultval=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x"$enablestring" = xdisable; then
10374 defaultval=yes
10375 else
10376 defaultval=no
10377 fi
10378 fi
10379
10380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10381 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10382 # Check whether --enable-detect_sm was given.
10383 if test "${enable_detect_sm+set}" = set; then
10384 enableval=$enable_detect_sm;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10387 else
10388 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10389 fi
10390
10391 else
10392
10393 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10394
10395 fi
10396
10397
10398 eval "$wx_cv_use_detect_sm"
10399
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_DETECT_SM = yes; then
10402 result=no
10403 else
10404 result=yes
10405 fi
10406 else
10407 result=$wxUSE_DETECT_SM
10408 fi
10409
10410 { echo "$as_me:$LINENO: result: $result" >&5
10411 echo "${ECHO_T}$result" >&6; }
10412
10413
10414 enablestring=
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10418 defaultval=yes
10419 else
10420 defaultval=no
10421 fi
10422 fi
10423
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10426 # Check whether --enable-editablebox was given.
10427 if test "${enable_editablebox+set}" = set; then
10428 enableval=$enable_editablebox;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10431 else
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10433 fi
10434
10435 else
10436
10437 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10438
10439 fi
10440
10441
10442 eval "$wx_cv_use_editablebox"
10443
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_EDITABLELISTBOX = yes; then
10446 result=no
10447 else
10448 result=yes
10449 fi
10450 else
10451 result=$wxUSE_EDITABLELISTBOX
10452 fi
10453
10454 { echo "$as_me:$LINENO: result: $result" >&5
10455 echo "${ECHO_T}$result" >&6; }
10456
10457
10458 enablestring=
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10462 defaultval=yes
10463 else
10464 defaultval=no
10465 fi
10466 fi
10467
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10470 # Check whether --enable-filepicker was given.
10471 if test "${enable_filepicker+set}" = set; then
10472 enableval=$enable_filepicker;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10475 else
10476 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10477 fi
10478
10479 else
10480
10481 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10482
10483 fi
10484
10485
10486 eval "$wx_cv_use_filepicker"
10487
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_FILEPICKERCTRL = yes; then
10490 result=no
10491 else
10492 result=yes
10493 fi
10494 else
10495 result=$wxUSE_FILEPICKERCTRL
10496 fi
10497
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10500
10501
10502 enablestring=
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10506 defaultval=yes
10507 else
10508 defaultval=no
10509 fi
10510 fi
10511
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10514 # Check whether --enable-filectrl was given.
10515 if test "${enable_filectrl+set}" = set; then
10516 enableval=$enable_filectrl;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10519 else
10520 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10521 fi
10522
10523 else
10524
10525 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10526
10527 fi
10528
10529
10530 eval "$wx_cv_use_filectrl"
10531
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_FILECTRL = yes; then
10534 result=no
10535 else
10536 result=yes
10537 fi
10538 else
10539 result=$wxUSE_FILECTRL
10540 fi
10541
10542 { echo "$as_me:$LINENO: result: $result" >&5
10543 echo "${ECHO_T}$result" >&6; }
10544
10545
10546 enablestring=
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10550 defaultval=yes
10551 else
10552 defaultval=no
10553 fi
10554 fi
10555
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10558 # Check whether --enable-fontpicker was given.
10559 if test "${enable_fontpicker+set}" = set; then
10560 enableval=$enable_fontpicker;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10563 else
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10565 fi
10566
10567 else
10568
10569 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10570
10571 fi
10572
10573
10574 eval "$wx_cv_use_fontpicker"
10575
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_FONTPICKERCTRL = yes; then
10578 result=no
10579 else
10580 result=yes
10581 fi
10582 else
10583 result=$wxUSE_FONTPICKERCTRL
10584 fi
10585
10586 { echo "$as_me:$LINENO: result: $result" >&5
10587 echo "${ECHO_T}$result" >&6; }
10588
10589
10590 enablestring=
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10594 defaultval=yes
10595 else
10596 defaultval=no
10597 fi
10598 fi
10599
10600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10602 # Check whether --enable-gauge was given.
10603 if test "${enable_gauge+set}" = set; then
10604 enableval=$enable_gauge;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10607 else
10608 wx_cv_use_gauge='wxUSE_GAUGE=no'
10609 fi
10610
10611 else
10612
10613 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10614
10615 fi
10616
10617
10618 eval "$wx_cv_use_gauge"
10619
10620 if test x"$enablestring" = xdisable; then
10621 if test $wxUSE_GAUGE = yes; then
10622 result=no
10623 else
10624 result=yes
10625 fi
10626 else
10627 result=$wxUSE_GAUGE
10628 fi
10629
10630 { echo "$as_me:$LINENO: result: $result" >&5
10631 echo "${ECHO_T}$result" >&6; }
10632
10633
10634 enablestring=
10635 defaultval=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x"$enablestring" = xdisable; then
10638 defaultval=yes
10639 else
10640 defaultval=no
10641 fi
10642 fi
10643
10644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10645 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10646 # Check whether --enable-grid was given.
10647 if test "${enable_grid+set}" = set; then
10648 enableval=$enable_grid;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_grid='wxUSE_GRID=yes'
10651 else
10652 wx_cv_use_grid='wxUSE_GRID=no'
10653 fi
10654
10655 else
10656
10657 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10658
10659 fi
10660
10661
10662 eval "$wx_cv_use_grid"
10663
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_GRID = yes; then
10666 result=no
10667 else
10668 result=yes
10669 fi
10670 else
10671 result=$wxUSE_GRID
10672 fi
10673
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10676
10677
10678 enablestring=
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10682 defaultval=yes
10683 else
10684 defaultval=no
10685 fi
10686 fi
10687
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10690 # Check whether --enable-dataviewctrl was given.
10691 if test "${enable_dataviewctrl+set}" = set; then
10692 enableval=$enable_dataviewctrl;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10695 else
10696 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10697 fi
10698
10699 else
10700
10701 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10702
10703 fi
10704
10705
10706 eval "$wx_cv_use_dataviewctrl"
10707
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_DATAVIEWCTRL = yes; then
10710 result=no
10711 else
10712 result=yes
10713 fi
10714 else
10715 result=$wxUSE_DATAVIEWCTRL
10716 fi
10717
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10720
10721
10722 enablestring=
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10726 defaultval=yes
10727 else
10728 defaultval=no
10729 fi
10730 fi
10731
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10734 # Check whether --enable-hyperlink was given.
10735 if test "${enable_hyperlink+set}" = set; then
10736 enableval=$enable_hyperlink;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10739 else
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10741 fi
10742
10743 else
10744
10745 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10746
10747 fi
10748
10749
10750 eval "$wx_cv_use_hyperlink"
10751
10752 if test x"$enablestring" = xdisable; then
10753 if test $wxUSE_HYPERLINKCTRL = yes; then
10754 result=no
10755 else
10756 result=yes
10757 fi
10758 else
10759 result=$wxUSE_HYPERLINKCTRL
10760 fi
10761
10762 { echo "$as_me:$LINENO: result: $result" >&5
10763 echo "${ECHO_T}$result" >&6; }
10764
10765
10766 enablestring=
10767 defaultval=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x"$enablestring" = xdisable; then
10770 defaultval=yes
10771 else
10772 defaultval=no
10773 fi
10774 fi
10775
10776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10777 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10778 # Check whether --enable-imaglist was given.
10779 if test "${enable_imaglist+set}" = set; then
10780 enableval=$enable_imaglist;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10783 else
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10785 fi
10786
10787 else
10788
10789 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10790
10791 fi
10792
10793
10794 eval "$wx_cv_use_imaglist"
10795
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_IMAGLIST = yes; then
10798 result=no
10799 else
10800 result=yes
10801 fi
10802 else
10803 result=$wxUSE_IMAGLIST
10804 fi
10805
10806 { echo "$as_me:$LINENO: result: $result" >&5
10807 echo "${ECHO_T}$result" >&6; }
10808
10809
10810 enablestring=
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10814 defaultval=yes
10815 else
10816 defaultval=no
10817 fi
10818 fi
10819
10820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10822 # Check whether --enable-listbook was given.
10823 if test "${enable_listbook+set}" = set; then
10824 enableval=$enable_listbook;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10827 else
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10829 fi
10830
10831 else
10832
10833 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10834
10835 fi
10836
10837
10838 eval "$wx_cv_use_listbook"
10839
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_LISTBOOK = yes; then
10842 result=no
10843 else
10844 result=yes
10845 fi
10846 else
10847 result=$wxUSE_LISTBOOK
10848 fi
10849
10850 { echo "$as_me:$LINENO: result: $result" >&5
10851 echo "${ECHO_T}$result" >&6; }
10852
10853
10854 enablestring=
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10858 defaultval=yes
10859 else
10860 defaultval=no
10861 fi
10862 fi
10863
10864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10866 # Check whether --enable-listbox was given.
10867 if test "${enable_listbox+set}" = set; then
10868 enableval=$enable_listbox;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10871 else
10872 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10873 fi
10874
10875 else
10876
10877 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10878
10879 fi
10880
10881
10882 eval "$wx_cv_use_listbox"
10883
10884 if test x"$enablestring" = xdisable; then
10885 if test $wxUSE_LISTBOX = yes; then
10886 result=no
10887 else
10888 result=yes
10889 fi
10890 else
10891 result=$wxUSE_LISTBOX
10892 fi
10893
10894 { echo "$as_me:$LINENO: result: $result" >&5
10895 echo "${ECHO_T}$result" >&6; }
10896
10897
10898 enablestring=
10899 defaultval=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x"$enablestring" = xdisable; then
10902 defaultval=yes
10903 else
10904 defaultval=no
10905 fi
10906 fi
10907
10908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10909 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10910 # Check whether --enable-listctrl was given.
10911 if test "${enable_listctrl+set}" = set; then
10912 enableval=$enable_listctrl;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10915 else
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10917 fi
10918
10919 else
10920
10921 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10922
10923 fi
10924
10925
10926 eval "$wx_cv_use_listctrl"
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_LISTCTRL = yes; then
10930 result=no
10931 else
10932 result=yes
10933 fi
10934 else
10935 result=$wxUSE_LISTCTRL
10936 fi
10937
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10940
10941
10942 enablestring=
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10946 defaultval=yes
10947 else
10948 defaultval=no
10949 fi
10950 fi
10951
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10954 # Check whether --enable-notebook was given.
10955 if test "${enable_notebook+set}" = set; then
10956 enableval=$enable_notebook;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10959 else
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10961 fi
10962
10963 else
10964
10965 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10966
10967 fi
10968
10969
10970 eval "$wx_cv_use_notebook"
10971
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_NOTEBOOK = yes; then
10974 result=no
10975 else
10976 result=yes
10977 fi
10978 else
10979 result=$wxUSE_NOTEBOOK
10980 fi
10981
10982 { echo "$as_me:$LINENO: result: $result" >&5
10983 echo "${ECHO_T}$result" >&6; }
10984
10985
10986 enablestring=
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10990 defaultval=yes
10991 else
10992 defaultval=no
10993 fi
10994 fi
10995
10996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10998 # Check whether --enable-notifmsg was given.
10999 if test "${enable_notifmsg+set}" = set; then
11000 enableval=$enable_notifmsg;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11003 else
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11005 fi
11006
11007 else
11008
11009 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11010
11011 fi
11012
11013
11014 eval "$wx_cv_use_notifmsg"
11015
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11018 result=no
11019 else
11020 result=yes
11021 fi
11022 else
11023 result=$wxUSE_NOTIFICATION_MESSAGE
11024 fi
11025
11026 { echo "$as_me:$LINENO: result: $result" >&5
11027 echo "${ECHO_T}$result" >&6; }
11028
11029
11030 enablestring=
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11034 defaultval=yes
11035 else
11036 defaultval=no
11037 fi
11038 fi
11039
11040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11042 # Check whether --enable-odcombobox was given.
11043 if test "${enable_odcombobox+set}" = set; then
11044 enableval=$enable_odcombobox;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11047 else
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11049 fi
11050
11051 else
11052
11053 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11054
11055 fi
11056
11057
11058 eval "$wx_cv_use_odcombobox"
11059
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_ODCOMBOBOX = yes; then
11062 result=no
11063 else
11064 result=yes
11065 fi
11066 else
11067 result=$wxUSE_ODCOMBOBOX
11068 fi
11069
11070 { echo "$as_me:$LINENO: result: $result" >&5
11071 echo "${ECHO_T}$result" >&6; }
11072
11073
11074 enablestring=
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11078 defaultval=yes
11079 else
11080 defaultval=no
11081 fi
11082 fi
11083
11084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11086 # Check whether --enable-radiobox was given.
11087 if test "${enable_radiobox+set}" = set; then
11088 enableval=$enable_radiobox;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11091 else
11092 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11093 fi
11094
11095 else
11096
11097 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11098
11099 fi
11100
11101
11102 eval "$wx_cv_use_radiobox"
11103
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_RADIOBOX = yes; then
11106 result=no
11107 else
11108 result=yes
11109 fi
11110 else
11111 result=$wxUSE_RADIOBOX
11112 fi
11113
11114 { echo "$as_me:$LINENO: result: $result" >&5
11115 echo "${ECHO_T}$result" >&6; }
11116
11117
11118 enablestring=
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11122 defaultval=yes
11123 else
11124 defaultval=no
11125 fi
11126 fi
11127
11128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11129 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11130 # Check whether --enable-radiobtn was given.
11131 if test "${enable_radiobtn+set}" = set; then
11132 enableval=$enable_radiobtn;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11135 else
11136 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11137 fi
11138
11139 else
11140
11141 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11142
11143 fi
11144
11145
11146 eval "$wx_cv_use_radiobtn"
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_RADIOBTN = yes; then
11150 result=no
11151 else
11152 result=yes
11153 fi
11154 else
11155 result=$wxUSE_RADIOBTN
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11174 # Check whether --enable-sash was given.
11175 if test "${enable_sash+set}" = set; then
11176 enableval=$enable_sash;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_sash='wxUSE_SASH=yes'
11179 else
11180 wx_cv_use_sash='wxUSE_SASH=no'
11181 fi
11182
11183 else
11184
11185 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11186
11187 fi
11188
11189
11190 eval "$wx_cv_use_sash"
11191
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_SASH = yes; then
11194 result=no
11195 else
11196 result=yes
11197 fi
11198 else
11199 result=$wxUSE_SASH
11200 fi
11201
11202 { echo "$as_me:$LINENO: result: $result" >&5
11203 echo "${ECHO_T}$result" >&6; }
11204
11205
11206 enablestring=
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11210 defaultval=yes
11211 else
11212 defaultval=no
11213 fi
11214 fi
11215
11216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11218 # Check whether --enable-scrollbar was given.
11219 if test "${enable_scrollbar+set}" = set; then
11220 enableval=$enable_scrollbar;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11223 else
11224 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11225 fi
11226
11227 else
11228
11229 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11230
11231 fi
11232
11233
11234 eval "$wx_cv_use_scrollbar"
11235
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_SCROLLBAR = yes; then
11238 result=no
11239 else
11240 result=yes
11241 fi
11242 else
11243 result=$wxUSE_SCROLLBAR
11244 fi
11245
11246 { echo "$as_me:$LINENO: result: $result" >&5
11247 echo "${ECHO_T}$result" >&6; }
11248
11249
11250 enablestring=
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11254 defaultval=yes
11255 else
11256 defaultval=no
11257 fi
11258 fi
11259
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11262 # Check whether --enable-searchctrl was given.
11263 if test "${enable_searchctrl+set}" = set; then
11264 enableval=$enable_searchctrl;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11267 else
11268 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11269 fi
11270
11271 else
11272
11273 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11274
11275 fi
11276
11277
11278 eval "$wx_cv_use_searchctrl"
11279
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_SEARCHCTRL = yes; then
11282 result=no
11283 else
11284 result=yes
11285 fi
11286 else
11287 result=$wxUSE_SEARCHCTRL
11288 fi
11289
11290 { echo "$as_me:$LINENO: result: $result" >&5
11291 echo "${ECHO_T}$result" >&6; }
11292
11293
11294 enablestring=
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11298 defaultval=yes
11299 else
11300 defaultval=no
11301 fi
11302 fi
11303
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11306 # Check whether --enable-slider was given.
11307 if test "${enable_slider+set}" = set; then
11308 enableval=$enable_slider;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_slider='wxUSE_SLIDER=yes'
11311 else
11312 wx_cv_use_slider='wxUSE_SLIDER=no'
11313 fi
11314
11315 else
11316
11317 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11318
11319 fi
11320
11321
11322 eval "$wx_cv_use_slider"
11323
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_SLIDER = yes; then
11326 result=no
11327 else
11328 result=yes
11329 fi
11330 else
11331 result=$wxUSE_SLIDER
11332 fi
11333
11334 { echo "$as_me:$LINENO: result: $result" >&5
11335 echo "${ECHO_T}$result" >&6; }
11336
11337
11338 enablestring=
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11342 defaultval=yes
11343 else
11344 defaultval=no
11345 fi
11346 fi
11347
11348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11349 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11350 # Check whether --enable-spinbtn was given.
11351 if test "${enable_spinbtn+set}" = set; then
11352 enableval=$enable_spinbtn;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11355 else
11356 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11357 fi
11358
11359 else
11360
11361 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11362
11363 fi
11364
11365
11366 eval "$wx_cv_use_spinbtn"
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_SPINBTN = yes; then
11370 result=no
11371 else
11372 result=yes
11373 fi
11374 else
11375 result=$wxUSE_SPINBTN
11376 fi
11377
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11394 # Check whether --enable-spinctrl was given.
11395 if test "${enable_spinctrl+set}" = set; then
11396 enableval=$enable_spinctrl;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11399 else
11400 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11401 fi
11402
11403 else
11404
11405 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11406
11407 fi
11408
11409
11410 eval "$wx_cv_use_spinctrl"
11411
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_SPINCTRL = yes; then
11414 result=no
11415 else
11416 result=yes
11417 fi
11418 else
11419 result=$wxUSE_SPINCTRL
11420 fi
11421
11422 { echo "$as_me:$LINENO: result: $result" >&5
11423 echo "${ECHO_T}$result" >&6; }
11424
11425
11426 enablestring=
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11430 defaultval=yes
11431 else
11432 defaultval=no
11433 fi
11434 fi
11435
11436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11437 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11438 # Check whether --enable-splitter was given.
11439 if test "${enable_splitter+set}" = set; then
11440 enableval=$enable_splitter;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11443 else
11444 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11445 fi
11446
11447 else
11448
11449 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11450
11451 fi
11452
11453
11454 eval "$wx_cv_use_splitter"
11455
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_SPLITTER = yes; then
11458 result=no
11459 else
11460 result=yes
11461 fi
11462 else
11463 result=$wxUSE_SPLITTER
11464 fi
11465
11466 { echo "$as_me:$LINENO: result: $result" >&5
11467 echo "${ECHO_T}$result" >&6; }
11468
11469
11470 enablestring=
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11474 defaultval=yes
11475 else
11476 defaultval=no
11477 fi
11478 fi
11479
11480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11481 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11482 # Check whether --enable-statbmp was given.
11483 if test "${enable_statbmp+set}" = set; then
11484 enableval=$enable_statbmp;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11487 else
11488 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11489 fi
11490
11491 else
11492
11493 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11494
11495 fi
11496
11497
11498 eval "$wx_cv_use_statbmp"
11499
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_STATBMP = yes; then
11502 result=no
11503 else
11504 result=yes
11505 fi
11506 else
11507 result=$wxUSE_STATBMP
11508 fi
11509
11510 { echo "$as_me:$LINENO: result: $result" >&5
11511 echo "${ECHO_T}$result" >&6; }
11512
11513
11514 enablestring=
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11518 defaultval=yes
11519 else
11520 defaultval=no
11521 fi
11522 fi
11523
11524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11526 # Check whether --enable-statbox was given.
11527 if test "${enable_statbox+set}" = set; then
11528 enableval=$enable_statbox;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11531 else
11532 wx_cv_use_statbox='wxUSE_STATBOX=no'
11533 fi
11534
11535 else
11536
11537 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11538
11539 fi
11540
11541
11542 eval "$wx_cv_use_statbox"
11543
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_STATBOX = yes; then
11546 result=no
11547 else
11548 result=yes
11549 fi
11550 else
11551 result=$wxUSE_STATBOX
11552 fi
11553
11554 { echo "$as_me:$LINENO: result: $result" >&5
11555 echo "${ECHO_T}$result" >&6; }
11556
11557
11558 enablestring=
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11562 defaultval=yes
11563 else
11564 defaultval=no
11565 fi
11566 fi
11567
11568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11570 # Check whether --enable-statline was given.
11571 if test "${enable_statline+set}" = set; then
11572 enableval=$enable_statline;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_statline='wxUSE_STATLINE=yes'
11575 else
11576 wx_cv_use_statline='wxUSE_STATLINE=no'
11577 fi
11578
11579 else
11580
11581 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11582
11583 fi
11584
11585
11586 eval "$wx_cv_use_statline"
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_STATLINE = yes; then
11590 result=no
11591 else
11592 result=yes
11593 fi
11594 else
11595 result=$wxUSE_STATLINE
11596 fi
11597
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11614 # Check whether --enable-stattext was given.
11615 if test "${enable_stattext+set}" = set; then
11616 enableval=$enable_stattext;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11619 else
11620 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11621 fi
11622
11623 else
11624
11625 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11626
11627 fi
11628
11629
11630 eval "$wx_cv_use_stattext"
11631
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_STATTEXT = yes; then
11634 result=no
11635 else
11636 result=yes
11637 fi
11638 else
11639 result=$wxUSE_STATTEXT
11640 fi
11641
11642 { echo "$as_me:$LINENO: result: $result" >&5
11643 echo "${ECHO_T}$result" >&6; }
11644
11645
11646 enablestring=
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11650 defaultval=yes
11651 else
11652 defaultval=no
11653 fi
11654 fi
11655
11656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11658 # Check whether --enable-statusbar was given.
11659 if test "${enable_statusbar+set}" = set; then
11660 enableval=$enable_statusbar;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11663 else
11664 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11665 fi
11666
11667 else
11668
11669 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11670
11671 fi
11672
11673
11674 eval "$wx_cv_use_statusbar"
11675
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_STATUSBAR = yes; then
11678 result=no
11679 else
11680 result=yes
11681 fi
11682 else
11683 result=$wxUSE_STATUSBAR
11684 fi
11685
11686 { echo "$as_me:$LINENO: result: $result" >&5
11687 echo "${ECHO_T}$result" >&6; }
11688
11689
11690 enablestring=
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11694 defaultval=yes
11695 else
11696 defaultval=no
11697 fi
11698 fi
11699
11700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11702 # Check whether --enable-tabdialog was given.
11703 if test "${enable_tabdialog+set}" = set; then
11704 enableval=$enable_tabdialog;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11707 else
11708 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11709 fi
11710
11711 else
11712
11713 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11714
11715 fi
11716
11717
11718 eval "$wx_cv_use_tabdialog"
11719
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_TAB_DIALOG = yes; then
11722 result=no
11723 else
11724 result=yes
11725 fi
11726 else
11727 result=$wxUSE_TAB_DIALOG
11728 fi
11729
11730 { echo "$as_me:$LINENO: result: $result" >&5
11731 echo "${ECHO_T}$result" >&6; }
11732
11733
11734 enablestring=
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11738 defaultval=yes
11739 else
11740 defaultval=no
11741 fi
11742 fi
11743
11744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11745 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11746 # Check whether --enable-taskbaricon was given.
11747 if test "${enable_taskbaricon+set}" = set; then
11748 enableval=$enable_taskbaricon;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11751 else
11752 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11753 fi
11754
11755 else
11756
11757 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11758
11759 fi
11760
11761
11762 eval "$wx_cv_use_taskbaricon"
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_TASKBARICON = yes; then
11766 result=no
11767 else
11768 result=yes
11769 fi
11770 else
11771 result=$wxUSE_TASKBARICON
11772 fi
11773
11774 { echo "$as_me:$LINENO: result: $result" >&5
11775 echo "${ECHO_T}$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11790 # Check whether --enable-textctrl was given.
11791 if test "${enable_textctrl+set}" = set; then
11792 enableval=$enable_textctrl;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11795 else
11796 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11797 fi
11798
11799 else
11800
11801 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11802
11803 fi
11804
11805
11806 eval "$wx_cv_use_textctrl"
11807
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_TEXTCTRL = yes; then
11810 result=no
11811 else
11812 result=yes
11813 fi
11814 else
11815 result=$wxUSE_TEXTCTRL
11816 fi
11817
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11820
11821
11822 enablestring=
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11826 defaultval=yes
11827 else
11828 defaultval=no
11829 fi
11830 fi
11831
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11834 # Check whether --enable-togglebtn was given.
11835 if test "${enable_togglebtn+set}" = set; then
11836 enableval=$enable_togglebtn;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11839 else
11840 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11841 fi
11842
11843 else
11844
11845 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11846
11847 fi
11848
11849
11850 eval "$wx_cv_use_togglebtn"
11851
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_TOGGLEBTN = yes; then
11854 result=no
11855 else
11856 result=yes
11857 fi
11858 else
11859 result=$wxUSE_TOGGLEBTN
11860 fi
11861
11862 { echo "$as_me:$LINENO: result: $result" >&5
11863 echo "${ECHO_T}$result" >&6; }
11864
11865
11866 enablestring=
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11870 defaultval=yes
11871 else
11872 defaultval=no
11873 fi
11874 fi
11875
11876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11877 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11878 # Check whether --enable-toolbar was given.
11879 if test "${enable_toolbar+set}" = set; then
11880 enableval=$enable_toolbar;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11883 else
11884 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11885 fi
11886
11887 else
11888
11889 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11890
11891 fi
11892
11893
11894 eval "$wx_cv_use_toolbar"
11895
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_TOOLBAR = yes; then
11898 result=no
11899 else
11900 result=yes
11901 fi
11902 else
11903 result=$wxUSE_TOOLBAR
11904 fi
11905
11906 { echo "$as_me:$LINENO: result: $result" >&5
11907 echo "${ECHO_T}$result" >&6; }
11908
11909
11910 enablestring=
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11914 defaultval=yes
11915 else
11916 defaultval=no
11917 fi
11918 fi
11919
11920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11921 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11922 # Check whether --enable-tbarnative was given.
11923 if test "${enable_tbarnative+set}" = set; then
11924 enableval=$enable_tbarnative;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11927 else
11928 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11929 fi
11930
11931 else
11932
11933 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11934
11935 fi
11936
11937
11938 eval "$wx_cv_use_tbarnative"
11939
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11942 result=no
11943 else
11944 result=yes
11945 fi
11946 else
11947 result=$wxUSE_TOOLBAR_NATIVE
11948 fi
11949
11950 { echo "$as_me:$LINENO: result: $result" >&5
11951 echo "${ECHO_T}$result" >&6; }
11952
11953
11954 enablestring=
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11958 defaultval=yes
11959 else
11960 defaultval=no
11961 fi
11962 fi
11963
11964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11965 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11966 # Check whether --enable-treebook was given.
11967 if test "${enable_treebook+set}" = set; then
11968 enableval=$enable_treebook;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11971 else
11972 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11973 fi
11974
11975 else
11976
11977 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_treebook"
11983
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_TREEBOOK = yes; then
11986 result=no
11987 else
11988 result=yes
11989 fi
11990 else
11991 result=$wxUSE_TREEBOOK
11992 fi
11993
11994 { echo "$as_me:$LINENO: result: $result" >&5
11995 echo "${ECHO_T}$result" >&6; }
11996
11997
11998 enablestring=
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12002 defaultval=yes
12003 else
12004 defaultval=no
12005 fi
12006 fi
12007
12008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12009 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12010 # Check whether --enable-toolbook was given.
12011 if test "${enable_toolbook+set}" = set; then
12012 enableval=$enable_toolbook;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12015 else
12016 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12017 fi
12018
12019 else
12020
12021 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12022
12023 fi
12024
12025
12026 eval "$wx_cv_use_toolbook"
12027
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_TOOLBOOK = yes; then
12030 result=no
12031 else
12032 result=yes
12033 fi
12034 else
12035 result=$wxUSE_TOOLBOOK
12036 fi
12037
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12040
12041
12042 enablestring=
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12046 defaultval=yes
12047 else
12048 defaultval=no
12049 fi
12050 fi
12051
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12054 # Check whether --enable-treectrl was given.
12055 if test "${enable_treectrl+set}" = set; then
12056 enableval=$enable_treectrl;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12059 else
12060 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12061 fi
12062
12063 else
12064
12065 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12066
12067 fi
12068
12069
12070 eval "$wx_cv_use_treectrl"
12071
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_TREECTRL = yes; then
12074 result=no
12075 else
12076 result=yes
12077 fi
12078 else
12079 result=$wxUSE_TREECTRL
12080 fi
12081
12082 { echo "$as_me:$LINENO: result: $result" >&5
12083 echo "${ECHO_T}$result" >&6; }
12084
12085
12086 enablestring=
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12090 defaultval=yes
12091 else
12092 defaultval=no
12093 fi
12094 fi
12095
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12098 # Check whether --enable-tipwindow was given.
12099 if test "${enable_tipwindow+set}" = set; then
12100 enableval=$enable_tipwindow;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12103 else
12104 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12105 fi
12106
12107 else
12108
12109 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12110
12111 fi
12112
12113
12114 eval "$wx_cv_use_tipwindow"
12115
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_TIPWINDOW = yes; then
12118 result=no
12119 else
12120 result=yes
12121 fi
12122 else
12123 result=$wxUSE_TIPWINDOW
12124 fi
12125
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12128
12129
12130 enablestring=
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12134 defaultval=yes
12135 else
12136 defaultval=no
12137 fi
12138 fi
12139
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12142 # Check whether --enable-popupwin was given.
12143 if test "${enable_popupwin+set}" = set; then
12144 enableval=$enable_popupwin;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12147 else
12148 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12149 fi
12150
12151 else
12152
12153 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12154
12155 fi
12156
12157
12158 eval "$wx_cv_use_popupwin"
12159
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_POPUPWIN = yes; then
12162 result=no
12163 else
12164 result=yes
12165 fi
12166 else
12167 result=$wxUSE_POPUPWIN
12168 fi
12169
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12172
12173
12174
12175
12176 enablestring=
12177 defaultval=$wxUSE_ALL_FEATURES
12178 if test -z "$defaultval"; then
12179 if test x"$enablestring" = xdisable; then
12180 defaultval=yes
12181 else
12182 defaultval=no
12183 fi
12184 fi
12185
12186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12187 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12188 # Check whether --enable-commondlg was given.
12189 if test "${enable_commondlg+set}" = set; then
12190 enableval=$enable_commondlg;
12191 if test "$enableval" = yes; then
12192 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12193 else
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12195 fi
12196
12197 else
12198
12199 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12200
12201 fi
12202
12203
12204 eval "$wx_cv_use_commondlg"
12205
12206 if test x"$enablestring" = xdisable; then
12207 if test $wxUSE_COMMONDLGS = yes; then
12208 result=no
12209 else
12210 result=yes
12211 fi
12212 else
12213 result=$wxUSE_COMMONDLGS
12214 fi
12215
12216 { echo "$as_me:$LINENO: result: $result" >&5
12217 echo "${ECHO_T}$result" >&6; }
12218
12219
12220 enablestring=
12221 defaultval=$wxUSE_ALL_FEATURES
12222 if test -z "$defaultval"; then
12223 if test x"$enablestring" = xdisable; then
12224 defaultval=yes
12225 else
12226 defaultval=no
12227 fi
12228 fi
12229
12230 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12231 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12232 # Check whether --enable-aboutdlg was given.
12233 if test "${enable_aboutdlg+set}" = set; then
12234 enableval=$enable_aboutdlg;
12235 if test "$enableval" = yes; then
12236 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12237 else
12238 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12239 fi
12240
12241 else
12242
12243 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12244
12245 fi
12246
12247
12248 eval "$wx_cv_use_aboutdlg"
12249
12250 if test x"$enablestring" = xdisable; then
12251 if test $wxUSE_ABOUTDLG = yes; then
12252 result=no
12253 else
12254 result=yes
12255 fi
12256 else
12257 result=$wxUSE_ABOUTDLG
12258 fi
12259
12260 { echo "$as_me:$LINENO: result: $result" >&5
12261 echo "${ECHO_T}$result" >&6; }
12262
12263
12264 enablestring=
12265 defaultval=$wxUSE_ALL_FEATURES
12266 if test -z "$defaultval"; then
12267 if test x"$enablestring" = xdisable; then
12268 defaultval=yes
12269 else
12270 defaultval=no
12271 fi
12272 fi
12273
12274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12275 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12276 # Check whether --enable-choicedlg was given.
12277 if test "${enable_choicedlg+set}" = set; then
12278 enableval=$enable_choicedlg;
12279 if test "$enableval" = yes; then
12280 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12281 else
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12283 fi
12284
12285 else
12286
12287 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12288
12289 fi
12290
12291
12292 eval "$wx_cv_use_choicedlg"
12293
12294 if test x"$enablestring" = xdisable; then
12295 if test $wxUSE_CHOICEDLG = yes; then
12296 result=no
12297 else
12298 result=yes
12299 fi
12300 else
12301 result=$wxUSE_CHOICEDLG
12302 fi
12303
12304 { echo "$as_me:$LINENO: result: $result" >&5
12305 echo "${ECHO_T}$result" >&6; }
12306
12307
12308 enablestring=
12309 defaultval=$wxUSE_ALL_FEATURES
12310 if test -z "$defaultval"; then
12311 if test x"$enablestring" = xdisable; then
12312 defaultval=yes
12313 else
12314 defaultval=no
12315 fi
12316 fi
12317
12318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12319 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12320 # Check whether --enable-coldlg was given.
12321 if test "${enable_coldlg+set}" = set; then
12322 enableval=$enable_coldlg;
12323 if test "$enableval" = yes; then
12324 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12325 else
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12327 fi
12328
12329 else
12330
12331 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12332
12333 fi
12334
12335
12336 eval "$wx_cv_use_coldlg"
12337
12338 if test x"$enablestring" = xdisable; then
12339 if test $wxUSE_COLOURDLG = yes; then
12340 result=no
12341 else
12342 result=yes
12343 fi
12344 else
12345 result=$wxUSE_COLOURDLG
12346 fi
12347
12348 { echo "$as_me:$LINENO: result: $result" >&5
12349 echo "${ECHO_T}$result" >&6; }
12350
12351
12352 enablestring=
12353 defaultval=$wxUSE_ALL_FEATURES
12354 if test -z "$defaultval"; then
12355 if test x"$enablestring" = xdisable; then
12356 defaultval=yes
12357 else
12358 defaultval=no
12359 fi
12360 fi
12361
12362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12363 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12364 # Check whether --enable-filedlg was given.
12365 if test "${enable_filedlg+set}" = set; then
12366 enableval=$enable_filedlg;
12367 if test "$enableval" = yes; then
12368 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12369 else
12370 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12371 fi
12372
12373 else
12374
12375 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12376
12377 fi
12378
12379
12380 eval "$wx_cv_use_filedlg"
12381
12382 if test x"$enablestring" = xdisable; then
12383 if test $wxUSE_FILEDLG = yes; then
12384 result=no
12385 else
12386 result=yes
12387 fi
12388 else
12389 result=$wxUSE_FILEDLG
12390 fi
12391
12392 { echo "$as_me:$LINENO: result: $result" >&5
12393 echo "${ECHO_T}$result" >&6; }
12394
12395
12396 enablestring=
12397 defaultval=$wxUSE_ALL_FEATURES
12398 if test -z "$defaultval"; then
12399 if test x"$enablestring" = xdisable; then
12400 defaultval=yes
12401 else
12402 defaultval=no
12403 fi
12404 fi
12405
12406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12407 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12408 # Check whether --enable-finddlg was given.
12409 if test "${enable_finddlg+set}" = set; then
12410 enableval=$enable_finddlg;
12411 if test "$enableval" = yes; then
12412 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12413 else
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12415 fi
12416
12417 else
12418
12419 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12420
12421 fi
12422
12423
12424 eval "$wx_cv_use_finddlg"
12425
12426 if test x"$enablestring" = xdisable; then
12427 if test $wxUSE_FINDREPLDLG = yes; then
12428 result=no
12429 else
12430 result=yes
12431 fi
12432 else
12433 result=$wxUSE_FINDREPLDLG
12434 fi
12435
12436 { echo "$as_me:$LINENO: result: $result" >&5
12437 echo "${ECHO_T}$result" >&6; }
12438
12439
12440 enablestring=
12441 defaultval=$wxUSE_ALL_FEATURES
12442 if test -z "$defaultval"; then
12443 if test x"$enablestring" = xdisable; then
12444 defaultval=yes
12445 else
12446 defaultval=no
12447 fi
12448 fi
12449
12450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12451 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12452 # Check whether --enable-fontdlg was given.
12453 if test "${enable_fontdlg+set}" = set; then
12454 enableval=$enable_fontdlg;
12455 if test "$enableval" = yes; then
12456 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12457 else
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12459 fi
12460
12461 else
12462
12463 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12464
12465 fi
12466
12467
12468 eval "$wx_cv_use_fontdlg"
12469
12470 if test x"$enablestring" = xdisable; then
12471 if test $wxUSE_FONTDLG = yes; then
12472 result=no
12473 else
12474 result=yes
12475 fi
12476 else
12477 result=$wxUSE_FONTDLG
12478 fi
12479
12480 { echo "$as_me:$LINENO: result: $result" >&5
12481 echo "${ECHO_T}$result" >&6; }
12482
12483
12484 enablestring=
12485 defaultval=$wxUSE_ALL_FEATURES
12486 if test -z "$defaultval"; then
12487 if test x"$enablestring" = xdisable; then
12488 defaultval=yes
12489 else
12490 defaultval=no
12491 fi
12492 fi
12493
12494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12495 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12496 # Check whether --enable-dirdlg was given.
12497 if test "${enable_dirdlg+set}" = set; then
12498 enableval=$enable_dirdlg;
12499 if test "$enableval" = yes; then
12500 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12501 else
12502 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12503 fi
12504
12505 else
12506
12507 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12508
12509 fi
12510
12511
12512 eval "$wx_cv_use_dirdlg"
12513
12514 if test x"$enablestring" = xdisable; then
12515 if test $wxUSE_DIRDLG = yes; then
12516 result=no
12517 else
12518 result=yes
12519 fi
12520 else
12521 result=$wxUSE_DIRDLG
12522 fi
12523
12524 { echo "$as_me:$LINENO: result: $result" >&5
12525 echo "${ECHO_T}$result" >&6; }
12526
12527
12528 enablestring=
12529 defaultval=$wxUSE_ALL_FEATURES
12530 if test -z "$defaultval"; then
12531 if test x"$enablestring" = xdisable; then
12532 defaultval=yes
12533 else
12534 defaultval=no
12535 fi
12536 fi
12537
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12540 # Check whether --enable-msgdlg was given.
12541 if test "${enable_msgdlg+set}" = set; then
12542 enableval=$enable_msgdlg;
12543 if test "$enableval" = yes; then
12544 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12545 else
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12547 fi
12548
12549 else
12550
12551 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12552
12553 fi
12554
12555
12556 eval "$wx_cv_use_msgdlg"
12557
12558 if test x"$enablestring" = xdisable; then
12559 if test $wxUSE_MSGDLG = yes; then
12560 result=no
12561 else
12562 result=yes
12563 fi
12564 else
12565 result=$wxUSE_MSGDLG
12566 fi
12567
12568 { echo "$as_me:$LINENO: result: $result" >&5
12569 echo "${ECHO_T}$result" >&6; }
12570
12571
12572 enablestring=
12573 defaultval=$wxUSE_ALL_FEATURES
12574 if test -z "$defaultval"; then
12575 if test x"$enablestring" = xdisable; then
12576 defaultval=yes
12577 else
12578 defaultval=no
12579 fi
12580 fi
12581
12582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12583 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12584 # Check whether --enable-numberdlg was given.
12585 if test "${enable_numberdlg+set}" = set; then
12586 enableval=$enable_numberdlg;
12587 if test "$enableval" = yes; then
12588 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12589 else
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12591 fi
12592
12593 else
12594
12595 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12596
12597 fi
12598
12599
12600 eval "$wx_cv_use_numberdlg"
12601
12602 if test x"$enablestring" = xdisable; then
12603 if test $wxUSE_NUMBERDLG = yes; then
12604 result=no
12605 else
12606 result=yes
12607 fi
12608 else
12609 result=$wxUSE_NUMBERDLG
12610 fi
12611
12612 { echo "$as_me:$LINENO: result: $result" >&5
12613 echo "${ECHO_T}$result" >&6; }
12614
12615
12616 enablestring=
12617 defaultval=$wxUSE_ALL_FEATURES
12618 if test -z "$defaultval"; then
12619 if test x"$enablestring" = xdisable; then
12620 defaultval=yes
12621 else
12622 defaultval=no
12623 fi
12624 fi
12625
12626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12627 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12628 # Check whether --enable-splash was given.
12629 if test "${enable_splash+set}" = set; then
12630 enableval=$enable_splash;
12631 if test "$enableval" = yes; then
12632 wx_cv_use_splash='wxUSE_SPLASH=yes'
12633 else
12634 wx_cv_use_splash='wxUSE_SPLASH=no'
12635 fi
12636
12637 else
12638
12639 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12640
12641 fi
12642
12643
12644 eval "$wx_cv_use_splash"
12645
12646 if test x"$enablestring" = xdisable; then
12647 if test $wxUSE_SPLASH = yes; then
12648 result=no
12649 else
12650 result=yes
12651 fi
12652 else
12653 result=$wxUSE_SPLASH
12654 fi
12655
12656 { echo "$as_me:$LINENO: result: $result" >&5
12657 echo "${ECHO_T}$result" >&6; }
12658
12659
12660 enablestring=
12661 defaultval=$wxUSE_ALL_FEATURES
12662 if test -z "$defaultval"; then
12663 if test x"$enablestring" = xdisable; then
12664 defaultval=yes
12665 else
12666 defaultval=no
12667 fi
12668 fi
12669
12670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12671 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12672 # Check whether --enable-textdlg was given.
12673 if test "${enable_textdlg+set}" = set; then
12674 enableval=$enable_textdlg;
12675 if test "$enableval" = yes; then
12676 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12677 else
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12679 fi
12680
12681 else
12682
12683 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12684
12685 fi
12686
12687
12688 eval "$wx_cv_use_textdlg"
12689
12690 if test x"$enablestring" = xdisable; then
12691 if test $wxUSE_TEXTDLG = yes; then
12692 result=no
12693 else
12694 result=yes
12695 fi
12696 else
12697 result=$wxUSE_TEXTDLG
12698 fi
12699
12700 { echo "$as_me:$LINENO: result: $result" >&5
12701 echo "${ECHO_T}$result" >&6; }
12702
12703
12704 enablestring=
12705 defaultval=$wxUSE_ALL_FEATURES
12706 if test -z "$defaultval"; then
12707 if test x"$enablestring" = xdisable; then
12708 defaultval=yes
12709 else
12710 defaultval=no
12711 fi
12712 fi
12713
12714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12715 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12716 # Check whether --enable-tipdlg was given.
12717 if test "${enable_tipdlg+set}" = set; then
12718 enableval=$enable_tipdlg;
12719 if test "$enableval" = yes; then
12720 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12721 else
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12723 fi
12724
12725 else
12726
12727 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12728
12729 fi
12730
12731
12732 eval "$wx_cv_use_tipdlg"
12733
12734 if test x"$enablestring" = xdisable; then
12735 if test $wxUSE_STARTUP_TIPS = yes; then
12736 result=no
12737 else
12738 result=yes
12739 fi
12740 else
12741 result=$wxUSE_STARTUP_TIPS
12742 fi
12743
12744 { echo "$as_me:$LINENO: result: $result" >&5
12745 echo "${ECHO_T}$result" >&6; }
12746
12747
12748 enablestring=
12749 defaultval=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x"$enablestring" = xdisable; then
12752 defaultval=yes
12753 else
12754 defaultval=no
12755 fi
12756 fi
12757
12758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12759 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12760 # Check whether --enable-progressdlg was given.
12761 if test "${enable_progressdlg+set}" = set; then
12762 enableval=$enable_progressdlg;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12765 else
12766 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12767 fi
12768
12769 else
12770
12771 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12772
12773 fi
12774
12775
12776 eval "$wx_cv_use_progressdlg"
12777
12778 if test x"$enablestring" = xdisable; then
12779 if test $wxUSE_PROGRESSDLG = yes; then
12780 result=no
12781 else
12782 result=yes
12783 fi
12784 else
12785 result=$wxUSE_PROGRESSDLG
12786 fi
12787
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12790
12791
12792 enablestring=
12793 defaultval=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x"$enablestring" = xdisable; then
12796 defaultval=yes
12797 else
12798 defaultval=no
12799 fi
12800 fi
12801
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12804 # Check whether --enable-wizarddlg was given.
12805 if test "${enable_wizarddlg+set}" = set; then
12806 enableval=$enable_wizarddlg;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12809 else
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12811 fi
12812
12813 else
12814
12815 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12816
12817 fi
12818
12819
12820 eval "$wx_cv_use_wizarddlg"
12821
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_WIZARDDLG = yes; then
12824 result=no
12825 else
12826 result=yes
12827 fi
12828 else
12829 result=$wxUSE_WIZARDDLG
12830 fi
12831
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12834
12835
12836
12837
12838 enablestring=
12839 defaultval=$wxUSE_ALL_FEATURES
12840 if test -z "$defaultval"; then
12841 if test x"$enablestring" = xdisable; then
12842 defaultval=yes
12843 else
12844 defaultval=no
12845 fi
12846 fi
12847
12848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12849 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12850 # Check whether --enable-menus was given.
12851 if test "${enable_menus+set}" = set; then
12852 enableval=$enable_menus;
12853 if test "$enableval" = yes; then
12854 wx_cv_use_menus='wxUSE_MENUS=yes'
12855 else
12856 wx_cv_use_menus='wxUSE_MENUS=no'
12857 fi
12858
12859 else
12860
12861 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12862
12863 fi
12864
12865
12866 eval "$wx_cv_use_menus"
12867
12868 if test x"$enablestring" = xdisable; then
12869 if test $wxUSE_MENUS = yes; then
12870 result=no
12871 else
12872 result=yes
12873 fi
12874 else
12875 result=$wxUSE_MENUS
12876 fi
12877
12878 { echo "$as_me:$LINENO: result: $result" >&5
12879 echo "${ECHO_T}$result" >&6; }
12880
12881
12882 enablestring=
12883 defaultval=$wxUSE_ALL_FEATURES
12884 if test -z "$defaultval"; then
12885 if test x"$enablestring" = xdisable; then
12886 defaultval=yes
12887 else
12888 defaultval=no
12889 fi
12890 fi
12891
12892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12893 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12894 # Check whether --enable-miniframe was given.
12895 if test "${enable_miniframe+set}" = set; then
12896 enableval=$enable_miniframe;
12897 if test "$enableval" = yes; then
12898 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12899 else
12900 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12901 fi
12902
12903 else
12904
12905 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12906
12907 fi
12908
12909
12910 eval "$wx_cv_use_miniframe"
12911
12912 if test x"$enablestring" = xdisable; then
12913 if test $wxUSE_MINIFRAME = yes; then
12914 result=no
12915 else
12916 result=yes
12917 fi
12918 else
12919 result=$wxUSE_MINIFRAME
12920 fi
12921
12922 { echo "$as_me:$LINENO: result: $result" >&5
12923 echo "${ECHO_T}$result" >&6; }
12924
12925
12926 enablestring=
12927 defaultval=$wxUSE_ALL_FEATURES
12928 if test -z "$defaultval"; then
12929 if test x"$enablestring" = xdisable; then
12930 defaultval=yes
12931 else
12932 defaultval=no
12933 fi
12934 fi
12935
12936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12937 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12938 # Check whether --enable-tooltips was given.
12939 if test "${enable_tooltips+set}" = set; then
12940 enableval=$enable_tooltips;
12941 if test "$enableval" = yes; then
12942 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12943 else
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12945 fi
12946
12947 else
12948
12949 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12950
12951 fi
12952
12953
12954 eval "$wx_cv_use_tooltips"
12955
12956 if test x"$enablestring" = xdisable; then
12957 if test $wxUSE_TOOLTIPS = yes; then
12958 result=no
12959 else
12960 result=yes
12961 fi
12962 else
12963 result=$wxUSE_TOOLTIPS
12964 fi
12965
12966 { echo "$as_me:$LINENO: result: $result" >&5
12967 echo "${ECHO_T}$result" >&6; }
12968
12969
12970 enablestring=
12971 defaultval=$wxUSE_ALL_FEATURES
12972 if test -z "$defaultval"; then
12973 if test x"$enablestring" = xdisable; then
12974 defaultval=yes
12975 else
12976 defaultval=no
12977 fi
12978 fi
12979
12980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12981 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12982 # Check whether --enable-splines was given.
12983 if test "${enable_splines+set}" = set; then
12984 enableval=$enable_splines;
12985 if test "$enableval" = yes; then
12986 wx_cv_use_splines='wxUSE_SPLINES=yes'
12987 else
12988 wx_cv_use_splines='wxUSE_SPLINES=no'
12989 fi
12990
12991 else
12992
12993 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12994
12995 fi
12996
12997
12998 eval "$wx_cv_use_splines"
12999
13000 if test x"$enablestring" = xdisable; then
13001 if test $wxUSE_SPLINES = yes; then
13002 result=no
13003 else
13004 result=yes
13005 fi
13006 else
13007 result=$wxUSE_SPLINES
13008 fi
13009
13010 { echo "$as_me:$LINENO: result: $result" >&5
13011 echo "${ECHO_T}$result" >&6; }
13012
13013
13014 enablestring=
13015 defaultval=$wxUSE_ALL_FEATURES
13016 if test -z "$defaultval"; then
13017 if test x"$enablestring" = xdisable; then
13018 defaultval=yes
13019 else
13020 defaultval=no
13021 fi
13022 fi
13023
13024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13025 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13026 # Check whether --enable-mousewheel was given.
13027 if test "${enable_mousewheel+set}" = set; then
13028 enableval=$enable_mousewheel;
13029 if test "$enableval" = yes; then
13030 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13031 else
13032 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13033 fi
13034
13035 else
13036
13037 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13038
13039 fi
13040
13041
13042 eval "$wx_cv_use_mousewheel"
13043
13044 if test x"$enablestring" = xdisable; then
13045 if test $wxUSE_MOUSEWHEEL = yes; then
13046 result=no
13047 else
13048 result=yes
13049 fi
13050 else
13051 result=$wxUSE_MOUSEWHEEL
13052 fi
13053
13054 { echo "$as_me:$LINENO: result: $result" >&5
13055 echo "${ECHO_T}$result" >&6; }
13056
13057
13058 enablestring=
13059 defaultval=$wxUSE_ALL_FEATURES
13060 if test -z "$defaultval"; then
13061 if test x"$enablestring" = xdisable; then
13062 defaultval=yes
13063 else
13064 defaultval=no
13065 fi
13066 fi
13067
13068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13070 # Check whether --enable-validators was given.
13071 if test "${enable_validators+set}" = set; then
13072 enableval=$enable_validators;
13073 if test "$enableval" = yes; then
13074 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13075 else
13076 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13077 fi
13078
13079 else
13080
13081 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13082
13083 fi
13084
13085
13086 eval "$wx_cv_use_validators"
13087
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_VALIDATORS = yes; then
13090 result=no
13091 else
13092 result=yes
13093 fi
13094 else
13095 result=$wxUSE_VALIDATORS
13096 fi
13097
13098 { echo "$as_me:$LINENO: result: $result" >&5
13099 echo "${ECHO_T}$result" >&6; }
13100
13101
13102 enablestring=
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13106 defaultval=yes
13107 else
13108 defaultval=no
13109 fi
13110 fi
13111
13112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13113 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13114 # Check whether --enable-busyinfo was given.
13115 if test "${enable_busyinfo+set}" = set; then
13116 enableval=$enable_busyinfo;
13117 if test "$enableval" = yes; then
13118 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13119 else
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13121 fi
13122
13123 else
13124
13125 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13126
13127 fi
13128
13129
13130 eval "$wx_cv_use_busyinfo"
13131
13132 if test x"$enablestring" = xdisable; then
13133 if test $wxUSE_BUSYINFO = yes; then
13134 result=no
13135 else
13136 result=yes
13137 fi
13138 else
13139 result=$wxUSE_BUSYINFO
13140 fi
13141
13142 { echo "$as_me:$LINENO: result: $result" >&5
13143 echo "${ECHO_T}$result" >&6; }
13144
13145
13146 enablestring=
13147 defaultval=$wxUSE_ALL_FEATURES
13148 if test -z "$defaultval"; then
13149 if test x"$enablestring" = xdisable; then
13150 defaultval=yes
13151 else
13152 defaultval=no
13153 fi
13154 fi
13155
13156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13157 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13158 # Check whether --enable-joystick was given.
13159 if test "${enable_joystick+set}" = set; then
13160 enableval=$enable_joystick;
13161 if test "$enableval" = yes; then
13162 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13163 else
13164 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13165 fi
13166
13167 else
13168
13169 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13170
13171 fi
13172
13173
13174 eval "$wx_cv_use_joystick"
13175
13176 if test x"$enablestring" = xdisable; then
13177 if test $wxUSE_JOYSTICK = yes; then
13178 result=no
13179 else
13180 result=yes
13181 fi
13182 else
13183 result=$wxUSE_JOYSTICK
13184 fi
13185
13186 { echo "$as_me:$LINENO: result: $result" >&5
13187 echo "${ECHO_T}$result" >&6; }
13188
13189
13190 enablestring=
13191 defaultval=$wxUSE_ALL_FEATURES
13192 if test -z "$defaultval"; then
13193 if test x"$enablestring" = xdisable; then
13194 defaultval=yes
13195 else
13196 defaultval=no
13197 fi
13198 fi
13199
13200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13201 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13202 # Check whether --enable-metafile was given.
13203 if test "${enable_metafile+set}" = set; then
13204 enableval=$enable_metafile;
13205 if test "$enableval" = yes; then
13206 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13207 else
13208 wx_cv_use_metafile='wxUSE_METAFILE=no'
13209 fi
13210
13211 else
13212
13213 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13214
13215 fi
13216
13217
13218 eval "$wx_cv_use_metafile"
13219
13220 if test x"$enablestring" = xdisable; then
13221 if test $wxUSE_METAFILE = yes; then
13222 result=no
13223 else
13224 result=yes
13225 fi
13226 else
13227 result=$wxUSE_METAFILE
13228 fi
13229
13230 { echo "$as_me:$LINENO: result: $result" >&5
13231 echo "${ECHO_T}$result" >&6; }
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13246 # Check whether --enable-dragimage was given.
13247 if test "${enable_dragimage+set}" = set; then
13248 enableval=$enable_dragimage;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13251 else
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13253 fi
13254
13255 else
13256
13257 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13258
13259 fi
13260
13261
13262 eval "$wx_cv_use_dragimage"
13263
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_DRAGIMAGE = yes; then
13266 result=no
13267 else
13268 result=yes
13269 fi
13270 else
13271 result=$wxUSE_DRAGIMAGE
13272 fi
13273
13274 { echo "$as_me:$LINENO: result: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13276
13277
13278 enablestring=
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13282 defaultval=yes
13283 else
13284 defaultval=no
13285 fi
13286 fi
13287
13288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13289 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13290 # Check whether --enable-accessibility was given.
13291 if test "${enable_accessibility+set}" = set; then
13292 enableval=$enable_accessibility;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13295 else
13296 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13297 fi
13298
13299 else
13300
13301 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13302
13303 fi
13304
13305
13306 eval "$wx_cv_use_accessibility"
13307
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_ACCESSIBILITY = yes; then
13310 result=no
13311 else
13312 result=yes
13313 fi
13314 else
13315 result=$wxUSE_ACCESSIBILITY
13316 fi
13317
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13320
13321
13322
13323
13324 enablestring=
13325 defaultval=$wxUSE_ALL_FEATURES
13326 if test -z "$defaultval"; then
13327 if test x"$enablestring" = xdisable; then
13328 defaultval=yes
13329 else
13330 defaultval=no
13331 fi
13332 fi
13333
13334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13335 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13336 # Check whether --enable-palette was given.
13337 if test "${enable_palette+set}" = set; then
13338 enableval=$enable_palette;
13339 if test "$enableval" = yes; then
13340 wx_cv_use_palette='wxUSE_PALETTE=yes'
13341 else
13342 wx_cv_use_palette='wxUSE_PALETTE=no'
13343 fi
13344
13345 else
13346
13347 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13348
13349 fi
13350
13351
13352 eval "$wx_cv_use_palette"
13353
13354 if test x"$enablestring" = xdisable; then
13355 if test $wxUSE_PALETTE = yes; then
13356 result=no
13357 else
13358 result=yes
13359 fi
13360 else
13361 result=$wxUSE_PALETTE
13362 fi
13363
13364 { echo "$as_me:$LINENO: result: $result" >&5
13365 echo "${ECHO_T}$result" >&6; }
13366
13367
13368 enablestring=
13369 defaultval=$wxUSE_ALL_FEATURES
13370 if test -z "$defaultval"; then
13371 if test x"$enablestring" = xdisable; then
13372 defaultval=yes
13373 else
13374 defaultval=no
13375 fi
13376 fi
13377
13378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13379 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13380 # Check whether --enable-image was given.
13381 if test "${enable_image+set}" = set; then
13382 enableval=$enable_image;
13383 if test "$enableval" = yes; then
13384 wx_cv_use_image='wxUSE_IMAGE=yes'
13385 else
13386 wx_cv_use_image='wxUSE_IMAGE=no'
13387 fi
13388
13389 else
13390
13391 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13392
13393 fi
13394
13395
13396 eval "$wx_cv_use_image"
13397
13398 if test x"$enablestring" = xdisable; then
13399 if test $wxUSE_IMAGE = yes; then
13400 result=no
13401 else
13402 result=yes
13403 fi
13404 else
13405 result=$wxUSE_IMAGE
13406 fi
13407
13408 { echo "$as_me:$LINENO: result: $result" >&5
13409 echo "${ECHO_T}$result" >&6; }
13410
13411
13412 enablestring=
13413 defaultval=$wxUSE_ALL_FEATURES
13414 if test -z "$defaultval"; then
13415 if test x"$enablestring" = xdisable; then
13416 defaultval=yes
13417 else
13418 defaultval=no
13419 fi
13420 fi
13421
13422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13423 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13424 # Check whether --enable-gif was given.
13425 if test "${enable_gif+set}" = set; then
13426 enableval=$enable_gif;
13427 if test "$enableval" = yes; then
13428 wx_cv_use_gif='wxUSE_GIF=yes'
13429 else
13430 wx_cv_use_gif='wxUSE_GIF=no'
13431 fi
13432
13433 else
13434
13435 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13436
13437 fi
13438
13439
13440 eval "$wx_cv_use_gif"
13441
13442 if test x"$enablestring" = xdisable; then
13443 if test $wxUSE_GIF = yes; then
13444 result=no
13445 else
13446 result=yes
13447 fi
13448 else
13449 result=$wxUSE_GIF
13450 fi
13451
13452 { echo "$as_me:$LINENO: result: $result" >&5
13453 echo "${ECHO_T}$result" >&6; }
13454
13455
13456 enablestring=
13457 defaultval=$wxUSE_ALL_FEATURES
13458 if test -z "$defaultval"; then
13459 if test x"$enablestring" = xdisable; then
13460 defaultval=yes
13461 else
13462 defaultval=no
13463 fi
13464 fi
13465
13466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13467 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13468 # Check whether --enable-pcx was given.
13469 if test "${enable_pcx+set}" = set; then
13470 enableval=$enable_pcx;
13471 if test "$enableval" = yes; then
13472 wx_cv_use_pcx='wxUSE_PCX=yes'
13473 else
13474 wx_cv_use_pcx='wxUSE_PCX=no'
13475 fi
13476
13477 else
13478
13479 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13480
13481 fi
13482
13483
13484 eval "$wx_cv_use_pcx"
13485
13486 if test x"$enablestring" = xdisable; then
13487 if test $wxUSE_PCX = yes; then
13488 result=no
13489 else
13490 result=yes
13491 fi
13492 else
13493 result=$wxUSE_PCX
13494 fi
13495
13496 { echo "$as_me:$LINENO: result: $result" >&5
13497 echo "${ECHO_T}$result" >&6; }
13498
13499
13500 enablestring=
13501 defaultval=$wxUSE_ALL_FEATURES
13502 if test -z "$defaultval"; then
13503 if test x"$enablestring" = xdisable; then
13504 defaultval=yes
13505 else
13506 defaultval=no
13507 fi
13508 fi
13509
13510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13511 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13512 # Check whether --enable-tga was given.
13513 if test "${enable_tga+set}" = set; then
13514 enableval=$enable_tga;
13515 if test "$enableval" = yes; then
13516 wx_cv_use_tga='wxUSE_TGA=yes'
13517 else
13518 wx_cv_use_tga='wxUSE_TGA=no'
13519 fi
13520
13521 else
13522
13523 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13524
13525 fi
13526
13527
13528 eval "$wx_cv_use_tga"
13529
13530 if test x"$enablestring" = xdisable; then
13531 if test $wxUSE_TGA = yes; then
13532 result=no
13533 else
13534 result=yes
13535 fi
13536 else
13537 result=$wxUSE_TGA
13538 fi
13539
13540 { echo "$as_me:$LINENO: result: $result" >&5
13541 echo "${ECHO_T}$result" >&6; }
13542
13543
13544 enablestring=
13545 defaultval=$wxUSE_ALL_FEATURES
13546 if test -z "$defaultval"; then
13547 if test x"$enablestring" = xdisable; then
13548 defaultval=yes
13549 else
13550 defaultval=no
13551 fi
13552 fi
13553
13554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13555 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13556 # Check whether --enable-iff was given.
13557 if test "${enable_iff+set}" = set; then
13558 enableval=$enable_iff;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_iff='wxUSE_IFF=yes'
13561 else
13562 wx_cv_use_iff='wxUSE_IFF=no'
13563 fi
13564
13565 else
13566
13567 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13568
13569 fi
13570
13571
13572 eval "$wx_cv_use_iff"
13573
13574 if test x"$enablestring" = xdisable; then
13575 if test $wxUSE_IFF = yes; then
13576 result=no
13577 else
13578 result=yes
13579 fi
13580 else
13581 result=$wxUSE_IFF
13582 fi
13583
13584 { echo "$as_me:$LINENO: result: $result" >&5
13585 echo "${ECHO_T}$result" >&6; }
13586
13587
13588 enablestring=
13589 defaultval=$wxUSE_ALL_FEATURES
13590 if test -z "$defaultval"; then
13591 if test x"$enablestring" = xdisable; then
13592 defaultval=yes
13593 else
13594 defaultval=no
13595 fi
13596 fi
13597
13598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13599 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13600 # Check whether --enable-pnm was given.
13601 if test "${enable_pnm+set}" = set; then
13602 enableval=$enable_pnm;
13603 if test "$enableval" = yes; then
13604 wx_cv_use_pnm='wxUSE_PNM=yes'
13605 else
13606 wx_cv_use_pnm='wxUSE_PNM=no'
13607 fi
13608
13609 else
13610
13611 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13612
13613 fi
13614
13615
13616 eval "$wx_cv_use_pnm"
13617
13618 if test x"$enablestring" = xdisable; then
13619 if test $wxUSE_PNM = yes; then
13620 result=no
13621 else
13622 result=yes
13623 fi
13624 else
13625 result=$wxUSE_PNM
13626 fi
13627
13628 { echo "$as_me:$LINENO: result: $result" >&5
13629 echo "${ECHO_T}$result" >&6; }
13630
13631
13632 enablestring=
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13636 defaultval=yes
13637 else
13638 defaultval=no
13639 fi
13640 fi
13641
13642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13643 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13644 # Check whether --enable-xpm was given.
13645 if test "${enable_xpm+set}" = set; then
13646 enableval=$enable_xpm;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_xpm='wxUSE_XPM=yes'
13649 else
13650 wx_cv_use_xpm='wxUSE_XPM=no'
13651 fi
13652
13653 else
13654
13655 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13656
13657 fi
13658
13659
13660 eval "$wx_cv_use_xpm"
13661
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_XPM = yes; then
13664 result=no
13665 else
13666 result=yes
13667 fi
13668 else
13669 result=$wxUSE_XPM
13670 fi
13671
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13674
13675
13676 enablestring=
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13680 defaultval=yes
13681 else
13682 defaultval=no
13683 fi
13684 fi
13685
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13688 # Check whether --enable-ico_cur was given.
13689 if test "${enable_ico_cur+set}" = set; then
13690 enableval=$enable_ico_cur;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13693 else
13694 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13695 fi
13696
13697 else
13698
13699 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13700
13701 fi
13702
13703
13704 eval "$wx_cv_use_ico_cur"
13705
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_ICO_CUR = yes; then
13708 result=no
13709 else
13710 result=yes
13711 fi
13712 else
13713 result=$wxUSE_ICO_CUR
13714 fi
13715
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13718
13719
13720
13721
13722 enablestring=
13723 defaultval=$wxUSE_ALL_FEATURES
13724 if test -z "$defaultval"; then
13725 if test x"$enablestring" = xdisable; then
13726 defaultval=yes
13727 else
13728 defaultval=no
13729 fi
13730 fi
13731
13732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13733 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13734 # Check whether --enable-dccache was given.
13735 if test "${enable_dccache+set}" = set; then
13736 enableval=$enable_dccache;
13737 if test "$enableval" = yes; then
13738 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13739 else
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13741 fi
13742
13743 else
13744
13745 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13746
13747 fi
13748
13749
13750 eval "$wx_cv_use_dccache"
13751
13752 if test x"$enablestring" = xdisable; then
13753 if test $wxUSE_DC_CACHEING = yes; then
13754 result=no
13755 else
13756 result=yes
13757 fi
13758 else
13759 result=$wxUSE_DC_CACHEING
13760 fi
13761
13762 { echo "$as_me:$LINENO: result: $result" >&5
13763 echo "${ECHO_T}$result" >&6; }
13764
13765
13766 enablestring=
13767 defaultval=$wxUSE_ALL_FEATURES
13768 if test -z "$defaultval"; then
13769 if test x"$enablestring" = xdisable; then
13770 defaultval=yes
13771 else
13772 defaultval=no
13773 fi
13774 fi
13775
13776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13777 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13778 # Check whether --enable-ps-in-msw was given.
13779 if test "${enable_ps_in_msw+set}" = set; then
13780 enableval=$enable_ps_in_msw;
13781 if test "$enableval" = yes; then
13782 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13783 else
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13785 fi
13786
13787 else
13788
13789 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13790
13791 fi
13792
13793
13794 eval "$wx_cv_use_ps_in_msw"
13795
13796 if test x"$enablestring" = xdisable; then
13797 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13798 result=no
13799 else
13800 result=yes
13801 fi
13802 else
13803 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13804 fi
13805
13806 { echo "$as_me:$LINENO: result: $result" >&5
13807 echo "${ECHO_T}$result" >&6; }
13808
13809
13810 enablestring=
13811 defaultval=$wxUSE_ALL_FEATURES
13812 if test -z "$defaultval"; then
13813 if test x"$enablestring" = xdisable; then
13814 defaultval=yes
13815 else
13816 defaultval=no
13817 fi
13818 fi
13819
13820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13821 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13822 # Check whether --enable-ownerdrawn was given.
13823 if test "${enable_ownerdrawn+set}" = set; then
13824 enableval=$enable_ownerdrawn;
13825 if test "$enableval" = yes; then
13826 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13827 else
13828 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13829 fi
13830
13831 else
13832
13833 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13834
13835 fi
13836
13837
13838 eval "$wx_cv_use_ownerdrawn"
13839
13840 if test x"$enablestring" = xdisable; then
13841 if test $wxUSE_OWNER_DRAWN = yes; then
13842 result=no
13843 else
13844 result=yes
13845 fi
13846 else
13847 result=$wxUSE_OWNER_DRAWN
13848 fi
13849
13850 { echo "$as_me:$LINENO: result: $result" >&5
13851 echo "${ECHO_T}$result" >&6; }
13852
13853
13854 enablestring=
13855 defaultval=$wxUSE_ALL_FEATURES
13856 if test -z "$defaultval"; then
13857 if test x"$enablestring" = xdisable; then
13858 defaultval=yes
13859 else
13860 defaultval=no
13861 fi
13862 fi
13863
13864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13865 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13866 # Check whether --enable-uxtheme was given.
13867 if test "${enable_uxtheme+set}" = set; then
13868 enableval=$enable_uxtheme;
13869 if test "$enableval" = yes; then
13870 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13871 else
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13873 fi
13874
13875 else
13876
13877 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13878
13879 fi
13880
13881
13882 eval "$wx_cv_use_uxtheme"
13883
13884 if test x"$enablestring" = xdisable; then
13885 if test $wxUSE_UXTHEME = yes; then
13886 result=no
13887 else
13888 result=yes
13889 fi
13890 else
13891 result=$wxUSE_UXTHEME
13892 fi
13893
13894 { echo "$as_me:$LINENO: result: $result" >&5
13895 echo "${ECHO_T}$result" >&6; }
13896
13897
13898 enablestring=
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13902 defaultval=yes
13903 else
13904 defaultval=no
13905 fi
13906 fi
13907
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13910 # Check whether --enable-wxdib was given.
13911 if test "${enable_wxdib+set}" = set; then
13912 enableval=$enable_wxdib;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_wxdib='wxUSE_DIB=yes'
13915 else
13916 wx_cv_use_wxdib='wxUSE_DIB=no'
13917 fi
13918
13919 else
13920
13921 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13922
13923 fi
13924
13925
13926 eval "$wx_cv_use_wxdib"
13927
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_DIB = yes; then
13930 result=no
13931 else
13932 result=yes
13933 fi
13934 else
13935 result=$wxUSE_DIB
13936 fi
13937
13938 { echo "$as_me:$LINENO: result: $result" >&5
13939 echo "${ECHO_T}$result" >&6; }
13940
13941
13942 if test "$wxUSE_MSW" != 1; then
13943 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13944 fi
13945
13946
13947 enablestring=
13948 defaultval=$wxUSE_ALL_FEATURES
13949 if test -z "$defaultval"; then
13950 if test x"$enablestring" = xdisable; then
13951 defaultval=yes
13952 else
13953 defaultval=no
13954 fi
13955 fi
13956
13957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13958 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13959 # Check whether --enable-autoidman was given.
13960 if test "${enable_autoidman+set}" = set; then
13961 enableval=$enable_autoidman;
13962 if test "$enableval" = yes; then
13963 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13964 else
13965 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13966 fi
13967
13968 else
13969
13970 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13971
13972 fi
13973
13974
13975 eval "$wx_cv_use_autoidman"
13976
13977 if test x"$enablestring" = xdisable; then
13978 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13979 result=no
13980 else
13981 result=yes
13982 fi
13983 else
13984 result=$wxUSE_AUTOID_MANAGEMENT
13985 fi
13986
13987 { echo "$as_me:$LINENO: result: $result" >&5
13988 echo "${ECHO_T}$result" >&6; }
13989
13990
13991 fi
13992
13993
13994 cat >confcache <<\_ACEOF
13995 # This file is a shell script that caches the results of configure
13996 # tests run on this system so they can be shared between configure
13997 # scripts and configure runs, see configure's option --config-cache.
13998 # It is not useful on other systems. If it contains results you don't
13999 # want to keep, you may remove or edit it.
14000 #
14001 # config.status only pays attention to the cache file if you give it
14002 # the --recheck option to rerun configure.
14003 #
14004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14006 # following values.
14007
14008 _ACEOF
14009
14010 # The following way of writing the cache mishandles newlines in values,
14011 # but we know of no workaround that is simple, portable, and efficient.
14012 # So, we kill variables containing newlines.
14013 # Ultrix sh set writes to stderr and can't be redirected directly,
14014 # and sets the high bit in the cache file unless we assign to the vars.
14015 (
14016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14017 eval ac_val=\$$ac_var
14018 case $ac_val in #(
14019 *${as_nl}*)
14020 case $ac_var in #(
14021 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14023 esac
14024 case $ac_var in #(
14025 _ | IFS | as_nl) ;; #(
14026 *) $as_unset $ac_var ;;
14027 esac ;;
14028 esac
14029 done
14030
14031 (set) 2>&1 |
14032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14033 *${as_nl}ac_space=\ *)
14034 # `set' does not quote correctly, so add quotes (double-quote
14035 # substitution turns \\\\ into \\, and sed turns \\ into \).
14036 sed -n \
14037 "s/'/'\\\\''/g;
14038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14039 ;; #(
14040 *)
14041 # `set' quotes correctly as required by POSIX, so do not add quotes.
14042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14043 ;;
14044 esac |
14045 sort
14046 ) |
14047 sed '
14048 /^ac_cv_env_/b end
14049 t clear
14050 :clear
14051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14052 t end
14053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14054 :end' >>confcache
14055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14056 if test -w "$cache_file"; then
14057 test "x$cache_file" != "x/dev/null" &&
14058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14059 echo "$as_me: updating cache $cache_file" >&6;}
14060 cat confcache >$cache_file
14061 else
14062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14064 fi
14065 fi
14066 rm -f confcache
14067
14068 CFLAGS=${CFLAGS:=}
14069
14070
14071
14072 ac_ext=c
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14077 if test -n "$ac_tool_prefix"; then
14078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14082 if test "${ac_cv_prog_CC+set}" = set; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14084 else
14085 if test -n "$CC"; then
14086 ac_cv_prog_CC="$CC" # Let the user override the test.
14087 else
14088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14089 for as_dir in $PATH
14090 do
14091 IFS=$as_save_IFS
14092 test -z "$as_dir" && as_dir=.
14093 for ac_exec_ext in '' $ac_executable_extensions; do
14094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14095 ac_cv_prog_CC="${ac_tool_prefix}gcc"
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 fi
14104 fi
14105 CC=$ac_cv_prog_CC
14106 if test -n "$CC"; then
14107 { echo "$as_me:$LINENO: result: $CC" >&5
14108 echo "${ECHO_T}$CC" >&6; }
14109 else
14110 { echo "$as_me:$LINENO: result: no" >&5
14111 echo "${ECHO_T}no" >&6; }
14112 fi
14113
14114
14115 fi
14116 if test -z "$ac_cv_prog_CC"; then
14117 ac_ct_CC=$CC
14118 # Extract the first word of "gcc", so it can be a program name with args.
14119 set dummy gcc; ac_word=$2
14120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14122 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 if test -n "$ac_ct_CC"; then
14126 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14127 else
14128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14130 do
14131 IFS=$as_save_IFS
14132 test -z "$as_dir" && as_dir=.
14133 for ac_exec_ext in '' $ac_executable_extensions; do
14134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14135 ac_cv_prog_ac_ct_CC="gcc"
14136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14137 break 2
14138 fi
14139 done
14140 done
14141 IFS=$as_save_IFS
14142
14143 fi
14144 fi
14145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14146 if test -n "$ac_ct_CC"; then
14147 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14148 echo "${ECHO_T}$ac_ct_CC" >&6; }
14149 else
14150 { echo "$as_me:$LINENO: result: no" >&5
14151 echo "${ECHO_T}no" >&6; }
14152 fi
14153
14154 if test "x$ac_ct_CC" = x; then
14155 CC=""
14156 else
14157 case $cross_compiling:$ac_tool_warned in
14158 yes:)
14159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14160 whose name does not start with the host triplet. If you think this
14161 configuration is useful to you, please write to autoconf@gnu.org." >&5
14162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14163 whose name does not start with the host triplet. If you think this
14164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14165 ac_tool_warned=yes ;;
14166 esac
14167 CC=$ac_ct_CC
14168 fi
14169 else
14170 CC="$ac_cv_prog_CC"
14171 fi
14172
14173 if test -z "$CC"; then
14174 if test -n "$ac_tool_prefix"; then
14175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14176 set dummy ${ac_tool_prefix}cc; ac_word=$2
14177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14179 if test "${ac_cv_prog_CC+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 else
14182 if test -n "$CC"; then
14183 ac_cv_prog_CC="$CC" # Let the user override the test.
14184 else
14185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186 for as_dir in $PATH
14187 do
14188 IFS=$as_save_IFS
14189 test -z "$as_dir" && as_dir=.
14190 for ac_exec_ext in '' $ac_executable_extensions; do
14191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192 ac_cv_prog_CC="${ac_tool_prefix}cc"
14193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14194 break 2
14195 fi
14196 done
14197 done
14198 IFS=$as_save_IFS
14199
14200 fi
14201 fi
14202 CC=$ac_cv_prog_CC
14203 if test -n "$CC"; then
14204 { echo "$as_me:$LINENO: result: $CC" >&5
14205 echo "${ECHO_T}$CC" >&6; }
14206 else
14207 { echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6; }
14209 fi
14210
14211
14212 fi
14213 fi
14214 if test -z "$CC"; then
14215 # Extract the first word of "cc", so it can be a program name with args.
14216 set dummy cc; ac_word=$2
14217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14219 if test "${ac_cv_prog_CC+set}" = set; then
14220 echo $ECHO_N "(cached) $ECHO_C" >&6
14221 else
14222 if test -n "$CC"; then
14223 ac_cv_prog_CC="$CC" # Let the user override the test.
14224 else
14225 ac_prog_rejected=no
14226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14227 for as_dir in $PATH
14228 do
14229 IFS=$as_save_IFS
14230 test -z "$as_dir" && as_dir=.
14231 for ac_exec_ext in '' $ac_executable_extensions; do
14232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14234 ac_prog_rejected=yes
14235 continue
14236 fi
14237 ac_cv_prog_CC="cc"
14238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14239 break 2
14240 fi
14241 done
14242 done
14243 IFS=$as_save_IFS
14244
14245 if test $ac_prog_rejected = yes; then
14246 # We found a bogon in the path, so make sure we never use it.
14247 set dummy $ac_cv_prog_CC
14248 shift
14249 if test $# != 0; then
14250 # We chose a different compiler from the bogus one.
14251 # However, it has the same basename, so the bogon will be chosen
14252 # first if we set CC to just the basename; use the full file name.
14253 shift
14254 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14255 fi
14256 fi
14257 fi
14258 fi
14259 CC=$ac_cv_prog_CC
14260 if test -n "$CC"; then
14261 { echo "$as_me:$LINENO: result: $CC" >&5
14262 echo "${ECHO_T}$CC" >&6; }
14263 else
14264 { echo "$as_me:$LINENO: result: no" >&5
14265 echo "${ECHO_T}no" >&6; }
14266 fi
14267
14268
14269 fi
14270 if test -z "$CC"; then
14271 if test -n "$ac_tool_prefix"; then
14272 for ac_prog in cl.exe
14273 do
14274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14278 if test "${ac_cv_prog_CC+set}" = set; then
14279 echo $ECHO_N "(cached) $ECHO_C" >&6
14280 else
14281 if test -n "$CC"; then
14282 ac_cv_prog_CC="$CC" # Let the user override the test.
14283 else
14284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14285 for as_dir in $PATH
14286 do
14287 IFS=$as_save_IFS
14288 test -z "$as_dir" && as_dir=.
14289 for ac_exec_ext in '' $ac_executable_extensions; do
14290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14291 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14293 break 2
14294 fi
14295 done
14296 done
14297 IFS=$as_save_IFS
14298
14299 fi
14300 fi
14301 CC=$ac_cv_prog_CC
14302 if test -n "$CC"; then
14303 { echo "$as_me:$LINENO: result: $CC" >&5
14304 echo "${ECHO_T}$CC" >&6; }
14305 else
14306 { echo "$as_me:$LINENO: result: no" >&5
14307 echo "${ECHO_T}no" >&6; }
14308 fi
14309
14310
14311 test -n "$CC" && break
14312 done
14313 fi
14314 if test -z "$CC"; then
14315 ac_ct_CC=$CC
14316 for ac_prog in cl.exe
14317 do
14318 # Extract the first word of "$ac_prog", so it can be a program name with args.
14319 set dummy $ac_prog; ac_word=$2
14320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14324 else
14325 if test -n "$ac_ct_CC"; then
14326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14327 else
14328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14329 for as_dir in $PATH
14330 do
14331 IFS=$as_save_IFS
14332 test -z "$as_dir" && as_dir=.
14333 for ac_exec_ext in '' $ac_executable_extensions; do
14334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14335 ac_cv_prog_ac_ct_CC="$ac_prog"
14336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14337 break 2
14338 fi
14339 done
14340 done
14341 IFS=$as_save_IFS
14342
14343 fi
14344 fi
14345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14346 if test -n "$ac_ct_CC"; then
14347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14348 echo "${ECHO_T}$ac_ct_CC" >&6; }
14349 else
14350 { echo "$as_me:$LINENO: result: no" >&5
14351 echo "${ECHO_T}no" >&6; }
14352 fi
14353
14354
14355 test -n "$ac_ct_CC" && break
14356 done
14357
14358 if test "x$ac_ct_CC" = x; then
14359 CC=""
14360 else
14361 case $cross_compiling:$ac_tool_warned in
14362 yes:)
14363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14364 whose name does not start with the host triplet. If you think this
14365 configuration is useful to you, please write to autoconf@gnu.org." >&5
14366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14367 whose name does not start with the host triplet. If you think this
14368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14369 ac_tool_warned=yes ;;
14370 esac
14371 CC=$ac_ct_CC
14372 fi
14373 fi
14374
14375 fi
14376
14377
14378 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14379 See \`config.log' for more details." >&5
14380 echo "$as_me: error: no acceptable C compiler found in \$PATH
14381 See \`config.log' for more details." >&2;}
14382 { (exit 1); exit 1; }; }
14383
14384 # Provide some information about the compiler.
14385 echo "$as_me:$LINENO: checking for C compiler version" >&5
14386 ac_compiler=`set X $ac_compile; echo $2`
14387 { (ac_try="$ac_compiler --version >&5"
14388 case "(($ac_try" in
14389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14390 *) ac_try_echo=$ac_try;;
14391 esac
14392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14393 (eval "$ac_compiler --version >&5") 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }
14397 { (ac_try="$ac_compiler -v >&5"
14398 case "(($ac_try" in
14399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14400 *) ac_try_echo=$ac_try;;
14401 esac
14402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14403 (eval "$ac_compiler -v >&5") 2>&5
14404 ac_status=$?
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }
14407 { (ac_try="$ac_compiler -V >&5"
14408 case "(($ac_try" in
14409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14410 *) ac_try_echo=$ac_try;;
14411 esac
14412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14413 (eval "$ac_compiler -V >&5") 2>&5
14414 ac_status=$?
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }
14417
14418 cat >conftest.$ac_ext <<_ACEOF
14419 /* confdefs.h. */
14420 _ACEOF
14421 cat confdefs.h >>conftest.$ac_ext
14422 cat >>conftest.$ac_ext <<_ACEOF
14423 /* end confdefs.h. */
14424
14425 int
14426 main ()
14427 {
14428
14429 ;
14430 return 0;
14431 }
14432 _ACEOF
14433 ac_clean_files_save=$ac_clean_files
14434 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14435 # Try to create an executable without -o first, disregard a.out.
14436 # It will help us diagnose broken compilers, and finding out an intuition
14437 # of exeext.
14438 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14439 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14440 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14441 #
14442 # List of possible output files, starting from the most likely.
14443 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14444 # only as a last resort. b.out is created by i960 compilers.
14445 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14446 #
14447 # The IRIX 6 linker writes into existing files which may not be
14448 # executable, retaining their permissions. Remove them first so a
14449 # subsequent execution test works.
14450 ac_rmfiles=
14451 for ac_file in $ac_files
14452 do
14453 case $ac_file in
14454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14455 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14456 esac
14457 done
14458 rm -f $ac_rmfiles
14459
14460 if { (ac_try="$ac_link_default"
14461 case "(($ac_try" in
14462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14463 *) ac_try_echo=$ac_try;;
14464 esac
14465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14466 (eval "$ac_link_default") 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; then
14470 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14471 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14472 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14473 # so that the user can short-circuit this test for compilers unknown to
14474 # Autoconf.
14475 for ac_file in $ac_files ''
14476 do
14477 test -f "$ac_file" || continue
14478 case $ac_file in
14479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14480 ;;
14481 [ab].out )
14482 # We found the default executable, but exeext='' is most
14483 # certainly right.
14484 break;;
14485 *.* )
14486 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14487 then :; else
14488 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14489 fi
14490 # We set ac_cv_exeext here because the later test for it is not
14491 # safe: cross compilers may not add the suffix if given an `-o'
14492 # argument, so we may need to know it at that point already.
14493 # Even if this section looks crufty: it has the advantage of
14494 # actually working.
14495 break;;
14496 * )
14497 break;;
14498 esac
14499 done
14500 test "$ac_cv_exeext" = no && ac_cv_exeext=
14501
14502 else
14503 ac_file=''
14504 fi
14505
14506 { echo "$as_me:$LINENO: result: $ac_file" >&5
14507 echo "${ECHO_T}$ac_file" >&6; }
14508 if test -z "$ac_file"; then
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.$ac_ext >&5
14511
14512 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14513 See \`config.log' for more details." >&5
14514 echo "$as_me: error: C compiler cannot create executables
14515 See \`config.log' for more details." >&2;}
14516 { (exit 77); exit 77; }; }
14517 fi
14518
14519 ac_exeext=$ac_cv_exeext
14520
14521 # Check that the compiler produces executables we can run. If not, either
14522 # the compiler is broken, or we cross compile.
14523 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14524 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14525 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14526 # If not cross compiling, check that we can run a simple program.
14527 if test "$cross_compiling" != yes; then
14528 if { ac_try='./$ac_file'
14529 { (case "(($ac_try" in
14530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14532 esac
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_try") 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 cross_compiling=no
14539 else
14540 if test "$cross_compiling" = maybe; then
14541 cross_compiling=yes
14542 else
14543 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14544 If you meant to cross compile, use \`--host'.
14545 See \`config.log' for more details." >&5
14546 echo "$as_me: error: cannot run C compiled programs.
14547 If you meant to cross compile, use \`--host'.
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14550 fi
14551 fi
14552 fi
14553 { echo "$as_me:$LINENO: result: yes" >&5
14554 echo "${ECHO_T}yes" >&6; }
14555
14556 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14557 ac_clean_files=$ac_clean_files_save
14558 # Check that the compiler produces executables we can run. If not, either
14559 # the compiler is broken, or we cross compile.
14560 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14561 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14562 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14563 echo "${ECHO_T}$cross_compiling" >&6; }
14564
14565 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14566 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14567 if { (ac_try="$ac_link"
14568 case "(($ac_try" in
14569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14570 *) ac_try_echo=$ac_try;;
14571 esac
14572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14573 (eval "$ac_link") 2>&5
14574 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; then
14577 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14578 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14579 # work properly (i.e., refer to `conftest.exe'), while it won't with
14580 # `rm'.
14581 for ac_file in conftest.exe conftest conftest.*; do
14582 test -f "$ac_file" || continue
14583 case $ac_file in
14584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14585 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14586 break;;
14587 * ) break;;
14588 esac
14589 done
14590 else
14591 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14592 See \`config.log' for more details." >&5
14593 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14594 See \`config.log' for more details." >&2;}
14595 { (exit 1); exit 1; }; }
14596 fi
14597
14598 rm -f conftest$ac_cv_exeext
14599 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14600 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14601
14602 rm -f conftest.$ac_ext
14603 EXEEXT=$ac_cv_exeext
14604 ac_exeext=$EXEEXT
14605 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14606 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14607 if test "${ac_cv_objext+set}" = set; then
14608 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 else
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616
14617 int
14618 main ()
14619 {
14620
14621 ;
14622 return 0;
14623 }
14624 _ACEOF
14625 rm -f conftest.o conftest.obj
14626 if { (ac_try="$ac_compile"
14627 case "(($ac_try" in
14628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14629 *) ac_try_echo=$ac_try;;
14630 esac
14631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14632 (eval "$ac_compile") 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; then
14636 for ac_file in conftest.o conftest.obj conftest.*; do
14637 test -f "$ac_file" || continue;
14638 case $ac_file in
14639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14640 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14641 break;;
14642 esac
14643 done
14644 else
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14647
14648 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14649 See \`config.log' for more details." >&5
14650 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14651 See \`config.log' for more details." >&2;}
14652 { (exit 1); exit 1; }; }
14653 fi
14654
14655 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14656 fi
14657 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14658 echo "${ECHO_T}$ac_cv_objext" >&6; }
14659 OBJEXT=$ac_cv_objext
14660 ac_objext=$OBJEXT
14661 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14662 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14663 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672
14673 int
14674 main ()
14675 {
14676 #ifndef __GNUC__
14677 choke me
14678 #endif
14679
14680 ;
14681 return 0;
14682 }
14683 _ACEOF
14684 rm -f conftest.$ac_objext
14685 if { (ac_try="$ac_compile"
14686 case "(($ac_try" in
14687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14688 *) ac_try_echo=$ac_try;;
14689 esac
14690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14691 (eval "$ac_compile") 2>conftest.er1
14692 ac_status=$?
14693 grep -v '^ *+' conftest.er1 >conftest.err
14694 rm -f conftest.er1
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } && {
14698 test -z "$ac_c_werror_flag" ||
14699 test ! -s conftest.err
14700 } && test -s conftest.$ac_objext; then
14701 ac_compiler_gnu=yes
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14705
14706 ac_compiler_gnu=no
14707 fi
14708
14709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14711
14712 fi
14713 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14714 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14715 GCC=`test $ac_compiler_gnu = yes && echo yes`
14716 ac_test_CFLAGS=${CFLAGS+set}
14717 ac_save_CFLAGS=$CFLAGS
14718 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14719 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14720 if test "${ac_cv_prog_cc_g+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723 ac_save_c_werror_flag=$ac_c_werror_flag
14724 ac_c_werror_flag=yes
14725 ac_cv_prog_cc_g=no
14726 CFLAGS="-g"
14727 cat >conftest.$ac_ext <<_ACEOF
14728 /* confdefs.h. */
14729 _ACEOF
14730 cat confdefs.h >>conftest.$ac_ext
14731 cat >>conftest.$ac_ext <<_ACEOF
14732 /* end confdefs.h. */
14733
14734 int
14735 main ()
14736 {
14737
14738 ;
14739 return 0;
14740 }
14741 _ACEOF
14742 rm -f conftest.$ac_objext
14743 if { (ac_try="$ac_compile"
14744 case "(($ac_try" in
14745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14746 *) ac_try_echo=$ac_try;;
14747 esac
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_compile") 2>conftest.er1
14750 ac_status=$?
14751 grep -v '^ *+' conftest.er1 >conftest.err
14752 rm -f conftest.er1
14753 cat conftest.err >&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } && {
14756 test -z "$ac_c_werror_flag" ||
14757 test ! -s conftest.err
14758 } && test -s conftest.$ac_objext; then
14759 ac_cv_prog_cc_g=yes
14760 else
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.$ac_ext >&5
14763
14764 CFLAGS=""
14765 cat >conftest.$ac_ext <<_ACEOF
14766 /* confdefs.h. */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771
14772 int
14773 main ()
14774 {
14775
14776 ;
14777 return 0;
14778 }
14779 _ACEOF
14780 rm -f conftest.$ac_objext
14781 if { (ac_try="$ac_compile"
14782 case "(($ac_try" in
14783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14785 esac
14786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_compile") 2>conftest.er1
14788 ac_status=$?
14789 grep -v '^ *+' conftest.er1 >conftest.err
14790 rm -f conftest.er1
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } && {
14794 test -z "$ac_c_werror_flag" ||
14795 test ! -s conftest.err
14796 } && test -s conftest.$ac_objext; then
14797 :
14798 else
14799 echo "$as_me: failed program was:" >&5
14800 sed 's/^/| /' conftest.$ac_ext >&5
14801
14802 ac_c_werror_flag=$ac_save_c_werror_flag
14803 CFLAGS="-g"
14804 cat >conftest.$ac_ext <<_ACEOF
14805 /* confdefs.h. */
14806 _ACEOF
14807 cat confdefs.h >>conftest.$ac_ext
14808 cat >>conftest.$ac_ext <<_ACEOF
14809 /* end confdefs.h. */
14810
14811 int
14812 main ()
14813 {
14814
14815 ;
14816 return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (ac_try="$ac_compile"
14821 case "(($ac_try" in
14822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823 *) ac_try_echo=$ac_try;;
14824 esac
14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14826 (eval "$ac_compile") 2>conftest.er1
14827 ac_status=$?
14828 grep -v '^ *+' conftest.er1 >conftest.err
14829 rm -f conftest.er1
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } && {
14833 test -z "$ac_c_werror_flag" ||
14834 test ! -s conftest.err
14835 } && test -s conftest.$ac_objext; then
14836 ac_cv_prog_cc_g=yes
14837 else
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14840
14841
14842 fi
14843
14844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 fi
14846
14847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14848 fi
14849
14850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14851 ac_c_werror_flag=$ac_save_c_werror_flag
14852 fi
14853 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14854 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14855 if test "$ac_test_CFLAGS" = set; then
14856 CFLAGS=$ac_save_CFLAGS
14857 elif test $ac_cv_prog_cc_g = yes; then
14858 if test "$GCC" = yes; then
14859 CFLAGS="-g -O2"
14860 else
14861 CFLAGS="-g"
14862 fi
14863 else
14864 if test "$GCC" = yes; then
14865 CFLAGS="-O2"
14866 else
14867 CFLAGS=
14868 fi
14869 fi
14870 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14871 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14872 if test "${ac_cv_prog_cc_c89+set}" = set; then
14873 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 else
14875 ac_cv_prog_cc_c89=no
14876 ac_save_CC=$CC
14877 cat >conftest.$ac_ext <<_ACEOF
14878 /* confdefs.h. */
14879 _ACEOF
14880 cat confdefs.h >>conftest.$ac_ext
14881 cat >>conftest.$ac_ext <<_ACEOF
14882 /* end confdefs.h. */
14883 #include <stdarg.h>
14884 #include <stdio.h>
14885 #include <sys/types.h>
14886 #include <sys/stat.h>
14887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14888 struct buf { int x; };
14889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14890 static char *e (p, i)
14891 char **p;
14892 int i;
14893 {
14894 return p[i];
14895 }
14896 static char *f (char * (*g) (char **, int), char **p, ...)
14897 {
14898 char *s;
14899 va_list v;
14900 va_start (v,p);
14901 s = g (p, va_arg (v,int));
14902 va_end (v);
14903 return s;
14904 }
14905
14906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14907 function prototypes and stuff, but not '\xHH' hex character constants.
14908 These don't provoke an error unfortunately, instead are silently treated
14909 as 'x'. The following induces an error, until -std is added to get
14910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14911 array size at least. It's necessary to write '\x00'==0 to get something
14912 that's true only with -std. */
14913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14914
14915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14916 inside strings and character constants. */
14917 #define FOO(x) 'x'
14918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14919
14920 int test (int i, double x);
14921 struct s1 {int (*f) (int a);};
14922 struct s2 {int (*f) (double a);};
14923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14924 int argc;
14925 char **argv;
14926 int
14927 main ()
14928 {
14929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14930 ;
14931 return 0;
14932 }
14933 _ACEOF
14934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14936 do
14937 CC="$ac_save_CC $ac_arg"
14938 rm -f conftest.$ac_objext
14939 if { (ac_try="$ac_compile"
14940 case "(($ac_try" in
14941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14942 *) ac_try_echo=$ac_try;;
14943 esac
14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14945 (eval "$ac_compile") 2>conftest.er1
14946 ac_status=$?
14947 grep -v '^ *+' conftest.er1 >conftest.err
14948 rm -f conftest.er1
14949 cat conftest.err >&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } && {
14952 test -z "$ac_c_werror_flag" ||
14953 test ! -s conftest.err
14954 } && test -s conftest.$ac_objext; then
14955 ac_cv_prog_cc_c89=$ac_arg
14956 else
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960
14961 fi
14962
14963 rm -f core conftest.err conftest.$ac_objext
14964 test "x$ac_cv_prog_cc_c89" != "xno" && break
14965 done
14966 rm -f conftest.$ac_ext
14967 CC=$ac_save_CC
14968
14969 fi
14970 # AC_CACHE_VAL
14971 case "x$ac_cv_prog_cc_c89" in
14972 x)
14973 { echo "$as_me:$LINENO: result: none needed" >&5
14974 echo "${ECHO_T}none needed" >&6; } ;;
14975 xno)
14976 { echo "$as_me:$LINENO: result: unsupported" >&5
14977 echo "${ECHO_T}unsupported" >&6; } ;;
14978 *)
14979 CC="$CC $ac_cv_prog_cc_c89"
14980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14981 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14982 esac
14983
14984
14985 ac_ext=c
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990
14991
14992
14993
14994 ac_ext=c
14995 ac_cpp='$CPP $CPPFLAGS'
14996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999
15000 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15001 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15002 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 cat >conftest.$ac_ext <<_ACEOF
15006 /* confdefs.h. */
15007 _ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011
15012 int
15013 main ()
15014 {
15015
15016 #ifndef __INTEL_COMPILER
15017 choke me
15018 #endif
15019
15020 ;
15021 return 0;
15022 }
15023 _ACEOF
15024 rm -f conftest.$ac_objext
15025 if { (ac_try="$ac_compile"
15026 case "(($ac_try" in
15027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15028 *) ac_try_echo=$ac_try;;
15029 esac
15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15031 (eval "$ac_compile") 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } && {
15038 test -z "$ac_c_werror_flag" ||
15039 test ! -s conftest.err
15040 } && test -s conftest.$ac_objext; then
15041 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15042 else
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15045
15046 bakefile_cv_c_compiler___INTEL_COMPILER=no
15047
15048 fi
15049
15050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15051
15052
15053 fi
15054 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15055 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15056 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15057 :; INTELCC=yes
15058 else
15059 :;
15060 fi
15061 ac_ext=c
15062 ac_cpp='$CPP $CPPFLAGS'
15063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15066
15067
15068
15069
15070 if test "x$GCC" != "xyes"; then
15071 if test "xCC" = "xC"; then
15072 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15073 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15074 if test "${bakefile_cv_c_exto+set}" = set; then
15075 echo $ECHO_N "(cached) $ECHO_C" >&6
15076 else
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083
15084 int
15085 main ()
15086 {
15087
15088 ;
15089 return 0;
15090 }
15091 _ACEOF
15092 rm -f conftest.$ac_objext conftest.$ac_ext.o
15093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15094 (eval $ac_compile) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; then
15098 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15099 case $ac_file in
15100 conftest.$ac_ext.o)
15101 bakefile_cv_c_exto="-ext o"
15102 ;;
15103 *)
15104 ;;
15105 esac
15106 done
15107 else
15108 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15109 See \`config.log' for more details." >&5
15110 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15111 See \`config.log' for more details." >&2;}
15112 { (exit 1); exit 1; }; }
15113
15114 fi
15115
15116 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15117
15118 fi
15119 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15120 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15121 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15122 if test "c" = "c"; then
15123 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15124 fi
15125 if test "c" = "cxx"; then
15126 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15127 fi
15128 fi
15129
15130 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15131 unset ac_cv_prog_cc_g
15132 ac_test_CFLAGS=${CFLAGS+set}
15133 ac_save_CFLAGS=$CFLAGS
15134 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15135 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15136 if test "${ac_cv_prog_cc_g+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15138 else
15139 ac_save_c_werror_flag=$ac_c_werror_flag
15140 ac_c_werror_flag=yes
15141 ac_cv_prog_cc_g=no
15142 CFLAGS="-g"
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149
15150 int
15151 main ()
15152 {
15153
15154 ;
15155 return 0;
15156 }
15157 _ACEOF
15158 rm -f conftest.$ac_objext
15159 if { (ac_try="$ac_compile"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15163 esac
15164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_compile") 2>conftest.er1
15166 ac_status=$?
15167 grep -v '^ *+' conftest.er1 >conftest.err
15168 rm -f conftest.er1
15169 cat conftest.err >&5
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } && {
15172 test -z "$ac_c_werror_flag" ||
15173 test ! -s conftest.err
15174 } && test -s conftest.$ac_objext; then
15175 ac_cv_prog_cc_g=yes
15176 else
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.$ac_ext >&5
15179
15180 CFLAGS=""
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187
15188 int
15189 main ()
15190 {
15191
15192 ;
15193 return 0;
15194 }
15195 _ACEOF
15196 rm -f conftest.$ac_objext
15197 if { (ac_try="$ac_compile"
15198 case "(($ac_try" in
15199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15200 *) ac_try_echo=$ac_try;;
15201 esac
15202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15203 (eval "$ac_compile") 2>conftest.er1
15204 ac_status=$?
15205 grep -v '^ *+' conftest.er1 >conftest.err
15206 rm -f conftest.er1
15207 cat conftest.err >&5
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); } && {
15210 test -z "$ac_c_werror_flag" ||
15211 test ! -s conftest.err
15212 } && test -s conftest.$ac_objext; then
15213 :
15214 else
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15217
15218 ac_c_werror_flag=$ac_save_c_werror_flag
15219 CFLAGS="-g"
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h. */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15226
15227 int
15228 main ()
15229 {
15230
15231 ;
15232 return 0;
15233 }
15234 _ACEOF
15235 rm -f conftest.$ac_objext
15236 if { (ac_try="$ac_compile"
15237 case "(($ac_try" in
15238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15239 *) ac_try_echo=$ac_try;;
15240 esac
15241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15242 (eval "$ac_compile") 2>conftest.er1
15243 ac_status=$?
15244 grep -v '^ *+' conftest.er1 >conftest.err
15245 rm -f conftest.er1
15246 cat conftest.err >&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && {
15249 test -z "$ac_c_werror_flag" ||
15250 test ! -s conftest.err
15251 } && test -s conftest.$ac_objext; then
15252 ac_cv_prog_cc_g=yes
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15256
15257
15258 fi
15259
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261 fi
15262
15263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 fi
15265
15266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 ac_c_werror_flag=$ac_save_c_werror_flag
15268 fi
15269 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15270 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15271 if test "$ac_test_CFLAGS" = set; then
15272 CFLAGS=$ac_save_CFLAGS
15273 elif test $ac_cv_prog_cc_g = yes; then
15274 if test "$GCC" = yes; then
15275 CFLAGS="-g -O2"
15276 else
15277 CFLAGS="-g"
15278 fi
15279 else
15280 if test "$GCC" = yes; then
15281 CFLAGS="-O2"
15282 else
15283 CFLAGS=
15284 fi
15285 fi
15286 fi
15287 fi
15288
15289 case `uname -s` in
15290 AIX*)
15291
15292
15293 ac_ext=c
15294 ac_cpp='$CPP $CPPFLAGS'
15295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15298
15299 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15300 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15301 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304 cat >conftest.$ac_ext <<_ACEOF
15305 /* confdefs.h. */
15306 _ACEOF
15307 cat confdefs.h >>conftest.$ac_ext
15308 cat >>conftest.$ac_ext <<_ACEOF
15309 /* end confdefs.h. */
15310
15311 int
15312 main ()
15313 {
15314
15315 #ifndef __xlC__
15316 choke me
15317 #endif
15318
15319 ;
15320 return 0;
15321 }
15322 _ACEOF
15323 rm -f conftest.$ac_objext
15324 if { (ac_try="$ac_compile"
15325 case "(($ac_try" in
15326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15327 *) ac_try_echo=$ac_try;;
15328 esac
15329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15330 (eval "$ac_compile") 2>conftest.er1
15331 ac_status=$?
15332 grep -v '^ *+' conftest.er1 >conftest.err
15333 rm -f conftest.er1
15334 cat conftest.err >&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } && {
15337 test -z "$ac_c_werror_flag" ||
15338 test ! -s conftest.err
15339 } && test -s conftest.$ac_objext; then
15340 bakefile_cv_c_compiler___xlC__=yes
15341 else
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15344
15345 bakefile_cv_c_compiler___xlC__=no
15346
15347 fi
15348
15349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350
15351
15352 fi
15353 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15354 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15355 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15356 :; XLCC=yes
15357 else
15358 :;
15359 fi
15360 ac_ext=c
15361 ac_cpp='$CPP $CPPFLAGS'
15362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365
15366
15367
15368 ;;
15369
15370 Darwin)
15371
15372
15373 ac_ext=c
15374 ac_cpp='$CPP $CPPFLAGS'
15375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15378
15379 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15380 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15381 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15382 echo $ECHO_N "(cached) $ECHO_C" >&6
15383 else
15384 cat >conftest.$ac_ext <<_ACEOF
15385 /* confdefs.h. */
15386 _ACEOF
15387 cat confdefs.h >>conftest.$ac_ext
15388 cat >>conftest.$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390
15391 int
15392 main ()
15393 {
15394
15395 #ifndef __MWERKS__
15396 choke me
15397 #endif
15398
15399 ;
15400 return 0;
15401 }
15402 _ACEOF
15403 rm -f conftest.$ac_objext
15404 if { (ac_try="$ac_compile"
15405 case "(($ac_try" in
15406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15408 esac
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_compile") 2>conftest.er1
15411 ac_status=$?
15412 grep -v '^ *+' conftest.er1 >conftest.err
15413 rm -f conftest.er1
15414 cat conftest.err >&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); } && {
15417 test -z "$ac_c_werror_flag" ||
15418 test ! -s conftest.err
15419 } && test -s conftest.$ac_objext; then
15420 bakefile_cv_c_compiler___MWERKS__=yes
15421 else
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.$ac_ext >&5
15424
15425 bakefile_cv_c_compiler___MWERKS__=no
15426
15427 fi
15428
15429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15430
15431
15432 fi
15433 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15434 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15435 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15436 :; MWCC=yes
15437 else
15438 :;
15439 fi
15440 ac_ext=c
15441 ac_cpp='$CPP $CPPFLAGS'
15442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445
15446
15447
15448
15449
15450 ac_ext=c
15451 ac_cpp='$CPP $CPPFLAGS'
15452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15455
15456 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15457 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15458 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 else
15461 cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h. */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15467
15468 int
15469 main ()
15470 {
15471
15472 #ifndef __xlC__
15473 choke me
15474 #endif
15475
15476 ;
15477 return 0;
15478 }
15479 _ACEOF
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest.$ac_objext; then
15497 bakefile_cv_c_compiler___xlC__=yes
15498 else
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15501
15502 bakefile_cv_c_compiler___xlC__=no
15503
15504 fi
15505
15506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15507
15508
15509 fi
15510 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15511 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15512 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15513 :; XLCC=yes
15514 else
15515 :;
15516 fi
15517 ac_ext=c
15518 ac_cpp='$CPP $CPPFLAGS'
15519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15522
15523
15524
15525 ;;
15526
15527 IRIX*)
15528
15529
15530 ac_ext=c
15531 ac_cpp='$CPP $CPPFLAGS'
15532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535
15536 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15537 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15538 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547
15548 int
15549 main ()
15550 {
15551
15552 #ifndef _SGI_COMPILER_VERSION
15553 choke me
15554 #endif
15555
15556 ;
15557 return 0;
15558 }
15559 _ACEOF
15560 rm -f conftest.$ac_objext
15561 if { (ac_try="$ac_compile"
15562 case "(($ac_try" in
15563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564 *) ac_try_echo=$ac_try;;
15565 esac
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567 (eval "$ac_compile") 2>conftest.er1
15568 ac_status=$?
15569 grep -v '^ *+' conftest.er1 >conftest.err
15570 rm -f conftest.er1
15571 cat conftest.err >&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } && {
15574 test -z "$ac_c_werror_flag" ||
15575 test ! -s conftest.err
15576 } && test -s conftest.$ac_objext; then
15577 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15578 else
15579 echo "$as_me: failed program was:" >&5
15580 sed 's/^/| /' conftest.$ac_ext >&5
15581
15582 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15583
15584 fi
15585
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587
15588
15589 fi
15590 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15591 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15592 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15593 :; SGICC=yes
15594 else
15595 :;
15596 fi
15597 ac_ext=c
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15602
15603
15604
15605 ;;
15606
15607 Linux*)
15608
15609
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15615
15616 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15617 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15618 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 cat >conftest.$ac_ext <<_ACEOF
15622 /* confdefs.h. */
15623 _ACEOF
15624 cat confdefs.h >>conftest.$ac_ext
15625 cat >>conftest.$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15627
15628 int
15629 main ()
15630 {
15631
15632 #ifndef __SUNPRO_C
15633 choke me
15634 #endif
15635
15636 ;
15637 return 0;
15638 }
15639 _ACEOF
15640 rm -f conftest.$ac_objext
15641 if { (ac_try="$ac_compile"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_compile") 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest.$ac_objext; then
15657 bakefile_cv_c_compiler___SUNPRO_C=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 bakefile_cv_c_compiler___SUNPRO_C=no
15663
15664 fi
15665
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667
15668
15669 fi
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15671 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15672 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15673 :; SUNCC=yes
15674 else
15675 :;
15676 fi
15677 ac_ext=c
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
15683
15684
15685 ;;
15686
15687 HP-UX*)
15688
15689
15690 ac_ext=c
15691 ac_cpp='$CPP $CPPFLAGS'
15692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15695
15696 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15697 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15698 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 else
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707
15708 int
15709 main ()
15710 {
15711
15712 #ifndef __HP_cc
15713 choke me
15714 #endif
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.$ac_objext
15721 if { (ac_try="$ac_compile"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15725 esac
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_compile") 2>conftest.er1
15728 ac_status=$?
15729 grep -v '^ *+' conftest.er1 >conftest.err
15730 rm -f conftest.er1
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest.$ac_objext; then
15737 bakefile_cv_c_compiler___HP_cc=yes
15738 else
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 bakefile_cv_c_compiler___HP_cc=no
15743
15744 fi
15745
15746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15747
15748
15749 fi
15750 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15751 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15752 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15753 :; HPCC=yes
15754 else
15755 :;
15756 fi
15757 ac_ext=c
15758 ac_cpp='$CPP $CPPFLAGS'
15759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762
15763
15764
15765 ;;
15766
15767 OSF1)
15768
15769
15770 ac_ext=c
15771 ac_cpp='$CPP $CPPFLAGS'
15772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775
15776 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15777 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15778 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787
15788 int
15789 main ()
15790 {
15791
15792 #ifndef __DECC
15793 choke me
15794 #endif
15795
15796 ;
15797 return 0;
15798 }
15799 _ACEOF
15800 rm -f conftest.$ac_objext
15801 if { (ac_try="$ac_compile"
15802 case "(($ac_try" in
15803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15804 *) ac_try_echo=$ac_try;;
15805 esac
15806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15807 (eval "$ac_compile") 2>conftest.er1
15808 ac_status=$?
15809 grep -v '^ *+' conftest.er1 >conftest.err
15810 rm -f conftest.er1
15811 cat conftest.err >&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } && {
15814 test -z "$ac_c_werror_flag" ||
15815 test ! -s conftest.err
15816 } && test -s conftest.$ac_objext; then
15817 bakefile_cv_c_compiler___DECC=yes
15818 else
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.$ac_ext >&5
15821
15822 bakefile_cv_c_compiler___DECC=no
15823
15824 fi
15825
15826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15827
15828
15829 fi
15830 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15831 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15832 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15833 :; COMPAQCC=yes
15834 else
15835 :;
15836 fi
15837 ac_ext=c
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15842
15843
15844
15845 ;;
15846
15847 SunOS)
15848
15849
15850 ac_ext=c
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855
15856 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15857 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15858 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 else
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867
15868 int
15869 main ()
15870 {
15871
15872 #ifndef __SUNPRO_C
15873 choke me
15874 #endif
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (ac_try="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15885 esac
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest.$ac_objext; then
15897 bakefile_cv_c_compiler___SUNPRO_C=yes
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15901
15902 bakefile_cv_c_compiler___SUNPRO_C=no
15903
15904 fi
15905
15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15907
15908
15909 fi
15910 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15911 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15912 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15913 :; SUNCC=yes
15914 else
15915 :;
15916 fi
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924
15925 ;;
15926 esac
15927 fi
15928
15929
15930
15931 ac_ext=c
15932 ac_cpp='$CPP $CPPFLAGS'
15933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15937 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15938 # On Suns, sometimes $CPP names a directory.
15939 if test -n "$CPP" && test -d "$CPP"; then
15940 CPP=
15941 fi
15942 if test -z "$CPP"; then
15943 if test "${ac_cv_prog_CPP+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15945 else
15946 # Double quotes because CPP needs to be expanded
15947 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15948 do
15949 ac_preproc_ok=false
15950 for ac_c_preproc_warn_flag in '' yes
15951 do
15952 # Use a header file that comes with gcc, so configuring glibc
15953 # with a fresh cross-compiler works.
15954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15955 # <limits.h> exists even on freestanding compilers.
15956 # On the NeXT, cc -E runs the code through the compiler's parser,
15957 # not just through cpp. "Syntax error" is here to catch this case.
15958 cat >conftest.$ac_ext <<_ACEOF
15959 /* confdefs.h. */
15960 _ACEOF
15961 cat confdefs.h >>conftest.$ac_ext
15962 cat >>conftest.$ac_ext <<_ACEOF
15963 /* end confdefs.h. */
15964 #ifdef __STDC__
15965 # include <limits.h>
15966 #else
15967 # include <assert.h>
15968 #endif
15969 Syntax error
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 :
15988 else
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.$ac_ext >&5
15991
15992 # Broken: fails on valid input.
15993 continue
15994 fi
15995
15996 rm -f conftest.err conftest.$ac_ext
15997
15998 # OK, works on sane cases. Now check whether nonexistent headers
15999 # can be detected and how.
16000 cat >conftest.$ac_ext <<_ACEOF
16001 /* confdefs.h. */
16002 _ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 #include <ac_nonexistent.h>
16007 _ACEOF
16008 if { (ac_try="$ac_cpp conftest.$ac_ext"
16009 case "(($ac_try" in
16010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16011 *) ac_try_echo=$ac_try;;
16012 esac
16013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } >/dev/null && {
16021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16022 test ! -s conftest.err
16023 }; then
16024 # Broken: success on invalid input.
16025 continue
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030 # Passes both tests.
16031 ac_preproc_ok=:
16032 break
16033 fi
16034
16035 rm -f conftest.err conftest.$ac_ext
16036
16037 done
16038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16039 rm -f conftest.err conftest.$ac_ext
16040 if $ac_preproc_ok; then
16041 break
16042 fi
16043
16044 done
16045 ac_cv_prog_CPP=$CPP
16046
16047 fi
16048 CPP=$ac_cv_prog_CPP
16049 else
16050 ac_cv_prog_CPP=$CPP
16051 fi
16052 { echo "$as_me:$LINENO: result: $CPP" >&5
16053 echo "${ECHO_T}$CPP" >&6; }
16054 ac_preproc_ok=false
16055 for ac_c_preproc_warn_flag in '' yes
16056 do
16057 # Use a header file that comes with gcc, so configuring glibc
16058 # with a fresh cross-compiler works.
16059 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16060 # <limits.h> exists even on freestanding compilers.
16061 # On the NeXT, cc -E runs the code through the compiler's parser,
16062 # not just through cpp. "Syntax error" is here to catch this case.
16063 cat >conftest.$ac_ext <<_ACEOF
16064 /* confdefs.h. */
16065 _ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 #ifdef __STDC__
16070 # include <limits.h>
16071 #else
16072 # include <assert.h>
16073 #endif
16074 Syntax error
16075 _ACEOF
16076 if { (ac_try="$ac_cpp conftest.$ac_ext"
16077 case "(($ac_try" in
16078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16080 esac
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16083 ac_status=$?
16084 grep -v '^ *+' conftest.er1 >conftest.err
16085 rm -f conftest.er1
16086 cat conftest.err >&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } >/dev/null && {
16089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16090 test ! -s conftest.err
16091 }; then
16092 :
16093 else
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16096
16097 # Broken: fails on valid input.
16098 continue
16099 fi
16100
16101 rm -f conftest.err conftest.$ac_ext
16102
16103 # OK, works on sane cases. Now check whether nonexistent headers
16104 # can be detected and how.
16105 cat >conftest.$ac_ext <<_ACEOF
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 #include <ac_nonexistent.h>
16112 _ACEOF
16113 if { (ac_try="$ac_cpp conftest.$ac_ext"
16114 case "(($ac_try" in
16115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16116 *) ac_try_echo=$ac_try;;
16117 esac
16118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16120 ac_status=$?
16121 grep -v '^ *+' conftest.er1 >conftest.err
16122 rm -f conftest.er1
16123 cat conftest.err >&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } >/dev/null && {
16126 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16127 test ! -s conftest.err
16128 }; then
16129 # Broken: success on invalid input.
16130 continue
16131 else
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16134
16135 # Passes both tests.
16136 ac_preproc_ok=:
16137 break
16138 fi
16139
16140 rm -f conftest.err conftest.$ac_ext
16141
16142 done
16143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16144 rm -f conftest.err conftest.$ac_ext
16145 if $ac_preproc_ok; then
16146 :
16147 else
16148 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16149 See \`config.log' for more details." >&5
16150 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16151 See \`config.log' for more details." >&2;}
16152 { (exit 1); exit 1; }; }
16153 fi
16154
16155 ac_ext=c
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16160
16161
16162 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16163 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16164 if test "${ac_cv_path_GREP+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 else
16167 # Extract the first word of "grep ggrep" to use in msg output
16168 if test -z "$GREP"; then
16169 set dummy grep ggrep; ac_prog_name=$2
16170 if test "${ac_cv_path_GREP+set}" = set; then
16171 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 else
16173 ac_path_GREP_found=false
16174 # Loop through the user's path and test for each of PROGNAME-LIST
16175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16176 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16177 do
16178 IFS=$as_save_IFS
16179 test -z "$as_dir" && as_dir=.
16180 for ac_prog in grep ggrep; do
16181 for ac_exec_ext in '' $ac_executable_extensions; do
16182 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16183 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16184 # Check for GNU ac_path_GREP and select it if it is found.
16185 # Check for GNU $ac_path_GREP
16186 case `"$ac_path_GREP" --version 2>&1` in
16187 *GNU*)
16188 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16189 *)
16190 ac_count=0
16191 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16192 while :
16193 do
16194 cat "conftest.in" "conftest.in" >"conftest.tmp"
16195 mv "conftest.tmp" "conftest.in"
16196 cp "conftest.in" "conftest.nl"
16197 echo 'GREP' >> "conftest.nl"
16198 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16199 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16200 ac_count=`expr $ac_count + 1`
16201 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16202 # Best one so far, save it but keep looking for a better one
16203 ac_cv_path_GREP="$ac_path_GREP"
16204 ac_path_GREP_max=$ac_count
16205 fi
16206 # 10*(2^10) chars as input seems more than enough
16207 test $ac_count -gt 10 && break
16208 done
16209 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16210 esac
16211
16212
16213 $ac_path_GREP_found && break 3
16214 done
16215 done
16216
16217 done
16218 IFS=$as_save_IFS
16219
16220
16221 fi
16222
16223 GREP="$ac_cv_path_GREP"
16224 if test -z "$GREP"; then
16225 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16226 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16227 { (exit 1); exit 1; }; }
16228 fi
16229
16230 else
16231 ac_cv_path_GREP=$GREP
16232 fi
16233
16234
16235 fi
16236 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16237 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16238 GREP="$ac_cv_path_GREP"
16239
16240
16241 { echo "$as_me:$LINENO: checking for egrep" >&5
16242 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16243 if test "${ac_cv_path_EGREP+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 else
16246 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16247 then ac_cv_path_EGREP="$GREP -E"
16248 else
16249 # Extract the first word of "egrep" to use in msg output
16250 if test -z "$EGREP"; then
16251 set dummy egrep; ac_prog_name=$2
16252 if test "${ac_cv_path_EGREP+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 ac_path_EGREP_found=false
16256 # Loop through the user's path and test for each of PROGNAME-LIST
16257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16259 do
16260 IFS=$as_save_IFS
16261 test -z "$as_dir" && as_dir=.
16262 for ac_prog in egrep; do
16263 for ac_exec_ext in '' $ac_executable_extensions; do
16264 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16265 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16266 # Check for GNU ac_path_EGREP and select it if it is found.
16267 # Check for GNU $ac_path_EGREP
16268 case `"$ac_path_EGREP" --version 2>&1` in
16269 *GNU*)
16270 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16271 *)
16272 ac_count=0
16273 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16274 while :
16275 do
16276 cat "conftest.in" "conftest.in" >"conftest.tmp"
16277 mv "conftest.tmp" "conftest.in"
16278 cp "conftest.in" "conftest.nl"
16279 echo 'EGREP' >> "conftest.nl"
16280 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16282 ac_count=`expr $ac_count + 1`
16283 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16284 # Best one so far, save it but keep looking for a better one
16285 ac_cv_path_EGREP="$ac_path_EGREP"
16286 ac_path_EGREP_max=$ac_count
16287 fi
16288 # 10*(2^10) chars as input seems more than enough
16289 test $ac_count -gt 10 && break
16290 done
16291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16292 esac
16293
16294
16295 $ac_path_EGREP_found && break 3
16296 done
16297 done
16298
16299 done
16300 IFS=$as_save_IFS
16301
16302
16303 fi
16304
16305 EGREP="$ac_cv_path_EGREP"
16306 if test -z "$EGREP"; then
16307 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16308 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16309 { (exit 1); exit 1; }; }
16310 fi
16311
16312 else
16313 ac_cv_path_EGREP=$EGREP
16314 fi
16315
16316
16317 fi
16318 fi
16319 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16320 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16321 EGREP="$ac_cv_path_EGREP"
16322
16323
16324 if test $ac_cv_c_compiler_gnu = yes; then
16325 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16326 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16327 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 else
16330 ac_pattern="Autoconf.*'x'"
16331 cat >conftest.$ac_ext <<_ACEOF
16332 /* confdefs.h. */
16333 _ACEOF
16334 cat confdefs.h >>conftest.$ac_ext
16335 cat >>conftest.$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16337 #include <sgtty.h>
16338 Autoconf TIOCGETP
16339 _ACEOF
16340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16341 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16342 ac_cv_prog_gcc_traditional=yes
16343 else
16344 ac_cv_prog_gcc_traditional=no
16345 fi
16346 rm -f conftest*
16347
16348
16349 if test $ac_cv_prog_gcc_traditional = no; then
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16356 #include <termio.h>
16357 Autoconf TCGETA
16358 _ACEOF
16359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16360 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16361 ac_cv_prog_gcc_traditional=yes
16362 fi
16363 rm -f conftest*
16364
16365 fi
16366 fi
16367 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16368 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16369 if test $ac_cv_prog_gcc_traditional = yes; then
16370 CC="$CC -traditional"
16371 fi
16372 fi
16373
16374
16375 CXXFLAGS=${CXXFLAGS:=}
16376
16377
16378
16379 ac_ext=cpp
16380 ac_cpp='$CXXCPP $CPPFLAGS'
16381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16384 if test -z "$CXX"; then
16385 if test -n "$CCC"; then
16386 CXX=$CCC
16387 else
16388 if test -n "$ac_tool_prefix"; then
16389 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16390 do
16391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16395 if test "${ac_cv_prog_CXX+set}" = set; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398 if test -n "$CXX"; then
16399 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16400 else
16401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16402 for as_dir in $PATH
16403 do
16404 IFS=$as_save_IFS
16405 test -z "$as_dir" && as_dir=.
16406 for ac_exec_ext in '' $ac_executable_extensions; do
16407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16408 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16410 break 2
16411 fi
16412 done
16413 done
16414 IFS=$as_save_IFS
16415
16416 fi
16417 fi
16418 CXX=$ac_cv_prog_CXX
16419 if test -n "$CXX"; then
16420 { echo "$as_me:$LINENO: result: $CXX" >&5
16421 echo "${ECHO_T}$CXX" >&6; }
16422 else
16423 { echo "$as_me:$LINENO: result: no" >&5
16424 echo "${ECHO_T}no" >&6; }
16425 fi
16426
16427
16428 test -n "$CXX" && break
16429 done
16430 fi
16431 if test -z "$CXX"; then
16432 ac_ct_CXX=$CXX
16433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16434 do
16435 # Extract the first word of "$ac_prog", so it can be a program name with args.
16436 set dummy $ac_prog; ac_word=$2
16437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16439 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 else
16442 if test -n "$ac_ct_CXX"; then
16443 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16444 else
16445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16446 for as_dir in $PATH
16447 do
16448 IFS=$as_save_IFS
16449 test -z "$as_dir" && as_dir=.
16450 for ac_exec_ext in '' $ac_executable_extensions; do
16451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16452 ac_cv_prog_ac_ct_CXX="$ac_prog"
16453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16454 break 2
16455 fi
16456 done
16457 done
16458 IFS=$as_save_IFS
16459
16460 fi
16461 fi
16462 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16463 if test -n "$ac_ct_CXX"; then
16464 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16465 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16466 else
16467 { echo "$as_me:$LINENO: result: no" >&5
16468 echo "${ECHO_T}no" >&6; }
16469 fi
16470
16471
16472 test -n "$ac_ct_CXX" && break
16473 done
16474
16475 if test "x$ac_ct_CXX" = x; then
16476 CXX="g++"
16477 else
16478 case $cross_compiling:$ac_tool_warned in
16479 yes:)
16480 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16481 whose name does not start with the host triplet. If you think this
16482 configuration is useful to you, please write to autoconf@gnu.org." >&5
16483 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16484 whose name does not start with the host triplet. If you think this
16485 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16486 ac_tool_warned=yes ;;
16487 esac
16488 CXX=$ac_ct_CXX
16489 fi
16490 fi
16491
16492 fi
16493 fi
16494 # Provide some information about the compiler.
16495 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16496 ac_compiler=`set X $ac_compile; echo $2`
16497 { (ac_try="$ac_compiler --version >&5"
16498 case "(($ac_try" in
16499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16500 *) ac_try_echo=$ac_try;;
16501 esac
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_compiler --version >&5") 2>&5
16504 ac_status=$?
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }
16507 { (ac_try="$ac_compiler -v >&5"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16511 esac
16512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16513 (eval "$ac_compiler -v >&5") 2>&5
16514 ac_status=$?
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }
16517 { (ac_try="$ac_compiler -V >&5"
16518 case "(($ac_try" in
16519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16520 *) ac_try_echo=$ac_try;;
16521 esac
16522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16523 (eval "$ac_compiler -V >&5") 2>&5
16524 ac_status=$?
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); }
16527
16528 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16529 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16530 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 else
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539
16540 int
16541 main ()
16542 {
16543 #ifndef __GNUC__
16544 choke me
16545 #endif
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (ac_try="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16556 esac
16557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16558 (eval "$ac_compile") 2>conftest.er1
16559 ac_status=$?
16560 grep -v '^ *+' conftest.er1 >conftest.err
16561 rm -f conftest.er1
16562 cat conftest.err >&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } && {
16565 test -z "$ac_cxx_werror_flag" ||
16566 test ! -s conftest.err
16567 } && test -s conftest.$ac_objext; then
16568 ac_compiler_gnu=yes
16569 else
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.$ac_ext >&5
16572
16573 ac_compiler_gnu=no
16574 fi
16575
16576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16577 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16578
16579 fi
16580 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16581 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16582 GXX=`test $ac_compiler_gnu = yes && echo yes`
16583 ac_test_CXXFLAGS=${CXXFLAGS+set}
16584 ac_save_CXXFLAGS=$CXXFLAGS
16585 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16586 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_cxx_g+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16591 ac_cxx_werror_flag=yes
16592 ac_cv_prog_cxx_g=no
16593 CXXFLAGS="-g"
16594 cat >conftest.$ac_ext <<_ACEOF
16595 /* confdefs.h. */
16596 _ACEOF
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600
16601 int
16602 main ()
16603 {
16604
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (ac_try="$ac_compile"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16614 esac
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_compile") 2>conftest.er1
16617 ac_status=$?
16618 grep -v '^ *+' conftest.er1 >conftest.err
16619 rm -f conftest.er1
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && {
16623 test -z "$ac_cxx_werror_flag" ||
16624 test ! -s conftest.err
16625 } && test -s conftest.$ac_objext; then
16626 ac_cv_prog_cxx_g=yes
16627 else
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.$ac_ext >&5
16630
16631 CXXFLAGS=""
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638
16639 int
16640 main ()
16641 {
16642
16643 ;
16644 return 0;
16645 }
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_cxx_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 :
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16668
16669 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16670 CXXFLAGS="-g"
16671 cat >conftest.$ac_ext <<_ACEOF
16672 /* confdefs.h. */
16673 _ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677
16678 int
16679 main ()
16680 {
16681
16682 ;
16683 return 0;
16684 }
16685 _ACEOF
16686 rm -f conftest.$ac_objext
16687 if { (ac_try="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16690 *) ac_try_echo=$ac_try;;
16691 esac
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_compile") 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && {
16700 test -z "$ac_cxx_werror_flag" ||
16701 test ! -s conftest.err
16702 } && test -s conftest.$ac_objext; then
16703 ac_cv_prog_cxx_g=yes
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16707
16708
16709 fi
16710
16711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16712 fi
16713
16714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16715 fi
16716
16717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16719 fi
16720 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16721 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16722 if test "$ac_test_CXXFLAGS" = set; then
16723 CXXFLAGS=$ac_save_CXXFLAGS
16724 elif test $ac_cv_prog_cxx_g = yes; then
16725 if test "$GXX" = yes; then
16726 CXXFLAGS="-g -O2"
16727 else
16728 CXXFLAGS="-g"
16729 fi
16730 else
16731 if test "$GXX" = yes; then
16732 CXXFLAGS="-O2"
16733 else
16734 CXXFLAGS=
16735 fi
16736 fi
16737 ac_ext=c
16738 ac_cpp='$CPP $CPPFLAGS'
16739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16742
16743
16744
16745
16746 ac_ext=cpp
16747 ac_cpp='$CXXCPP $CPPFLAGS'
16748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16751
16752 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16753 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16754 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 else
16757 cat >conftest.$ac_ext <<_ACEOF
16758 /* confdefs.h. */
16759 _ACEOF
16760 cat confdefs.h >>conftest.$ac_ext
16761 cat >>conftest.$ac_ext <<_ACEOF
16762 /* end confdefs.h. */
16763
16764 int
16765 main ()
16766 {
16767
16768 #ifndef __INTEL_COMPILER
16769 choke me
16770 #endif
16771
16772 ;
16773 return 0;
16774 }
16775 _ACEOF
16776 rm -f conftest.$ac_objext
16777 if { (ac_try="$ac_compile"
16778 case "(($ac_try" in
16779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16780 *) ac_try_echo=$ac_try;;
16781 esac
16782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16783 (eval "$ac_compile") 2>conftest.er1
16784 ac_status=$?
16785 grep -v '^ *+' conftest.er1 >conftest.err
16786 rm -f conftest.er1
16787 cat conftest.err >&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); } && {
16790 test -z "$ac_cxx_werror_flag" ||
16791 test ! -s conftest.err
16792 } && test -s conftest.$ac_objext; then
16793 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16794 else
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16797
16798 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16799
16800 fi
16801
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803
16804
16805 fi
16806 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16807 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16808 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16809 :; INTELCXX=yes
16810 else
16811 :;
16812 fi
16813 ac_ext=c
16814 ac_cpp='$CPP $CPPFLAGS'
16815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16818
16819
16820
16821
16822 if test "x$GCXX" != "xyes"; then
16823 if test "xCXX" = "xC"; then
16824 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16825 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16826 if test "${bakefile_cv_c_exto+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 else
16829 cat >conftest.$ac_ext <<_ACEOF
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835
16836 int
16837 main ()
16838 {
16839
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext conftest.$ac_ext.o
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; then
16850 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16851 case $ac_file in
16852 conftest.$ac_ext.o)
16853 bakefile_cv_c_exto="-ext o"
16854 ;;
16855 *)
16856 ;;
16857 esac
16858 done
16859 else
16860 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16861 See \`config.log' for more details." >&5
16862 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16863 See \`config.log' for more details." >&2;}
16864 { (exit 1); exit 1; }; }
16865
16866 fi
16867
16868 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16869
16870 fi
16871 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16872 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16873 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16874 if test "c" = "c"; then
16875 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16876 fi
16877 if test "c" = "cxx"; then
16878 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16879 fi
16880 fi
16881
16882 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16883 unset ac_cv_prog_cc_g
16884 ac_test_CFLAGS=${CFLAGS+set}
16885 ac_save_CFLAGS=$CFLAGS
16886 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16887 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16888 if test "${ac_cv_prog_cc_g+set}" = set; then
16889 echo $ECHO_N "(cached) $ECHO_C" >&6
16890 else
16891 ac_save_c_werror_flag=$ac_c_werror_flag
16892 ac_c_werror_flag=yes
16893 ac_cv_prog_cc_g=no
16894 CFLAGS="-g"
16895 cat >conftest.$ac_ext <<_ACEOF
16896 /* confdefs.h. */
16897 _ACEOF
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901
16902 int
16903 main ()
16904 {
16905
16906 ;
16907 return 0;
16908 }
16909 _ACEOF
16910 rm -f conftest.$ac_objext
16911 if { (ac_try="$ac_compile"
16912 case "(($ac_try" in
16913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16915 esac
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_compile") 2>conftest.er1
16918 ac_status=$?
16919 grep -v '^ *+' conftest.er1 >conftest.err
16920 rm -f conftest.er1
16921 cat conftest.err >&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } && {
16924 test -z "$ac_c_werror_flag" ||
16925 test ! -s conftest.err
16926 } && test -s conftest.$ac_objext; then
16927 ac_cv_prog_cc_g=yes
16928 else
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.$ac_ext >&5
16931
16932 CFLAGS=""
16933 cat >conftest.$ac_ext <<_ACEOF
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939
16940 int
16941 main ()
16942 {
16943
16944 ;
16945 return 0;
16946 }
16947 _ACEOF
16948 rm -f conftest.$ac_objext
16949 if { (ac_try="$ac_compile"
16950 case "(($ac_try" in
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16952 *) ac_try_echo=$ac_try;;
16953 esac
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_compile") 2>conftest.er1
16956 ac_status=$?
16957 grep -v '^ *+' conftest.er1 >conftest.err
16958 rm -f conftest.er1
16959 cat conftest.err >&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } && {
16962 test -z "$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16964 } && test -s conftest.$ac_objext; then
16965 :
16966 else
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16969
16970 ac_c_werror_flag=$ac_save_c_werror_flag
16971 CFLAGS="-g"
16972 cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h. */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978
16979 int
16980 main ()
16981 {
16982
16983 ;
16984 return 0;
16985 }
16986 _ACEOF
16987 rm -f conftest.$ac_objext
16988 if { (ac_try="$ac_compile"
16989 case "(($ac_try" in
16990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16991 *) ac_try_echo=$ac_try;;
16992 esac
16993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16994 (eval "$ac_compile") 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } && {
17001 test -z "$ac_c_werror_flag" ||
17002 test ! -s conftest.err
17003 } && test -s conftest.$ac_objext; then
17004 ac_cv_prog_cc_g=yes
17005 else
17006 echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.$ac_ext >&5
17008
17009
17010 fi
17011
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013 fi
17014
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 fi
17017
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 ac_c_werror_flag=$ac_save_c_werror_flag
17020 fi
17021 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17022 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17023 if test "$ac_test_CFLAGS" = set; then
17024 CFLAGS=$ac_save_CFLAGS
17025 elif test $ac_cv_prog_cc_g = yes; then
17026 if test "$GCC" = yes; then
17027 CFLAGS="-g -O2"
17028 else
17029 CFLAGS="-g"
17030 fi
17031 else
17032 if test "$GCC" = yes; then
17033 CFLAGS="-O2"
17034 else
17035 CFLAGS=
17036 fi
17037 fi
17038 fi
17039 fi
17040
17041 case `uname -s` in
17042 AIX*)
17043
17044
17045 ac_ext=cpp
17046 ac_cpp='$CXXCPP $CPPFLAGS'
17047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17050
17051 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17052 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17053 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17056 cat >conftest.$ac_ext <<_ACEOF
17057 /* confdefs.h. */
17058 _ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062
17063 int
17064 main ()
17065 {
17066
17067 #ifndef __xlC__
17068 choke me
17069 #endif
17070
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 rm -f conftest.$ac_objext
17076 if { (ac_try="$ac_compile"
17077 case "(($ac_try" in
17078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17079 *) ac_try_echo=$ac_try;;
17080 esac
17081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17082 (eval "$ac_compile") 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } && {
17089 test -z "$ac_cxx_werror_flag" ||
17090 test ! -s conftest.err
17091 } && test -s conftest.$ac_objext; then
17092 bakefile_cv_cxx_compiler___xlC__=yes
17093 else
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.$ac_ext >&5
17096
17097 bakefile_cv_cxx_compiler___xlC__=no
17098
17099 fi
17100
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102
17103
17104 fi
17105 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17106 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17107 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17108 :; XLCXX=yes
17109 else
17110 :;
17111 fi
17112 ac_ext=c
17113 ac_cpp='$CPP $CPPFLAGS'
17114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17117
17118
17119
17120 ;;
17121
17122 Darwin)
17123
17124
17125 ac_ext=cpp
17126 ac_cpp='$CXXCPP $CPPFLAGS'
17127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17130
17131 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17132 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17133 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 else
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142
17143 int
17144 main ()
17145 {
17146
17147 #ifndef __MWERKS__
17148 choke me
17149 #endif
17150
17151 ;
17152 return 0;
17153 }
17154 _ACEOF
17155 rm -f conftest.$ac_objext
17156 if { (ac_try="$ac_compile"
17157 case "(($ac_try" in
17158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17159 *) ac_try_echo=$ac_try;;
17160 esac
17161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17162 (eval "$ac_compile") 2>conftest.er1
17163 ac_status=$?
17164 grep -v '^ *+' conftest.er1 >conftest.err
17165 rm -f conftest.er1
17166 cat conftest.err >&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); } && {
17169 test -z "$ac_cxx_werror_flag" ||
17170 test ! -s conftest.err
17171 } && test -s conftest.$ac_objext; then
17172 bakefile_cv_cxx_compiler___MWERKS__=yes
17173 else
17174 echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17176
17177 bakefile_cv_cxx_compiler___MWERKS__=no
17178
17179 fi
17180
17181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182
17183
17184 fi
17185 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17186 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17187 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17188 :; MWCXX=yes
17189 else
17190 :;
17191 fi
17192 ac_ext=c
17193 ac_cpp='$CPP $CPPFLAGS'
17194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197
17198
17199
17200
17201
17202 ac_ext=cpp
17203 ac_cpp='$CXXCPP $CPPFLAGS'
17204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17207
17208 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17209 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17210 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17212 else
17213 cat >conftest.$ac_ext <<_ACEOF
17214 /* confdefs.h. */
17215 _ACEOF
17216 cat confdefs.h >>conftest.$ac_ext
17217 cat >>conftest.$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219
17220 int
17221 main ()
17222 {
17223
17224 #ifndef __xlC__
17225 choke me
17226 #endif
17227
17228 ;
17229 return 0;
17230 }
17231 _ACEOF
17232 rm -f conftest.$ac_objext
17233 if { (ac_try="$ac_compile"
17234 case "(($ac_try" in
17235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17236 *) ac_try_echo=$ac_try;;
17237 esac
17238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17239 (eval "$ac_compile") 2>conftest.er1
17240 ac_status=$?
17241 grep -v '^ *+' conftest.er1 >conftest.err
17242 rm -f conftest.er1
17243 cat conftest.err >&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); } && {
17246 test -z "$ac_cxx_werror_flag" ||
17247 test ! -s conftest.err
17248 } && test -s conftest.$ac_objext; then
17249 bakefile_cv_cxx_compiler___xlC__=yes
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17253
17254 bakefile_cv_cxx_compiler___xlC__=no
17255
17256 fi
17257
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17259
17260
17261 fi
17262 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17263 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17264 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17265 :; XLCXX=yes
17266 else
17267 :;
17268 fi
17269 ac_ext=c
17270 ac_cpp='$CPP $CPPFLAGS'
17271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17274
17275
17276
17277 ;;
17278
17279 IRIX*)
17280
17281
17282 ac_ext=cpp
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17289 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17290 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17291 echo $ECHO_N "(cached) $ECHO_C" >&6
17292 else
17293 cat >conftest.$ac_ext <<_ACEOF
17294 /* confdefs.h. */
17295 _ACEOF
17296 cat confdefs.h >>conftest.$ac_ext
17297 cat >>conftest.$ac_ext <<_ACEOF
17298 /* end confdefs.h. */
17299
17300 int
17301 main ()
17302 {
17303
17304 #ifndef _SGI_COMPILER_VERSION
17305 choke me
17306 #endif
17307
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (ac_try="$ac_compile"
17314 case "(($ac_try" in
17315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17316 *) ac_try_echo=$ac_try;;
17317 esac
17318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17319 (eval "$ac_compile") 2>conftest.er1
17320 ac_status=$?
17321 grep -v '^ *+' conftest.er1 >conftest.err
17322 rm -f conftest.er1
17323 cat conftest.err >&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } && {
17326 test -z "$ac_cxx_werror_flag" ||
17327 test ! -s conftest.err
17328 } && test -s conftest.$ac_objext; then
17329 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17330 else
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.$ac_ext >&5
17333
17334 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17335
17336 fi
17337
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339
17340
17341 fi
17342 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17343 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17344 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17345 :; SGICXX=yes
17346 else
17347 :;
17348 fi
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
17355
17356
17357 ;;
17358
17359 Linux*)
17360
17361
17362 ac_ext=cpp
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17367
17368 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379
17380 int
17381 main ()
17382 {
17383
17384 #ifndef __SUNPRO_CC
17385 choke me
17386 #endif
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17415
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17425 :; SUNCXX=yes
17426 else
17427 :;
17428 fi
17429 ac_ext=c
17430 ac_cpp='$CPP $CPPFLAGS'
17431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17434
17435
17436
17437 ;;
17438
17439 HP-UX*)
17440
17441
17442 ac_ext=cpp
17443 ac_cpp='$CXXCPP $CPPFLAGS'
17444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17447
17448 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17449 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17450 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 else
17453 cat >conftest.$ac_ext <<_ACEOF
17454 /* confdefs.h. */
17455 _ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459
17460 int
17461 main ()
17462 {
17463
17464 #ifndef __HP_aCC
17465 choke me
17466 #endif
17467
17468 ;
17469 return 0;
17470 }
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_cxx_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 bakefile_cv_cxx_compiler___HP_aCC=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17493
17494 bakefile_cv_cxx_compiler___HP_aCC=no
17495
17496 fi
17497
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499
17500
17501 fi
17502 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17503 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17504 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17505 :; HPCXX=yes
17506 else
17507 :;
17508 fi
17509 ac_ext=c
17510 ac_cpp='$CPP $CPPFLAGS'
17511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17514
17515
17516
17517 ;;
17518
17519 OSF1)
17520
17521
17522 ac_ext=cpp
17523 ac_cpp='$CXXCPP $CPPFLAGS'
17524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17527
17528 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17529 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17530 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17532 else
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539
17540 int
17541 main ()
17542 {
17543
17544 #ifndef __DECCXX
17545 choke me
17546 #endif
17547
17548 ;
17549 return 0;
17550 }
17551 _ACEOF
17552 rm -f conftest.$ac_objext
17553 if { (ac_try="$ac_compile"
17554 case "(($ac_try" in
17555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17556 *) ac_try_echo=$ac_try;;
17557 esac
17558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17559 (eval "$ac_compile") 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } && {
17566 test -z "$ac_cxx_werror_flag" ||
17567 test ! -s conftest.err
17568 } && test -s conftest.$ac_objext; then
17569 bakefile_cv_cxx_compiler___DECCXX=yes
17570 else
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.$ac_ext >&5
17573
17574 bakefile_cv_cxx_compiler___DECCXX=no
17575
17576 fi
17577
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579
17580
17581 fi
17582 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17583 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17584 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17585 :; COMPAQCXX=yes
17586 else
17587 :;
17588 fi
17589 ac_ext=c
17590 ac_cpp='$CPP $CPPFLAGS'
17591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17594
17595
17596
17597 ;;
17598
17599 SunOS)
17600
17601
17602 ac_ext=cpp
17603 ac_cpp='$CXXCPP $CPPFLAGS'
17604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17607
17608 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17609 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17610 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 else
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h. */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h. */
17619
17620 int
17621 main ()
17622 {
17623
17624 #ifndef __SUNPRO_CC
17625 choke me
17626 #endif
17627
17628 ;
17629 return 0;
17630 }
17631 _ACEOF
17632 rm -f conftest.$ac_objext
17633 if { (ac_try="$ac_compile"
17634 case "(($ac_try" in
17635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17636 *) ac_try_echo=$ac_try;;
17637 esac
17638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17639 (eval "$ac_compile") 2>conftest.er1
17640 ac_status=$?
17641 grep -v '^ *+' conftest.er1 >conftest.err
17642 rm -f conftest.er1
17643 cat conftest.err >&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } && {
17646 test -z "$ac_cxx_werror_flag" ||
17647 test ! -s conftest.err
17648 } && test -s conftest.$ac_objext; then
17649 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17650 else
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17653
17654 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17655
17656 fi
17657
17658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659
17660
17661 fi
17662 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17663 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17664 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17665 :; SUNCXX=yes
17666 else
17667 :;
17668 fi
17669 ac_ext=c
17670 ac_cpp='$CPP $CPPFLAGS'
17671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17674
17675
17676
17677 ;;
17678 esac
17679 fi
17680
17681
17682
17683 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17684 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17685 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17686 { (exit 1); exit 1; }; }
17687 fi
17688
17689 if test "x$SUNCXX" != xyes; then
17690 if test -n "$ac_tool_prefix"; then
17691 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17692 set dummy ${ac_tool_prefix}ar; ac_word=$2
17693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17695 if test "${ac_cv_prog_AR+set}" = set; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17698 if test -n "$AR"; then
17699 ac_cv_prog_AR="$AR" # Let the user override the test.
17700 else
17701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17702 for as_dir in $PATH
17703 do
17704 IFS=$as_save_IFS
17705 test -z "$as_dir" && as_dir=.
17706 for ac_exec_ext in '' $ac_executable_extensions; do
17707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17708 ac_cv_prog_AR="${ac_tool_prefix}ar"
17709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17710 break 2
17711 fi
17712 done
17713 done
17714 IFS=$as_save_IFS
17715
17716 fi
17717 fi
17718 AR=$ac_cv_prog_AR
17719 if test -n "$AR"; then
17720 { echo "$as_me:$LINENO: result: $AR" >&5
17721 echo "${ECHO_T}$AR" >&6; }
17722 else
17723 { echo "$as_me:$LINENO: result: no" >&5
17724 echo "${ECHO_T}no" >&6; }
17725 fi
17726
17727
17728 fi
17729 if test -z "$ac_cv_prog_AR"; then
17730 ac_ct_AR=$AR
17731 # Extract the first word of "ar", so it can be a program name with args.
17732 set dummy ar; ac_word=$2
17733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17735 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738 if test -n "$ac_ct_AR"; then
17739 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17740 else
17741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17742 for as_dir in $PATH
17743 do
17744 IFS=$as_save_IFS
17745 test -z "$as_dir" && as_dir=.
17746 for ac_exec_ext in '' $ac_executable_extensions; do
17747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17748 ac_cv_prog_ac_ct_AR="ar"
17749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17750 break 2
17751 fi
17752 done
17753 done
17754 IFS=$as_save_IFS
17755
17756 fi
17757 fi
17758 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17759 if test -n "$ac_ct_AR"; then
17760 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17761 echo "${ECHO_T}$ac_ct_AR" >&6; }
17762 else
17763 { echo "$as_me:$LINENO: result: no" >&5
17764 echo "${ECHO_T}no" >&6; }
17765 fi
17766
17767 if test "x$ac_ct_AR" = x; then
17768 AR=""
17769 else
17770 case $cross_compiling:$ac_tool_warned in
17771 yes:)
17772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17773 whose name does not start with the host triplet. If you think this
17774 configuration is useful to you, please write to autoconf@gnu.org." >&5
17775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17776 whose name does not start with the host triplet. If you think this
17777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17778 ac_tool_warned=yes ;;
17779 esac
17780 AR=$ac_ct_AR
17781 fi
17782 else
17783 AR="$ac_cv_prog_AR"
17784 fi
17785
17786 if test "x$AR" = "x" ; then
17787 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17788 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17789 { (exit 1); exit 1; }; }
17790 fi
17791 fi
17792
17793 retest_macosx_linking=no
17794
17795 #if test "$wxUSE_MAC" = 1; then
17796 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17797 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17798 # Implicitly turn on the new --with-macosx-sdk using the default
17799 # SDK which provides the behavior this option has always had.
17800 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17801 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17802 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17803 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17804 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17805 wxUSE_MACOSX_SDK=yes
17806 fi
17807 else
17808 # Complain to user if he specified an argument to --enable-universal_binary
17809 # and also 1) specified --with-macosx-sdk using the default (yes) or
17810 # 2) specified --with-macosx-sdk using a path or 3) specified
17811 # --without-macosx-sdk (no).
17812 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17813 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17814 See \`config.log' for more details." >&5
17815 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17816 See \`config.log' for more details." >&2;}
17817 { (exit 1); exit 1; }; }
17818 else
17819 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17820 # special-case the empty string because the below test simply
17821 # converts "no" to the empty string anyway.
17822 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17823 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17824 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17825 fi
17826 fi
17827 OSX_UNIV_OPTS="-arch ppc -arch i386"
17828 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17829 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17830 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17831 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17832 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17833 retest_macosx_linking=yes
17834
17835 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17836 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17837 bk_use_pch=no
17838 fi
17839 #fi
17840
17841 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17842 wxUSE_MACOSX_SDK=
17843 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17844 # TODO: Search for most recent SDK and use it.
17845 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17846 fi
17847
17848
17849 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17850 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17851 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17852 if ! test -d "$wxUSE_MACOSX_SDK"; then
17853 { { echo "$as_me:$LINENO: error: not found
17854 See \`config.log' for more details." >&5
17855 echo "$as_me: error: not found
17856 See \`config.log' for more details." >&2;}
17857 { (exit 1); exit 1; }; }
17858 else
17859 { echo "$as_me:$LINENO: result: exists" >&5
17860 echo "${ECHO_T}exists" >&6; }
17861 fi
17862 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17863 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17864 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17865 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17866 retest_macosx_linking=yes
17867 fi
17868
17869 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17870 wxUSE_MACOSX_VERSION_MIN=
17871 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17872 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17873 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17874 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17875
17876 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/'`
17877
17878 # If that failed, try again with the new key
17879 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17880
17881 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/'`
17882
17883 fi
17884
17885 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17886 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17887 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17888 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17889 else
17890 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17891 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17892 wxUSE_MACOSX_VERSION_MIN=
17893 fi
17894 else
17895 wxUSE_MACOSX_VERSION_MIN=
17896 fi
17897 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17898 if test "$wxUSE_MAC" = 1; then
17899 # otherwise configure stops on leopard for universal_binary
17900 wxUSE_MACOSX_VERSION_MIN=10.4
17901 fi
17902 fi
17903
17904 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17905 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17906 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17907 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17908 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17909 retest_macosx_linking=yes
17910 fi
17911
17912 if test "x$retest_macosx_linking" = "xyes"; then
17913 ac_ext=c
17914 ac_cpp='$CPP $CPPFLAGS'
17915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17918
17919 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17920 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927
17928 int
17929 main ()
17930 {
17931
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (ac_try="$ac_link"
17938 case "(($ac_try" in
17939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17941 esac
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_link") 2>conftest.er1
17944 ac_status=$?
17945 grep -v '^ *+' conftest.er1 >conftest.err
17946 rm -f conftest.er1
17947 cat conftest.err >&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && {
17950 test -z "$ac_c_werror_flag" ||
17951 test ! -s conftest.err
17952 } && test -s conftest$ac_exeext &&
17953 $as_test_x conftest$ac_exeext; then
17954 { echo "$as_me:$LINENO: result: yes" >&5
17955 echo "${ECHO_T}yes" >&6; }
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17961 See \`config.log' for more details." >&5
17962 echo "$as_me: error: no. Try a different SDK
17963 See \`config.log' for more details." >&2;}
17964 { (exit 1); exit 1; }; }; exit 1
17965 fi
17966
17967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17968 conftest$ac_exeext conftest.$ac_ext
17969 ac_ext=c
17970 ac_cpp='$CPP $CPPFLAGS'
17971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17974
17975
17976 ac_ext=cpp
17977 ac_cpp='$CXXCPP $CPPFLAGS'
17978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17981
17982 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17983 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990
17991 int
17992 main ()
17993 {
17994
17995 ;
17996 return 0;
17997 }
17998 _ACEOF
17999 rm -f conftest.$ac_objext conftest$ac_exeext
18000 if { (ac_try="$ac_link"
18001 case "(($ac_try" in
18002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18003 *) ac_try_echo=$ac_try;;
18004 esac
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_link") 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } && {
18013 test -z "$ac_cxx_werror_flag" ||
18014 test ! -s conftest.err
18015 } && test -s conftest$ac_exeext &&
18016 $as_test_x conftest$ac_exeext; then
18017 { echo "$as_me:$LINENO: result: yes" >&5
18018 echo "${ECHO_T}yes" >&6; }
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18022
18023 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18024 See \`config.log' for more details." >&5
18025 echo "$as_me: error: no. Try a different SDK
18026 See \`config.log' for more details." >&2;}
18027 { (exit 1); exit 1; }; }; exit 1
18028 fi
18029
18030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18031 conftest$ac_exeext conftest.$ac_ext
18032 ac_ext=c
18033 ac_cpp='$CPP $CPPFLAGS'
18034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18037
18038 fi
18039
18040
18041 case "${host}" in
18042
18043 *-*-darwin* )
18044 INSTALL_PROGRAM="cp -fp"
18045 INSTALL_DATA="cp -fp"
18046 ;;
18047 *)
18048 ;;
18049 esac
18050
18051
18052 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18053 CXXFLAGS="-qunique $CXXFLAGS"
18054 fi
18055
18056 case "${host}" in
18057 powerpc-*-darwin* )
18058 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18059 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18060 cat >conftest.$ac_ext <<_ACEOF
18061 /* confdefs.h. */
18062 _ACEOF
18063 cat confdefs.h >>conftest.$ac_ext
18064 cat >>conftest.$ac_ext <<_ACEOF
18065 /* end confdefs.h. */
18066
18067 int
18068 main ()
18069 {
18070 #ifndef __POWERPC__
18071 choke me for lack of PowerPC
18072 #endif
18073
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18083 esac
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_c_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 { echo "$as_me:$LINENO: result: yes" >&5
18096 echo "${ECHO_T}yes" >&6; }
18097 else
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.$ac_ext >&5
18100
18101 { echo "$as_me:$LINENO: result: no" >&5
18102 echo "${ECHO_T}no" >&6; }
18103 cat >>confdefs.h <<\_ACEOF
18104 #define __POWERPC__ 1
18105 _ACEOF
18106
18107
18108 fi
18109
18110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18111 ;;
18112 esac
18113
18114 case "${host}" in
18115 *-*-darwin* )
18116 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18117 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 #include <CoreFoundation/CFBase.h>
18125
18126 int
18127 main ()
18128 {
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_c_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 { echo "$as_me:$LINENO: result: yes" >&5
18152 echo "${ECHO_T}yes" >&6; }
18153 else
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18156
18157 { echo "$as_me:$LINENO: result: no" >&5
18158 echo "${ECHO_T}no" >&6; }
18159 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18160 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 #define __CF_USE_FRAMEWORK_INCLUDES__
18168 #include <CoreFoundation/CFBase.h>
18169
18170 int
18171 main ()
18172 {
18173
18174 ;
18175 return 0;
18176 }
18177 _ACEOF
18178 rm -f conftest.$ac_objext
18179 if { (ac_try="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18183 esac
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 { echo "$as_me:$LINENO: result: yes" >&5
18196 echo "${ECHO_T}yes" >&6; }
18197 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18203 See \`config.log' for more details." >&5
18204 echo "$as_me: error: no. CoreFoundation not available.
18205 See \`config.log' for more details." >&2;}
18206 { (exit 1); exit 1; }; }
18207
18208 fi
18209
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211
18212
18213 fi
18214
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 ;;
18217 esac
18218
18219 wants_win32=0
18220 doesnt_want_win32=0
18221 case "${host}" in
18222 *-*-cygwin*)
18223 if test "$wxUSE_MSW" = 1 ; then
18224 wants_win32=1
18225 else
18226 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18227 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18228 if test "${wx_cv_nocygwin+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238
18239 int
18240 main ()
18241 {
18242
18243 #ifdef __MINGW32__
18244 choke me
18245 #endif
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 wx_cv_nocygwin=no
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 wx_cv_nocygwin=yes
18274
18275 fi
18276
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278
18279
18280 fi
18281 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18282 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18283
18284 if test "$wx_cv_nocygwin" = "yes"; then
18285 wants_win32=1
18286 else
18287 doesnt_want_win32=1
18288 fi
18289 fi
18290 if test "$wants_win32" = 1 ; then
18291 BAKEFILE_FORCE_PLATFORM=win32
18292 fi
18293 ;;
18294 *-*-mingw*)
18295 wants_win32=1
18296 ;;
18297 esac
18298
18299 if test "$wxUSE_WINE" = "yes"; then
18300 wants_win32=1
18301 LDFLAGS_GUI="-mwindows"
18302 fi
18303
18304 if test "$wants_win32" = 1 ; then
18305 USE_UNIX=0
18306 USE_WIN32=1
18307 cat >>confdefs.h <<\_ACEOF
18308 #define __WIN32__ 1
18309 _ACEOF
18310
18311 cat >>confdefs.h <<\_ACEOF
18312 #define __WIN95__ 1
18313 _ACEOF
18314
18315 cat >>confdefs.h <<\_ACEOF
18316 #define __WINDOWS__ 1
18317 _ACEOF
18318
18319 cat >>confdefs.h <<\_ACEOF
18320 #define __GNUWIN32__ 1
18321 _ACEOF
18322
18323 cat >>confdefs.h <<\_ACEOF
18324 #define STRICT 1
18325 _ACEOF
18326
18327 fi
18328 if test "$doesnt_want_win32" = 1 ; then
18329 USE_UNIX=1
18330 USE_WIN32=0
18331 fi
18332
18333 if test "$USE_UNIX" = 1 ; then
18334 wxUSE_UNIX=yes
18335 cat >>confdefs.h <<\_ACEOF
18336 #define __UNIX__ 1
18337 _ACEOF
18338
18339 fi
18340
18341 case "${host}" in
18342 *-pc-os2_emx | *-pc-os2-emx )
18343 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18344 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18345 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18346 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 else
18349 ac_check_lib_save_LIBS=$LIBS
18350 LIBS="-lcExt $LIBS"
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357
18358 /* Override any GCC internal prototype to avoid an error.
18359 Use char because int might match the return type of a GCC
18360 builtin and then its argument prototype would still apply. */
18361 #ifdef __cplusplus
18362 extern "C"
18363 #endif
18364 char drand48 ();
18365 int
18366 main ()
18367 {
18368 return drand48 ();
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext conftest$ac_exeext
18374 if { (ac_try="$ac_link"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_link") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest$ac_exeext &&
18390 $as_test_x conftest$ac_exeext; then
18391 ac_cv_lib_cExt_drand48=yes
18392 else
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ac_cv_lib_cExt_drand48=no
18397 fi
18398
18399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18400 conftest$ac_exeext conftest.$ac_ext
18401 LIBS=$ac_check_lib_save_LIBS
18402 fi
18403 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18404 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18405 if test $ac_cv_lib_cExt_drand48 = yes; then
18406 LIBS="$LIBS -lcExt"
18407 fi
18408
18409 else
18410 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18411 fi
18412 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18413 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18414 if test "${wx_cv_gccversion+set}" = set; then
18415 echo $ECHO_N "(cached) $ECHO_C" >&6
18416 else
18417
18418 if test "$cross_compiling" = yes; then
18419 wx_cv_gccversion="EMX2"
18420
18421 else
18422 cat >conftest.$ac_ext <<_ACEOF
18423 /* confdefs.h. */
18424 _ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18428
18429 #include <stdio.h>
18430
18431 int main()
18432 {
18433 FILE *f=fopen("conftestval", "w");
18434 if (!f) exit(1);
18435 fprintf(f,
18436 #if (__GNUC__ < 3)
18437 "EMX2"
18438 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18439 "EMX3"
18440 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18441 "Innotek5"
18442 #else
18443 "Innotek6"
18444 #endif
18445 );
18446 exit(0);
18447 }
18448
18449 _ACEOF
18450 rm -f conftest$ac_exeext
18451 if { (ac_try="$ac_link"
18452 case "(($ac_try" in
18453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18455 esac
18456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18457 (eval "$ac_link") 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18461 { (case "(($ac_try" in
18462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18464 esac
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_try") 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 wx_cv_gccversion=`cat conftestval`
18471 else
18472 echo "$as_me: program exited with status $ac_status" >&5
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 ( exit $ac_status )
18477 wx_cv_gccversion="EMX2"
18478 fi
18479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18480 fi
18481
18482
18483
18484 fi
18485 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18486 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18487 if test "$wx_cv_gccversion" = "EMX2"; then
18488 LIBS="$LIBS -lstdcpp"
18489 LDFLAGS="$LDFLAGS -Zsysv-signals"
18490 else
18491 if test "$wx_cv_gccversion" = "EMX3"; then
18492 LIBS="$LIBS -lstdcxx -lgcc"
18493 LDFLAGS="$LDFLAGS -Zsysv-signals"
18494 else
18495 LIBS="$LIBS -lstdc++"
18496 fi
18497 fi
18498 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18499 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18500 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18501 wxUSE_OMF=yes
18502 enable_omf=yes
18503 fi
18504 ;;
18505 *)
18506
18507 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18508 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18509 if test "${ac_cv_string_strcasecmp+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519
18520 #include <string.h>
18521
18522 int
18523 main ()
18524 {
18525
18526 strcasecmp("foo", "bar");
18527
18528 ;
18529 return 0;
18530 }
18531 _ACEOF
18532 rm -f conftest.$ac_objext conftest$ac_exeext
18533 if { (ac_try="$ac_link"
18534 case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_link") 2>conftest.er1
18540 ac_status=$?
18541 grep -v '^ *+' conftest.er1 >conftest.err
18542 rm -f conftest.er1
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } && {
18546 test -z "$ac_c_werror_flag" ||
18547 test ! -s conftest.err
18548 } && test -s conftest$ac_exeext &&
18549 $as_test_x conftest$ac_exeext; then
18550 ac_cv_string_strcasecmp=yes
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18554
18555 ac_cv_string_strcasecmp=no
18556
18557 fi
18558
18559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18560 conftest$ac_exeext conftest.$ac_ext
18561
18562 fi
18563 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18564 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18565
18566 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18567 cat >>confdefs.h <<\_ACEOF
18568 #define HAVE_STRCASECMP_IN_STRING_H 1
18569 _ACEOF
18570
18571 else
18572 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18573 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18574 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 else
18577
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584
18585 #include <strings.h>
18586
18587 int
18588 main ()
18589 {
18590
18591 strcasecmp("foo", "bar");
18592
18593 ;
18594 return 0;
18595 }
18596 _ACEOF
18597 rm -f conftest.$ac_objext conftest$ac_exeext
18598 if { (ac_try="$ac_link"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18602 esac
18603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_link") 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest$ac_exeext &&
18614 $as_test_x conftest$ac_exeext; then
18615 ac_cv_strings_strcasecmp=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18619
18620 ac_cv_strings_strcasecmp=no
18621
18622 fi
18623
18624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18625 conftest$ac_exeext conftest.$ac_ext
18626
18627 fi
18628 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18629 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18630
18631 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18632 cat >>confdefs.h <<\_ACEOF
18633 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18634 _ACEOF
18635
18636 else
18637 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18638 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18639 { (exit 1); exit 1; }; }
18640 fi
18641 fi
18642
18643 ;;
18644 esac
18645
18646
18647 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18648 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18649 if test "${ac_cv_header_stdc+set}" = set; then
18650 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 else
18652 cat >conftest.$ac_ext <<_ACEOF
18653 /* confdefs.h. */
18654 _ACEOF
18655 cat confdefs.h >>conftest.$ac_ext
18656 cat >>conftest.$ac_ext <<_ACEOF
18657 /* end confdefs.h. */
18658 #include <stdlib.h>
18659 #include <stdarg.h>
18660 #include <string.h>
18661 #include <float.h>
18662
18663 int
18664 main ()
18665 {
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (ac_try="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18676 esac
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18679 ac_status=$?
18680 grep -v '^ *+' conftest.er1 >conftest.err
18681 rm -f conftest.er1
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 ac_cv_header_stdc=yes
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18692
18693 ac_cv_header_stdc=no
18694 fi
18695
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697
18698 if test $ac_cv_header_stdc = yes; then
18699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <string.h>
18707
18708 _ACEOF
18709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18710 $EGREP "memchr" >/dev/null 2>&1; then
18711 :
18712 else
18713 ac_cv_header_stdc=no
18714 fi
18715 rm -f conftest*
18716
18717 fi
18718
18719 if test $ac_cv_header_stdc = yes; then
18720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18721 cat >conftest.$ac_ext <<_ACEOF
18722 /* confdefs.h. */
18723 _ACEOF
18724 cat confdefs.h >>conftest.$ac_ext
18725 cat >>conftest.$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18727 #include <stdlib.h>
18728
18729 _ACEOF
18730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18731 $EGREP "free" >/dev/null 2>&1; then
18732 :
18733 else
18734 ac_cv_header_stdc=no
18735 fi
18736 rm -f conftest*
18737
18738 fi
18739
18740 if test $ac_cv_header_stdc = yes; then
18741 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18742 if test "$cross_compiling" = yes; then
18743 :
18744 else
18745 cat >conftest.$ac_ext <<_ACEOF
18746 /* confdefs.h. */
18747 _ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 #include <ctype.h>
18752 #include <stdlib.h>
18753 #if ((' ' & 0x0FF) == 0x020)
18754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18756 #else
18757 # define ISLOWER(c) \
18758 (('a' <= (c) && (c) <= 'i') \
18759 || ('j' <= (c) && (c) <= 'r') \
18760 || ('s' <= (c) && (c) <= 'z'))
18761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18762 #endif
18763
18764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18765 int
18766 main ()
18767 {
18768 int i;
18769 for (i = 0; i < 256; i++)
18770 if (XOR (islower (i), ISLOWER (i))
18771 || toupper (i) != TOUPPER (i))
18772 return 2;
18773 return 0;
18774 }
18775 _ACEOF
18776 rm -f conftest$ac_exeext
18777 if { (ac_try="$ac_link"
18778 case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18781 esac
18782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_link") 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18787 { (case "(($ac_try" in
18788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18789 *) ac_try_echo=$ac_try;;
18790 esac
18791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18792 (eval "$ac_try") 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18796 :
18797 else
18798 echo "$as_me: program exited with status $ac_status" >&5
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18801
18802 ( exit $ac_status )
18803 ac_cv_header_stdc=no
18804 fi
18805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18806 fi
18807
18808
18809 fi
18810 fi
18811 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18812 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18813 if test $ac_cv_header_stdc = yes; then
18814
18815 cat >>confdefs.h <<\_ACEOF
18816 #define STDC_HEADERS 1
18817 _ACEOF
18818
18819 fi
18820
18821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18832 inttypes.h stdint.h unistd.h
18833 do
18834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18838 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 else
18840 cat >conftest.$ac_ext <<_ACEOF
18841 /* confdefs.h. */
18842 _ACEOF
18843 cat confdefs.h >>conftest.$ac_ext
18844 cat >>conftest.$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18846 $ac_includes_default
18847
18848 #include <$ac_header>
18849 _ACEOF
18850 rm -f conftest.$ac_objext
18851 if { (ac_try="$ac_compile"
18852 case "(($ac_try" in
18853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18854 *) ac_try_echo=$ac_try;;
18855 esac
18856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18857 (eval "$ac_compile") 2>conftest.er1
18858 ac_status=$?
18859 grep -v '^ *+' conftest.er1 >conftest.err
18860 rm -f conftest.er1
18861 cat conftest.err >&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } && {
18864 test -z "$ac_c_werror_flag" ||
18865 test ! -s conftest.err
18866 } && test -s conftest.$ac_objext; then
18867 eval "$as_ac_Header=yes"
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 eval "$as_ac_Header=no"
18873 fi
18874
18875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876 fi
18877 ac_res=`eval echo '${'$as_ac_Header'}'`
18878 { echo "$as_me:$LINENO: result: $ac_res" >&5
18879 echo "${ECHO_T}$ac_res" >&6; }
18880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18881 cat >>confdefs.h <<_ACEOF
18882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18883 _ACEOF
18884
18885 fi
18886
18887 done
18888
18889
18890
18891
18892 for ac_header in langinfo.h wchar.h
18893 do
18894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18898 echo $ECHO_N "(cached) $ECHO_C" >&6
18899 else
18900 cat >conftest.$ac_ext <<_ACEOF
18901 /* confdefs.h. */
18902 _ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 $ac_includes_default
18907
18908 #include <$ac_header>
18909 _ACEOF
18910 rm -f conftest.$ac_objext
18911 if { (ac_try="$ac_compile"
18912 case "(($ac_try" in
18913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18914 *) ac_try_echo=$ac_try;;
18915 esac
18916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18917 (eval "$ac_compile") 2>conftest.er1
18918 ac_status=$?
18919 grep -v '^ *+' conftest.er1 >conftest.err
18920 rm -f conftest.er1
18921 cat conftest.err >&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } && {
18924 test -z "$ac_c_werror_flag" ||
18925 test ! -s conftest.err
18926 } && test -s conftest.$ac_objext; then
18927 eval "$as_ac_Header=yes"
18928 else
18929 echo "$as_me: failed program was:" >&5
18930 sed 's/^/| /' conftest.$ac_ext >&5
18931
18932 eval "$as_ac_Header=no"
18933 fi
18934
18935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936 fi
18937 ac_res=`eval echo '${'$as_ac_Header'}'`
18938 { echo "$as_me:$LINENO: result: $ac_res" >&5
18939 echo "${ECHO_T}$ac_res" >&6; }
18940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18941 cat >>confdefs.h <<_ACEOF
18942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18943 _ACEOF
18944
18945 fi
18946
18947 done
18948
18949
18950 if test "$ac_cv_header_wchar_h" != "yes"; then
18951
18952 for ac_header in wcstr.h
18953 do
18954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 else
18960 cat >conftest.$ac_ext <<_ACEOF
18961 /* confdefs.h. */
18962 _ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18967
18968 #include <$ac_header>
18969 _ACEOF
18970 rm -f conftest.$ac_objext
18971 if { (ac_try="$ac_compile"
18972 case "(($ac_try" in
18973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18974 *) ac_try_echo=$ac_try;;
18975 esac
18976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18977 (eval "$ac_compile") 2>conftest.er1
18978 ac_status=$?
18979 grep -v '^ *+' conftest.er1 >conftest.err
18980 rm -f conftest.er1
18981 cat conftest.err >&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } && {
18984 test -z "$ac_c_werror_flag" ||
18985 test ! -s conftest.err
18986 } && test -s conftest.$ac_objext; then
18987 eval "$as_ac_Header=yes"
18988 else
18989 echo "$as_me: failed program was:" >&5
18990 sed 's/^/| /' conftest.$ac_ext >&5
18991
18992 eval "$as_ac_Header=no"
18993 fi
18994
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 fi
18997 ac_res=`eval echo '${'$as_ac_Header'}'`
18998 { echo "$as_me:$LINENO: result: $ac_res" >&5
18999 echo "${ECHO_T}$ac_res" >&6; }
19000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19001 cat >>confdefs.h <<_ACEOF
19002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19003 _ACEOF
19004
19005 fi
19006
19007 done
19008
19009 fi
19010
19011 case "${host}" in
19012 *-pc-os2_emx | *-pc-os2-emx )
19013 if test $ac_cv_header_langinfo_h = "yes" \
19014 -a \( "$wx_cv_gccversion" = "EMX2" \
19015 -o "$wx_cv_gccversion" = "EMX3" \
19016 -o "$wx_cv_gccversion" = "Innotek5" \); then
19017 LIBS="$LIBS -lintl"
19018 fi
19019 ;;
19020 esac
19021
19022 if test "$USE_UNIX" = 1 ; then
19023
19024 for ac_header in sys/select.h
19025 do
19026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19031 else
19032 cat >conftest.$ac_ext <<_ACEOF
19033 /* confdefs.h. */
19034 _ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038 $ac_includes_default
19039
19040 #include <$ac_header>
19041 _ACEOF
19042 rm -f conftest.$ac_objext
19043 if { (ac_try="$ac_compile"
19044 case "(($ac_try" in
19045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19046 *) ac_try_echo=$ac_try;;
19047 esac
19048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19049 (eval "$ac_compile") 2>conftest.er1
19050 ac_status=$?
19051 grep -v '^ *+' conftest.er1 >conftest.err
19052 rm -f conftest.er1
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } && {
19056 test -z "$ac_c_werror_flag" ||
19057 test ! -s conftest.err
19058 } && test -s conftest.$ac_objext; then
19059 eval "$as_ac_Header=yes"
19060 else
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19063
19064 eval "$as_ac_Header=no"
19065 fi
19066
19067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19068 fi
19069 ac_res=`eval echo '${'$as_ac_Header'}'`
19070 { echo "$as_me:$LINENO: result: $ac_res" >&5
19071 echo "${ECHO_T}$ac_res" >&6; }
19072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19073 cat >>confdefs.h <<_ACEOF
19074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19075 _ACEOF
19076
19077 fi
19078
19079 done
19080
19081 fi
19082
19083
19084 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19085 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19086 if test "${ac_cv_c_const+set}" = set; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 else
19089 cat >conftest.$ac_ext <<_ACEOF
19090 /* confdefs.h. */
19091 _ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19095
19096 int
19097 main ()
19098 {
19099 /* FIXME: Include the comments suggested by Paul. */
19100 #ifndef __cplusplus
19101 /* Ultrix mips cc rejects this. */
19102 typedef int charset[2];
19103 const charset cs;
19104 /* SunOS 4.1.1 cc rejects this. */
19105 char const *const *pcpcc;
19106 char **ppc;
19107 /* NEC SVR4.0.2 mips cc rejects this. */
19108 struct point {int x, y;};
19109 static struct point const zero = {0,0};
19110 /* AIX XL C 1.02.0.0 rejects this.
19111 It does not let you subtract one const X* pointer from another in
19112 an arm of an if-expression whose if-part is not a constant
19113 expression */
19114 const char *g = "string";
19115 pcpcc = &g + (g ? g-g : 0);
19116 /* HPUX 7.0 cc rejects these. */
19117 ++pcpcc;
19118 ppc = (char**) pcpcc;
19119 pcpcc = (char const *const *) ppc;
19120 { /* SCO 3.2v4 cc rejects this. */
19121 char *t;
19122 char const *s = 0 ? (char *) 0 : (char const *) 0;
19123
19124 *t++ = 0;
19125 if (s) return 0;
19126 }
19127 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19128 int x[] = {25, 17};
19129 const int *foo = &x[0];
19130 ++foo;
19131 }
19132 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19133 typedef const int *iptr;
19134 iptr p = 0;
19135 ++p;
19136 }
19137 { /* AIX XL C 1.02.0.0 rejects this saying
19138 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19139 struct s { int j; const int *ap[3]; };
19140 struct s *b; b->j = 5;
19141 }
19142 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19143 const int foo = 10;
19144 if (!foo) return 0;
19145 }
19146 return !cs[0] && !zero.x;
19147 #endif
19148
19149 ;
19150 return 0;
19151 }
19152 _ACEOF
19153 rm -f conftest.$ac_objext
19154 if { (ac_try="$ac_compile"
19155 case "(($ac_try" in
19156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157 *) ac_try_echo=$ac_try;;
19158 esac
19159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19160 (eval "$ac_compile") 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } && {
19167 test -z "$ac_c_werror_flag" ||
19168 test ! -s conftest.err
19169 } && test -s conftest.$ac_objext; then
19170 ac_cv_c_const=yes
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19174
19175 ac_cv_c_const=no
19176 fi
19177
19178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19179 fi
19180 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19181 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19182 if test $ac_cv_c_const = no; then
19183
19184 cat >>confdefs.h <<\_ACEOF
19185 #define const
19186 _ACEOF
19187
19188 fi
19189
19190 { echo "$as_me:$LINENO: checking for inline" >&5
19191 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19192 if test "${ac_cv_c_inline+set}" = set; then
19193 echo $ECHO_N "(cached) $ECHO_C" >&6
19194 else
19195 ac_cv_c_inline=no
19196 for ac_kw in inline __inline__ __inline; do
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 #ifndef __cplusplus
19204 typedef int foo_t;
19205 static $ac_kw foo_t static_foo () {return 0; }
19206 $ac_kw foo_t foo () {return 0; }
19207 #endif
19208
19209 _ACEOF
19210 rm -f conftest.$ac_objext
19211 if { (ac_try="$ac_compile"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19215 esac
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_compile") 2>conftest.er1
19218 ac_status=$?
19219 grep -v '^ *+' conftest.er1 >conftest.err
19220 rm -f conftest.er1
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } && {
19224 test -z "$ac_c_werror_flag" ||
19225 test ! -s conftest.err
19226 } && test -s conftest.$ac_objext; then
19227 ac_cv_c_inline=$ac_kw
19228 else
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19231
19232
19233 fi
19234
19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 test "$ac_cv_c_inline" != no && break
19237 done
19238
19239 fi
19240 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19241 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19242
19243
19244 case $ac_cv_c_inline in
19245 inline | yes) ;;
19246 *)
19247 case $ac_cv_c_inline in
19248 no) ac_val=;;
19249 *) ac_val=$ac_cv_c_inline;;
19250 esac
19251 cat >>confdefs.h <<_ACEOF
19252 #ifndef __cplusplus
19253 #define inline $ac_val
19254 #endif
19255 _ACEOF
19256 ;;
19257 esac
19258
19259
19260 { echo "$as_me:$LINENO: checking for short" >&5
19261 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19262 if test "${ac_cv_type_short+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef short ac__type_new_;
19273 int
19274 main ()
19275 {
19276 if ((ac__type_new_ *) 0)
19277 return 0;
19278 if (sizeof (ac__type_new_))
19279 return 0;
19280 ;
19281 return 0;
19282 }
19283 _ACEOF
19284 rm -f conftest.$ac_objext
19285 if { (ac_try="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19289 esac
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_type_short=yes
19302 else
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19305
19306 ac_cv_type_short=no
19307 fi
19308
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 fi
19311 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19312 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19313
19314 # The cast to long int works around a bug in the HP C Compiler
19315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19317 # This bug is HP SR number 8606223364.
19318 { echo "$as_me:$LINENO: checking size of short" >&5
19319 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19320 if test "${ac_cv_sizeof_short+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19323 if test "$cross_compiling" = yes; then
19324 # Depending upon the size, compute the lo and hi bounds.
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19332 typedef short ac__type_sizeof_;
19333 int
19334 main ()
19335 {
19336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19337 test_array [0] = 0
19338
19339 ;
19340 return 0;
19341 }
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_lo=0 ac_mid=0
19361 while :; do
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19369 typedef short ac__type_sizeof_;
19370 int
19371 main ()
19372 {
19373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19374 test_array [0] = 0
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_hi=$ac_mid; break
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 ac_lo=`expr $ac_mid + 1`
19403 if test $ac_lo -le $ac_mid; then
19404 ac_lo= ac_hi=
19405 break
19406 fi
19407 ac_mid=`expr 2 '*' $ac_mid + 1`
19408 fi
19409
19410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19411 done
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19415
19416 cat >conftest.$ac_ext <<_ACEOF
19417 /* confdefs.h. */
19418 _ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 $ac_includes_default
19423 typedef short ac__type_sizeof_;
19424 int
19425 main ()
19426 {
19427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19428 test_array [0] = 0
19429
19430 ;
19431 return 0;
19432 }
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_hi=-1 ac_mid=-1
19452 while :; do
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 $ac_includes_default
19460 typedef short ac__type_sizeof_;
19461 int
19462 main ()
19463 {
19464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19465 test_array [0] = 0
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_lo=$ac_mid; break
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 ac_hi=`expr '(' $ac_mid ')' - 1`
19494 if test $ac_mid -le $ac_hi; then
19495 ac_lo= ac_hi=
19496 break
19497 fi
19498 ac_mid=`expr 2 '*' $ac_mid`
19499 fi
19500
19501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19502 done
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 ac_lo= ac_hi=
19508 fi
19509
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 fi
19512
19513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 # Binary search between lo and hi bounds.
19515 while test "x$ac_lo" != "x$ac_hi"; do
19516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 typedef short ac__type_sizeof_;
19525 int
19526 main ()
19527 {
19528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19529 test_array [0] = 0
19530
19531 ;
19532 return 0;
19533 }
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (ac_try="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.$ac_objext; then
19552 ac_hi=$ac_mid
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 ac_lo=`expr '(' $ac_mid ')' + 1`
19558 fi
19559
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 done
19562 case $ac_lo in
19563 ?*) ac_cv_sizeof_short=$ac_lo;;
19564 '') if test "$ac_cv_type_short" = yes; then
19565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19566 See \`config.log' for more details." >&5
19567 echo "$as_me: error: cannot compute sizeof (short)
19568 See \`config.log' for more details." >&2;}
19569 { (exit 77); exit 77; }; }
19570 else
19571 ac_cv_sizeof_short=0
19572 fi ;;
19573 esac
19574 else
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef short ac__type_sizeof_;
19583 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19584 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 #include <stdio.h>
19586 #include <stdlib.h>
19587 int
19588 main ()
19589 {
19590
19591 FILE *f = fopen ("conftest.val", "w");
19592 if (! f)
19593 return 1;
19594 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19595 {
19596 long int i = longval ();
19597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19598 return 1;
19599 fprintf (f, "%ld\n", i);
19600 }
19601 else
19602 {
19603 unsigned long int i = ulongval ();
19604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19605 return 1;
19606 fprintf (f, "%lu\n", i);
19607 }
19608 return ferror (f) || fclose (f) != 0;
19609
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_sizeof_short=`cat conftest.val`
19635 else
19636 echo "$as_me: program exited with status $ac_status" >&5
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ( exit $ac_status )
19641 if test "$ac_cv_type_short" = yes; then
19642 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19643 See \`config.log' for more details." >&5
19644 echo "$as_me: error: cannot compute sizeof (short)
19645 See \`config.log' for more details." >&2;}
19646 { (exit 77); exit 77; }; }
19647 else
19648 ac_cv_sizeof_short=0
19649 fi
19650 fi
19651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19652 fi
19653 rm -f conftest.val
19654 fi
19655 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19656 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19657
19658
19659
19660 cat >>confdefs.h <<_ACEOF
19661 #define SIZEOF_SHORT $ac_cv_sizeof_short
19662 _ACEOF
19663
19664
19665 { echo "$as_me:$LINENO: checking for void *" >&5
19666 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19667 if test "${ac_cv_type_void_p+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef void * ac__type_new_;
19678 int
19679 main ()
19680 {
19681 if ((ac__type_new_ *) 0)
19682 return 0;
19683 if (sizeof (ac__type_new_))
19684 return 0;
19685 ;
19686 return 0;
19687 }
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19694 esac
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_cv_type_void_p=yes
19707 else
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19710
19711 ac_cv_type_void_p=no
19712 fi
19713
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 fi
19716 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19717 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19718
19719 # The cast to long int works around a bug in the HP C Compiler
19720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19722 # This bug is HP SR number 8606223364.
19723 { echo "$as_me:$LINENO: checking size of void *" >&5
19724 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19725 if test "${ac_cv_sizeof_void_p+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 if test "$cross_compiling" = yes; then
19729 # Depending upon the size, compute the lo and hi bounds.
19730 cat >conftest.$ac_ext <<_ACEOF
19731 /* confdefs.h. */
19732 _ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19737 typedef void * ac__type_sizeof_;
19738 int
19739 main ()
19740 {
19741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19742 test_array [0] = 0
19743
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_lo=0 ac_mid=0
19766 while :; do
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef void * ac__type_sizeof_;
19775 int
19776 main ()
19777 {
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19779 test_array [0] = 0
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_hi=$ac_mid; break
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 ac_lo=`expr $ac_mid + 1`
19808 if test $ac_lo -le $ac_mid; then
19809 ac_lo= ac_hi=
19810 break
19811 fi
19812 ac_mid=`expr 2 '*' $ac_mid + 1`
19813 fi
19814
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816 done
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 cat >conftest.$ac_ext <<_ACEOF
19822 /* confdefs.h. */
19823 _ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 $ac_includes_default
19828 typedef void * ac__type_sizeof_;
19829 int
19830 main ()
19831 {
19832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19833 test_array [0] = 0
19834
19835 ;
19836 return 0;
19837 }
19838 _ACEOF
19839 rm -f conftest.$ac_objext
19840 if { (ac_try="$ac_compile"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19844 esac
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_compile") 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest.$ac_objext; then
19856 ac_hi=-1 ac_mid=-1
19857 while :; do
19858 cat >conftest.$ac_ext <<_ACEOF
19859 /* confdefs.h. */
19860 _ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19865 typedef void * ac__type_sizeof_;
19866 int
19867 main ()
19868 {
19869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19870 test_array [0] = 0
19871
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (ac_try="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19880 *) ac_try_echo=$ac_try;;
19881 esac
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19884 ac_status=$?
19885 grep -v '^ *+' conftest.er1 >conftest.err
19886 rm -f conftest.er1
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && {
19890 test -z "$ac_c_werror_flag" ||
19891 test ! -s conftest.err
19892 } && test -s conftest.$ac_objext; then
19893 ac_lo=$ac_mid; break
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_hi=`expr '(' $ac_mid ')' - 1`
19899 if test $ac_mid -le $ac_hi; then
19900 ac_lo= ac_hi=
19901 break
19902 fi
19903 ac_mid=`expr 2 '*' $ac_mid`
19904 fi
19905
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 done
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 ac_lo= ac_hi=
19913 fi
19914
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 fi
19917
19918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 # Binary search between lo and hi bounds.
19920 while test "x$ac_lo" != "x$ac_hi"; do
19921 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19929 typedef void * ac__type_sizeof_;
19930 int
19931 main ()
19932 {
19933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19934 test_array [0] = 0
19935
19936 ;
19937 return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (ac_try="$ac_compile"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_compile") 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest.$ac_objext; then
19957 ac_hi=$ac_mid
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_lo=`expr '(' $ac_mid ')' + 1`
19963 fi
19964
19965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 case $ac_lo in
19968 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19969 '') if test "$ac_cv_type_void_p" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (void *)
19973 See \`config.log' for more details." >&2;}
19974 { (exit 77); exit 77; }; }
19975 else
19976 ac_cv_sizeof_void_p=0
19977 fi ;;
19978 esac
19979 else
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef void * ac__type_sizeof_;
19988 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19989 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 #include <stdio.h>
19991 #include <stdlib.h>
19992 int
19993 main ()
19994 {
19995
19996 FILE *f = fopen ("conftest.val", "w");
19997 if (! f)
19998 return 1;
19999 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20000 {
20001 long int i = longval ();
20002 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20003 return 1;
20004 fprintf (f, "%ld\n", i);
20005 }
20006 else
20007 {
20008 unsigned long int i = ulongval ();
20009 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20010 return 1;
20011 fprintf (f, "%lu\n", i);
20012 }
20013 return ferror (f) || fclose (f) != 0;
20014
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 rm -f conftest$ac_exeext
20020 if { (ac_try="$ac_link"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20024 esac
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_link") 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20030 { (case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_try") 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_cv_sizeof_void_p=`cat conftest.val`
20040 else
20041 echo "$as_me: program exited with status $ac_status" >&5
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ( exit $ac_status )
20046 if test "$ac_cv_type_void_p" = yes; then
20047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (void *)
20050 See \`config.log' for more details." >&2;}
20051 { (exit 77); exit 77; }; }
20052 else
20053 ac_cv_sizeof_void_p=0
20054 fi
20055 fi
20056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20057 fi
20058 rm -f conftest.val
20059 fi
20060 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20061 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20062
20063
20064
20065 cat >>confdefs.h <<_ACEOF
20066 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20067 _ACEOF
20068
20069
20070 { echo "$as_me:$LINENO: checking for int" >&5
20071 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20072 if test "${ac_cv_type_int+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef int ac__type_new_;
20083 int
20084 main ()
20085 {
20086 if ((ac__type_new_ *) 0)
20087 return 0;
20088 if (sizeof (ac__type_new_))
20089 return 0;
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest.$ac_objext
20095 if { (ac_try="$ac_compile"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20099 esac
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_compile") 2>conftest.er1
20102 ac_status=$?
20103 grep -v '^ *+' conftest.er1 >conftest.err
20104 rm -f conftest.er1
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } && {
20108 test -z "$ac_c_werror_flag" ||
20109 test ! -s conftest.err
20110 } && test -s conftest.$ac_objext; then
20111 ac_cv_type_int=yes
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20115
20116 ac_cv_type_int=no
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 fi
20121 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20122 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20123
20124 # The cast to long int works around a bug in the HP C Compiler
20125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20127 # This bug is HP SR number 8606223364.
20128 { echo "$as_me:$LINENO: checking size of int" >&5
20129 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20130 if test "${ac_cv_sizeof_int+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 if test "$cross_compiling" = yes; then
20134 # Depending upon the size, compute the lo and hi bounds.
20135 cat >conftest.$ac_ext <<_ACEOF
20136 /* confdefs.h. */
20137 _ACEOF
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 $ac_includes_default
20142 typedef int ac__type_sizeof_;
20143 int
20144 main ()
20145 {
20146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20147 test_array [0] = 0
20148
20149 ;
20150 return 0;
20151 }
20152 _ACEOF
20153 rm -f conftest.$ac_objext
20154 if { (ac_try="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20158 esac
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20161 ac_status=$?
20162 grep -v '^ *+' conftest.er1 >conftest.err
20163 rm -f conftest.er1
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && {
20167 test -z "$ac_c_werror_flag" ||
20168 test ! -s conftest.err
20169 } && test -s conftest.$ac_objext; then
20170 ac_lo=0 ac_mid=0
20171 while :; do
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef int ac__type_sizeof_;
20180 int
20181 main ()
20182 {
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20184 test_array [0] = 0
20185
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20207 ac_hi=$ac_mid; break
20208 else
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20211
20212 ac_lo=`expr $ac_mid + 1`
20213 if test $ac_lo -le $ac_mid; then
20214 ac_lo= ac_hi=
20215 break
20216 fi
20217 ac_mid=`expr 2 '*' $ac_mid + 1`
20218 fi
20219
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 done
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef int ac__type_sizeof_;
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (ac_try="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20249 esac
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20252 ac_status=$?
20253 grep -v '^ *+' conftest.er1 >conftest.err
20254 rm -f conftest.er1
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20261 ac_hi=-1 ac_mid=-1
20262 while :; do
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h. */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef int ac__type_sizeof_;
20271 int
20272 main ()
20273 {
20274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20275 test_array [0] = 0
20276
20277 ;
20278 return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (ac_try="$ac_compile"
20283 case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20286 esac
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_compile") 2>conftest.er1
20289 ac_status=$?
20290 grep -v '^ *+' conftest.er1 >conftest.err
20291 rm -f conftest.er1
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.$ac_objext; then
20298 ac_lo=$ac_mid; break
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 ac_hi=`expr '(' $ac_mid ')' - 1`
20304 if test $ac_mid -le $ac_hi; then
20305 ac_lo= ac_hi=
20306 break
20307 fi
20308 ac_mid=`expr 2 '*' $ac_mid`
20309 fi
20310
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 done
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20316
20317 ac_lo= ac_hi=
20318 fi
20319
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 fi
20322
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 # Binary search between lo and hi bounds.
20325 while test "x$ac_lo" != "x$ac_hi"; do
20326 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 typedef int ac__type_sizeof_;
20335 int
20336 main ()
20337 {
20338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20339 test_array [0] = 0
20340
20341 ;
20342 return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20353 ac_status=$?
20354 grep -v '^ *+' conftest.er1 >conftest.err
20355 rm -f conftest.er1
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20362 ac_hi=$ac_mid
20363 else
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20366
20367 ac_lo=`expr '(' $ac_mid ')' + 1`
20368 fi
20369
20370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20371 done
20372 case $ac_lo in
20373 ?*) ac_cv_sizeof_int=$ac_lo;;
20374 '') if test "$ac_cv_type_int" = yes; then
20375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20376 See \`config.log' for more details." >&5
20377 echo "$as_me: error: cannot compute sizeof (int)
20378 See \`config.log' for more details." >&2;}
20379 { (exit 77); exit 77; }; }
20380 else
20381 ac_cv_sizeof_int=0
20382 fi ;;
20383 esac
20384 else
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef int ac__type_sizeof_;
20393 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20394 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 #include <stdio.h>
20396 #include <stdlib.h>
20397 int
20398 main ()
20399 {
20400
20401 FILE *f = fopen ("conftest.val", "w");
20402 if (! f)
20403 return 1;
20404 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20405 {
20406 long int i = longval ();
20407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20408 return 1;
20409 fprintf (f, "%ld\n", i);
20410 }
20411 else
20412 {
20413 unsigned long int i = ulongval ();
20414 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20415 return 1;
20416 fprintf (f, "%lu\n", i);
20417 }
20418 return ferror (f) || fclose (f) != 0;
20419
20420 ;
20421 return 0;
20422 }
20423 _ACEOF
20424 rm -f conftest$ac_exeext
20425 if { (ac_try="$ac_link"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429 esac
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>&5
20432 ac_status=$?
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20435 { (case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_sizeof_int=`cat conftest.val`
20445 else
20446 echo "$as_me: program exited with status $ac_status" >&5
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ( exit $ac_status )
20451 if test "$ac_cv_type_int" = yes; then
20452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20453 See \`config.log' for more details." >&5
20454 echo "$as_me: error: cannot compute sizeof (int)
20455 See \`config.log' for more details." >&2;}
20456 { (exit 77); exit 77; }; }
20457 else
20458 ac_cv_sizeof_int=0
20459 fi
20460 fi
20461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20462 fi
20463 rm -f conftest.val
20464 fi
20465 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20466 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20467
20468
20469
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_INT $ac_cv_sizeof_int
20472 _ACEOF
20473
20474
20475 { echo "$as_me:$LINENO: checking for long" >&5
20476 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_long+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef long ac__type_new_;
20488 int
20489 main ()
20490 {
20491 if ((ac__type_new_ *) 0)
20492 return 0;
20493 if (sizeof (ac__type_new_))
20494 return 0;
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_long=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 ac_cv_type_long=no
20522 fi
20523
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 fi
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20527 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20528
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of long" >&5
20534 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_long+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef long ac__type_sizeof_;
20548 int
20549 main ()
20550 {
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20552 test_array [0] = 0
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext
20559 if { (ac_try="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20575 ac_lo=0 ac_mid=0
20576 while :; do
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef long ac__type_sizeof_;
20585 int
20586 main ()
20587 {
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20589 test_array [0] = 0
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20600 esac
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=$ac_mid; break
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 ac_lo=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20619 ac_lo= ac_hi=
20620 break
20621 fi
20622 ac_mid=`expr 2 '*' $ac_mid + 1`
20623 fi
20624
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20626 done
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef long ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_hi=-1 ac_mid=-1
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef long ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_lo=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 ac_lo= ac_hi=
20723 fi
20724
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20726 fi
20727
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef long ac__type_sizeof_;
20740 int
20741 main ()
20742 {
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20744 test_array [0] = 0
20745
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20767 ac_hi=$ac_mid
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 fi
20774
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 done
20777 case $ac_lo in
20778 ?*) ac_cv_sizeof_long=$ac_lo;;
20779 '') if test "$ac_cv_type_long" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20781 See \`config.log' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (long)
20783 See \`config.log' for more details." >&2;}
20784 { (exit 77); exit 77; }; }
20785 else
20786 ac_cv_sizeof_long=0
20787 fi ;;
20788 esac
20789 else
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef long ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 #include <stdio.h>
20801 #include <stdlib.h>
20802 int
20803 main ()
20804 {
20805
20806 FILE *f = fopen ("conftest.val", "w");
20807 if (! f)
20808 return 1;
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20810 {
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20813 return 1;
20814 fprintf (f, "%ld\n", i);
20815 }
20816 else
20817 {
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20820 return 1;
20821 fprintf (f, "%lu\n", i);
20822 }
20823 return ferror (f) || fclose (f) != 0;
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20834 esac
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_long=`cat conftest.val`
20850 else
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_long" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (long)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20862 else
20863 ac_cv_sizeof_long=0
20864 fi
20865 fi
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20867 fi
20868 rm -f conftest.val
20869 fi
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20872
20873
20874
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_LONG $ac_cv_sizeof_long
20877 _ACEOF
20878
20879
20880 { echo "$as_me:$LINENO: checking for size_t" >&5
20881 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20882 if test "${ac_cv_type_size_t+set}" = set; then
20883 echo $ECHO_N "(cached) $ECHO_C" >&6
20884 else
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 $ac_includes_default
20892 typedef size_t ac__type_new_;
20893 int
20894 main ()
20895 {
20896 if ((ac__type_new_ *) 0)
20897 return 0;
20898 if (sizeof (ac__type_new_))
20899 return 0;
20900 ;
20901 return 0;
20902 }
20903 _ACEOF
20904 rm -f conftest.$ac_objext
20905 if { (ac_try="$ac_compile"
20906 case "(($ac_try" in
20907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20908 *) ac_try_echo=$ac_try;;
20909 esac
20910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20911 (eval "$ac_compile") 2>conftest.er1
20912 ac_status=$?
20913 grep -v '^ *+' conftest.er1 >conftest.err
20914 rm -f conftest.er1
20915 cat conftest.err >&5
20916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 (exit $ac_status); } && {
20918 test -z "$ac_c_werror_flag" ||
20919 test ! -s conftest.err
20920 } && test -s conftest.$ac_objext; then
20921 ac_cv_type_size_t=yes
20922 else
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.$ac_ext >&5
20925
20926 ac_cv_type_size_t=no
20927 fi
20928
20929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20930 fi
20931 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20932 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20933
20934 # The cast to long int works around a bug in the HP C Compiler
20935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20937 # This bug is HP SR number 8606223364.
20938 { echo "$as_me:$LINENO: checking size of size_t" >&5
20939 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20940 if test "${ac_cv_sizeof_size_t+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 else
20943 if test "$cross_compiling" = yes; then
20944 # Depending upon the size, compute the lo and hi bounds.
20945 cat >conftest.$ac_ext <<_ACEOF
20946 /* confdefs.h. */
20947 _ACEOF
20948 cat confdefs.h >>conftest.$ac_ext
20949 cat >>conftest.$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951 $ac_includes_default
20952 typedef size_t ac__type_sizeof_;
20953 int
20954 main ()
20955 {
20956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20957 test_array [0] = 0
20958
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 rm -f conftest.$ac_objext
20964 if { (ac_try="$ac_compile"
20965 case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20968 esac
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_compile") 2>conftest.er1
20971 ac_status=$?
20972 grep -v '^ *+' conftest.er1 >conftest.err
20973 rm -f conftest.er1
20974 cat conftest.err >&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } && {
20977 test -z "$ac_c_werror_flag" ||
20978 test ! -s conftest.err
20979 } && test -s conftest.$ac_objext; then
20980 ac_lo=0 ac_mid=0
20981 while :; do
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef size_t ac__type_sizeof_;
20990 int
20991 main ()
20992 {
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20994 test_array [0] = 0
20995
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21008 ac_status=$?
21009 grep -v '^ *+' conftest.er1 >conftest.err
21010 rm -f conftest.er1
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_hi=$ac_mid; break
21018 else
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ac_lo=`expr $ac_mid + 1`
21023 if test $ac_lo -le $ac_mid; then
21024 ac_lo= ac_hi=
21025 break
21026 fi
21027 ac_mid=`expr 2 '*' $ac_mid + 1`
21028 fi
21029
21030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21031 done
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21035
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 $ac_includes_default
21043 typedef size_t ac__type_sizeof_;
21044 int
21045 main ()
21046 {
21047 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21048 test_array [0] = 0
21049
21050 ;
21051 return 0;
21052 }
21053 _ACEOF
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21059 esac
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_hi=-1 ac_mid=-1
21072 while :; do
21073 cat >conftest.$ac_ext <<_ACEOF
21074 /* confdefs.h. */
21075 _ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 $ac_includes_default
21080 typedef size_t ac__type_sizeof_;
21081 int
21082 main ()
21083 {
21084 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21085 test_array [0] = 0
21086
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext
21092 if { (ac_try="$ac_compile"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21096 esac
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_compile") 2>conftest.er1
21099 ac_status=$?
21100 grep -v '^ *+' conftest.er1 >conftest.err
21101 rm -f conftest.er1
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && {
21105 test -z "$ac_c_werror_flag" ||
21106 test ! -s conftest.err
21107 } && test -s conftest.$ac_objext; then
21108 ac_lo=$ac_mid; break
21109 else
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21112
21113 ac_hi=`expr '(' $ac_mid ')' - 1`
21114 if test $ac_mid -le $ac_hi; then
21115 ac_lo= ac_hi=
21116 break
21117 fi
21118 ac_mid=`expr 2 '*' $ac_mid`
21119 fi
21120
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 done
21123 else
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.$ac_ext >&5
21126
21127 ac_lo= ac_hi=
21128 fi
21129
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21131 fi
21132
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 # Binary search between lo and hi bounds.
21135 while test "x$ac_lo" != "x$ac_hi"; do
21136 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef size_t ac__type_sizeof_;
21145 int
21146 main ()
21147 {
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21149 test_array [0] = 0
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo=`expr '(' $ac_mid ')' + 1`
21178 fi
21179
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 done
21182 case $ac_lo in
21183 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21184 '') if test "$ac_cv_type_size_t" = yes; then
21185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21186 See \`config.log' for more details." >&5
21187 echo "$as_me: error: cannot compute sizeof (size_t)
21188 See \`config.log' for more details." >&2;}
21189 { (exit 77); exit 77; }; }
21190 else
21191 ac_cv_sizeof_size_t=0
21192 fi ;;
21193 esac
21194 else
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef size_t ac__type_sizeof_;
21203 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21204 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 #include <stdio.h>
21206 #include <stdlib.h>
21207 int
21208 main ()
21209 {
21210
21211 FILE *f = fopen ("conftest.val", "w");
21212 if (! f)
21213 return 1;
21214 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21215 {
21216 long int i = longval ();
21217 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21218 return 1;
21219 fprintf (f, "%ld\n", i);
21220 }
21221 else
21222 {
21223 unsigned long int i = ulongval ();
21224 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21225 return 1;
21226 fprintf (f, "%lu\n", i);
21227 }
21228 return ferror (f) || fclose (f) != 0;
21229
21230 ;
21231 return 0;
21232 }
21233 _ACEOF
21234 rm -f conftest$ac_exeext
21235 if { (ac_try="$ac_link"
21236 case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21239 esac
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_link") 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21245 { (case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21248 esac
21249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_try") 2>&5
21251 ac_status=$?
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_cv_sizeof_size_t=`cat conftest.val`
21255 else
21256 echo "$as_me: program exited with status $ac_status" >&5
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ( exit $ac_status )
21261 if test "$ac_cv_type_size_t" = yes; then
21262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21263 See \`config.log' for more details." >&5
21264 echo "$as_me: error: cannot compute sizeof (size_t)
21265 See \`config.log' for more details." >&2;}
21266 { (exit 77); exit 77; }; }
21267 else
21268 ac_cv_sizeof_size_t=0
21269 fi
21270 fi
21271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21272 fi
21273 rm -f conftest.val
21274 fi
21275 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21276 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21277
21278
21279
21280 cat >>confdefs.h <<_ACEOF
21281 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21282 _ACEOF
21283
21284
21285
21286 case "${host}" in
21287 arm-*-linux* )
21288 { echo "$as_me:$LINENO: checking for long long" >&5
21289 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21290 if test "${ac_cv_type_long_long+set}" = set; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21292 else
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 typedef long long ac__type_new_;
21301 int
21302 main ()
21303 {
21304 if ((ac__type_new_ *) 0)
21305 return 0;
21306 if (sizeof (ac__type_new_))
21307 return 0;
21308 ;
21309 return 0;
21310 }
21311 _ACEOF
21312 rm -f conftest.$ac_objext
21313 if { (ac_try="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21317 esac
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21320 ac_status=$?
21321 grep -v '^ *+' conftest.er1 >conftest.err
21322 rm -f conftest.er1
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.$ac_objext; then
21329 ac_cv_type_long_long=yes
21330 else
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21333
21334 ac_cv_type_long_long=no
21335 fi
21336
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 fi
21339 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21340 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21341
21342 # The cast to long int works around a bug in the HP C Compiler
21343 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21344 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21345 # This bug is HP SR number 8606223364.
21346 { echo "$as_me:$LINENO: checking size of long long" >&5
21347 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21348 if test "${ac_cv_sizeof_long_long+set}" = set; then
21349 echo $ECHO_N "(cached) $ECHO_C" >&6
21350 else
21351 if test "$cross_compiling" = yes; then
21352 # Depending upon the size, compute the lo and hi bounds.
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef long long ac__type_sizeof_;
21361 int
21362 main ()
21363 {
21364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21365 test_array [0] = 0
21366
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (ac_try="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21376 esac
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21379 ac_status=$?
21380 grep -v '^ *+' conftest.er1 >conftest.err
21381 rm -f conftest.er1
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21388 ac_lo=0 ac_mid=0
21389 while :; do
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef long long ac__type_sizeof_;
21398 int
21399 main ()
21400 {
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21402 test_array [0] = 0
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_hi=$ac_mid; break
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 ac_lo=`expr $ac_mid + 1`
21431 if test $ac_lo -le $ac_mid; then
21432 ac_lo= ac_hi=
21433 break
21434 fi
21435 ac_mid=`expr 2 '*' $ac_mid + 1`
21436 fi
21437
21438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21439 done
21440 else
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.$ac_ext >&5
21443
21444 cat >conftest.$ac_ext <<_ACEOF
21445 /* confdefs.h. */
21446 _ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 $ac_includes_default
21451 typedef long long ac__type_sizeof_;
21452 int
21453 main ()
21454 {
21455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21456 test_array [0] = 0
21457
21458 ;
21459 return 0;
21460 }
21461 _ACEOF
21462 rm -f conftest.$ac_objext
21463 if { (ac_try="$ac_compile"
21464 case "(($ac_try" in
21465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21466 *) ac_try_echo=$ac_try;;
21467 esac
21468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21469 (eval "$ac_compile") 2>conftest.er1
21470 ac_status=$?
21471 grep -v '^ *+' conftest.er1 >conftest.err
21472 rm -f conftest.er1
21473 cat conftest.err >&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } && {
21476 test -z "$ac_c_werror_flag" ||
21477 test ! -s conftest.err
21478 } && test -s conftest.$ac_objext; then
21479 ac_hi=-1 ac_mid=-1
21480 while :; do
21481 cat >conftest.$ac_ext <<_ACEOF
21482 /* confdefs.h. */
21483 _ACEOF
21484 cat confdefs.h >>conftest.$ac_ext
21485 cat >>conftest.$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 $ac_includes_default
21488 typedef long long ac__type_sizeof_;
21489 int
21490 main ()
21491 {
21492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21493 test_array [0] = 0
21494
21495 ;
21496 return 0;
21497 }
21498 _ACEOF
21499 rm -f conftest.$ac_objext
21500 if { (ac_try="$ac_compile"
21501 case "(($ac_try" in
21502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21503 *) ac_try_echo=$ac_try;;
21504 esac
21505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 (eval "$ac_compile") 2>conftest.er1
21507 ac_status=$?
21508 grep -v '^ *+' conftest.er1 >conftest.err
21509 rm -f conftest.er1
21510 cat conftest.err >&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } && {
21513 test -z "$ac_c_werror_flag" ||
21514 test ! -s conftest.err
21515 } && test -s conftest.$ac_objext; then
21516 ac_lo=$ac_mid; break
21517 else
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.$ac_ext >&5
21520
21521 ac_hi=`expr '(' $ac_mid ')' - 1`
21522 if test $ac_mid -le $ac_hi; then
21523 ac_lo= ac_hi=
21524 break
21525 fi
21526 ac_mid=`expr 2 '*' $ac_mid`
21527 fi
21528
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 done
21531 else
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21534
21535 ac_lo= ac_hi=
21536 fi
21537
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 fi
21540
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 # Binary search between lo and hi bounds.
21543 while test "x$ac_lo" != "x$ac_hi"; do
21544 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21545 cat >conftest.$ac_ext <<_ACEOF
21546 /* confdefs.h. */
21547 _ACEOF
21548 cat confdefs.h >>conftest.$ac_ext
21549 cat >>conftest.$ac_ext <<_ACEOF
21550 /* end confdefs.h. */
21551 $ac_includes_default
21552 typedef long long ac__type_sizeof_;
21553 int
21554 main ()
21555 {
21556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21557 test_array [0] = 0
21558
21559 ;
21560 return 0;
21561 }
21562 _ACEOF
21563 rm -f conftest.$ac_objext
21564 if { (ac_try="$ac_compile"
21565 case "(($ac_try" in
21566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21567 *) ac_try_echo=$ac_try;;
21568 esac
21569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21570 (eval "$ac_compile") 2>conftest.er1
21571 ac_status=$?
21572 grep -v '^ *+' conftest.er1 >conftest.err
21573 rm -f conftest.er1
21574 cat conftest.err >&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); } && {
21577 test -z "$ac_c_werror_flag" ||
21578 test ! -s conftest.err
21579 } && test -s conftest.$ac_objext; then
21580 ac_hi=$ac_mid
21581 else
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21584
21585 ac_lo=`expr '(' $ac_mid ')' + 1`
21586 fi
21587
21588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21589 done
21590 case $ac_lo in
21591 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21592 '') if test "$ac_cv_type_long_long" = yes; then
21593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21594 See \`config.log' for more details." >&5
21595 echo "$as_me: error: cannot compute sizeof (long long)
21596 See \`config.log' for more details." >&2;}
21597 { (exit 77); exit 77; }; }
21598 else
21599 ac_cv_sizeof_long_long=0
21600 fi ;;
21601 esac
21602 else
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 $ac_includes_default
21610 typedef long long ac__type_sizeof_;
21611 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21612 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21613 #include <stdio.h>
21614 #include <stdlib.h>
21615 int
21616 main ()
21617 {
21618
21619 FILE *f = fopen ("conftest.val", "w");
21620 if (! f)
21621 return 1;
21622 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21623 {
21624 long int i = longval ();
21625 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21626 return 1;
21627 fprintf (f, "%ld\n", i);
21628 }
21629 else
21630 {
21631 unsigned long int i = ulongval ();
21632 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21633 return 1;
21634 fprintf (f, "%lu\n", i);
21635 }
21636 return ferror (f) || fclose (f) != 0;
21637
21638 ;
21639 return 0;
21640 }
21641 _ACEOF
21642 rm -f conftest$ac_exeext
21643 if { (ac_try="$ac_link"
21644 case "(($ac_try" in
21645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21646 *) ac_try_echo=$ac_try;;
21647 esac
21648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21649 (eval "$ac_link") 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21653 { (case "(($ac_try" in
21654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21655 *) ac_try_echo=$ac_try;;
21656 esac
21657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21658 (eval "$ac_try") 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; }; then
21662 ac_cv_sizeof_long_long=`cat conftest.val`
21663 else
21664 echo "$as_me: program exited with status $ac_status" >&5
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 ( exit $ac_status )
21669 if test "$ac_cv_type_long_long" = yes; then
21670 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21671 See \`config.log' for more details." >&5
21672 echo "$as_me: error: cannot compute sizeof (long long)
21673 See \`config.log' for more details." >&2;}
21674 { (exit 77); exit 77; }; }
21675 else
21676 ac_cv_sizeof_long_long=0
21677 fi
21678 fi
21679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21680 fi
21681 rm -f conftest.val
21682 fi
21683 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21684 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21685
21686
21687
21688 cat >>confdefs.h <<_ACEOF
21689 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21690 _ACEOF
21691
21692
21693 ;;
21694 *-hp-hpux* )
21695 { echo "$as_me:$LINENO: checking for long long" >&5
21696 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21697 if test "${ac_cv_type_long_long+set}" = set; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700 cat >conftest.$ac_ext <<_ACEOF
21701 /* confdefs.h. */
21702 _ACEOF
21703 cat confdefs.h >>conftest.$ac_ext
21704 cat >>conftest.$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 $ac_includes_default
21707 typedef long long ac__type_new_;
21708 int
21709 main ()
21710 {
21711 if ((ac__type_new_ *) 0)
21712 return 0;
21713 if (sizeof (ac__type_new_))
21714 return 0;
21715 ;
21716 return 0;
21717 }
21718 _ACEOF
21719 rm -f conftest.$ac_objext
21720 if { (ac_try="$ac_compile"
21721 case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21724 esac
21725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compile") 2>conftest.er1
21727 ac_status=$?
21728 grep -v '^ *+' conftest.er1 >conftest.err
21729 rm -f conftest.er1
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } && {
21733 test -z "$ac_c_werror_flag" ||
21734 test ! -s conftest.err
21735 } && test -s conftest.$ac_objext; then
21736 ac_cv_type_long_long=yes
21737 else
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ac_cv_type_long_long=no
21742 fi
21743
21744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21745 fi
21746 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21747 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21748
21749 # The cast to long int works around a bug in the HP C Compiler
21750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21752 # This bug is HP SR number 8606223364.
21753 { echo "$as_me:$LINENO: checking size of long long" >&5
21754 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21755 if test "${ac_cv_sizeof_long_long+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 if test "$cross_compiling" = yes; then
21759 # Depending upon the size, compute the lo and hi bounds.
21760 cat >conftest.$ac_ext <<_ACEOF
21761 /* confdefs.h. */
21762 _ACEOF
21763 cat confdefs.h >>conftest.$ac_ext
21764 cat >>conftest.$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 $ac_includes_default
21767 typedef long long ac__type_sizeof_;
21768 int
21769 main ()
21770 {
21771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21772 test_array [0] = 0
21773
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 rm -f conftest.$ac_objext
21779 if { (ac_try="$ac_compile"
21780 case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21783 esac
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_compile") 2>conftest.er1
21786 ac_status=$?
21787 grep -v '^ *+' conftest.er1 >conftest.err
21788 rm -f conftest.er1
21789 cat conftest.err >&5
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); } && {
21792 test -z "$ac_c_werror_flag" ||
21793 test ! -s conftest.err
21794 } && test -s conftest.$ac_objext; then
21795 ac_lo=0 ac_mid=0
21796 while :; do
21797 cat >conftest.$ac_ext <<_ACEOF
21798 /* confdefs.h. */
21799 _ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 $ac_includes_default
21804 typedef long long ac__type_sizeof_;
21805 int
21806 main ()
21807 {
21808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21809 test_array [0] = 0
21810
21811 ;
21812 return 0;
21813 }
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (ac_try="$ac_compile"
21817 case "(($ac_try" in
21818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21819 *) ac_try_echo=$ac_try;;
21820 esac
21821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21822 (eval "$ac_compile") 2>conftest.er1
21823 ac_status=$?
21824 grep -v '^ *+' conftest.er1 >conftest.err
21825 rm -f conftest.er1
21826 cat conftest.err >&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); } && {
21829 test -z "$ac_c_werror_flag" ||
21830 test ! -s conftest.err
21831 } && test -s conftest.$ac_objext; then
21832 ac_hi=$ac_mid; break
21833 else
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 ac_lo=`expr $ac_mid + 1`
21838 if test $ac_lo -le $ac_mid; then
21839 ac_lo= ac_hi=
21840 break
21841 fi
21842 ac_mid=`expr 2 '*' $ac_mid + 1`
21843 fi
21844
21845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21846 done
21847 else
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.$ac_ext >&5
21850
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 $ac_includes_default
21858 typedef long long ac__type_sizeof_;
21859 int
21860 main ()
21861 {
21862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21863 test_array [0] = 0
21864
21865 ;
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest.$ac_objext
21870 if { (ac_try="$ac_compile"
21871 case "(($ac_try" in
21872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873 *) ac_try_echo=$ac_try;;
21874 esac
21875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_compile") 2>conftest.er1
21877 ac_status=$?
21878 grep -v '^ *+' conftest.er1 >conftest.err
21879 rm -f conftest.er1
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } && {
21883 test -z "$ac_c_werror_flag" ||
21884 test ! -s conftest.err
21885 } && test -s conftest.$ac_objext; then
21886 ac_hi=-1 ac_mid=-1
21887 while :; do
21888 cat >conftest.$ac_ext <<_ACEOF
21889 /* confdefs.h. */
21890 _ACEOF
21891 cat confdefs.h >>conftest.$ac_ext
21892 cat >>conftest.$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21894 $ac_includes_default
21895 typedef long long ac__type_sizeof_;
21896 int
21897 main ()
21898 {
21899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21900 test_array [0] = 0
21901
21902 ;
21903 return 0;
21904 }
21905 _ACEOF
21906 rm -f conftest.$ac_objext
21907 if { (ac_try="$ac_compile"
21908 case "(($ac_try" in
21909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21910 *) ac_try_echo=$ac_try;;
21911 esac
21912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21913 (eval "$ac_compile") 2>conftest.er1
21914 ac_status=$?
21915 grep -v '^ *+' conftest.er1 >conftest.err
21916 rm -f conftest.er1
21917 cat conftest.err >&5
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } && {
21920 test -z "$ac_c_werror_flag" ||
21921 test ! -s conftest.err
21922 } && test -s conftest.$ac_objext; then
21923 ac_lo=$ac_mid; break
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 ac_hi=`expr '(' $ac_mid ')' - 1`
21929 if test $ac_mid -le $ac_hi; then
21930 ac_lo= ac_hi=
21931 break
21932 fi
21933 ac_mid=`expr 2 '*' $ac_mid`
21934 fi
21935
21936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 done
21938 else
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.$ac_ext >&5
21941
21942 ac_lo= ac_hi=
21943 fi
21944
21945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21946 fi
21947
21948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21949 # Binary search between lo and hi bounds.
21950 while test "x$ac_lo" != "x$ac_hi"; do
21951 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21952 cat >conftest.$ac_ext <<_ACEOF
21953 /* confdefs.h. */
21954 _ACEOF
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 typedef long long ac__type_sizeof_;
21960 int
21961 main ()
21962 {
21963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21964 test_array [0] = 0
21965
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 rm -f conftest.$ac_objext
21971 if { (ac_try="$ac_compile"
21972 case "(($ac_try" in
21973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21974 *) ac_try_echo=$ac_try;;
21975 esac
21976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21977 (eval "$ac_compile") 2>conftest.er1
21978 ac_status=$?
21979 grep -v '^ *+' conftest.er1 >conftest.err
21980 rm -f conftest.er1
21981 cat conftest.err >&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } && {
21984 test -z "$ac_c_werror_flag" ||
21985 test ! -s conftest.err
21986 } && test -s conftest.$ac_objext; then
21987 ac_hi=$ac_mid
21988 else
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21991
21992 ac_lo=`expr '(' $ac_mid ')' + 1`
21993 fi
21994
21995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21996 done
21997 case $ac_lo in
21998 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21999 '') if test "$ac_cv_type_long_long" = yes; then
22000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22001 See \`config.log' for more details." >&5
22002 echo "$as_me: error: cannot compute sizeof (long long)
22003 See \`config.log' for more details." >&2;}
22004 { (exit 77); exit 77; }; }
22005 else
22006 ac_cv_sizeof_long_long=0
22007 fi ;;
22008 esac
22009 else
22010 cat >conftest.$ac_ext <<_ACEOF
22011 /* confdefs.h. */
22012 _ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 $ac_includes_default
22017 typedef long long ac__type_sizeof_;
22018 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22019 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22020 #include <stdio.h>
22021 #include <stdlib.h>
22022 int
22023 main ()
22024 {
22025
22026 FILE *f = fopen ("conftest.val", "w");
22027 if (! f)
22028 return 1;
22029 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22030 {
22031 long int i = longval ();
22032 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22033 return 1;
22034 fprintf (f, "%ld\n", i);
22035 }
22036 else
22037 {
22038 unsigned long int i = ulongval ();
22039 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22040 return 1;
22041 fprintf (f, "%lu\n", i);
22042 }
22043 return ferror (f) || fclose (f) != 0;
22044
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 rm -f conftest$ac_exeext
22050 if { (ac_try="$ac_link"
22051 case "(($ac_try" in
22052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22053 *) ac_try_echo=$ac_try;;
22054 esac
22055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22056 (eval "$ac_link") 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_sizeof_long_long=`cat conftest.val`
22070 else
22071 echo "$as_me: program exited with status $ac_status" >&5
22072 echo "$as_me: failed program was:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22074
22075 ( exit $ac_status )
22076 if test "$ac_cv_type_long_long" = yes; then
22077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22078 See \`config.log' for more details." >&5
22079 echo "$as_me: error: cannot compute sizeof (long long)
22080 See \`config.log' for more details." >&2;}
22081 { (exit 77); exit 77; }; }
22082 else
22083 ac_cv_sizeof_long_long=0
22084 fi
22085 fi
22086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22087 fi
22088 rm -f conftest.val
22089 fi
22090 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22091 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22092
22093
22094
22095 cat >>confdefs.h <<_ACEOF
22096 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22097 _ACEOF
22098
22099
22100 if test "$ac_cv_sizeof_long_long" != 0; then
22101 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22102 fi
22103 ;;
22104 * )
22105 { echo "$as_me:$LINENO: checking for long long" >&5
22106 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22107 if test "${ac_cv_type_long_long+set}" = set; then
22108 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 else
22110 cat >conftest.$ac_ext <<_ACEOF
22111 /* confdefs.h. */
22112 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_new_;
22118 int
22119 main ()
22120 {
22121 if ((ac__type_new_ *) 0)
22122 return 0;
22123 if (sizeof (ac__type_new_))
22124 return 0;
22125 ;
22126 return 0;
22127 }
22128 _ACEOF
22129 rm -f conftest.$ac_objext
22130 if { (ac_try="$ac_compile"
22131 case "(($ac_try" in
22132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22133 *) ac_try_echo=$ac_try;;
22134 esac
22135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22136 (eval "$ac_compile") 2>conftest.er1
22137 ac_status=$?
22138 grep -v '^ *+' conftest.er1 >conftest.err
22139 rm -f conftest.er1
22140 cat conftest.err >&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } && {
22143 test -z "$ac_c_werror_flag" ||
22144 test ! -s conftest.err
22145 } && test -s conftest.$ac_objext; then
22146 ac_cv_type_long_long=yes
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_cv_type_long_long=no
22152 fi
22153
22154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 fi
22156 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22157 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22158
22159 # The cast to long int works around a bug in the HP C Compiler
22160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22162 # This bug is HP SR number 8606223364.
22163 { echo "$as_me:$LINENO: checking size of long long" >&5
22164 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22165 if test "${ac_cv_sizeof_long_long+set}" = set; then
22166 echo $ECHO_N "(cached) $ECHO_C" >&6
22167 else
22168 if test "$cross_compiling" = yes; then
22169 # Depending upon the size, compute the lo and hi bounds.
22170 cat >conftest.$ac_ext <<_ACEOF
22171 /* confdefs.h. */
22172 _ACEOF
22173 cat confdefs.h >>conftest.$ac_ext
22174 cat >>conftest.$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 $ac_includes_default
22177 typedef long long ac__type_sizeof_;
22178 int
22179 main ()
22180 {
22181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22182 test_array [0] = 0
22183
22184 ;
22185 return 0;
22186 }
22187 _ACEOF
22188 rm -f conftest.$ac_objext
22189 if { (ac_try="$ac_compile"
22190 case "(($ac_try" in
22191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22192 *) ac_try_echo=$ac_try;;
22193 esac
22194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22195 (eval "$ac_compile") 2>conftest.er1
22196 ac_status=$?
22197 grep -v '^ *+' conftest.er1 >conftest.err
22198 rm -f conftest.er1
22199 cat conftest.err >&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } && {
22202 test -z "$ac_c_werror_flag" ||
22203 test ! -s conftest.err
22204 } && test -s conftest.$ac_objext; then
22205 ac_lo=0 ac_mid=0
22206 while :; do
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 $ac_includes_default
22214 typedef long long ac__type_sizeof_;
22215 int
22216 main ()
22217 {
22218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22219 test_array [0] = 0
22220
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 rm -f conftest.$ac_objext
22226 if { (ac_try="$ac_compile"
22227 case "(($ac_try" in
22228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22230 esac
22231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22232 (eval "$ac_compile") 2>conftest.er1
22233 ac_status=$?
22234 grep -v '^ *+' conftest.er1 >conftest.err
22235 rm -f conftest.er1
22236 cat conftest.err >&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } && {
22239 test -z "$ac_c_werror_flag" ||
22240 test ! -s conftest.err
22241 } && test -s conftest.$ac_objext; then
22242 ac_hi=$ac_mid; break
22243 else
22244 echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.$ac_ext >&5
22246
22247 ac_lo=`expr $ac_mid + 1`
22248 if test $ac_lo -le $ac_mid; then
22249 ac_lo= ac_hi=
22250 break
22251 fi
22252 ac_mid=`expr 2 '*' $ac_mid + 1`
22253 fi
22254
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 done
22257 else
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22260
22261 cat >conftest.$ac_ext <<_ACEOF
22262 /* confdefs.h. */
22263 _ACEOF
22264 cat confdefs.h >>conftest.$ac_ext
22265 cat >>conftest.$ac_ext <<_ACEOF
22266 /* end confdefs.h. */
22267 $ac_includes_default
22268 typedef long long ac__type_sizeof_;
22269 int
22270 main ()
22271 {
22272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22273 test_array [0] = 0
22274
22275 ;
22276 return 0;
22277 }
22278 _ACEOF
22279 rm -f conftest.$ac_objext
22280 if { (ac_try="$ac_compile"
22281 case "(($ac_try" in
22282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22283 *) ac_try_echo=$ac_try;;
22284 esac
22285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22286 (eval "$ac_compile") 2>conftest.er1
22287 ac_status=$?
22288 grep -v '^ *+' conftest.er1 >conftest.err
22289 rm -f conftest.er1
22290 cat conftest.err >&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } && {
22293 test -z "$ac_c_werror_flag" ||
22294 test ! -s conftest.err
22295 } && test -s conftest.$ac_objext; then
22296 ac_hi=-1 ac_mid=-1
22297 while :; do
22298 cat >conftest.$ac_ext <<_ACEOF
22299 /* confdefs.h. */
22300 _ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 $ac_includes_default
22305 typedef long long ac__type_sizeof_;
22306 int
22307 main ()
22308 {
22309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22310 test_array [0] = 0
22311
22312 ;
22313 return 0;
22314 }
22315 _ACEOF
22316 rm -f conftest.$ac_objext
22317 if { (ac_try="$ac_compile"
22318 case "(($ac_try" in
22319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320 *) ac_try_echo=$ac_try;;
22321 esac
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_compile") 2>conftest.er1
22324 ac_status=$?
22325 grep -v '^ *+' conftest.er1 >conftest.err
22326 rm -f conftest.er1
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } && {
22330 test -z "$ac_c_werror_flag" ||
22331 test ! -s conftest.err
22332 } && test -s conftest.$ac_objext; then
22333 ac_lo=$ac_mid; break
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22337
22338 ac_hi=`expr '(' $ac_mid ')' - 1`
22339 if test $ac_mid -le $ac_hi; then
22340 ac_lo= ac_hi=
22341 break
22342 fi
22343 ac_mid=`expr 2 '*' $ac_mid`
22344 fi
22345
22346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 done
22348 else
22349 echo "$as_me: failed program was:" >&5
22350 sed 's/^/| /' conftest.$ac_ext >&5
22351
22352 ac_lo= ac_hi=
22353 fi
22354
22355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22356 fi
22357
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22359 # Binary search between lo and hi bounds.
22360 while test "x$ac_lo" != "x$ac_hi"; do
22361 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22362 cat >conftest.$ac_ext <<_ACEOF
22363 /* confdefs.h. */
22364 _ACEOF
22365 cat confdefs.h >>conftest.$ac_ext
22366 cat >>conftest.$ac_ext <<_ACEOF
22367 /* end confdefs.h. */
22368 $ac_includes_default
22369 typedef long long ac__type_sizeof_;
22370 int
22371 main ()
22372 {
22373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22374 test_array [0] = 0
22375
22376 ;
22377 return 0;
22378 }
22379 _ACEOF
22380 rm -f conftest.$ac_objext
22381 if { (ac_try="$ac_compile"
22382 case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22385 esac
22386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22387 (eval "$ac_compile") 2>conftest.er1
22388 ac_status=$?
22389 grep -v '^ *+' conftest.er1 >conftest.err
22390 rm -f conftest.er1
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); } && {
22394 test -z "$ac_c_werror_flag" ||
22395 test ! -s conftest.err
22396 } && test -s conftest.$ac_objext; then
22397 ac_hi=$ac_mid
22398 else
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.$ac_ext >&5
22401
22402 ac_lo=`expr '(' $ac_mid ')' + 1`
22403 fi
22404
22405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22406 done
22407 case $ac_lo in
22408 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22409 '') if test "$ac_cv_type_long_long" = yes; then
22410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22411 See \`config.log' for more details." >&5
22412 echo "$as_me: error: cannot compute sizeof (long long)
22413 See \`config.log' for more details." >&2;}
22414 { (exit 77); exit 77; }; }
22415 else
22416 ac_cv_sizeof_long_long=0
22417 fi ;;
22418 esac
22419 else
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 $ac_includes_default
22427 typedef long long ac__type_sizeof_;
22428 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22429 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22430 #include <stdio.h>
22431 #include <stdlib.h>
22432 int
22433 main ()
22434 {
22435
22436 FILE *f = fopen ("conftest.val", "w");
22437 if (! f)
22438 return 1;
22439 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22440 {
22441 long int i = longval ();
22442 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22443 return 1;
22444 fprintf (f, "%ld\n", i);
22445 }
22446 else
22447 {
22448 unsigned long int i = ulongval ();
22449 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22450 return 1;
22451 fprintf (f, "%lu\n", i);
22452 }
22453 return ferror (f) || fclose (f) != 0;
22454
22455 ;
22456 return 0;
22457 }
22458 _ACEOF
22459 rm -f conftest$ac_exeext
22460 if { (ac_try="$ac_link"
22461 case "(($ac_try" in
22462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22463 *) ac_try_echo=$ac_try;;
22464 esac
22465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22466 (eval "$ac_link") 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22470 { (case "(($ac_try" in
22471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22472 *) ac_try_echo=$ac_try;;
22473 esac
22474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22475 (eval "$ac_try") 2>&5
22476 ac_status=$?
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; }; then
22479 ac_cv_sizeof_long_long=`cat conftest.val`
22480 else
22481 echo "$as_me: program exited with status $ac_status" >&5
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22484
22485 ( exit $ac_status )
22486 if test "$ac_cv_type_long_long" = yes; then
22487 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22488 See \`config.log' for more details." >&5
22489 echo "$as_me: error: cannot compute sizeof (long long)
22490 See \`config.log' for more details." >&2;}
22491 { (exit 77); exit 77; }; }
22492 else
22493 ac_cv_sizeof_long_long=0
22494 fi
22495 fi
22496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22497 fi
22498 rm -f conftest.val
22499 fi
22500 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22501 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22502
22503
22504
22505 cat >>confdefs.h <<_ACEOF
22506 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22507 _ACEOF
22508
22509
22510 esac
22511
22512 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22513 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22514 if test "${ac_cv_type_wchar_t+set}" = set; then
22515 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 else
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523
22524 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22525 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22526 # error "fake wchar_t"
22527 #endif
22528 #ifdef HAVE_WCHAR_H
22529 # ifdef __CYGWIN__
22530 # include <stddef.h>
22531 # endif
22532 # include <wchar.h>
22533 #endif
22534 #ifdef HAVE_STDLIB_H
22535 # include <stdlib.h>
22536 #endif
22537 #include <stdio.h>
22538
22539
22540
22541 typedef wchar_t ac__type_new_;
22542 int
22543 main ()
22544 {
22545 if ((ac__type_new_ *) 0)
22546 return 0;
22547 if (sizeof (ac__type_new_))
22548 return 0;
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest.$ac_objext
22554 if { (ac_try="$ac_compile"
22555 case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22558 esac
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_compile") 2>conftest.er1
22561 ac_status=$?
22562 grep -v '^ *+' conftest.er1 >conftest.err
22563 rm -f conftest.er1
22564 cat conftest.err >&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } && {
22567 test -z "$ac_c_werror_flag" ||
22568 test ! -s conftest.err
22569 } && test -s conftest.$ac_objext; then
22570 ac_cv_type_wchar_t=yes
22571 else
22572 echo "$as_me: failed program was:" >&5
22573 sed 's/^/| /' conftest.$ac_ext >&5
22574
22575 ac_cv_type_wchar_t=no
22576 fi
22577
22578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22579 fi
22580 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22581 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22582
22583 # The cast to long int works around a bug in the HP C Compiler
22584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22586 # This bug is HP SR number 8606223364.
22587 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22588 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22589 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22590 echo $ECHO_N "(cached) $ECHO_C" >&6
22591 else
22592 if test "$cross_compiling" = yes; then
22593 # Depending upon the size, compute the lo and hi bounds.
22594 cat >conftest.$ac_ext <<_ACEOF
22595 /* confdefs.h. */
22596 _ACEOF
22597 cat confdefs.h >>conftest.$ac_ext
22598 cat >>conftest.$ac_ext <<_ACEOF
22599 /* end confdefs.h. */
22600
22601 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22602 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22603 # error "fake wchar_t"
22604 #endif
22605 #ifdef HAVE_WCHAR_H
22606 # ifdef __CYGWIN__
22607 # include <stddef.h>
22608 # endif
22609 # include <wchar.h>
22610 #endif
22611 #ifdef HAVE_STDLIB_H
22612 # include <stdlib.h>
22613 #endif
22614 #include <stdio.h>
22615
22616
22617
22618 typedef wchar_t ac__type_sizeof_;
22619 int
22620 main ()
22621 {
22622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22623 test_array [0] = 0
22624
22625 ;
22626 return 0;
22627 }
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (ac_try="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22634 esac
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22637 ac_status=$?
22638 grep -v '^ *+' conftest.er1 >conftest.err
22639 rm -f conftest.er1
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } && {
22643 test -z "$ac_c_werror_flag" ||
22644 test ! -s conftest.err
22645 } && test -s conftest.$ac_objext; then
22646 ac_lo=0 ac_mid=0
22647 while :; do
22648 cat >conftest.$ac_ext <<_ACEOF
22649 /* confdefs.h. */
22650 _ACEOF
22651 cat confdefs.h >>conftest.$ac_ext
22652 cat >>conftest.$ac_ext <<_ACEOF
22653 /* end confdefs.h. */
22654
22655 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22656 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22657 # error "fake wchar_t"
22658 #endif
22659 #ifdef HAVE_WCHAR_H
22660 # ifdef __CYGWIN__
22661 # include <stddef.h>
22662 # endif
22663 # include <wchar.h>
22664 #endif
22665 #ifdef HAVE_STDLIB_H
22666 # include <stdlib.h>
22667 #endif
22668 #include <stdio.h>
22669
22670
22671
22672 typedef wchar_t ac__type_sizeof_;
22673 int
22674 main ()
22675 {
22676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22677 test_array [0] = 0
22678
22679 ;
22680 return 0;
22681 }
22682 _ACEOF
22683 rm -f conftest.$ac_objext
22684 if { (ac_try="$ac_compile"
22685 case "(($ac_try" in
22686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22687 *) ac_try_echo=$ac_try;;
22688 esac
22689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22690 (eval "$ac_compile") 2>conftest.er1
22691 ac_status=$?
22692 grep -v '^ *+' conftest.er1 >conftest.err
22693 rm -f conftest.er1
22694 cat conftest.err >&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } && {
22697 test -z "$ac_c_werror_flag" ||
22698 test ! -s conftest.err
22699 } && test -s conftest.$ac_objext; then
22700 ac_hi=$ac_mid; break
22701 else
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22704
22705 ac_lo=`expr $ac_mid + 1`
22706 if test $ac_lo -le $ac_mid; then
22707 ac_lo= ac_hi=
22708 break
22709 fi
22710 ac_mid=`expr 2 '*' $ac_mid + 1`
22711 fi
22712
22713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22714 done
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725
22726 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22727 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22728 # error "fake wchar_t"
22729 #endif
22730 #ifdef HAVE_WCHAR_H
22731 # ifdef __CYGWIN__
22732 # include <stddef.h>
22733 # endif
22734 # include <wchar.h>
22735 #endif
22736 #ifdef HAVE_STDLIB_H
22737 # include <stdlib.h>
22738 #endif
22739 #include <stdio.h>
22740
22741
22742
22743 typedef wchar_t ac__type_sizeof_;
22744 int
22745 main ()
22746 {
22747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22748 test_array [0] = 0
22749
22750 ;
22751 return 0;
22752 }
22753 _ACEOF
22754 rm -f conftest.$ac_objext
22755 if { (ac_try="$ac_compile"
22756 case "(($ac_try" in
22757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22759 esac
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_compile") 2>conftest.er1
22762 ac_status=$?
22763 grep -v '^ *+' conftest.er1 >conftest.err
22764 rm -f conftest.er1
22765 cat conftest.err >&5
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && {
22768 test -z "$ac_c_werror_flag" ||
22769 test ! -s conftest.err
22770 } && test -s conftest.$ac_objext; then
22771 ac_hi=-1 ac_mid=-1
22772 while :; do
22773 cat >conftest.$ac_ext <<_ACEOF
22774 /* confdefs.h. */
22775 _ACEOF
22776 cat confdefs.h >>conftest.$ac_ext
22777 cat >>conftest.$ac_ext <<_ACEOF
22778 /* end confdefs.h. */
22779
22780 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22781 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22782 # error "fake wchar_t"
22783 #endif
22784 #ifdef HAVE_WCHAR_H
22785 # ifdef __CYGWIN__
22786 # include <stddef.h>
22787 # endif
22788 # include <wchar.h>
22789 #endif
22790 #ifdef HAVE_STDLIB_H
22791 # include <stdlib.h>
22792 #endif
22793 #include <stdio.h>
22794
22795
22796
22797 typedef wchar_t ac__type_sizeof_;
22798 int
22799 main ()
22800 {
22801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22802 test_array [0] = 0
22803
22804 ;
22805 return 0;
22806 }
22807 _ACEOF
22808 rm -f conftest.$ac_objext
22809 if { (ac_try="$ac_compile"
22810 case "(($ac_try" in
22811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22813 esac
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_compile") 2>conftest.er1
22816 ac_status=$?
22817 grep -v '^ *+' conftest.er1 >conftest.err
22818 rm -f conftest.er1
22819 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && {
22822 test -z "$ac_c_werror_flag" ||
22823 test ! -s conftest.err
22824 } && test -s conftest.$ac_objext; then
22825 ac_lo=$ac_mid; break
22826 else
22827 echo "$as_me: failed program was:" >&5
22828 sed 's/^/| /' conftest.$ac_ext >&5
22829
22830 ac_hi=`expr '(' $ac_mid ')' - 1`
22831 if test $ac_mid -le $ac_hi; then
22832 ac_lo= ac_hi=
22833 break
22834 fi
22835 ac_mid=`expr 2 '*' $ac_mid`
22836 fi
22837
22838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 done
22840 else
22841 echo "$as_me: failed program was:" >&5
22842 sed 's/^/| /' conftest.$ac_ext >&5
22843
22844 ac_lo= ac_hi=
22845 fi
22846
22847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 fi
22849
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851 # Binary search between lo and hi bounds.
22852 while test "x$ac_lo" != "x$ac_hi"; do
22853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22854 cat >conftest.$ac_ext <<_ACEOF
22855 /* confdefs.h. */
22856 _ACEOF
22857 cat confdefs.h >>conftest.$ac_ext
22858 cat >>conftest.$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22860
22861 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22862 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22863 # error "fake wchar_t"
22864 #endif
22865 #ifdef HAVE_WCHAR_H
22866 # ifdef __CYGWIN__
22867 # include <stddef.h>
22868 # endif
22869 # include <wchar.h>
22870 #endif
22871 #ifdef HAVE_STDLIB_H
22872 # include <stdlib.h>
22873 #endif
22874 #include <stdio.h>
22875
22876
22877
22878 typedef wchar_t ac__type_sizeof_;
22879 int
22880 main ()
22881 {
22882 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22883 test_array [0] = 0
22884
22885 ;
22886 return 0;
22887 }
22888 _ACEOF
22889 rm -f conftest.$ac_objext
22890 if { (ac_try="$ac_compile"
22891 case "(($ac_try" in
22892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22893 *) ac_try_echo=$ac_try;;
22894 esac
22895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22896 (eval "$ac_compile") 2>conftest.er1
22897 ac_status=$?
22898 grep -v '^ *+' conftest.er1 >conftest.err
22899 rm -f conftest.er1
22900 cat conftest.err >&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); } && {
22903 test -z "$ac_c_werror_flag" ||
22904 test ! -s conftest.err
22905 } && test -s conftest.$ac_objext; then
22906 ac_hi=$ac_mid
22907 else
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22910
22911 ac_lo=`expr '(' $ac_mid ')' + 1`
22912 fi
22913
22914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 done
22916 case $ac_lo in
22917 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22918 '') if test "$ac_cv_type_wchar_t" = yes; then
22919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22920 See \`config.log' for more details." >&5
22921 echo "$as_me: error: cannot compute sizeof (wchar_t)
22922 See \`config.log' for more details." >&2;}
22923 { (exit 77); exit 77; }; }
22924 else
22925 ac_cv_sizeof_wchar_t=0
22926 fi ;;
22927 esac
22928 else
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935
22936 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22937 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22938 # error "fake wchar_t"
22939 #endif
22940 #ifdef HAVE_WCHAR_H
22941 # ifdef __CYGWIN__
22942 # include <stddef.h>
22943 # endif
22944 # include <wchar.h>
22945 #endif
22946 #ifdef HAVE_STDLIB_H
22947 # include <stdlib.h>
22948 #endif
22949 #include <stdio.h>
22950
22951
22952
22953 typedef wchar_t ac__type_sizeof_;
22954 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22955 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 #include <stdio.h>
22957 #include <stdlib.h>
22958 int
22959 main ()
22960 {
22961
22962 FILE *f = fopen ("conftest.val", "w");
22963 if (! f)
22964 return 1;
22965 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22966 {
22967 long int i = longval ();
22968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22969 return 1;
22970 fprintf (f, "%ld\n", i);
22971 }
22972 else
22973 {
22974 unsigned long int i = ulongval ();
22975 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22976 return 1;
22977 fprintf (f, "%lu\n", i);
22978 }
22979 return ferror (f) || fclose (f) != 0;
22980
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 rm -f conftest$ac_exeext
22986 if { (ac_try="$ac_link"
22987 case "(($ac_try" in
22988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22989 *) ac_try_echo=$ac_try;;
22990 esac
22991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22992 (eval "$ac_link") 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22996 { (case "(($ac_try" in
22997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22998 *) ac_try_echo=$ac_try;;
22999 esac
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_sizeof_wchar_t=`cat conftest.val`
23006 else
23007 echo "$as_me: program exited with status $ac_status" >&5
23008 echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.$ac_ext >&5
23010
23011 ( exit $ac_status )
23012 if test "$ac_cv_type_wchar_t" = yes; then
23013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23014 See \`config.log' for more details." >&5
23015 echo "$as_me: error: cannot compute sizeof (wchar_t)
23016 See \`config.log' for more details." >&2;}
23017 { (exit 77); exit 77; }; }
23018 else
23019 ac_cv_sizeof_wchar_t=0
23020 fi
23021 fi
23022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23023 fi
23024 rm -f conftest.val
23025 fi
23026 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23027 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23028
23029
23030
23031 cat >>confdefs.h <<_ACEOF
23032 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23033 _ACEOF
23034
23035
23036 if test "$ac_cv_sizeof_wchar_t" != 0; then
23037 wxUSE_WCHAR_T=yes
23038 else
23039 wxUSE_WCHAR_T=no
23040 fi
23041
23042 { echo "$as_me:$LINENO: checking for va_copy" >&5
23043 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23044 if test "${wx_cv_func_va_copy+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23046 else
23047
23048 ac_ext=cpp
23049 ac_cpp='$CXXCPP $CPPFLAGS'
23050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053
23054 cat >conftest.$ac_ext <<_ACEOF
23055
23056 #include <stdarg.h>
23057 void foo(char *f, ...)
23058 {
23059 va_list ap1, ap2;
23060 va_start(ap1, f);
23061 va_copy(ap2, ap1);
23062 va_end(ap2);
23063 va_end(ap1);
23064 }
23065 int main()
23066 {
23067 foo("hi", 17);
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext conftest$ac_exeext
23072 if { (ac_try="$ac_link"
23073 case "(($ac_try" in
23074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23076 esac
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_link") 2>conftest.er1
23079 ac_status=$?
23080 grep -v '^ *+' conftest.er1 >conftest.err
23081 rm -f conftest.er1
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_cxx_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest$ac_exeext &&
23088 $as_test_x conftest$ac_exeext; then
23089 wx_cv_func_va_copy=yes
23090 else
23091 echo "$as_me: failed program was:" >&5
23092 sed 's/^/| /' conftest.$ac_ext >&5
23093
23094 wx_cv_func_va_copy=no
23095
23096 fi
23097
23098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23099 conftest$ac_exeext conftest.$ac_ext
23100 ac_ext=c
23101 ac_cpp='$CPP $CPPFLAGS'
23102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23105
23106
23107
23108 fi
23109 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23110 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23111
23112 if test $wx_cv_func_va_copy = "yes"; then
23113 cat >>confdefs.h <<\_ACEOF
23114 #define HAVE_VA_COPY 1
23115 _ACEOF
23116
23117 else
23118 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23119 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23120 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23121 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 else
23123
23124 if test "$cross_compiling" = yes; then
23125 wx_cv_type_va_list_lvalue=yes
23126
23127 else
23128 cat >conftest.$ac_ext <<_ACEOF
23129
23130 #include <stdarg.h>
23131 int foo(char *f, ...)
23132 {
23133 va_list ap1, ap2;
23134 va_start(ap1, f);
23135 ap2 = ap1;
23136 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23137 return 1;
23138 va_end(ap2);
23139 va_end(ap1);
23140 return 0;
23141 }
23142 int main()
23143 {
23144 return foo("hi", 17);
23145 }
23146 _ACEOF
23147 rm -f conftest$ac_exeext
23148 if { (ac_try="$ac_link"
23149 case "(($ac_try" in
23150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23151 *) ac_try_echo=$ac_try;;
23152 esac
23153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23154 (eval "$ac_link") 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23158 { (case "(($ac_try" in
23159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23160 *) ac_try_echo=$ac_try;;
23161 esac
23162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23163 (eval "$ac_try") 2>&5
23164 ac_status=$?
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); }; }; then
23167 wx_cv_type_va_list_lvalue=yes
23168 else
23169 echo "$as_me: program exited with status $ac_status" >&5
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ( exit $ac_status )
23174 wx_cv_type_va_list_lvalue=no
23175 fi
23176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23177 fi
23178
23179
23180
23181
23182 fi
23183 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23184 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23185
23186 if test $wx_cv_type_va_list_lvalue != "yes"; then
23187 cat >>confdefs.h <<\_ACEOF
23188 #define VA_LIST_IS_ARRAY 1
23189 _ACEOF
23190
23191 fi
23192 fi
23193
23194 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23195
23196 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23197 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23198 if test "${wx_cv_have_variadic_macros+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 else
23201
23202 ac_ext=cpp
23203 ac_cpp='$CXXCPP $CPPFLAGS'
23204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207
23208 cat >conftest.$ac_ext <<_ACEOF
23209 /* confdefs.h. */
23210 _ACEOF
23211 cat confdefs.h >>conftest.$ac_ext
23212 cat >>conftest.$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23214
23215 #include <stdio.h>
23216 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23217
23218 int
23219 main ()
23220 {
23221
23222 test("%s %d %p", "test", 1, 0);
23223
23224
23225 ;
23226 return 0;
23227 }
23228 _ACEOF
23229 rm -f conftest.$ac_objext
23230 if { (ac_try="$ac_compile"
23231 case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23234 esac
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_compile") 2>conftest.er1
23237 ac_status=$?
23238 grep -v '^ *+' conftest.er1 >conftest.err
23239 rm -f conftest.er1
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && {
23243 test -z "$ac_cxx_werror_flag" ||
23244 test ! -s conftest.err
23245 } && test -s conftest.$ac_objext; then
23246 wx_cv_have_variadic_macros=yes
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 wx_cv_have_variadic_macros=no
23252
23253 fi
23254
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256 ac_ext=c
23257 ac_cpp='$CPP $CPPFLAGS'
23258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261
23262
23263
23264 fi
23265 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23266 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23267
23268 if test $wx_cv_have_variadic_macros = "yes"; then
23269 cat >>confdefs.h <<\_ACEOF
23270 #define HAVE_VARIADIC_MACROS 1
23271 _ACEOF
23272
23273 fi
23274
23275 fi
23276 # Check whether --enable-largefile was given.
23277 if test "${enable_largefile+set}" = set; then
23278 enableval=$enable_largefile;
23279 fi
23280
23281 if test "$enable_largefile" != no; then
23282 wx_largefile=no
23283
23284 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23285 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23286 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23287 echo $ECHO_N "(cached) $ECHO_C" >&6
23288 else
23289
23290 cat >conftest.$ac_ext <<_ACEOF
23291 /* confdefs.h. */
23292 _ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296 #define _FILE_OFFSET_BITS 64
23297 #include <sys/types.h>
23298 int
23299 main ()
23300 {
23301 typedef struct {
23302 unsigned int field: sizeof(off_t) == 8;
23303 } wxlf;
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest.$ac_objext
23310 if { (ac_try="$ac_compile"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_compile") 2>conftest.er1
23317 ac_status=$?
23318 grep -v '^ *+' conftest.er1 >conftest.err
23319 rm -f conftest.er1
23320 cat conftest.err >&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && {
23323 test -z "$ac_c_werror_flag" ||
23324 test ! -s conftest.err
23325 } && test -s conftest.$ac_objext; then
23326 ac_cv_sys_file_offset_bits=64
23327 else
23328 echo "$as_me: failed program was:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23330
23331 ac_cv_sys_file_offset_bits=no
23332 fi
23333
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335
23336
23337 fi
23338 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23339 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23340
23341 if test "$ac_cv_sys_file_offset_bits" != no; then
23342 wx_largefile=yes
23343 cat >>confdefs.h <<_ACEOF
23344 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23345 _ACEOF
23346
23347 fi
23348
23349 if test "x$wx_largefile" != "xyes"; then
23350
23351 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23352 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23353 if test "${ac_cv_sys_large_files+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 else
23356
23357 cat >conftest.$ac_ext <<_ACEOF
23358 /* confdefs.h. */
23359 _ACEOF
23360 cat confdefs.h >>conftest.$ac_ext
23361 cat >>conftest.$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23363 #define _LARGE_FILES 1
23364 #include <sys/types.h>
23365 int
23366 main ()
23367 {
23368 typedef struct {
23369 unsigned int field: sizeof(off_t) == 8;
23370 } wxlf;
23371
23372 ;
23373 return 0;
23374 }
23375 _ACEOF
23376 rm -f conftest.$ac_objext
23377 if { (ac_try="$ac_compile"
23378 case "(($ac_try" in
23379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23380 *) ac_try_echo=$ac_try;;
23381 esac
23382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23383 (eval "$ac_compile") 2>conftest.er1
23384 ac_status=$?
23385 grep -v '^ *+' conftest.er1 >conftest.err
23386 rm -f conftest.er1
23387 cat conftest.err >&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); } && {
23390 test -z "$ac_c_werror_flag" ||
23391 test ! -s conftest.err
23392 } && test -s conftest.$ac_objext; then
23393 ac_cv_sys_large_files=1
23394 else
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.$ac_ext >&5
23397
23398 ac_cv_sys_large_files=no
23399 fi
23400
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402
23403
23404 fi
23405 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23406 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23407
23408 if test "$ac_cv_sys_large_files" != no; then
23409 wx_largefile=yes
23410 cat >>confdefs.h <<_ACEOF
23411 #define _LARGE_FILES $ac_cv_sys_large_files
23412 _ACEOF
23413
23414 fi
23415
23416 fi
23417
23418 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23419 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23420 if test "x$wx_largefile" = "xyes"; then
23421 cat >>confdefs.h <<\_ACEOF
23422 #define HAVE_LARGEFILE_SUPPORT 1
23423 _ACEOF
23424
23425 fi
23426 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23427 echo "${ECHO_T}$wx_largefile" >&6; }
23428 fi
23429
23430
23431 if test "x$wx_largefile" = "xyes"; then
23432 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23433 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23434
23435 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23436 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23437 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23438 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 else
23441
23442 ac_ext=cpp
23443 ac_cpp='$CXXCPP $CPPFLAGS'
23444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23447
23448 cat >conftest.$ac_ext <<_ACEOF
23449 /* confdefs.h. */
23450 _ACEOF
23451 cat confdefs.h >>conftest.$ac_ext
23452 cat >>conftest.$ac_ext <<_ACEOF
23453 /* end confdefs.h. */
23454
23455 int
23456 main ()
23457 {
23458
23459 #ifndef __STDC_EXT__
23460 choke me
23461 #endif
23462
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest.$ac_objext
23468 if { (ac_try="$ac_compile"
23469 case "(($ac_try" in
23470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23471 *) ac_try_echo=$ac_try;;
23472 esac
23473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23474 (eval "$ac_compile") 2>conftest.er1
23475 ac_status=$?
23476 grep -v '^ *+' conftest.er1 >conftest.err
23477 rm -f conftest.er1
23478 cat conftest.err >&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); } && {
23481 test -z "$ac_cxx_werror_flag" ||
23482 test ! -s conftest.err
23483 } && test -s conftest.$ac_objext; then
23484 wx_cv_STDC_EXT_required=no
23485 else
23486 echo "$as_me: failed program was:" >&5
23487 sed 's/^/| /' conftest.$ac_ext >&5
23488
23489 wx_cv_STDC_EXT_required=yes
23490
23491 fi
23492
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499
23500
23501
23502 fi
23503 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23504 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23505 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23506 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23507 fi
23508 fi
23509 else
23510 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23511 fi
23512 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23513 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23514 if test "${ac_cv_sys_largefile_source+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 while :; do
23518 cat >conftest.$ac_ext <<_ACEOF
23519 /* confdefs.h. */
23520 _ACEOF
23521 cat confdefs.h >>conftest.$ac_ext
23522 cat >>conftest.$ac_ext <<_ACEOF
23523 /* end confdefs.h. */
23524 #include <sys/types.h> /* for off_t */
23525 #include <stdio.h>
23526 int
23527 main ()
23528 {
23529 int (*fp) (FILE *, off_t, int) = fseeko;
23530 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 rm -f conftest.$ac_objext conftest$ac_exeext
23536 if { (ac_try="$ac_link"
23537 case "(($ac_try" in
23538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23539 *) ac_try_echo=$ac_try;;
23540 esac
23541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23542 (eval "$ac_link") 2>conftest.er1
23543 ac_status=$?
23544 grep -v '^ *+' conftest.er1 >conftest.err
23545 rm -f conftest.er1
23546 cat conftest.err >&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && {
23549 test -z "$ac_c_werror_flag" ||
23550 test ! -s conftest.err
23551 } && test -s conftest$ac_exeext &&
23552 $as_test_x conftest$ac_exeext; then
23553 ac_cv_sys_largefile_source=no; break
23554 else
23555 echo "$as_me: failed program was:" >&5
23556 sed 's/^/| /' conftest.$ac_ext >&5
23557
23558
23559 fi
23560
23561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23562 conftest$ac_exeext conftest.$ac_ext
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h. */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569 #define _LARGEFILE_SOURCE 1
23570 #include <sys/types.h> /* for off_t */
23571 #include <stdio.h>
23572 int
23573 main ()
23574 {
23575 int (*fp) (FILE *, off_t, int) = fseeko;
23576 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23577 ;
23578 return 0;
23579 }
23580 _ACEOF
23581 rm -f conftest.$ac_objext conftest$ac_exeext
23582 if { (ac_try="$ac_link"
23583 case "(($ac_try" in
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23585 *) ac_try_echo=$ac_try;;
23586 esac
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23588 (eval "$ac_link") 2>conftest.er1
23589 ac_status=$?
23590 grep -v '^ *+' conftest.er1 >conftest.err
23591 rm -f conftest.er1
23592 cat conftest.err >&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } && {
23595 test -z "$ac_c_werror_flag" ||
23596 test ! -s conftest.err
23597 } && test -s conftest$ac_exeext &&
23598 $as_test_x conftest$ac_exeext; then
23599 ac_cv_sys_largefile_source=1; break
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23603
23604
23605 fi
23606
23607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23608 conftest$ac_exeext conftest.$ac_ext
23609 ac_cv_sys_largefile_source=unknown
23610 break
23611 done
23612 fi
23613 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23614 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23615 case $ac_cv_sys_largefile_source in #(
23616 no | unknown) ;;
23617 *)
23618 cat >>confdefs.h <<_ACEOF
23619 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23620 _ACEOF
23621 ;;
23622 esac
23623 rm -f conftest*
23624
23625 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23626 # in glibc 2.1.3, but that breaks too many other things.
23627 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23628 if test $ac_cv_sys_largefile_source != unknown; then
23629
23630 cat >>confdefs.h <<\_ACEOF
23631 #define HAVE_FSEEKO 1
23632 _ACEOF
23633
23634 fi
23635
23636 if test "$ac_cv_sys_largefile_source" != no; then
23637 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23638 fi
23639 fi
23640
23641 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23642 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23643 if test "${ac_cv_c_bigendian+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 ac_cv_c_bigendian=unknown
23647 # See if sys/param.h defines the BYTE_ORDER macro.
23648 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 #include <sys/types.h>
23655 #include <sys/param.h>
23656 int
23657 main ()
23658 {
23659
23660 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23661 bogus endian macros
23662 #endif
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 rm -f conftest.$ac_objext
23668 if { (ac_try="$ac_compile"
23669 case "(($ac_try" in
23670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23671 *) ac_try_echo=$ac_try;;
23672 esac
23673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23674 (eval "$ac_compile") 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } && {
23681 test -z "$ac_c_werror_flag" ||
23682 test ! -s conftest.err
23683 } && test -s conftest.$ac_objext; then
23684 # It does; now see whether it defined to BIG_ENDIAN or not.
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <sys/types.h>
23692 #include <sys/param.h>
23693 int
23694 main ()
23695 {
23696
23697 #if BYTE_ORDER != BIG_ENDIAN
23698 not big endian
23699 #endif
23700 ;
23701 return 0;
23702 }
23703 _ACEOF
23704 rm -f conftest.$ac_objext
23705 if { (ac_try="$ac_compile"
23706 case "(($ac_try" in
23707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23708 *) ac_try_echo=$ac_try;;
23709 esac
23710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23711 (eval "$ac_compile") 2>conftest.er1
23712 ac_status=$?
23713 grep -v '^ *+' conftest.er1 >conftest.err
23714 rm -f conftest.er1
23715 cat conftest.err >&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); } && {
23718 test -z "$ac_c_werror_flag" ||
23719 test ! -s conftest.err
23720 } && test -s conftest.$ac_objext; then
23721 ac_cv_c_bigendian=yes
23722 else
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.$ac_ext >&5
23725
23726 ac_cv_c_bigendian=no
23727 fi
23728
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 else
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.$ac_ext >&5
23733
23734
23735 fi
23736
23737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23738 if test $ac_cv_c_bigendian = unknown; then
23739 if test "$cross_compiling" = yes; then
23740 ac_cv_c_bigendian=unknown
23741 else
23742 cat >conftest.$ac_ext <<_ACEOF
23743 /* confdefs.h. */
23744 _ACEOF
23745 cat confdefs.h >>conftest.$ac_ext
23746 cat >>conftest.$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23748 main () {
23749 /* Are we little or big endian? From Harbison&Steele. */
23750 union
23751 {
23752 long l;
23753 char c[sizeof (long)];
23754 } u;
23755 u.l = 1;
23756 exit (u.c[sizeof (long) - 1] == 1);
23757 }
23758 _ACEOF
23759 rm -f conftest$ac_exeext
23760 if { (ac_try="$ac_link"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23763 *) ac_try_echo=$ac_try;;
23764 esac
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_link") 2>&5
23767 ac_status=$?
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23770 { (case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23773 esac
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_try") 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779 ac_cv_c_bigendian=no
23780 else
23781 echo "$as_me: program exited with status $ac_status" >&5
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23784
23785 ( exit $ac_status )
23786 ac_cv_c_bigendian=yes
23787 fi
23788 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23789 fi
23790
23791
23792 fi
23793 fi
23794 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23795 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23796 if test $ac_cv_c_bigendian = unknown; then
23797 { 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
23798 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;}
23799 fi
23800 if test $ac_cv_c_bigendian = yes; then
23801 cat >>confdefs.h <<\_ACEOF
23802 #define WORDS_BIGENDIAN 1
23803 _ACEOF
23804
23805 fi
23806
23807
23808
23809
23810 ac_ext=cpp
23811 ac_cpp='$CXXCPP $CPPFLAGS'
23812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23815
23816
23817
23818 for ac_header in iostream
23819 do
23820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 else
23826 cat >conftest.$ac_ext <<_ACEOF
23827 /* confdefs.h. */
23828 _ACEOF
23829 cat confdefs.h >>conftest.$ac_ext
23830 cat >>conftest.$ac_ext <<_ACEOF
23831 /* end confdefs.h. */
23832
23833
23834 #include <$ac_header>
23835 _ACEOF
23836 rm -f conftest.$ac_objext
23837 if { (ac_try="$ac_compile"
23838 case "(($ac_try" in
23839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23840 *) ac_try_echo=$ac_try;;
23841 esac
23842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23843 (eval "$ac_compile") 2>conftest.er1
23844 ac_status=$?
23845 grep -v '^ *+' conftest.er1 >conftest.err
23846 rm -f conftest.er1
23847 cat conftest.err >&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } && {
23850 test -z "$ac_cxx_werror_flag" ||
23851 test ! -s conftest.err
23852 } && test -s conftest.$ac_objext; then
23853 eval "$as_ac_Header=yes"
23854 else
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23857
23858 eval "$as_ac_Header=no"
23859 fi
23860
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862 fi
23863 ac_res=`eval echo '${'$as_ac_Header'}'`
23864 { echo "$as_me:$LINENO: result: $ac_res" >&5
23865 echo "${ECHO_T}$ac_res" >&6; }
23866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23867 cat >>confdefs.h <<_ACEOF
23868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23869 _ACEOF
23870
23871 fi
23872
23873 done
23874
23875
23876 if test "$ac_cv_header_iostream" = "yes" ; then
23877 :
23878 else
23879 cat >>confdefs.h <<\_ACEOF
23880 #define wxUSE_IOSTREAMH 1
23881 _ACEOF
23882
23883 fi
23884
23885 ac_ext=c
23886 ac_cpp='$CPP $CPPFLAGS'
23887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23890
23891
23892
23893
23894 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23895 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23896 if test "${wx_cv_cpp_bool+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 else
23899
23900
23901 ac_ext=cpp
23902 ac_cpp='$CXXCPP $CPPFLAGS'
23903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23906
23907
23908 cat >conftest.$ac_ext <<_ACEOF
23909 /* confdefs.h. */
23910 _ACEOF
23911 cat confdefs.h >>conftest.$ac_ext
23912 cat >>conftest.$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23914
23915
23916 int
23917 main ()
23918 {
23919
23920 bool b = true;
23921
23922 return 0;
23923
23924 ;
23925 return 0;
23926 }
23927 _ACEOF
23928 rm -f conftest.$ac_objext
23929 if { (ac_try="$ac_compile"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23933 esac
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_compile") 2>conftest.er1
23936 ac_status=$?
23937 grep -v '^ *+' conftest.er1 >conftest.err
23938 rm -f conftest.er1
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && {
23942 test -z "$ac_cxx_werror_flag" ||
23943 test ! -s conftest.err
23944 } && test -s conftest.$ac_objext; then
23945
23946 wx_cv_cpp_bool=yes
23947
23948 else
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23951
23952
23953 wx_cv_cpp_bool=no
23954
23955
23956 fi
23957
23958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959
23960 ac_ext=c
23961 ac_cpp='$CPP $CPPFLAGS'
23962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23965
23966
23967 fi
23968 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23969 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23970
23971 if test "$wx_cv_cpp_bool" = "yes"; then
23972 cat >>confdefs.h <<\_ACEOF
23973 #define HAVE_BOOL 1
23974 _ACEOF
23975
23976 fi
23977
23978
23979
23980 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23981 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23982 if test "${wx_cv_explicit+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23984 else
23985
23986
23987 ac_ext=cpp
23988 ac_cpp='$CXXCPP $CPPFLAGS'
23989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992
23993
23994 cat >conftest.$ac_ext <<_ACEOF
23995 /* confdefs.h. */
23996 _ACEOF
23997 cat confdefs.h >>conftest.$ac_ext
23998 cat >>conftest.$ac_ext <<_ACEOF
23999 /* end confdefs.h. */
24000
24001 class Foo { public: explicit Foo(int) {} };
24002
24003 int
24004 main ()
24005 {
24006
24007 return 0;
24008
24009 ;
24010 return 0;
24011 }
24012 _ACEOF
24013 rm -f conftest.$ac_objext
24014 if { (ac_try="$ac_compile"
24015 case "(($ac_try" in
24016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24017 *) ac_try_echo=$ac_try;;
24018 esac
24019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24020 (eval "$ac_compile") 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } && {
24027 test -z "$ac_cxx_werror_flag" ||
24028 test ! -s conftest.err
24029 } && test -s conftest.$ac_objext; then
24030
24031 cat >conftest.$ac_ext <<_ACEOF
24032 /* confdefs.h. */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24037
24038 class Foo { public: explicit Foo(int) {} };
24039 static void TakeFoo(const Foo& foo) { }
24040
24041 int
24042 main ()
24043 {
24044
24045 TakeFoo(17);
24046 return 0;
24047
24048 ;
24049 return 0;
24050 }
24051 _ACEOF
24052 rm -f conftest.$ac_objext
24053 if { (ac_try="$ac_compile"
24054 case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24057 esac
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_compile") 2>conftest.er1
24060 ac_status=$?
24061 grep -v '^ *+' conftest.er1 >conftest.err
24062 rm -f conftest.er1
24063 cat conftest.err >&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } && {
24066 test -z "$ac_cxx_werror_flag" ||
24067 test ! -s conftest.err
24068 } && test -s conftest.$ac_objext; then
24069 wx_cv_explicit=no
24070 else
24071 echo "$as_me: failed program was:" >&5
24072 sed 's/^/| /' conftest.$ac_ext >&5
24073
24074 wx_cv_explicit=yes
24075
24076 fi
24077
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079
24080 else
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24083
24084 wx_cv_explicit=no
24085
24086 fi
24087
24088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24089
24090 ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24095
24096
24097 fi
24098 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24099 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24100
24101 if test "$wx_cv_explicit" = "yes"; then
24102 cat >>confdefs.h <<\_ACEOF
24103 #define HAVE_EXPLICIT 1
24104 _ACEOF
24105
24106 fi
24107
24108
24109 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24110 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24111 if test "${ac_cv_cxx_const_cast+set}" = set; then
24112 echo $ECHO_N "(cached) $ECHO_C" >&6
24113 else
24114
24115 ac_ext=cpp
24116 ac_cpp='$CXXCPP $CPPFLAGS'
24117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24120
24121 cat >conftest.$ac_ext <<_ACEOF
24122 /* confdefs.h. */
24123 _ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24127
24128 int
24129 main ()
24130 {
24131 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24132 ;
24133 return 0;
24134 }
24135 _ACEOF
24136 rm -f conftest.$ac_objext
24137 if { (ac_try="$ac_compile"
24138 case "(($ac_try" in
24139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24140 *) ac_try_echo=$ac_try;;
24141 esac
24142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24143 (eval "$ac_compile") 2>conftest.er1
24144 ac_status=$?
24145 grep -v '^ *+' conftest.er1 >conftest.err
24146 rm -f conftest.er1
24147 cat conftest.err >&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); } && {
24150 test -z "$ac_cxx_werror_flag" ||
24151 test ! -s conftest.err
24152 } && test -s conftest.$ac_objext; then
24153 ac_cv_cxx_const_cast=yes
24154 else
24155 echo "$as_me: failed program was:" >&5
24156 sed 's/^/| /' conftest.$ac_ext >&5
24157
24158 ac_cv_cxx_const_cast=no
24159 fi
24160
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168
24169 fi
24170 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24171 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24172 if test "$ac_cv_cxx_const_cast" = yes; then
24173
24174 cat >>confdefs.h <<\_ACEOF
24175 #define HAVE_CONST_CAST
24176 _ACEOF
24177
24178 fi
24179
24180 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24181 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24182 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24183 echo $ECHO_N "(cached) $ECHO_C" >&6
24184 else
24185
24186 ac_ext=cpp
24187 ac_cpp='$CXXCPP $CPPFLAGS'
24188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191
24192 cat >conftest.$ac_ext <<_ACEOF
24193 /* confdefs.h. */
24194 _ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198 #include <typeinfo>
24199 class Base { public : Base () {} virtual void f () = 0;};
24200 class Derived : public Base { public : Derived () {} virtual void f () {} };
24201 class Unrelated { public : Unrelated () {} };
24202 int g (Unrelated&) { return 0; }
24203 int
24204 main ()
24205 {
24206
24207 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24208 ;
24209 return 0;
24210 }
24211 _ACEOF
24212 rm -f conftest.$ac_objext
24213 if { (ac_try="$ac_compile"
24214 case "(($ac_try" in
24215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24216 *) ac_try_echo=$ac_try;;
24217 esac
24218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24219 (eval "$ac_compile") 2>conftest.er1
24220 ac_status=$?
24221 grep -v '^ *+' conftest.er1 >conftest.err
24222 rm -f conftest.er1
24223 cat conftest.err >&5
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); } && {
24226 test -z "$ac_cxx_werror_flag" ||
24227 test ! -s conftest.err
24228 } && test -s conftest.$ac_objext; then
24229 ac_cv_cxx_reinterpret_cast=yes
24230 else
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.$ac_ext >&5
24233
24234 ac_cv_cxx_reinterpret_cast=no
24235 fi
24236
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 ac_ext=c
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24243
24244
24245 fi
24246 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24247 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24248 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24249
24250 cat >>confdefs.h <<\_ACEOF
24251 #define HAVE_REINTERPRET_CAST
24252 _ACEOF
24253
24254 fi
24255
24256 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24257 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24258 if test "${ac_cv_cxx_static_cast+set}" = set; then
24259 echo $ECHO_N "(cached) $ECHO_C" >&6
24260 else
24261
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267
24268 cat >conftest.$ac_ext <<_ACEOF
24269 /* confdefs.h. */
24270 _ACEOF
24271 cat confdefs.h >>conftest.$ac_ext
24272 cat >>conftest.$ac_ext <<_ACEOF
24273 /* end confdefs.h. */
24274 #include <typeinfo>
24275 class Base { public : Base () {} virtual void f () = 0; };
24276 class Derived : public Base { public : Derived () {} virtual void f () {} };
24277 int g (Derived&) { return 0; }
24278 int
24279 main ()
24280 {
24281
24282 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24283 ;
24284 return 0;
24285 }
24286 _ACEOF
24287 rm -f conftest.$ac_objext
24288 if { (ac_try="$ac_compile"
24289 case "(($ac_try" in
24290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24291 *) ac_try_echo=$ac_try;;
24292 esac
24293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24294 (eval "$ac_compile") 2>conftest.er1
24295 ac_status=$?
24296 grep -v '^ *+' conftest.er1 >conftest.err
24297 rm -f conftest.er1
24298 cat conftest.err >&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); } && {
24301 test -z "$ac_cxx_werror_flag" ||
24302 test ! -s conftest.err
24303 } && test -s conftest.$ac_objext; then
24304 ac_cv_cxx_static_cast=yes
24305 else
24306 echo "$as_me: failed program was:" >&5
24307 sed 's/^/| /' conftest.$ac_ext >&5
24308
24309 ac_cv_cxx_static_cast=no
24310 fi
24311
24312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24313 ac_ext=c
24314 ac_cpp='$CPP $CPPFLAGS'
24315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24318
24319
24320 fi
24321 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24322 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24323 if test "$ac_cv_cxx_static_cast" = yes; then
24324
24325 cat >>confdefs.h <<\_ACEOF
24326 #define HAVE_STATIC_CAST
24327 _ACEOF
24328
24329 fi
24330
24331
24332 if test "x$SUNCXX" = xyes; then
24333 CXXFLAGS="-features=tmplife $CXXFLAGS"
24334 fi
24335
24336 if test "x$SUNCC" = xyes; then
24337 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24338 fi
24339
24340 if test "x$SGICC" = "xyes"; then
24341 CFLAGS="-woff 3970 $CFLAGS"
24342 fi
24343 if test "x$SGICXX" = "xyes"; then
24344 CXXFLAGS="-woff 3970 $CXXFLAGS"
24345 fi
24346
24347 if test "x$HPCC" = "xyes"; then
24348 CFLAGS="+W 2011,2450 $CFLAGS"
24349 fi
24350 if test "x$HPCXX" = "xyes"; then
24351 CXXFLAGS="+W 2340 $CXXFLAGS"
24352 fi
24353
24354 if test "x$COMPAQCXX" = "xyes"; then
24355 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24356 fi
24357
24358 ac_ext=cpp
24359 ac_cpp='$CXXCPP $CPPFLAGS'
24360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24363
24364
24365 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24366 if test "$wxUSE_UNICODE" = "yes"; then
24367 std_string="std::wstring"
24368 char_type="wchar_t"
24369 else
24370 std_string="std::string"
24371 char_type="char"
24372 fi
24373
24374 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24375 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24376 if test "${wx_cv_class_stdstring+set}" = set; then
24377 echo $ECHO_N "(cached) $ECHO_C" >&6
24378 else
24379
24380 cat >conftest.$ac_ext <<_ACEOF
24381 /* confdefs.h. */
24382 _ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386 #include <string>
24387 int
24388 main ()
24389 {
24390 $std_string foo;
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 rm -f conftest.$ac_objext
24396 if { (ac_try="$ac_compile"
24397 case "(($ac_try" in
24398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24399 *) ac_try_echo=$ac_try;;
24400 esac
24401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_compile") 2>conftest.er1
24403 ac_status=$?
24404 grep -v '^ *+' conftest.er1 >conftest.err
24405 rm -f conftest.er1
24406 cat conftest.err >&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); } && {
24409 test -z "$ac_cxx_werror_flag" ||
24410 test ! -s conftest.err
24411 } && test -s conftest.$ac_objext; then
24412 wx_cv_class_stdstring=yes
24413 else
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.$ac_ext >&5
24416
24417 wx_cv_class_stdstring=no
24418
24419 fi
24420
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422
24423
24424 fi
24425 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24426 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24427
24428 if test "$wx_cv_class_stdstring" = yes; then
24429 if test "$wxUSE_UNICODE" = "yes"; then
24430 cat >>confdefs.h <<\_ACEOF
24431 #define HAVE_STD_WSTRING 1
24432 _ACEOF
24433
24434 fi
24435 else
24436 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24437 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24438 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 else
24441
24442 cat >conftest.$ac_ext <<_ACEOF
24443 /* confdefs.h. */
24444 _ACEOF
24445 cat confdefs.h >>conftest.$ac_ext
24446 cat >>conftest.$ac_ext <<_ACEOF
24447 /* end confdefs.h. */
24448
24449 #ifdef HAVE_WCHAR_H
24450 # ifdef __CYGWIN__
24451 # include <stddef.h>
24452 # endif
24453 # include <wchar.h>
24454 #endif
24455 #ifdef HAVE_STDLIB_H
24456 # include <stdlib.h>
24457 #endif
24458 #include <stdio.h>
24459 #include <string>
24460
24461 int
24462 main ()
24463 {
24464 std::basic_string<$char_type> foo;
24465 const $char_type* dummy = foo.c_str();
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 rm -f conftest.$ac_objext
24471 if { (ac_try="$ac_compile"
24472 case "(($ac_try" in
24473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24474 *) ac_try_echo=$ac_try;;
24475 esac
24476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24477 (eval "$ac_compile") 2>conftest.er1
24478 ac_status=$?
24479 grep -v '^ *+' conftest.er1 >conftest.err
24480 rm -f conftest.er1
24481 cat conftest.err >&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } && {
24484 test -z "$ac_cxx_werror_flag" ||
24485 test ! -s conftest.err
24486 } && test -s conftest.$ac_objext; then
24487 wx_cv_class_stdbasicstring=yes
24488 else
24489 echo "$as_me: failed program was:" >&5
24490 sed 's/^/| /' conftest.$ac_ext >&5
24491
24492 wx_cv_class_stdbasicstring=no
24493
24494 fi
24495
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24497
24498
24499 fi
24500 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24501 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24502
24503 if test "$wx_cv_class_stdbasicstring" != yes; then
24504 if test "$wxUSE_STL" = "yes"; then
24505 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24506 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24507 { (exit 1); exit 1; }; }
24508 elif test "$wxUSE_STD_STRING" = "yes"; then
24509 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24510 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24511 { (exit 1); exit 1; }; }
24512 else
24513 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24514 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24515 wxUSE_STD_STRING=no
24516 fi
24517 fi
24518 fi
24519 fi
24520
24521 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24522 { echo "$as_me:$LINENO: checking for std::istream" >&5
24523 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24524 if test "${ac_cv_type_std__istream+set}" = set; then
24525 echo $ECHO_N "(cached) $ECHO_C" >&6
24526 else
24527 cat >conftest.$ac_ext <<_ACEOF
24528 /* confdefs.h. */
24529 _ACEOF
24530 cat confdefs.h >>conftest.$ac_ext
24531 cat >>conftest.$ac_ext <<_ACEOF
24532 /* end confdefs.h. */
24533 #include <iostream>
24534
24535 typedef std::istream ac__type_new_;
24536 int
24537 main ()
24538 {
24539 if ((ac__type_new_ *) 0)
24540 return 0;
24541 if (sizeof (ac__type_new_))
24542 return 0;
24543 ;
24544 return 0;
24545 }
24546 _ACEOF
24547 rm -f conftest.$ac_objext
24548 if { (ac_try="$ac_compile"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24552 esac
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_compile") 2>conftest.er1
24555 ac_status=$?
24556 grep -v '^ *+' conftest.er1 >conftest.err
24557 rm -f conftest.er1
24558 cat conftest.err >&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_cxx_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest.$ac_objext; then
24564 ac_cv_type_std__istream=yes
24565 else
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.$ac_ext >&5
24568
24569 ac_cv_type_std__istream=no
24570 fi
24571
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 fi
24574 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24575 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24576 if test $ac_cv_type_std__istream = yes; then
24577
24578 cat >>confdefs.h <<_ACEOF
24579 #define HAVE_STD__ISTREAM 1
24580 _ACEOF
24581
24582
24583 else
24584 wxUSE_STD_IOSTREAM=no
24585 fi
24586 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24587 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24588 if test "${ac_cv_type_std__ostream+set}" = set; then
24589 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 else
24591 cat >conftest.$ac_ext <<_ACEOF
24592 /* confdefs.h. */
24593 _ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 #include <iostream>
24598
24599 typedef std::ostream ac__type_new_;
24600 int
24601 main ()
24602 {
24603 if ((ac__type_new_ *) 0)
24604 return 0;
24605 if (sizeof (ac__type_new_))
24606 return 0;
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24616 esac
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 ac_cv_type_std__ostream=yes
24629 else
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24632
24633 ac_cv_type_std__ostream=no
24634 fi
24635
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637 fi
24638 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24639 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24640 if test $ac_cv_type_std__ostream = yes; then
24641
24642 cat >>confdefs.h <<_ACEOF
24643 #define HAVE_STD__OSTREAM 1
24644 _ACEOF
24645
24646
24647 else
24648 wxUSE_STD_IOSTREAM=no
24649 fi
24650
24651
24652 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24653 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24654 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24655 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24656 { (exit 1); exit 1; }; }
24657 else
24658 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24659 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24660 fi
24661 fi
24662 fi
24663
24664 if test "$wxUSE_STL" = "yes"; then
24665 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24666 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24667 if test "${wx_cv_lib_stl+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 else
24670 cat >conftest.$ac_ext <<_ACEOF
24671 /* confdefs.h. */
24672 _ACEOF
24673 cat confdefs.h >>conftest.$ac_ext
24674 cat >>conftest.$ac_ext <<_ACEOF
24675 /* end confdefs.h. */
24676 #include <string>
24677 #include <functional>
24678 #include <algorithm>
24679 #include <vector>
24680 #include <list>
24681 int
24682 main ()
24683 {
24684 std::vector<int> moo;
24685 std::list<int> foo;
24686 std::vector<int>::iterator it =
24687 std::find_if(moo.begin(), moo.end(),
24688 std::bind2nd(std::less<int>(), 3));
24689 ;
24690 return 0;
24691 }
24692 _ACEOF
24693 rm -f conftest.$ac_objext
24694 if { (ac_try="$ac_compile"
24695 case "(($ac_try" in
24696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24697 *) ac_try_echo=$ac_try;;
24698 esac
24699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24700 (eval "$ac_compile") 2>conftest.er1
24701 ac_status=$?
24702 grep -v '^ *+' conftest.er1 >conftest.err
24703 rm -f conftest.er1
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } && {
24707 test -z "$ac_cxx_werror_flag" ||
24708 test ! -s conftest.err
24709 } && test -s conftest.$ac_objext; then
24710 wx_cv_lib_stl=yes
24711 else
24712 echo "$as_me: failed program was:" >&5
24713 sed 's/^/| /' conftest.$ac_ext >&5
24714
24715 wx_cv_lib_stl=no
24716
24717 fi
24718
24719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24720
24721 fi
24722 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24723 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24724
24725 if test "$wx_cv_lib_stl" != yes; then
24726 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24727 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24728 { (exit 1); exit 1; }; }
24729 fi
24730
24731 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24732 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24733 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24734 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 else
24736 cat >conftest.$ac_ext <<_ACEOF
24737 /* confdefs.h. */
24738 _ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742 #include <string>
24743 int
24744 main ()
24745 {
24746 std::string foo, bar;
24747 foo.compare(bar);
24748 foo.compare(1, 1, bar);
24749 foo.compare(1, 1, bar, 1, 1);
24750 foo.compare("");
24751 foo.compare(1, 1, "");
24752 foo.compare(1, 1, "", 2);
24753 ;
24754 return 0;
24755 }
24756 _ACEOF
24757 rm -f conftest.$ac_objext
24758 if { (ac_try="$ac_compile"
24759 case "(($ac_try" in
24760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24761 *) ac_try_echo=$ac_try;;
24762 esac
24763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24764 (eval "$ac_compile") 2>conftest.er1
24765 ac_status=$?
24766 grep -v '^ *+' conftest.er1 >conftest.err
24767 rm -f conftest.er1
24768 cat conftest.err >&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } && {
24771 test -z "$ac_cxx_werror_flag" ||
24772 test ! -s conftest.err
24773 } && test -s conftest.$ac_objext; then
24774 wx_cv_func_stdstring_compare=yes
24775 else
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.$ac_ext >&5
24778
24779 wx_cv_func_stdstring_compare=no
24780
24781 fi
24782
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784
24785 fi
24786 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24787 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24788
24789 if test "$wx_cv_func_stdstring_compare" = yes; then
24790 cat >>confdefs.h <<\_ACEOF
24791 #define HAVE_STD_STRING_COMPARE 1
24792 _ACEOF
24793
24794 fi
24795
24796 if test "$wx_cv_class_gnuhashmapset" = yes; then
24797 cat >>confdefs.h <<\_ACEOF
24798 #define HAVE_EXT_HASH_MAP 1
24799 _ACEOF
24800
24801 cat >>confdefs.h <<\_ACEOF
24802 #define HAVE_GNU_CXX_HASH_MAP 1
24803 _ACEOF
24804
24805 fi
24806
24807 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24808 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24809 if test "${ac_cv_header_unordered_map+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24811 else
24812 cat >conftest.$ac_ext <<_ACEOF
24813 /* confdefs.h. */
24814 _ACEOF
24815 cat confdefs.h >>conftest.$ac_ext
24816 cat >>conftest.$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24818
24819
24820
24821 #include <unordered_map>
24822 _ACEOF
24823 rm -f conftest.$ac_objext
24824 if { (ac_try="$ac_compile"
24825 case "(($ac_try" in
24826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24827 *) ac_try_echo=$ac_try;;
24828 esac
24829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24830 (eval "$ac_compile") 2>conftest.er1
24831 ac_status=$?
24832 grep -v '^ *+' conftest.er1 >conftest.err
24833 rm -f conftest.er1
24834 cat conftest.err >&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } && {
24837 test -z "$ac_cxx_werror_flag" ||
24838 test ! -s conftest.err
24839 } && test -s conftest.$ac_objext; then
24840 ac_cv_header_unordered_map=yes
24841 else
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24844
24845 ac_cv_header_unordered_map=no
24846 fi
24847
24848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24849 fi
24850 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24851 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24852 if test $ac_cv_header_unordered_map = yes; then
24853 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24854 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24855 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24856 echo $ECHO_N "(cached) $ECHO_C" >&6
24857 else
24858 cat >conftest.$ac_ext <<_ACEOF
24859 /* confdefs.h. */
24860 _ACEOF
24861 cat confdefs.h >>conftest.$ac_ext
24862 cat >>conftest.$ac_ext <<_ACEOF
24863 /* end confdefs.h. */
24864 #include <unordered_map>
24865 #include <unordered_set>
24866 int
24867 main ()
24868 {
24869 std::unordered_map<double*, char*> test1;
24870 std::unordered_set<char*> test2;
24871 ;
24872 return 0;
24873 }
24874 _ACEOF
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24880 esac
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24883 ac_status=$?
24884 grep -v '^ *+' conftest.er1 >conftest.err
24885 rm -f conftest.er1
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_cxx_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24892 wx_cv_class_stdunorderedmapset=yes
24893 else
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24896
24897 wx_cv_class_stdunorderedmapset=no
24898 fi
24899
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901
24902
24903 fi
24904 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24905 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24906 fi
24907
24908
24909
24910 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24911 cat >>confdefs.h <<\_ACEOF
24912 #define HAVE_STD_UNORDERED_MAP 1
24913 _ACEOF
24914
24915 cat >>confdefs.h <<\_ACEOF
24916 #define HAVE_STD_UNORDERED_SET 1
24917 _ACEOF
24918
24919 else
24920 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24921 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24922 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24924 else
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931
24932
24933
24934 #include <tr1/unordered_map>
24935 _ACEOF
24936 rm -f conftest.$ac_objext
24937 if { (ac_try="$ac_compile"
24938 case "(($ac_try" in
24939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24940 *) ac_try_echo=$ac_try;;
24941 esac
24942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24943 (eval "$ac_compile") 2>conftest.er1
24944 ac_status=$?
24945 grep -v '^ *+' conftest.er1 >conftest.err
24946 rm -f conftest.er1
24947 cat conftest.err >&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } && {
24950 test -z "$ac_cxx_werror_flag" ||
24951 test ! -s conftest.err
24952 } && test -s conftest.$ac_objext; then
24953 ac_cv_header_tr1_unordered_map=yes
24954 else
24955 echo "$as_me: failed program was:" >&5
24956 sed 's/^/| /' conftest.$ac_ext >&5
24957
24958 ac_cv_header_tr1_unordered_map=no
24959 fi
24960
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 fi
24963 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24964 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24965 if test $ac_cv_header_tr1_unordered_map = yes; then
24966 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24967 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24968 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 else
24971 cat >conftest.$ac_ext <<_ACEOF
24972 /* confdefs.h. */
24973 _ACEOF
24974 cat confdefs.h >>conftest.$ac_ext
24975 cat >>conftest.$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 #include <tr1/unordered_map>
24978 #include <tr1/unordered_set>
24979 int
24980 main ()
24981 {
24982 std::tr1::unordered_map<double*, char*> test1;
24983 std::tr1::unordered_set<char*> test2;
24984 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24985 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24986 #endif
24987 ;
24988 return 0;
24989 }
24990 _ACEOF
24991 rm -f conftest.$ac_objext
24992 if { (ac_try="$ac_compile"
24993 case "(($ac_try" in
24994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24995 *) ac_try_echo=$ac_try;;
24996 esac
24997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24998 (eval "$ac_compile") 2>conftest.er1
24999 ac_status=$?
25000 grep -v '^ *+' conftest.er1 >conftest.err
25001 rm -f conftest.er1
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } && {
25005 test -z "$ac_cxx_werror_flag" ||
25006 test ! -s conftest.err
25007 } && test -s conftest.$ac_objext; then
25008 wx_cv_class_tr1unorderedmapset=yes
25009 else
25010 echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25012
25013 wx_cv_class_tr1unorderedmapset=no
25014 fi
25015
25016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25017
25018
25019 fi
25020 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25021 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25022 fi
25023
25024
25025
25026 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25027 cat >>confdefs.h <<\_ACEOF
25028 #define HAVE_TR1_UNORDERED_MAP 1
25029 _ACEOF
25030
25031 cat >>confdefs.h <<\_ACEOF
25032 #define HAVE_TR1_UNORDERED_SET 1
25033 _ACEOF
25034
25035 else
25036 { echo "$as_me:$LINENO: checking for hash_map" >&5
25037 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25038 if test "${ac_cv_header_hash_map+set}" = set; then
25039 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 else
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h. */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047
25048
25049
25050 #include <hash_map>
25051 _ACEOF
25052 rm -f conftest.$ac_objext
25053 if { (ac_try="$ac_compile"
25054 case "(($ac_try" in
25055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25056 *) ac_try_echo=$ac_try;;
25057 esac
25058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25059 (eval "$ac_compile") 2>conftest.er1
25060 ac_status=$?
25061 grep -v '^ *+' conftest.er1 >conftest.err
25062 rm -f conftest.er1
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && {
25066 test -z "$ac_cxx_werror_flag" ||
25067 test ! -s conftest.err
25068 } && test -s conftest.$ac_objext; then
25069 ac_cv_header_hash_map=yes
25070 else
25071 echo "$as_me: failed program was:" >&5
25072 sed 's/^/| /' conftest.$ac_ext >&5
25073
25074 ac_cv_header_hash_map=no
25075 fi
25076
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 fi
25079 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25080 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25081 if test $ac_cv_header_hash_map = yes; then
25082 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25083 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25084 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 else
25087 cat >conftest.$ac_ext <<_ACEOF
25088 /* confdefs.h. */
25089 _ACEOF
25090 cat confdefs.h >>conftest.$ac_ext
25091 cat >>conftest.$ac_ext <<_ACEOF
25092 /* end confdefs.h. */
25093 #include <hash_map>
25094 #include <hash_set>
25095 int
25096 main ()
25097 {
25098 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25099 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25100 ;
25101 return 0;
25102 }
25103 _ACEOF
25104 rm -f conftest.$ac_objext
25105 if { (ac_try="$ac_compile"
25106 case "(($ac_try" in
25107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25108 *) ac_try_echo=$ac_try;;
25109 esac
25110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25111 (eval "$ac_compile") 2>conftest.er1
25112 ac_status=$?
25113 grep -v '^ *+' conftest.er1 >conftest.err
25114 rm -f conftest.er1
25115 cat conftest.err >&5
25116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25117 (exit $ac_status); } && {
25118 test -z "$ac_cxx_werror_flag" ||
25119 test ! -s conftest.err
25120 } && test -s conftest.$ac_objext; then
25121 wx_cv_class_stdhashmapset=yes
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126 wx_cv_class_stdhashmapset=no
25127 fi
25128
25129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25130
25131
25132 fi
25133 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25134 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25135 fi
25136
25137
25138
25139 if test "$wx_cv_class_stdhashmapset" = yes; then
25140 cat >>confdefs.h <<\_ACEOF
25141 #define HAVE_HASH_MAP 1
25142 _ACEOF
25143
25144 cat >>confdefs.h <<\_ACEOF
25145 #define HAVE_STD_HASH_MAP 1
25146 _ACEOF
25147
25148 fi
25149
25150 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25151 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25152 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 else
25155 cat >conftest.$ac_ext <<_ACEOF
25156 /* confdefs.h. */
25157 _ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161
25162
25163
25164 #include <ext/hash_map>
25165 _ACEOF
25166 rm -f conftest.$ac_objext
25167 if { (ac_try="$ac_compile"
25168 case "(($ac_try" in
25169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25170 *) ac_try_echo=$ac_try;;
25171 esac
25172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25173 (eval "$ac_compile") 2>conftest.er1
25174 ac_status=$?
25175 grep -v '^ *+' conftest.er1 >conftest.err
25176 rm -f conftest.er1
25177 cat conftest.err >&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); } && {
25180 test -z "$ac_cxx_werror_flag" ||
25181 test ! -s conftest.err
25182 } && test -s conftest.$ac_objext; then
25183 ac_cv_header_ext_hash_map=yes
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 ac_cv_header_ext_hash_map=no
25189 fi
25190
25191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25192 fi
25193 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25194 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25195 if test $ac_cv_header_ext_hash_map = yes; then
25196 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25197 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25198 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25199 echo $ECHO_N "(cached) $ECHO_C" >&6
25200 else
25201 cat >conftest.$ac_ext <<_ACEOF
25202 /* confdefs.h. */
25203 _ACEOF
25204 cat confdefs.h >>conftest.$ac_ext
25205 cat >>conftest.$ac_ext <<_ACEOF
25206 /* end confdefs.h. */
25207 #include <ext/hash_map>
25208 #include <ext/hash_set>
25209 int
25210 main ()
25211 {
25212 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25213 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 rm -f conftest.$ac_objext
25219 if { (ac_try="$ac_compile"
25220 case "(($ac_try" in
25221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25222 *) ac_try_echo=$ac_try;;
25223 esac
25224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25225 (eval "$ac_compile") 2>conftest.er1
25226 ac_status=$?
25227 grep -v '^ *+' conftest.er1 >conftest.err
25228 rm -f conftest.er1
25229 cat conftest.err >&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } && {
25232 test -z "$ac_cxx_werror_flag" ||
25233 test ! -s conftest.err
25234 } && test -s conftest.$ac_objext; then
25235 wx_cv_class_gnuhashmapset=yes
25236 else
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.$ac_ext >&5
25239
25240 wx_cv_class_gnuhashmapset=no
25241 fi
25242
25243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25244
25245
25246 fi
25247 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25248 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25249 fi
25250
25251
25252
25253 fi
25254 fi
25255 fi
25256
25257
25258
25259 if test -n "$GCC"; then
25260 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25261 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25262 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272
25273 int
25274 main ()
25275 {
25276
25277 unsigned int value=0;
25278 /* wxAtomicInc doesn't use return value here */
25279 __sync_fetch_and_add(&value, 2);
25280 __sync_sub_and_fetch(&value, 1);
25281 /* but wxAtomicDec does, so mimic that: */
25282 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25283
25284 ;
25285 return 0;
25286 }
25287 _ACEOF
25288 rm -f conftest.$ac_objext conftest$ac_exeext
25289 if { (ac_try="$ac_link"
25290 case "(($ac_try" in
25291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25292 *) ac_try_echo=$ac_try;;
25293 esac
25294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25295 (eval "$ac_link") 2>conftest.er1
25296 ac_status=$?
25297 grep -v '^ *+' conftest.er1 >conftest.err
25298 rm -f conftest.er1
25299 cat conftest.err >&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); } && {
25302 test -z "$ac_cxx_werror_flag" ||
25303 test ! -s conftest.err
25304 } && test -s conftest$ac_exeext &&
25305 $as_test_x conftest$ac_exeext; then
25306 wx_cv_cc_gcc_atomic_builtins=yes
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 wx_cv_cc_gcc_atomic_builtins=no
25312 fi
25313
25314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25315 conftest$ac_exeext conftest.$ac_ext
25316
25317 fi
25318
25319 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25320 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25321 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25322 cat >>confdefs.h <<\_ACEOF
25323 #define HAVE_GCC_ATOMIC_BUILTINS 1
25324 _ACEOF
25325
25326 fi
25327 fi
25328
25329
25330 ac_ext=c
25331 ac_cpp='$CPP $CPPFLAGS'
25332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25335
25336
25337
25338 SEARCH_INCLUDE="\
25339 /usr/local/include \
25340 /usr/local/X11/include \
25341 /usr/local/include/X11 \
25342 /usr/local/X11R6/include \
25343 /usr/local/include/X11R6 \
25344 \
25345 /usr/Motif-2.1/include \
25346 /usr/Motif-1.2/include \
25347 /usr/include/Motif1.2 \
25348 \
25349 /usr/dt/include \
25350 /usr/openwin/include \
25351 \
25352 /usr/include/Xm \
25353 \
25354 /usr/X11R6/include \
25355 /usr/X11R6.4/include \
25356 \
25357 /usr/include/X11R6 \
25358 \
25359 /usr/X11/include \
25360 /usr/include/X11 \
25361 \
25362 /usr/XFree86/include/X11 \
25363 /usr/pkg/include \
25364 \
25365 /usr/local/X1R5/include \
25366 /usr/local/include/X11R5 \
25367 /usr/X11R5/include \
25368 /usr/include/X11R5 \
25369 \
25370 /usr/local/X11R4/include \
25371 /usr/local/include/X11R4 \
25372 /usr/X11R4/include \
25373 /usr/include/X11R4 \
25374 \
25375 /usr/openwin/share/include"
25376
25377 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25378 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25379
25380 case "${host}" in
25381 *-*-irix6* )
25382 if test "${wx_cv_std_libpath+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385
25386 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25387 for e in a so sl dylib dll.a; do
25388 libc="$d/libc.$e"
25389 if test -f $libc; then
25390 save_LIBS="$LIBS"
25391 LIBS="$libc"
25392 cat >conftest.$ac_ext <<_ACEOF
25393 int main() { return 0; }
25394 _ACEOF
25395 rm -f conftest.$ac_objext conftest$ac_exeext
25396 if { (ac_try="$ac_link"
25397 case "(($ac_try" in
25398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25399 *) ac_try_echo=$ac_try;;
25400 esac
25401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25402 (eval "$ac_link") 2>conftest.er1
25403 ac_status=$?
25404 grep -v '^ *+' conftest.er1 >conftest.err
25405 rm -f conftest.er1
25406 cat conftest.err >&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); } && {
25409 test -z "$ac_c_werror_flag" ||
25410 test ! -s conftest.err
25411 } && test -s conftest$ac_exeext &&
25412 $as_test_x conftest$ac_exeext; then
25413 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25414 else
25415 echo "$as_me: failed program was:" >&5
25416 sed 's/^/| /' conftest.$ac_ext >&5
25417
25418
25419 fi
25420
25421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25422 conftest$ac_exeext conftest.$ac_ext
25423 LIBS="$save_LIBS"
25424 if test "x$wx_cv_std_libpath" != "x"; then
25425 break 2
25426 fi
25427 fi
25428 done
25429 done
25430 if test "x$wx_cv_std_libpath" = "x"; then
25431 wx_cv_std_libpath="lib"
25432 fi
25433
25434
25435 fi
25436
25437 ;;
25438
25439 *-*-solaris2* )
25440 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25441 wx_cv_std_libpath="lib/64"
25442 else
25443 wx_cv_std_libpath="lib"
25444 fi
25445 ;;
25446
25447 *-*-linux* )
25448 if test "$ac_cv_sizeof_void_p" = 8 -a \
25449 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25450 wx_cv_std_libpath="lib64"
25451 else
25452 wx_cv_std_libpath="lib"
25453 fi
25454 ;;
25455
25456 *)
25457 wx_cv_std_libpath="lib";
25458 ;;
25459 esac
25460
25461 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25462 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25463
25464 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25465
25466 if test "$build" != "$host" -a "$GCC" = yes; then
25467 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25468 cross_root=`dirname $cross_root`
25469 cross_root=`dirname $cross_root`
25470
25471 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25472 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25473 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25474
25475 if test -z "$PKG_CONFIG_PATH"; then
25476 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25477 export PKG_CONFIG_PATH
25478 fi
25479
25480 if test -z "$x_includes" -o "$x_includes" = NONE; then
25481
25482 ac_find_includes=
25483 for ac_dir in $SEARCH_INCLUDE /usr/include;
25484 do
25485 if test -f "$ac_dir/X11/Intrinsic.h"; then
25486 ac_find_includes=$ac_dir
25487 break
25488 fi
25489 done
25490
25491 x_includes=$ac_find_includes
25492 fi
25493 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25494
25495 ac_find_libraries=
25496 for ac_dir in $SEARCH_LIB;
25497 do
25498 for ac_extension in a so sl dylib dll.a; do
25499 if test -f "$ac_dir/libXt.$ac_extension"; then
25500 ac_find_libraries=$ac_dir
25501 break 2
25502 fi
25503 done
25504 done
25505
25506 x_libraries=$ac_find_libraries
25507 fi
25508 fi
25509 fi
25510
25511
25512 cat >confcache <<\_ACEOF
25513 # This file is a shell script that caches the results of configure
25514 # tests run on this system so they can be shared between configure
25515 # scripts and configure runs, see configure's option --config-cache.
25516 # It is not useful on other systems. If it contains results you don't
25517 # want to keep, you may remove or edit it.
25518 #
25519 # config.status only pays attention to the cache file if you give it
25520 # the --recheck option to rerun configure.
25521 #
25522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25524 # following values.
25525
25526 _ACEOF
25527
25528 # The following way of writing the cache mishandles newlines in values,
25529 # but we know of no workaround that is simple, portable, and efficient.
25530 # So, we kill variables containing newlines.
25531 # Ultrix sh set writes to stderr and can't be redirected directly,
25532 # and sets the high bit in the cache file unless we assign to the vars.
25533 (
25534 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25535 eval ac_val=\$$ac_var
25536 case $ac_val in #(
25537 *${as_nl}*)
25538 case $ac_var in #(
25539 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25540 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25541 esac
25542 case $ac_var in #(
25543 _ | IFS | as_nl) ;; #(
25544 *) $as_unset $ac_var ;;
25545 esac ;;
25546 esac
25547 done
25548
25549 (set) 2>&1 |
25550 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25551 *${as_nl}ac_space=\ *)
25552 # `set' does not quote correctly, so add quotes (double-quote
25553 # substitution turns \\\\ into \\, and sed turns \\ into \).
25554 sed -n \
25555 "s/'/'\\\\''/g;
25556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25557 ;; #(
25558 *)
25559 # `set' quotes correctly as required by POSIX, so do not add quotes.
25560 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25561 ;;
25562 esac |
25563 sort
25564 ) |
25565 sed '
25566 /^ac_cv_env_/b end
25567 t clear
25568 :clear
25569 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25570 t end
25571 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25572 :end' >>confcache
25573 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25574 if test -w "$cache_file"; then
25575 test "x$cache_file" != "x/dev/null" &&
25576 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25577 echo "$as_me: updating cache $cache_file" >&6;}
25578 cat confcache >$cache_file
25579 else
25580 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25581 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25582 fi
25583 fi
25584 rm -f confcache
25585
25586 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25587 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25588 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25589 if test "${wx_cv_lib_glibc21+set}" = set; then
25590 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 else
25592
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 #include <features.h>
25600 int
25601 main ()
25602 {
25603
25604 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25605 not glibc 2.1
25606 #endif
25607
25608 ;
25609 return 0;
25610 }
25611 _ACEOF
25612 rm -f conftest.$ac_objext
25613 if { (ac_try="$ac_compile"
25614 case "(($ac_try" in
25615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25616 *) ac_try_echo=$ac_try;;
25617 esac
25618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25619 (eval "$ac_compile") 2>conftest.er1
25620 ac_status=$?
25621 grep -v '^ *+' conftest.er1 >conftest.err
25622 rm -f conftest.er1
25623 cat conftest.err >&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } && {
25626 test -z "$ac_c_werror_flag" ||
25627 test ! -s conftest.err
25628 } && test -s conftest.$ac_objext; then
25629
25630 wx_cv_lib_glibc21=yes
25631
25632 else
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.$ac_ext >&5
25635
25636
25637 wx_cv_lib_glibc21=no
25638
25639
25640 fi
25641
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643
25644 fi
25645 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25646 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25647 if test "$wx_cv_lib_glibc21" = "yes"; then
25648 cat >>confdefs.h <<\_ACEOF
25649 #define wxHAVE_GLIBC2 1
25650 _ACEOF
25651
25652 fi
25653 fi
25654
25655 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25656 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25657 cat >>confdefs.h <<\_ACEOF
25658 #define _GNU_SOURCE 1
25659 _ACEOF
25660
25661 fi
25662 fi
25663
25664 have_cos=0
25665 have_floor=0
25666
25667 for ac_func in cos
25668 do
25669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 else
25675 cat >conftest.$ac_ext <<_ACEOF
25676 /* confdefs.h. */
25677 _ACEOF
25678 cat confdefs.h >>conftest.$ac_ext
25679 cat >>conftest.$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25683 #define $ac_func innocuous_$ac_func
25684
25685 /* System header to define __stub macros and hopefully few prototypes,
25686 which can conflict with char $ac_func (); below.
25687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25688 <limits.h> exists even on freestanding compilers. */
25689
25690 #ifdef __STDC__
25691 # include <limits.h>
25692 #else
25693 # include <assert.h>
25694 #endif
25695
25696 #undef $ac_func
25697
25698 /* Override any GCC internal prototype to avoid an error.
25699 Use char because int might match the return type of a GCC
25700 builtin and then its argument prototype would still apply. */
25701 #ifdef __cplusplus
25702 extern "C"
25703 #endif
25704 char $ac_func ();
25705 /* The GNU C library defines this for functions which it implements
25706 to always fail with ENOSYS. Some functions are actually named
25707 something starting with __ and the normal name is an alias. */
25708 #if defined __stub_$ac_func || defined __stub___$ac_func
25709 choke me
25710 #endif
25711
25712 int
25713 main ()
25714 {
25715 return $ac_func ();
25716 ;
25717 return 0;
25718 }
25719 _ACEOF
25720 rm -f conftest.$ac_objext conftest$ac_exeext
25721 if { (ac_try="$ac_link"
25722 case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25725 esac
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_link") 2>conftest.er1
25728 ac_status=$?
25729 grep -v '^ *+' conftest.er1 >conftest.err
25730 rm -f conftest.er1
25731 cat conftest.err >&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } && {
25734 test -z "$ac_c_werror_flag" ||
25735 test ! -s conftest.err
25736 } && test -s conftest$ac_exeext &&
25737 $as_test_x conftest$ac_exeext; then
25738 eval "$as_ac_var=yes"
25739 else
25740 echo "$as_me: failed program was:" >&5
25741 sed 's/^/| /' conftest.$ac_ext >&5
25742
25743 eval "$as_ac_var=no"
25744 fi
25745
25746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25747 conftest$ac_exeext conftest.$ac_ext
25748 fi
25749 ac_res=`eval echo '${'$as_ac_var'}'`
25750 { echo "$as_me:$LINENO: result: $ac_res" >&5
25751 echo "${ECHO_T}$ac_res" >&6; }
25752 if test `eval echo '${'$as_ac_var'}'` = yes; then
25753 cat >>confdefs.h <<_ACEOF
25754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25755 _ACEOF
25756 have_cos=1
25757 fi
25758 done
25759
25760
25761 for ac_func in floor
25762 do
25763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25767 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 else
25769 cat >conftest.$ac_ext <<_ACEOF
25770 /* confdefs.h. */
25771 _ACEOF
25772 cat confdefs.h >>conftest.$ac_ext
25773 cat >>conftest.$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25777 #define $ac_func innocuous_$ac_func
25778
25779 /* System header to define __stub macros and hopefully few prototypes,
25780 which can conflict with char $ac_func (); below.
25781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25782 <limits.h> exists even on freestanding compilers. */
25783
25784 #ifdef __STDC__
25785 # include <limits.h>
25786 #else
25787 # include <assert.h>
25788 #endif
25789
25790 #undef $ac_func
25791
25792 /* Override any GCC internal prototype to avoid an error.
25793 Use char because int might match the return type of a GCC
25794 builtin and then its argument prototype would still apply. */
25795 #ifdef __cplusplus
25796 extern "C"
25797 #endif
25798 char $ac_func ();
25799 /* The GNU C library defines this for functions which it implements
25800 to always fail with ENOSYS. Some functions are actually named
25801 something starting with __ and the normal name is an alias. */
25802 #if defined __stub_$ac_func || defined __stub___$ac_func
25803 choke me
25804 #endif
25805
25806 int
25807 main ()
25808 {
25809 return $ac_func ();
25810 ;
25811 return 0;
25812 }
25813 _ACEOF
25814 rm -f conftest.$ac_objext conftest$ac_exeext
25815 if { (ac_try="$ac_link"
25816 case "(($ac_try" in
25817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25818 *) ac_try_echo=$ac_try;;
25819 esac
25820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25821 (eval "$ac_link") 2>conftest.er1
25822 ac_status=$?
25823 grep -v '^ *+' conftest.er1 >conftest.err
25824 rm -f conftest.er1
25825 cat conftest.err >&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } && {
25828 test -z "$ac_c_werror_flag" ||
25829 test ! -s conftest.err
25830 } && test -s conftest$ac_exeext &&
25831 $as_test_x conftest$ac_exeext; then
25832 eval "$as_ac_var=yes"
25833 else
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.$ac_ext >&5
25836
25837 eval "$as_ac_var=no"
25838 fi
25839
25840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25841 conftest$ac_exeext conftest.$ac_ext
25842 fi
25843 ac_res=`eval echo '${'$as_ac_var'}'`
25844 { echo "$as_me:$LINENO: result: $ac_res" >&5
25845 echo "${ECHO_T}$ac_res" >&6; }
25846 if test `eval echo '${'$as_ac_var'}'` = yes; then
25847 cat >>confdefs.h <<_ACEOF
25848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25849 _ACEOF
25850 have_floor=1
25851 fi
25852 done
25853
25854 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25855 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25856 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25857 { echo "$as_me:$LINENO: result: yes" >&5
25858 echo "${ECHO_T}yes" >&6; }
25859 else
25860 { echo "$as_me:$LINENO: result: no" >&5
25861 echo "${ECHO_T}no" >&6; }
25862 LIBS="$LIBS -lm"
25863 # use different functions to avoid configure caching
25864 have_sin=0
25865 have_ceil=0
25866
25867 for ac_func in sin
25868 do
25869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25873 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 else
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25883 #define $ac_func innocuous_$ac_func
25884
25885 /* System header to define __stub macros and hopefully few prototypes,
25886 which can conflict with char $ac_func (); below.
25887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25888 <limits.h> exists even on freestanding compilers. */
25889
25890 #ifdef __STDC__
25891 # include <limits.h>
25892 #else
25893 # include <assert.h>
25894 #endif
25895
25896 #undef $ac_func
25897
25898 /* Override any GCC internal prototype to avoid an error.
25899 Use char because int might match the return type of a GCC
25900 builtin and then its argument prototype would still apply. */
25901 #ifdef __cplusplus
25902 extern "C"
25903 #endif
25904 char $ac_func ();
25905 /* The GNU C library defines this for functions which it implements
25906 to always fail with ENOSYS. Some functions are actually named
25907 something starting with __ and the normal name is an alias. */
25908 #if defined __stub_$ac_func || defined __stub___$ac_func
25909 choke me
25910 #endif
25911
25912 int
25913 main ()
25914 {
25915 return $ac_func ();
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext conftest$ac_exeext
25921 if { (ac_try="$ac_link"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25925 esac
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_link") 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } && {
25934 test -z "$ac_c_werror_flag" ||
25935 test ! -s conftest.err
25936 } && test -s conftest$ac_exeext &&
25937 $as_test_x conftest$ac_exeext; then
25938 eval "$as_ac_var=yes"
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25942
25943 eval "$as_ac_var=no"
25944 fi
25945
25946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25947 conftest$ac_exeext conftest.$ac_ext
25948 fi
25949 ac_res=`eval echo '${'$as_ac_var'}'`
25950 { echo "$as_me:$LINENO: result: $ac_res" >&5
25951 echo "${ECHO_T}$ac_res" >&6; }
25952 if test `eval echo '${'$as_ac_var'}'` = yes; then
25953 cat >>confdefs.h <<_ACEOF
25954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25955 _ACEOF
25956 have_sin=1
25957 fi
25958 done
25959
25960
25961 for ac_func in ceil
25962 do
25963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969 cat >conftest.$ac_ext <<_ACEOF
25970 /* confdefs.h. */
25971 _ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25977 #define $ac_func innocuous_$ac_func
25978
25979 /* System header to define __stub macros and hopefully few prototypes,
25980 which can conflict with char $ac_func (); below.
25981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25982 <limits.h> exists even on freestanding compilers. */
25983
25984 #ifdef __STDC__
25985 # include <limits.h>
25986 #else
25987 # include <assert.h>
25988 #endif
25989
25990 #undef $ac_func
25991
25992 /* Override any GCC internal prototype to avoid an error.
25993 Use char because int might match the return type of a GCC
25994 builtin and then its argument prototype would still apply. */
25995 #ifdef __cplusplus
25996 extern "C"
25997 #endif
25998 char $ac_func ();
25999 /* The GNU C library defines this for functions which it implements
26000 to always fail with ENOSYS. Some functions are actually named
26001 something starting with __ and the normal name is an alias. */
26002 #if defined __stub_$ac_func || defined __stub___$ac_func
26003 choke me
26004 #endif
26005
26006 int
26007 main ()
26008 {
26009 return $ac_func ();
26010 ;
26011 return 0;
26012 }
26013 _ACEOF
26014 rm -f conftest.$ac_objext conftest$ac_exeext
26015 if { (ac_try="$ac_link"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_link") 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_c_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest$ac_exeext &&
26031 $as_test_x conftest$ac_exeext; then
26032 eval "$as_ac_var=yes"
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 eval "$as_ac_var=no"
26038 fi
26039
26040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26041 conftest$ac_exeext conftest.$ac_ext
26042 fi
26043 ac_res=`eval echo '${'$as_ac_var'}'`
26044 { echo "$as_me:$LINENO: result: $ac_res" >&5
26045 echo "${ECHO_T}$ac_res" >&6; }
26046 if test `eval echo '${'$as_ac_var'}'` = yes; then
26047 cat >>confdefs.h <<_ACEOF
26048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26049 _ACEOF
26050 have_ceil=1
26051 fi
26052 done
26053
26054 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26055 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26056 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26057 { echo "$as_me:$LINENO: result: yes" >&5
26058 echo "${ECHO_T}yes" >&6; }
26059 else
26060 { echo "$as_me:$LINENO: result: no" >&5
26061 echo "${ECHO_T}no" >&6; }
26062 # not sure we should warn the user, crash, etc.
26063 fi
26064 fi
26065
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26071
26072 if test "wxUSE_UNICODE" = "yes"; then
26073
26074 for wx_func in wcstoull
26075 do
26076 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26077 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26078 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081
26082 cat >conftest.$ac_ext <<_ACEOF
26083
26084 /* confdefs.h. */
26085 _ACEOF
26086 cat confdefs.h >>conftest.$ac_ext
26087 cat >>conftest.$ac_ext <<_ACEOF
26088 /* end confdefs.h. */
26089
26090
26091 $ac_includes_default
26092
26093 int
26094 main ()
26095 {
26096
26097 #ifndef $wx_func
26098 &$wx_func;
26099 #endif
26100
26101
26102 ;
26103 return 0;
26104 }
26105
26106 _ACEOF
26107 rm -f conftest.$ac_objext conftest$ac_exeext
26108 if { (ac_try="$ac_link"
26109 case "(($ac_try" in
26110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26111 *) ac_try_echo=$ac_try;;
26112 esac
26113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26114 (eval "$ac_link") 2>conftest.er1
26115 ac_status=$?
26116 grep -v '^ *+' conftest.er1 >conftest.err
26117 rm -f conftest.er1
26118 cat conftest.err >&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } && {
26121 test -z "$ac_cxx_werror_flag" ||
26122 test ! -s conftest.err
26123 } && test -s conftest$ac_exeext &&
26124 $as_test_x conftest$ac_exeext; then
26125 eval wx_cv_func_$wx_func=yes
26126 else
26127 echo "$as_me: failed program was:" >&5
26128 sed 's/^/| /' conftest.$ac_ext >&5
26129
26130 eval wx_cv_func_$wx_func=no
26131 fi
26132
26133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26134 conftest$ac_exeext conftest.$ac_ext
26135
26136 fi
26137 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26138 { echo "$as_me:$LINENO: result: $ac_res" >&5
26139 echo "${ECHO_T}$ac_res" >&6; }
26140
26141 if eval test \$wx_cv_func_$wx_func = yes
26142 then
26143 cat >>confdefs.h <<_ACEOF
26144 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26145 _ACEOF
26146
26147
26148 else
26149 :
26150
26151 fi
26152 done
26153
26154 else
26155
26156 for wx_func in strtoull
26157 do
26158 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26159 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26160 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26162 else
26163
26164 cat >conftest.$ac_ext <<_ACEOF
26165
26166 /* confdefs.h. */
26167 _ACEOF
26168 cat confdefs.h >>conftest.$ac_ext
26169 cat >>conftest.$ac_ext <<_ACEOF
26170 /* end confdefs.h. */
26171
26172
26173 $ac_includes_default
26174
26175 int
26176 main ()
26177 {
26178
26179 #ifndef $wx_func
26180 &$wx_func;
26181 #endif
26182
26183
26184 ;
26185 return 0;
26186 }
26187
26188 _ACEOF
26189 rm -f conftest.$ac_objext conftest$ac_exeext
26190 if { (ac_try="$ac_link"
26191 case "(($ac_try" in
26192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26193 *) ac_try_echo=$ac_try;;
26194 esac
26195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26196 (eval "$ac_link") 2>conftest.er1
26197 ac_status=$?
26198 grep -v '^ *+' conftest.er1 >conftest.err
26199 rm -f conftest.er1
26200 cat conftest.err >&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_cxx_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest$ac_exeext &&
26206 $as_test_x conftest$ac_exeext; then
26207 eval wx_cv_func_$wx_func=yes
26208 else
26209 echo "$as_me: failed program was:" >&5
26210 sed 's/^/| /' conftest.$ac_ext >&5
26211
26212 eval wx_cv_func_$wx_func=no
26213 fi
26214
26215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26216 conftest$ac_exeext conftest.$ac_ext
26217
26218 fi
26219 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26220 { echo "$as_me:$LINENO: result: $ac_res" >&5
26221 echo "${ECHO_T}$ac_res" >&6; }
26222
26223 if eval test \$wx_cv_func_$wx_func = yes
26224 then
26225 cat >>confdefs.h <<_ACEOF
26226 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26227 _ACEOF
26228
26229
26230 else
26231 :
26232
26233 fi
26234 done
26235
26236 fi
26237 ac_ext=c
26238 ac_cpp='$CPP $CPPFLAGS'
26239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26242
26243
26244
26245
26246 if test "$wxUSE_REGEX" != "no"; then
26247 cat >>confdefs.h <<\_ACEOF
26248 #define wxUSE_REGEX 1
26249 _ACEOF
26250
26251
26252 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26253 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26254 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26255 wxUSE_REGEX=builtin
26256 fi
26257
26258 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26259 { echo "$as_me:$LINENO: checking for regex.h" >&5
26260 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26261 if test "${ac_cv_header_regex_h+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 else
26264 cat >conftest.$ac_ext <<_ACEOF
26265 /* confdefs.h. */
26266 _ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26270
26271
26272 #include <regex.h>
26273 _ACEOF
26274 rm -f conftest.$ac_objext
26275 if { (ac_try="$ac_compile"
26276 case "(($ac_try" in
26277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26278 *) ac_try_echo=$ac_try;;
26279 esac
26280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26281 (eval "$ac_compile") 2>conftest.er1
26282 ac_status=$?
26283 grep -v '^ *+' conftest.er1 >conftest.err
26284 rm -f conftest.er1
26285 cat conftest.err >&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); } && {
26288 test -z "$ac_c_werror_flag" ||
26289 test ! -s conftest.err
26290 } && test -s conftest.$ac_objext; then
26291 ac_cv_header_regex_h=yes
26292 else
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26295
26296 ac_cv_header_regex_h=no
26297 fi
26298
26299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26300 fi
26301 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26302 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26303 if test $ac_cv_header_regex_h = yes; then
26304
26305
26306 for ac_func in regcomp re_search
26307 do
26308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26309 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 else
26314 cat >conftest.$ac_ext <<_ACEOF
26315 /* confdefs.h. */
26316 _ACEOF
26317 cat confdefs.h >>conftest.$ac_ext
26318 cat >>conftest.$ac_ext <<_ACEOF
26319 /* end confdefs.h. */
26320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26322 #define $ac_func innocuous_$ac_func
26323
26324 /* System header to define __stub macros and hopefully few prototypes,
26325 which can conflict with char $ac_func (); below.
26326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26327 <limits.h> exists even on freestanding compilers. */
26328
26329 #ifdef __STDC__
26330 # include <limits.h>
26331 #else
26332 # include <assert.h>
26333 #endif
26334
26335 #undef $ac_func
26336
26337 /* Override any GCC internal prototype to avoid an error.
26338 Use char because int might match the return type of a GCC
26339 builtin and then its argument prototype would still apply. */
26340 #ifdef __cplusplus
26341 extern "C"
26342 #endif
26343 char $ac_func ();
26344 /* The GNU C library defines this for functions which it implements
26345 to always fail with ENOSYS. Some functions are actually named
26346 something starting with __ and the normal name is an alias. */
26347 #if defined __stub_$ac_func || defined __stub___$ac_func
26348 choke me
26349 #endif
26350
26351 int
26352 main ()
26353 {
26354 return $ac_func ();
26355 ;
26356 return 0;
26357 }
26358 _ACEOF
26359 rm -f conftest.$ac_objext conftest$ac_exeext
26360 if { (ac_try="$ac_link"
26361 case "(($ac_try" in
26362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26363 *) ac_try_echo=$ac_try;;
26364 esac
26365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26366 (eval "$ac_link") 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } && {
26373 test -z "$ac_c_werror_flag" ||
26374 test ! -s conftest.err
26375 } && test -s conftest$ac_exeext &&
26376 $as_test_x conftest$ac_exeext; then
26377 eval "$as_ac_var=yes"
26378 else
26379 echo "$as_me: failed program was:" >&5
26380 sed 's/^/| /' conftest.$ac_ext >&5
26381
26382 eval "$as_ac_var=no"
26383 fi
26384
26385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26386 conftest$ac_exeext conftest.$ac_ext
26387 fi
26388 ac_res=`eval echo '${'$as_ac_var'}'`
26389 { echo "$as_me:$LINENO: result: $ac_res" >&5
26390 echo "${ECHO_T}$ac_res" >&6; }
26391 if test `eval echo '${'$as_ac_var'}'` = yes; then
26392 cat >>confdefs.h <<_ACEOF
26393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26394 _ACEOF
26395
26396 fi
26397 done
26398
26399 fi
26400
26401
26402
26403 if test "x$ac_cv_func_regcomp" != "xyes"; then
26404 if test "$wxUSE_REGEX" = "sys" ; then
26405 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26406 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26407 { (exit 1); exit 1; }; }
26408 else
26409 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26410 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26411 wxUSE_REGEX=builtin
26412 fi
26413 else
26414 wxUSE_REGEX=sys
26415 cat >>confdefs.h <<\_ACEOF
26416 #define WX_NO_REGEX_ADVANCED 1
26417 _ACEOF
26418
26419 fi
26420 fi
26421 fi
26422
26423
26424 ZLIB_LINK=
26425 if test "$wxUSE_ZLIB" != "no" ; then
26426 cat >>confdefs.h <<\_ACEOF
26427 #define wxUSE_ZLIB 1
26428 _ACEOF
26429
26430
26431 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26432 if test "$USE_DARWIN" = 1; then
26433 system_zlib_h_ok="yes"
26434 else
26435 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26436 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26437 if test "${ac_cv_header_zlib_h+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440 if test "$cross_compiling" = yes; then
26441 unset ac_cv_header_zlib_h
26442
26443 else
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h. */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26450
26451 #include <zlib.h>
26452 #include <stdio.h>
26453
26454 int main()
26455 {
26456 FILE *f=fopen("conftestval", "w");
26457 if (!f) exit(1);
26458 fprintf(f, "%s",
26459 ZLIB_VERSION[0] == '1' &&
26460 (ZLIB_VERSION[2] > '1' ||
26461 (ZLIB_VERSION[2] == '1' &&
26462 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26463 exit(0);
26464 }
26465
26466 _ACEOF
26467 rm -f conftest$ac_exeext
26468 if { (ac_try="$ac_link"
26469 case "(($ac_try" in
26470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26471 *) ac_try_echo=$ac_try;;
26472 esac
26473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26474 (eval "$ac_link") 2>&5
26475 ac_status=$?
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26478 { (case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26481 esac
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_try") 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_cv_header_zlib_h=`cat conftestval`
26488 else
26489 echo "$as_me: program exited with status $ac_status" >&5
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26492
26493 ( exit $ac_status )
26494 ac_cv_header_zlib_h=no
26495 fi
26496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26497 fi
26498
26499
26500
26501 fi
26502 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26503 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26504 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26505 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26506 if test "${ac_cv_header_zlib_h+set}" = set; then
26507 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 else
26509 cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h. */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515
26516
26517 #include <zlib.h>
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (ac_try="$ac_compile"
26521 case "(($ac_try" in
26522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26523 *) ac_try_echo=$ac_try;;
26524 esac
26525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26526 (eval "$ac_compile") 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } && {
26533 test -z "$ac_c_werror_flag" ||
26534 test ! -s conftest.err
26535 } && test -s conftest.$ac_objext; then
26536 ac_cv_header_zlib_h=yes
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 ac_cv_header_zlib_h=no
26542 fi
26543
26544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26545 fi
26546 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26547 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26548
26549
26550
26551 system_zlib_h_ok=$ac_cv_header_zlib_h
26552 fi
26553
26554 if test "$system_zlib_h_ok" = "yes"; then
26555 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26556 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26557 if test "${ac_cv_lib_z_deflate+set}" = set; then
26558 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 else
26560 ac_check_lib_save_LIBS=$LIBS
26561 LIBS="-lz $LIBS"
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h. */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568
26569 /* Override any GCC internal prototype to avoid an error.
26570 Use char because int might match the return type of a GCC
26571 builtin and then its argument prototype would still apply. */
26572 #ifdef __cplusplus
26573 extern "C"
26574 #endif
26575 char deflate ();
26576 int
26577 main ()
26578 {
26579 return deflate ();
26580 ;
26581 return 0;
26582 }
26583 _ACEOF
26584 rm -f conftest.$ac_objext conftest$ac_exeext
26585 if { (ac_try="$ac_link"
26586 case "(($ac_try" in
26587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26588 *) ac_try_echo=$ac_try;;
26589 esac
26590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26591 (eval "$ac_link") 2>conftest.er1
26592 ac_status=$?
26593 grep -v '^ *+' conftest.er1 >conftest.err
26594 rm -f conftest.er1
26595 cat conftest.err >&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } && {
26598 test -z "$ac_c_werror_flag" ||
26599 test ! -s conftest.err
26600 } && test -s conftest$ac_exeext &&
26601 $as_test_x conftest$ac_exeext; then
26602 ac_cv_lib_z_deflate=yes
26603 else
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.$ac_ext >&5
26606
26607 ac_cv_lib_z_deflate=no
26608 fi
26609
26610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26611 conftest$ac_exeext conftest.$ac_ext
26612 LIBS=$ac_check_lib_save_LIBS
26613 fi
26614 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26615 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26616 if test $ac_cv_lib_z_deflate = yes; then
26617 ZLIB_LINK=" -lz"
26618 fi
26619
26620 fi
26621
26622 if test "x$ZLIB_LINK" = "x" ; then
26623 if test "$wxUSE_ZLIB" = "sys" ; then
26624 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26625 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26626 { (exit 1); exit 1; }; }
26627 else
26628 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26629 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26630 wxUSE_ZLIB=builtin
26631 fi
26632 else
26633 wxUSE_ZLIB=sys
26634 fi
26635 fi
26636 fi
26637
26638
26639 PNG_LINK=
26640 if test "$wxUSE_LIBPNG" != "no" ; then
26641 cat >>confdefs.h <<\_ACEOF
26642 #define wxUSE_LIBPNG 1
26643 _ACEOF
26644
26645
26646 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26647 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26648 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26649 wxUSE_LIBPNG=sys
26650 fi
26651
26652 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26653 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26654 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26655 wxUSE_LIBPNG=builtin
26656 fi
26657
26658 if test "$wxUSE_MGL" != 1 ; then
26659 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26660 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26661 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26662 if test "${ac_cv_header_png_h+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26664 else
26665 if test "$cross_compiling" = yes; then
26666 unset ac_cv_header_png_h
26667
26668 else
26669 cat >conftest.$ac_ext <<_ACEOF
26670 /* confdefs.h. */
26671 _ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26675
26676 #include <png.h>
26677 #include <stdio.h>
26678
26679 int main()
26680 {
26681 FILE *f=fopen("conftestval", "w");
26682 if (!f) exit(1);
26683 fprintf(f, "%s",
26684 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26685 exit(0);
26686 }
26687
26688 _ACEOF
26689 rm -f conftest$ac_exeext
26690 if { (ac_try="$ac_link"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26693 *) ac_try_echo=$ac_try;;
26694 esac
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_link") 2>&5
26697 ac_status=$?
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26700 { (case "(($ac_try" in
26701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26702 *) ac_try_echo=$ac_try;;
26703 esac
26704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26705 (eval "$ac_try") 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26709 ac_cv_header_png_h=`cat conftestval`
26710 else
26711 echo "$as_me: program exited with status $ac_status" >&5
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26714
26715 ( exit $ac_status )
26716 ac_cv_header_png_h=no
26717 fi
26718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26719 fi
26720
26721
26722
26723 fi
26724 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26725 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26726 { echo "$as_me:$LINENO: checking for png.h" >&5
26727 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26728 if test "${ac_cv_header_png_h+set}" = set; then
26729 echo $ECHO_N "(cached) $ECHO_C" >&6
26730 else
26731 cat >conftest.$ac_ext <<_ACEOF
26732 /* confdefs.h. */
26733 _ACEOF
26734 cat confdefs.h >>conftest.$ac_ext
26735 cat >>conftest.$ac_ext <<_ACEOF
26736 /* end confdefs.h. */
26737
26738
26739 #include <png.h>
26740 _ACEOF
26741 rm -f conftest.$ac_objext
26742 if { (ac_try="$ac_compile"
26743 case "(($ac_try" in
26744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26745 *) ac_try_echo=$ac_try;;
26746 esac
26747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26748 (eval "$ac_compile") 2>conftest.er1
26749 ac_status=$?
26750 grep -v '^ *+' conftest.er1 >conftest.err
26751 rm -f conftest.er1
26752 cat conftest.err >&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } && {
26755 test -z "$ac_c_werror_flag" ||
26756 test ! -s conftest.err
26757 } && test -s conftest.$ac_objext; then
26758 ac_cv_header_png_h=yes
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 ac_cv_header_png_h=no
26764 fi
26765
26766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26767 fi
26768 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26769 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26770
26771
26772
26773 if test "$ac_cv_header_png_h" = "yes"; then
26774 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26775 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26776 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26778 else
26779 ac_check_lib_save_LIBS=$LIBS
26780 LIBS="-lpng -lz -lm $LIBS"
26781 cat >conftest.$ac_ext <<_ACEOF
26782 /* confdefs.h. */
26783 _ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787
26788 /* Override any GCC internal prototype to avoid an error.
26789 Use char because int might match the return type of a GCC
26790 builtin and then its argument prototype would still apply. */
26791 #ifdef __cplusplus
26792 extern "C"
26793 #endif
26794 char png_check_sig ();
26795 int
26796 main ()
26797 {
26798 return png_check_sig ();
26799 ;
26800 return 0;
26801 }
26802 _ACEOF
26803 rm -f conftest.$ac_objext conftest$ac_exeext
26804 if { (ac_try="$ac_link"
26805 case "(($ac_try" in
26806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26807 *) ac_try_echo=$ac_try;;
26808 esac
26809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26810 (eval "$ac_link") 2>conftest.er1
26811 ac_status=$?
26812 grep -v '^ *+' conftest.er1 >conftest.err
26813 rm -f conftest.er1
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } && {
26817 test -z "$ac_c_werror_flag" ||
26818 test ! -s conftest.err
26819 } && test -s conftest$ac_exeext &&
26820 $as_test_x conftest$ac_exeext; then
26821 ac_cv_lib_png_png_check_sig=yes
26822 else
26823 echo "$as_me: failed program was:" >&5
26824 sed 's/^/| /' conftest.$ac_ext >&5
26825
26826 ac_cv_lib_png_png_check_sig=no
26827 fi
26828
26829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26830 conftest$ac_exeext conftest.$ac_ext
26831 LIBS=$ac_check_lib_save_LIBS
26832 fi
26833 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26834 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26835 if test $ac_cv_lib_png_png_check_sig = yes; then
26836 PNG_LINK=" -lpng -lz"
26837 fi
26838
26839 fi
26840
26841 if test "x$PNG_LINK" = "x" ; then
26842 if test "$wxUSE_LIBPNG" = "sys" ; then
26843 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26844 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26845 { (exit 1); exit 1; }; }
26846 else
26847 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26848 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26849 wxUSE_LIBPNG=builtin
26850 fi
26851 else
26852 wxUSE_LIBPNG=sys
26853 fi
26854 fi
26855 fi
26856 fi
26857
26858
26859 JPEG_LINK=
26860 if test "$wxUSE_LIBJPEG" != "no" ; then
26861 cat >>confdefs.h <<\_ACEOF
26862 #define wxUSE_LIBJPEG 1
26863 _ACEOF
26864
26865
26866 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26867 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26868 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26869 wxUSE_LIBJPEG=sys
26870 fi
26871
26872 if test "$wxUSE_MGL" != 1 ; then
26873 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26874 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26875 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26876 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26877 echo $ECHO_N "(cached) $ECHO_C" >&6
26878 else
26879 cat >conftest.$ac_ext <<_ACEOF
26880 /* confdefs.h. */
26881 _ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26885
26886 #undef HAVE_STDLIB_H
26887 #include <stdio.h>
26888 #include <jpeglib.h>
26889
26890 int
26891 main ()
26892 {
26893
26894
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 rm -f conftest.$ac_objext
26900 if { (ac_try="$ac_compile"
26901 case "(($ac_try" in
26902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26903 *) ac_try_echo=$ac_try;;
26904 esac
26905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26906 (eval "$ac_compile") 2>conftest.er1
26907 ac_status=$?
26908 grep -v '^ *+' conftest.er1 >conftest.err
26909 rm -f conftest.er1
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } && {
26913 test -z "$ac_c_werror_flag" ||
26914 test ! -s conftest.err
26915 } && test -s conftest.$ac_objext; then
26916 ac_cv_header_jpeglib_h=yes
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26920
26921 ac_cv_header_jpeglib_h=no
26922
26923 fi
26924
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926
26927 fi
26928
26929 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26930 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26931
26932 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26933 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26934 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26935 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26938 ac_check_lib_save_LIBS=$LIBS
26939 LIBS="-ljpeg $LIBS"
26940 cat >conftest.$ac_ext <<_ACEOF
26941 /* confdefs.h. */
26942 _ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946
26947 /* Override any GCC internal prototype to avoid an error.
26948 Use char because int might match the return type of a GCC
26949 builtin and then its argument prototype would still apply. */
26950 #ifdef __cplusplus
26951 extern "C"
26952 #endif
26953 char jpeg_read_header ();
26954 int
26955 main ()
26956 {
26957 return jpeg_read_header ();
26958 ;
26959 return 0;
26960 }
26961 _ACEOF
26962 rm -f conftest.$ac_objext conftest$ac_exeext
26963 if { (ac_try="$ac_link"
26964 case "(($ac_try" in
26965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26966 *) ac_try_echo=$ac_try;;
26967 esac
26968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26969 (eval "$ac_link") 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } && {
26976 test -z "$ac_c_werror_flag" ||
26977 test ! -s conftest.err
26978 } && test -s conftest$ac_exeext &&
26979 $as_test_x conftest$ac_exeext; then
26980 ac_cv_lib_jpeg_jpeg_read_header=yes
26981 else
26982 echo "$as_me: failed program was:" >&5
26983 sed 's/^/| /' conftest.$ac_ext >&5
26984
26985 ac_cv_lib_jpeg_jpeg_read_header=no
26986 fi
26987
26988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26989 conftest$ac_exeext conftest.$ac_ext
26990 LIBS=$ac_check_lib_save_LIBS
26991 fi
26992 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26993 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26994 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26995 JPEG_LINK=" -ljpeg"
26996 fi
26997
26998 fi
26999
27000 if test "x$JPEG_LINK" = "x" ; then
27001 if test "$wxUSE_LIBJPEG" = "sys" ; then
27002 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27003 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27004 { (exit 1); exit 1; }; }
27005 else
27006 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27007 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27008 wxUSE_LIBJPEG=builtin
27009 fi
27010 else
27011 wxUSE_LIBJPEG=sys
27012
27013 if test "$wxUSE_MSW" = 1; then
27014 { echo "$as_me:$LINENO: checking for boolean" >&5
27015 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27016 if test "${ac_cv_type_boolean+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 else
27019 cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h. */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025 #include <windows.h>
27026
27027 typedef boolean ac__type_new_;
27028 int
27029 main ()
27030 {
27031 if ((ac__type_new_ *) 0)
27032 return 0;
27033 if (sizeof (ac__type_new_))
27034 return 0;
27035 ;
27036 return 0;
27037 }
27038 _ACEOF
27039 rm -f conftest.$ac_objext
27040 if { (ac_try="$ac_compile"
27041 case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27044 esac
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_compile") 2>conftest.er1
27047 ac_status=$?
27048 grep -v '^ *+' conftest.er1 >conftest.err
27049 rm -f conftest.er1
27050 cat conftest.err >&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); } && {
27053 test -z "$ac_c_werror_flag" ||
27054 test ! -s conftest.err
27055 } && test -s conftest.$ac_objext; then
27056 ac_cv_type_boolean=yes
27057 else
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061 ac_cv_type_boolean=no
27062 fi
27063
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 fi
27066 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27067 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27068 if test $ac_cv_type_boolean = yes; then
27069
27070 cat >>confdefs.h <<_ACEOF
27071 #define HAVE_BOOLEAN 1
27072 _ACEOF
27073
27074
27075 { echo "$as_me:$LINENO: checking for boolean" >&5
27076 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27077 if test "${ac_cv_type_boolean+set}" = set; then
27078 echo $ECHO_N "(cached) $ECHO_C" >&6
27079 else
27080 cat >conftest.$ac_ext <<_ACEOF
27081 /* confdefs.h. */
27082 _ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h. */
27086
27087 #undef HAVE_BOOLEAN
27088 #include <stdio.h>
27089 #include <jpeglib.h>
27090
27091
27092 typedef boolean ac__type_new_;
27093 int
27094 main ()
27095 {
27096 if ((ac__type_new_ *) 0)
27097 return 0;
27098 if (sizeof (ac__type_new_))
27099 return 0;
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext
27105 if { (ac_try="$ac_compile"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27109 esac
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_compile") 2>conftest.er1
27112 ac_status=$?
27113 grep -v '^ *+' conftest.er1 >conftest.err
27114 rm -f conftest.er1
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest.$ac_objext; then
27121 ac_cv_type_boolean=yes
27122 else
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27125
27126 ac_cv_type_boolean=no
27127 fi
27128
27129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130 fi
27131 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27132 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27133
27134 # The cast to long int works around a bug in the HP C Compiler
27135 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27136 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27137 # This bug is HP SR number 8606223364.
27138 { echo "$as_me:$LINENO: checking size of boolean" >&5
27139 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27140 if test "${ac_cv_sizeof_boolean+set}" = set; then
27141 echo $ECHO_N "(cached) $ECHO_C" >&6
27142 else
27143 if test "$cross_compiling" = yes; then
27144 # Depending upon the size, compute the lo and hi bounds.
27145 cat >conftest.$ac_ext <<_ACEOF
27146 /* confdefs.h. */
27147 _ACEOF
27148 cat confdefs.h >>conftest.$ac_ext
27149 cat >>conftest.$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27151
27152 #undef HAVE_BOOLEAN
27153 #include <stdio.h>
27154 #include <jpeglib.h>
27155
27156
27157 typedef boolean ac__type_sizeof_;
27158 int
27159 main ()
27160 {
27161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27162 test_array [0] = 0
27163
27164 ;
27165 return 0;
27166 }
27167 _ACEOF
27168 rm -f conftest.$ac_objext
27169 if { (ac_try="$ac_compile"
27170 case "(($ac_try" in
27171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27172 *) ac_try_echo=$ac_try;;
27173 esac
27174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27175 (eval "$ac_compile") 2>conftest.er1
27176 ac_status=$?
27177 grep -v '^ *+' conftest.er1 >conftest.err
27178 rm -f conftest.er1
27179 cat conftest.err >&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } && {
27182 test -z "$ac_c_werror_flag" ||
27183 test ! -s conftest.err
27184 } && test -s conftest.$ac_objext; then
27185 ac_lo=0 ac_mid=0
27186 while :; do
27187 cat >conftest.$ac_ext <<_ACEOF
27188 /* confdefs.h. */
27189 _ACEOF
27190 cat confdefs.h >>conftest.$ac_ext
27191 cat >>conftest.$ac_ext <<_ACEOF
27192 /* end confdefs.h. */
27193
27194 #undef HAVE_BOOLEAN
27195 #include <stdio.h>
27196 #include <jpeglib.h>
27197
27198
27199 typedef boolean ac__type_sizeof_;
27200 int
27201 main ()
27202 {
27203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27204 test_array [0] = 0
27205
27206 ;
27207 return 0;
27208 }
27209 _ACEOF
27210 rm -f conftest.$ac_objext
27211 if { (ac_try="$ac_compile"
27212 case "(($ac_try" in
27213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27214 *) ac_try_echo=$ac_try;;
27215 esac
27216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27217 (eval "$ac_compile") 2>conftest.er1
27218 ac_status=$?
27219 grep -v '^ *+' conftest.er1 >conftest.err
27220 rm -f conftest.er1
27221 cat conftest.err >&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); } && {
27224 test -z "$ac_c_werror_flag" ||
27225 test ! -s conftest.err
27226 } && test -s conftest.$ac_objext; then
27227 ac_hi=$ac_mid; break
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27231
27232 ac_lo=`expr $ac_mid + 1`
27233 if test $ac_lo -le $ac_mid; then
27234 ac_lo= ac_hi=
27235 break
27236 fi
27237 ac_mid=`expr 2 '*' $ac_mid + 1`
27238 fi
27239
27240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27241 done
27242 else
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27245
27246 cat >conftest.$ac_ext <<_ACEOF
27247 /* confdefs.h. */
27248 _ACEOF
27249 cat confdefs.h >>conftest.$ac_ext
27250 cat >>conftest.$ac_ext <<_ACEOF
27251 /* end confdefs.h. */
27252
27253 #undef HAVE_BOOLEAN
27254 #include <stdio.h>
27255 #include <jpeglib.h>
27256
27257
27258 typedef boolean ac__type_sizeof_;
27259 int
27260 main ()
27261 {
27262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27263 test_array [0] = 0
27264
27265 ;
27266 return 0;
27267 }
27268 _ACEOF
27269 rm -f conftest.$ac_objext
27270 if { (ac_try="$ac_compile"
27271 case "(($ac_try" in
27272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27273 *) ac_try_echo=$ac_try;;
27274 esac
27275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27276 (eval "$ac_compile") 2>conftest.er1
27277 ac_status=$?
27278 grep -v '^ *+' conftest.er1 >conftest.err
27279 rm -f conftest.er1
27280 cat conftest.err >&5
27281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27282 (exit $ac_status); } && {
27283 test -z "$ac_c_werror_flag" ||
27284 test ! -s conftest.err
27285 } && test -s conftest.$ac_objext; then
27286 ac_hi=-1 ac_mid=-1
27287 while :; do
27288 cat >conftest.$ac_ext <<_ACEOF
27289 /* confdefs.h. */
27290 _ACEOF
27291 cat confdefs.h >>conftest.$ac_ext
27292 cat >>conftest.$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27294
27295 #undef HAVE_BOOLEAN
27296 #include <stdio.h>
27297 #include <jpeglib.h>
27298
27299
27300 typedef boolean ac__type_sizeof_;
27301 int
27302 main ()
27303 {
27304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27305 test_array [0] = 0
27306
27307 ;
27308 return 0;
27309 }
27310 _ACEOF
27311 rm -f conftest.$ac_objext
27312 if { (ac_try="$ac_compile"
27313 case "(($ac_try" in
27314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27315 *) ac_try_echo=$ac_try;;
27316 esac
27317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27318 (eval "$ac_compile") 2>conftest.er1
27319 ac_status=$?
27320 grep -v '^ *+' conftest.er1 >conftest.err
27321 rm -f conftest.er1
27322 cat conftest.err >&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } && {
27325 test -z "$ac_c_werror_flag" ||
27326 test ! -s conftest.err
27327 } && test -s conftest.$ac_objext; then
27328 ac_lo=$ac_mid; break
27329 else
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.$ac_ext >&5
27332
27333 ac_hi=`expr '(' $ac_mid ')' - 1`
27334 if test $ac_mid -le $ac_hi; then
27335 ac_lo= ac_hi=
27336 break
27337 fi
27338 ac_mid=`expr 2 '*' $ac_mid`
27339 fi
27340
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 done
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 ac_lo= ac_hi=
27348 fi
27349
27350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27351 fi
27352
27353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27354 # Binary search between lo and hi bounds.
27355 while test "x$ac_lo" != "x$ac_hi"; do
27356 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27357 cat >conftest.$ac_ext <<_ACEOF
27358 /* confdefs.h. */
27359 _ACEOF
27360 cat confdefs.h >>conftest.$ac_ext
27361 cat >>conftest.$ac_ext <<_ACEOF
27362 /* end confdefs.h. */
27363
27364 #undef HAVE_BOOLEAN
27365 #include <stdio.h>
27366 #include <jpeglib.h>
27367
27368
27369 typedef boolean ac__type_sizeof_;
27370 int
27371 main ()
27372 {
27373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27374 test_array [0] = 0
27375
27376 ;
27377 return 0;
27378 }
27379 _ACEOF
27380 rm -f conftest.$ac_objext
27381 if { (ac_try="$ac_compile"
27382 case "(($ac_try" in
27383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27384 *) ac_try_echo=$ac_try;;
27385 esac
27386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27387 (eval "$ac_compile") 2>conftest.er1
27388 ac_status=$?
27389 grep -v '^ *+' conftest.er1 >conftest.err
27390 rm -f conftest.er1
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } && {
27394 test -z "$ac_c_werror_flag" ||
27395 test ! -s conftest.err
27396 } && test -s conftest.$ac_objext; then
27397 ac_hi=$ac_mid
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27401
27402 ac_lo=`expr '(' $ac_mid ')' + 1`
27403 fi
27404
27405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27406 done
27407 case $ac_lo in
27408 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27409 '') if test "$ac_cv_type_boolean" = yes; then
27410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27411 See \`config.log' for more details." >&5
27412 echo "$as_me: error: cannot compute sizeof (boolean)
27413 See \`config.log' for more details." >&2;}
27414 { (exit 77); exit 77; }; }
27415 else
27416 ac_cv_sizeof_boolean=0
27417 fi ;;
27418 esac
27419 else
27420 cat >conftest.$ac_ext <<_ACEOF
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426
27427 #undef HAVE_BOOLEAN
27428 #include <stdio.h>
27429 #include <jpeglib.h>
27430
27431
27432 typedef boolean ac__type_sizeof_;
27433 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27434 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27435 #include <stdio.h>
27436 #include <stdlib.h>
27437 int
27438 main ()
27439 {
27440
27441 FILE *f = fopen ("conftest.val", "w");
27442 if (! f)
27443 return 1;
27444 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27445 {
27446 long int i = longval ();
27447 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27448 return 1;
27449 fprintf (f, "%ld\n", i);
27450 }
27451 else
27452 {
27453 unsigned long int i = ulongval ();
27454 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27455 return 1;
27456 fprintf (f, "%lu\n", i);
27457 }
27458 return ferror (f) || fclose (f) != 0;
27459
27460 ;
27461 return 0;
27462 }
27463 _ACEOF
27464 rm -f conftest$ac_exeext
27465 if { (ac_try="$ac_link"
27466 case "(($ac_try" in
27467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27468 *) ac_try_echo=$ac_try;;
27469 esac
27470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27471 (eval "$ac_link") 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27475 { (case "(($ac_try" in
27476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27477 *) ac_try_echo=$ac_try;;
27478 esac
27479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27480 (eval "$ac_try") 2>&5
27481 ac_status=$?
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; }; then
27484 ac_cv_sizeof_boolean=`cat conftest.val`
27485 else
27486 echo "$as_me: program exited with status $ac_status" >&5
27487 echo "$as_me: failed program was:" >&5
27488 sed 's/^/| /' conftest.$ac_ext >&5
27489
27490 ( exit $ac_status )
27491 if test "$ac_cv_type_boolean" = yes; then
27492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27493 See \`config.log' for more details." >&5
27494 echo "$as_me: error: cannot compute sizeof (boolean)
27495 See \`config.log' for more details." >&2;}
27496 { (exit 77); exit 77; }; }
27497 else
27498 ac_cv_sizeof_boolean=0
27499 fi
27500 fi
27501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27502 fi
27503 rm -f conftest.val
27504 fi
27505 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27506 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27507
27508
27509
27510 cat >>confdefs.h <<_ACEOF
27511 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27512 _ACEOF
27513
27514
27515 cat >>confdefs.h <<_ACEOF
27516 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27517 _ACEOF
27518
27519
27520 fi
27521
27522 fi
27523 fi
27524 fi
27525 fi
27526 fi
27527
27528
27529 TIFF_LINK=
27530 TIFF_PREREQ_LINKS=-lm
27531 if test "$wxUSE_LIBTIFF" != "no" ; then
27532 cat >>confdefs.h <<\_ACEOF
27533 #define wxUSE_LIBTIFF 1
27534 _ACEOF
27535
27536
27537 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27538 if test "$wxUSE_LIBJPEG" = "sys"; then
27539 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27540 fi
27541 if test "$wxUSE_ZLIB" = "sys"; then
27542 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27543 fi
27544 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27545 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27546 if test "${ac_cv_header_tiffio_h+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27548 else
27549 cat >conftest.$ac_ext <<_ACEOF
27550 /* confdefs.h. */
27551 _ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555
27556
27557
27558 #include <tiffio.h>
27559 _ACEOF
27560 rm -f conftest.$ac_objext
27561 if { (ac_try="$ac_compile"
27562 case "(($ac_try" in
27563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27564 *) ac_try_echo=$ac_try;;
27565 esac
27566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27567 (eval "$ac_compile") 2>conftest.er1
27568 ac_status=$?
27569 grep -v '^ *+' conftest.er1 >conftest.err
27570 rm -f conftest.er1
27571 cat conftest.err >&5
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); } && {
27574 test -z "$ac_c_werror_flag" ||
27575 test ! -s conftest.err
27576 } && test -s conftest.$ac_objext; then
27577 ac_cv_header_tiffio_h=yes
27578 else
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.$ac_ext >&5
27581
27582 ac_cv_header_tiffio_h=no
27583 fi
27584
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586 fi
27587 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27588 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27589 if test $ac_cv_header_tiffio_h = yes; then
27590
27591 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27592 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27593 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27594 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 else
27596 ac_check_lib_save_LIBS=$LIBS
27597 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27598 cat >conftest.$ac_ext <<_ACEOF
27599 /* confdefs.h. */
27600 _ACEOF
27601 cat confdefs.h >>conftest.$ac_ext
27602 cat >>conftest.$ac_ext <<_ACEOF
27603 /* end confdefs.h. */
27604
27605 /* Override any GCC internal prototype to avoid an error.
27606 Use char because int might match the return type of a GCC
27607 builtin and then its argument prototype would still apply. */
27608 #ifdef __cplusplus
27609 extern "C"
27610 #endif
27611 char TIFFError ();
27612 int
27613 main ()
27614 {
27615 return TIFFError ();
27616 ;
27617 return 0;
27618 }
27619 _ACEOF
27620 rm -f conftest.$ac_objext conftest$ac_exeext
27621 if { (ac_try="$ac_link"
27622 case "(($ac_try" in
27623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27624 *) ac_try_echo=$ac_try;;
27625 esac
27626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27627 (eval "$ac_link") 2>conftest.er1
27628 ac_status=$?
27629 grep -v '^ *+' conftest.er1 >conftest.err
27630 rm -f conftest.er1
27631 cat conftest.err >&5
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); } && {
27634 test -z "$ac_c_werror_flag" ||
27635 test ! -s conftest.err
27636 } && test -s conftest$ac_exeext &&
27637 $as_test_x conftest$ac_exeext; then
27638 ac_cv_lib_tiff_TIFFError=yes
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 ac_cv_lib_tiff_TIFFError=no
27644 fi
27645
27646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27647 conftest$ac_exeext conftest.$ac_ext
27648 LIBS=$ac_check_lib_save_LIBS
27649 fi
27650 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27651 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27652 if test $ac_cv_lib_tiff_TIFFError = yes; then
27653 TIFF_LINK=" -ltiff"
27654 fi
27655
27656
27657 fi
27658
27659
27660
27661 if test "x$TIFF_LINK" = "x" ; then
27662 if test "$wxUSE_LIBTIFF" = "sys" ; then
27663 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27664 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27665 { (exit 1); exit 1; }; }
27666 else
27667 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27668 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27669 wxUSE_LIBTIFF=builtin
27670 fi
27671 else
27672 wxUSE_LIBTIFF=sys
27673 fi
27674 fi
27675 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27676 if test "$wxUSE_LIBJPEG" = "no"; then
27677 ac_configure_args="$ac_configure_args --disable-jpeg"
27678 fi
27679 subdirs="$subdirs src/tiff"
27680
27681 fi
27682 fi
27683
27684
27685 if test "$wxUSE_WCHAR_T" != "yes"; then
27686 if test "$wxUSE_EXPAT" != "no"; then
27687 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27688 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27689 wxUSE_EXPAT=no
27690 fi
27691 if test "$wxUSE_XML" != "no"; then
27692 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27693 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27694 wxUSE_XML=no
27695 fi
27696 fi
27697
27698 if test "$wxUSE_EXPAT" != "no"; then
27699 wxUSE_XML=yes
27700 cat >>confdefs.h <<\_ACEOF
27701 #define wxUSE_EXPAT 1
27702 _ACEOF
27703
27704 cat >>confdefs.h <<\_ACEOF
27705 #define wxUSE_XML 1
27706 _ACEOF
27707
27708
27709 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27710 { echo "$as_me:$LINENO: checking for expat.h" >&5
27711 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27712 if test "${ac_cv_header_expat_h+set}" = set; then
27713 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 else
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h. */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27721
27722
27723 #include <expat.h>
27724 _ACEOF
27725 rm -f conftest.$ac_objext
27726 if { (ac_try="$ac_compile"
27727 case "(($ac_try" in
27728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27730 esac
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_compile") 2>conftest.er1
27733 ac_status=$?
27734 grep -v '^ *+' conftest.er1 >conftest.err
27735 rm -f conftest.er1
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } && {
27739 test -z "$ac_c_werror_flag" ||
27740 test ! -s conftest.err
27741 } && test -s conftest.$ac_objext; then
27742 ac_cv_header_expat_h=yes
27743 else
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.$ac_ext >&5
27746
27747 ac_cv_header_expat_h=no
27748 fi
27749
27750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27751 fi
27752 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27753 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27754 if test $ac_cv_header_expat_h = yes; then
27755 found_expat_h=1
27756 fi
27757
27758
27759 if test "x$found_expat_h" = "x1"; then
27760 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27761 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27762 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27763 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 else
27765
27766 ac_ext=cpp
27767 ac_cpp='$CXXCPP $CPPFLAGS'
27768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27771
27772 cat >conftest.$ac_ext <<_ACEOF
27773 /* confdefs.h. */
27774 _ACEOF
27775 cat confdefs.h >>conftest.$ac_ext
27776 cat >>conftest.$ac_ext <<_ACEOF
27777 /* end confdefs.h. */
27778 #include <expat.h>
27779 int
27780 main ()
27781 {
27782
27783 ;
27784 return 0;
27785 }
27786 _ACEOF
27787 rm -f conftest.$ac_objext
27788 if { (ac_try="$ac_compile"
27789 case "(($ac_try" in
27790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27791 *) ac_try_echo=$ac_try;;
27792 esac
27793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27794 (eval "$ac_compile") 2>conftest.er1
27795 ac_status=$?
27796 grep -v '^ *+' conftest.er1 >conftest.err
27797 rm -f conftest.er1
27798 cat conftest.err >&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } && {
27801 test -z "$ac_cxx_werror_flag" ||
27802 test ! -s conftest.err
27803 } && test -s conftest.$ac_objext; then
27804 wx_cv_expat_is_not_broken=yes
27805 else
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27808
27809 wx_cv_expat_is_not_broken=no
27810
27811 fi
27812
27813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27814 ac_ext=c
27815 ac_cpp='$CPP $CPPFLAGS'
27816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27819
27820
27821
27822 fi
27823 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27824 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27825 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27826 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27827 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27828 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27830 else
27831 ac_check_lib_save_LIBS=$LIBS
27832 LIBS="-lexpat $LIBS"
27833 cat >conftest.$ac_ext <<_ACEOF
27834 /* confdefs.h. */
27835 _ACEOF
27836 cat confdefs.h >>conftest.$ac_ext
27837 cat >>conftest.$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839
27840 /* Override any GCC internal prototype to avoid an error.
27841 Use char because int might match the return type of a GCC
27842 builtin and then its argument prototype would still apply. */
27843 #ifdef __cplusplus
27844 extern "C"
27845 #endif
27846 char XML_ParserCreate ();
27847 int
27848 main ()
27849 {
27850 return XML_ParserCreate ();
27851 ;
27852 return 0;
27853 }
27854 _ACEOF
27855 rm -f conftest.$ac_objext conftest$ac_exeext
27856 if { (ac_try="$ac_link"
27857 case "(($ac_try" in
27858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27859 *) ac_try_echo=$ac_try;;
27860 esac
27861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27862 (eval "$ac_link") 2>conftest.er1
27863 ac_status=$?
27864 grep -v '^ *+' conftest.er1 >conftest.err
27865 rm -f conftest.er1
27866 cat conftest.err >&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); } && {
27869 test -z "$ac_c_werror_flag" ||
27870 test ! -s conftest.err
27871 } && test -s conftest$ac_exeext &&
27872 $as_test_x conftest$ac_exeext; then
27873 ac_cv_lib_expat_XML_ParserCreate=yes
27874 else
27875 echo "$as_me: failed program was:" >&5
27876 sed 's/^/| /' conftest.$ac_ext >&5
27877
27878 ac_cv_lib_expat_XML_ParserCreate=no
27879 fi
27880
27881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27882 conftest$ac_exeext conftest.$ac_ext
27883 LIBS=$ac_check_lib_save_LIBS
27884 fi
27885 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27886 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27887 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27888 EXPAT_LINK=" -lexpat"
27889 fi
27890
27891 fi
27892 fi
27893 if test "x$EXPAT_LINK" = "x" ; then
27894 if test "$wxUSE_EXPAT" = "sys" ; then
27895 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27896 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27897 { (exit 1); exit 1; }; }
27898 else
27899 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27900 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27901 wxUSE_EXPAT=builtin
27902 fi
27903 else
27904 wxUSE_EXPAT=sys
27905 fi
27906 fi
27907 if test "$wxUSE_EXPAT" = "builtin" ; then
27908 subdirs="$subdirs src/expat"
27909
27910 fi
27911 fi
27912
27913
27914
27915 if test "$wxUSE_LIBMSPACK" != "no"; then
27916 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27917 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27918 if test "${ac_cv_header_mspack_h+set}" = set; then
27919 echo $ECHO_N "(cached) $ECHO_C" >&6
27920 else
27921 cat >conftest.$ac_ext <<_ACEOF
27922 /* confdefs.h. */
27923 _ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27927
27928
27929 #include <mspack.h>
27930 _ACEOF
27931 rm -f conftest.$ac_objext
27932 if { (ac_try="$ac_compile"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27936 esac
27937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_compile") 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest.$ac_objext; then
27948 ac_cv_header_mspack_h=yes
27949 else
27950 echo "$as_me: failed program was:" >&5
27951 sed 's/^/| /' conftest.$ac_ext >&5
27952
27953 ac_cv_header_mspack_h=no
27954 fi
27955
27956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27957 fi
27958 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27959 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27960 if test $ac_cv_header_mspack_h = yes; then
27961 found_mspack_h=1
27962 fi
27963
27964
27965 if test "x$found_mspack_h" = "x1"; then
27966 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27967 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27968 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 else
27971 ac_check_lib_save_LIBS=$LIBS
27972 LIBS="-lmspack $LIBS"
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h. */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27979
27980 /* Override any GCC internal prototype to avoid an error.
27981 Use char because int might match the return type of a GCC
27982 builtin and then its argument prototype would still apply. */
27983 #ifdef __cplusplus
27984 extern "C"
27985 #endif
27986 char mspack_create_chm_decompressor ();
27987 int
27988 main ()
27989 {
27990 return mspack_create_chm_decompressor ();
27991 ;
27992 return 0;
27993 }
27994 _ACEOF
27995 rm -f conftest.$ac_objext conftest$ac_exeext
27996 if { (ac_try="$ac_link"
27997 case "(($ac_try" in
27998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27999 *) ac_try_echo=$ac_try;;
28000 esac
28001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28002 (eval "$ac_link") 2>conftest.er1
28003 ac_status=$?
28004 grep -v '^ *+' conftest.er1 >conftest.err
28005 rm -f conftest.er1
28006 cat conftest.err >&5
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && {
28009 test -z "$ac_c_werror_flag" ||
28010 test ! -s conftest.err
28011 } && test -s conftest$ac_exeext &&
28012 $as_test_x conftest$ac_exeext; then
28013 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28014 else
28015 echo "$as_me: failed program was:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28017
28018 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28019 fi
28020
28021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28022 conftest$ac_exeext conftest.$ac_ext
28023 LIBS=$ac_check_lib_save_LIBS
28024 fi
28025 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28026 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28027 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28028 MSPACK_LINK=" -lmspack"
28029 fi
28030
28031 fi
28032 if test "x$MSPACK_LINK" = "x" ; then
28033 wxUSE_LIBMSPACK=no
28034 fi
28035 fi
28036
28037 if test "$wxUSE_LIBMSPACK" != "no"; then
28038 cat >>confdefs.h <<\_ACEOF
28039 #define wxUSE_LIBMSPACK 1
28040 _ACEOF
28041
28042 fi
28043
28044
28045
28046 AFMINSTALL=
28047 WIN32INSTALL=
28048
28049 TOOLKIT=
28050 TOOLKIT_INCLUDE=
28051 WIDGET_SET=
28052
28053 if test "$USE_WIN32" = 1 ; then
28054
28055 for ac_header in w32api.h
28056 do
28057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28061 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 else
28063 cat >conftest.$ac_ext <<_ACEOF
28064 /* confdefs.h. */
28065 _ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069
28070
28071 #include <$ac_header>
28072 _ACEOF
28073 rm -f conftest.$ac_objext
28074 if { (ac_try="$ac_compile"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_compile") 2>conftest.er1
28081 ac_status=$?
28082 grep -v '^ *+' conftest.er1 >conftest.err
28083 rm -f conftest.er1
28084 cat conftest.err >&5
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } && {
28087 test -z "$ac_c_werror_flag" ||
28088 test ! -s conftest.err
28089 } && test -s conftest.$ac_objext; then
28090 eval "$as_ac_Header=yes"
28091 else
28092 echo "$as_me: failed program was:" >&5
28093 sed 's/^/| /' conftest.$ac_ext >&5
28094
28095 eval "$as_ac_Header=no"
28096 fi
28097
28098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28099 fi
28100 ac_res=`eval echo '${'$as_ac_Header'}'`
28101 { echo "$as_me:$LINENO: result: $ac_res" >&5
28102 echo "${ECHO_T}$ac_res" >&6; }
28103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28106 _ACEOF
28107
28108 fi
28109
28110 done
28111
28112 { echo "$as_me:$LINENO: checking for windows.h" >&5
28113 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28114 if test "${ac_cv_header_windows_h+set}" = set; then
28115 echo $ECHO_N "(cached) $ECHO_C" >&6
28116 else
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123
28124
28125 #include <windows.h>
28126 _ACEOF
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28132 esac
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28135 ac_status=$?
28136 grep -v '^ *+' conftest.er1 >conftest.err
28137 rm -f conftest.er1
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } && {
28141 test -z "$ac_c_werror_flag" ||
28142 test ! -s conftest.err
28143 } && test -s conftest.$ac_objext; then
28144 ac_cv_header_windows_h=yes
28145 else
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 ac_cv_header_windows_h=no
28150 fi
28151
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 fi
28154 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28155 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28156 if test $ac_cv_header_windows_h = yes; then
28157 :
28158 else
28159
28160 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28161 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28162 { (exit 1); exit 1; }; }
28163
28164 fi
28165
28166
28167
28168 case "${host}" in
28169 x86_64-*-mingw32* )
28170 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28171 ;;
28172 * )
28173 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28174 ;;
28175 esac
28176 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28177 LIBS="$LIBS -loleacc"
28178 fi
28179
28180 case "${host}" in
28181 *-*-cygwin* )
28182 LIBS="$LIBS -lkernel32 -luser32"
28183 esac
28184
28185 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28186 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28187
28188 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28189
28190 WIN32INSTALL=win32install
28191
28192 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28193 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28194 if test "${ac_cv_header_pbt_h+set}" = set; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 cat >conftest.$ac_ext <<_ACEOF
28198 /* confdefs.h. */
28199 _ACEOF
28200 cat confdefs.h >>conftest.$ac_ext
28201 cat >>conftest.$ac_ext <<_ACEOF
28202 /* end confdefs.h. */
28203
28204
28205 #include <pbt.h>
28206 _ACEOF
28207 rm -f conftest.$ac_objext
28208 if { (ac_try="$ac_compile"
28209 case "(($ac_try" in
28210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28211 *) ac_try_echo=$ac_try;;
28212 esac
28213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28214 (eval "$ac_compile") 2>conftest.er1
28215 ac_status=$?
28216 grep -v '^ *+' conftest.er1 >conftest.err
28217 rm -f conftest.er1
28218 cat conftest.err >&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); } && {
28221 test -z "$ac_c_werror_flag" ||
28222 test ! -s conftest.err
28223 } && test -s conftest.$ac_objext; then
28224 ac_cv_header_pbt_h=yes
28225 else
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.$ac_ext >&5
28228
28229 ac_cv_header_pbt_h=no
28230 fi
28231
28232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28233 fi
28234 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28235 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28236 if test $ac_cv_header_pbt_h = yes; then
28237 :
28238 else
28239 cat >>confdefs.h <<\_ACEOF
28240 #define NEED_PBT_H 1
28241 _ACEOF
28242
28243 fi
28244
28245
28246 fi
28247
28248 if test "$wxUSE_GUI" = "yes"; then
28249 USE_GUI=1
28250
28251 GUI_TK_LIBRARY=
28252
28253 WXGTK12=
28254 WXGTK127=
28255 WXGTK2=
28256 WXGPE=
28257
28258 if test "$wxUSE_COCOA" = 1 ; then
28259 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28260 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28261 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28262 wxUSE_PRINTING_ARCHITECTURE=no
28263 fi
28264 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28265 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28266 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28267 wxUSE_DRAG_AND_DROP=no
28268 fi
28269 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28270 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28271 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28272 wxUSE_DRAGIMAGE=no
28273 fi
28274 fi
28275
28276 if test "$wxUSE_MSW" = 1 ; then
28277 TOOLKIT=MSW
28278 GUIDIST=MSW_DIST
28279
28280 case "${host}" in
28281 *-*-mingw32* )
28282 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28283 esac
28284 fi
28285
28286 if test "$wxUSE_GTK" = 1; then
28287 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28288 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28289
28290 gtk_version_cached=1
28291 if test "${wx_cv_lib_gtk+set}" = set; then
28292 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 else
28294
28295 gtk_version_cached=0
28296 { echo "$as_me:$LINENO: result: " >&5
28297 echo "${ECHO_T}" >&6; }
28298
28299 GTK_MODULES=
28300 if test "$wxUSE_THREADS" = "yes"; then
28301 GTK_MODULES=gthread
28302 fi
28303
28304 wx_cv_lib_gtk=
28305 if test "x$wxGTK_VERSION" != "x1"
28306 then
28307 case "${host}" in
28308 *-*-solaris2* )
28309 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28310 enable_gtktest=no
28311 fi
28312 esac
28313
28314 # Check whether --enable-gtktest was given.
28315 if test "${enable_gtktest+set}" = set; then
28316 enableval=$enable_gtktest;
28317 else
28318 enable_gtktest=yes
28319 fi
28320
28321
28322 pkg_config_args=gtk+-2.0
28323 for module in . $GTK_MODULES
28324 do
28325 case "$module" in
28326 gthread)
28327 pkg_config_args="$pkg_config_args gthread-2.0"
28328 ;;
28329 esac
28330 done
28331
28332 no_gtk=""
28333
28334 # Extract the first word of "pkg-config", so it can be a program name with args.
28335 set dummy pkg-config; ac_word=$2
28336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28338 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28339 echo $ECHO_N "(cached) $ECHO_C" >&6
28340 else
28341 case $PKG_CONFIG in
28342 [\\/]* | ?:[\\/]*)
28343 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28344 ;;
28345 *)
28346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28347 for as_dir in $PATH
28348 do
28349 IFS=$as_save_IFS
28350 test -z "$as_dir" && as_dir=.
28351 for ac_exec_ext in '' $ac_executable_extensions; do
28352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28353 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28355 break 2
28356 fi
28357 done
28358 done
28359 IFS=$as_save_IFS
28360
28361 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28362 ;;
28363 esac
28364 fi
28365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28366 if test -n "$PKG_CONFIG"; then
28367 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28368 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28369 else
28370 { echo "$as_me:$LINENO: result: no" >&5
28371 echo "${ECHO_T}no" >&6; }
28372 fi
28373
28374
28375
28376 if test x$PKG_CONFIG != xno ; then
28377 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28378 :
28379 else
28380 echo "*** pkg-config too old; version 0.7 or better required."
28381 no_gtk=yes
28382 PKG_CONFIG=no
28383 fi
28384 else
28385 no_gtk=yes
28386 fi
28387
28388 min_gtk_version=2.4.0
28389 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28390 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28391
28392 if test x$PKG_CONFIG != xno ; then
28393 ## don't try to run the test against uninstalled libtool libs
28394 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28395 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28396 enable_gtktest=no
28397 fi
28398
28399 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28400 :
28401 else
28402 no_gtk=yes
28403 fi
28404 fi
28405
28406 if test x"$no_gtk" = x ; then
28407 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28408 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28409 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28411 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28412 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28413 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28414 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28415 if test "x$enable_gtktest" = "xyes" ; then
28416 ac_save_CFLAGS="$CFLAGS"
28417 ac_save_LIBS="$LIBS"
28418 CFLAGS="$CFLAGS $GTK_CFLAGS"
28419 LIBS="$GTK_LIBS $LIBS"
28420 rm -f conf.gtktest
28421 if test "$cross_compiling" = yes; then
28422 echo $ac_n "cross compiling; assumed OK... $ac_c"
28423 else
28424 cat >conftest.$ac_ext <<_ACEOF
28425 /* confdefs.h. */
28426 _ACEOF
28427 cat confdefs.h >>conftest.$ac_ext
28428 cat >>conftest.$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430
28431 #include <gtk/gtk.h>
28432 #include <stdio.h>
28433 #include <stdlib.h>
28434
28435 int
28436 main ()
28437 {
28438 int major, minor, micro;
28439 char *tmp_version;
28440
28441 system ("touch conf.gtktest");
28442
28443 /* HP/UX 9 (%@#!) writes to sscanf strings */
28444 tmp_version = g_strdup("$min_gtk_version");
28445 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28446 printf("%s, bad version string\n", "$min_gtk_version");
28447 exit(1);
28448 }
28449
28450 if ((gtk_major_version != $gtk_config_major_version) ||
28451 (gtk_minor_version != $gtk_config_minor_version) ||
28452 (gtk_micro_version != $gtk_config_micro_version))
28453 {
28454 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28455 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28456 gtk_major_version, gtk_minor_version, gtk_micro_version);
28457 printf ("*** was found! If pkg-config was correct, then it is best\n");
28458 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28459 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28460 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28461 printf("*** required on your system.\n");
28462 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28463 printf("*** to point to the correct configuration files\n");
28464 }
28465 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28466 (gtk_minor_version != GTK_MINOR_VERSION) ||
28467 (gtk_micro_version != GTK_MICRO_VERSION))
28468 {
28469 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28470 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28471 printf("*** library (version %d.%d.%d)\n",
28472 gtk_major_version, gtk_minor_version, gtk_micro_version);
28473 }
28474 else
28475 {
28476 if ((gtk_major_version > major) ||
28477 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28478 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28479 {
28480 return 0;
28481 }
28482 else
28483 {
28484 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28485 gtk_major_version, gtk_minor_version, gtk_micro_version);
28486 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28487 major, minor, micro);
28488 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28489 printf("***\n");
28490 printf("*** If you have already installed a sufficiently new version, this error\n");
28491 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28492 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28493 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28494 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28495 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28496 printf("*** so that the correct libraries are found at run-time))\n");
28497 }
28498 }
28499 return 1;
28500 }
28501
28502 _ACEOF
28503 rm -f conftest$ac_exeext
28504 if { (ac_try="$ac_link"
28505 case "(($ac_try" in
28506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28507 *) ac_try_echo=$ac_try;;
28508 esac
28509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28510 (eval "$ac_link") 2>&5
28511 ac_status=$?
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28514 { (case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28517 esac
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_try") 2>&5
28520 ac_status=$?
28521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522 (exit $ac_status); }; }; then
28523 :
28524 else
28525 echo "$as_me: program exited with status $ac_status" >&5
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28528
28529 ( exit $ac_status )
28530 no_gtk=yes
28531 fi
28532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28533 fi
28534
28535
28536 CFLAGS="$ac_save_CFLAGS"
28537 LIBS="$ac_save_LIBS"
28538 fi
28539 fi
28540 if test "x$no_gtk" = x ; then
28541 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28542 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28543 wx_cv_lib_gtk=2.0
28544 else
28545 { echo "$as_me:$LINENO: result: no" >&5
28546 echo "${ECHO_T}no" >&6; }
28547 if test "$PKG_CONFIG" = "no" ; then
28548 echo "*** A new enough version of pkg-config was not found."
28549 echo "*** See http://pkgconfig.sourceforge.net"
28550 else
28551 if test -f conf.gtktest ; then
28552 :
28553 else
28554 echo "*** Could not run GTK+ test program, checking why..."
28555 ac_save_CFLAGS="$CFLAGS"
28556 ac_save_LIBS="$LIBS"
28557 CFLAGS="$CFLAGS $GTK_CFLAGS"
28558 LIBS="$LIBS $GTK_LIBS"
28559 cat >conftest.$ac_ext <<_ACEOF
28560 /* confdefs.h. */
28561 _ACEOF
28562 cat confdefs.h >>conftest.$ac_ext
28563 cat >>conftest.$ac_ext <<_ACEOF
28564 /* end confdefs.h. */
28565
28566 #include <gtk/gtk.h>
28567 #include <stdio.h>
28568
28569 int
28570 main ()
28571 {
28572 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28573 ;
28574 return 0;
28575 }
28576 _ACEOF
28577 rm -f conftest.$ac_objext conftest$ac_exeext
28578 if { (ac_try="$ac_link"
28579 case "(($ac_try" in
28580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28581 *) ac_try_echo=$ac_try;;
28582 esac
28583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28584 (eval "$ac_link") 2>conftest.er1
28585 ac_status=$?
28586 grep -v '^ *+' conftest.er1 >conftest.err
28587 rm -f conftest.er1
28588 cat conftest.err >&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); } && {
28591 test -z "$ac_c_werror_flag" ||
28592 test ! -s conftest.err
28593 } && test -s conftest$ac_exeext &&
28594 $as_test_x conftest$ac_exeext; then
28595 echo "*** The test program compiled, but did not run. This usually means"
28596 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28597 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28598 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28599 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28600 echo "*** is required on your system"
28601 echo "***"
28602 echo "*** If you have an old version installed, it is best to remove it, although"
28603 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28607
28608 echo "*** The test program failed to compile or link. See the file config.log for the"
28609 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28610 fi
28611
28612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28613 conftest$ac_exeext conftest.$ac_ext
28614 CFLAGS="$ac_save_CFLAGS"
28615 LIBS="$ac_save_LIBS"
28616 fi
28617 fi
28618 GTK_CFLAGS=""
28619 GTK_LIBS=""
28620 :
28621 fi
28622
28623
28624 rm -f conf.gtktest
28625
28626
28627 case "${host}" in
28628 *-*-solaris2* )
28629 if test "$wxUSE_SHARED" != "yes"; then
28630 GTK_LIBS="$GTK_LIBS -lX11"
28631 fi
28632 esac
28633 fi
28634
28635 if test -z "$wx_cv_lib_gtk"; then
28636 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28637
28638 # Check whether --with-gtk-prefix was given.
28639 if test "${with_gtk_prefix+set}" = set; then
28640 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28641 else
28642 gtk_config_prefix=""
28643 fi
28644
28645
28646 # Check whether --with-gtk-exec-prefix was given.
28647 if test "${with_gtk_exec_prefix+set}" = set; then
28648 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28649 else
28650 gtk_config_exec_prefix=""
28651 fi
28652
28653 # Check whether --enable-gtktest was given.
28654 if test "${enable_gtktest+set}" = set; then
28655 enableval=$enable_gtktest;
28656 else
28657 enable_gtktest=yes
28658 fi
28659
28660
28661 for module in . $GTK_MODULES
28662 do
28663 case "$module" in
28664 gthread)
28665 gtk_config_args="$gtk_config_args gthread"
28666 ;;
28667 esac
28668 done
28669
28670 if test x$gtk_config_exec_prefix != x ; then
28671 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28672 if test x${GTK_CONFIG+set} != xset ; then
28673 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28674 fi
28675 fi
28676 if test x$gtk_config_prefix != x ; then
28677 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28678 if test x${GTK_CONFIG+set} != xset ; then
28679 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28680 fi
28681 fi
28682
28683 # Extract the first word of "gtk-config", so it can be a program name with args.
28684 set dummy gtk-config; ac_word=$2
28685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28687 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28688 echo $ECHO_N "(cached) $ECHO_C" >&6
28689 else
28690 case $GTK_CONFIG in
28691 [\\/]* | ?:[\\/]*)
28692 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28693 ;;
28694 *)
28695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28696 for as_dir in $PATH
28697 do
28698 IFS=$as_save_IFS
28699 test -z "$as_dir" && as_dir=.
28700 for ac_exec_ext in '' $ac_executable_extensions; do
28701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28702 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28704 break 2
28705 fi
28706 done
28707 done
28708 IFS=$as_save_IFS
28709
28710 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28711 ;;
28712 esac
28713 fi
28714 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28715 if test -n "$GTK_CONFIG"; then
28716 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28717 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28718 else
28719 { echo "$as_me:$LINENO: result: no" >&5
28720 echo "${ECHO_T}no" >&6; }
28721 fi
28722
28723
28724 min_gtk_version=1.2.7
28725 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28726 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28727 no_gtk=""
28728 if test "$GTK_CONFIG" = "no" ; then
28729 no_gtk=yes
28730 else
28731 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28732 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28733 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28735 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28737 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28739 if test "x$enable_gtktest" = "xyes" ; then
28740 ac_save_CFLAGS="$CFLAGS"
28741 ac_save_LIBS="$LIBS"
28742 CFLAGS="$CFLAGS $GTK_CFLAGS"
28743 LIBS="$GTK_LIBS $LIBS"
28744 rm -f conf.gtktest
28745 if test "$cross_compiling" = yes; then
28746 echo $ac_n "cross compiling; assumed OK... $ac_c"
28747 else
28748 cat >conftest.$ac_ext <<_ACEOF
28749 /* confdefs.h. */
28750 _ACEOF
28751 cat confdefs.h >>conftest.$ac_ext
28752 cat >>conftest.$ac_ext <<_ACEOF
28753 /* end confdefs.h. */
28754
28755 #include <gtk/gtk.h>
28756 #include <stdio.h>
28757 #include <stdlib.h>
28758
28759 int
28760 main ()
28761 {
28762 int major, minor, micro;
28763 char *tmp_version;
28764
28765 system ("touch conf.gtktest");
28766
28767 /* HP/UX 9 (%@#!) writes to sscanf strings */
28768 tmp_version = g_strdup("$min_gtk_version");
28769 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28770 printf("%s, bad version string\n", "$min_gtk_version");
28771 exit(1);
28772 }
28773
28774 if ((gtk_major_version != $gtk_config_major_version) ||
28775 (gtk_minor_version != $gtk_config_minor_version) ||
28776 (gtk_micro_version != $gtk_config_micro_version))
28777 {
28778 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28779 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28780 gtk_major_version, gtk_minor_version, gtk_micro_version);
28781 printf ("*** was found! If gtk-config was correct, then it is best\n");
28782 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28783 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28784 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28785 printf("*** required on your system.\n");
28786 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28787 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28788 printf("*** before re-running configure\n");
28789 }
28790 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28791 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28792 (gtk_minor_version != GTK_MINOR_VERSION) ||
28793 (gtk_micro_version != GTK_MICRO_VERSION))
28794 {
28795 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28796 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28797 printf("*** library (version %d.%d.%d)\n",
28798 gtk_major_version, gtk_minor_version, gtk_micro_version);
28799 }
28800 #endif /* defined (GTK_MAJOR_VERSION) ... */
28801 else
28802 {
28803 if ((gtk_major_version > major) ||
28804 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28805 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28806 {
28807 return 0;
28808 }
28809 else
28810 {
28811 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28812 gtk_major_version, gtk_minor_version, gtk_micro_version);
28813 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28814 major, minor, micro);
28815 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28816 printf("***\n");
28817 printf("*** If you have already installed a sufficiently new version, this error\n");
28818 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28819 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28820 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28821 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28822 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28823 printf("*** so that the correct libraries are found at run-time))\n");
28824 }
28825 }
28826 return 1;
28827 }
28828
28829 _ACEOF
28830 rm -f conftest$ac_exeext
28831 if { (ac_try="$ac_link"
28832 case "(($ac_try" in
28833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28834 *) ac_try_echo=$ac_try;;
28835 esac
28836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28837 (eval "$ac_link") 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28841 { (case "(($ac_try" in
28842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28843 *) ac_try_echo=$ac_try;;
28844 esac
28845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28846 (eval "$ac_try") 2>&5
28847 ac_status=$?
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; }; then
28850 :
28851 else
28852 echo "$as_me: program exited with status $ac_status" >&5
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 ( exit $ac_status )
28857 no_gtk=yes
28858 fi
28859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28860 fi
28861
28862
28863 CFLAGS="$ac_save_CFLAGS"
28864 LIBS="$ac_save_LIBS"
28865 fi
28866 fi
28867 if test "x$no_gtk" = x ; then
28868 { echo "$as_me:$LINENO: result: yes" >&5
28869 echo "${ECHO_T}yes" >&6; }
28870 wx_cv_lib_gtk=1.2.7
28871 else
28872 { echo "$as_me:$LINENO: result: no" >&5
28873 echo "${ECHO_T}no" >&6; }
28874 if test "$GTK_CONFIG" = "no" ; then
28875 echo "*** The gtk-config script installed by GTK could not be found"
28876 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28877 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28878 echo "*** full path to gtk-config."
28879 else
28880 if test -f conf.gtktest ; then
28881 :
28882 else
28883 echo "*** Could not run GTK test program, checking why..."
28884 CFLAGS="$CFLAGS $GTK_CFLAGS"
28885 LIBS="$LIBS $GTK_LIBS"
28886 cat >conftest.$ac_ext <<_ACEOF
28887 /* confdefs.h. */
28888 _ACEOF
28889 cat confdefs.h >>conftest.$ac_ext
28890 cat >>conftest.$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892
28893 #include <gtk/gtk.h>
28894 #include <stdio.h>
28895
28896 int
28897 main ()
28898 {
28899 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28900 ;
28901 return 0;
28902 }
28903 _ACEOF
28904 rm -f conftest.$ac_objext conftest$ac_exeext
28905 if { (ac_try="$ac_link"
28906 case "(($ac_try" in
28907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28908 *) ac_try_echo=$ac_try;;
28909 esac
28910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28911 (eval "$ac_link") 2>conftest.er1
28912 ac_status=$?
28913 grep -v '^ *+' conftest.er1 >conftest.err
28914 rm -f conftest.er1
28915 cat conftest.err >&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } && {
28918 test -z "$ac_c_werror_flag" ||
28919 test ! -s conftest.err
28920 } && test -s conftest$ac_exeext &&
28921 $as_test_x conftest$ac_exeext; then
28922 echo "*** The test program compiled, but did not run. This usually means"
28923 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28924 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28925 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28926 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28927 echo "*** is required on your system"
28928 echo "***"
28929 echo "*** If you have an old version installed, it is best to remove it, although"
28930 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28931 echo "***"
28932 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28933 echo "*** came with the system with the command"
28934 echo "***"
28935 echo "*** rpm --erase --nodeps gtk gtk-devel"
28936 else
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 echo "*** The test program failed to compile or link. See the file config.log for the"
28941 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28942 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28943 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28944 fi
28945
28946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28947 conftest$ac_exeext conftest.$ac_ext
28948 CFLAGS="$ac_save_CFLAGS"
28949 LIBS="$ac_save_LIBS"
28950 fi
28951 fi
28952 GTK_CFLAGS=""
28953 GTK_LIBS=""
28954 :
28955 fi
28956
28957
28958 rm -f conf.gtktest
28959
28960
28961 if test -z "$wx_cv_lib_gtk"; then
28962
28963 # Check whether --with-gtk-prefix was given.
28964 if test "${with_gtk_prefix+set}" = set; then
28965 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28966 else
28967 gtk_config_prefix=""
28968 fi
28969
28970
28971 # Check whether --with-gtk-exec-prefix was given.
28972 if test "${with_gtk_exec_prefix+set}" = set; then
28973 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28974 else
28975 gtk_config_exec_prefix=""
28976 fi
28977
28978 # Check whether --enable-gtktest was given.
28979 if test "${enable_gtktest+set}" = set; then
28980 enableval=$enable_gtktest;
28981 else
28982 enable_gtktest=yes
28983 fi
28984
28985
28986 for module in . $GTK_MODULES
28987 do
28988 case "$module" in
28989 gthread)
28990 gtk_config_args="$gtk_config_args gthread"
28991 ;;
28992 esac
28993 done
28994
28995 if test x$gtk_config_exec_prefix != x ; then
28996 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28997 if test x${GTK_CONFIG+set} != xset ; then
28998 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28999 fi
29000 fi
29001 if test x$gtk_config_prefix != x ; then
29002 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29003 if test x${GTK_CONFIG+set} != xset ; then
29004 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29005 fi
29006 fi
29007
29008 # Extract the first word of "gtk-config", so it can be a program name with args.
29009 set dummy gtk-config; ac_word=$2
29010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29013 echo $ECHO_N "(cached) $ECHO_C" >&6
29014 else
29015 case $GTK_CONFIG in
29016 [\\/]* | ?:[\\/]*)
29017 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29018 ;;
29019 *)
29020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29021 for as_dir in $PATH
29022 do
29023 IFS=$as_save_IFS
29024 test -z "$as_dir" && as_dir=.
29025 for ac_exec_ext in '' $ac_executable_extensions; do
29026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29027 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29029 break 2
29030 fi
29031 done
29032 done
29033 IFS=$as_save_IFS
29034
29035 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29036 ;;
29037 esac
29038 fi
29039 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29040 if test -n "$GTK_CONFIG"; then
29041 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29042 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29043 else
29044 { echo "$as_me:$LINENO: result: no" >&5
29045 echo "${ECHO_T}no" >&6; }
29046 fi
29047
29048
29049 min_gtk_version=1.2.3
29050 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29051 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29052 no_gtk=""
29053 if test "$GTK_CONFIG" = "no" ; then
29054 no_gtk=yes
29055 else
29056 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29057 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29058 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29060 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29062 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29064 if test "x$enable_gtktest" = "xyes" ; then
29065 ac_save_CFLAGS="$CFLAGS"
29066 ac_save_LIBS="$LIBS"
29067 CFLAGS="$CFLAGS $GTK_CFLAGS"
29068 LIBS="$GTK_LIBS $LIBS"
29069 rm -f conf.gtktest
29070 if test "$cross_compiling" = yes; then
29071 echo $ac_n "cross compiling; assumed OK... $ac_c"
29072 else
29073 cat >conftest.$ac_ext <<_ACEOF
29074 /* confdefs.h. */
29075 _ACEOF
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29079
29080 #include <gtk/gtk.h>
29081 #include <stdio.h>
29082 #include <stdlib.h>
29083
29084 int
29085 main ()
29086 {
29087 int major, minor, micro;
29088 char *tmp_version;
29089
29090 system ("touch conf.gtktest");
29091
29092 /* HP/UX 9 (%@#!) writes to sscanf strings */
29093 tmp_version = g_strdup("$min_gtk_version");
29094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29095 printf("%s, bad version string\n", "$min_gtk_version");
29096 exit(1);
29097 }
29098
29099 if ((gtk_major_version != $gtk_config_major_version) ||
29100 (gtk_minor_version != $gtk_config_minor_version) ||
29101 (gtk_micro_version != $gtk_config_micro_version))
29102 {
29103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29105 gtk_major_version, gtk_minor_version, gtk_micro_version);
29106 printf ("*** was found! If gtk-config was correct, then it is best\n");
29107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29108 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29110 printf("*** required on your system.\n");
29111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29113 printf("*** before re-running configure\n");
29114 }
29115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29117 (gtk_minor_version != GTK_MINOR_VERSION) ||
29118 (gtk_micro_version != GTK_MICRO_VERSION))
29119 {
29120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29122 printf("*** library (version %d.%d.%d)\n",
29123 gtk_major_version, gtk_minor_version, gtk_micro_version);
29124 }
29125 #endif /* defined (GTK_MAJOR_VERSION) ... */
29126 else
29127 {
29128 if ((gtk_major_version > major) ||
29129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29131 {
29132 return 0;
29133 }
29134 else
29135 {
29136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29137 gtk_major_version, gtk_minor_version, gtk_micro_version);
29138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29139 major, minor, micro);
29140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29141 printf("***\n");
29142 printf("*** If you have already installed a sufficiently new version, this error\n");
29143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29147 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29148 printf("*** so that the correct libraries are found at run-time))\n");
29149 }
29150 }
29151 return 1;
29152 }
29153
29154 _ACEOF
29155 rm -f conftest$ac_exeext
29156 if { (ac_try="$ac_link"
29157 case "(($ac_try" in
29158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29159 *) ac_try_echo=$ac_try;;
29160 esac
29161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29162 (eval "$ac_link") 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29166 { (case "(($ac_try" in
29167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29168 *) ac_try_echo=$ac_try;;
29169 esac
29170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29171 (eval "$ac_try") 2>&5
29172 ac_status=$?
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175 :
29176 else
29177 echo "$as_me: program exited with status $ac_status" >&5
29178 echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.$ac_ext >&5
29180
29181 ( exit $ac_status )
29182 no_gtk=yes
29183 fi
29184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29185 fi
29186
29187
29188 CFLAGS="$ac_save_CFLAGS"
29189 LIBS="$ac_save_LIBS"
29190 fi
29191 fi
29192 if test "x$no_gtk" = x ; then
29193 { echo "$as_me:$LINENO: result: yes" >&5
29194 echo "${ECHO_T}yes" >&6; }
29195 wx_cv_lib_gtk=1.2.3
29196 else
29197 { echo "$as_me:$LINENO: result: no" >&5
29198 echo "${ECHO_T}no" >&6; }
29199 if test "$GTK_CONFIG" = "no" ; then
29200 echo "*** The gtk-config script installed by GTK could not be found"
29201 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29202 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29203 echo "*** full path to gtk-config."
29204 else
29205 if test -f conf.gtktest ; then
29206 :
29207 else
29208 echo "*** Could not run GTK test program, checking why..."
29209 CFLAGS="$CFLAGS $GTK_CFLAGS"
29210 LIBS="$LIBS $GTK_LIBS"
29211 cat >conftest.$ac_ext <<_ACEOF
29212 /* confdefs.h. */
29213 _ACEOF
29214 cat confdefs.h >>conftest.$ac_ext
29215 cat >>conftest.$ac_ext <<_ACEOF
29216 /* end confdefs.h. */
29217
29218 #include <gtk/gtk.h>
29219 #include <stdio.h>
29220
29221 int
29222 main ()
29223 {
29224 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29225 ;
29226 return 0;
29227 }
29228 _ACEOF
29229 rm -f conftest.$ac_objext conftest$ac_exeext
29230 if { (ac_try="$ac_link"
29231 case "(($ac_try" in
29232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29234 esac
29235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_link") 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } && {
29243 test -z "$ac_c_werror_flag" ||
29244 test ! -s conftest.err
29245 } && test -s conftest$ac_exeext &&
29246 $as_test_x conftest$ac_exeext; then
29247 echo "*** The test program compiled, but did not run. This usually means"
29248 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29249 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29250 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29251 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29252 echo "*** is required on your system"
29253 echo "***"
29254 echo "*** If you have an old version installed, it is best to remove it, although"
29255 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29256 echo "***"
29257 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29258 echo "*** came with the system with the command"
29259 echo "***"
29260 echo "*** rpm --erase --nodeps gtk gtk-devel"
29261 else
29262 echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265 echo "*** The test program failed to compile or link. See the file config.log for the"
29266 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29267 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29268 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29269 fi
29270
29271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29272 conftest$ac_exeext conftest.$ac_ext
29273 CFLAGS="$ac_save_CFLAGS"
29274 LIBS="$ac_save_LIBS"
29275 fi
29276 fi
29277 GTK_CFLAGS=""
29278 GTK_LIBS=""
29279 :
29280 fi
29281
29282
29283 rm -f conf.gtktest
29284
29285 fi
29286 fi
29287 fi
29288
29289 if test -z "$wx_cv_lib_gtk"; then
29290 wx_cv_lib_gtk=none
29291 else
29292 wx_cv_cflags_gtk=$GTK_CFLAGS
29293 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29294 fi
29295
29296
29297 fi
29298
29299
29300 if test "$gtk_version_cached" = 1; then
29301 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29302 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29303 fi
29304
29305 case "$wx_cv_lib_gtk" in
29306 2.0) WXGTK2=1
29307 TOOLKIT_VERSION=2
29308 ;;
29309 1.2.7) WXGTK127=1
29310 WXGTK12=1
29311 ;;
29312 1.2.3) WXGTK12=1
29313 ;;
29314 *) { { echo "$as_me:$LINENO: error:
29315 The development files for GTK+ were not found. For GTK+ 2, please
29316 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29317 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29318 and that the version is 1.2.3 or above. Also check that the
29319 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29320 --libs' are in the LD_LIBRARY_PATH or equivalent.
29321 " >&5
29322 echo "$as_me: error:
29323 The development files for GTK+ were not found. For GTK+ 2, please
29324 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29325 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29326 and that the version is 1.2.3 or above. Also check that the
29327 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29328 --libs' are in the LD_LIBRARY_PATH or equivalent.
29329 " >&2;}
29330 { (exit 1); exit 1; }; }
29331 ;;
29332 esac
29333
29334 if test "$WXGTK2" = 1; then
29335 save_CFLAGS="$CFLAGS"
29336 save_LIBS="$LIBS"
29337 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29338 LIBS="$LIBS $wx_cv_libs_gtk"
29339
29340 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29341 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348
29349 #include <gtk/gtk.h>
29350
29351 int
29352 main ()
29353 {
29354
29355 #if !GTK_CHECK_VERSION(2,10,0)
29356 Not GTK+ 2.10
29357 #endif
29358
29359 ;
29360 return 0;
29361 }
29362 _ACEOF
29363 rm -f conftest.$ac_objext
29364 if { (ac_try="$ac_compile"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29367 *) ac_try_echo=$ac_try;;
29368 esac
29369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_compile") 2>conftest.er1
29371 ac_status=$?
29372 grep -v '^ *+' conftest.er1 >conftest.err
29373 rm -f conftest.er1
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest.$ac_objext; then
29380
29381 cat >>confdefs.h <<\_ACEOF
29382 #define __WXGTK210__ 1
29383 _ACEOF
29384
29385 cat >>confdefs.h <<\_ACEOF
29386 #define __WXGTK26__ 1
29387 _ACEOF
29388
29389 { echo "$as_me:$LINENO: result: yes" >&5
29390 echo "${ECHO_T}yes" >&6; }
29391 ac_wxgtk210=1
29392
29393 else
29394 echo "$as_me: failed program was:" >&5
29395 sed 's/^/| /' conftest.$ac_ext >&5
29396
29397
29398 { echo "$as_me:$LINENO: result: no" >&5
29399 echo "${ECHO_T}no" >&6; }
29400 ac_wxgtk210=0
29401
29402 fi
29403
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405
29406 if test "$ac_wxgtk210" = 0; then
29407 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29408 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29409 cat >conftest.$ac_ext <<_ACEOF
29410 /* confdefs.h. */
29411 _ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29415
29416 #include <gtk/gtk.h>
29417
29418 int
29419 main ()
29420 {
29421
29422 #if !GTK_CHECK_VERSION(2,6,0)
29423 Not GTK+ 2.6
29424 #endif
29425
29426 ;
29427 return 0;
29428 }
29429 _ACEOF
29430 rm -f conftest.$ac_objext
29431 if { (ac_try="$ac_compile"
29432 case "(($ac_try" in
29433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29434 *) ac_try_echo=$ac_try;;
29435 esac
29436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29437 (eval "$ac_compile") 2>conftest.er1
29438 ac_status=$?
29439 grep -v '^ *+' conftest.er1 >conftest.err
29440 rm -f conftest.er1
29441 cat conftest.err >&5
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); } && {
29444 test -z "$ac_c_werror_flag" ||
29445 test ! -s conftest.err
29446 } && test -s conftest.$ac_objext; then
29447
29448 cat >>confdefs.h <<\_ACEOF
29449 #define __WXGTK26__ 1
29450 _ACEOF
29451
29452 { echo "$as_me:$LINENO: result: yes" >&5
29453 echo "${ECHO_T}yes" >&6; }
29454 ac_wxgtk26=1
29455
29456 else
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29459
29460
29461 { echo "$as_me:$LINENO: result: no" >&5
29462 echo "${ECHO_T}no" >&6; }
29463 ac_wxgtk26=0
29464
29465 fi
29466
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 fi
29469
29470 CFLAGS="$save_CFLAGS"
29471 LIBS="$save_LIBS"
29472 else
29473 if test "$wxUSE_UNICODE" = "yes"; then
29474 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29475 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29476 wxUSE_UNICODE=no
29477 fi
29478
29479 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29480 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29481 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29482 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 else
29484 ac_check_lib_save_LIBS=$LIBS
29485 LIBS="-lgdk $LIBS"
29486 cat >conftest.$ac_ext <<_ACEOF
29487 /* confdefs.h. */
29488 _ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h. */
29492
29493 /* Override any GCC internal prototype to avoid an error.
29494 Use char because int might match the return type of a GCC
29495 builtin and then its argument prototype would still apply. */
29496 #ifdef __cplusplus
29497 extern "C"
29498 #endif
29499 char gdk_im_open ();
29500 int
29501 main ()
29502 {
29503 return gdk_im_open ();
29504 ;
29505 return 0;
29506 }
29507 _ACEOF
29508 rm -f conftest.$ac_objext conftest$ac_exeext
29509 if { (ac_try="$ac_link"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29513 esac
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_link") 2>conftest.er1
29516 ac_status=$?
29517 grep -v '^ *+' conftest.er1 >conftest.err
29518 rm -f conftest.er1
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest$ac_exeext &&
29525 $as_test_x conftest$ac_exeext; then
29526 ac_cv_lib_gdk_gdk_im_open=yes
29527 else
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29530
29531 ac_cv_lib_gdk_gdk_im_open=no
29532 fi
29533
29534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29535 conftest$ac_exeext conftest.$ac_ext
29536 LIBS=$ac_check_lib_save_LIBS
29537 fi
29538 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29539 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29540 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29541 cat >>confdefs.h <<\_ACEOF
29542 #define HAVE_XIM 1
29543 _ACEOF
29544
29545 fi
29546
29547
29548 if test "$USE_DARWIN" != 1; then
29549
29550 for ac_func in poll
29551 do
29552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29553 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29557 else
29558 cat >conftest.$ac_ext <<_ACEOF
29559 /* confdefs.h. */
29560 _ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h. */
29564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29566 #define $ac_func innocuous_$ac_func
29567
29568 /* System header to define __stub macros and hopefully few prototypes,
29569 which can conflict with char $ac_func (); below.
29570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29571 <limits.h> exists even on freestanding compilers. */
29572
29573 #ifdef __STDC__
29574 # include <limits.h>
29575 #else
29576 # include <assert.h>
29577 #endif
29578
29579 #undef $ac_func
29580
29581 /* Override any GCC internal prototype to avoid an error.
29582 Use char because int might match the return type of a GCC
29583 builtin and then its argument prototype would still apply. */
29584 #ifdef __cplusplus
29585 extern "C"
29586 #endif
29587 char $ac_func ();
29588 /* The GNU C library defines this for functions which it implements
29589 to always fail with ENOSYS. Some functions are actually named
29590 something starting with __ and the normal name is an alias. */
29591 #if defined __stub_$ac_func || defined __stub___$ac_func
29592 choke me
29593 #endif
29594
29595 int
29596 main ()
29597 {
29598 return $ac_func ();
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (ac_try="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29608 esac
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } && {
29617 test -z "$ac_c_werror_flag" ||
29618 test ! -s conftest.err
29619 } && test -s conftest$ac_exeext &&
29620 $as_test_x conftest$ac_exeext; then
29621 eval "$as_ac_var=yes"
29622 else
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29625
29626 eval "$as_ac_var=no"
29627 fi
29628
29629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29630 conftest$ac_exeext conftest.$ac_ext
29631 fi
29632 ac_res=`eval echo '${'$as_ac_var'}'`
29633 { echo "$as_me:$LINENO: result: $ac_res" >&5
29634 echo "${ECHO_T}$ac_res" >&6; }
29635 if test `eval echo '${'$as_ac_var'}'` = yes; then
29636 cat >>confdefs.h <<_ACEOF
29637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29638 _ACEOF
29639
29640 fi
29641 done
29642
29643 fi
29644 fi
29645
29646 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29647 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29648
29649 AFMINSTALL=afminstall
29650 TOOLKIT=GTK
29651 GUIDIST=GTK_DIST
29652
29653 if test "$wxUSE_GPE" = "yes"; then
29654 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29655 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29656
29657 ac_find_libraries=
29658 for ac_dir in $SEARCH_LIB;
29659 do
29660 for ac_extension in a so sl dylib dll.a; do
29661 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29662 ac_find_libraries=$ac_dir
29663 break 2
29664 fi
29665 done
29666 done
29667
29668 if test "$ac_find_libraries" != "" ; then
29669
29670 if test "$ac_find_libraries" = "default location"; then
29671 ac_path_to_link=""
29672 else
29673 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29674 result=$?
29675 if test $result = 0; then
29676 ac_path_to_link=""
29677 else
29678 ac_path_to_link=" -L$ac_find_libraries"
29679 fi
29680 fi
29681
29682 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29683 WXGPE=1
29684 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29685 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29686 else
29687 { echo "$as_me:$LINENO: result: not found" >&5
29688 echo "${ECHO_T}not found" >&6; }
29689 fi
29690
29691 fi
29692 fi
29693
29694 if test "$wxUSE_MGL" = 1; then
29695 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29696 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29697 if test "x$MGL_ROOT" = x ; then
29698 { echo "$as_me:$LINENO: result: not found" >&5
29699 echo "${ECHO_T}not found" >&6; }
29700 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29701 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29702 { (exit 1); exit 1; }; }
29703 else
29704 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29705 echo "${ECHO_T}$MGL_ROOT" >&6; }
29706 fi
29707
29708 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29709 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29710 case "${host}" in
29711 *-*-linux* )
29712 if test "x$wxUSE_SHARED" = xyes ; then
29713 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29714 else
29715 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29716 fi
29717 ;;
29718 *-pc-msdosdjgpp )
29719 mgl_os_candidates="dos32/dj2"
29720 ;;
29721 *)
29722 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29723 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29724 { (exit 1); exit 1; }; }
29725 esac
29726
29727 mgl_lib_type=""
29728 mgl_os=""
29729
29730 for mgl_os_i in $mgl_os_candidates ; do
29731 if test "x$mgl_os" = x ; then
29732 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29733 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29734 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29735 mgl_lib_type=debug
29736 mgl_os=$mgl_os_i
29737 fi
29738 fi
29739 if test "x$mgl_lib_type" = x ; then
29740 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29741 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29742 mgl_lib_type=release
29743 mgl_os=$mgl_os_i
29744 fi
29745 fi
29746 fi
29747 done
29748
29749 if test "x$mgl_os" = x ; then
29750 { echo "$as_me:$LINENO: result: not found" >&5
29751 echo "${ECHO_T}not found" >&6; }
29752 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29753 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29754 { (exit 1); exit 1; }; }
29755 fi
29756 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29757 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29758
29759 wxUSE_UNIVERSAL="yes"
29760
29761 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29762 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29763
29764 AFMINSTALL=afminstall
29765 TOOLKIT=MGL
29766 GUIDIST=MGL_DIST
29767 fi
29768
29769 if test "$wxUSE_DFB" = 1; then
29770
29771
29772 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29773 if test -n "$ac_tool_prefix"; then
29774 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29775 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29779 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 else
29781 case $PKG_CONFIG in
29782 [\\/]* | ?:[\\/]*)
29783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29784 ;;
29785 *)
29786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29787 for as_dir in $PATH
29788 do
29789 IFS=$as_save_IFS
29790 test -z "$as_dir" && as_dir=.
29791 for ac_exec_ext in '' $ac_executable_extensions; do
29792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29795 break 2
29796 fi
29797 done
29798 done
29799 IFS=$as_save_IFS
29800
29801 ;;
29802 esac
29803 fi
29804 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29805 if test -n "$PKG_CONFIG"; then
29806 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29807 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29808 else
29809 { echo "$as_me:$LINENO: result: no" >&5
29810 echo "${ECHO_T}no" >&6; }
29811 fi
29812
29813
29814 fi
29815 if test -z "$ac_cv_path_PKG_CONFIG"; then
29816 ac_pt_PKG_CONFIG=$PKG_CONFIG
29817 # Extract the first word of "pkg-config", so it can be a program name with args.
29818 set dummy pkg-config; ac_word=$2
29819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29821 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29822 echo $ECHO_N "(cached) $ECHO_C" >&6
29823 else
29824 case $ac_pt_PKG_CONFIG in
29825 [\\/]* | ?:[\\/]*)
29826 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29827 ;;
29828 *)
29829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29830 for as_dir in $PATH
29831 do
29832 IFS=$as_save_IFS
29833 test -z "$as_dir" && as_dir=.
29834 for ac_exec_ext in '' $ac_executable_extensions; do
29835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29836 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29838 break 2
29839 fi
29840 done
29841 done
29842 IFS=$as_save_IFS
29843
29844 ;;
29845 esac
29846 fi
29847 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29848 if test -n "$ac_pt_PKG_CONFIG"; then
29849 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29850 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29851 else
29852 { echo "$as_me:$LINENO: result: no" >&5
29853 echo "${ECHO_T}no" >&6; }
29854 fi
29855
29856 if test "x$ac_pt_PKG_CONFIG" = x; then
29857 PKG_CONFIG=""
29858 else
29859 case $cross_compiling:$ac_tool_warned in
29860 yes:)
29861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29862 whose name does not start with the host triplet. If you think this
29863 configuration is useful to you, please write to autoconf@gnu.org." >&5
29864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29865 whose name does not start with the host triplet. If you think this
29866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29867 ac_tool_warned=yes ;;
29868 esac
29869 PKG_CONFIG=$ac_pt_PKG_CONFIG
29870 fi
29871 else
29872 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29873 fi
29874
29875 fi
29876 if test -n "$PKG_CONFIG"; then
29877 _pkg_min_version=0.9.0
29878 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29879 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29880 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29881 { echo "$as_me:$LINENO: result: yes" >&5
29882 echo "${ECHO_T}yes" >&6; }
29883 else
29884 { echo "$as_me:$LINENO: result: no" >&5
29885 echo "${ECHO_T}no" >&6; }
29886 PKG_CONFIG=""
29887 fi
29888
29889 fi
29890
29891
29892 pkg_failed=no
29893 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29894 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29895
29896 if test -n "$PKG_CONFIG"; then
29897 if test -n "$DIRECTFB_CFLAGS"; then
29898 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29899 else
29900 if test -n "$PKG_CONFIG" && \
29901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29902 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29903 ac_status=$?
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; then
29906 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29907 else
29908 pkg_failed=yes
29909 fi
29910 fi
29911 else
29912 pkg_failed=untried
29913 fi
29914 if test -n "$PKG_CONFIG"; then
29915 if test -n "$DIRECTFB_LIBS"; then
29916 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29917 else
29918 if test -n "$PKG_CONFIG" && \
29919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29920 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; then
29924 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29925 else
29926 pkg_failed=yes
29927 fi
29928 fi
29929 else
29930 pkg_failed=untried
29931 fi
29932
29933
29934
29935 if test $pkg_failed = yes; then
29936
29937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29938 _pkg_short_errors_supported=yes
29939 else
29940 _pkg_short_errors_supported=no
29941 fi
29942 if test $_pkg_short_errors_supported = yes; then
29943 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29944 else
29945 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29946 fi
29947 # Put the nasty error message in config.log where it belongs
29948 echo "$DIRECTFB_PKG_ERRORS" >&5
29949
29950
29951 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29952 echo "$as_me: error: DirectFB not found." >&2;}
29953 { (exit 1); exit 1; }; }
29954
29955
29956 elif test $pkg_failed = untried; then
29957
29958 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29959 echo "$as_me: error: DirectFB not found." >&2;}
29960 { (exit 1); exit 1; }; }
29961
29962
29963 else
29964 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29965 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29966 { echo "$as_me:$LINENO: result: yes" >&5
29967 echo "${ECHO_T}yes" >&6; }
29968
29969 wxUSE_UNIVERSAL="yes"
29970 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29971 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29972 TOOLKIT=DFB
29973 GUIDIST=DFB_DIST
29974
29975 fi
29976 fi
29977
29978 if test "$wxUSE_MICROWIN" = 1; then
29979 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29980 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29981 if test "x$MICROWINDOWS" = x ; then
29982 { echo "$as_me:$LINENO: result: not found" >&5
29983 echo "${ECHO_T}not found" >&6; }
29984 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29985 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29986 { (exit 1); exit 1; }; }
29987 else
29988 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29989 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29990 fi
29991
29992 if test -f $MICROWINDOWS/lib/libmwin.a; then
29993 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29994 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29995 else
29996 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29997 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29998 { (exit 1); exit 1; }; }
29999 fi
30000
30001 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30002 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30003
30004 wxUSE_UNIVERSAL="yes"
30005
30006 AFMINSTALL=afminstall
30007 TOOLKIT=MICROWIN
30008 GUIDIST=MICROWIN_DIST
30009
30010 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30011 fi
30012
30013 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30014 { echo "$as_me:$LINENO: checking for X" >&5
30015 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30016
30017
30018 # Check whether --with-x was given.
30019 if test "${with_x+set}" = set; then
30020 withval=$with_x;
30021 fi
30022
30023 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30024 if test "x$with_x" = xno; then
30025 # The user explicitly disabled X.
30026 have_x=disabled
30027 else
30028 case $x_includes,$x_libraries in #(
30029 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30030 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30031 { (exit 1); exit 1; }; };; #(
30032 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30033 echo $ECHO_N "(cached) $ECHO_C" >&6
30034 else
30035 # One or both of the vars are not set, and there is no cached value.
30036 ac_x_includes=no ac_x_libraries=no
30037 rm -f -r conftest.dir
30038 if mkdir conftest.dir; then
30039 cd conftest.dir
30040 cat >Imakefile <<'_ACEOF'
30041 incroot:
30042 @echo incroot='${INCROOT}'
30043 usrlibdir:
30044 @echo usrlibdir='${USRLIBDIR}'
30045 libdir:
30046 @echo libdir='${LIBDIR}'
30047 _ACEOF
30048 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30050 for ac_var in incroot usrlibdir libdir; do
30051 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30052 done
30053 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30054 for ac_extension in a so sl; do
30055 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30056 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30057 ac_im_usrlibdir=$ac_im_libdir; break
30058 fi
30059 done
30060 # Screen out bogus values from the imake configuration. They are
30061 # bogus both because they are the default anyway, and because
30062 # using them would break gcc on systems where it needs fixed includes.
30063 case $ac_im_incroot in
30064 /usr/include) ac_x_includes= ;;
30065 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30066 esac
30067 case $ac_im_usrlibdir in
30068 /usr/lib | /lib) ;;
30069 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30070 esac
30071 fi
30072 cd ..
30073 rm -f -r conftest.dir
30074 fi
30075
30076 # Standard set of common directories for X headers.
30077 # Check X11 before X11Rn because it is often a symlink to the current release.
30078 ac_x_header_dirs='
30079 /usr/X11/include
30080 /usr/X11R6/include
30081 /usr/X11R5/include
30082 /usr/X11R4/include
30083
30084 /usr/include/X11
30085 /usr/include/X11R6
30086 /usr/include/X11R5
30087 /usr/include/X11R4
30088
30089 /usr/local/X11/include
30090 /usr/local/X11R6/include
30091 /usr/local/X11R5/include
30092 /usr/local/X11R4/include
30093
30094 /usr/local/include/X11
30095 /usr/local/include/X11R6
30096 /usr/local/include/X11R5
30097 /usr/local/include/X11R4
30098
30099 /usr/X386/include
30100 /usr/x386/include
30101 /usr/XFree86/include/X11
30102
30103 /usr/include
30104 /usr/local/include
30105 /usr/unsupported/include
30106 /usr/athena/include
30107 /usr/local/x11r5/include
30108 /usr/lpp/Xamples/include
30109
30110 /usr/openwin/include
30111 /usr/openwin/share/include'
30112
30113 if test "$ac_x_includes" = no; then
30114 # Guess where to find include files, by looking for Xlib.h.
30115 # First, try using that file with no special directory specified.
30116 cat >conftest.$ac_ext <<_ACEOF
30117 /* confdefs.h. */
30118 _ACEOF
30119 cat confdefs.h >>conftest.$ac_ext
30120 cat >>conftest.$ac_ext <<_ACEOF
30121 /* end confdefs.h. */
30122 #include <X11/Xlib.h>
30123 _ACEOF
30124 if { (ac_try="$ac_cpp conftest.$ac_ext"
30125 case "(($ac_try" in
30126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30127 *) ac_try_echo=$ac_try;;
30128 esac
30129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } >/dev/null && {
30137 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30138 test ! -s conftest.err
30139 }; then
30140 # We can compile using X headers with no special include directory.
30141 ac_x_includes=
30142 else
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.$ac_ext >&5
30145
30146 for ac_dir in $ac_x_header_dirs; do
30147 if test -r "$ac_dir/X11/Xlib.h"; then
30148 ac_x_includes=$ac_dir
30149 break
30150 fi
30151 done
30152 fi
30153
30154 rm -f conftest.err conftest.$ac_ext
30155 fi # $ac_x_includes = no
30156
30157 if test "$ac_x_libraries" = no; then
30158 # Check for the libraries.
30159 # See if we find them without any special options.
30160 # Don't add to $LIBS permanently.
30161 ac_save_LIBS=$LIBS
30162 LIBS="-lX11 $LIBS"
30163 cat >conftest.$ac_ext <<_ACEOF
30164 /* confdefs.h. */
30165 _ACEOF
30166 cat confdefs.h >>conftest.$ac_ext
30167 cat >>conftest.$ac_ext <<_ACEOF
30168 /* end confdefs.h. */
30169 #include <X11/Xlib.h>
30170 int
30171 main ()
30172 {
30173 XrmInitialize ()
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 rm -f conftest.$ac_objext conftest$ac_exeext
30179 if { (ac_try="$ac_link"
30180 case "(($ac_try" in
30181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30182 *) ac_try_echo=$ac_try;;
30183 esac
30184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30185 (eval "$ac_link") 2>conftest.er1
30186 ac_status=$?
30187 grep -v '^ *+' conftest.er1 >conftest.err
30188 rm -f conftest.er1
30189 cat conftest.err >&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); } && {
30192 test -z "$ac_c_werror_flag" ||
30193 test ! -s conftest.err
30194 } && test -s conftest$ac_exeext &&
30195 $as_test_x conftest$ac_exeext; then
30196 LIBS=$ac_save_LIBS
30197 # We can link X programs with no special library path.
30198 ac_x_libraries=
30199 else
30200 echo "$as_me: failed program was:" >&5
30201 sed 's/^/| /' conftest.$ac_ext >&5
30202
30203 LIBS=$ac_save_LIBS
30204 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30205 do
30206 # Don't even attempt the hair of trying to link an X program!
30207 for ac_extension in a so sl; do
30208 if test -r "$ac_dir/libX11.$ac_extension"; then
30209 ac_x_libraries=$ac_dir
30210 break 2
30211 fi
30212 done
30213 done
30214 fi
30215
30216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30217 conftest$ac_exeext conftest.$ac_ext
30218 fi # $ac_x_libraries = no
30219
30220 case $ac_x_includes,$ac_x_libraries in #(
30221 no,* | *,no | *\'*)
30222 # Didn't find X, or a directory has "'" in its name.
30223 ac_cv_have_x="have_x=no";; #(
30224 *)
30225 # Record where we found X for the cache.
30226 ac_cv_have_x="have_x=yes\
30227 ac_x_includes='$ac_x_includes'\
30228 ac_x_libraries='$ac_x_libraries'"
30229 esac
30230 fi
30231 ;; #(
30232 *) have_x=yes;;
30233 esac
30234 eval "$ac_cv_have_x"
30235 fi # $with_x != no
30236
30237 if test "$have_x" != yes; then
30238 { echo "$as_me:$LINENO: result: $have_x" >&5
30239 echo "${ECHO_T}$have_x" >&6; }
30240 no_x=yes
30241 else
30242 # If each of the values was on the command line, it overrides each guess.
30243 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30244 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30245 # Update the cache value to reflect the command line values.
30246 ac_cv_have_x="have_x=yes\
30247 ac_x_includes='$x_includes'\
30248 ac_x_libraries='$x_libraries'"
30249 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30250 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30251 fi
30252
30253 if test "$no_x" = yes; then
30254 # Not all programs may use this symbol, but it does not hurt to define it.
30255
30256 cat >>confdefs.h <<\_ACEOF
30257 #define X_DISPLAY_MISSING 1
30258 _ACEOF
30259
30260 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30261 else
30262 if test -n "$x_includes"; then
30263 X_CFLAGS="$X_CFLAGS -I$x_includes"
30264 fi
30265
30266 # It would also be nice to do this for all -L options, not just this one.
30267 if test -n "$x_libraries"; then
30268 X_LIBS="$X_LIBS -L$x_libraries"
30269 # For Solaris; some versions of Sun CC require a space after -R and
30270 # others require no space. Words are not sufficient . . . .
30271 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30272 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30273 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30274 ac_xsave_c_werror_flag=$ac_c_werror_flag
30275 ac_c_werror_flag=yes
30276 cat >conftest.$ac_ext <<_ACEOF
30277 /* confdefs.h. */
30278 _ACEOF
30279 cat confdefs.h >>conftest.$ac_ext
30280 cat >>conftest.$ac_ext <<_ACEOF
30281 /* end confdefs.h. */
30282
30283 int
30284 main ()
30285 {
30286
30287 ;
30288 return 0;
30289 }
30290 _ACEOF
30291 rm -f conftest.$ac_objext conftest$ac_exeext
30292 if { (ac_try="$ac_link"
30293 case "(($ac_try" in
30294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30295 *) ac_try_echo=$ac_try;;
30296 esac
30297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30298 (eval "$ac_link") 2>conftest.er1
30299 ac_status=$?
30300 grep -v '^ *+' conftest.er1 >conftest.err
30301 rm -f conftest.er1
30302 cat conftest.err >&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); } && {
30305 test -z "$ac_c_werror_flag" ||
30306 test ! -s conftest.err
30307 } && test -s conftest$ac_exeext &&
30308 $as_test_x conftest$ac_exeext; then
30309 { echo "$as_me:$LINENO: result: no" >&5
30310 echo "${ECHO_T}no" >&6; }
30311 X_LIBS="$X_LIBS -R$x_libraries"
30312 else
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.$ac_ext >&5
30315
30316 LIBS="$ac_xsave_LIBS -R $x_libraries"
30317 cat >conftest.$ac_ext <<_ACEOF
30318 /* confdefs.h. */
30319 _ACEOF
30320 cat confdefs.h >>conftest.$ac_ext
30321 cat >>conftest.$ac_ext <<_ACEOF
30322 /* end confdefs.h. */
30323
30324 int
30325 main ()
30326 {
30327
30328 ;
30329 return 0;
30330 }
30331 _ACEOF
30332 rm -f conftest.$ac_objext conftest$ac_exeext
30333 if { (ac_try="$ac_link"
30334 case "(($ac_try" in
30335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30336 *) ac_try_echo=$ac_try;;
30337 esac
30338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30339 (eval "$ac_link") 2>conftest.er1
30340 ac_status=$?
30341 grep -v '^ *+' conftest.er1 >conftest.err
30342 rm -f conftest.er1
30343 cat conftest.err >&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } && {
30346 test -z "$ac_c_werror_flag" ||
30347 test ! -s conftest.err
30348 } && test -s conftest$ac_exeext &&
30349 $as_test_x conftest$ac_exeext; then
30350 { echo "$as_me:$LINENO: result: yes" >&5
30351 echo "${ECHO_T}yes" >&6; }
30352 X_LIBS="$X_LIBS -R $x_libraries"
30353 else
30354 echo "$as_me: failed program was:" >&5
30355 sed 's/^/| /' conftest.$ac_ext >&5
30356
30357 { echo "$as_me:$LINENO: result: neither works" >&5
30358 echo "${ECHO_T}neither works" >&6; }
30359 fi
30360
30361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30362 conftest$ac_exeext conftest.$ac_ext
30363 fi
30364
30365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30366 conftest$ac_exeext conftest.$ac_ext
30367 ac_c_werror_flag=$ac_xsave_c_werror_flag
30368 LIBS=$ac_xsave_LIBS
30369 fi
30370
30371 # Check for system-dependent libraries X programs must link with.
30372 # Do this before checking for the system-independent R6 libraries
30373 # (-lICE), since we may need -lsocket or whatever for X linking.
30374
30375 if test "$ISC" = yes; then
30376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30377 else
30378 # Martyn Johnson says this is needed for Ultrix, if the X
30379 # libraries were built with DECnet support. And Karl Berry says
30380 # the Alpha needs dnet_stub (dnet does not exist).
30381 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30382 cat >conftest.$ac_ext <<_ACEOF
30383 /* confdefs.h. */
30384 _ACEOF
30385 cat confdefs.h >>conftest.$ac_ext
30386 cat >>conftest.$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30388
30389 /* Override any GCC internal prototype to avoid an error.
30390 Use char because int might match the return type of a GCC
30391 builtin and then its argument prototype would still apply. */
30392 #ifdef __cplusplus
30393 extern "C"
30394 #endif
30395 char XOpenDisplay ();
30396 int
30397 main ()
30398 {
30399 return XOpenDisplay ();
30400 ;
30401 return 0;
30402 }
30403 _ACEOF
30404 rm -f conftest.$ac_objext conftest$ac_exeext
30405 if { (ac_try="$ac_link"
30406 case "(($ac_try" in
30407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30408 *) ac_try_echo=$ac_try;;
30409 esac
30410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30411 (eval "$ac_link") 2>conftest.er1
30412 ac_status=$?
30413 grep -v '^ *+' conftest.er1 >conftest.err
30414 rm -f conftest.er1
30415 cat conftest.err >&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } && {
30418 test -z "$ac_c_werror_flag" ||
30419 test ! -s conftest.err
30420 } && test -s conftest$ac_exeext &&
30421 $as_test_x conftest$ac_exeext; then
30422 :
30423 else
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.$ac_ext >&5
30426
30427 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30428 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30429 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30431 else
30432 ac_check_lib_save_LIBS=$LIBS
30433 LIBS="-ldnet $LIBS"
30434 cat >conftest.$ac_ext <<_ACEOF
30435 /* confdefs.h. */
30436 _ACEOF
30437 cat confdefs.h >>conftest.$ac_ext
30438 cat >>conftest.$ac_ext <<_ACEOF
30439 /* end confdefs.h. */
30440
30441 /* Override any GCC internal prototype to avoid an error.
30442 Use char because int might match the return type of a GCC
30443 builtin and then its argument prototype would still apply. */
30444 #ifdef __cplusplus
30445 extern "C"
30446 #endif
30447 char dnet_ntoa ();
30448 int
30449 main ()
30450 {
30451 return dnet_ntoa ();
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 rm -f conftest.$ac_objext conftest$ac_exeext
30457 if { (ac_try="$ac_link"
30458 case "(($ac_try" in
30459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30460 *) ac_try_echo=$ac_try;;
30461 esac
30462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30463 (eval "$ac_link") 2>conftest.er1
30464 ac_status=$?
30465 grep -v '^ *+' conftest.er1 >conftest.err
30466 rm -f conftest.er1
30467 cat conftest.err >&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } && {
30470 test -z "$ac_c_werror_flag" ||
30471 test ! -s conftest.err
30472 } && test -s conftest$ac_exeext &&
30473 $as_test_x conftest$ac_exeext; then
30474 ac_cv_lib_dnet_dnet_ntoa=yes
30475 else
30476 echo "$as_me: failed program was:" >&5
30477 sed 's/^/| /' conftest.$ac_ext >&5
30478
30479 ac_cv_lib_dnet_dnet_ntoa=no
30480 fi
30481
30482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30485 fi
30486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30487 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30488 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30489 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30490 fi
30491
30492 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30493 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30494 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30495 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30496 echo $ECHO_N "(cached) $ECHO_C" >&6
30497 else
30498 ac_check_lib_save_LIBS=$LIBS
30499 LIBS="-ldnet_stub $LIBS"
30500 cat >conftest.$ac_ext <<_ACEOF
30501 /* confdefs.h. */
30502 _ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30506
30507 /* Override any GCC internal prototype to avoid an error.
30508 Use char because int might match the return type of a GCC
30509 builtin and then its argument prototype would still apply. */
30510 #ifdef __cplusplus
30511 extern "C"
30512 #endif
30513 char dnet_ntoa ();
30514 int
30515 main ()
30516 {
30517 return dnet_ntoa ();
30518 ;
30519 return 0;
30520 }
30521 _ACEOF
30522 rm -f conftest.$ac_objext conftest$ac_exeext
30523 if { (ac_try="$ac_link"
30524 case "(($ac_try" in
30525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30526 *) ac_try_echo=$ac_try;;
30527 esac
30528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30529 (eval "$ac_link") 2>conftest.er1
30530 ac_status=$?
30531 grep -v '^ *+' conftest.er1 >conftest.err
30532 rm -f conftest.er1
30533 cat conftest.err >&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } && {
30536 test -z "$ac_c_werror_flag" ||
30537 test ! -s conftest.err
30538 } && test -s conftest$ac_exeext &&
30539 $as_test_x conftest$ac_exeext; then
30540 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30541 else
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30544
30545 ac_cv_lib_dnet_stub_dnet_ntoa=no
30546 fi
30547
30548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30549 conftest$ac_exeext conftest.$ac_ext
30550 LIBS=$ac_check_lib_save_LIBS
30551 fi
30552 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30553 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30554 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30555 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30556 fi
30557
30558 fi
30559 fi
30560
30561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30562 conftest$ac_exeext conftest.$ac_ext
30563 LIBS="$ac_xsave_LIBS"
30564
30565 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30566 # to get the SysV transport functions.
30567 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30568 # needs -lnsl.
30569 # The nsl library prevents programs from opening the X display
30570 # on Irix 5.2, according to T.E. Dickey.
30571 # The functions gethostbyname, getservbyname, and inet_addr are
30572 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30573 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30574 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30575 if test "${ac_cv_func_gethostbyname+set}" = set; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 else
30578 cat >conftest.$ac_ext <<_ACEOF
30579 /* confdefs.h. */
30580 _ACEOF
30581 cat confdefs.h >>conftest.$ac_ext
30582 cat >>conftest.$ac_ext <<_ACEOF
30583 /* end confdefs.h. */
30584 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30586 #define gethostbyname innocuous_gethostbyname
30587
30588 /* System header to define __stub macros and hopefully few prototypes,
30589 which can conflict with char gethostbyname (); below.
30590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30591 <limits.h> exists even on freestanding compilers. */
30592
30593 #ifdef __STDC__
30594 # include <limits.h>
30595 #else
30596 # include <assert.h>
30597 #endif
30598
30599 #undef gethostbyname
30600
30601 /* Override any GCC internal prototype to avoid an error.
30602 Use char because int might match the return type of a GCC
30603 builtin and then its argument prototype would still apply. */
30604 #ifdef __cplusplus
30605 extern "C"
30606 #endif
30607 char gethostbyname ();
30608 /* The GNU C library defines this for functions which it implements
30609 to always fail with ENOSYS. Some functions are actually named
30610 something starting with __ and the normal name is an alias. */
30611 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30612 choke me
30613 #endif
30614
30615 int
30616 main ()
30617 {
30618 return gethostbyname ();
30619 ;
30620 return 0;
30621 }
30622 _ACEOF
30623 rm -f conftest.$ac_objext conftest$ac_exeext
30624 if { (ac_try="$ac_link"
30625 case "(($ac_try" in
30626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30627 *) ac_try_echo=$ac_try;;
30628 esac
30629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30630 (eval "$ac_link") 2>conftest.er1
30631 ac_status=$?
30632 grep -v '^ *+' conftest.er1 >conftest.err
30633 rm -f conftest.er1
30634 cat conftest.err >&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); } && {
30637 test -z "$ac_c_werror_flag" ||
30638 test ! -s conftest.err
30639 } && test -s conftest$ac_exeext &&
30640 $as_test_x conftest$ac_exeext; then
30641 ac_cv_func_gethostbyname=yes
30642 else
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.$ac_ext >&5
30645
30646 ac_cv_func_gethostbyname=no
30647 fi
30648
30649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30650 conftest$ac_exeext conftest.$ac_ext
30651 fi
30652 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30653 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30654
30655 if test $ac_cv_func_gethostbyname = no; then
30656 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30657 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30658 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 else
30661 ac_check_lib_save_LIBS=$LIBS
30662 LIBS="-lnsl $LIBS"
30663 cat >conftest.$ac_ext <<_ACEOF
30664 /* confdefs.h. */
30665 _ACEOF
30666 cat confdefs.h >>conftest.$ac_ext
30667 cat >>conftest.$ac_ext <<_ACEOF
30668 /* end confdefs.h. */
30669
30670 /* Override any GCC internal prototype to avoid an error.
30671 Use char because int might match the return type of a GCC
30672 builtin and then its argument prototype would still apply. */
30673 #ifdef __cplusplus
30674 extern "C"
30675 #endif
30676 char gethostbyname ();
30677 int
30678 main ()
30679 {
30680 return gethostbyname ();
30681 ;
30682 return 0;
30683 }
30684 _ACEOF
30685 rm -f conftest.$ac_objext conftest$ac_exeext
30686 if { (ac_try="$ac_link"
30687 case "(($ac_try" in
30688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30689 *) ac_try_echo=$ac_try;;
30690 esac
30691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30692 (eval "$ac_link") 2>conftest.er1
30693 ac_status=$?
30694 grep -v '^ *+' conftest.er1 >conftest.err
30695 rm -f conftest.er1
30696 cat conftest.err >&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); } && {
30699 test -z "$ac_c_werror_flag" ||
30700 test ! -s conftest.err
30701 } && test -s conftest$ac_exeext &&
30702 $as_test_x conftest$ac_exeext; then
30703 ac_cv_lib_nsl_gethostbyname=yes
30704 else
30705 echo "$as_me: failed program was:" >&5
30706 sed 's/^/| /' conftest.$ac_ext >&5
30707
30708 ac_cv_lib_nsl_gethostbyname=no
30709 fi
30710
30711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30712 conftest$ac_exeext conftest.$ac_ext
30713 LIBS=$ac_check_lib_save_LIBS
30714 fi
30715 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30716 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30717 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30718 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30719 fi
30720
30721 if test $ac_cv_lib_nsl_gethostbyname = no; then
30722 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30723 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30724 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30725 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 else
30727 ac_check_lib_save_LIBS=$LIBS
30728 LIBS="-lbsd $LIBS"
30729 cat >conftest.$ac_ext <<_ACEOF
30730 /* confdefs.h. */
30731 _ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735
30736 /* Override any GCC internal prototype to avoid an error.
30737 Use char because int might match the return type of a GCC
30738 builtin and then its argument prototype would still apply. */
30739 #ifdef __cplusplus
30740 extern "C"
30741 #endif
30742 char gethostbyname ();
30743 int
30744 main ()
30745 {
30746 return gethostbyname ();
30747 ;
30748 return 0;
30749 }
30750 _ACEOF
30751 rm -f conftest.$ac_objext conftest$ac_exeext
30752 if { (ac_try="$ac_link"
30753 case "(($ac_try" in
30754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30755 *) ac_try_echo=$ac_try;;
30756 esac
30757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30758 (eval "$ac_link") 2>conftest.er1
30759 ac_status=$?
30760 grep -v '^ *+' conftest.er1 >conftest.err
30761 rm -f conftest.er1
30762 cat conftest.err >&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); } && {
30765 test -z "$ac_c_werror_flag" ||
30766 test ! -s conftest.err
30767 } && test -s conftest$ac_exeext &&
30768 $as_test_x conftest$ac_exeext; then
30769 ac_cv_lib_bsd_gethostbyname=yes
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30773
30774 ac_cv_lib_bsd_gethostbyname=no
30775 fi
30776
30777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30778 conftest$ac_exeext conftest.$ac_ext
30779 LIBS=$ac_check_lib_save_LIBS
30780 fi
30781 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30782 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30783 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30784 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30785 fi
30786
30787 fi
30788 fi
30789
30790 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30791 # socket/setsockopt and other routines are undefined under SCO ODT
30792 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30793 # on later versions), says Simon Leinen: it contains gethostby*
30794 # variants that don't use the name server (or something). -lsocket
30795 # must be given before -lnsl if both are needed. We assume that
30796 # if connect needs -lnsl, so does gethostbyname.
30797 { echo "$as_me:$LINENO: checking for connect" >&5
30798 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30799 if test "${ac_cv_func_connect+set}" = set; then
30800 echo $ECHO_N "(cached) $ECHO_C" >&6
30801 else
30802 cat >conftest.$ac_ext <<_ACEOF
30803 /* confdefs.h. */
30804 _ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30810 #define connect innocuous_connect
30811
30812 /* System header to define __stub macros and hopefully few prototypes,
30813 which can conflict with char connect (); below.
30814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30815 <limits.h> exists even on freestanding compilers. */
30816
30817 #ifdef __STDC__
30818 # include <limits.h>
30819 #else
30820 # include <assert.h>
30821 #endif
30822
30823 #undef connect
30824
30825 /* Override any GCC internal prototype to avoid an error.
30826 Use char because int might match the return type of a GCC
30827 builtin and then its argument prototype would still apply. */
30828 #ifdef __cplusplus
30829 extern "C"
30830 #endif
30831 char connect ();
30832 /* The GNU C library defines this for functions which it implements
30833 to always fail with ENOSYS. Some functions are actually named
30834 something starting with __ and the normal name is an alias. */
30835 #if defined __stub_connect || defined __stub___connect
30836 choke me
30837 #endif
30838
30839 int
30840 main ()
30841 {
30842 return connect ();
30843 ;
30844 return 0;
30845 }
30846 _ACEOF
30847 rm -f conftest.$ac_objext conftest$ac_exeext
30848 if { (ac_try="$ac_link"
30849 case "(($ac_try" in
30850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30851 *) ac_try_echo=$ac_try;;
30852 esac
30853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30854 (eval "$ac_link") 2>conftest.er1
30855 ac_status=$?
30856 grep -v '^ *+' conftest.er1 >conftest.err
30857 rm -f conftest.er1
30858 cat conftest.err >&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); } && {
30861 test -z "$ac_c_werror_flag" ||
30862 test ! -s conftest.err
30863 } && test -s conftest$ac_exeext &&
30864 $as_test_x conftest$ac_exeext; then
30865 ac_cv_func_connect=yes
30866 else
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.$ac_ext >&5
30869
30870 ac_cv_func_connect=no
30871 fi
30872
30873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30874 conftest$ac_exeext conftest.$ac_ext
30875 fi
30876 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30877 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30878
30879 if test $ac_cv_func_connect = no; then
30880 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30881 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30882 if test "${ac_cv_lib_socket_connect+set}" = set; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30884 else
30885 ac_check_lib_save_LIBS=$LIBS
30886 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30887 cat >conftest.$ac_ext <<_ACEOF
30888 /* confdefs.h. */
30889 _ACEOF
30890 cat confdefs.h >>conftest.$ac_ext
30891 cat >>conftest.$ac_ext <<_ACEOF
30892 /* end confdefs.h. */
30893
30894 /* Override any GCC internal prototype to avoid an error.
30895 Use char because int might match the return type of a GCC
30896 builtin and then its argument prototype would still apply. */
30897 #ifdef __cplusplus
30898 extern "C"
30899 #endif
30900 char connect ();
30901 int
30902 main ()
30903 {
30904 return connect ();
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 ac_cv_lib_socket_connect=yes
30928 else
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30931
30932 ac_cv_lib_socket_connect=no
30933 fi
30934
30935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30936 conftest$ac_exeext conftest.$ac_ext
30937 LIBS=$ac_check_lib_save_LIBS
30938 fi
30939 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30940 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30941 if test $ac_cv_lib_socket_connect = yes; then
30942 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30943 fi
30944
30945 fi
30946
30947 # Guillermo Gomez says -lposix is necessary on A/UX.
30948 { echo "$as_me:$LINENO: checking for remove" >&5
30949 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30950 if test "${ac_cv_func_remove+set}" = set; then
30951 echo $ECHO_N "(cached) $ECHO_C" >&6
30952 else
30953 cat >conftest.$ac_ext <<_ACEOF
30954 /* confdefs.h. */
30955 _ACEOF
30956 cat confdefs.h >>conftest.$ac_ext
30957 cat >>conftest.$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30959 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30961 #define remove innocuous_remove
30962
30963 /* System header to define __stub macros and hopefully few prototypes,
30964 which can conflict with char remove (); below.
30965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30966 <limits.h> exists even on freestanding compilers. */
30967
30968 #ifdef __STDC__
30969 # include <limits.h>
30970 #else
30971 # include <assert.h>
30972 #endif
30973
30974 #undef remove
30975
30976 /* Override any GCC internal prototype to avoid an error.
30977 Use char because int might match the return type of a GCC
30978 builtin and then its argument prototype would still apply. */
30979 #ifdef __cplusplus
30980 extern "C"
30981 #endif
30982 char remove ();
30983 /* The GNU C library defines this for functions which it implements
30984 to always fail with ENOSYS. Some functions are actually named
30985 something starting with __ and the normal name is an alias. */
30986 #if defined __stub_remove || defined __stub___remove
30987 choke me
30988 #endif
30989
30990 int
30991 main ()
30992 {
30993 return remove ();
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (ac_try="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31003 esac
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31006 ac_status=$?
31007 grep -v '^ *+' conftest.er1 >conftest.err
31008 rm -f conftest.er1
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 ac_cv_func_remove=yes
31017 else
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31020
31021 ac_cv_func_remove=no
31022 fi
31023
31024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31025 conftest$ac_exeext conftest.$ac_ext
31026 fi
31027 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31028 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31029
31030 if test $ac_cv_func_remove = no; then
31031 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31032 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31033 if test "${ac_cv_lib_posix_remove+set}" = set; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 else
31036 ac_check_lib_save_LIBS=$LIBS
31037 LIBS="-lposix $LIBS"
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044
31045 /* Override any GCC internal prototype to avoid an error.
31046 Use char because int might match the return type of a GCC
31047 builtin and then its argument prototype would still apply. */
31048 #ifdef __cplusplus
31049 extern "C"
31050 #endif
31051 char remove ();
31052 int
31053 main ()
31054 {
31055 return remove ();
31056 ;
31057 return 0;
31058 }
31059 _ACEOF
31060 rm -f conftest.$ac_objext conftest$ac_exeext
31061 if { (ac_try="$ac_link"
31062 case "(($ac_try" in
31063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31064 *) ac_try_echo=$ac_try;;
31065 esac
31066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31067 (eval "$ac_link") 2>conftest.er1
31068 ac_status=$?
31069 grep -v '^ *+' conftest.er1 >conftest.err
31070 rm -f conftest.er1
31071 cat conftest.err >&5
31072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31073 (exit $ac_status); } && {
31074 test -z "$ac_c_werror_flag" ||
31075 test ! -s conftest.err
31076 } && test -s conftest$ac_exeext &&
31077 $as_test_x conftest$ac_exeext; then
31078 ac_cv_lib_posix_remove=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 ac_cv_lib_posix_remove=no
31084 fi
31085
31086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31087 conftest$ac_exeext conftest.$ac_ext
31088 LIBS=$ac_check_lib_save_LIBS
31089 fi
31090 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31091 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31092 if test $ac_cv_lib_posix_remove = yes; then
31093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31094 fi
31095
31096 fi
31097
31098 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31099 { echo "$as_me:$LINENO: checking for shmat" >&5
31100 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31101 if test "${ac_cv_func_shmat+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 cat >conftest.$ac_ext <<_ACEOF
31105 /* confdefs.h. */
31106 _ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31112 #define shmat innocuous_shmat
31113
31114 /* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char shmat (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31118
31119 #ifdef __STDC__
31120 # include <limits.h>
31121 #else
31122 # include <assert.h>
31123 #endif
31124
31125 #undef shmat
31126
31127 /* Override any GCC internal prototype to avoid an error.
31128 Use char because int might match the return type of a GCC
31129 builtin and then its argument prototype would still apply. */
31130 #ifdef __cplusplus
31131 extern "C"
31132 #endif
31133 char shmat ();
31134 /* The GNU C library defines this for functions which it implements
31135 to always fail with ENOSYS. Some functions are actually named
31136 something starting with __ and the normal name is an alias. */
31137 #if defined __stub_shmat || defined __stub___shmat
31138 choke me
31139 #endif
31140
31141 int
31142 main ()
31143 {
31144 return shmat ();
31145 ;
31146 return 0;
31147 }
31148 _ACEOF
31149 rm -f conftest.$ac_objext conftest$ac_exeext
31150 if { (ac_try="$ac_link"
31151 case "(($ac_try" in
31152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31153 *) ac_try_echo=$ac_try;;
31154 esac
31155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31156 (eval "$ac_link") 2>conftest.er1
31157 ac_status=$?
31158 grep -v '^ *+' conftest.er1 >conftest.err
31159 rm -f conftest.er1
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } && {
31163 test -z "$ac_c_werror_flag" ||
31164 test ! -s conftest.err
31165 } && test -s conftest$ac_exeext &&
31166 $as_test_x conftest$ac_exeext; then
31167 ac_cv_func_shmat=yes
31168 else
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.$ac_ext >&5
31171
31172 ac_cv_func_shmat=no
31173 fi
31174
31175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31176 conftest$ac_exeext conftest.$ac_ext
31177 fi
31178 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31179 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31180
31181 if test $ac_cv_func_shmat = no; then
31182 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31183 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31184 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31185 echo $ECHO_N "(cached) $ECHO_C" >&6
31186 else
31187 ac_check_lib_save_LIBS=$LIBS
31188 LIBS="-lipc $LIBS"
31189 cat >conftest.$ac_ext <<_ACEOF
31190 /* confdefs.h. */
31191 _ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195
31196 /* Override any GCC internal prototype to avoid an error.
31197 Use char because int might match the return type of a GCC
31198 builtin and then its argument prototype would still apply. */
31199 #ifdef __cplusplus
31200 extern "C"
31201 #endif
31202 char shmat ();
31203 int
31204 main ()
31205 {
31206 return shmat ();
31207 ;
31208 return 0;
31209 }
31210 _ACEOF
31211 rm -f conftest.$ac_objext conftest$ac_exeext
31212 if { (ac_try="$ac_link"
31213 case "(($ac_try" in
31214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31215 *) ac_try_echo=$ac_try;;
31216 esac
31217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31218 (eval "$ac_link") 2>conftest.er1
31219 ac_status=$?
31220 grep -v '^ *+' conftest.er1 >conftest.err
31221 rm -f conftest.er1
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } && {
31225 test -z "$ac_c_werror_flag" ||
31226 test ! -s conftest.err
31227 } && test -s conftest$ac_exeext &&
31228 $as_test_x conftest$ac_exeext; then
31229 ac_cv_lib_ipc_shmat=yes
31230 else
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.$ac_ext >&5
31233
31234 ac_cv_lib_ipc_shmat=no
31235 fi
31236
31237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31238 conftest$ac_exeext conftest.$ac_ext
31239 LIBS=$ac_check_lib_save_LIBS
31240 fi
31241 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31242 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31243 if test $ac_cv_lib_ipc_shmat = yes; then
31244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31245 fi
31246
31247 fi
31248 fi
31249
31250 # Check for libraries that X11R6 Xt/Xaw programs need.
31251 ac_save_LDFLAGS=$LDFLAGS
31252 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31253 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31254 # check for ICE first), but we must link in the order -lSM -lICE or
31255 # we get undefined symbols. So assume we have SM if we have ICE.
31256 # These have to be linked with before -lX11, unlike the other
31257 # libraries we check for below, so use a different variable.
31258 # John Interrante, Karl Berry
31259 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31260 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31261 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 else
31264 ac_check_lib_save_LIBS=$LIBS
31265 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31266 cat >conftest.$ac_ext <<_ACEOF
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272
31273 /* Override any GCC internal prototype to avoid an error.
31274 Use char because int might match the return type of a GCC
31275 builtin and then its argument prototype would still apply. */
31276 #ifdef __cplusplus
31277 extern "C"
31278 #endif
31279 char IceConnectionNumber ();
31280 int
31281 main ()
31282 {
31283 return IceConnectionNumber ();
31284 ;
31285 return 0;
31286 }
31287 _ACEOF
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (ac_try="$ac_link"
31290 case "(($ac_try" in
31291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292 *) ac_try_echo=$ac_try;;
31293 esac
31294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 (eval "$ac_link") 2>conftest.er1
31296 ac_status=$?
31297 grep -v '^ *+' conftest.er1 >conftest.err
31298 rm -f conftest.er1
31299 cat conftest.err >&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } && {
31302 test -z "$ac_c_werror_flag" ||
31303 test ! -s conftest.err
31304 } && test -s conftest$ac_exeext &&
31305 $as_test_x conftest$ac_exeext; then
31306 ac_cv_lib_ICE_IceConnectionNumber=yes
31307 else
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.$ac_ext >&5
31310
31311 ac_cv_lib_ICE_IceConnectionNumber=no
31312 fi
31313
31314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31315 conftest$ac_exeext conftest.$ac_ext
31316 LIBS=$ac_check_lib_save_LIBS
31317 fi
31318 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31319 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31320 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31321 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31322 fi
31323
31324 LDFLAGS=$ac_save_LDFLAGS
31325
31326 fi
31327
31328
31329 if test "$no_x" = "yes"; then
31330 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31331 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31332 { (exit 1); exit 1; }; }
31333 fi
31334
31335 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31336 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31337 AFMINSTALL=afminstall
31338 COMPILED_X_PROGRAM=0
31339
31340 fi
31341
31342 if test "$wxUSE_X11" = 1; then
31343 if test "$wxUSE_NANOX" = "yes"; then
31344 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31345 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31346 if test "x$MICROWIN" = x ; then
31347 { echo "$as_me:$LINENO: result: not found" >&5
31348 echo "${ECHO_T}not found" >&6; }
31349 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31350 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31351 { (exit 1); exit 1; }; }
31352 else
31353 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31354 echo "${ECHO_T}$MICROWIN" >&6; }
31355 cat >>confdefs.h <<\_ACEOF
31356 #define wxUSE_NANOX 1
31357 _ACEOF
31358
31359 fi
31360 fi
31361
31362 if test "$wxUSE_UNICODE" = "yes"; then
31363
31364
31365 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31366 if test -n "$ac_tool_prefix"; then
31367 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31368 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31372 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 else
31374 case $PKG_CONFIG in
31375 [\\/]* | ?:[\\/]*)
31376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31377 ;;
31378 *)
31379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31380 for as_dir in $PATH
31381 do
31382 IFS=$as_save_IFS
31383 test -z "$as_dir" && as_dir=.
31384 for ac_exec_ext in '' $ac_executable_extensions; do
31385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31388 break 2
31389 fi
31390 done
31391 done
31392 IFS=$as_save_IFS
31393
31394 ;;
31395 esac
31396 fi
31397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31398 if test -n "$PKG_CONFIG"; then
31399 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31400 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31401 else
31402 { echo "$as_me:$LINENO: result: no" >&5
31403 echo "${ECHO_T}no" >&6; }
31404 fi
31405
31406
31407 fi
31408 if test -z "$ac_cv_path_PKG_CONFIG"; then
31409 ac_pt_PKG_CONFIG=$PKG_CONFIG
31410 # Extract the first word of "pkg-config", so it can be a program name with args.
31411 set dummy pkg-config; ac_word=$2
31412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31414 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31415 echo $ECHO_N "(cached) $ECHO_C" >&6
31416 else
31417 case $ac_pt_PKG_CONFIG in
31418 [\\/]* | ?:[\\/]*)
31419 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31420 ;;
31421 *)
31422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31423 for as_dir in $PATH
31424 do
31425 IFS=$as_save_IFS
31426 test -z "$as_dir" && as_dir=.
31427 for ac_exec_ext in '' $ac_executable_extensions; do
31428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31429 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31431 break 2
31432 fi
31433 done
31434 done
31435 IFS=$as_save_IFS
31436
31437 ;;
31438 esac
31439 fi
31440 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31441 if test -n "$ac_pt_PKG_CONFIG"; then
31442 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31443 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31444 else
31445 { echo "$as_me:$LINENO: result: no" >&5
31446 echo "${ECHO_T}no" >&6; }
31447 fi
31448
31449 if test "x$ac_pt_PKG_CONFIG" = x; then
31450 PKG_CONFIG=""
31451 else
31452 case $cross_compiling:$ac_tool_warned in
31453 yes:)
31454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31455 whose name does not start with the host triplet. If you think this
31456 configuration is useful to you, please write to autoconf@gnu.org." >&5
31457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31458 whose name does not start with the host triplet. If you think this
31459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31460 ac_tool_warned=yes ;;
31461 esac
31462 PKG_CONFIG=$ac_pt_PKG_CONFIG
31463 fi
31464 else
31465 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31466 fi
31467
31468 fi
31469 if test -n "$PKG_CONFIG"; then
31470 _pkg_min_version=0.9.0
31471 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31472 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31473 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31474 { echo "$as_me:$LINENO: result: yes" >&5
31475 echo "${ECHO_T}yes" >&6; }
31476 else
31477 { echo "$as_me:$LINENO: result: no" >&5
31478 echo "${ECHO_T}no" >&6; }
31479 PKG_CONFIG=""
31480 fi
31481
31482 fi
31483
31484
31485 pkg_failed=no
31486 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31487 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31488
31489 if test -n "$PKG_CONFIG"; then
31490 if test -n "$PANGOX_CFLAGS"; then
31491 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31492 else
31493 if test -n "$PKG_CONFIG" && \
31494 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31495 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31496 ac_status=$?
31497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31498 (exit $ac_status); }; then
31499 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31500 else
31501 pkg_failed=yes
31502 fi
31503 fi
31504 else
31505 pkg_failed=untried
31506 fi
31507 if test -n "$PKG_CONFIG"; then
31508 if test -n "$PANGOX_LIBS"; then
31509 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31510 else
31511 if test -n "$PKG_CONFIG" && \
31512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31513 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31514 ac_status=$?
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; then
31517 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31518 else
31519 pkg_failed=yes
31520 fi
31521 fi
31522 else
31523 pkg_failed=untried
31524 fi
31525
31526
31527
31528 if test $pkg_failed = yes; then
31529
31530 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31531 _pkg_short_errors_supported=yes
31532 else
31533 _pkg_short_errors_supported=no
31534 fi
31535 if test $_pkg_short_errors_supported = yes; then
31536 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31537 else
31538 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31539 fi
31540 # Put the nasty error message in config.log where it belongs
31541 echo "$PANGOX_PKG_ERRORS" >&5
31542
31543
31544 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31545 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31546 { (exit 1); exit 1; }; }
31547
31548
31549 elif test $pkg_failed = untried; then
31550
31551 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31552 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31553 { (exit 1); exit 1; }; }
31554
31555
31556 else
31557 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31558 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31559 { echo "$as_me:$LINENO: result: yes" >&5
31560 echo "${ECHO_T}yes" >&6; }
31561
31562 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31563 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31564 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31565
31566 fi
31567
31568 pkg_failed=no
31569 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31570 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31571
31572 if test -n "$PKG_CONFIG"; then
31573 if test -n "$PANGOFT2_CFLAGS"; then
31574 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31575 else
31576 if test -n "$PKG_CONFIG" && \
31577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31578 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31579 ac_status=$?
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; then
31582 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31583 else
31584 pkg_failed=yes
31585 fi
31586 fi
31587 else
31588 pkg_failed=untried
31589 fi
31590 if test -n "$PKG_CONFIG"; then
31591 if test -n "$PANGOFT2_LIBS"; then
31592 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31593 else
31594 if test -n "$PKG_CONFIG" && \
31595 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31596 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31597 ac_status=$?
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; then
31600 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31601 else
31602 pkg_failed=yes
31603 fi
31604 fi
31605 else
31606 pkg_failed=untried
31607 fi
31608
31609
31610
31611 if test $pkg_failed = yes; then
31612
31613 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31614 _pkg_short_errors_supported=yes
31615 else
31616 _pkg_short_errors_supported=no
31617 fi
31618 if test $_pkg_short_errors_supported = yes; then
31619 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31620 else
31621 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31622 fi
31623 # Put the nasty error message in config.log where it belongs
31624 echo "$PANGOFT2_PKG_ERRORS" >&5
31625
31626
31627 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31628 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31629 wxUSE_PRINTING_ARCHITECTURE="no"
31630
31631
31632 elif test $pkg_failed = untried; then
31633
31634 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31635 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31636 wxUSE_PRINTING_ARCHITECTURE="no"
31637
31638
31639 else
31640 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31641 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31642 { echo "$as_me:$LINENO: result: yes" >&5
31643 echo "${ECHO_T}yes" >&6; }
31644
31645 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31646 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31648
31649 fi
31650
31651 pkg_failed=no
31652 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31653 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31654
31655 if test -n "$PKG_CONFIG"; then
31656 if test -n "$PANGOXFT_CFLAGS"; then
31657 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31658 else
31659 if test -n "$PKG_CONFIG" && \
31660 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31661 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31662 ac_status=$?
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; then
31665 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31666 else
31667 pkg_failed=yes
31668 fi
31669 fi
31670 else
31671 pkg_failed=untried
31672 fi
31673 if test -n "$PKG_CONFIG"; then
31674 if test -n "$PANGOXFT_LIBS"; then
31675 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31676 else
31677 if test -n "$PKG_CONFIG" && \
31678 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31679 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31680 ac_status=$?
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); }; then
31683 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31684 else
31685 pkg_failed=yes
31686 fi
31687 fi
31688 else
31689 pkg_failed=untried
31690 fi
31691
31692
31693
31694 if test $pkg_failed = yes; then
31695
31696 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31697 _pkg_short_errors_supported=yes
31698 else
31699 _pkg_short_errors_supported=no
31700 fi
31701 if test $_pkg_short_errors_supported = yes; then
31702 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31703 else
31704 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31705 fi
31706 # Put the nasty error message in config.log where it belongs
31707 echo "$PANGOXFT_PKG_ERRORS" >&5
31708
31709
31710 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31711 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31712
31713
31714 elif test $pkg_failed = untried; then
31715
31716 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31717 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31718
31719
31720 else
31721 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31722 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31723 { echo "$as_me:$LINENO: result: yes" >&5
31724 echo "${ECHO_T}yes" >&6; }
31725
31726 cat >>confdefs.h <<\_ACEOF
31727 #define HAVE_PANGO_XFT 1
31728 _ACEOF
31729
31730 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31731 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31732 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31733
31734 fi
31735 save_LIBS="$LIBS"
31736 LIBS="$LIBS $PANGOX_LIBS"
31737
31738 for ac_func in pango_font_family_is_monospace
31739 do
31740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31744 echo $ECHO_N "(cached) $ECHO_C" >&6
31745 else
31746 cat >conftest.$ac_ext <<_ACEOF
31747 /* confdefs.h. */
31748 _ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31754 #define $ac_func innocuous_$ac_func
31755
31756 /* System header to define __stub macros and hopefully few prototypes,
31757 which can conflict with char $ac_func (); below.
31758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31759 <limits.h> exists even on freestanding compilers. */
31760
31761 #ifdef __STDC__
31762 # include <limits.h>
31763 #else
31764 # include <assert.h>
31765 #endif
31766
31767 #undef $ac_func
31768
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31772 #ifdef __cplusplus
31773 extern "C"
31774 #endif
31775 char $ac_func ();
31776 /* The GNU C library defines this for functions which it implements
31777 to always fail with ENOSYS. Some functions are actually named
31778 something starting with __ and the normal name is an alias. */
31779 #if defined __stub_$ac_func || defined __stub___$ac_func
31780 choke me
31781 #endif
31782
31783 int
31784 main ()
31785 {
31786 return $ac_func ();
31787 ;
31788 return 0;
31789 }
31790 _ACEOF
31791 rm -f conftest.$ac_objext conftest$ac_exeext
31792 if { (ac_try="$ac_link"
31793 case "(($ac_try" in
31794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31795 *) ac_try_echo=$ac_try;;
31796 esac
31797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31798 (eval "$ac_link") 2>conftest.er1
31799 ac_status=$?
31800 grep -v '^ *+' conftest.er1 >conftest.err
31801 rm -f conftest.er1
31802 cat conftest.err >&5
31803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31804 (exit $ac_status); } && {
31805 test -z "$ac_c_werror_flag" ||
31806 test ! -s conftest.err
31807 } && test -s conftest$ac_exeext &&
31808 $as_test_x conftest$ac_exeext; then
31809 eval "$as_ac_var=yes"
31810 else
31811 echo "$as_me: failed program was:" >&5
31812 sed 's/^/| /' conftest.$ac_ext >&5
31813
31814 eval "$as_ac_var=no"
31815 fi
31816
31817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31818 conftest$ac_exeext conftest.$ac_ext
31819 fi
31820 ac_res=`eval echo '${'$as_ac_var'}'`
31821 { echo "$as_me:$LINENO: result: $ac_res" >&5
31822 echo "${ECHO_T}$ac_res" >&6; }
31823 if test `eval echo '${'$as_ac_var'}'` = yes; then
31824 cat >>confdefs.h <<_ACEOF
31825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31826 _ACEOF
31827
31828 fi
31829 done
31830
31831 LIBS="$save_LIBS"
31832 fi
31833
31834 wxUSE_UNIVERSAL="yes"
31835
31836 if test "$wxUSE_NANOX" = "yes"; then
31837 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31838 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"
31839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31840 else
31841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31842 fi
31843
31844 TOOLKIT=X11
31845 GUIDIST=X11_DIST
31846 fi
31847
31848 if test "$wxUSE_MOTIF" = 1; then
31849 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31850 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31851
31852 ac_find_includes=
31853 for ac_dir in $SEARCH_INCLUDE /usr/include;
31854 do
31855 if test -f "$ac_dir/Xm/Xm.h"; then
31856 ac_find_includes=$ac_dir
31857 break
31858 fi
31859 done
31860
31861 if test "$ac_find_includes" != "" ; then
31862 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31863 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31864
31865 if test "x$ac_find_includes" = "x/usr/include"; then
31866 ac_path_to_include=""
31867 else
31868 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31869 result=$?
31870 if test $result = 0; then
31871 ac_path_to_include=""
31872 else
31873 ac_path_to_include=" -I$ac_find_includes"
31874 fi
31875 fi
31876
31877 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31878 else
31879 save_CFLAGS=$CFLAGS
31880 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31881
31882 cat >conftest.$ac_ext <<_ACEOF
31883 /* confdefs.h. */
31884 _ACEOF
31885 cat confdefs.h >>conftest.$ac_ext
31886 cat >>conftest.$ac_ext <<_ACEOF
31887 /* end confdefs.h. */
31888
31889 #include <Xm/Xm.h>
31890
31891 int
31892 main ()
31893 {
31894
31895 int version;
31896 version = xmUseVersion;
31897
31898 ;
31899 return 0;
31900 }
31901 _ACEOF
31902 rm -f conftest.$ac_objext
31903 if { (ac_try="$ac_compile"
31904 case "(($ac_try" in
31905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31906 *) ac_try_echo=$ac_try;;
31907 esac
31908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31909 (eval "$ac_compile") 2>conftest.er1
31910 ac_status=$?
31911 grep -v '^ *+' conftest.er1 >conftest.err
31912 rm -f conftest.er1
31913 cat conftest.err >&5
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); } && {
31916 test -z "$ac_c_werror_flag" ||
31917 test ! -s conftest.err
31918 } && test -s conftest.$ac_objext; then
31919
31920 { echo "$as_me:$LINENO: result: found in default search path" >&5
31921 echo "${ECHO_T}found in default search path" >&6; }
31922 COMPILED_X_PROGRAM=1
31923
31924 else
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31927
31928
31929 { echo "$as_me:$LINENO: result: no" >&5
31930 echo "${ECHO_T}no" >&6; }
31931 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31932 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31933 { (exit 1); exit 1; }; }
31934
31935
31936 fi
31937
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939
31940 CFLAGS=$save_CFLAGS
31941 fi
31942
31943
31944 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31945 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31946
31947 ac_find_libraries=
31948 for ac_dir in $SEARCH_LIB;
31949 do
31950 for ac_extension in a so sl dylib dll.a; do
31951 if test -f "$ac_dir/libXm.$ac_extension"; then
31952 ac_find_libraries=$ac_dir
31953 break 2
31954 fi
31955 done
31956 done
31957
31958
31959 if test "x$ac_find_libraries" != "x" ; then
31960 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31961 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31962
31963
31964 if test "$ac_find_libraries" = "default location"; then
31965 ac_path_to_link=""
31966 else
31967 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31968 result=$?
31969 if test $result = 0; then
31970 ac_path_to_link=""
31971 else
31972 ac_path_to_link=" -L$ac_find_libraries"
31973 fi
31974 fi
31975
31976 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31977 else
31978 save_CFLAGS=$CFLAGS
31979 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31980 save_LIBS="$LIBS"
31981 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31982
31983 cat >conftest.$ac_ext <<_ACEOF
31984 /* confdefs.h. */
31985 _ACEOF
31986 cat confdefs.h >>conftest.$ac_ext
31987 cat >>conftest.$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31989
31990 #include <Xm/Xm.h>
31991
31992 int
31993 main ()
31994 {
31995
31996 int version;
31997 version = xmUseVersion;
31998
31999 ;
32000 return 0;
32001 }
32002 _ACEOF
32003 rm -f conftest.$ac_objext conftest$ac_exeext
32004 if { (ac_try="$ac_link"
32005 case "(($ac_try" in
32006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32007 *) ac_try_echo=$ac_try;;
32008 esac
32009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32010 (eval "$ac_link") 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } && {
32017 test -z "$ac_c_werror_flag" ||
32018 test ! -s conftest.err
32019 } && test -s conftest$ac_exeext &&
32020 $as_test_x conftest$ac_exeext; then
32021
32022 { echo "$as_me:$LINENO: result: found in default search path" >&5
32023 echo "${ECHO_T}found in default search path" >&6; }
32024 COMPILED_X_PROGRAM=1
32025
32026 else
32027 echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.$ac_ext >&5
32029
32030
32031 { echo "$as_me:$LINENO: result: no" >&5
32032 echo "${ECHO_T}no" >&6; }
32033 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32034 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32035 { (exit 1); exit 1; }; }
32036
32037
32038 fi
32039
32040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32041 conftest$ac_exeext conftest.$ac_ext
32042
32043 CFLAGS=$save_CFLAGS
32044 LIBS="$save_LIBS"
32045 fi
32046
32047 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32048 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32049 libp_link=""
32050 libsm_ice_link=""
32051 libs_found=0
32052 for libp in "" " -lXp"; do
32053 if test "$libs_found" = 0; then
32054 for libsm_ice in "" " -lSM -lICE"; do
32055 if test "$libs_found" = 0; then
32056 save_LIBS="$LIBS"
32057 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32058 save_CFLAGS=$CFLAGS
32059 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32060
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067
32068 #include <Xm/Xm.h>
32069 #include <Xm/List.h>
32070
32071 int
32072 main ()
32073 {
32074
32075 XmString string = NULL;
32076 Widget w = NULL;
32077 int position = 0;
32078 XmListAddItem(w, string, position);
32079
32080 ;
32081 return 0;
32082 }
32083 _ACEOF
32084 rm -f conftest.$ac_objext conftest$ac_exeext
32085 if { (ac_try="$ac_link"
32086 case "(($ac_try" in
32087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32088 *) ac_try_echo=$ac_try;;
32089 esac
32090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32091 (eval "$ac_link") 2>conftest.er1
32092 ac_status=$?
32093 grep -v '^ *+' conftest.er1 >conftest.err
32094 rm -f conftest.er1
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } && {
32098 test -z "$ac_c_werror_flag" ||
32099 test ! -s conftest.err
32100 } && test -s conftest$ac_exeext &&
32101 $as_test_x conftest$ac_exeext; then
32102
32103 libp_link="$libp"
32104 libsm_ice_link="$libsm_ice"
32105 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32106 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32107 libs_found=1
32108
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32112
32113
32114
32115 fi
32116
32117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32118 conftest$ac_exeext conftest.$ac_ext
32119
32120 LIBS="$save_LIBS"
32121 CFLAGS=$save_CFLAGS
32122 fi
32123 done
32124 fi
32125 done
32126
32127 if test "$libs_found" = 0; then
32128 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32129 echo "${ECHO_T}can't find the right libraries" >&6; }
32130 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32131 echo "$as_me: error: can't link a simple motif program" >&2;}
32132 { (exit 1); exit 1; }; }
32133 fi
32134
32135 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32136 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32137 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32139 else
32140 ac_check_lib_save_LIBS=$LIBS
32141 LIBS="-lSgm $LIBS"
32142 cat >conftest.$ac_ext <<_ACEOF
32143 /* confdefs.h. */
32144 _ACEOF
32145 cat confdefs.h >>conftest.$ac_ext
32146 cat >>conftest.$ac_ext <<_ACEOF
32147 /* end confdefs.h. */
32148
32149 /* Override any GCC internal prototype to avoid an error.
32150 Use char because int might match the return type of a GCC
32151 builtin and then its argument prototype would still apply. */
32152 #ifdef __cplusplus
32153 extern "C"
32154 #endif
32155 char SgCreateList ();
32156 int
32157 main ()
32158 {
32159 return SgCreateList ();
32160 ;
32161 return 0;
32162 }
32163 _ACEOF
32164 rm -f conftest.$ac_objext conftest$ac_exeext
32165 if { (ac_try="$ac_link"
32166 case "(($ac_try" in
32167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32168 *) ac_try_echo=$ac_try;;
32169 esac
32170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32171 (eval "$ac_link") 2>conftest.er1
32172 ac_status=$?
32173 grep -v '^ *+' conftest.er1 >conftest.err
32174 rm -f conftest.er1
32175 cat conftest.err >&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } && {
32178 test -z "$ac_c_werror_flag" ||
32179 test ! -s conftest.err
32180 } && test -s conftest$ac_exeext &&
32181 $as_test_x conftest$ac_exeext; then
32182 ac_cv_lib_Sgm_SgCreateList=yes
32183 else
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32186
32187 ac_cv_lib_Sgm_SgCreateList=no
32188 fi
32189
32190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32191 conftest$ac_exeext conftest.$ac_ext
32192 LIBS=$ac_check_lib_save_LIBS
32193 fi
32194 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32195 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32196 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32197 libsgm_link=" -lSgm"
32198 fi
32199
32200
32201 save_CFLAGS=$CFLAGS
32202 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32203
32204 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32205 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32206 if test "${wx_cv_lib_motif2+set}" = set; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 else
32209 cat >conftest.$ac_ext <<_ACEOF
32210 /* confdefs.h. */
32211 _ACEOF
32212 cat confdefs.h >>conftest.$ac_ext
32213 cat >>conftest.$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215
32216 #include <Xm/Xm.h>
32217
32218 int
32219 main ()
32220 {
32221
32222 #if XmVersion < 2000
32223 Not Motif 2
32224 #endif
32225
32226 ;
32227 return 0;
32228 }
32229 _ACEOF
32230 rm -f conftest.$ac_objext
32231 if { (ac_try="$ac_compile"
32232 case "(($ac_try" in
32233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32234 *) ac_try_echo=$ac_try;;
32235 esac
32236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32237 (eval "$ac_compile") 2>conftest.er1
32238 ac_status=$?
32239 grep -v '^ *+' conftest.er1 >conftest.err
32240 rm -f conftest.er1
32241 cat conftest.err >&5
32242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243 (exit $ac_status); } && {
32244 test -z "$ac_c_werror_flag" ||
32245 test ! -s conftest.err
32246 } && test -s conftest.$ac_objext; then
32247 wx_cv_lib_motif2="yes"
32248 else
32249 echo "$as_me: failed program was:" >&5
32250 sed 's/^/| /' conftest.$ac_ext >&5
32251
32252 wx_cv_lib_motif2="no"
32253 fi
32254
32255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 fi
32257 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32258 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32259 if test "$wx_cv_lib_motif2" = "yes"; then
32260 cat >>confdefs.h <<\_ACEOF
32261 #define __WXMOTIF20__ 1
32262 _ACEOF
32263
32264 else
32265 cat >>confdefs.h <<\_ACEOF
32266 #define __WXMOTIF20__ 0
32267 _ACEOF
32268
32269 fi
32270
32271 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32272 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32273 if test "${wx_cv_lib_lesstif+set}" = set; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276 cat >conftest.$ac_ext <<_ACEOF
32277 /* confdefs.h. */
32278 _ACEOF
32279 cat confdefs.h >>conftest.$ac_ext
32280 cat >>conftest.$ac_ext <<_ACEOF
32281 /* end confdefs.h. */
32282
32283 #include <Xm/Xm.h>
32284
32285 int
32286 main ()
32287 {
32288
32289 #if !defined(LesstifVersion) || LesstifVersion <= 0
32290 Not Lesstif
32291 #endif
32292
32293 ;
32294 return 0;
32295 }
32296 _ACEOF
32297 rm -f conftest.$ac_objext
32298 if { (ac_try="$ac_compile"
32299 case "(($ac_try" in
32300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32301 *) ac_try_echo=$ac_try;;
32302 esac
32303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32304 (eval "$ac_compile") 2>conftest.er1
32305 ac_status=$?
32306 grep -v '^ *+' conftest.er1 >conftest.err
32307 rm -f conftest.er1
32308 cat conftest.err >&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); } && {
32311 test -z "$ac_c_werror_flag" ||
32312 test ! -s conftest.err
32313 } && test -s conftest.$ac_objext; then
32314 wx_cv_lib_lesstif="yes"
32315 else
32316 echo "$as_me: failed program was:" >&5
32317 sed 's/^/| /' conftest.$ac_ext >&5
32318
32319 wx_cv_lib_lesstif="no"
32320 fi
32321
32322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32323
32324 fi
32325 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32326 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32327 if test "$wx_cv_lib_lesstif" = "yes"; then
32328 cat >>confdefs.h <<\_ACEOF
32329 #define __WXLESSTIF__ 1
32330 _ACEOF
32331
32332 else
32333 cat >>confdefs.h <<\_ACEOF
32334 #define __WXLESSTIF__ 0
32335 _ACEOF
32336
32337 fi
32338
32339 CFLAGS=$save_CFLAGS
32340
32341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32342 TOOLKIT=MOTIF
32343 GUIDIST=MOTIF_DIST
32344 fi
32345
32346 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32347 if test "$wxUSE_LIBXPM" = "sys"; then
32348 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32349 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32350
32351 ac_find_libraries=
32352 for ac_dir in $SEARCH_LIB;
32353 do
32354 for ac_extension in a so sl dylib dll.a; do
32355 if test -f "$ac_dir/libXpm.$ac_extension"; then
32356 ac_find_libraries=$ac_dir
32357 break 2
32358 fi
32359 done
32360 done
32361
32362 if test "$ac_find_libraries" != "" ; then
32363
32364 if test "$ac_find_libraries" = "default location"; then
32365 ac_path_to_link=""
32366 else
32367 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32368 result=$?
32369 if test $result = 0; then
32370 ac_path_to_link=""
32371 else
32372 ac_path_to_link=" -L$ac_find_libraries"
32373 fi
32374 fi
32375
32376 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32377 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32378 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32379
32380 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32381 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32382 if test "${wx_cv_x11_xpm_h+set}" = set; then
32383 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 else
32385
32386 save_CFLAGS=$CFLAGS
32387 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32388
32389 cat >conftest.$ac_ext <<_ACEOF
32390 /* confdefs.h. */
32391 _ACEOF
32392 cat confdefs.h >>conftest.$ac_ext
32393 cat >>conftest.$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32395
32396 #include <X11/xpm.h>
32397
32398 int
32399 main ()
32400 {
32401
32402 int version;
32403 version = XpmLibraryVersion();
32404
32405 ;
32406 return 0;
32407 }
32408 _ACEOF
32409 rm -f conftest.$ac_objext
32410 if { (ac_try="$ac_compile"
32411 case "(($ac_try" in
32412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32413 *) ac_try_echo=$ac_try;;
32414 esac
32415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32416 (eval "$ac_compile") 2>conftest.er1
32417 ac_status=$?
32418 grep -v '^ *+' conftest.er1 >conftest.err
32419 rm -f conftest.er1
32420 cat conftest.err >&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } && {
32423 test -z "$ac_c_werror_flag" ||
32424 test ! -s conftest.err
32425 } && test -s conftest.$ac_objext; then
32426 wx_cv_x11_xpm_h=yes
32427 else
32428 echo "$as_me: failed program was:" >&5
32429 sed 's/^/| /' conftest.$ac_ext >&5
32430
32431 wx_cv_x11_xpm_h=no
32432
32433 fi
32434
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436
32437 CFLAGS=$save_CFLAGS
32438
32439
32440 fi
32441 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32442 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32443
32444 if test $wx_cv_x11_xpm_h = "yes"; then
32445 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32446 cat >>confdefs.h <<\_ACEOF
32447 #define wxHAVE_LIB_XPM 1
32448 _ACEOF
32449
32450 else
32451 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32452 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32453 fi
32454 fi
32455
32456 fi
32457
32458 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32459 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32460 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32461 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 else
32463 ac_check_lib_save_LIBS=$LIBS
32464 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32465 cat >conftest.$ac_ext <<_ACEOF
32466 /* confdefs.h. */
32467 _ACEOF
32468 cat confdefs.h >>conftest.$ac_ext
32469 cat >>conftest.$ac_ext <<_ACEOF
32470 /* end confdefs.h. */
32471
32472 /* Override any GCC internal prototype to avoid an error.
32473 Use char because int might match the return type of a GCC
32474 builtin and then its argument prototype would still apply. */
32475 #ifdef __cplusplus
32476 extern "C"
32477 #endif
32478 char XShapeQueryExtension ();
32479 int
32480 main ()
32481 {
32482 return XShapeQueryExtension ();
32483 ;
32484 return 0;
32485 }
32486 _ACEOF
32487 rm -f conftest.$ac_objext conftest$ac_exeext
32488 if { (ac_try="$ac_link"
32489 case "(($ac_try" in
32490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32491 *) ac_try_echo=$ac_try;;
32492 esac
32493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32494 (eval "$ac_link") 2>conftest.er1
32495 ac_status=$?
32496 grep -v '^ *+' conftest.er1 >conftest.err
32497 rm -f conftest.er1
32498 cat conftest.err >&5
32499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32500 (exit $ac_status); } && {
32501 test -z "$ac_c_werror_flag" ||
32502 test ! -s conftest.err
32503 } && test -s conftest$ac_exeext &&
32504 $as_test_x conftest$ac_exeext; then
32505 ac_cv_lib_Xext_XShapeQueryExtension=yes
32506 else
32507 echo "$as_me: failed program was:" >&5
32508 sed 's/^/| /' conftest.$ac_ext >&5
32509
32510 ac_cv_lib_Xext_XShapeQueryExtension=no
32511 fi
32512
32513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32514 conftest$ac_exeext conftest.$ac_ext
32515 LIBS=$ac_check_lib_save_LIBS
32516 fi
32517 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32518 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32519 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32520
32521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32522 wxHAVE_XEXT_LIB=1
32523
32524 fi
32525
32526
32527 if test "$wxHAVE_XEXT_LIB" = 1; then
32528 save_CFLAGS="$CFLAGS"
32529 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32530
32531 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32532 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32533 cat >conftest.$ac_ext <<_ACEOF
32534 /* confdefs.h. */
32535 _ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539
32540 #include <X11/Xlib.h>
32541 #include <X11/extensions/shape.h>
32542
32543 int
32544 main ()
32545 {
32546
32547 int dummy1, dummy2;
32548 XShapeQueryExtension((Display*)NULL,
32549 (int*)NULL, (int*)NULL);
32550
32551 ;
32552 return 0;
32553 }
32554 _ACEOF
32555 rm -f conftest.$ac_objext
32556 if { (ac_try="$ac_compile"
32557 case "(($ac_try" in
32558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32559 *) ac_try_echo=$ac_try;;
32560 esac
32561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32562 (eval "$ac_compile") 2>conftest.er1
32563 ac_status=$?
32564 grep -v '^ *+' conftest.er1 >conftest.err
32565 rm -f conftest.er1
32566 cat conftest.err >&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); } && {
32569 test -z "$ac_c_werror_flag" ||
32570 test ! -s conftest.err
32571 } && test -s conftest.$ac_objext; then
32572
32573 cat >>confdefs.h <<\_ACEOF
32574 #define HAVE_XSHAPE 1
32575 _ACEOF
32576
32577 { echo "$as_me:$LINENO: result: found" >&5
32578 echo "${ECHO_T}found" >&6; }
32579
32580 else
32581 echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32583
32584
32585 { echo "$as_me:$LINENO: result: not found" >&5
32586 echo "${ECHO_T}not found" >&6; }
32587
32588 fi
32589
32590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32591 CFLAGS="$save_CFLAGS"
32592
32593 fi
32594 fi
32595
32596 if test "$wxUSE_OSX_CARBON" = 1; then
32597 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32598 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32599 if test "$GCC" = yes; then
32600 { echo "$as_me:$LINENO: result: gcc" >&5
32601 echo "${ECHO_T}gcc" >&6; }
32602 CPPFLAGS_PASCAL="-fpascal-strings"
32603 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32604 { echo "$as_me:$LINENO: result: xlc" >&5
32605 echo "${ECHO_T}xlc" >&6; }
32606 CPPFLAGS_PASCAL="-qmacpstr"
32607 else
32608 { echo "$as_me:$LINENO: result: none" >&5
32609 echo "${ECHO_T}none" >&6; }
32610 fi
32611
32612 if test "x$wxUSE_UNIX" = "xyes"; then
32613 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32614 else
32615 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32616 fi
32617
32618 TOOLKIT=OSX_CARBON
32619 GUIDIST=OSX_CARBON_DIST
32620 WXBASEPORT="_carbon"
32621 fi
32622
32623 if test "$wxUSE_OSX_COCOA" = 1; then
32624 TOOLKIT=OSX_COCOA
32625 GUIDIST=OSX_COCOA_DIST
32626 fi
32627
32628 if test "$wxUSE_COCOA" = 1; then
32629 TOOLKIT=COCOA
32630 GUIDIST=COCOA_DIST
32631 fi
32632
32633 if test "$wxUSE_PM" = 1; then
32634 TOOLKIT=PM
32635 GUIDIST=PM_DIST
32636 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32637 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32638 if test "${wx_cv_spbcdata+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32640 else
32641
32642 cat >conftest.$ac_ext <<_ACEOF
32643 /* confdefs.h. */
32644 _ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648
32649 #define INCL_PM
32650 #include <os2.h>
32651
32652 int
32653 main ()
32654 {
32655
32656 SPBCDATA test;
32657
32658 ;
32659 return 0;
32660 }
32661 _ACEOF
32662 rm -f conftest.$ac_objext
32663 if { (ac_try="$ac_compile"
32664 case "(($ac_try" in
32665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32666 *) ac_try_echo=$ac_try;;
32667 esac
32668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32669 (eval "$ac_compile") 2>conftest.er1
32670 ac_status=$?
32671 grep -v '^ *+' conftest.er1 >conftest.err
32672 rm -f conftest.er1
32673 cat conftest.err >&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); } && {
32676 test -z "$ac_c_werror_flag" ||
32677 test ! -s conftest.err
32678 } && test -s conftest.$ac_objext; then
32679 wx_cv_spbcdata=yes
32680 else
32681 echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32683
32684 wx_cv_spbcdata=no
32685
32686 fi
32687
32688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32689
32690
32691 fi
32692 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32693 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32694
32695 if test $wx_cv_spbcdata = "yes"; then
32696 cat >>confdefs.h <<\_ACEOF
32697 #define HAVE_SPBCDATA 1
32698 _ACEOF
32699
32700 fi
32701 fi
32702
32703 if test "$TOOLKIT" = "PM" ; then
32704 TOOLKIT_DIR="os2"
32705 else
32706 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32707 fi
32708
32709 if test "$wxUSE_UNIVERSAL" = "yes"; then
32710 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32711 WIDGET_SET=univ
32712 fi
32713
32714 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32715 DISTDIR="wx\$(TOOLKIT)"
32716 else
32717 USE_GUI=0
32718
32719 TOOLKIT_DIR="base"
32720
32721 if test "$USE_WIN32" = 1 ; then
32722 TOOLKIT="MSW"
32723 fi
32724
32725 GUIDIST="BASE_DIST"
32726 DISTDIR="wxBase"
32727 fi
32728
32729
32730
32731 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32732 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32733 wxUSE_UNICODE_UTF8=yes
32734 elif test "$USE_OS2" = 1 ; then
32735 wxUSE_UNICODE_UTF8=yes
32736 else
32737 wxUSE_UNICODE_UTF8=no
32738 fi
32739 fi
32740
32741
32742 if test "$wxUSE_GUI" = "yes"; then
32743 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32744
32745 for ac_header in X11/Xlib.h
32746 do
32747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32748 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32751 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 else
32753 cat >conftest.$ac_ext <<_ACEOF
32754 /* confdefs.h. */
32755 _ACEOF
32756 cat confdefs.h >>conftest.$ac_ext
32757 cat >>conftest.$ac_ext <<_ACEOF
32758 /* end confdefs.h. */
32759
32760
32761 #include <$ac_header>
32762 _ACEOF
32763 rm -f conftest.$ac_objext
32764 if { (ac_try="$ac_compile"
32765 case "(($ac_try" in
32766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32767 *) ac_try_echo=$ac_try;;
32768 esac
32769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32770 (eval "$ac_compile") 2>conftest.er1
32771 ac_status=$?
32772 grep -v '^ *+' conftest.er1 >conftest.err
32773 rm -f conftest.er1
32774 cat conftest.err >&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); } && {
32777 test -z "$ac_c_werror_flag" ||
32778 test ! -s conftest.err
32779 } && test -s conftest.$ac_objext; then
32780 eval "$as_ac_Header=yes"
32781 else
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32784
32785 eval "$as_ac_Header=no"
32786 fi
32787
32788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32789 fi
32790 ac_res=`eval echo '${'$as_ac_Header'}'`
32791 { echo "$as_me:$LINENO: result: $ac_res" >&5
32792 echo "${ECHO_T}$ac_res" >&6; }
32793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32794 cat >>confdefs.h <<_ACEOF
32795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32796 _ACEOF
32797
32798 fi
32799
32800 done
32801
32802
32803 for ac_header in X11/XKBlib.h
32804 do
32805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811 cat >conftest.$ac_ext <<_ACEOF
32812 /* confdefs.h. */
32813 _ACEOF
32814 cat confdefs.h >>conftest.$ac_ext
32815 cat >>conftest.$ac_ext <<_ACEOF
32816 /* end confdefs.h. */
32817
32818 #if HAVE_X11_XLIB_H
32819 #include <X11/Xlib.h>
32820 #endif
32821
32822
32823 #include <$ac_header>
32824 _ACEOF
32825 rm -f conftest.$ac_objext
32826 if { (ac_try="$ac_compile"
32827 case "(($ac_try" in
32828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32829 *) ac_try_echo=$ac_try;;
32830 esac
32831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32832 (eval "$ac_compile") 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } && {
32839 test -z "$ac_c_werror_flag" ||
32840 test ! -s conftest.err
32841 } && test -s conftest.$ac_objext; then
32842 eval "$as_ac_Header=yes"
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32846
32847 eval "$as_ac_Header=no"
32848 fi
32849
32850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32851 fi
32852 ac_res=`eval echo '${'$as_ac_Header'}'`
32853 { echo "$as_me:$LINENO: result: $ac_res" >&5
32854 echo "${ECHO_T}$ac_res" >&6; }
32855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32856 cat >>confdefs.h <<_ACEOF
32857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32858 _ACEOF
32859
32860 fi
32861
32862 done
32863
32864 fi
32865 fi
32866
32867
32868
32869 if test "$wxUSE_DISPLAY" = "yes"; then
32870 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32871 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32872 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32873
32874 ac_find_libraries=
32875 for ac_dir in $SEARCH_LIB;
32876 do
32877 for ac_extension in a so sl dylib dll.a; do
32878 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32879 ac_find_libraries=$ac_dir
32880 break 2
32881 fi
32882 done
32883 done
32884
32885 if test "$ac_find_libraries" != "" ; then
32886
32887 if test "$ac_find_libraries" = "default location"; then
32888 ac_path_to_link=""
32889 else
32890 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32891 result=$?
32892 if test $result = 0; then
32893 ac_path_to_link=""
32894 else
32895 ac_path_to_link=" -L$ac_find_libraries"
32896 fi
32897 fi
32898
32899 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32900 LDFLAGS="$LDFLAGS $ac_path_to_link"
32901 fi
32902 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32903 { echo "$as_me:$LINENO: result: yes" >&5
32904 echo "${ECHO_T}yes" >&6; }
32905
32906 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32907 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32908
32909 ac_find_libraries=
32910 for ac_dir in $SEARCH_LIB;
32911 do
32912 for ac_extension in a so sl dylib dll.a; do
32913 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32914 ac_find_libraries=$ac_dir
32915 break 2
32916 fi
32917 done
32918 done
32919
32920 if test "$ac_find_libraries" != "" ; then
32921 { echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6; }
32923
32924 for ac_header in X11/extensions/xf86vmode.h
32925 do
32926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32927 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32930 echo $ECHO_N "(cached) $ECHO_C" >&6
32931 else
32932 cat >conftest.$ac_ext <<_ACEOF
32933 /* confdefs.h. */
32934 _ACEOF
32935 cat confdefs.h >>conftest.$ac_ext
32936 cat >>conftest.$ac_ext <<_ACEOF
32937 /* end confdefs.h. */
32938
32939 #if HAVE_X11_XLIB_H
32940 #include <X11/Xlib.h>
32941 #endif
32942
32943
32944 #include <$ac_header>
32945 _ACEOF
32946 rm -f conftest.$ac_objext
32947 if { (ac_try="$ac_compile"
32948 case "(($ac_try" in
32949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32950 *) ac_try_echo=$ac_try;;
32951 esac
32952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32953 (eval "$ac_compile") 2>conftest.er1
32954 ac_status=$?
32955 grep -v '^ *+' conftest.er1 >conftest.err
32956 rm -f conftest.er1
32957 cat conftest.err >&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } && {
32960 test -z "$ac_c_werror_flag" ||
32961 test ! -s conftest.err
32962 } && test -s conftest.$ac_objext; then
32963 eval "$as_ac_Header=yes"
32964 else
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.$ac_ext >&5
32967
32968 eval "$as_ac_Header=no"
32969 fi
32970
32971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32972 fi
32973 ac_res=`eval echo '${'$as_ac_Header'}'`
32974 { echo "$as_me:$LINENO: result: $ac_res" >&5
32975 echo "${ECHO_T}$ac_res" >&6; }
32976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32977 cat >>confdefs.h <<_ACEOF
32978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32979 _ACEOF
32980
32981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32982
32983 fi
32984
32985 done
32986
32987 else
32988 { echo "$as_me:$LINENO: result: no" >&5
32989 echo "${ECHO_T}no" >&6; }
32990 fi
32991
32992 else
32993 { echo "$as_me:$LINENO: result: no" >&5
32994 echo "${ECHO_T}no" >&6; }
32995 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32996 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32997 wxUSE_DISPLAY="no"
32998 fi
32999 elif test "$wxUSE_MSW" = 1; then
33000 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33001 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33002 if test "${ac_cv_header_ddraw_h+set}" = set; then
33003 echo $ECHO_N "(cached) $ECHO_C" >&6
33004 else
33005 cat >conftest.$ac_ext <<_ACEOF
33006 /* confdefs.h. */
33007 _ACEOF
33008 cat confdefs.h >>conftest.$ac_ext
33009 cat >>conftest.$ac_ext <<_ACEOF
33010 /* end confdefs.h. */
33011 #include <windows.h>
33012
33013 #include <ddraw.h>
33014 _ACEOF
33015 rm -f conftest.$ac_objext
33016 if { (ac_try="$ac_compile"
33017 case "(($ac_try" in
33018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33019 *) ac_try_echo=$ac_try;;
33020 esac
33021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33022 (eval "$ac_compile") 2>conftest.er1
33023 ac_status=$?
33024 grep -v '^ *+' conftest.er1 >conftest.err
33025 rm -f conftest.er1
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } && {
33029 test -z "$ac_c_werror_flag" ||
33030 test ! -s conftest.err
33031 } && test -s conftest.$ac_objext; then
33032 ac_cv_header_ddraw_h=yes
33033 else
33034 echo "$as_me: failed program was:" >&5
33035 sed 's/^/| /' conftest.$ac_ext >&5
33036
33037 ac_cv_header_ddraw_h=no
33038 fi
33039
33040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33041 fi
33042 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33043 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33044
33045
33046 fi
33047 fi
33048
33049 if test "$wxUSE_DETECT_SM" = "yes"; then
33050 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33051 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33052 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33053
33054 ac_find_libraries=
33055 for ac_dir in $SEARCH_LIB;
33056 do
33057 for ac_extension in a so sl dylib dll.a; do
33058 if test -f "$ac_dir/libSM.$ac_extension"; then
33059 ac_find_libraries=$ac_dir
33060 break 2
33061 fi
33062 done
33063 done
33064
33065 if test "$ac_find_libraries" != "" ; then
33066
33067 if test "$ac_find_libraries" = "default location"; then
33068 ac_path_to_link=""
33069 else
33070 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33071 result=$?
33072 if test $result = 0; then
33073 ac_path_to_link=""
33074 else
33075 ac_path_to_link=" -L$ac_find_libraries"
33076 fi
33077 fi
33078
33079 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33080 LDFLAGS="$LDFLAGS $ac_path_to_link"
33081 fi
33082 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33083 { echo "$as_me:$LINENO: result: yes" >&5
33084 echo "${ECHO_T}yes" >&6; }
33085 else
33086 { echo "$as_me:$LINENO: result: no" >&5
33087 echo "${ECHO_T}no" >&6; }
33088 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33089 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33090 wxUSE_DETECT_SM="no"
33091 fi
33092 else
33093 wxUSE_DETECT_SM="no"
33094 fi
33095 fi
33096
33097
33098
33099 USE_OPENGL=0
33100 if test "$wxUSE_OPENGL" = "yes"; then
33101 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33102 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33103 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33104 wxUSE_OPENGL="no"
33105 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33106 OPENGL_LIBS="-framework OpenGL -framework AGL"
33107 elif test "$wxUSE_MSW" = 1; then
33108 OPENGL_LIBS="-lopengl32 -lglu32"
33109 else
33110 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33111 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33112
33113 ac_find_includes=
33114 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33115 do
33116 if test -f "$ac_dir/GL/gl.h"; then
33117 ac_find_includes=$ac_dir
33118 break
33119 fi
33120 done
33121
33122 if test "$ac_find_includes" != "" ; then
33123 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33124 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33125
33126 if test "x$ac_find_includes" = "x/usr/include"; then
33127 ac_path_to_include=""
33128 else
33129 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33130 result=$?
33131 if test $result = 0; then
33132 ac_path_to_include=""
33133 else
33134 ac_path_to_include=" -I$ac_find_includes"
33135 fi
33136 fi
33137
33138 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33139 else
33140 { echo "$as_me:$LINENO: result: not found" >&5
33141 echo "${ECHO_T}not found" >&6; }
33142 fi
33143
33144 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33145 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33146 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 else
33149 cat >conftest.$ac_ext <<_ACEOF
33150 /* confdefs.h. */
33151 _ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155
33156
33157 #include <GL/gl.h>
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_c_werror_flag" ||
33174 test ! -s conftest.err
33175 } && test -s conftest.$ac_objext; then
33176 ac_cv_header_GL_gl_h=yes
33177 else
33178 echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 ac_cv_header_GL_gl_h=no
33182 fi
33183
33184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185 fi
33186 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33187 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33188 if test $ac_cv_header_GL_gl_h = yes; then
33189
33190 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33191 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33192 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33193 echo $ECHO_N "(cached) $ECHO_C" >&6
33194 else
33195 cat >conftest.$ac_ext <<_ACEOF
33196 /* confdefs.h. */
33197 _ACEOF
33198 cat confdefs.h >>conftest.$ac_ext
33199 cat >>conftest.$ac_ext <<_ACEOF
33200 /* end confdefs.h. */
33201
33202
33203 #include <GL/glu.h>
33204 _ACEOF
33205 rm -f conftest.$ac_objext
33206 if { (ac_try="$ac_compile"
33207 case "(($ac_try" in
33208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33209 *) ac_try_echo=$ac_try;;
33210 esac
33211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33212 (eval "$ac_compile") 2>conftest.er1
33213 ac_status=$?
33214 grep -v '^ *+' conftest.er1 >conftest.err
33215 rm -f conftest.er1
33216 cat conftest.err >&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); } && {
33219 test -z "$ac_c_werror_flag" ||
33220 test ! -s conftest.err
33221 } && test -s conftest.$ac_objext; then
33222 ac_cv_header_GL_glu_h=yes
33223 else
33224 echo "$as_me: failed program was:" >&5
33225 sed 's/^/| /' conftest.$ac_ext >&5
33226
33227 ac_cv_header_GL_glu_h=no
33228 fi
33229
33230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33231 fi
33232 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33233 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33234 if test $ac_cv_header_GL_glu_h = yes; then
33235
33236 found_gl=0
33237
33238 { echo "$as_me:$LINENO: checking for -lGL" >&5
33239 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33240
33241 ac_find_libraries=
33242 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33243 do
33244 for ac_extension in a so sl dylib dll.a; do
33245 if test -f "$ac_dir/libGL.$ac_extension"; then
33246 ac_find_libraries=$ac_dir
33247 break 2
33248 fi
33249 done
33250 done
33251
33252 if test "$ac_find_libraries" != "" ; then
33253 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33254 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33255
33256
33257 if test "$ac_find_libraries" = "default location"; then
33258 ac_path_to_link=""
33259 else
33260 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33261 result=$?
33262 if test $result = 0; then
33263 ac_path_to_link=""
33264 else
33265 ac_path_to_link=" -L$ac_find_libraries"
33266 fi
33267 fi
33268
33269 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33270 LDFLAGS_GL="$ac_path_to_link"
33271 fi
33272
33273 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33274 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33275
33276 ac_find_libraries=
33277 for ac_dir in $SEARCH_LIB;
33278 do
33279 for ac_extension in a so sl dylib dll.a; do
33280 if test -f "$ac_dir/libGLU.$ac_extension"; then
33281 ac_find_libraries=$ac_dir
33282 break 2
33283 fi
33284 done
33285 done
33286
33287 if test "$ac_find_libraries" != "" ; then
33288
33289 if test "$ac_find_libraries" = "default location"; then
33290 ac_path_to_link=""
33291 else
33292 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33293 result=$?
33294 if test $result = 0; then
33295 ac_path_to_link=""
33296 else
33297 ac_path_to_link=" -L$ac_find_libraries"
33298 fi
33299 fi
33300
33301 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33302 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33303 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33304 fi
33305
33306 found_gl=1
33307 OPENGL_LIBS="-lGL -lGLU"
33308 { echo "$as_me:$LINENO: result: yes" >&5
33309 echo "${ECHO_T}yes" >&6; }
33310 else
33311 { echo "$as_me:$LINENO: result: no" >&5
33312 echo "${ECHO_T}no" >&6; }
33313 fi
33314 else
33315 { echo "$as_me:$LINENO: result: no" >&5
33316 echo "${ECHO_T}no" >&6; }
33317 fi
33318
33319 if test "$found_gl" != 1; then
33320 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33321 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33322
33323 ac_find_libraries=
33324 for ac_dir in $SEARCH_LIB;
33325 do
33326 for ac_extension in a so sl dylib dll.a; do
33327 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33328 ac_find_libraries=$ac_dir
33329 break 2
33330 fi
33331 done
33332 done
33333
33334 if test "$ac_find_libraries" != "" ; then
33335
33336 if test "$ac_find_libraries" = "default location"; then
33337 ac_path_to_link=""
33338 else
33339 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33340 result=$?
33341 if test $result = 0; then
33342 ac_path_to_link=""
33343 else
33344 ac_path_to_link=" -L$ac_find_libraries"
33345 fi
33346 fi
33347
33348 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33349 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33350 { echo "$as_me:$LINENO: result: yes" >&5
33351 echo "${ECHO_T}yes" >&6; }
33352 else
33353 { echo "$as_me:$LINENO: result: no" >&5
33354 echo "${ECHO_T}no" >&6; }
33355 fi
33356 fi
33357
33358 fi
33359
33360
33361
33362 fi
33363
33364
33365
33366 if test "x$OPENGL_LIBS" = "x"; then
33367 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33368 echo "$as_me: error: OpenGL libraries not available" >&2;}
33369 { (exit 1); exit 1; }; }
33370 fi
33371 fi
33372
33373 if test "$wxUSE_OPENGL" = "yes"; then
33374 USE_OPENGL=1
33375 cat >>confdefs.h <<\_ACEOF
33376 #define wxUSE_OPENGL 1
33377 _ACEOF
33378
33379 cat >>confdefs.h <<\_ACEOF
33380 #define wxUSE_GLCANVAS 1
33381 _ACEOF
33382
33383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33384 fi
33385 fi
33386
33387
33388 if test -n "$TOOLKIT" ; then
33389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33390 fi
33391
33392
33393
33394 if test "$wxUSE_SHARED" = "yes"; then
33395 case "${host}" in
33396 *-pc-msdosdjgpp )
33397 wxUSE_SHARED=no
33398 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33399 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33400 ;;
33401 esac
33402 fi
33403
33404 if test "$wxUSE_SHARED" = "yes"; then
33405
33406
33407 case "${host}" in
33408 *-*-cygwin* | *-*-mingw* )
33409 wx_cv_version_script=no
33410 ;;
33411
33412 *)
33413 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33414 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33415 if test "${wx_cv_version_script+set}" = set; then
33416 echo $ECHO_N "(cached) $ECHO_C" >&6
33417 else
33418
33419 echo "VER_1 { *; };" >conftest.sym
33420 echo "int main() { return 0; }" >conftest.cpp
33421
33422 if { ac_try='
33423 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33424 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426 (eval $ac_try) 2>&5
33427 ac_status=$?
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); }; } ; then
33430 if test -s conftest.stderr ; then
33431 wx_cv_version_script=no
33432 else
33433 wx_cv_version_script=yes
33434 fi
33435 else
33436 wx_cv_version_script=no
33437 fi
33438
33439 if test $wx_cv_version_script = yes
33440 then
33441 echo "struct B { virtual ~B() { } }; \
33442 struct D : public B { }; \
33443 void F() { D d; }" > conftest.cpp
33444
33445 if { ac_try='
33446 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33447 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; } &&
33453 { ac_try='
33454 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33455 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; }
33461 then
33462 if { ac_try='
33463 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33464 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; }
33470 then
33471 wx_cv_version_script=yes
33472 else
33473 wx_cv_version_script=no
33474 fi
33475 fi
33476 fi
33477
33478 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33479 rm -f conftest1.output conftest2.output conftest3.output
33480
33481 fi
33482 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33483 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33484
33485 if test $wx_cv_version_script = yes ; then
33486 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33487 fi
33488 ;;
33489 esac
33490
33491
33492 if test "$wxUSE_VISIBILITY" != "no"; then
33493
33494
33495 if test -n "$GCC"; then
33496 CFLAGS_VISIBILITY="-fvisibility=hidden"
33497 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33498 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33499 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33500 if test "${wx_cv_cc_visibility+set}" = set; then
33501 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 else
33503
33504 wx_save_CXXFLAGS="$CXXFLAGS"
33505 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33506 ac_ext=cpp
33507 ac_cpp='$CXXCPP $CPPFLAGS'
33508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511
33512 cat >conftest.$ac_ext <<_ACEOF
33513 /* confdefs.h. */
33514 _ACEOF
33515 cat confdefs.h >>conftest.$ac_ext
33516 cat >>conftest.$ac_ext <<_ACEOF
33517 /* end confdefs.h. */
33518
33519 /* we need gcc >= 4.0, older versions with visibility support
33520 didn't have class visibility: */
33521 #if defined(__GNUC__) && __GNUC__ < 4
33522 error this gcc is too old;
33523 #endif
33524
33525 /* visibility only makes sense for ELF shared libs: */
33526 #if !defined(__ELF__) && !defined(__APPLE__)
33527 error this platform has no visibility;
33528 #endif
33529
33530 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33531 extern __attribute__((__visibility__("default"))) int exportedvar;
33532 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33533 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33534 class __attribute__((__visibility__("default"))) Foo {
33535 Foo() {}
33536 };
33537
33538 int
33539 main ()
33540 {
33541
33542 ;
33543 return 0;
33544 }
33545 _ACEOF
33546 rm -f conftest.$ac_objext
33547 if { (ac_try="$ac_compile"
33548 case "(($ac_try" in
33549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33550 *) ac_try_echo=$ac_try;;
33551 esac
33552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33553 (eval "$ac_compile") 2>conftest.er1
33554 ac_status=$?
33555 grep -v '^ *+' conftest.er1 >conftest.err
33556 rm -f conftest.er1
33557 cat conftest.err >&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } && {
33560 test -z "$ac_cxx_werror_flag" ||
33561 test ! -s conftest.err
33562 } && test -s conftest.$ac_objext; then
33563 wx_cv_cc_visibility=yes
33564 else
33565 echo "$as_me: failed program was:" >&5
33566 sed 's/^/| /' conftest.$ac_ext >&5
33567
33568 wx_cv_cc_visibility=no
33569 fi
33570
33571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33572 ac_ext=c
33573 ac_cpp='$CPP $CPPFLAGS'
33574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33577
33578 CXXFLAGS="$wx_save_CXXFLAGS"
33579 fi
33580
33581 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33582 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33583 if test $wx_cv_cc_visibility = yes; then
33584 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33585 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33586 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33587 echo $ECHO_N "(cached) $ECHO_C" >&6
33588 else
33589
33590 wx_save_CXXFLAGS="$CXXFLAGS"
33591 wx_save_LDFLAGS="$LDFLAGS"
33592 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33593 LDFLAGS="$LDFLAGS -shared -fPIC"
33594 ac_ext=cpp
33595 ac_cpp='$CXXCPP $CPPFLAGS'
33596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33599
33600 cat >conftest.$ac_ext <<_ACEOF
33601 /* confdefs.h. */
33602 _ACEOF
33603 cat confdefs.h >>conftest.$ac_ext
33604 cat >>conftest.$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33606
33607 #include <string>
33608
33609 int
33610 main ()
33611 {
33612
33613 std::string s("hello");
33614 return s.length();
33615
33616 ;
33617 return 0;
33618 }
33619 _ACEOF
33620 rm -f conftest.$ac_objext conftest$ac_exeext
33621 if { (ac_try="$ac_link"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33625 esac
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_link") 2>conftest.er1
33628 ac_status=$?
33629 grep -v '^ *+' conftest.er1 >conftest.err
33630 rm -f conftest.er1
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_cxx_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest$ac_exeext &&
33637 $as_test_x conftest$ac_exeext; then
33638 wx_cv_cc_broken_libstdcxx_visibility=no
33639 else
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33642
33643 wx_cv_cc_broken_libstdcxx_visibility=yes
33644 fi
33645
33646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33647 conftest$ac_exeext conftest.$ac_ext
33648 ac_ext=c
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33653
33654 CXXFLAGS="$wx_save_CXXFLAGS"
33655 LDFLAGS="$wx_save_LDFLAGS"
33656 fi
33657
33658 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33659 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33660
33661 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33662 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33663 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33664 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 else
33667
33668 ac_ext=cpp
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33673
33674 cat >conftest.$ac_ext <<_ACEOF
33675 /* confdefs.h. */
33676 _ACEOF
33677 cat confdefs.h >>conftest.$ac_ext
33678 cat >>conftest.$ac_ext <<_ACEOF
33679 /* end confdefs.h. */
33680
33681 #pragma GCC visibility push(default)
33682 #include <string>
33683 #pragma GCC visibility pop
33684
33685 int
33686 main ()
33687 {
33688
33689 std::string s("hello");
33690 return s.length();
33691
33692 ;
33693 return 0;
33694 }
33695 _ACEOF
33696 rm -f conftest.$ac_objext conftest$ac_exeext
33697 if { (ac_try="$ac_link"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33701 esac
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_link") 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_cxx_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest$ac_exeext &&
33713 $as_test_x conftest$ac_exeext; then
33714 wx_cv_cc_visibility_workaround=no
33715 else
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.$ac_ext >&5
33718
33719 wx_cv_cc_visibility_workaround=yes
33720 fi
33721
33722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33723 conftest$ac_exeext conftest.$ac_ext
33724 ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729
33730
33731 fi
33732
33733 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33734 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33735
33736 if test $wx_cv_cc_visibility_workaround = no; then
33737 wx_cv_cc_visibility=no
33738 fi
33739 fi
33740 fi
33741
33742 if test $wx_cv_cc_visibility = yes; then
33743 cat >>confdefs.h <<\_ACEOF
33744 #define HAVE_VISIBILITY 1
33745 _ACEOF
33746
33747 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33748 cat >>confdefs.h <<\_ACEOF
33749 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33750 _ACEOF
33751
33752 fi
33753 else
33754 CFLAGS_VISIBILITY=""
33755 CXXFLAGS_VISIBILITY=""
33756 fi
33757
33758
33759 fi
33760
33761 fi
33762
33763 if test "x$SUNCXX" = xyes; then
33764 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33765 WXCONFIG_RPATH="-R\$libdir"
33766 else
33767 case "${host}" in
33768 *-*-linux* | *-*-gnu* )
33769 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33770 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33771 ;;
33772
33773 *-*-solaris2* )
33774
33775 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33776
33777 saveLdflags="$LDFLAGS"
33778 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33779 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33780 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33781 cat >conftest.$ac_ext <<_ACEOF
33782 /* confdefs.h. */
33783 _ACEOF
33784 cat confdefs.h >>conftest.$ac_ext
33785 cat >>conftest.$ac_ext <<_ACEOF
33786 /* end confdefs.h. */
33787
33788 int
33789 main ()
33790 {
33791
33792 ;
33793 return 0;
33794 }
33795 _ACEOF
33796 rm -f conftest.$ac_objext conftest$ac_exeext
33797 if { (ac_try="$ac_link"
33798 case "(($ac_try" in
33799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33800 *) ac_try_echo=$ac_try;;
33801 esac
33802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33803 (eval "$ac_link") 2>conftest.er1
33804 ac_status=$?
33805 grep -v '^ *+' conftest.er1 >conftest.err
33806 rm -f conftest.er1
33807 cat conftest.err >&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } && {
33810 test -z "$ac_c_werror_flag" ||
33811 test ! -s conftest.err
33812 } && test -s conftest$ac_exeext &&
33813 $as_test_x conftest$ac_exeext; then
33814
33815 { echo "$as_me:$LINENO: result: yes" >&5
33816 echo "${ECHO_T}yes" >&6; }
33817 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33818 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33819
33820 else
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.$ac_ext >&5
33823
33824
33825 { echo "$as_me:$LINENO: result: no" >&5
33826 echo "${ECHO_T}no" >&6; }
33827 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33828 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33829 LDFLAGS="$saveLdflags -Wl,-R,/"
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836
33837 int
33838 main ()
33839 {
33840
33841 ;
33842 return 0;
33843 }
33844 _ACEOF
33845 rm -f conftest.$ac_objext conftest$ac_exeext
33846 if { (ac_try="$ac_link"
33847 case "(($ac_try" in
33848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33849 *) ac_try_echo=$ac_try;;
33850 esac
33851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33852 (eval "$ac_link") 2>conftest.er1
33853 ac_status=$?
33854 grep -v '^ *+' conftest.er1 >conftest.err
33855 rm -f conftest.er1
33856 cat conftest.err >&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); } && {
33859 test -z "$ac_c_werror_flag" ||
33860 test ! -s conftest.err
33861 } && test -s conftest$ac_exeext &&
33862 $as_test_x conftest$ac_exeext; then
33863
33864 { echo "$as_me:$LINENO: result: yes" >&5
33865 echo "${ECHO_T}yes" >&6; }
33866 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33867 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33868
33869 else
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33872
33873
33874 { echo "$as_me:$LINENO: result: no" >&5
33875 echo "${ECHO_T}no" >&6; }
33876
33877 fi
33878
33879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33880 conftest$ac_exeext conftest.$ac_ext
33881
33882 fi
33883
33884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33885 conftest$ac_exeext conftest.$ac_ext
33886 LDFLAGS="$saveLdflags"
33887 ;;
33888
33889 *-*-darwin* )
33890 install_name_tool=`which install_name_tool`
33891 if test "$install_name_tool" -a -x "$install_name_tool"; then
33892 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33893 cat <<EOF >change-install-names
33894 #!/bin/sh
33895 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33896 inst_cmd="install_name_tool "
33897 for i in \${libnames} ; do
33898 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33899 done
33900 \${inst_cmd} \${3}
33901 EOF
33902 chmod +x change-install-names
33903 fi
33904 ;;
33905
33906 *-*-cygwin* | *-*-mingw32* )
33907 ;;
33908
33909 *-*-hpux* )
33910 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33911 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33912 ;;
33913
33914 esac
33915 fi
33916
33917 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33918
33919 if test $wxUSE_RPATH = "no"; then
33920 SAMPLES_RPATH_FLAG=''
33921 SAMPLES_RPATH_POSTLINK=''
33922 WXCONFIG_RPATH=''
33923 fi
33924
33925 SHARED=1
33926
33927 else
33928
33929 config_linkage_component="-static"
33930 SHARED=0
33931
33932 fi
33933
33934
33935 UNICODE=0
33936 lib_unicode_suffix=
33937 WX_CHARTYPE="ansi"
33938 if test "$wxUSE_UNICODE" = "yes"; then
33939 lib_unicode_suffix=u
33940 WX_CHARTYPE="unicode"
33941 UNICODE=1
33942 fi
33943
33944 lib_debug_suffix=
33945 WX_DEBUGTYPE="release"
33946 DEBUG_FLAG=0
33947 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33948 lib_debug_suffix=d
33949 WX_DEBUGTYPE="debug"
33950 DEBUG_FLAG=1
33951 fi
33952
33953 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33954 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33955
33956 DEBUG_INFO=0
33957 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33958 DEBUG_INFO=1
33959 fi
33960
33961 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33962
33963 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33964
33965 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33966
33967 if test "$cross_compiling" = "yes"; then
33968 HOST_SUFFIX="-$host_alias"
33969 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33970 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33971 fi
33972
33973 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33974 if test "${TOOLKIT_DIR}" = "os2"; then
33975 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33976 else
33977 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33978 fi
33979
33980
33981
33982 if test "$wxUSE_COCOA" = 1; then
33983
33984 ac_ext=c
33985 ac_cpp='$CPP $CPPFLAGS'
33986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989
33990 ac_ext=m
33991
33992 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33993 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33994 cat >conftest.$ac_ext <<_ACEOF
33995 /* confdefs.h. */
33996 _ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 #include <AppKit/NSEvent.h>
34001 #include <CoreFoundation/CoreFoundation.h>
34002
34003 int
34004 main ()
34005 {
34006
34007 ;
34008 return 0;
34009 }
34010 _ACEOF
34011 rm -f conftest.$ac_objext
34012 if { (ac_try="$ac_compile"
34013 case "(($ac_try" in
34014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34015 *) ac_try_echo=$ac_try;;
34016 esac
34017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34018 (eval "$ac_compile") 2>conftest.er1
34019 ac_status=$?
34020 grep -v '^ *+' conftest.er1 >conftest.err
34021 rm -f conftest.er1
34022 cat conftest.err >&5
34023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34024 (exit $ac_status); } && {
34025 test -z "$ac_c_werror_flag" ||
34026 test ! -s conftest.err
34027 } && test -s conftest.$ac_objext; then
34028 { echo "$as_me:$LINENO: result: no" >&5
34029 echo "${ECHO_T}no" >&6; }
34030 else
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 { echo "$as_me:$LINENO: result: yes" >&5
34035 echo "${ECHO_T}yes" >&6; }
34036 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34037 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34038 cat >conftest.$ac_ext <<_ACEOF
34039 /* confdefs.h. */
34040 _ACEOF
34041 cat confdefs.h >>conftest.$ac_ext
34042 cat >>conftest.$ac_ext <<_ACEOF
34043 /* end confdefs.h. */
34044 #define __Point__ 1
34045 #include <AppKit/NSEvent.h>
34046 #include <CoreFoundation/CoreFoundation.h>
34047
34048 int
34049 main ()
34050 {
34051
34052 ;
34053 return 0;
34054 }
34055 _ACEOF
34056 rm -f conftest.$ac_objext
34057 if { (ac_try="$ac_compile"
34058 case "(($ac_try" in
34059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34060 *) ac_try_echo=$ac_try;;
34061 esac
34062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34063 (eval "$ac_compile") 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } && {
34070 test -z "$ac_c_werror_flag" ||
34071 test ! -s conftest.err
34072 } && test -s conftest.$ac_objext; then
34073 { echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6; }
34075 cat >>confdefs.h <<\_ACEOF
34076 #define __Point__ 1
34077 _ACEOF
34078
34079
34080 else
34081 echo "$as_me: failed program was:" >&5
34082 sed 's/^/| /' conftest.$ac_ext >&5
34083
34084 { { echo "$as_me:$LINENO: error: no
34085 See \`config.log' for more details." >&5
34086 echo "$as_me: error: no
34087 See \`config.log' for more details." >&2;}
34088 { (exit 1); exit 1; }; }
34089
34090 fi
34091
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093
34094 fi
34095
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097 ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103 fi
34104
34105
34106 { echo "$as_me:$LINENO: checking for mode_t" >&5
34107 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34108 if test "${ac_cv_type_mode_t+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 $ac_includes_default
34118 typedef mode_t ac__type_new_;
34119 int
34120 main ()
34121 {
34122 if ((ac__type_new_ *) 0)
34123 return 0;
34124 if (sizeof (ac__type_new_))
34125 return 0;
34126 ;
34127 return 0;
34128 }
34129 _ACEOF
34130 rm -f conftest.$ac_objext
34131 if { (ac_try="$ac_compile"
34132 case "(($ac_try" in
34133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34134 *) ac_try_echo=$ac_try;;
34135 esac
34136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34137 (eval "$ac_compile") 2>conftest.er1
34138 ac_status=$?
34139 grep -v '^ *+' conftest.er1 >conftest.err
34140 rm -f conftest.er1
34141 cat conftest.err >&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); } && {
34144 test -z "$ac_c_werror_flag" ||
34145 test ! -s conftest.err
34146 } && test -s conftest.$ac_objext; then
34147 ac_cv_type_mode_t=yes
34148 else
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.$ac_ext >&5
34151
34152 ac_cv_type_mode_t=no
34153 fi
34154
34155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34156 fi
34157 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34158 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34159 if test $ac_cv_type_mode_t = yes; then
34160 :
34161 else
34162
34163 cat >>confdefs.h <<_ACEOF
34164 #define mode_t int
34165 _ACEOF
34166
34167 fi
34168
34169 { echo "$as_me:$LINENO: checking for off_t" >&5
34170 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34171 if test "${ac_cv_type_off_t+set}" = set; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34173 else
34174 cat >conftest.$ac_ext <<_ACEOF
34175 /* confdefs.h. */
34176 _ACEOF
34177 cat confdefs.h >>conftest.$ac_ext
34178 cat >>conftest.$ac_ext <<_ACEOF
34179 /* end confdefs.h. */
34180 $ac_includes_default
34181 typedef off_t ac__type_new_;
34182 int
34183 main ()
34184 {
34185 if ((ac__type_new_ *) 0)
34186 return 0;
34187 if (sizeof (ac__type_new_))
34188 return 0;
34189 ;
34190 return 0;
34191 }
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (ac_try="$ac_compile"
34195 case "(($ac_try" in
34196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34197 *) ac_try_echo=$ac_try;;
34198 esac
34199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34200 (eval "$ac_compile") 2>conftest.er1
34201 ac_status=$?
34202 grep -v '^ *+' conftest.er1 >conftest.err
34203 rm -f conftest.er1
34204 cat conftest.err >&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } && {
34207 test -z "$ac_c_werror_flag" ||
34208 test ! -s conftest.err
34209 } && test -s conftest.$ac_objext; then
34210 ac_cv_type_off_t=yes
34211 else
34212 echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.$ac_ext >&5
34214
34215 ac_cv_type_off_t=no
34216 fi
34217
34218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219 fi
34220 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34221 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34222 if test $ac_cv_type_off_t = yes; then
34223 :
34224 else
34225
34226 cat >>confdefs.h <<_ACEOF
34227 #define off_t long int
34228 _ACEOF
34229
34230 fi
34231
34232 { echo "$as_me:$LINENO: checking for pid_t" >&5
34233 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34234 if test "${ac_cv_type_pid_t+set}" = set; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 else
34237 cat >conftest.$ac_ext <<_ACEOF
34238 /* confdefs.h. */
34239 _ACEOF
34240 cat confdefs.h >>conftest.$ac_ext
34241 cat >>conftest.$ac_ext <<_ACEOF
34242 /* end confdefs.h. */
34243 $ac_includes_default
34244 typedef pid_t ac__type_new_;
34245 int
34246 main ()
34247 {
34248 if ((ac__type_new_ *) 0)
34249 return 0;
34250 if (sizeof (ac__type_new_))
34251 return 0;
34252 ;
34253 return 0;
34254 }
34255 _ACEOF
34256 rm -f conftest.$ac_objext
34257 if { (ac_try="$ac_compile"
34258 case "(($ac_try" in
34259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34260 *) ac_try_echo=$ac_try;;
34261 esac
34262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34263 (eval "$ac_compile") 2>conftest.er1
34264 ac_status=$?
34265 grep -v '^ *+' conftest.er1 >conftest.err
34266 rm -f conftest.er1
34267 cat conftest.err >&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); } && {
34270 test -z "$ac_c_werror_flag" ||
34271 test ! -s conftest.err
34272 } && test -s conftest.$ac_objext; then
34273 ac_cv_type_pid_t=yes
34274 else
34275 echo "$as_me: failed program was:" >&5
34276 sed 's/^/| /' conftest.$ac_ext >&5
34277
34278 ac_cv_type_pid_t=no
34279 fi
34280
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 fi
34283 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34284 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34285 if test $ac_cv_type_pid_t = yes; then
34286 :
34287 else
34288
34289 cat >>confdefs.h <<_ACEOF
34290 #define pid_t int
34291 _ACEOF
34292
34293 fi
34294
34295 { echo "$as_me:$LINENO: checking for size_t" >&5
34296 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34297 if test "${ac_cv_type_size_t+set}" = set; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 else
34300 cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h. */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h. */
34306 $ac_includes_default
34307 typedef size_t ac__type_new_;
34308 int
34309 main ()
34310 {
34311 if ((ac__type_new_ *) 0)
34312 return 0;
34313 if (sizeof (ac__type_new_))
34314 return 0;
34315 ;
34316 return 0;
34317 }
34318 _ACEOF
34319 rm -f conftest.$ac_objext
34320 if { (ac_try="$ac_compile"
34321 case "(($ac_try" in
34322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34323 *) ac_try_echo=$ac_try;;
34324 esac
34325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34326 (eval "$ac_compile") 2>conftest.er1
34327 ac_status=$?
34328 grep -v '^ *+' conftest.er1 >conftest.err
34329 rm -f conftest.er1
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } && {
34333 test -z "$ac_c_werror_flag" ||
34334 test ! -s conftest.err
34335 } && test -s conftest.$ac_objext; then
34336 ac_cv_type_size_t=yes
34337 else
34338 echo "$as_me: failed program was:" >&5
34339 sed 's/^/| /' conftest.$ac_ext >&5
34340
34341 ac_cv_type_size_t=no
34342 fi
34343
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345 fi
34346 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34347 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34348 if test $ac_cv_type_size_t = yes; then
34349 :
34350 else
34351
34352 cat >>confdefs.h <<_ACEOF
34353 #define size_t unsigned int
34354 _ACEOF
34355
34356 fi
34357
34358
34359 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34360 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34361 if test "${ac_cv_type_ssize_t+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34363 else
34364 cat >conftest.$ac_ext <<_ACEOF
34365 /* confdefs.h. */
34366 _ACEOF
34367 cat confdefs.h >>conftest.$ac_ext
34368 cat >>conftest.$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34370 $ac_includes_default
34371 typedef ssize_t ac__type_new_;
34372 int
34373 main ()
34374 {
34375 if ((ac__type_new_ *) 0)
34376 return 0;
34377 if (sizeof (ac__type_new_))
34378 return 0;
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext
34384 if { (ac_try="$ac_compile"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_compile") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest.$ac_objext; then
34400 ac_cv_type_ssize_t=yes
34401 else
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.$ac_ext >&5
34404
34405 ac_cv_type_ssize_t=no
34406 fi
34407
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 fi
34410 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34411 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34412 if test $ac_cv_type_ssize_t = yes; then
34413
34414 cat >>confdefs.h <<_ACEOF
34415 #define HAVE_SSIZE_T 1
34416 _ACEOF
34417
34418
34419 fi
34420
34421
34422 ac_ext=cpp
34423 ac_cpp='$CXXCPP $CPPFLAGS'
34424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34427 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34428 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34429 if test "${wx_cv_size_t_is_uint+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 else
34432
34433 cat >conftest.$ac_ext <<_ACEOF
34434 /* confdefs.h. */
34435 _ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439 #include <stddef.h>
34440 int
34441 main ()
34442 {
34443
34444 return 0; }
34445
34446 struct Foo { void foo(size_t); void foo(unsigned int); };
34447
34448 int bar() {
34449
34450 ;
34451 return 0;
34452 }
34453 _ACEOF
34454 rm -f conftest.$ac_objext
34455 if { (ac_try="$ac_compile"
34456 case "(($ac_try" in
34457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34458 *) ac_try_echo=$ac_try;;
34459 esac
34460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34461 (eval "$ac_compile") 2>conftest.er1
34462 ac_status=$?
34463 grep -v '^ *+' conftest.er1 >conftest.err
34464 rm -f conftest.er1
34465 cat conftest.err >&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } && {
34468 test -z "$ac_cxx_werror_flag" ||
34469 test ! -s conftest.err
34470 } && test -s conftest.$ac_objext; then
34471 wx_cv_size_t_is_uint=no
34472 else
34473 echo "$as_me: failed program was:" >&5
34474 sed 's/^/| /' conftest.$ac_ext >&5
34475
34476 wx_cv_size_t_is_uint=yes
34477
34478 fi
34479
34480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34481
34482
34483 fi
34484 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34485 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34486
34487 if test "$wx_cv_size_t_is_uint" = "yes"; then
34488 cat >>confdefs.h <<\_ACEOF
34489 #define wxSIZE_T_IS_UINT 1
34490 _ACEOF
34491
34492 else
34493 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34494 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34495 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34496 echo $ECHO_N "(cached) $ECHO_C" >&6
34497 else
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504 #include <stddef.h>
34505 int
34506 main ()
34507 {
34508
34509 return 0; }
34510
34511 struct Foo { void foo(size_t); void foo(unsigned long); };
34512
34513 int bar() {
34514
34515 ;
34516 return 0;
34517 }
34518 _ACEOF
34519 rm -f conftest.$ac_objext
34520 if { (ac_try="$ac_compile"
34521 case "(($ac_try" in
34522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34523 *) ac_try_echo=$ac_try;;
34524 esac
34525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34526 (eval "$ac_compile") 2>conftest.er1
34527 ac_status=$?
34528 grep -v '^ *+' conftest.er1 >conftest.err
34529 rm -f conftest.er1
34530 cat conftest.err >&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } && {
34533 test -z "$ac_cxx_werror_flag" ||
34534 test ! -s conftest.err
34535 } && test -s conftest.$ac_objext; then
34536 wx_cv_size_t_is_ulong=no
34537 else
34538 echo "$as_me: failed program was:" >&5
34539 sed 's/^/| /' conftest.$ac_ext >&5
34540
34541 wx_cv_size_t_is_ulong=yes
34542
34543 fi
34544
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546
34547 fi
34548 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34549 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34550
34551 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34552 cat >>confdefs.h <<\_ACEOF
34553 #define wxSIZE_T_IS_ULONG 1
34554 _ACEOF
34555
34556 fi
34557 fi
34558
34559 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34560 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34561 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 cat >conftest.$ac_ext <<_ACEOF
34565 /* confdefs.h. */
34566 _ACEOF
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 #include <wchar.h>
34571 int
34572 main ()
34573 {
34574
34575 return 0; }
34576
34577 struct Foo { void foo(wchar_t);
34578 void foo(unsigned short);
34579 void foo(unsigned int);
34580 void foo(unsigned long); };
34581
34582 int bar() {
34583
34584 ;
34585 return 0;
34586 }
34587 _ACEOF
34588 rm -f conftest.$ac_objext
34589 if { (ac_try="$ac_compile"
34590 case "(($ac_try" in
34591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34593 esac
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_compile") 2>conftest.er1
34596 ac_status=$?
34597 grep -v '^ *+' conftest.er1 >conftest.err
34598 rm -f conftest.er1
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } && {
34602 test -z "$ac_cxx_werror_flag" ||
34603 test ! -s conftest.err
34604 } && test -s conftest.$ac_objext; then
34605 wx_cv_wchar_t_is_separate_type=yes
34606 else
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.$ac_ext >&5
34609
34610 wx_cv_wchar_t_is_separate_type=no
34611
34612 fi
34613
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615
34616 fi
34617 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34618 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34619
34620 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34621 cat >>confdefs.h <<\_ACEOF
34622 #define wxWCHAR_T_IS_REAL_TYPE 1
34623 _ACEOF
34624
34625 else
34626 cat >>confdefs.h <<\_ACEOF
34627 #define wxWCHAR_T_IS_REAL_TYPE 0
34628 _ACEOF
34629
34630 fi
34631
34632 ac_ext=c
34633 ac_cpp='$CPP $CPPFLAGS'
34634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34637
34638
34639 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34640 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34641 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34642 echo $ECHO_N "(cached) $ECHO_C" >&6
34643 else
34644
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 #include <pwd.h>
34652 int
34653 main ()
34654 {
34655
34656 char *p;
34657 struct passwd *pw;
34658 p = pw->pw_gecos;
34659
34660 ;
34661 return 0;
34662 }
34663 _ACEOF
34664 rm -f conftest.$ac_objext
34665 if { (ac_try="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34669 esac
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34672 ac_status=$?
34673 grep -v '^ *+' conftest.er1 >conftest.err
34674 rm -f conftest.er1
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681
34682 wx_cv_struct_pw_gecos=yes
34683
34684 else
34685 echo "$as_me: failed program was:" >&5
34686 sed 's/^/| /' conftest.$ac_ext >&5
34687
34688
34689 wx_cv_struct_pw_gecos=no
34690
34691
34692 fi
34693
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695
34696
34697 fi
34698 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34699 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34700
34701 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34702 cat >>confdefs.h <<\_ACEOF
34703 #define HAVE_PW_GECOS 1
34704 _ACEOF
34705
34706 fi
34707
34708
34709 if test "$wxUSE_WCHAR_T" = "yes"; then
34710 cat >>confdefs.h <<\_ACEOF
34711 #define wxUSE_WCHAR_T 1
34712 _ACEOF
34713
34714
34715 WCSLEN_FOUND=0
34716 WCHAR_LINK=
34717
34718 for ac_func in wcslen
34719 do
34720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34725 else
34726 cat >conftest.$ac_ext <<_ACEOF
34727 /* confdefs.h. */
34728 _ACEOF
34729 cat confdefs.h >>conftest.$ac_ext
34730 cat >>conftest.$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34734 #define $ac_func innocuous_$ac_func
34735
34736 /* System header to define __stub macros and hopefully few prototypes,
34737 which can conflict with char $ac_func (); below.
34738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34739 <limits.h> exists even on freestanding compilers. */
34740
34741 #ifdef __STDC__
34742 # include <limits.h>
34743 #else
34744 # include <assert.h>
34745 #endif
34746
34747 #undef $ac_func
34748
34749 /* Override any GCC internal prototype to avoid an error.
34750 Use char because int might match the return type of a GCC
34751 builtin and then its argument prototype would still apply. */
34752 #ifdef __cplusplus
34753 extern "C"
34754 #endif
34755 char $ac_func ();
34756 /* The GNU C library defines this for functions which it implements
34757 to always fail with ENOSYS. Some functions are actually named
34758 something starting with __ and the normal name is an alias. */
34759 #if defined __stub_$ac_func || defined __stub___$ac_func
34760 choke me
34761 #endif
34762
34763 int
34764 main ()
34765 {
34766 return $ac_func ();
34767 ;
34768 return 0;
34769 }
34770 _ACEOF
34771 rm -f conftest.$ac_objext conftest$ac_exeext
34772 if { (ac_try="$ac_link"
34773 case "(($ac_try" in
34774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34775 *) ac_try_echo=$ac_try;;
34776 esac
34777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34778 (eval "$ac_link") 2>conftest.er1
34779 ac_status=$?
34780 grep -v '^ *+' conftest.er1 >conftest.err
34781 rm -f conftest.er1
34782 cat conftest.err >&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); } && {
34785 test -z "$ac_c_werror_flag" ||
34786 test ! -s conftest.err
34787 } && test -s conftest$ac_exeext &&
34788 $as_test_x conftest$ac_exeext; then
34789 eval "$as_ac_var=yes"
34790 else
34791 echo "$as_me: failed program was:" >&5
34792 sed 's/^/| /' conftest.$ac_ext >&5
34793
34794 eval "$as_ac_var=no"
34795 fi
34796
34797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34798 conftest$ac_exeext conftest.$ac_ext
34799 fi
34800 ac_res=`eval echo '${'$as_ac_var'}'`
34801 { echo "$as_me:$LINENO: result: $ac_res" >&5
34802 echo "${ECHO_T}$ac_res" >&6; }
34803 if test `eval echo '${'$as_ac_var'}'` = yes; then
34804 cat >>confdefs.h <<_ACEOF
34805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34806 _ACEOF
34807 WCSLEN_FOUND=1
34808 fi
34809 done
34810
34811
34812 if test "$WCSLEN_FOUND" = 0; then
34813 if test "$TOOLKIT" = "MSW"; then
34814 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34815 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34816 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819 ac_check_lib_save_LIBS=$LIBS
34820 LIBS="-lmsvcrt $LIBS"
34821 cat >conftest.$ac_ext <<_ACEOF
34822 /* confdefs.h. */
34823 _ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34827
34828 /* Override any GCC internal prototype to avoid an error.
34829 Use char because int might match the return type of a GCC
34830 builtin and then its argument prototype would still apply. */
34831 #ifdef __cplusplus
34832 extern "C"
34833 #endif
34834 char wcslen ();
34835 int
34836 main ()
34837 {
34838 return wcslen ();
34839 ;
34840 return 0;
34841 }
34842 _ACEOF
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (ac_try="$ac_link"
34845 case "(($ac_try" in
34846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34847 *) ac_try_echo=$ac_try;;
34848 esac
34849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34850 (eval "$ac_link") 2>conftest.er1
34851 ac_status=$?
34852 grep -v '^ *+' conftest.er1 >conftest.err
34853 rm -f conftest.er1
34854 cat conftest.err >&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } && {
34857 test -z "$ac_c_werror_flag" ||
34858 test ! -s conftest.err
34859 } && test -s conftest$ac_exeext &&
34860 $as_test_x conftest$ac_exeext; then
34861 ac_cv_lib_msvcrt_wcslen=yes
34862 else
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34865
34866 ac_cv_lib_msvcrt_wcslen=no
34867 fi
34868
34869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34870 conftest$ac_exeext conftest.$ac_ext
34871 LIBS=$ac_check_lib_save_LIBS
34872 fi
34873 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34874 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34875 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34876 WCHAR_OK=1
34877 fi
34878
34879 else
34880 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34881 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34882 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34884 else
34885 ac_check_lib_save_LIBS=$LIBS
34886 LIBS="-lw $LIBS"
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34893
34894 /* Override any GCC internal prototype to avoid an error.
34895 Use char because int might match the return type of a GCC
34896 builtin and then its argument prototype would still apply. */
34897 #ifdef __cplusplus
34898 extern "C"
34899 #endif
34900 char wcslen ();
34901 int
34902 main ()
34903 {
34904 return wcslen ();
34905 ;
34906 return 0;
34907 }
34908 _ACEOF
34909 rm -f conftest.$ac_objext conftest$ac_exeext
34910 if { (ac_try="$ac_link"
34911 case "(($ac_try" in
34912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34913 *) ac_try_echo=$ac_try;;
34914 esac
34915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34916 (eval "$ac_link") 2>conftest.er1
34917 ac_status=$?
34918 grep -v '^ *+' conftest.er1 >conftest.err
34919 rm -f conftest.er1
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } && {
34923 test -z "$ac_c_werror_flag" ||
34924 test ! -s conftest.err
34925 } && test -s conftest$ac_exeext &&
34926 $as_test_x conftest$ac_exeext; then
34927 ac_cv_lib_w_wcslen=yes
34928 else
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34931
34932 ac_cv_lib_w_wcslen=no
34933 fi
34934
34935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34936 conftest$ac_exeext conftest.$ac_ext
34937 LIBS=$ac_check_lib_save_LIBS
34938 fi
34939 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34940 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34941 if test $ac_cv_lib_w_wcslen = yes; then
34942
34943 WCHAR_LINK=" -lw"
34944 WCSLEN_FOUND=1
34945
34946 fi
34947
34948 fi
34949 fi
34950
34951 if test "$WCSLEN_FOUND" = 1; then
34952 cat >>confdefs.h <<\_ACEOF
34953 #define HAVE_WCSLEN 1
34954 _ACEOF
34955
34956 fi
34957
34958
34959 for ac_func in wcsdup
34960 do
34961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34975 #define $ac_func innocuous_$ac_func
34976
34977 /* System header to define __stub macros and hopefully few prototypes,
34978 which can conflict with char $ac_func (); below.
34979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34980 <limits.h> exists even on freestanding compilers. */
34981
34982 #ifdef __STDC__
34983 # include <limits.h>
34984 #else
34985 # include <assert.h>
34986 #endif
34987
34988 #undef $ac_func
34989
34990 /* Override any GCC internal prototype to avoid an error.
34991 Use char because int might match the return type of a GCC
34992 builtin and then its argument prototype would still apply. */
34993 #ifdef __cplusplus
34994 extern "C"
34995 #endif
34996 char $ac_func ();
34997 /* The GNU C library defines this for functions which it implements
34998 to always fail with ENOSYS. Some functions are actually named
34999 something starting with __ and the normal name is an alias. */
35000 #if defined __stub_$ac_func || defined __stub___$ac_func
35001 choke me
35002 #endif
35003
35004 int
35005 main ()
35006 {
35007 return $ac_func ();
35008 ;
35009 return 0;
35010 }
35011 _ACEOF
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35017 esac
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest$ac_exeext &&
35029 $as_test_x conftest$ac_exeext; then
35030 eval "$as_ac_var=yes"
35031 else
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.$ac_ext >&5
35034
35035 eval "$as_ac_var=no"
35036 fi
35037
35038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35039 conftest$ac_exeext conftest.$ac_ext
35040 fi
35041 ac_res=`eval echo '${'$as_ac_var'}'`
35042 { echo "$as_me:$LINENO: result: $ac_res" >&5
35043 echo "${ECHO_T}$ac_res" >&6; }
35044 if test `eval echo '${'$as_ac_var'}'` = yes; then
35045 cat >>confdefs.h <<_ACEOF
35046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35047 _ACEOF
35048
35049 fi
35050 done
35051
35052
35053 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35054 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35055 fi
35056
35057 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35058 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35059 if test "${ac_cv_type_mbstate_t+set}" = set; then
35060 echo $ECHO_N "(cached) $ECHO_C" >&6
35061 else
35062 cat >conftest.$ac_ext <<_ACEOF
35063 /* confdefs.h. */
35064 _ACEOF
35065 cat confdefs.h >>conftest.$ac_ext
35066 cat >>conftest.$ac_ext <<_ACEOF
35067 /* end confdefs.h. */
35068 #include <wchar.h>
35069
35070 typedef mbstate_t ac__type_new_;
35071 int
35072 main ()
35073 {
35074 if ((ac__type_new_ *) 0)
35075 return 0;
35076 if (sizeof (ac__type_new_))
35077 return 0;
35078 ;
35079 return 0;
35080 }
35081 _ACEOF
35082 rm -f conftest.$ac_objext
35083 if { (ac_try="$ac_compile"
35084 case "(($ac_try" in
35085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35086 *) ac_try_echo=$ac_try;;
35087 esac
35088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35089 (eval "$ac_compile") 2>conftest.er1
35090 ac_status=$?
35091 grep -v '^ *+' conftest.er1 >conftest.err
35092 rm -f conftest.er1
35093 cat conftest.err >&5
35094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35095 (exit $ac_status); } && {
35096 test -z "$ac_c_werror_flag" ||
35097 test ! -s conftest.err
35098 } && test -s conftest.$ac_objext; then
35099 ac_cv_type_mbstate_t=yes
35100 else
35101 echo "$as_me: failed program was:" >&5
35102 sed 's/^/| /' conftest.$ac_ext >&5
35103
35104 ac_cv_type_mbstate_t=no
35105 fi
35106
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 fi
35109 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35110 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35111 if test $ac_cv_type_mbstate_t = yes; then
35112
35113 cat >>confdefs.h <<_ACEOF
35114 #define HAVE_MBSTATE_T 1
35115 _ACEOF
35116
35117
35118 for ac_func in wcsrtombs
35119 do
35120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35124 echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126 cat >conftest.$ac_ext <<_ACEOF
35127 /* confdefs.h. */
35128 _ACEOF
35129 cat confdefs.h >>conftest.$ac_ext
35130 cat >>conftest.$ac_ext <<_ACEOF
35131 /* end confdefs.h. */
35132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35134 #define $ac_func innocuous_$ac_func
35135
35136 /* System header to define __stub macros and hopefully few prototypes,
35137 which can conflict with char $ac_func (); below.
35138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35139 <limits.h> exists even on freestanding compilers. */
35140
35141 #ifdef __STDC__
35142 # include <limits.h>
35143 #else
35144 # include <assert.h>
35145 #endif
35146
35147 #undef $ac_func
35148
35149 /* Override any GCC internal prototype to avoid an error.
35150 Use char because int might match the return type of a GCC
35151 builtin and then its argument prototype would still apply. */
35152 #ifdef __cplusplus
35153 extern "C"
35154 #endif
35155 char $ac_func ();
35156 /* The GNU C library defines this for functions which it implements
35157 to always fail with ENOSYS. Some functions are actually named
35158 something starting with __ and the normal name is an alias. */
35159 #if defined __stub_$ac_func || defined __stub___$ac_func
35160 choke me
35161 #endif
35162
35163 int
35164 main ()
35165 {
35166 return $ac_func ();
35167 ;
35168 return 0;
35169 }
35170 _ACEOF
35171 rm -f conftest.$ac_objext conftest$ac_exeext
35172 if { (ac_try="$ac_link"
35173 case "(($ac_try" in
35174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35175 *) ac_try_echo=$ac_try;;
35176 esac
35177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35178 (eval "$ac_link") 2>conftest.er1
35179 ac_status=$?
35180 grep -v '^ *+' conftest.er1 >conftest.err
35181 rm -f conftest.er1
35182 cat conftest.err >&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } && {
35185 test -z "$ac_c_werror_flag" ||
35186 test ! -s conftest.err
35187 } && test -s conftest$ac_exeext &&
35188 $as_test_x conftest$ac_exeext; then
35189 eval "$as_ac_var=yes"
35190 else
35191 echo "$as_me: failed program was:" >&5
35192 sed 's/^/| /' conftest.$ac_ext >&5
35193
35194 eval "$as_ac_var=no"
35195 fi
35196
35197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35198 conftest$ac_exeext conftest.$ac_ext
35199 fi
35200 ac_res=`eval echo '${'$as_ac_var'}'`
35201 { echo "$as_me:$LINENO: result: $ac_res" >&5
35202 echo "${ECHO_T}$ac_res" >&6; }
35203 if test `eval echo '${'$as_ac_var'}'` = yes; then
35204 cat >>confdefs.h <<_ACEOF
35205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35206 _ACEOF
35207
35208 fi
35209 done
35210
35211 fi
35212
35213 else
35214 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35215 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35216 fi
35217
35218
35219
35220
35221 for ac_func in snprintf vsnprintf vsscanf
35222 do
35223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35227 echo $ECHO_N "(cached) $ECHO_C" >&6
35228 else
35229 cat >conftest.$ac_ext <<_ACEOF
35230 /* confdefs.h. */
35231 _ACEOF
35232 cat confdefs.h >>conftest.$ac_ext
35233 cat >>conftest.$ac_ext <<_ACEOF
35234 /* end confdefs.h. */
35235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35237 #define $ac_func innocuous_$ac_func
35238
35239 /* System header to define __stub macros and hopefully few prototypes,
35240 which can conflict with char $ac_func (); below.
35241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35242 <limits.h> exists even on freestanding compilers. */
35243
35244 #ifdef __STDC__
35245 # include <limits.h>
35246 #else
35247 # include <assert.h>
35248 #endif
35249
35250 #undef $ac_func
35251
35252 /* Override any GCC internal prototype to avoid an error.
35253 Use char because int might match the return type of a GCC
35254 builtin and then its argument prototype would still apply. */
35255 #ifdef __cplusplus
35256 extern "C"
35257 #endif
35258 char $ac_func ();
35259 /* The GNU C library defines this for functions which it implements
35260 to always fail with ENOSYS. Some functions are actually named
35261 something starting with __ and the normal name is an alias. */
35262 #if defined __stub_$ac_func || defined __stub___$ac_func
35263 choke me
35264 #endif
35265
35266 int
35267 main ()
35268 {
35269 return $ac_func ();
35270 ;
35271 return 0;
35272 }
35273 _ACEOF
35274 rm -f conftest.$ac_objext conftest$ac_exeext
35275 if { (ac_try="$ac_link"
35276 case "(($ac_try" in
35277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35278 *) ac_try_echo=$ac_try;;
35279 esac
35280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35281 (eval "$ac_link") 2>conftest.er1
35282 ac_status=$?
35283 grep -v '^ *+' conftest.er1 >conftest.err
35284 rm -f conftest.er1
35285 cat conftest.err >&5
35286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35287 (exit $ac_status); } && {
35288 test -z "$ac_c_werror_flag" ||
35289 test ! -s conftest.err
35290 } && test -s conftest$ac_exeext &&
35291 $as_test_x conftest$ac_exeext; then
35292 eval "$as_ac_var=yes"
35293 else
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.$ac_ext >&5
35296
35297 eval "$as_ac_var=no"
35298 fi
35299
35300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35301 conftest$ac_exeext conftest.$ac_ext
35302 fi
35303 ac_res=`eval echo '${'$as_ac_var'}'`
35304 { echo "$as_me:$LINENO: result: $ac_res" >&5
35305 echo "${ECHO_T}$ac_res" >&6; }
35306 if test `eval echo '${'$as_ac_var'}'` = yes; then
35307 cat >>confdefs.h <<_ACEOF
35308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35309 _ACEOF
35310
35311 fi
35312 done
35313
35314
35315 ac_ext=cpp
35316 ac_cpp='$CXXCPP $CPPFLAGS'
35317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35320
35321 if test "$ac_cv_func_vsnprintf" = "yes"; then
35322 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35323 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35324 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35325 echo $ECHO_N "(cached) $ECHO_C" >&6
35326 else
35327
35328 cat >conftest.$ac_ext <<_ACEOF
35329 /* confdefs.h. */
35330 _ACEOF
35331 cat confdefs.h >>conftest.$ac_ext
35332 cat >>conftest.$ac_ext <<_ACEOF
35333 /* end confdefs.h. */
35334
35335 #include <stdio.h>
35336 #include <stdarg.h>
35337 #ifdef __MSL__
35338 #if __MSL__ >= 0x6000
35339 namespace std {}
35340 using namespace std;
35341 #endif
35342 #endif
35343
35344 int
35345 main ()
35346 {
35347
35348 char *buf;
35349 va_list ap;
35350 vsnprintf(buf, 10u, "%s", ap);
35351
35352 ;
35353 return 0;
35354 }
35355 _ACEOF
35356 rm -f conftest.$ac_objext
35357 if { (ac_try="$ac_compile"
35358 case "(($ac_try" in
35359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35360 *) ac_try_echo=$ac_try;;
35361 esac
35362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35363 (eval "$ac_compile") 2>conftest.er1
35364 ac_status=$?
35365 grep -v '^ *+' conftest.er1 >conftest.err
35366 rm -f conftest.er1
35367 cat conftest.err >&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); } && {
35370 test -z "$ac_cxx_werror_flag" ||
35371 test ! -s conftest.err
35372 } && test -s conftest.$ac_objext; then
35373 wx_cv_func_vsnprintf_decl=yes
35374 else
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.$ac_ext >&5
35377
35378 wx_cv_func_vsnprintf_decl=no
35379
35380 fi
35381
35382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35383
35384
35385 fi
35386 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35387 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35388
35389 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35390 cat >>confdefs.h <<\_ACEOF
35391 #define HAVE_VSNPRINTF_DECL 1
35392 _ACEOF
35393
35394
35395 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35396 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35397 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 else
35400
35401 cat >conftest.$ac_ext <<_ACEOF
35402 /* confdefs.h. */
35403 _ACEOF
35404 cat confdefs.h >>conftest.$ac_ext
35405 cat >>conftest.$ac_ext <<_ACEOF
35406 /* end confdefs.h. */
35407
35408 #include <stdio.h>
35409 #include <stdarg.h>
35410 #ifdef __MSL__
35411 #if __MSL__ >= 0x6000
35412 namespace std {}
35413 using namespace std;
35414 #endif
35415 #endif
35416
35417 int
35418 main ()
35419 {
35420
35421 char *buf;
35422 va_list ap;
35423 const char *fmt = "%s";
35424 vsnprintf(buf, 10u, fmt, ap);
35425
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 rm -f conftest.$ac_objext
35431 if { (ac_try="$ac_compile"
35432 case "(($ac_try" in
35433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35434 *) ac_try_echo=$ac_try;;
35435 esac
35436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35437 (eval "$ac_compile") 2>conftest.er1
35438 ac_status=$?
35439 grep -v '^ *+' conftest.er1 >conftest.err
35440 rm -f conftest.er1
35441 cat conftest.err >&5
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); } && {
35444 test -z "$ac_cxx_werror_flag" ||
35445 test ! -s conftest.err
35446 } && test -s conftest.$ac_objext; then
35447 wx_cv_func_broken_vsnprintf_decl=no
35448 else
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35451
35452 wx_cv_func_broken_vsnprintf_decl=yes
35453
35454 fi
35455
35456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35457
35458
35459 fi
35460 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35461 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35462
35463 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35464 cat >>confdefs.h <<\_ACEOF
35465 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35466 _ACEOF
35467
35468 fi
35469 fi
35470 fi
35471
35472 if test "$ac_cv_func_snprintf" = "yes"; then
35473 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35474 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35475 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35477 else
35478
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485
35486 #include <stdio.h>
35487 #include <stdarg.h>
35488 #ifdef __MSL__
35489 #if __MSL__ >= 0x6000
35490 namespace std {}
35491 using namespace std;
35492 #endif
35493 #endif
35494
35495 int
35496 main ()
35497 {
35498
35499 char *buf;
35500 snprintf(buf, 10u, "%s", "wx");
35501
35502 ;
35503 return 0;
35504 }
35505 _ACEOF
35506 rm -f conftest.$ac_objext
35507 if { (ac_try="$ac_compile"
35508 case "(($ac_try" in
35509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35510 *) ac_try_echo=$ac_try;;
35511 esac
35512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35513 (eval "$ac_compile") 2>conftest.er1
35514 ac_status=$?
35515 grep -v '^ *+' conftest.er1 >conftest.err
35516 rm -f conftest.er1
35517 cat conftest.err >&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); } && {
35520 test -z "$ac_cxx_werror_flag" ||
35521 test ! -s conftest.err
35522 } && test -s conftest.$ac_objext; then
35523 wx_cv_func_snprintf_decl=yes
35524 else
35525 echo "$as_me: failed program was:" >&5
35526 sed 's/^/| /' conftest.$ac_ext >&5
35527
35528 wx_cv_func_snprintf_decl=no
35529
35530 fi
35531
35532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35533
35534
35535 fi
35536 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35537 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35538
35539 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35540 cat >>confdefs.h <<\_ACEOF
35541 #define HAVE_SNPRINTF_DECL 1
35542 _ACEOF
35543
35544 fi
35545
35546 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35547
35548 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35549 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35550 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 else
35553
35554 if test "$cross_compiling" = yes; then
35555
35556 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35557 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35558 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35559 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35560 wx_cv_func_snprintf_pos_params=no
35561
35562
35563 else
35564 cat >conftest.$ac_ext <<_ACEOF
35565 /* confdefs.h. */
35566 _ACEOF
35567 cat confdefs.h >>conftest.$ac_ext
35568 cat >>conftest.$ac_ext <<_ACEOF
35569 /* end confdefs.h. */
35570
35571 #include <stdio.h>
35572
35573 int main (void)
35574 {
35575 char buffer[128];
35576 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35577 if (strcmp ("2 3 1", buffer) == 0)
35578 exit (0);
35579 exit (1);
35580 }
35581
35582 _ACEOF
35583 rm -f conftest$ac_exeext
35584 if { (ac_try="$ac_link"
35585 case "(($ac_try" in
35586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35587 *) ac_try_echo=$ac_try;;
35588 esac
35589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35590 (eval "$ac_link") 2>&5
35591 ac_status=$?
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35594 { (case "(($ac_try" in
35595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35596 *) ac_try_echo=$ac_try;;
35597 esac
35598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35599 (eval "$ac_try") 2>&5
35600 ac_status=$?
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); }; }; then
35603 wx_cv_func_snprintf_pos_params=no
35604 else
35605 echo "$as_me: program exited with status $ac_status" >&5
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.$ac_ext >&5
35608
35609 ( exit $ac_status )
35610 wx_cv_func_snprintf_pos_params=yes
35611 fi
35612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35613 fi
35614
35615
35616
35617
35618 fi
35619 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35620 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35621
35622 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35623 cat >>confdefs.h <<\_ACEOF
35624 #define HAVE_UNIX98_PRINTF 1
35625 _ACEOF
35626
35627 fi
35628 fi
35629 fi
35630
35631 if test "$ac_cv_func_vsscanf" = "yes"; then
35632 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35633 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35634 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 else
35637
35638 cat >conftest.$ac_ext <<_ACEOF
35639 /* confdefs.h. */
35640 _ACEOF
35641 cat confdefs.h >>conftest.$ac_ext
35642 cat >>conftest.$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35644
35645 #include <stdio.h>
35646 #include <stdarg.h>
35647 #ifdef __MSL__
35648 #if __MSL__ >= 0x6000
35649 namespace std {}
35650 using namespace std;
35651 #endif
35652 #endif
35653
35654 int
35655 main ()
35656 {
35657
35658 char *buf;
35659 va_list args;
35660 vsscanf(buf, "%s", args);
35661
35662 ;
35663 return 0;
35664 }
35665 _ACEOF
35666 rm -f conftest.$ac_objext
35667 if { (ac_try="$ac_compile"
35668 case "(($ac_try" in
35669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35670 *) ac_try_echo=$ac_try;;
35671 esac
35672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35673 (eval "$ac_compile") 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } && {
35680 test -z "$ac_cxx_werror_flag" ||
35681 test ! -s conftest.err
35682 } && test -s conftest.$ac_objext; then
35683 wx_cv_func_vsscanf_decl=yes
35684 else
35685 echo "$as_me: failed program was:" >&5
35686 sed 's/^/| /' conftest.$ac_ext >&5
35687
35688 wx_cv_func_vsscanf_decl=no
35689
35690 fi
35691
35692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35693
35694
35695 fi
35696 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35697 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35698
35699 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35700 cat >>confdefs.h <<\_ACEOF
35701 #define HAVE_VSSCANF_DECL 1
35702 _ACEOF
35703
35704 fi
35705 fi
35706 ac_ext=c
35707 ac_cpp='$CPP $CPPFLAGS'
35708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711
35712
35713 if test "$wxUSE_UNICODE" = yes; then
35714
35715 wchar_headers="#include <stdio.h>
35716 #include <wchar.h>"
35717 case "${host}" in
35718 *-*-solaris2* )
35719
35720 for ac_header in widec.h
35721 do
35722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35726 echo $ECHO_N "(cached) $ECHO_C" >&6
35727 else
35728 cat >conftest.$ac_ext <<_ACEOF
35729 /* confdefs.h. */
35730 _ACEOF
35731 cat confdefs.h >>conftest.$ac_ext
35732 cat >>conftest.$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35734 $ac_includes_default
35735
35736 #include <$ac_header>
35737 _ACEOF
35738 rm -f conftest.$ac_objext
35739 if { (ac_try="$ac_compile"
35740 case "(($ac_try" in
35741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35742 *) ac_try_echo=$ac_try;;
35743 esac
35744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35745 (eval "$ac_compile") 2>conftest.er1
35746 ac_status=$?
35747 grep -v '^ *+' conftest.er1 >conftest.err
35748 rm -f conftest.er1
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } && {
35752 test -z "$ac_c_werror_flag" ||
35753 test ! -s conftest.err
35754 } && test -s conftest.$ac_objext; then
35755 eval "$as_ac_Header=yes"
35756 else
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.$ac_ext >&5
35759
35760 eval "$as_ac_Header=no"
35761 fi
35762
35763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35764 fi
35765 ac_res=`eval echo '${'$as_ac_Header'}'`
35766 { echo "$as_me:$LINENO: result: $ac_res" >&5
35767 echo "${ECHO_T}$ac_res" >&6; }
35768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35769 cat >>confdefs.h <<_ACEOF
35770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35771 _ACEOF
35772
35773 fi
35774
35775 done
35776
35777 if test "$ac_cv_header_widec_h" = "yes"; then
35778 wchar_headers="$wchar_headers
35779 #include <widec.h>"
35780 fi
35781 esac
35782
35783
35784 for wx_func in putws fputws wprintf vswprintf vswscanf
35785 do
35786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791
35792 cat >conftest.$ac_ext <<_ACEOF
35793
35794 /* confdefs.h. */
35795 _ACEOF
35796 cat confdefs.h >>conftest.$ac_ext
35797 cat >>conftest.$ac_ext <<_ACEOF
35798 /* end confdefs.h. */
35799
35800 $wchar_headers
35801 $ac_includes_default
35802
35803 int
35804 main ()
35805 {
35806
35807 #ifndef $wx_func
35808 &$wx_func;
35809 #endif
35810
35811
35812 ;
35813 return 0;
35814 }
35815
35816 _ACEOF
35817 rm -f conftest.$ac_objext conftest$ac_exeext
35818 if { (ac_try="$ac_link"
35819 case "(($ac_try" in
35820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35821 *) ac_try_echo=$ac_try;;
35822 esac
35823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35824 (eval "$ac_link") 2>conftest.er1
35825 ac_status=$?
35826 grep -v '^ *+' conftest.er1 >conftest.err
35827 rm -f conftest.er1
35828 cat conftest.err >&5
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); } && {
35831 test -z "$ac_c_werror_flag" ||
35832 test ! -s conftest.err
35833 } && test -s conftest$ac_exeext &&
35834 $as_test_x conftest$ac_exeext; then
35835 eval wx_cv_func_$wx_func=yes
35836 else
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840 eval wx_cv_func_$wx_func=no
35841 fi
35842
35843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35844 conftest$ac_exeext conftest.$ac_ext
35845
35846 fi
35847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35848 { echo "$as_me:$LINENO: result: $ac_res" >&5
35849 echo "${ECHO_T}$ac_res" >&6; }
35850
35851 if eval test \$wx_cv_func_$wx_func = yes
35852 then
35853 cat >>confdefs.h <<_ACEOF
35854 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35855 _ACEOF
35856
35857
35858 else
35859 :
35860
35861 fi
35862 done
35863
35864
35865 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35866 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35867 cat >conftest.$ac_ext <<_ACEOF
35868 /* confdefs.h. */
35869 _ACEOF
35870 cat confdefs.h >>conftest.$ac_ext
35871 cat >>conftest.$ac_ext <<_ACEOF
35872 /* end confdefs.h. */
35873 #include <wchar.h>
35874 int
35875 main ()
35876 {
35877 &_vsnwprintf;
35878 ;
35879 return 0;
35880 }
35881 _ACEOF
35882 rm -f conftest.$ac_objext
35883 if { (ac_try="$ac_compile"
35884 case "(($ac_try" in
35885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35886 *) ac_try_echo=$ac_try;;
35887 esac
35888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35889 (eval "$ac_compile") 2>conftest.er1
35890 ac_status=$?
35891 grep -v '^ *+' conftest.er1 >conftest.err
35892 rm -f conftest.er1
35893 cat conftest.err >&5
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); } && {
35896 test -z "$ac_c_werror_flag" ||
35897 test ! -s conftest.err
35898 } && test -s conftest.$ac_objext; then
35899 { echo "$as_me:$LINENO: result: yes" >&5
35900 echo "${ECHO_T}yes" >&6; }
35901 cat >>confdefs.h <<\_ACEOF
35902 #define HAVE__VSNWPRINTF 1
35903 _ACEOF
35904
35905 else
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.$ac_ext >&5
35908
35909 { echo "$as_me:$LINENO: result: no" >&5
35910 echo "${ECHO_T}no" >&6; }
35911 fi
35912
35913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35914 fi
35915
35916 if test "$wxUSE_FILE" = "yes"; then
35917
35918 for wx_func in fsync
35919 do
35920 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35921 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35922 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35923 echo $ECHO_N "(cached) $ECHO_C" >&6
35924 else
35925
35926 cat >conftest.$ac_ext <<_ACEOF
35927
35928 /* confdefs.h. */
35929 _ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933
35934
35935 $ac_includes_default
35936
35937 int
35938 main ()
35939 {
35940
35941 #ifndef $wx_func
35942 &$wx_func;
35943 #endif
35944
35945
35946 ;
35947 return 0;
35948 }
35949
35950 _ACEOF
35951 rm -f conftest.$ac_objext conftest$ac_exeext
35952 if { (ac_try="$ac_link"
35953 case "(($ac_try" in
35954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35955 *) ac_try_echo=$ac_try;;
35956 esac
35957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35958 (eval "$ac_link") 2>conftest.er1
35959 ac_status=$?
35960 grep -v '^ *+' conftest.er1 >conftest.err
35961 rm -f conftest.er1
35962 cat conftest.err >&5
35963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35964 (exit $ac_status); } && {
35965 test -z "$ac_c_werror_flag" ||
35966 test ! -s conftest.err
35967 } && test -s conftest$ac_exeext &&
35968 $as_test_x conftest$ac_exeext; then
35969 eval wx_cv_func_$wx_func=yes
35970 else
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.$ac_ext >&5
35973
35974 eval wx_cv_func_$wx_func=no
35975 fi
35976
35977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35978 conftest$ac_exeext conftest.$ac_ext
35979
35980 fi
35981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35982 { echo "$as_me:$LINENO: result: $ac_res" >&5
35983 echo "${ECHO_T}$ac_res" >&6; }
35984
35985 if eval test \$wx_cv_func_$wx_func = yes
35986 then
35987 cat >>confdefs.h <<_ACEOF
35988 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35989 _ACEOF
35990
35991
35992 else
35993 :
35994
35995 fi
35996 done
35997
35998 fi
35999
36000 ac_ext=cpp
36001 ac_cpp='$CXXCPP $CPPFLAGS'
36002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36005
36006
36007 for wx_func in round
36008 do
36009 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36010 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36011 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36013 else
36014
36015 cat >conftest.$ac_ext <<_ACEOF
36016
36017 /* confdefs.h. */
36018 _ACEOF
36019 cat confdefs.h >>conftest.$ac_ext
36020 cat >>conftest.$ac_ext <<_ACEOF
36021 /* end confdefs.h. */
36022
36023 #include <math.h>
36024 $ac_includes_default
36025
36026 int
36027 main ()
36028 {
36029
36030 #ifndef $wx_func
36031 &$wx_func;
36032 #endif
36033
36034
36035 ;
36036 return 0;
36037 }
36038
36039 _ACEOF
36040 rm -f conftest.$ac_objext conftest$ac_exeext
36041 if { (ac_try="$ac_link"
36042 case "(($ac_try" in
36043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36044 *) ac_try_echo=$ac_try;;
36045 esac
36046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36047 (eval "$ac_link") 2>conftest.er1
36048 ac_status=$?
36049 grep -v '^ *+' conftest.er1 >conftest.err
36050 rm -f conftest.er1
36051 cat conftest.err >&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } && {
36054 test -z "$ac_cxx_werror_flag" ||
36055 test ! -s conftest.err
36056 } && test -s conftest$ac_exeext &&
36057 $as_test_x conftest$ac_exeext; then
36058 eval wx_cv_func_$wx_func=yes
36059 else
36060 echo "$as_me: failed program was:" >&5
36061 sed 's/^/| /' conftest.$ac_ext >&5
36062
36063 eval wx_cv_func_$wx_func=no
36064 fi
36065
36066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36067 conftest$ac_exeext conftest.$ac_ext
36068
36069 fi
36070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36071 { echo "$as_me:$LINENO: result: $ac_res" >&5
36072 echo "${ECHO_T}$ac_res" >&6; }
36073
36074 if eval test \$wx_cv_func_$wx_func = yes
36075 then
36076 cat >>confdefs.h <<_ACEOF
36077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36078 _ACEOF
36079
36080
36081 else
36082 :
36083
36084 fi
36085 done
36086
36087 ac_ext=c
36088 ac_cpp='$CPP $CPPFLAGS'
36089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36092
36093
36094 if test "$TOOLKIT" != "MSW"; then
36095
36096 if test "$wxUSE_LIBICONV" != "no" ; then
36097
36098
36099
36100 # Check whether --with-libiconv-prefix was given.
36101 if test "${with_libiconv_prefix+set}" = set; then
36102 withval=$with_libiconv_prefix;
36103 for dir in `echo "$withval" | tr : ' '`; do
36104 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36105 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36106 done
36107
36108 fi
36109
36110
36111 { echo "$as_me:$LINENO: checking for iconv" >&5
36112 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36113 if test "${am_cv_func_iconv+set}" = set; then
36114 echo $ECHO_N "(cached) $ECHO_C" >&6
36115 else
36116
36117 am_cv_func_iconv="no, consider installing GNU libiconv"
36118 am_cv_lib_iconv=no
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h. */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #include <stdlib.h>
36126 #include <iconv.h>
36127 int
36128 main ()
36129 {
36130 iconv_t cd = iconv_open("","");
36131 iconv(cd,NULL,NULL,NULL,NULL);
36132 iconv_close(cd);
36133 ;
36134 return 0;
36135 }
36136 _ACEOF
36137 rm -f conftest.$ac_objext conftest$ac_exeext
36138 if { (ac_try="$ac_link"
36139 case "(($ac_try" in
36140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36141 *) ac_try_echo=$ac_try;;
36142 esac
36143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36144 (eval "$ac_link") 2>conftest.er1
36145 ac_status=$?
36146 grep -v '^ *+' conftest.er1 >conftest.err
36147 rm -f conftest.er1
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } && {
36151 test -z "$ac_c_werror_flag" ||
36152 test ! -s conftest.err
36153 } && test -s conftest$ac_exeext &&
36154 $as_test_x conftest$ac_exeext; then
36155 am_cv_func_iconv=yes
36156 else
36157 echo "$as_me: failed program was:" >&5
36158 sed 's/^/| /' conftest.$ac_ext >&5
36159
36160
36161 fi
36162
36163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36164 conftest$ac_exeext conftest.$ac_ext
36165 if test "$am_cv_func_iconv" != yes; then
36166 am_save_LIBS="$LIBS"
36167 LIBS="$LIBS -liconv"
36168 cat >conftest.$ac_ext <<_ACEOF
36169 /* confdefs.h. */
36170 _ACEOF
36171 cat confdefs.h >>conftest.$ac_ext
36172 cat >>conftest.$ac_ext <<_ACEOF
36173 /* end confdefs.h. */
36174 #include <stdlib.h>
36175 #include <iconv.h>
36176 int
36177 main ()
36178 {
36179 iconv_t cd = iconv_open("","");
36180 iconv(cd,NULL,NULL,NULL,NULL);
36181 iconv_close(cd);
36182 ;
36183 return 0;
36184 }
36185 _ACEOF
36186 rm -f conftest.$ac_objext conftest$ac_exeext
36187 if { (ac_try="$ac_link"
36188 case "(($ac_try" in
36189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36190 *) ac_try_echo=$ac_try;;
36191 esac
36192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36193 (eval "$ac_link") 2>conftest.er1
36194 ac_status=$?
36195 grep -v '^ *+' conftest.er1 >conftest.err
36196 rm -f conftest.er1
36197 cat conftest.err >&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } && {
36200 test -z "$ac_c_werror_flag" ||
36201 test ! -s conftest.err
36202 } && test -s conftest$ac_exeext &&
36203 $as_test_x conftest$ac_exeext; then
36204 am_cv_lib_iconv=yes
36205 am_cv_func_iconv=yes
36206 else
36207 echo "$as_me: failed program was:" >&5
36208 sed 's/^/| /' conftest.$ac_ext >&5
36209
36210
36211 fi
36212
36213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36214 conftest$ac_exeext conftest.$ac_ext
36215 LIBS="$am_save_LIBS"
36216 fi
36217
36218 fi
36219 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36220 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36221 if test "$am_cv_func_iconv" = yes; then
36222
36223 cat >>confdefs.h <<\_ACEOF
36224 #define HAVE_ICONV 1
36225 _ACEOF
36226
36227 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36228 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36229 if test "${wx_cv_func_iconv_const+set}" = set; then
36230 echo $ECHO_N "(cached) $ECHO_C" >&6
36231 else
36232 cat >conftest.$ac_ext <<_ACEOF
36233 /* confdefs.h. */
36234 _ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36238
36239 #include <stdlib.h>
36240 #include <iconv.h>
36241 extern
36242 #ifdef __cplusplus
36243 "C"
36244 #endif
36245 #if defined(__STDC__) || defined(__cplusplus)
36246 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36247 #else
36248 size_t iconv();
36249 #endif
36250
36251 int
36252 main ()
36253 {
36254
36255 ;
36256 return 0;
36257 }
36258 _ACEOF
36259 rm -f conftest.$ac_objext
36260 if { (ac_try="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36263 *) ac_try_echo=$ac_try;;
36264 esac
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36267 ac_status=$?
36268 grep -v '^ *+' conftest.er1 >conftest.err
36269 rm -f conftest.er1
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_c_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.$ac_objext; then
36276 wx_cv_func_iconv_const="no"
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36280
36281 wx_cv_func_iconv_const="yes"
36282
36283 fi
36284
36285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36286
36287 fi
36288 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36289 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36290
36291 iconv_const=
36292 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36293 iconv_const="const"
36294 fi
36295
36296
36297 cat >>confdefs.h <<_ACEOF
36298 #define ICONV_CONST $iconv_const
36299 _ACEOF
36300
36301 fi
36302 LIBICONV=
36303 if test "$am_cv_lib_iconv" = yes; then
36304 LIBICONV="-liconv"
36305 fi
36306
36307
36308 LIBS="$LIBICONV $LIBS"
36309 fi
36310
36311 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36312
36313 for ac_func in sigaction
36314 do
36315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 else
36321 cat >conftest.$ac_ext <<_ACEOF
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36329 #define $ac_func innocuous_$ac_func
36330
36331 /* System header to define __stub macros and hopefully few prototypes,
36332 which can conflict with char $ac_func (); below.
36333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36334 <limits.h> exists even on freestanding compilers. */
36335
36336 #ifdef __STDC__
36337 # include <limits.h>
36338 #else
36339 # include <assert.h>
36340 #endif
36341
36342 #undef $ac_func
36343
36344 /* Override any GCC internal prototype to avoid an error.
36345 Use char because int might match the return type of a GCC
36346 builtin and then its argument prototype would still apply. */
36347 #ifdef __cplusplus
36348 extern "C"
36349 #endif
36350 char $ac_func ();
36351 /* The GNU C library defines this for functions which it implements
36352 to always fail with ENOSYS. Some functions are actually named
36353 something starting with __ and the normal name is an alias. */
36354 #if defined __stub_$ac_func || defined __stub___$ac_func
36355 choke me
36356 #endif
36357
36358 int
36359 main ()
36360 {
36361 return $ac_func ();
36362 ;
36363 return 0;
36364 }
36365 _ACEOF
36366 rm -f conftest.$ac_objext conftest$ac_exeext
36367 if { (ac_try="$ac_link"
36368 case "(($ac_try" in
36369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36370 *) ac_try_echo=$ac_try;;
36371 esac
36372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36373 (eval "$ac_link") 2>conftest.er1
36374 ac_status=$?
36375 grep -v '^ *+' conftest.er1 >conftest.err
36376 rm -f conftest.er1
36377 cat conftest.err >&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } && {
36380 test -z "$ac_c_werror_flag" ||
36381 test ! -s conftest.err
36382 } && test -s conftest$ac_exeext &&
36383 $as_test_x conftest$ac_exeext; then
36384 eval "$as_ac_var=yes"
36385 else
36386 echo "$as_me: failed program was:" >&5
36387 sed 's/^/| /' conftest.$ac_ext >&5
36388
36389 eval "$as_ac_var=no"
36390 fi
36391
36392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36393 conftest$ac_exeext conftest.$ac_ext
36394 fi
36395 ac_res=`eval echo '${'$as_ac_var'}'`
36396 { echo "$as_me:$LINENO: result: $ac_res" >&5
36397 echo "${ECHO_T}$ac_res" >&6; }
36398 if test `eval echo '${'$as_ac_var'}'` = yes; then
36399 cat >>confdefs.h <<_ACEOF
36400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36401 _ACEOF
36402
36403 fi
36404 done
36405
36406
36407 if test "$ac_cv_func_sigaction" = "no"; then
36408 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36409 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36410 wxUSE_ON_FATAL_EXCEPTION=no
36411 fi
36412
36413 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36414 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36415 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36416 if test "${wx_cv_type_sa_handler+set}" = set; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36418 else
36419
36420 ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36425
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432 #include <signal.h>
36433 int
36434 main ()
36435 {
36436
36437 extern void testSigHandler(int);
36438
36439 struct sigaction sa;
36440 sa.sa_handler = testSigHandler;
36441
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext
36447 if { (ac_try="$ac_compile"
36448 case "(($ac_try" in
36449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36450 *) ac_try_echo=$ac_try;;
36451 esac
36452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36453 (eval "$ac_compile") 2>conftest.er1
36454 ac_status=$?
36455 grep -v '^ *+' conftest.er1 >conftest.err
36456 rm -f conftest.er1
36457 cat conftest.err >&5
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); } && {
36460 test -z "$ac_cxx_werror_flag" ||
36461 test ! -s conftest.err
36462 } && test -s conftest.$ac_objext; then
36463
36464 wx_cv_type_sa_handler=int
36465
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36469
36470
36471 wx_cv_type_sa_handler=void
36472
36473 fi
36474
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36481
36482
36483 fi
36484 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36485 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36486
36487 cat >>confdefs.h <<_ACEOF
36488 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36489 _ACEOF
36490
36491 fi
36492 fi
36493
36494 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36495 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36496 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36497 if test "${wx_cv_func_backtrace+set}" = set; then
36498 echo $ECHO_N "(cached) $ECHO_C" >&6
36499 else
36500
36501 ac_ext=cpp
36502 ac_cpp='$CXXCPP $CPPFLAGS'
36503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36506
36507 cat >conftest.$ac_ext <<_ACEOF
36508 /* confdefs.h. */
36509 _ACEOF
36510 cat confdefs.h >>conftest.$ac_ext
36511 cat >>conftest.$ac_ext <<_ACEOF
36512 /* end confdefs.h. */
36513 #include <execinfo.h>
36514 int
36515 main ()
36516 {
36517
36518 void *trace[1];
36519 char **messages;
36520
36521 backtrace(trace, 1);
36522 messages = backtrace_symbols(trace, 1);
36523
36524 ;
36525 return 0;
36526 }
36527 _ACEOF
36528 rm -f conftest.$ac_objext
36529 if { (ac_try="$ac_compile"
36530 case "(($ac_try" in
36531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36532 *) ac_try_echo=$ac_try;;
36533 esac
36534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36535 (eval "$ac_compile") 2>conftest.er1
36536 ac_status=$?
36537 grep -v '^ *+' conftest.er1 >conftest.err
36538 rm -f conftest.er1
36539 cat conftest.err >&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } && {
36542 test -z "$ac_cxx_werror_flag" ||
36543 test ! -s conftest.err
36544 } && test -s conftest.$ac_objext; then
36545 wx_cv_func_backtrace=yes
36546 else
36547 echo "$as_me: failed program was:" >&5
36548 sed 's/^/| /' conftest.$ac_ext >&5
36549
36550 wx_cv_func_backtrace=no
36551
36552 fi
36553
36554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 ac_ext=c
36556 ac_cpp='$CPP $CPPFLAGS'
36557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36560
36561
36562
36563 fi
36564 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36565 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36566
36567
36568 if test "$wx_cv_func_backtrace" = "no"; then
36569 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36570 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36571 wxUSE_STACKWALKER=no
36572 else
36573 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36574 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36575 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 else
36578
36579 ac_ext=cpp
36580 ac_cpp='$CXXCPP $CPPFLAGS'
36581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36584
36585 cat >conftest.$ac_ext <<_ACEOF
36586 /* confdefs.h. */
36587 _ACEOF
36588 cat confdefs.h >>conftest.$ac_ext
36589 cat >>conftest.$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36591 #include <cxxabi.h>
36592 int
36593 main ()
36594 {
36595
36596 int rc;
36597 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36598
36599 ;
36600 return 0;
36601 }
36602 _ACEOF
36603 rm -f conftest.$ac_objext conftest$ac_exeext
36604 if { (ac_try="$ac_link"
36605 case "(($ac_try" in
36606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36607 *) ac_try_echo=$ac_try;;
36608 esac
36609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36610 (eval "$ac_link") 2>conftest.er1
36611 ac_status=$?
36612 grep -v '^ *+' conftest.er1 >conftest.err
36613 rm -f conftest.er1
36614 cat conftest.err >&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); } && {
36617 test -z "$ac_cxx_werror_flag" ||
36618 test ! -s conftest.err
36619 } && test -s conftest$ac_exeext &&
36620 $as_test_x conftest$ac_exeext; then
36621 wx_cv_func_cxa_demangle=yes
36622 else
36623 echo "$as_me: failed program was:" >&5
36624 sed 's/^/| /' conftest.$ac_ext >&5
36625
36626 wx_cv_func_cxa_demangle=no
36627
36628 fi
36629
36630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36631 conftest$ac_exeext conftest.$ac_ext
36632 ac_ext=c
36633 ac_cpp='$CPP $CPPFLAGS'
36634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36637
36638
36639
36640 fi
36641 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36642 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36643
36644 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36645 cat >>confdefs.h <<\_ACEOF
36646 #define HAVE_CXA_DEMANGLE 1
36647 _ACEOF
36648
36649 fi
36650 fi
36651 fi
36652
36653 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36654 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36655 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36656 wxUSE_STACKWALKER=no
36657 fi
36658
36659
36660
36661
36662 for ac_func in mkstemp mktemp
36663 do
36664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36665 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36667 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36668 echo $ECHO_N "(cached) $ECHO_C" >&6
36669 else
36670 cat >conftest.$ac_ext <<_ACEOF
36671 /* confdefs.h. */
36672 _ACEOF
36673 cat confdefs.h >>conftest.$ac_ext
36674 cat >>conftest.$ac_ext <<_ACEOF
36675 /* end confdefs.h. */
36676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36678 #define $ac_func innocuous_$ac_func
36679
36680 /* System header to define __stub macros and hopefully few prototypes,
36681 which can conflict with char $ac_func (); below.
36682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36683 <limits.h> exists even on freestanding compilers. */
36684
36685 #ifdef __STDC__
36686 # include <limits.h>
36687 #else
36688 # include <assert.h>
36689 #endif
36690
36691 #undef $ac_func
36692
36693 /* Override any GCC internal prototype to avoid an error.
36694 Use char because int might match the return type of a GCC
36695 builtin and then its argument prototype would still apply. */
36696 #ifdef __cplusplus
36697 extern "C"
36698 #endif
36699 char $ac_func ();
36700 /* The GNU C library defines this for functions which it implements
36701 to always fail with ENOSYS. Some functions are actually named
36702 something starting with __ and the normal name is an alias. */
36703 #if defined __stub_$ac_func || defined __stub___$ac_func
36704 choke me
36705 #endif
36706
36707 int
36708 main ()
36709 {
36710 return $ac_func ();
36711 ;
36712 return 0;
36713 }
36714 _ACEOF
36715 rm -f conftest.$ac_objext conftest$ac_exeext
36716 if { (ac_try="$ac_link"
36717 case "(($ac_try" in
36718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36719 *) ac_try_echo=$ac_try;;
36720 esac
36721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36722 (eval "$ac_link") 2>conftest.er1
36723 ac_status=$?
36724 grep -v '^ *+' conftest.er1 >conftest.err
36725 rm -f conftest.er1
36726 cat conftest.err >&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } && {
36729 test -z "$ac_c_werror_flag" ||
36730 test ! -s conftest.err
36731 } && test -s conftest$ac_exeext &&
36732 $as_test_x conftest$ac_exeext; then
36733 eval "$as_ac_var=yes"
36734 else
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.$ac_ext >&5
36737
36738 eval "$as_ac_var=no"
36739 fi
36740
36741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36742 conftest$ac_exeext conftest.$ac_ext
36743 fi
36744 ac_res=`eval echo '${'$as_ac_var'}'`
36745 { echo "$as_me:$LINENO: result: $ac_res" >&5
36746 echo "${ECHO_T}$ac_res" >&6; }
36747 if test `eval echo '${'$as_ac_var'}'` = yes; then
36748 cat >>confdefs.h <<_ACEOF
36749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36750 _ACEOF
36751 break
36752 fi
36753 done
36754
36755
36756 { echo "$as_me:$LINENO: checking for statfs" >&5
36757 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36758 if test "${wx_cv_func_statfs+set}" = set; then
36759 echo $ECHO_N "(cached) $ECHO_C" >&6
36760 else
36761 cat >conftest.$ac_ext <<_ACEOF
36762 /* confdefs.h. */
36763 _ACEOF
36764 cat confdefs.h >>conftest.$ac_ext
36765 cat >>conftest.$ac_ext <<_ACEOF
36766 /* end confdefs.h. */
36767
36768 #if defined(__BSD__)
36769 #include <sys/param.h>
36770 #include <sys/mount.h>
36771 #else
36772 #include <sys/vfs.h>
36773 #endif
36774
36775 int
36776 main ()
36777 {
36778
36779 long l;
36780 struct statfs fs;
36781 statfs("/", &fs);
36782 l = fs.f_bsize;
36783 l += fs.f_blocks;
36784 l += fs.f_bavail;
36785
36786 ;
36787 return 0;
36788 }
36789 _ACEOF
36790 rm -f conftest.$ac_objext
36791 if { (ac_try="$ac_compile"
36792 case "(($ac_try" in
36793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36794 *) ac_try_echo=$ac_try;;
36795 esac
36796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36797 (eval "$ac_compile") 2>conftest.er1
36798 ac_status=$?
36799 grep -v '^ *+' conftest.er1 >conftest.err
36800 rm -f conftest.er1
36801 cat conftest.err >&5
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); } && {
36804 test -z "$ac_c_werror_flag" ||
36805 test ! -s conftest.err
36806 } && test -s conftest.$ac_objext; then
36807 wx_cv_func_statfs=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 wx_cv_func_statfs=no
36813
36814 fi
36815
36816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36817
36818 fi
36819 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36820 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36821
36822 if test "$wx_cv_func_statfs" = "yes"; then
36823 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36824 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36825 if test "${wx_cv_func_statfs_decl+set}" = set; then
36826 echo $ECHO_N "(cached) $ECHO_C" >&6
36827 else
36828 ac_ext=cpp
36829 ac_cpp='$CXXCPP $CPPFLAGS'
36830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36833
36834 cat >conftest.$ac_ext <<_ACEOF
36835 /* confdefs.h. */
36836 _ACEOF
36837 cat confdefs.h >>conftest.$ac_ext
36838 cat >>conftest.$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36840
36841 #if defined(__BSD__)
36842 #include <sys/param.h>
36843 #include <sys/mount.h>
36844 #else
36845 #include <sys/vfs.h>
36846 #endif
36847
36848 int
36849 main ()
36850 {
36851
36852 struct statfs fs;
36853 statfs("", &fs);
36854
36855 ;
36856 return 0;
36857 }
36858 _ACEOF
36859 rm -f conftest.$ac_objext
36860 if { (ac_try="$ac_compile"
36861 case "(($ac_try" in
36862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36863 *) ac_try_echo=$ac_try;;
36864 esac
36865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36866 (eval "$ac_compile") 2>conftest.er1
36867 ac_status=$?
36868 grep -v '^ *+' conftest.er1 >conftest.err
36869 rm -f conftest.er1
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } && {
36873 test -z "$ac_cxx_werror_flag" ||
36874 test ! -s conftest.err
36875 } && test -s conftest.$ac_objext; then
36876 wx_cv_func_statfs_decl=yes
36877 else
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36880
36881 wx_cv_func_statfs_decl=no
36882
36883 fi
36884
36885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36886 ac_ext=c
36887 ac_cpp='$CPP $CPPFLAGS'
36888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891
36892
36893 fi
36894 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36895 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36896
36897 if test "$wx_cv_func_statfs_decl" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define HAVE_STATFS_DECL 1
36900 _ACEOF
36901
36902 fi
36903
36904 wx_cv_type_statvfs_t="struct statfs"
36905 cat >>confdefs.h <<\_ACEOF
36906 #define HAVE_STATFS 1
36907 _ACEOF
36908
36909 else
36910 { echo "$as_me:$LINENO: checking for statvfs" >&5
36911 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36912 if test "${wx_cv_func_statvfs+set}" = set; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915 cat >conftest.$ac_ext <<_ACEOF
36916 /* confdefs.h. */
36917 _ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36921
36922 #include <stddef.h>
36923 #include <sys/statvfs.h>
36924
36925 int
36926 main ()
36927 {
36928
36929 statvfs("/", NULL);
36930
36931 ;
36932 return 0;
36933 }
36934 _ACEOF
36935 rm -f conftest.$ac_objext
36936 if { (ac_try="$ac_compile"
36937 case "(($ac_try" in
36938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36939 *) ac_try_echo=$ac_try;;
36940 esac
36941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36942 (eval "$ac_compile") 2>conftest.er1
36943 ac_status=$?
36944 grep -v '^ *+' conftest.er1 >conftest.err
36945 rm -f conftest.er1
36946 cat conftest.err >&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); } && {
36949 test -z "$ac_c_werror_flag" ||
36950 test ! -s conftest.err
36951 } && test -s conftest.$ac_objext; then
36952 wx_cv_func_statvfs=yes
36953 else
36954 echo "$as_me: failed program was:" >&5
36955 sed 's/^/| /' conftest.$ac_ext >&5
36956
36957 wx_cv_func_statvfs=no
36958
36959 fi
36960
36961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36962
36963 fi
36964 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36965 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36966
36967 if test "$wx_cv_func_statvfs" = "yes"; then
36968 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36969 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36970 if test "${wx_cv_type_statvfs_t+set}" = set; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973 ac_ext=cpp
36974 ac_cpp='$CXXCPP $CPPFLAGS'
36975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978
36979 cat >conftest.$ac_ext <<_ACEOF
36980 /* confdefs.h. */
36981 _ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36985
36986 #include <sys/statvfs.h>
36987
36988 int
36989 main ()
36990 {
36991
36992 long l;
36993 statvfs_t fs;
36994 statvfs("/", &fs);
36995 l = fs.f_bsize;
36996 l += fs.f_blocks;
36997 l += fs.f_bavail;
36998
36999 ;
37000 return 0;
37001 }
37002 _ACEOF
37003 rm -f conftest.$ac_objext
37004 if { (ac_try="$ac_compile"
37005 case "(($ac_try" in
37006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37007 *) ac_try_echo=$ac_try;;
37008 esac
37009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37010 (eval "$ac_compile") 2>conftest.er1
37011 ac_status=$?
37012 grep -v '^ *+' conftest.er1 >conftest.err
37013 rm -f conftest.er1
37014 cat conftest.err >&5
37015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37016 (exit $ac_status); } && {
37017 test -z "$ac_cxx_werror_flag" ||
37018 test ! -s conftest.err
37019 } && test -s conftest.$ac_objext; then
37020 wx_cv_type_statvfs_t=statvfs_t
37021 else
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37024
37025
37026 cat >conftest.$ac_ext <<_ACEOF
37027 /* confdefs.h. */
37028 _ACEOF
37029 cat confdefs.h >>conftest.$ac_ext
37030 cat >>conftest.$ac_ext <<_ACEOF
37031 /* end confdefs.h. */
37032
37033 #include <sys/statvfs.h>
37034
37035 int
37036 main ()
37037 {
37038
37039 long l;
37040 struct statvfs fs;
37041 statvfs("/", &fs);
37042 l = fs.f_bsize;
37043 l += fs.f_blocks;
37044 l += fs.f_bavail;
37045
37046 ;
37047 return 0;
37048 }
37049 _ACEOF
37050 rm -f conftest.$ac_objext
37051 if { (ac_try="$ac_compile"
37052 case "(($ac_try" in
37053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37054 *) ac_try_echo=$ac_try;;
37055 esac
37056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37057 (eval "$ac_compile") 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } && {
37064 test -z "$ac_cxx_werror_flag" ||
37065 test ! -s conftest.err
37066 } && test -s conftest.$ac_objext; then
37067 wx_cv_type_statvfs_t="struct statvfs"
37068 else
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072 wx_cv_type_statvfs_t="unknown"
37073
37074 fi
37075
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077
37078
37079 fi
37080
37081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37082 ac_ext=c
37083 ac_cpp='$CPP $CPPFLAGS'
37084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37087
37088
37089 fi
37090 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37091 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37092
37093 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37094 cat >>confdefs.h <<\_ACEOF
37095 #define HAVE_STATVFS 1
37096 _ACEOF
37097
37098 fi
37099 else
37100 wx_cv_type_statvfs_t="unknown"
37101 fi
37102 fi
37103
37104 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37105 cat >>confdefs.h <<_ACEOF
37106 #define WX_STATFS_T $wx_cv_type_statvfs_t
37107 _ACEOF
37108
37109 else
37110 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37111 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37112 fi
37113
37114 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37115
37116
37117 for ac_func in fcntl flock
37118 do
37119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37124 else
37125 cat >conftest.$ac_ext <<_ACEOF
37126 /* confdefs.h. */
37127 _ACEOF
37128 cat confdefs.h >>conftest.$ac_ext
37129 cat >>conftest.$ac_ext <<_ACEOF
37130 /* end confdefs.h. */
37131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37133 #define $ac_func innocuous_$ac_func
37134
37135 /* System header to define __stub macros and hopefully few prototypes,
37136 which can conflict with char $ac_func (); below.
37137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37138 <limits.h> exists even on freestanding compilers. */
37139
37140 #ifdef __STDC__
37141 # include <limits.h>
37142 #else
37143 # include <assert.h>
37144 #endif
37145
37146 #undef $ac_func
37147
37148 /* Override any GCC internal prototype to avoid an error.
37149 Use char because int might match the return type of a GCC
37150 builtin and then its argument prototype would still apply. */
37151 #ifdef __cplusplus
37152 extern "C"
37153 #endif
37154 char $ac_func ();
37155 /* The GNU C library defines this for functions which it implements
37156 to always fail with ENOSYS. Some functions are actually named
37157 something starting with __ and the normal name is an alias. */
37158 #if defined __stub_$ac_func || defined __stub___$ac_func
37159 choke me
37160 #endif
37161
37162 int
37163 main ()
37164 {
37165 return $ac_func ();
37166 ;
37167 return 0;
37168 }
37169 _ACEOF
37170 rm -f conftest.$ac_objext conftest$ac_exeext
37171 if { (ac_try="$ac_link"
37172 case "(($ac_try" in
37173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37174 *) ac_try_echo=$ac_try;;
37175 esac
37176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37177 (eval "$ac_link") 2>conftest.er1
37178 ac_status=$?
37179 grep -v '^ *+' conftest.er1 >conftest.err
37180 rm -f conftest.er1
37181 cat conftest.err >&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); } && {
37184 test -z "$ac_c_werror_flag" ||
37185 test ! -s conftest.err
37186 } && test -s conftest$ac_exeext &&
37187 $as_test_x conftest$ac_exeext; then
37188 eval "$as_ac_var=yes"
37189 else
37190 echo "$as_me: failed program was:" >&5
37191 sed 's/^/| /' conftest.$ac_ext >&5
37192
37193 eval "$as_ac_var=no"
37194 fi
37195
37196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37197 conftest$ac_exeext conftest.$ac_ext
37198 fi
37199 ac_res=`eval echo '${'$as_ac_var'}'`
37200 { echo "$as_me:$LINENO: result: $ac_res" >&5
37201 echo "${ECHO_T}$ac_res" >&6; }
37202 if test `eval echo '${'$as_ac_var'}'` = yes; then
37203 cat >>confdefs.h <<_ACEOF
37204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37205 _ACEOF
37206 break
37207 fi
37208 done
37209
37210
37211 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37212 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37213 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37214 wxUSE_SNGLINST_CHECKER=no
37215 fi
37216 fi
37217
37218
37219
37220 for ac_func in setenv putenv
37221 do
37222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37225 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37226 echo $ECHO_N "(cached) $ECHO_C" >&6
37227 else
37228 cat >conftest.$ac_ext <<_ACEOF
37229 /* confdefs.h. */
37230 _ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37236 #define $ac_func innocuous_$ac_func
37237
37238 /* System header to define __stub macros and hopefully few prototypes,
37239 which can conflict with char $ac_func (); below.
37240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37241 <limits.h> exists even on freestanding compilers. */
37242
37243 #ifdef __STDC__
37244 # include <limits.h>
37245 #else
37246 # include <assert.h>
37247 #endif
37248
37249 #undef $ac_func
37250
37251 /* Override any GCC internal prototype to avoid an error.
37252 Use char because int might match the return type of a GCC
37253 builtin and then its argument prototype would still apply. */
37254 #ifdef __cplusplus
37255 extern "C"
37256 #endif
37257 char $ac_func ();
37258 /* The GNU C library defines this for functions which it implements
37259 to always fail with ENOSYS. Some functions are actually named
37260 something starting with __ and the normal name is an alias. */
37261 #if defined __stub_$ac_func || defined __stub___$ac_func
37262 choke me
37263 #endif
37264
37265 int
37266 main ()
37267 {
37268 return $ac_func ();
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (ac_try="$ac_link"
37275 case "(($ac_try" in
37276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37277 *) ac_try_echo=$ac_try;;
37278 esac
37279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37280 (eval "$ac_link") 2>conftest.er1
37281 ac_status=$?
37282 grep -v '^ *+' conftest.er1 >conftest.err
37283 rm -f conftest.er1
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } && {
37287 test -z "$ac_c_werror_flag" ||
37288 test ! -s conftest.err
37289 } && test -s conftest$ac_exeext &&
37290 $as_test_x conftest$ac_exeext; then
37291 eval "$as_ac_var=yes"
37292 else
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.$ac_ext >&5
37295
37296 eval "$as_ac_var=no"
37297 fi
37298
37299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37300 conftest$ac_exeext conftest.$ac_ext
37301 fi
37302 ac_res=`eval echo '${'$as_ac_var'}'`
37303 { echo "$as_me:$LINENO: result: $ac_res" >&5
37304 echo "${ECHO_T}$ac_res" >&6; }
37305 if test `eval echo '${'$as_ac_var'}'` = yes; then
37306 cat >>confdefs.h <<_ACEOF
37307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 _ACEOF
37309 break
37310 fi
37311 done
37312
37313 if test "$ac_cv_func_setenv" = "yes"; then
37314
37315 for ac_func in unsetenv
37316 do
37317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37318 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37320 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 else
37323 cat >conftest.$ac_ext <<_ACEOF
37324 /* confdefs.h. */
37325 _ACEOF
37326 cat confdefs.h >>conftest.$ac_ext
37327 cat >>conftest.$ac_ext <<_ACEOF
37328 /* end confdefs.h. */
37329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37331 #define $ac_func innocuous_$ac_func
37332
37333 /* System header to define __stub macros and hopefully few prototypes,
37334 which can conflict with char $ac_func (); below.
37335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37336 <limits.h> exists even on freestanding compilers. */
37337
37338 #ifdef __STDC__
37339 # include <limits.h>
37340 #else
37341 # include <assert.h>
37342 #endif
37343
37344 #undef $ac_func
37345
37346 /* Override any GCC internal prototype to avoid an error.
37347 Use char because int might match the return type of a GCC
37348 builtin and then its argument prototype would still apply. */
37349 #ifdef __cplusplus
37350 extern "C"
37351 #endif
37352 char $ac_func ();
37353 /* The GNU C library defines this for functions which it implements
37354 to always fail with ENOSYS. Some functions are actually named
37355 something starting with __ and the normal name is an alias. */
37356 #if defined __stub_$ac_func || defined __stub___$ac_func
37357 choke me
37358 #endif
37359
37360 int
37361 main ()
37362 {
37363 return $ac_func ();
37364 ;
37365 return 0;
37366 }
37367 _ACEOF
37368 rm -f conftest.$ac_objext conftest$ac_exeext
37369 if { (ac_try="$ac_link"
37370 case "(($ac_try" in
37371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37372 *) ac_try_echo=$ac_try;;
37373 esac
37374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37375 (eval "$ac_link") 2>conftest.er1
37376 ac_status=$?
37377 grep -v '^ *+' conftest.er1 >conftest.err
37378 rm -f conftest.er1
37379 cat conftest.err >&5
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); } && {
37382 test -z "$ac_c_werror_flag" ||
37383 test ! -s conftest.err
37384 } && test -s conftest$ac_exeext &&
37385 $as_test_x conftest$ac_exeext; then
37386 eval "$as_ac_var=yes"
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37390
37391 eval "$as_ac_var=no"
37392 fi
37393
37394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37395 conftest$ac_exeext conftest.$ac_ext
37396 fi
37397 ac_res=`eval echo '${'$as_ac_var'}'`
37398 { echo "$as_me:$LINENO: result: $ac_res" >&5
37399 echo "${ECHO_T}$ac_res" >&6; }
37400 if test `eval echo '${'$as_ac_var'}'` = yes; then
37401 cat >>confdefs.h <<_ACEOF
37402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37403 _ACEOF
37404
37405 fi
37406 done
37407
37408 fi
37409
37410 HAVE_SOME_SLEEP_FUNC=0
37411 if test "$USE_BEOS" = 1; then
37412 cat >>confdefs.h <<\_ACEOF
37413 #define HAVE_SLEEP 1
37414 _ACEOF
37415
37416 HAVE_SOME_SLEEP_FUNC=1
37417 fi
37418
37419 if test "$USE_DARWIN" = 1; then
37420 cat >>confdefs.h <<\_ACEOF
37421 #define HAVE_USLEEP 1
37422 _ACEOF
37423
37424 HAVE_SOME_SLEEP_FUNC=1
37425 fi
37426
37427 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37428 POSIX4_LINK=
37429
37430 for ac_func in nanosleep
37431 do
37432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37436 echo $ECHO_N "(cached) $ECHO_C" >&6
37437 else
37438 cat >conftest.$ac_ext <<_ACEOF
37439 /* confdefs.h. */
37440 _ACEOF
37441 cat confdefs.h >>conftest.$ac_ext
37442 cat >>conftest.$ac_ext <<_ACEOF
37443 /* end confdefs.h. */
37444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37446 #define $ac_func innocuous_$ac_func
37447
37448 /* System header to define __stub macros and hopefully few prototypes,
37449 which can conflict with char $ac_func (); below.
37450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37451 <limits.h> exists even on freestanding compilers. */
37452
37453 #ifdef __STDC__
37454 # include <limits.h>
37455 #else
37456 # include <assert.h>
37457 #endif
37458
37459 #undef $ac_func
37460
37461 /* Override any GCC internal prototype to avoid an error.
37462 Use char because int might match the return type of a GCC
37463 builtin and then its argument prototype would still apply. */
37464 #ifdef __cplusplus
37465 extern "C"
37466 #endif
37467 char $ac_func ();
37468 /* The GNU C library defines this for functions which it implements
37469 to always fail with ENOSYS. Some functions are actually named
37470 something starting with __ and the normal name is an alias. */
37471 #if defined __stub_$ac_func || defined __stub___$ac_func
37472 choke me
37473 #endif
37474
37475 int
37476 main ()
37477 {
37478 return $ac_func ();
37479 ;
37480 return 0;
37481 }
37482 _ACEOF
37483 rm -f conftest.$ac_objext conftest$ac_exeext
37484 if { (ac_try="$ac_link"
37485 case "(($ac_try" in
37486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37487 *) ac_try_echo=$ac_try;;
37488 esac
37489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37490 (eval "$ac_link") 2>conftest.er1
37491 ac_status=$?
37492 grep -v '^ *+' conftest.er1 >conftest.err
37493 rm -f conftest.er1
37494 cat conftest.err >&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } && {
37497 test -z "$ac_c_werror_flag" ||
37498 test ! -s conftest.err
37499 } && test -s conftest$ac_exeext &&
37500 $as_test_x conftest$ac_exeext; then
37501 eval "$as_ac_var=yes"
37502 else
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.$ac_ext >&5
37505
37506 eval "$as_ac_var=no"
37507 fi
37508
37509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37510 conftest$ac_exeext conftest.$ac_ext
37511 fi
37512 ac_res=`eval echo '${'$as_ac_var'}'`
37513 { echo "$as_me:$LINENO: result: $ac_res" >&5
37514 echo "${ECHO_T}$ac_res" >&6; }
37515 if test `eval echo '${'$as_ac_var'}'` = yes; then
37516 cat >>confdefs.h <<_ACEOF
37517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37518 _ACEOF
37519 cat >>confdefs.h <<\_ACEOF
37520 #define HAVE_NANOSLEEP 1
37521 _ACEOF
37522
37523 else
37524
37525 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37526 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37527 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37528 echo $ECHO_N "(cached) $ECHO_C" >&6
37529 else
37530 ac_check_lib_save_LIBS=$LIBS
37531 LIBS="-lposix4 $LIBS"
37532 cat >conftest.$ac_ext <<_ACEOF
37533 /* confdefs.h. */
37534 _ACEOF
37535 cat confdefs.h >>conftest.$ac_ext
37536 cat >>conftest.$ac_ext <<_ACEOF
37537 /* end confdefs.h. */
37538
37539 /* Override any GCC internal prototype to avoid an error.
37540 Use char because int might match the return type of a GCC
37541 builtin and then its argument prototype would still apply. */
37542 #ifdef __cplusplus
37543 extern "C"
37544 #endif
37545 char nanosleep ();
37546 int
37547 main ()
37548 {
37549 return nanosleep ();
37550 ;
37551 return 0;
37552 }
37553 _ACEOF
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (ac_try="$ac_link"
37556 case "(($ac_try" in
37557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37558 *) ac_try_echo=$ac_try;;
37559 esac
37560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37561 (eval "$ac_link") 2>conftest.er1
37562 ac_status=$?
37563 grep -v '^ *+' conftest.er1 >conftest.err
37564 rm -f conftest.er1
37565 cat conftest.err >&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } && {
37568 test -z "$ac_c_werror_flag" ||
37569 test ! -s conftest.err
37570 } && test -s conftest$ac_exeext &&
37571 $as_test_x conftest$ac_exeext; then
37572 ac_cv_lib_posix4_nanosleep=yes
37573 else
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.$ac_ext >&5
37576
37577 ac_cv_lib_posix4_nanosleep=no
37578 fi
37579
37580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37581 conftest$ac_exeext conftest.$ac_ext
37582 LIBS=$ac_check_lib_save_LIBS
37583 fi
37584 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37585 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37586 if test $ac_cv_lib_posix4_nanosleep = yes; then
37587
37588 cat >>confdefs.h <<\_ACEOF
37589 #define HAVE_NANOSLEEP 1
37590 _ACEOF
37591
37592 POSIX4_LINK=" -lposix4"
37593
37594 else
37595
37596
37597 for wx_func in usleep
37598 do
37599 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37601 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 else
37604
37605 cat >conftest.$ac_ext <<_ACEOF
37606
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612
37613
37614 $ac_includes_default
37615
37616 int
37617 main ()
37618 {
37619
37620 #ifndef $wx_func
37621 &$wx_func;
37622 #endif
37623
37624
37625 ;
37626 return 0;
37627 }
37628
37629 _ACEOF
37630 rm -f conftest.$ac_objext conftest$ac_exeext
37631 if { (ac_try="$ac_link"
37632 case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37635 esac
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_link") 2>conftest.er1
37638 ac_status=$?
37639 grep -v '^ *+' conftest.er1 >conftest.err
37640 rm -f conftest.er1
37641 cat conftest.err >&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_c_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest$ac_exeext &&
37647 $as_test_x conftest$ac_exeext; then
37648 eval wx_cv_func_$wx_func=yes
37649 else
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.$ac_ext >&5
37652
37653 eval wx_cv_func_$wx_func=no
37654 fi
37655
37656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37657 conftest$ac_exeext conftest.$ac_ext
37658
37659 fi
37660 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37661 { echo "$as_me:$LINENO: result: $ac_res" >&5
37662 echo "${ECHO_T}$ac_res" >&6; }
37663
37664 if eval test \$wx_cv_func_$wx_func = yes
37665 then
37666 cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37668 _ACEOF
37669
37670
37671 else
37672 :
37673 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37674 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37675
37676 fi
37677 done
37678
37679
37680
37681 fi
37682
37683
37684
37685 fi
37686 done
37687
37688 fi
37689
37690
37691 for wx_func in uname
37692 do
37693 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37694 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37695 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 else
37698
37699 cat >conftest.$ac_ext <<_ACEOF
37700
37701 /* confdefs.h. */
37702 _ACEOF
37703 cat confdefs.h >>conftest.$ac_ext
37704 cat >>conftest.$ac_ext <<_ACEOF
37705 /* end confdefs.h. */
37706
37707 #include <sys/utsname.h>
37708 $ac_includes_default
37709
37710 int
37711 main ()
37712 {
37713
37714 #ifndef $wx_func
37715 &$wx_func;
37716 #endif
37717
37718
37719 ;
37720 return 0;
37721 }
37722
37723 _ACEOF
37724 rm -f conftest.$ac_objext conftest$ac_exeext
37725 if { (ac_try="$ac_link"
37726 case "(($ac_try" in
37727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37728 *) ac_try_echo=$ac_try;;
37729 esac
37730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37731 (eval "$ac_link") 2>conftest.er1
37732 ac_status=$?
37733 grep -v '^ *+' conftest.er1 >conftest.err
37734 rm -f conftest.er1
37735 cat conftest.err >&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } && {
37738 test -z "$ac_c_werror_flag" ||
37739 test ! -s conftest.err
37740 } && test -s conftest$ac_exeext &&
37741 $as_test_x conftest$ac_exeext; then
37742 eval wx_cv_func_$wx_func=yes
37743 else
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.$ac_ext >&5
37746
37747 eval wx_cv_func_$wx_func=no
37748 fi
37749
37750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37751 conftest$ac_exeext conftest.$ac_ext
37752
37753 fi
37754 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37755 { echo "$as_me:$LINENO: result: $ac_res" >&5
37756 echo "${ECHO_T}$ac_res" >&6; }
37757
37758 if eval test \$wx_cv_func_$wx_func = yes
37759 then
37760 cat >>confdefs.h <<_ACEOF
37761 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37762 _ACEOF
37763
37764
37765 else
37766 :
37767
37768 fi
37769 done
37770
37771 if test "$wx_cv_func_uname" != yes; then
37772
37773 for wx_func in gethostname
37774 do
37775 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37776 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37777 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 else
37780
37781 cat >conftest.$ac_ext <<_ACEOF
37782
37783 /* confdefs.h. */
37784 _ACEOF
37785 cat confdefs.h >>conftest.$ac_ext
37786 cat >>conftest.$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788
37789
37790 $ac_includes_default
37791
37792 int
37793 main ()
37794 {
37795
37796 #ifndef $wx_func
37797 &$wx_func;
37798 #endif
37799
37800
37801 ;
37802 return 0;
37803 }
37804
37805 _ACEOF
37806 rm -f conftest.$ac_objext conftest$ac_exeext
37807 if { (ac_try="$ac_link"
37808 case "(($ac_try" in
37809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37810 *) ac_try_echo=$ac_try;;
37811 esac
37812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37813 (eval "$ac_link") 2>conftest.er1
37814 ac_status=$?
37815 grep -v '^ *+' conftest.er1 >conftest.err
37816 rm -f conftest.er1
37817 cat conftest.err >&5
37818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37819 (exit $ac_status); } && {
37820 test -z "$ac_c_werror_flag" ||
37821 test ! -s conftest.err
37822 } && test -s conftest$ac_exeext &&
37823 $as_test_x conftest$ac_exeext; then
37824 eval wx_cv_func_$wx_func=yes
37825 else
37826 echo "$as_me: failed program was:" >&5
37827 sed 's/^/| /' conftest.$ac_ext >&5
37828
37829 eval wx_cv_func_$wx_func=no
37830 fi
37831
37832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37833 conftest$ac_exeext conftest.$ac_ext
37834
37835 fi
37836 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37837 { echo "$as_me:$LINENO: result: $ac_res" >&5
37838 echo "${ECHO_T}$ac_res" >&6; }
37839
37840 if eval test \$wx_cv_func_$wx_func = yes
37841 then
37842 cat >>confdefs.h <<_ACEOF
37843 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37844 _ACEOF
37845
37846
37847 else
37848 :
37849
37850 fi
37851 done
37852
37853 fi
37854
37855
37856 for wx_func in strtok_r
37857 do
37858 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37859 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37860 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37861 echo $ECHO_N "(cached) $ECHO_C" >&6
37862 else
37863
37864 cat >conftest.$ac_ext <<_ACEOF
37865
37866 /* confdefs.h. */
37867 _ACEOF
37868 cat confdefs.h >>conftest.$ac_ext
37869 cat >>conftest.$ac_ext <<_ACEOF
37870 /* end confdefs.h. */
37871
37872 #define _REENTRANT
37873 $ac_includes_default
37874
37875 int
37876 main ()
37877 {
37878
37879 #ifndef $wx_func
37880 &$wx_func;
37881 #endif
37882
37883
37884 ;
37885 return 0;
37886 }
37887
37888 _ACEOF
37889 rm -f conftest.$ac_objext conftest$ac_exeext
37890 if { (ac_try="$ac_link"
37891 case "(($ac_try" in
37892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37893 *) ac_try_echo=$ac_try;;
37894 esac
37895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37896 (eval "$ac_link") 2>conftest.er1
37897 ac_status=$?
37898 grep -v '^ *+' conftest.er1 >conftest.err
37899 rm -f conftest.er1
37900 cat conftest.err >&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } && {
37903 test -z "$ac_c_werror_flag" ||
37904 test ! -s conftest.err
37905 } && test -s conftest$ac_exeext &&
37906 $as_test_x conftest$ac_exeext; then
37907 eval wx_cv_func_$wx_func=yes
37908 else
37909 echo "$as_me: failed program was:" >&5
37910 sed 's/^/| /' conftest.$ac_ext >&5
37911
37912 eval wx_cv_func_$wx_func=no
37913 fi
37914
37915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37916 conftest$ac_exeext conftest.$ac_ext
37917
37918 fi
37919 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37920 { echo "$as_me:$LINENO: result: $ac_res" >&5
37921 echo "${ECHO_T}$ac_res" >&6; }
37922
37923 if eval test \$wx_cv_func_$wx_func = yes
37924 then
37925 cat >>confdefs.h <<_ACEOF
37926 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37927 _ACEOF
37928
37929
37930 else
37931 :
37932
37933 fi
37934 done
37935
37936
37937 INET_LINK=
37938
37939 for ac_func in inet_addr
37940 do
37941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37945 echo $ECHO_N "(cached) $ECHO_C" >&6
37946 else
37947 cat >conftest.$ac_ext <<_ACEOF
37948 /* confdefs.h. */
37949 _ACEOF
37950 cat confdefs.h >>conftest.$ac_ext
37951 cat >>conftest.$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37955 #define $ac_func innocuous_$ac_func
37956
37957 /* System header to define __stub macros and hopefully few prototypes,
37958 which can conflict with char $ac_func (); below.
37959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37960 <limits.h> exists even on freestanding compilers. */
37961
37962 #ifdef __STDC__
37963 # include <limits.h>
37964 #else
37965 # include <assert.h>
37966 #endif
37967
37968 #undef $ac_func
37969
37970 /* Override any GCC internal prototype to avoid an error.
37971 Use char because int might match the return type of a GCC
37972 builtin and then its argument prototype would still apply. */
37973 #ifdef __cplusplus
37974 extern "C"
37975 #endif
37976 char $ac_func ();
37977 /* The GNU C library defines this for functions which it implements
37978 to always fail with ENOSYS. Some functions are actually named
37979 something starting with __ and the normal name is an alias. */
37980 #if defined __stub_$ac_func || defined __stub___$ac_func
37981 choke me
37982 #endif
37983
37984 int
37985 main ()
37986 {
37987 return $ac_func ();
37988 ;
37989 return 0;
37990 }
37991 _ACEOF
37992 rm -f conftest.$ac_objext conftest$ac_exeext
37993 if { (ac_try="$ac_link"
37994 case "(($ac_try" in
37995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37996 *) ac_try_echo=$ac_try;;
37997 esac
37998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37999 (eval "$ac_link") 2>conftest.er1
38000 ac_status=$?
38001 grep -v '^ *+' conftest.er1 >conftest.err
38002 rm -f conftest.er1
38003 cat conftest.err >&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); } && {
38006 test -z "$ac_c_werror_flag" ||
38007 test ! -s conftest.err
38008 } && test -s conftest$ac_exeext &&
38009 $as_test_x conftest$ac_exeext; then
38010 eval "$as_ac_var=yes"
38011 else
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.$ac_ext >&5
38014
38015 eval "$as_ac_var=no"
38016 fi
38017
38018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38019 conftest$ac_exeext conftest.$ac_ext
38020 fi
38021 ac_res=`eval echo '${'$as_ac_var'}'`
38022 { echo "$as_me:$LINENO: result: $ac_res" >&5
38023 echo "${ECHO_T}$ac_res" >&6; }
38024 if test `eval echo '${'$as_ac_var'}'` = yes; then
38025 cat >>confdefs.h <<_ACEOF
38026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38027 _ACEOF
38028 cat >>confdefs.h <<\_ACEOF
38029 #define HAVE_INET_ADDR 1
38030 _ACEOF
38031
38032 else
38033
38034 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38035 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38036 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38037 echo $ECHO_N "(cached) $ECHO_C" >&6
38038 else
38039 ac_check_lib_save_LIBS=$LIBS
38040 LIBS="-lnsl $LIBS"
38041 cat >conftest.$ac_ext <<_ACEOF
38042 /* confdefs.h. */
38043 _ACEOF
38044 cat confdefs.h >>conftest.$ac_ext
38045 cat >>conftest.$ac_ext <<_ACEOF
38046 /* end confdefs.h. */
38047
38048 /* Override any GCC internal prototype to avoid an error.
38049 Use char because int might match the return type of a GCC
38050 builtin and then its argument prototype would still apply. */
38051 #ifdef __cplusplus
38052 extern "C"
38053 #endif
38054 char inet_addr ();
38055 int
38056 main ()
38057 {
38058 return inet_addr ();
38059 ;
38060 return 0;
38061 }
38062 _ACEOF
38063 rm -f conftest.$ac_objext conftest$ac_exeext
38064 if { (ac_try="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38068 esac
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38071 ac_status=$?
38072 grep -v '^ *+' conftest.er1 >conftest.err
38073 rm -f conftest.er1
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest$ac_exeext &&
38080 $as_test_x conftest$ac_exeext; then
38081 ac_cv_lib_nsl_inet_addr=yes
38082 else
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38085
38086 ac_cv_lib_nsl_inet_addr=no
38087 fi
38088
38089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38090 conftest$ac_exeext conftest.$ac_ext
38091 LIBS=$ac_check_lib_save_LIBS
38092 fi
38093 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38094 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38095 if test $ac_cv_lib_nsl_inet_addr = yes; then
38096 INET_LINK="nsl"
38097 else
38098
38099 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38100 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38101 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38102 echo $ECHO_N "(cached) $ECHO_C" >&6
38103 else
38104 ac_check_lib_save_LIBS=$LIBS
38105 LIBS="-lresolv $LIBS"
38106 cat >conftest.$ac_ext <<_ACEOF
38107 /* confdefs.h. */
38108 _ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38112
38113 /* Override any GCC internal prototype to avoid an error.
38114 Use char because int might match the return type of a GCC
38115 builtin and then its argument prototype would still apply. */
38116 #ifdef __cplusplus
38117 extern "C"
38118 #endif
38119 char inet_addr ();
38120 int
38121 main ()
38122 {
38123 return inet_addr ();
38124 ;
38125 return 0;
38126 }
38127 _ACEOF
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (ac_try="$ac_link"
38130 case "(($ac_try" in
38131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38132 *) ac_try_echo=$ac_try;;
38133 esac
38134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38135 (eval "$ac_link") 2>conftest.er1
38136 ac_status=$?
38137 grep -v '^ *+' conftest.er1 >conftest.err
38138 rm -f conftest.er1
38139 cat conftest.err >&5
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); } && {
38142 test -z "$ac_c_werror_flag" ||
38143 test ! -s conftest.err
38144 } && test -s conftest$ac_exeext &&
38145 $as_test_x conftest$ac_exeext; then
38146 ac_cv_lib_resolv_inet_addr=yes
38147 else
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38150
38151 ac_cv_lib_resolv_inet_addr=no
38152 fi
38153
38154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38155 conftest$ac_exeext conftest.$ac_ext
38156 LIBS=$ac_check_lib_save_LIBS
38157 fi
38158 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38159 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38160 if test $ac_cv_lib_resolv_inet_addr = yes; then
38161 INET_LINK="resolv"
38162 else
38163
38164 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38165 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38166 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38167 echo $ECHO_N "(cached) $ECHO_C" >&6
38168 else
38169 ac_check_lib_save_LIBS=$LIBS
38170 LIBS="-lsocket $LIBS"
38171 cat >conftest.$ac_ext <<_ACEOF
38172 /* confdefs.h. */
38173 _ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177
38178 /* Override any GCC internal prototype to avoid an error.
38179 Use char because int might match the return type of a GCC
38180 builtin and then its argument prototype would still apply. */
38181 #ifdef __cplusplus
38182 extern "C"
38183 #endif
38184 char inet_addr ();
38185 int
38186 main ()
38187 {
38188 return inet_addr ();
38189 ;
38190 return 0;
38191 }
38192 _ACEOF
38193 rm -f conftest.$ac_objext conftest$ac_exeext
38194 if { (ac_try="$ac_link"
38195 case "(($ac_try" in
38196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38197 *) ac_try_echo=$ac_try;;
38198 esac
38199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38200 (eval "$ac_link") 2>conftest.er1
38201 ac_status=$?
38202 grep -v '^ *+' conftest.er1 >conftest.err
38203 rm -f conftest.er1
38204 cat conftest.err >&5
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } && {
38207 test -z "$ac_c_werror_flag" ||
38208 test ! -s conftest.err
38209 } && test -s conftest$ac_exeext &&
38210 $as_test_x conftest$ac_exeext; then
38211 ac_cv_lib_socket_inet_addr=yes
38212 else
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.$ac_ext >&5
38215
38216 ac_cv_lib_socket_inet_addr=no
38217 fi
38218
38219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38220 conftest$ac_exeext conftest.$ac_ext
38221 LIBS=$ac_check_lib_save_LIBS
38222 fi
38223 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38224 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38225 if test $ac_cv_lib_socket_inet_addr = yes; then
38226 INET_LINK="socket"
38227
38228 fi
38229
38230
38231
38232 fi
38233
38234
38235
38236 fi
38237
38238
38239
38240 fi
38241 done
38242
38243
38244
38245 for ac_func in inet_aton
38246 do
38247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38248 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38250 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38251 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 else
38253 cat >conftest.$ac_ext <<_ACEOF
38254 /* confdefs.h. */
38255 _ACEOF
38256 cat confdefs.h >>conftest.$ac_ext
38257 cat >>conftest.$ac_ext <<_ACEOF
38258 /* end confdefs.h. */
38259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38261 #define $ac_func innocuous_$ac_func
38262
38263 /* System header to define __stub macros and hopefully few prototypes,
38264 which can conflict with char $ac_func (); below.
38265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38266 <limits.h> exists even on freestanding compilers. */
38267
38268 #ifdef __STDC__
38269 # include <limits.h>
38270 #else
38271 # include <assert.h>
38272 #endif
38273
38274 #undef $ac_func
38275
38276 /* Override any GCC internal prototype to avoid an error.
38277 Use char because int might match the return type of a GCC
38278 builtin and then its argument prototype would still apply. */
38279 #ifdef __cplusplus
38280 extern "C"
38281 #endif
38282 char $ac_func ();
38283 /* The GNU C library defines this for functions which it implements
38284 to always fail with ENOSYS. Some functions are actually named
38285 something starting with __ and the normal name is an alias. */
38286 #if defined __stub_$ac_func || defined __stub___$ac_func
38287 choke me
38288 #endif
38289
38290 int
38291 main ()
38292 {
38293 return $ac_func ();
38294 ;
38295 return 0;
38296 }
38297 _ACEOF
38298 rm -f conftest.$ac_objext conftest$ac_exeext
38299 if { (ac_try="$ac_link"
38300 case "(($ac_try" in
38301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38302 *) ac_try_echo=$ac_try;;
38303 esac
38304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38305 (eval "$ac_link") 2>conftest.er1
38306 ac_status=$?
38307 grep -v '^ *+' conftest.er1 >conftest.err
38308 rm -f conftest.er1
38309 cat conftest.err >&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); } && {
38312 test -z "$ac_c_werror_flag" ||
38313 test ! -s conftest.err
38314 } && test -s conftest$ac_exeext &&
38315 $as_test_x conftest$ac_exeext; then
38316 eval "$as_ac_var=yes"
38317 else
38318 echo "$as_me: failed program was:" >&5
38319 sed 's/^/| /' conftest.$ac_ext >&5
38320
38321 eval "$as_ac_var=no"
38322 fi
38323
38324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38325 conftest$ac_exeext conftest.$ac_ext
38326 fi
38327 ac_res=`eval echo '${'$as_ac_var'}'`
38328 { echo "$as_me:$LINENO: result: $ac_res" >&5
38329 echo "${ECHO_T}$ac_res" >&6; }
38330 if test `eval echo '${'$as_ac_var'}'` = yes; then
38331 cat >>confdefs.h <<_ACEOF
38332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38333 _ACEOF
38334 cat >>confdefs.h <<\_ACEOF
38335 #define HAVE_INET_ATON 1
38336 _ACEOF
38337
38338 else
38339
38340 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38341 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38342 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38343 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38346 ac_check_lib_save_LIBS=$LIBS
38347 LIBS="-l$INET_LINK $LIBS"
38348 cat >conftest.$ac_ext <<_ACEOF
38349 /* confdefs.h. */
38350 _ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38354
38355 /* Override any GCC internal prototype to avoid an error.
38356 Use char because int might match the return type of a GCC
38357 builtin and then its argument prototype would still apply. */
38358 #ifdef __cplusplus
38359 extern "C"
38360 #endif
38361 char inet_aton ();
38362 int
38363 main ()
38364 {
38365 return inet_aton ();
38366 ;
38367 return 0;
38368 }
38369 _ACEOF
38370 rm -f conftest.$ac_objext conftest$ac_exeext
38371 if { (ac_try="$ac_link"
38372 case "(($ac_try" in
38373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38374 *) ac_try_echo=$ac_try;;
38375 esac
38376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38377 (eval "$ac_link") 2>conftest.er1
38378 ac_status=$?
38379 grep -v '^ *+' conftest.er1 >conftest.err
38380 rm -f conftest.er1
38381 cat conftest.err >&5
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); } && {
38384 test -z "$ac_c_werror_flag" ||
38385 test ! -s conftest.err
38386 } && test -s conftest$ac_exeext &&
38387 $as_test_x conftest$ac_exeext; then
38388 eval "$as_ac_Lib=yes"
38389 else
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38392
38393 eval "$as_ac_Lib=no"
38394 fi
38395
38396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38397 conftest$ac_exeext conftest.$ac_ext
38398 LIBS=$ac_check_lib_save_LIBS
38399 fi
38400 ac_res=`eval echo '${'$as_ac_Lib'}'`
38401 { echo "$as_me:$LINENO: result: $ac_res" >&5
38402 echo "${ECHO_T}$ac_res" >&6; }
38403 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38404 cat >>confdefs.h <<\_ACEOF
38405 #define HAVE_INET_ATON 1
38406 _ACEOF
38407
38408 fi
38409
38410
38411 fi
38412 done
38413
38414
38415 if test "x$INET_LINK" != "x"; then
38416 cat >>confdefs.h <<\_ACEOF
38417 #define HAVE_INET_ADDR 1
38418 _ACEOF
38419
38420 INET_LINK=" -l$INET_LINK"
38421 fi
38422
38423
38424 for wx_func in fdopen
38425 do
38426 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38427 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38428 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38429 echo $ECHO_N "(cached) $ECHO_C" >&6
38430 else
38431
38432 cat >conftest.$ac_ext <<_ACEOF
38433
38434 /* confdefs.h. */
38435 _ACEOF
38436 cat confdefs.h >>conftest.$ac_ext
38437 cat >>conftest.$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38439
38440
38441 $ac_includes_default
38442
38443 int
38444 main ()
38445 {
38446
38447 #ifndef $wx_func
38448 &$wx_func;
38449 #endif
38450
38451
38452 ;
38453 return 0;
38454 }
38455
38456 _ACEOF
38457 rm -f conftest.$ac_objext conftest$ac_exeext
38458 if { (ac_try="$ac_link"
38459 case "(($ac_try" in
38460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38462 esac
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_link") 2>conftest.er1
38465 ac_status=$?
38466 grep -v '^ *+' conftest.er1 >conftest.err
38467 rm -f conftest.er1
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } && {
38471 test -z "$ac_c_werror_flag" ||
38472 test ! -s conftest.err
38473 } && test -s conftest$ac_exeext &&
38474 $as_test_x conftest$ac_exeext; then
38475 eval wx_cv_func_$wx_func=yes
38476 else
38477 echo "$as_me: failed program was:" >&5
38478 sed 's/^/| /' conftest.$ac_ext >&5
38479
38480 eval wx_cv_func_$wx_func=no
38481 fi
38482
38483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38484 conftest$ac_exeext conftest.$ac_ext
38485
38486 fi
38487 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38488 { echo "$as_me:$LINENO: result: $ac_res" >&5
38489 echo "${ECHO_T}$ac_res" >&6; }
38490
38491 if eval test \$wx_cv_func_$wx_func = yes
38492 then
38493 cat >>confdefs.h <<_ACEOF
38494 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38495 _ACEOF
38496
38497
38498 else
38499 :
38500
38501 fi
38502 done
38503
38504
38505 if test "$wxUSE_TARSTREAM" = "yes"; then
38506
38507 for wx_func in sysconf
38508 do
38509 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38511 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514
38515 cat >conftest.$ac_ext <<_ACEOF
38516
38517 /* confdefs.h. */
38518 _ACEOF
38519 cat confdefs.h >>conftest.$ac_ext
38520 cat >>conftest.$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38522
38523
38524 $ac_includes_default
38525
38526 int
38527 main ()
38528 {
38529
38530 #ifndef $wx_func
38531 &$wx_func;
38532 #endif
38533
38534
38535 ;
38536 return 0;
38537 }
38538
38539 _ACEOF
38540 rm -f conftest.$ac_objext conftest$ac_exeext
38541 if { (ac_try="$ac_link"
38542 case "(($ac_try" in
38543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38544 *) ac_try_echo=$ac_try;;
38545 esac
38546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38547 (eval "$ac_link") 2>conftest.er1
38548 ac_status=$?
38549 grep -v '^ *+' conftest.er1 >conftest.err
38550 rm -f conftest.er1
38551 cat conftest.err >&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); } && {
38554 test -z "$ac_c_werror_flag" ||
38555 test ! -s conftest.err
38556 } && test -s conftest$ac_exeext &&
38557 $as_test_x conftest$ac_exeext; then
38558 eval wx_cv_func_$wx_func=yes
38559 else
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38562
38563 eval wx_cv_func_$wx_func=no
38564 fi
38565
38566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38567 conftest$ac_exeext conftest.$ac_ext
38568
38569 fi
38570 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38571 { echo "$as_me:$LINENO: result: $ac_res" >&5
38572 echo "${ECHO_T}$ac_res" >&6; }
38573
38574 if eval test \$wx_cv_func_$wx_func = yes
38575 then
38576 cat >>confdefs.h <<_ACEOF
38577 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38578 _ACEOF
38579
38580
38581 else
38582 :
38583
38584 fi
38585 done
38586
38587
38588
38589 for wx_func in getpwuid_r
38590 do
38591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38593 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38594 echo $ECHO_N "(cached) $ECHO_C" >&6
38595 else
38596
38597 cat >conftest.$ac_ext <<_ACEOF
38598
38599 /* confdefs.h. */
38600 _ACEOF
38601 cat confdefs.h >>conftest.$ac_ext
38602 cat >>conftest.$ac_ext <<_ACEOF
38603 /* end confdefs.h. */
38604
38605
38606 #define _REENTRANT
38607 #include <pwd.h>
38608
38609 $ac_includes_default
38610
38611 int
38612 main ()
38613 {
38614
38615 #ifndef $wx_func
38616 &$wx_func;
38617 #endif
38618
38619 struct passwd pw, *ppw;
38620 char buf[1024];
38621 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38622
38623
38624 ;
38625 return 0;
38626 }
38627
38628 _ACEOF
38629 rm -f conftest.$ac_objext conftest$ac_exeext
38630 if { (ac_try="$ac_link"
38631 case "(($ac_try" in
38632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38633 *) ac_try_echo=$ac_try;;
38634 esac
38635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38636 (eval "$ac_link") 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } && {
38643 test -z "$ac_c_werror_flag" ||
38644 test ! -s conftest.err
38645 } && test -s conftest$ac_exeext &&
38646 $as_test_x conftest$ac_exeext; then
38647 eval wx_cv_func_$wx_func=yes
38648 else
38649 echo "$as_me: failed program was:" >&5
38650 sed 's/^/| /' conftest.$ac_ext >&5
38651
38652 eval wx_cv_func_$wx_func=no
38653 fi
38654
38655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38656 conftest$ac_exeext conftest.$ac_ext
38657
38658 fi
38659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38660 { echo "$as_me:$LINENO: result: $ac_res" >&5
38661 echo "${ECHO_T}$ac_res" >&6; }
38662
38663 if eval test \$wx_cv_func_$wx_func = yes
38664 then
38665 cat >>confdefs.h <<_ACEOF
38666 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38667 _ACEOF
38668
38669
38670 else
38671 :
38672
38673 fi
38674 done
38675
38676
38677
38678 for wx_func in getgrgid_r
38679 do
38680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38683 echo $ECHO_N "(cached) $ECHO_C" >&6
38684 else
38685
38686 cat >conftest.$ac_ext <<_ACEOF
38687
38688 /* confdefs.h. */
38689 _ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693
38694
38695 #define _REENTRANT
38696 #include <grp.h>
38697
38698 $ac_includes_default
38699
38700 int
38701 main ()
38702 {
38703
38704 #ifndef $wx_func
38705 &$wx_func;
38706 #endif
38707
38708 struct group grp, *pgrp;
38709 char buf[1024];
38710 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38711
38712
38713 ;
38714 return 0;
38715 }
38716
38717 _ACEOF
38718 rm -f conftest.$ac_objext conftest$ac_exeext
38719 if { (ac_try="$ac_link"
38720 case "(($ac_try" in
38721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38722 *) ac_try_echo=$ac_try;;
38723 esac
38724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38725 (eval "$ac_link") 2>conftest.er1
38726 ac_status=$?
38727 grep -v '^ *+' conftest.er1 >conftest.err
38728 rm -f conftest.er1
38729 cat conftest.err >&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); } && {
38732 test -z "$ac_c_werror_flag" ||
38733 test ! -s conftest.err
38734 } && test -s conftest$ac_exeext &&
38735 $as_test_x conftest$ac_exeext; then
38736 eval wx_cv_func_$wx_func=yes
38737 else
38738 echo "$as_me: failed program was:" >&5
38739 sed 's/^/| /' conftest.$ac_ext >&5
38740
38741 eval wx_cv_func_$wx_func=no
38742 fi
38743
38744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38745 conftest$ac_exeext conftest.$ac_ext
38746
38747 fi
38748 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38749 { echo "$as_me:$LINENO: result: $ac_res" >&5
38750 echo "${ECHO_T}$ac_res" >&6; }
38751
38752 if eval test \$wx_cv_func_$wx_func = yes
38753 then
38754 cat >>confdefs.h <<_ACEOF
38755 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38756 _ACEOF
38757
38758
38759 else
38760 :
38761
38762 fi
38763 done
38764
38765 fi
38766
38767 fi
38768
38769
38770
38771 cat >confcache <<\_ACEOF
38772 # This file is a shell script that caches the results of configure
38773 # tests run on this system so they can be shared between configure
38774 # scripts and configure runs, see configure's option --config-cache.
38775 # It is not useful on other systems. If it contains results you don't
38776 # want to keep, you may remove or edit it.
38777 #
38778 # config.status only pays attention to the cache file if you give it
38779 # the --recheck option to rerun configure.
38780 #
38781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38783 # following values.
38784
38785 _ACEOF
38786
38787 # The following way of writing the cache mishandles newlines in values,
38788 # but we know of no workaround that is simple, portable, and efficient.
38789 # So, we kill variables containing newlines.
38790 # Ultrix sh set writes to stderr and can't be redirected directly,
38791 # and sets the high bit in the cache file unless we assign to the vars.
38792 (
38793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38794 eval ac_val=\$$ac_var
38795 case $ac_val in #(
38796 *${as_nl}*)
38797 case $ac_var in #(
38798 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38799 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38800 esac
38801 case $ac_var in #(
38802 _ | IFS | as_nl) ;; #(
38803 *) $as_unset $ac_var ;;
38804 esac ;;
38805 esac
38806 done
38807
38808 (set) 2>&1 |
38809 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38810 *${as_nl}ac_space=\ *)
38811 # `set' does not quote correctly, so add quotes (double-quote
38812 # substitution turns \\\\ into \\, and sed turns \\ into \).
38813 sed -n \
38814 "s/'/'\\\\''/g;
38815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38816 ;; #(
38817 *)
38818 # `set' quotes correctly as required by POSIX, so do not add quotes.
38819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38820 ;;
38821 esac |
38822 sort
38823 ) |
38824 sed '
38825 /^ac_cv_env_/b end
38826 t clear
38827 :clear
38828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38829 t end
38830 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38831 :end' >>confcache
38832 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38833 if test -w "$cache_file"; then
38834 test "x$cache_file" != "x/dev/null" &&
38835 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38836 echo "$as_me: updating cache $cache_file" >&6;}
38837 cat confcache >$cache_file
38838 else
38839 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38840 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38841 fi
38842 fi
38843 rm -f confcache
38844
38845
38846 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38847
38848
38849 THREADS_LINK=
38850 THREADS_CFLAGS=
38851
38852 if test "$wxUSE_THREADS" = "yes" ; then
38853 if test "$USE_BEOS" = 1; then
38854 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38855 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38856 wxUSE_THREADS="no"
38857 fi
38858 fi
38859
38860 if test "$wxUSE_THREADS" = "yes" ; then
38861
38862
38863 THREAD_OPTS="-pthread"
38864 if test "x$SUNCXX" = xyes; then
38865 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38866 fi
38867
38868 case "${host}" in
38869 *-*-solaris2* | *-*-sunos4* )
38870 if test "x$GCC" = "xyes"; then
38871 THREAD_OPTS="-pthreads $THREAD_OPTS"
38872 fi
38873 ;;
38874 *-*-freebsd*)
38875 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38876 ;;
38877 *-*-darwin* | *-*-cygwin* )
38878 THREAD_OPTS=""
38879 ;;
38880 *-*-aix*)
38881 THREAD_OPTS="pthreads"
38882 ;;
38883 *-hp-hpux* )
38884 if test "x$GCC" = "xyes"; then
38885 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38886 THREAD_OPTS=""
38887 else
38888 THREAD_OPTS="-mt"
38889 fi
38890 ;;
38891
38892 *-*-irix* )
38893 if test "x$GCC" = "xyes"; then
38894 THREAD_OPTS=""
38895 fi
38896 ;;
38897
38898 *-*-*UnixWare*)
38899 if test "x$GCC" != "xyes"; then
38900 THREAD_OPTS="-Ethread"
38901 fi
38902 ;;
38903 esac
38904
38905 THREAD_OPTS="$THREAD_OPTS pthread none"
38906
38907 THREADS_OK=no
38908 for flag in $THREAD_OPTS; do
38909 case $flag in
38910 none)
38911 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38912 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38913 ;;
38914
38915 -*)
38916 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38917 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38918 THREADS_CFLAGS="$flag"
38919 ;;
38920
38921 *)
38922 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38923 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38924 THREADS_LINK="-l$flag"
38925 ;;
38926 esac
38927
38928 save_LIBS="$LIBS"
38929 save_CFLAGS="$CFLAGS"
38930 LIBS="$THREADS_LINK $LIBS"
38931 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38932
38933 cat >conftest.$ac_ext <<_ACEOF
38934 /* confdefs.h. */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939 #include <pthread.h>
38940 int
38941 main ()
38942 {
38943 pthread_create(0,0,0,0);
38944 ;
38945 return 0;
38946 }
38947 _ACEOF
38948 rm -f conftest.$ac_objext conftest$ac_exeext
38949 if { (ac_try="$ac_link"
38950 case "(($ac_try" in
38951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38953 esac
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_link") 2>conftest.er1
38956 ac_status=$?
38957 grep -v '^ *+' conftest.er1 >conftest.err
38958 rm -f conftest.er1
38959 cat conftest.err >&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } && {
38962 test -z "$ac_c_werror_flag" ||
38963 test ! -s conftest.err
38964 } && test -s conftest$ac_exeext &&
38965 $as_test_x conftest$ac_exeext; then
38966 THREADS_OK=yes
38967 else
38968 echo "$as_me: failed program was:" >&5
38969 sed 's/^/| /' conftest.$ac_ext >&5
38970
38971
38972 fi
38973
38974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38975 conftest$ac_exeext conftest.$ac_ext
38976
38977 LIBS="$save_LIBS"
38978 CFLAGS="$save_CFLAGS"
38979
38980 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38981 echo "${ECHO_T}$THREADS_OK" >&6; }
38982 if test "x$THREADS_OK" = "xyes"; then
38983 break;
38984 fi
38985
38986 THREADS_LINK=""
38987 THREADS_CFLAGS=""
38988 done
38989
38990 if test "x$THREADS_OK" != "xyes"; then
38991 wxUSE_THREADS=no
38992 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38993 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38994 else
38995 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38996 LIBS="$THREADS_LINK $LIBS"
38997
38998 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38999 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39000 flag=no
39001 case "${host}" in
39002 *-aix*)
39003 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39004 flag="-D_THREAD_SAFE"
39005 ;;
39006 *-freebsd*)
39007 flag="-D_THREAD_SAFE"
39008 ;;
39009 *-hp-hpux* )
39010 flag="-D_REENTRANT"
39011 if test "x$GCC" != "xyes"; then
39012 flag="$flag -D_RWSTD_MULTI_THREAD"
39013 fi
39014 ;;
39015 *solaris* | alpha*-osf*)
39016 flag="-D_REENTRANT"
39017 ;;
39018 esac
39019 { echo "$as_me:$LINENO: result: ${flag}" >&5
39020 echo "${ECHO_T}${flag}" >&6; }
39021 if test "x$flag" != xno; then
39022 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39023 fi
39024
39025 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39026 fi
39027 fi
39028
39029 if test "$wxUSE_THREADS" = "yes" ; then
39030
39031 for ac_func in thr_setconcurrency
39032 do
39033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39047 #define $ac_func innocuous_$ac_func
39048
39049 /* System header to define __stub macros and hopefully few prototypes,
39050 which can conflict with char $ac_func (); below.
39051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39052 <limits.h> exists even on freestanding compilers. */
39053
39054 #ifdef __STDC__
39055 # include <limits.h>
39056 #else
39057 # include <assert.h>
39058 #endif
39059
39060 #undef $ac_func
39061
39062 /* Override any GCC internal prototype to avoid an error.
39063 Use char because int might match the return type of a GCC
39064 builtin and then its argument prototype would still apply. */
39065 #ifdef __cplusplus
39066 extern "C"
39067 #endif
39068 char $ac_func ();
39069 /* The GNU C library defines this for functions which it implements
39070 to always fail with ENOSYS. Some functions are actually named
39071 something starting with __ and the normal name is an alias. */
39072 #if defined __stub_$ac_func || defined __stub___$ac_func
39073 choke me
39074 #endif
39075
39076 int
39077 main ()
39078 {
39079 return $ac_func ();
39080 ;
39081 return 0;
39082 }
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (ac_try="$ac_link"
39086 case "(($ac_try" in
39087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39088 *) ac_try_echo=$ac_try;;
39089 esac
39090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39091 (eval "$ac_link") 2>conftest.er1
39092 ac_status=$?
39093 grep -v '^ *+' conftest.er1 >conftest.err
39094 rm -f conftest.er1
39095 cat conftest.err >&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); } && {
39098 test -z "$ac_c_werror_flag" ||
39099 test ! -s conftest.err
39100 } && test -s conftest$ac_exeext &&
39101 $as_test_x conftest$ac_exeext; then
39102 eval "$as_ac_var=yes"
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39106
39107 eval "$as_ac_var=no"
39108 fi
39109
39110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39111 conftest$ac_exeext conftest.$ac_ext
39112 fi
39113 ac_res=`eval echo '${'$as_ac_var'}'`
39114 { echo "$as_me:$LINENO: result: $ac_res" >&5
39115 echo "${ECHO_T}$ac_res" >&6; }
39116 if test `eval echo '${'$as_ac_var'}'` = yes; then
39117 cat >>confdefs.h <<_ACEOF
39118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39119 _ACEOF
39120
39121 fi
39122 done
39123
39124
39125 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39126 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39127 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39128 echo $ECHO_N "(cached) $ECHO_C" >&6
39129 else
39130
39131 ac_ext=cpp
39132 ac_cpp='$CXXCPP $CPPFLAGS'
39133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39136
39137 cat >conftest.$ac_ext <<_ACEOF
39138 /* confdefs.h. */
39139 _ACEOF
39140 cat confdefs.h >>conftest.$ac_ext
39141 cat >>conftest.$ac_ext <<_ACEOF
39142 /* end confdefs.h. */
39143 #include <pthread.h>
39144 void ThreadCleanupFunc(void *p);
39145
39146 int
39147 main ()
39148 {
39149
39150 void *p;
39151 pthread_cleanup_push(ThreadCleanupFunc, p);
39152 pthread_cleanup_pop(0);
39153
39154 ;
39155 return 0;
39156 }
39157 _ACEOF
39158 rm -f conftest.$ac_objext
39159 if { (ac_try="$ac_compile"
39160 case "(($ac_try" in
39161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39162 *) ac_try_echo=$ac_try;;
39163 esac
39164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39165 (eval "$ac_compile") 2>conftest.er1
39166 ac_status=$?
39167 grep -v '^ *+' conftest.er1 >conftest.err
39168 rm -f conftest.er1
39169 cat conftest.err >&5
39170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39171 (exit $ac_status); } && {
39172 test -z "$ac_cxx_werror_flag" ||
39173 test ! -s conftest.err
39174 } && test -s conftest.$ac_objext; then
39175
39176 wx_cv_func_pthread_cleanup=yes
39177
39178 else
39179 echo "$as_me: failed program was:" >&5
39180 sed 's/^/| /' conftest.$ac_ext >&5
39181
39182
39183 wx_cv_func_pthread_cleanup=no
39184
39185
39186 fi
39187
39188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39189 ac_ext=c
39190 ac_cpp='$CPP $CPPFLAGS'
39191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39194
39195
39196 fi
39197 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39198 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39199 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39200 cat >>confdefs.h <<\_ACEOF
39201 #define wxHAVE_PTHREAD_CLEANUP 1
39202 _ACEOF
39203
39204 fi
39205
39206
39207 for ac_header in sched.h
39208 do
39209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39213 echo $ECHO_N "(cached) $ECHO_C" >&6
39214 else
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 $ac_includes_default
39222
39223 #include <$ac_header>
39224 _ACEOF
39225 rm -f conftest.$ac_objext
39226 if { (ac_try="$ac_compile"
39227 case "(($ac_try" in
39228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39229 *) ac_try_echo=$ac_try;;
39230 esac
39231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39232 (eval "$ac_compile") 2>conftest.er1
39233 ac_status=$?
39234 grep -v '^ *+' conftest.er1 >conftest.err
39235 rm -f conftest.er1
39236 cat conftest.err >&5
39237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39238 (exit $ac_status); } && {
39239 test -z "$ac_c_werror_flag" ||
39240 test ! -s conftest.err
39241 } && test -s conftest.$ac_objext; then
39242 eval "$as_ac_Header=yes"
39243 else
39244 echo "$as_me: failed program was:" >&5
39245 sed 's/^/| /' conftest.$ac_ext >&5
39246
39247 eval "$as_ac_Header=no"
39248 fi
39249
39250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39251 fi
39252 ac_res=`eval echo '${'$as_ac_Header'}'`
39253 { echo "$as_me:$LINENO: result: $ac_res" >&5
39254 echo "${ECHO_T}$ac_res" >&6; }
39255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39256 cat >>confdefs.h <<_ACEOF
39257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39258 _ACEOF
39259
39260 fi
39261
39262 done
39263
39264 if test "$ac_cv_header_sched_h" = "yes"; then
39265 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39266 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39267 if test "${ac_cv_func_sched_yield+set}" = set; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39269 else
39270 cat >conftest.$ac_ext <<_ACEOF
39271 /* confdefs.h. */
39272 _ACEOF
39273 cat confdefs.h >>conftest.$ac_ext
39274 cat >>conftest.$ac_ext <<_ACEOF
39275 /* end confdefs.h. */
39276 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39278 #define sched_yield innocuous_sched_yield
39279
39280 /* System header to define __stub macros and hopefully few prototypes,
39281 which can conflict with char sched_yield (); below.
39282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39283 <limits.h> exists even on freestanding compilers. */
39284
39285 #ifdef __STDC__
39286 # include <limits.h>
39287 #else
39288 # include <assert.h>
39289 #endif
39290
39291 #undef sched_yield
39292
39293 /* Override any GCC internal prototype to avoid an error.
39294 Use char because int might match the return type of a GCC
39295 builtin and then its argument prototype would still apply. */
39296 #ifdef __cplusplus
39297 extern "C"
39298 #endif
39299 char sched_yield ();
39300 /* The GNU C library defines this for functions which it implements
39301 to always fail with ENOSYS. Some functions are actually named
39302 something starting with __ and the normal name is an alias. */
39303 #if defined __stub_sched_yield || defined __stub___sched_yield
39304 choke me
39305 #endif
39306
39307 int
39308 main ()
39309 {
39310 return sched_yield ();
39311 ;
39312 return 0;
39313 }
39314 _ACEOF
39315 rm -f conftest.$ac_objext conftest$ac_exeext
39316 if { (ac_try="$ac_link"
39317 case "(($ac_try" in
39318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39319 *) ac_try_echo=$ac_try;;
39320 esac
39321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39322 (eval "$ac_link") 2>conftest.er1
39323 ac_status=$?
39324 grep -v '^ *+' conftest.er1 >conftest.err
39325 rm -f conftest.er1
39326 cat conftest.err >&5
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); } && {
39329 test -z "$ac_c_werror_flag" ||
39330 test ! -s conftest.err
39331 } && test -s conftest$ac_exeext &&
39332 $as_test_x conftest$ac_exeext; then
39333 ac_cv_func_sched_yield=yes
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39337
39338 ac_cv_func_sched_yield=no
39339 fi
39340
39341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39342 conftest$ac_exeext conftest.$ac_ext
39343 fi
39344 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39345 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39346 if test $ac_cv_func_sched_yield = yes; then
39347 cat >>confdefs.h <<\_ACEOF
39348 #define HAVE_SCHED_YIELD 1
39349 _ACEOF
39350
39351 else
39352
39353 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39354 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39355 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39356 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 else
39358 ac_check_lib_save_LIBS=$LIBS
39359 LIBS="-lposix4 $LIBS"
39360 cat >conftest.$ac_ext <<_ACEOF
39361 /* confdefs.h. */
39362 _ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366
39367 /* Override any GCC internal prototype to avoid an error.
39368 Use char because int might match the return type of a GCC
39369 builtin and then its argument prototype would still apply. */
39370 #ifdef __cplusplus
39371 extern "C"
39372 #endif
39373 char sched_yield ();
39374 int
39375 main ()
39376 {
39377 return sched_yield ();
39378 ;
39379 return 0;
39380 }
39381 _ACEOF
39382 rm -f conftest.$ac_objext conftest$ac_exeext
39383 if { (ac_try="$ac_link"
39384 case "(($ac_try" in
39385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39386 *) ac_try_echo=$ac_try;;
39387 esac
39388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39389 (eval "$ac_link") 2>conftest.er1
39390 ac_status=$?
39391 grep -v '^ *+' conftest.er1 >conftest.err
39392 rm -f conftest.er1
39393 cat conftest.err >&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } && {
39396 test -z "$ac_c_werror_flag" ||
39397 test ! -s conftest.err
39398 } && test -s conftest$ac_exeext &&
39399 $as_test_x conftest$ac_exeext; then
39400 ac_cv_lib_posix4_sched_yield=yes
39401 else
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.$ac_ext >&5
39404
39405 ac_cv_lib_posix4_sched_yield=no
39406 fi
39407
39408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39409 conftest$ac_exeext conftest.$ac_ext
39410 LIBS=$ac_check_lib_save_LIBS
39411 fi
39412 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39413 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39414 if test $ac_cv_lib_posix4_sched_yield = yes; then
39415 cat >>confdefs.h <<\_ACEOF
39416 #define HAVE_SCHED_YIELD 1
39417 _ACEOF
39418 POSIX4_LINK=" -lposix4"
39419 else
39420 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39421 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39422
39423 fi
39424
39425
39426
39427 fi
39428
39429 fi
39430
39431 HAVE_PRIOR_FUNCS=0
39432 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39433 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39434 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39435 echo $ECHO_N "(cached) $ECHO_C" >&6
39436 else
39437 cat >conftest.$ac_ext <<_ACEOF
39438 /* confdefs.h. */
39439 _ACEOF
39440 cat confdefs.h >>conftest.$ac_ext
39441 cat >>conftest.$ac_ext <<_ACEOF
39442 /* end confdefs.h. */
39443 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39445 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39446
39447 /* System header to define __stub macros and hopefully few prototypes,
39448 which can conflict with char pthread_attr_getschedpolicy (); below.
39449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39450 <limits.h> exists even on freestanding compilers. */
39451
39452 #ifdef __STDC__
39453 # include <limits.h>
39454 #else
39455 # include <assert.h>
39456 #endif
39457
39458 #undef pthread_attr_getschedpolicy
39459
39460 /* Override any GCC internal prototype to avoid an error.
39461 Use char because int might match the return type of a GCC
39462 builtin and then its argument prototype would still apply. */
39463 #ifdef __cplusplus
39464 extern "C"
39465 #endif
39466 char pthread_attr_getschedpolicy ();
39467 /* The GNU C library defines this for functions which it implements
39468 to always fail with ENOSYS. Some functions are actually named
39469 something starting with __ and the normal name is an alias. */
39470 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39471 choke me
39472 #endif
39473
39474 int
39475 main ()
39476 {
39477 return pthread_attr_getschedpolicy ();
39478 ;
39479 return 0;
39480 }
39481 _ACEOF
39482 rm -f conftest.$ac_objext conftest$ac_exeext
39483 if { (ac_try="$ac_link"
39484 case "(($ac_try" in
39485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39487 esac
39488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39489 (eval "$ac_link") 2>conftest.er1
39490 ac_status=$?
39491 grep -v '^ *+' conftest.er1 >conftest.err
39492 rm -f conftest.er1
39493 cat conftest.err >&5
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); } && {
39496 test -z "$ac_c_werror_flag" ||
39497 test ! -s conftest.err
39498 } && test -s conftest$ac_exeext &&
39499 $as_test_x conftest$ac_exeext; then
39500 ac_cv_func_pthread_attr_getschedpolicy=yes
39501 else
39502 echo "$as_me: failed program was:" >&5
39503 sed 's/^/| /' conftest.$ac_ext >&5
39504
39505 ac_cv_func_pthread_attr_getschedpolicy=no
39506 fi
39507
39508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39509 conftest$ac_exeext conftest.$ac_ext
39510 fi
39511 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39512 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39513 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39514 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39515 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39516 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39517 echo $ECHO_N "(cached) $ECHO_C" >&6
39518 else
39519 cat >conftest.$ac_ext <<_ACEOF
39520 /* confdefs.h. */
39521 _ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h. */
39525 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39527 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39528
39529 /* System header to define __stub macros and hopefully few prototypes,
39530 which can conflict with char pthread_attr_setschedparam (); below.
39531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39532 <limits.h> exists even on freestanding compilers. */
39533
39534 #ifdef __STDC__
39535 # include <limits.h>
39536 #else
39537 # include <assert.h>
39538 #endif
39539
39540 #undef pthread_attr_setschedparam
39541
39542 /* Override any GCC internal prototype to avoid an error.
39543 Use char because int might match the return type of a GCC
39544 builtin and then its argument prototype would still apply. */
39545 #ifdef __cplusplus
39546 extern "C"
39547 #endif
39548 char pthread_attr_setschedparam ();
39549 /* The GNU C library defines this for functions which it implements
39550 to always fail with ENOSYS. Some functions are actually named
39551 something starting with __ and the normal name is an alias. */
39552 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39553 choke me
39554 #endif
39555
39556 int
39557 main ()
39558 {
39559 return pthread_attr_setschedparam ();
39560 ;
39561 return 0;
39562 }
39563 _ACEOF
39564 rm -f conftest.$ac_objext conftest$ac_exeext
39565 if { (ac_try="$ac_link"
39566 case "(($ac_try" in
39567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39568 *) ac_try_echo=$ac_try;;
39569 esac
39570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39571 (eval "$ac_link") 2>conftest.er1
39572 ac_status=$?
39573 grep -v '^ *+' conftest.er1 >conftest.err
39574 rm -f conftest.er1
39575 cat conftest.err >&5
39576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39577 (exit $ac_status); } && {
39578 test -z "$ac_c_werror_flag" ||
39579 test ! -s conftest.err
39580 } && test -s conftest$ac_exeext &&
39581 $as_test_x conftest$ac_exeext; then
39582 ac_cv_func_pthread_attr_setschedparam=yes
39583 else
39584 echo "$as_me: failed program was:" >&5
39585 sed 's/^/| /' conftest.$ac_ext >&5
39586
39587 ac_cv_func_pthread_attr_setschedparam=no
39588 fi
39589
39590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39591 conftest$ac_exeext conftest.$ac_ext
39592 fi
39593 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39594 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39595 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39596 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39597 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39598 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601 cat >conftest.$ac_ext <<_ACEOF
39602 /* confdefs.h. */
39603 _ACEOF
39604 cat confdefs.h >>conftest.$ac_ext
39605 cat >>conftest.$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39607 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39609 #define sched_get_priority_max innocuous_sched_get_priority_max
39610
39611 /* System header to define __stub macros and hopefully few prototypes,
39612 which can conflict with char sched_get_priority_max (); below.
39613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39614 <limits.h> exists even on freestanding compilers. */
39615
39616 #ifdef __STDC__
39617 # include <limits.h>
39618 #else
39619 # include <assert.h>
39620 #endif
39621
39622 #undef sched_get_priority_max
39623
39624 /* Override any GCC internal prototype to avoid an error.
39625 Use char because int might match the return type of a GCC
39626 builtin and then its argument prototype would still apply. */
39627 #ifdef __cplusplus
39628 extern "C"
39629 #endif
39630 char sched_get_priority_max ();
39631 /* The GNU C library defines this for functions which it implements
39632 to always fail with ENOSYS. Some functions are actually named
39633 something starting with __ and the normal name is an alias. */
39634 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39635 choke me
39636 #endif
39637
39638 int
39639 main ()
39640 {
39641 return sched_get_priority_max ();
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 rm -f conftest.$ac_objext conftest$ac_exeext
39647 if { (ac_try="$ac_link"
39648 case "(($ac_try" in
39649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39650 *) ac_try_echo=$ac_try;;
39651 esac
39652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39653 (eval "$ac_link") 2>conftest.er1
39654 ac_status=$?
39655 grep -v '^ *+' conftest.er1 >conftest.err
39656 rm -f conftest.er1
39657 cat conftest.err >&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); } && {
39660 test -z "$ac_c_werror_flag" ||
39661 test ! -s conftest.err
39662 } && test -s conftest$ac_exeext &&
39663 $as_test_x conftest$ac_exeext; then
39664 ac_cv_func_sched_get_priority_max=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 ac_cv_func_sched_get_priority_max=no
39670 fi
39671
39672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39673 conftest$ac_exeext conftest.$ac_ext
39674 fi
39675 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39676 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39677 if test $ac_cv_func_sched_get_priority_max = yes; then
39678 HAVE_PRIOR_FUNCS=1
39679 else
39680 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39681 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39682 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39683 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 else
39685 ac_check_lib_save_LIBS=$LIBS
39686 LIBS="-lposix4 $LIBS"
39687 cat >conftest.$ac_ext <<_ACEOF
39688 /* confdefs.h. */
39689 _ACEOF
39690 cat confdefs.h >>conftest.$ac_ext
39691 cat >>conftest.$ac_ext <<_ACEOF
39692 /* end confdefs.h. */
39693
39694 /* Override any GCC internal prototype to avoid an error.
39695 Use char because int might match the return type of a GCC
39696 builtin and then its argument prototype would still apply. */
39697 #ifdef __cplusplus
39698 extern "C"
39699 #endif
39700 char sched_get_priority_max ();
39701 int
39702 main ()
39703 {
39704 return sched_get_priority_max ();
39705 ;
39706 return 0;
39707 }
39708 _ACEOF
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (ac_try="$ac_link"
39711 case "(($ac_try" in
39712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39713 *) ac_try_echo=$ac_try;;
39714 esac
39715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39716 (eval "$ac_link") 2>conftest.er1
39717 ac_status=$?
39718 grep -v '^ *+' conftest.er1 >conftest.err
39719 rm -f conftest.er1
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } && {
39723 test -z "$ac_c_werror_flag" ||
39724 test ! -s conftest.err
39725 } && test -s conftest$ac_exeext &&
39726 $as_test_x conftest$ac_exeext; then
39727 ac_cv_lib_posix4_sched_get_priority_max=yes
39728 else
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39731
39732 ac_cv_lib_posix4_sched_get_priority_max=no
39733 fi
39734
39735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39736 conftest$ac_exeext conftest.$ac_ext
39737 LIBS=$ac_check_lib_save_LIBS
39738 fi
39739 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39740 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39741 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39742
39743 HAVE_PRIOR_FUNCS=1
39744 POSIX4_LINK=" -lposix4"
39745
39746 fi
39747
39748
39749 fi
39750
39751
39752 fi
39753
39754
39755 fi
39756
39757
39758 if test "$HAVE_PRIOR_FUNCS" = 1; then
39759 cat >>confdefs.h <<\_ACEOF
39760 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39761 _ACEOF
39762
39763 else
39764 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39765 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39766 fi
39767
39768 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39769 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39770 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39771 echo $ECHO_N "(cached) $ECHO_C" >&6
39772 else
39773 cat >conftest.$ac_ext <<_ACEOF
39774 /* confdefs.h. */
39775 _ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39781 #define pthread_cancel innocuous_pthread_cancel
39782
39783 /* System header to define __stub macros and hopefully few prototypes,
39784 which can conflict with char pthread_cancel (); below.
39785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39786 <limits.h> exists even on freestanding compilers. */
39787
39788 #ifdef __STDC__
39789 # include <limits.h>
39790 #else
39791 # include <assert.h>
39792 #endif
39793
39794 #undef pthread_cancel
39795
39796 /* Override any GCC internal prototype to avoid an error.
39797 Use char because int might match the return type of a GCC
39798 builtin and then its argument prototype would still apply. */
39799 #ifdef __cplusplus
39800 extern "C"
39801 #endif
39802 char pthread_cancel ();
39803 /* The GNU C library defines this for functions which it implements
39804 to always fail with ENOSYS. Some functions are actually named
39805 something starting with __ and the normal name is an alias. */
39806 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39807 choke me
39808 #endif
39809
39810 int
39811 main ()
39812 {
39813 return pthread_cancel ();
39814 ;
39815 return 0;
39816 }
39817 _ACEOF
39818 rm -f conftest.$ac_objext conftest$ac_exeext
39819 if { (ac_try="$ac_link"
39820 case "(($ac_try" in
39821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39822 *) ac_try_echo=$ac_try;;
39823 esac
39824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39825 (eval "$ac_link") 2>conftest.er1
39826 ac_status=$?
39827 grep -v '^ *+' conftest.er1 >conftest.err
39828 rm -f conftest.er1
39829 cat conftest.err >&5
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && {
39832 test -z "$ac_c_werror_flag" ||
39833 test ! -s conftest.err
39834 } && test -s conftest$ac_exeext &&
39835 $as_test_x conftest$ac_exeext; then
39836 ac_cv_func_pthread_cancel=yes
39837 else
39838 echo "$as_me: failed program was:" >&5
39839 sed 's/^/| /' conftest.$ac_ext >&5
39840
39841 ac_cv_func_pthread_cancel=no
39842 fi
39843
39844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39845 conftest$ac_exeext conftest.$ac_ext
39846 fi
39847 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39848 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39849 if test $ac_cv_func_pthread_cancel = yes; then
39850 cat >>confdefs.h <<\_ACEOF
39851 #define HAVE_PTHREAD_CANCEL 1
39852 _ACEOF
39853
39854 else
39855 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39856 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39857 fi
39858
39859
39860 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39861 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39862 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39863 echo $ECHO_N "(cached) $ECHO_C" >&6
39864 else
39865 cat >conftest.$ac_ext <<_ACEOF
39866 /* confdefs.h. */
39867 _ACEOF
39868 cat confdefs.h >>conftest.$ac_ext
39869 cat >>conftest.$ac_ext <<_ACEOF
39870 /* end confdefs.h. */
39871 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39873 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39874
39875 /* System header to define __stub macros and hopefully few prototypes,
39876 which can conflict with char pthread_mutex_timedlock (); below.
39877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39878 <limits.h> exists even on freestanding compilers. */
39879
39880 #ifdef __STDC__
39881 # include <limits.h>
39882 #else
39883 # include <assert.h>
39884 #endif
39885
39886 #undef pthread_mutex_timedlock
39887
39888 /* Override any GCC internal prototype to avoid an error.
39889 Use char because int might match the return type of a GCC
39890 builtin and then its argument prototype would still apply. */
39891 #ifdef __cplusplus
39892 extern "C"
39893 #endif
39894 char pthread_mutex_timedlock ();
39895 /* The GNU C library defines this for functions which it implements
39896 to always fail with ENOSYS. Some functions are actually named
39897 something starting with __ and the normal name is an alias. */
39898 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39899 choke me
39900 #endif
39901
39902 int
39903 main ()
39904 {
39905 return pthread_mutex_timedlock ();
39906 ;
39907 return 0;
39908 }
39909 _ACEOF
39910 rm -f conftest.$ac_objext conftest$ac_exeext
39911 if { (ac_try="$ac_link"
39912 case "(($ac_try" in
39913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39914 *) ac_try_echo=$ac_try;;
39915 esac
39916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39917 (eval "$ac_link") 2>conftest.er1
39918 ac_status=$?
39919 grep -v '^ *+' conftest.er1 >conftest.err
39920 rm -f conftest.er1
39921 cat conftest.err >&5
39922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923 (exit $ac_status); } && {
39924 test -z "$ac_c_werror_flag" ||
39925 test ! -s conftest.err
39926 } && test -s conftest$ac_exeext &&
39927 $as_test_x conftest$ac_exeext; then
39928 ac_cv_func_pthread_mutex_timedlock=yes
39929 else
39930 echo "$as_me: failed program was:" >&5
39931 sed 's/^/| /' conftest.$ac_ext >&5
39932
39933 ac_cv_func_pthread_mutex_timedlock=no
39934 fi
39935
39936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39937 conftest$ac_exeext conftest.$ac_ext
39938 fi
39939 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39940 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39941 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39942 cat >>confdefs.h <<\_ACEOF
39943 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39944 _ACEOF
39945
39946 else
39947 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39948 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39949 fi
39950
39951
39952 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39953 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39954 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39955 echo $ECHO_N "(cached) $ECHO_C" >&6
39956 else
39957 cat >conftest.$ac_ext <<_ACEOF
39958 /* confdefs.h. */
39959 _ACEOF
39960 cat confdefs.h >>conftest.$ac_ext
39961 cat >>conftest.$ac_ext <<_ACEOF
39962 /* end confdefs.h. */
39963 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39965 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39966
39967 /* System header to define __stub macros and hopefully few prototypes,
39968 which can conflict with char pthread_attr_setstacksize (); below.
39969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39970 <limits.h> exists even on freestanding compilers. */
39971
39972 #ifdef __STDC__
39973 # include <limits.h>
39974 #else
39975 # include <assert.h>
39976 #endif
39977
39978 #undef pthread_attr_setstacksize
39979
39980 /* Override any GCC internal prototype to avoid an error.
39981 Use char because int might match the return type of a GCC
39982 builtin and then its argument prototype would still apply. */
39983 #ifdef __cplusplus
39984 extern "C"
39985 #endif
39986 char pthread_attr_setstacksize ();
39987 /* The GNU C library defines this for functions which it implements
39988 to always fail with ENOSYS. Some functions are actually named
39989 something starting with __ and the normal name is an alias. */
39990 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39991 choke me
39992 #endif
39993
39994 int
39995 main ()
39996 {
39997 return pthread_attr_setstacksize ();
39998 ;
39999 return 0;
40000 }
40001 _ACEOF
40002 rm -f conftest.$ac_objext conftest$ac_exeext
40003 if { (ac_try="$ac_link"
40004 case "(($ac_try" in
40005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40006 *) ac_try_echo=$ac_try;;
40007 esac
40008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40009 (eval "$ac_link") 2>conftest.er1
40010 ac_status=$?
40011 grep -v '^ *+' conftest.er1 >conftest.err
40012 rm -f conftest.er1
40013 cat conftest.err >&5
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); } && {
40016 test -z "$ac_c_werror_flag" ||
40017 test ! -s conftest.err
40018 } && test -s conftest$ac_exeext &&
40019 $as_test_x conftest$ac_exeext; then
40020 ac_cv_func_pthread_attr_setstacksize=yes
40021 else
40022 echo "$as_me: failed program was:" >&5
40023 sed 's/^/| /' conftest.$ac_ext >&5
40024
40025 ac_cv_func_pthread_attr_setstacksize=no
40026 fi
40027
40028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40029 conftest$ac_exeext conftest.$ac_ext
40030 fi
40031 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40032 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40033 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40034 cat >>confdefs.h <<\_ACEOF
40035 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40036 _ACEOF
40037
40038 fi
40039
40040
40041
40042 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40043 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40044 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40045 echo $ECHO_N "(cached) $ECHO_C" >&6
40046 else
40047
40048 cat >conftest.$ac_ext <<_ACEOF
40049 /* confdefs.h. */
40050 _ACEOF
40051 cat confdefs.h >>conftest.$ac_ext
40052 cat >>conftest.$ac_ext <<_ACEOF
40053 /* end confdefs.h. */
40054 #include <pthread.h>
40055 int
40056 main ()
40057 {
40058
40059 pthread_mutexattr_t attr;
40060 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40061
40062 ;
40063 return 0;
40064 }
40065 _ACEOF
40066 rm -f conftest.$ac_objext
40067 if { (ac_try="$ac_compile"
40068 case "(($ac_try" in
40069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40070 *) ac_try_echo=$ac_try;;
40071 esac
40072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40073 (eval "$ac_compile") 2>conftest.er1
40074 ac_status=$?
40075 grep -v '^ *+' conftest.er1 >conftest.err
40076 rm -f conftest.er1
40077 cat conftest.err >&5
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); } && {
40080 test -z "$ac_c_werror_flag" ||
40081 test ! -s conftest.err
40082 } && test -s conftest.$ac_objext; then
40083 wx_cv_type_pthread_mutexattr_t=yes
40084 else
40085 echo "$as_me: failed program was:" >&5
40086 sed 's/^/| /' conftest.$ac_ext >&5
40087
40088 wx_cv_type_pthread_mutexattr_t=no
40089
40090 fi
40091
40092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40093
40094 fi
40095 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40096 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40097
40098 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_PTHREAD_MUTEXATTR_T 1
40101 _ACEOF
40102
40103
40104 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40105 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40106 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40107 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 else
40109
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 #include <pthread.h>
40117 int
40118 main ()
40119 {
40120
40121 pthread_mutexattr_t attr;
40122 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40123
40124 ;
40125 return 0;
40126 }
40127 _ACEOF
40128 rm -f conftest.$ac_objext
40129 if { (ac_try="$ac_compile"
40130 case "(($ac_try" in
40131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40132 *) ac_try_echo=$ac_try;;
40133 esac
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135 (eval "$ac_compile") 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } && {
40142 test -z "$ac_c_werror_flag" ||
40143 test ! -s conftest.err
40144 } && test -s conftest.$ac_objext; then
40145 wx_cv_func_pthread_mutexattr_settype_decl=yes
40146 else
40147 echo "$as_me: failed program was:" >&5
40148 sed 's/^/| /' conftest.$ac_ext >&5
40149
40150 wx_cv_func_pthread_mutexattr_settype_decl=no
40151
40152 fi
40153
40154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40155
40156 fi
40157 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40158 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40159 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40160 cat >>confdefs.h <<\_ACEOF
40161 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40162 _ACEOF
40163
40164 fi
40165 else
40166 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40167 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40168 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40169 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 else
40171
40172 cat >conftest.$ac_ext <<_ACEOF
40173 /* confdefs.h. */
40174 _ACEOF
40175 cat confdefs.h >>conftest.$ac_ext
40176 cat >>conftest.$ac_ext <<_ACEOF
40177 /* end confdefs.h. */
40178 #include <pthread.h>
40179 int
40180 main ()
40181 {
40182
40183 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40184
40185 ;
40186 return 0;
40187 }
40188 _ACEOF
40189 rm -f conftest.$ac_objext
40190 if { (ac_try="$ac_compile"
40191 case "(($ac_try" in
40192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40193 *) ac_try_echo=$ac_try;;
40194 esac
40195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40196 (eval "$ac_compile") 2>conftest.er1
40197 ac_status=$?
40198 grep -v '^ *+' conftest.er1 >conftest.err
40199 rm -f conftest.er1
40200 cat conftest.err >&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } && {
40203 test -z "$ac_c_werror_flag" ||
40204 test ! -s conftest.err
40205 } && test -s conftest.$ac_objext; then
40206
40207 wx_cv_type_pthread_rec_mutex_init=yes
40208
40209 else
40210 echo "$as_me: failed program was:" >&5
40211 sed 's/^/| /' conftest.$ac_ext >&5
40212
40213
40214 wx_cv_type_pthread_rec_mutex_init=no
40215
40216
40217 fi
40218
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220
40221 fi
40222 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40223 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40224 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40225 cat >>confdefs.h <<\_ACEOF
40226 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40227 _ACEOF
40228
40229 else
40230 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40231 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40232 fi
40233 fi
40234
40235 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40236 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40237 if test "${wx_cv_cc___thread+set}" = set; then
40238 echo $ECHO_N "(cached) $ECHO_C" >&6
40239 else
40240
40241 cat >conftest.$ac_ext <<_ACEOF
40242 /* confdefs.h. */
40243 _ACEOF
40244 cat confdefs.h >>conftest.$ac_ext
40245 cat >>conftest.$ac_ext <<_ACEOF
40246 /* end confdefs.h. */
40247 #include <pthread.h>
40248 int
40249 main ()
40250 {
40251
40252 static __thread int n = 0;
40253 static __thread int *p = 0;
40254
40255 ;
40256 return 0;
40257 }
40258 _ACEOF
40259 rm -f conftest.$ac_objext
40260 if { (ac_try="$ac_compile"
40261 case "(($ac_try" in
40262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40263 *) ac_try_echo=$ac_try;;
40264 esac
40265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40266 (eval "$ac_compile") 2>conftest.er1
40267 ac_status=$?
40268 grep -v '^ *+' conftest.er1 >conftest.err
40269 rm -f conftest.er1
40270 cat conftest.err >&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } && {
40273 test -z "$ac_c_werror_flag" ||
40274 test ! -s conftest.err
40275 } && test -s conftest.$ac_objext; then
40276 wx_cv_cc___thread=yes
40277 else
40278 echo "$as_me: failed program was:" >&5
40279 sed 's/^/| /' conftest.$ac_ext >&5
40280
40281 wx_cv_cc___thread=no
40282
40283 fi
40284
40285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40286
40287 fi
40288 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40289 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40290
40291 if test "$wx_cv_cc___thread" = "yes"; then
40292 cat >>confdefs.h <<\_ACEOF
40293 #define HAVE___THREAD_KEYWORD 1
40294 _ACEOF
40295
40296 fi
40297 fi
40298
40299 else
40300 if test "$wxUSE_THREADS" = "yes" ; then
40301 case "${host}" in
40302 x86_64-*-mingw32* )
40303 ;;
40304 *-*-mingw32* )
40305 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40306 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40307 if test "${wx_cv_cflags_mthread+set}" = set; then
40308 echo $ECHO_N "(cached) $ECHO_C" >&6
40309 else
40310
40311 CFLAGS_OLD="$CFLAGS"
40312 CFLAGS="-mthreads $CFLAGS"
40313 cat >conftest.$ac_ext <<_ACEOF
40314 /* confdefs.h. */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319
40320 int
40321 main ()
40322 {
40323
40324 ;
40325 return 0;
40326 }
40327 _ACEOF
40328 rm -f conftest.$ac_objext
40329 if { (ac_try="$ac_compile"
40330 case "(($ac_try" in
40331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40332 *) ac_try_echo=$ac_try;;
40333 esac
40334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40335 (eval "$ac_compile") 2>conftest.er1
40336 ac_status=$?
40337 grep -v '^ *+' conftest.er1 >conftest.err
40338 rm -f conftest.er1
40339 cat conftest.err >&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); } && {
40342 test -z "$ac_c_werror_flag" ||
40343 test ! -s conftest.err
40344 } && test -s conftest.$ac_objext; then
40345 wx_cv_cflags_mthread=yes
40346 else
40347 echo "$as_me: failed program was:" >&5
40348 sed 's/^/| /' conftest.$ac_ext >&5
40349
40350 wx_cv_cflags_mthread=no
40351
40352 fi
40353
40354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40355
40356
40357 fi
40358 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40359 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40360
40361 if test "$wx_cv_cflags_mthread" = "yes"; then
40362 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40363 LDFLAGS="$LDFLAGS -mthreads"
40364 else
40365 CFLAGS="$CFLAGS_OLD"
40366 fi
40367 ;;
40368 *-pc-os2*emx )
40369 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40370 LDFLAGS="$LDFLAGS -Zmt"
40371 ;;
40372 esac
40373 fi
40374 fi
40375
40376 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40377 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40378 if test "${ac_cv_func_localtime_r+set}" = set; then
40379 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 else
40381 cat >conftest.$ac_ext <<_ACEOF
40382 /* confdefs.h. */
40383 _ACEOF
40384 cat confdefs.h >>conftest.$ac_ext
40385 cat >>conftest.$ac_ext <<_ACEOF
40386 /* end confdefs.h. */
40387 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40389 #define localtime_r innocuous_localtime_r
40390
40391 /* System header to define __stub macros and hopefully few prototypes,
40392 which can conflict with char localtime_r (); below.
40393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40394 <limits.h> exists even on freestanding compilers. */
40395
40396 #ifdef __STDC__
40397 # include <limits.h>
40398 #else
40399 # include <assert.h>
40400 #endif
40401
40402 #undef localtime_r
40403
40404 /* Override any GCC internal prototype to avoid an error.
40405 Use char because int might match the return type of a GCC
40406 builtin and then its argument prototype would still apply. */
40407 #ifdef __cplusplus
40408 extern "C"
40409 #endif
40410 char localtime_r ();
40411 /* The GNU C library defines this for functions which it implements
40412 to always fail with ENOSYS. Some functions are actually named
40413 something starting with __ and the normal name is an alias. */
40414 #if defined __stub_localtime_r || defined __stub___localtime_r
40415 choke me
40416 #endif
40417
40418 int
40419 main ()
40420 {
40421 return localtime_r ();
40422 ;
40423 return 0;
40424 }
40425 _ACEOF
40426 rm -f conftest.$ac_objext conftest$ac_exeext
40427 if { (ac_try="$ac_link"
40428 case "(($ac_try" in
40429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40430 *) ac_try_echo=$ac_try;;
40431 esac
40432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40433 (eval "$ac_link") 2>conftest.er1
40434 ac_status=$?
40435 grep -v '^ *+' conftest.er1 >conftest.err
40436 rm -f conftest.er1
40437 cat conftest.err >&5
40438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40439 (exit $ac_status); } && {
40440 test -z "$ac_c_werror_flag" ||
40441 test ! -s conftest.err
40442 } && test -s conftest$ac_exeext &&
40443 $as_test_x conftest$ac_exeext; then
40444 ac_cv_func_localtime_r=yes
40445 else
40446 echo "$as_me: failed program was:" >&5
40447 sed 's/^/| /' conftest.$ac_ext >&5
40448
40449 ac_cv_func_localtime_r=no
40450 fi
40451
40452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40453 conftest$ac_exeext conftest.$ac_ext
40454 fi
40455 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40456 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40457 if test $ac_cv_func_localtime_r = yes; then
40458 cat >>confdefs.h <<\_ACEOF
40459 #define HAVE_LOCALTIME_R 1
40460 _ACEOF
40461
40462 fi
40463
40464 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40465 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40466 if test "${ac_cv_func_gmtime_r+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 else
40469 cat >conftest.$ac_ext <<_ACEOF
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40477 #define gmtime_r innocuous_gmtime_r
40478
40479 /* System header to define __stub macros and hopefully few prototypes,
40480 which can conflict with char gmtime_r (); below.
40481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40482 <limits.h> exists even on freestanding compilers. */
40483
40484 #ifdef __STDC__
40485 # include <limits.h>
40486 #else
40487 # include <assert.h>
40488 #endif
40489
40490 #undef gmtime_r
40491
40492 /* Override any GCC internal prototype to avoid an error.
40493 Use char because int might match the return type of a GCC
40494 builtin and then its argument prototype would still apply. */
40495 #ifdef __cplusplus
40496 extern "C"
40497 #endif
40498 char gmtime_r ();
40499 /* The GNU C library defines this for functions which it implements
40500 to always fail with ENOSYS. Some functions are actually named
40501 something starting with __ and the normal name is an alias. */
40502 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40503 choke me
40504 #endif
40505
40506 int
40507 main ()
40508 {
40509 return gmtime_r ();
40510 ;
40511 return 0;
40512 }
40513 _ACEOF
40514 rm -f conftest.$ac_objext conftest$ac_exeext
40515 if { (ac_try="$ac_link"
40516 case "(($ac_try" in
40517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40518 *) ac_try_echo=$ac_try;;
40519 esac
40520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40521 (eval "$ac_link") 2>conftest.er1
40522 ac_status=$?
40523 grep -v '^ *+' conftest.er1 >conftest.err
40524 rm -f conftest.er1
40525 cat conftest.err >&5
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); } && {
40528 test -z "$ac_c_werror_flag" ||
40529 test ! -s conftest.err
40530 } && test -s conftest$ac_exeext &&
40531 $as_test_x conftest$ac_exeext; then
40532 ac_cv_func_gmtime_r=yes
40533 else
40534 echo "$as_me: failed program was:" >&5
40535 sed 's/^/| /' conftest.$ac_ext >&5
40536
40537 ac_cv_func_gmtime_r=no
40538 fi
40539
40540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40541 conftest$ac_exeext conftest.$ac_ext
40542 fi
40543 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40544 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40545 if test $ac_cv_func_gmtime_r = yes; then
40546 cat >>confdefs.h <<\_ACEOF
40547 #define HAVE_GMTIME_R 1
40548 _ACEOF
40549
40550 fi
40551
40552
40553
40554
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560
40561 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40562 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40563
40564 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 else
40567
40568
40569 ################################################################
40570
40571 ac_cv_func_which_gethostbyname_r=unknown
40572
40573 #
40574 # ONE ARGUMENT (sanity check)
40575 #
40576
40577 # This should fail, as there is no variant of gethostbyname_r() that takes
40578 # a single argument. If it actually compiles, then we can assume that
40579 # netdb.h is not declaring the function, and the compiler is thereby
40580 # assuming an implicit prototype. In which case, we're out of luck.
40581 #
40582 cat >conftest.$ac_ext <<_ACEOF
40583 /* confdefs.h. */
40584 _ACEOF
40585 cat confdefs.h >>conftest.$ac_ext
40586 cat >>conftest.$ac_ext <<_ACEOF
40587 /* end confdefs.h. */
40588 #include <netdb.h>
40589 int
40590 main ()
40591 {
40592
40593 char *name = "www.gnu.org";
40594 (void)gethostbyname_r(name) /* ; */
40595
40596 ;
40597 return 0;
40598 }
40599 _ACEOF
40600 rm -f conftest.$ac_objext
40601 if { (ac_try="$ac_compile"
40602 case "(($ac_try" in
40603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40604 *) ac_try_echo=$ac_try;;
40605 esac
40606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40607 (eval "$ac_compile") 2>conftest.er1
40608 ac_status=$?
40609 grep -v '^ *+' conftest.er1 >conftest.err
40610 rm -f conftest.er1
40611 cat conftest.err >&5
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); } && {
40614 test -z "$ac_c_werror_flag" ||
40615 test ! -s conftest.err
40616 } && test -s conftest.$ac_objext; then
40617 ac_cv_func_which_gethostbyname_r=no
40618 else
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.$ac_ext >&5
40621
40622
40623 fi
40624
40625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40626
40627 #
40628 # SIX ARGUMENTS
40629 # (e.g. Linux)
40630 #
40631
40632 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40633
40634 cat >conftest.$ac_ext <<_ACEOF
40635 /* confdefs.h. */
40636 _ACEOF
40637 cat confdefs.h >>conftest.$ac_ext
40638 cat >>conftest.$ac_ext <<_ACEOF
40639 /* end confdefs.h. */
40640 #include <netdb.h>
40641 int
40642 main ()
40643 {
40644
40645 char *name = "www.gnu.org";
40646 struct hostent ret, *retp;
40647 char buf[1024];
40648 int buflen = 1024;
40649 int my_h_errno;
40650 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40651
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 rm -f conftest.$ac_objext
40657 if { (ac_try="$ac_compile"
40658 case "(($ac_try" in
40659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40660 *) ac_try_echo=$ac_try;;
40661 esac
40662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40663 (eval "$ac_compile") 2>conftest.er1
40664 ac_status=$?
40665 grep -v '^ *+' conftest.er1 >conftest.err
40666 rm -f conftest.er1
40667 cat conftest.err >&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); } && {
40670 test -z "$ac_c_werror_flag" ||
40671 test ! -s conftest.err
40672 } && test -s conftest.$ac_objext; then
40673 ac_cv_func_which_gethostbyname_r=six
40674 else
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40677
40678
40679 fi
40680
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682
40683 fi
40684
40685 #
40686 # FIVE ARGUMENTS
40687 # (e.g. Solaris)
40688 #
40689
40690 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40691
40692 cat >conftest.$ac_ext <<_ACEOF
40693 /* confdefs.h. */
40694 _ACEOF
40695 cat confdefs.h >>conftest.$ac_ext
40696 cat >>conftest.$ac_ext <<_ACEOF
40697 /* end confdefs.h. */
40698 #include <netdb.h>
40699 int
40700 main ()
40701 {
40702
40703 char *name = "www.gnu.org";
40704 struct hostent ret;
40705 char buf[1024];
40706 int buflen = 1024;
40707 int my_h_errno;
40708 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40709
40710 ;
40711 return 0;
40712 }
40713 _ACEOF
40714 rm -f conftest.$ac_objext
40715 if { (ac_try="$ac_compile"
40716 case "(($ac_try" in
40717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40718 *) ac_try_echo=$ac_try;;
40719 esac
40720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40721 (eval "$ac_compile") 2>conftest.er1
40722 ac_status=$?
40723 grep -v '^ *+' conftest.er1 >conftest.err
40724 rm -f conftest.er1
40725 cat conftest.err >&5
40726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40727 (exit $ac_status); } && {
40728 test -z "$ac_c_werror_flag" ||
40729 test ! -s conftest.err
40730 } && test -s conftest.$ac_objext; then
40731 ac_cv_func_which_gethostbyname_r=five
40732 else
40733 echo "$as_me: failed program was:" >&5
40734 sed 's/^/| /' conftest.$ac_ext >&5
40735
40736
40737 fi
40738
40739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40740
40741 fi
40742
40743 #
40744 # THREE ARGUMENTS
40745 # (e.g. AIX, HP-UX, Tru64)
40746 #
40747
40748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40749
40750 cat >conftest.$ac_ext <<_ACEOF
40751 /* confdefs.h. */
40752 _ACEOF
40753 cat confdefs.h >>conftest.$ac_ext
40754 cat >>conftest.$ac_ext <<_ACEOF
40755 /* end confdefs.h. */
40756 #include <netdb.h>
40757 int
40758 main ()
40759 {
40760
40761 char *name = "www.gnu.org";
40762 struct hostent ret;
40763 struct hostent_data data;
40764 (void)gethostbyname_r(name, &ret, &data) /* ; */
40765
40766 ;
40767 return 0;
40768 }
40769 _ACEOF
40770 rm -f conftest.$ac_objext
40771 if { (ac_try="$ac_compile"
40772 case "(($ac_try" in
40773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40774 *) ac_try_echo=$ac_try;;
40775 esac
40776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40777 (eval "$ac_compile") 2>conftest.er1
40778 ac_status=$?
40779 grep -v '^ *+' conftest.er1 >conftest.err
40780 rm -f conftest.er1
40781 cat conftest.err >&5
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); } && {
40784 test -z "$ac_c_werror_flag" ||
40785 test ! -s conftest.err
40786 } && test -s conftest.$ac_objext; then
40787 ac_cv_func_which_gethostbyname_r=three
40788 else
40789 echo "$as_me: failed program was:" >&5
40790 sed 's/^/| /' conftest.$ac_ext >&5
40791
40792
40793 fi
40794
40795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40796
40797 fi
40798
40799 ################################################################
40800
40801
40802 fi
40803
40804 case "$ac_cv_func_which_gethostbyname_r" in
40805 three)
40806 { echo "$as_me:$LINENO: result: three" >&5
40807 echo "${ECHO_T}three" >&6; }
40808 cat >>confdefs.h <<\_ACEOF
40809 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40810 _ACEOF
40811
40812 ;;
40813
40814 five)
40815 { echo "$as_me:$LINENO: result: five" >&5
40816 echo "${ECHO_T}five" >&6; }
40817 cat >>confdefs.h <<\_ACEOF
40818 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40819 _ACEOF
40820
40821 ;;
40822
40823 six)
40824 { echo "$as_me:$LINENO: result: six" >&5
40825 echo "${ECHO_T}six" >&6; }
40826 cat >>confdefs.h <<\_ACEOF
40827 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40828 _ACEOF
40829
40830 ;;
40831
40832 no)
40833 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40834 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40835 ;;
40836
40837 unknown)
40838 { echo "$as_me:$LINENO: result: can't tell" >&5
40839 echo "${ECHO_T}can't tell" >&6; }
40840 ;;
40841
40842 *)
40843 { { echo "$as_me:$LINENO: error: internal error" >&5
40844 echo "$as_me: error: internal error" >&2;}
40845 { (exit 1); exit 1; }; }
40846 ;;
40847 esac
40848
40849 ac_ext=c
40850 ac_cpp='$CPP $CPPFLAGS'
40851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40854
40855
40856
40857 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40858 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40859 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40860 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40861 if test "${ac_cv_func_gethostbyname+set}" = set; then
40862 echo $ECHO_N "(cached) $ECHO_C" >&6
40863 else
40864 cat >conftest.$ac_ext <<_ACEOF
40865 /* confdefs.h. */
40866 _ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40870 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40872 #define gethostbyname innocuous_gethostbyname
40873
40874 /* System header to define __stub macros and hopefully few prototypes,
40875 which can conflict with char gethostbyname (); below.
40876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40877 <limits.h> exists even on freestanding compilers. */
40878
40879 #ifdef __STDC__
40880 # include <limits.h>
40881 #else
40882 # include <assert.h>
40883 #endif
40884
40885 #undef gethostbyname
40886
40887 /* Override any GCC internal prototype to avoid an error.
40888 Use char because int might match the return type of a GCC
40889 builtin and then its argument prototype would still apply. */
40890 #ifdef __cplusplus
40891 extern "C"
40892 #endif
40893 char gethostbyname ();
40894 /* The GNU C library defines this for functions which it implements
40895 to always fail with ENOSYS. Some functions are actually named
40896 something starting with __ and the normal name is an alias. */
40897 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40898 choke me
40899 #endif
40900
40901 int
40902 main ()
40903 {
40904 return gethostbyname ();
40905 ;
40906 return 0;
40907 }
40908 _ACEOF
40909 rm -f conftest.$ac_objext conftest$ac_exeext
40910 if { (ac_try="$ac_link"
40911 case "(($ac_try" in
40912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40913 *) ac_try_echo=$ac_try;;
40914 esac
40915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40916 (eval "$ac_link") 2>conftest.er1
40917 ac_status=$?
40918 grep -v '^ *+' conftest.er1 >conftest.err
40919 rm -f conftest.er1
40920 cat conftest.err >&5
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); } && {
40923 test -z "$ac_c_werror_flag" ||
40924 test ! -s conftest.err
40925 } && test -s conftest$ac_exeext &&
40926 $as_test_x conftest$ac_exeext; then
40927 ac_cv_func_gethostbyname=yes
40928 else
40929 echo "$as_me: failed program was:" >&5
40930 sed 's/^/| /' conftest.$ac_ext >&5
40931
40932 ac_cv_func_gethostbyname=no
40933 fi
40934
40935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40936 conftest$ac_exeext conftest.$ac_ext
40937 fi
40938 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40939 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40940 if test $ac_cv_func_gethostbyname = yes; then
40941 cat >>confdefs.h <<\_ACEOF
40942 #define HAVE_GETHOSTBYNAME 1
40943 _ACEOF
40944
40945 fi
40946
40947 fi
40948
40949 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40950 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40951 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40952 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 else
40954
40955 ac_ext=cpp
40956 ac_cpp='$CXXCPP $CPPFLAGS'
40957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960
40961
40962 cat >conftest.$ac_ext <<_ACEOF
40963 /* confdefs.h. */
40964 _ACEOF
40965 cat confdefs.h >>conftest.$ac_ext
40966 cat >>conftest.$ac_ext <<_ACEOF
40967 /* end confdefs.h. */
40968 #include <netdb.h>
40969 int
40970 main ()
40971 {
40972
40973 char *name;
40974 char *proto;
40975 struct servent *se, *res;
40976 char buffer[2048];
40977 int buflen = 2048;
40978 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40979
40980 ;
40981 return 0;
40982 }
40983 _ACEOF
40984 rm -f conftest.$ac_objext
40985 if { (ac_try="$ac_compile"
40986 case "(($ac_try" in
40987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40988 *) ac_try_echo=$ac_try;;
40989 esac
40990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40991 (eval "$ac_compile") 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } && {
40998 test -z "$ac_cxx_werror_flag" ||
40999 test ! -s conftest.err
41000 } && test -s conftest.$ac_objext; then
41001 ac_cv_func_which_getservbyname_r=six
41002 else
41003 echo "$as_me: failed program was:" >&5
41004 sed 's/^/| /' conftest.$ac_ext >&5
41005
41006
41007 cat >conftest.$ac_ext <<_ACEOF
41008 /* confdefs.h. */
41009 _ACEOF
41010 cat confdefs.h >>conftest.$ac_ext
41011 cat >>conftest.$ac_ext <<_ACEOF
41012 /* end confdefs.h. */
41013 #include <netdb.h>
41014 int
41015 main ()
41016 {
41017
41018 char *name;
41019 char *proto;
41020 struct servent *se;
41021 char buffer[2048];
41022 int buflen = 2048;
41023 (void) getservbyname_r(name, proto, se, buffer, buflen)
41024
41025 ;
41026 return 0;
41027 }
41028 _ACEOF
41029 rm -f conftest.$ac_objext
41030 if { (ac_try="$ac_compile"
41031 case "(($ac_try" in
41032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41033 *) ac_try_echo=$ac_try;;
41034 esac
41035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41036 (eval "$ac_compile") 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } && {
41043 test -z "$ac_cxx_werror_flag" ||
41044 test ! -s conftest.err
41045 } && test -s conftest.$ac_objext; then
41046 ac_cv_func_which_getservbyname_r=five
41047 else
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41050
41051
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 #include <netdb.h>
41059 int
41060 main ()
41061 {
41062
41063 char *name;
41064 char *proto;
41065 struct servent *se;
41066 struct servent_data data;
41067 (void) getservbyname_r(name, proto, se, &data);
41068
41069 ;
41070 return 0;
41071 }
41072 _ACEOF
41073 rm -f conftest.$ac_objext
41074 if { (ac_try="$ac_compile"
41075 case "(($ac_try" in
41076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41077 *) ac_try_echo=$ac_try;;
41078 esac
41079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41080 (eval "$ac_compile") 2>conftest.er1
41081 ac_status=$?
41082 grep -v '^ *+' conftest.er1 >conftest.err
41083 rm -f conftest.er1
41084 cat conftest.err >&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } && {
41087 test -z "$ac_cxx_werror_flag" ||
41088 test ! -s conftest.err
41089 } && test -s conftest.$ac_objext; then
41090 ac_cv_func_which_getservbyname_r=four
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 ac_cv_func_which_getservbyname_r=no
41096
41097 fi
41098
41099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41100
41101
41102 fi
41103
41104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41105
41106
41107 fi
41108
41109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41110 ac_ext=c
41111 ac_cpp='$CPP $CPPFLAGS'
41112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41115
41116
41117
41118 fi
41119 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41120 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41121
41122 if test $ac_cv_func_which_getservbyname_r = six; then
41123 cat >>confdefs.h <<\_ACEOF
41124 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41125 _ACEOF
41126
41127 elif test $ac_cv_func_which_getservbyname_r = five; then
41128 cat >>confdefs.h <<\_ACEOF
41129 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41130 _ACEOF
41131
41132 elif test $ac_cv_func_which_getservbyname_r = four; then
41133 cat >>confdefs.h <<\_ACEOF
41134 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41135 _ACEOF
41136
41137 fi
41138
41139
41140 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41141 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41142
41143 for ac_func in getservbyname
41144 do
41145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41146 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41148 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41149 echo $ECHO_N "(cached) $ECHO_C" >&6
41150 else
41151 cat >conftest.$ac_ext <<_ACEOF
41152 /* confdefs.h. */
41153 _ACEOF
41154 cat confdefs.h >>conftest.$ac_ext
41155 cat >>conftest.$ac_ext <<_ACEOF
41156 /* end confdefs.h. */
41157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41159 #define $ac_func innocuous_$ac_func
41160
41161 /* System header to define __stub macros and hopefully few prototypes,
41162 which can conflict with char $ac_func (); below.
41163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41164 <limits.h> exists even on freestanding compilers. */
41165
41166 #ifdef __STDC__
41167 # include <limits.h>
41168 #else
41169 # include <assert.h>
41170 #endif
41171
41172 #undef $ac_func
41173
41174 /* Override any GCC internal prototype to avoid an error.
41175 Use char because int might match the return type of a GCC
41176 builtin and then its argument prototype would still apply. */
41177 #ifdef __cplusplus
41178 extern "C"
41179 #endif
41180 char $ac_func ();
41181 /* The GNU C library defines this for functions which it implements
41182 to always fail with ENOSYS. Some functions are actually named
41183 something starting with __ and the normal name is an alias. */
41184 #if defined __stub_$ac_func || defined __stub___$ac_func
41185 choke me
41186 #endif
41187
41188 int
41189 main ()
41190 {
41191 return $ac_func ();
41192 ;
41193 return 0;
41194 }
41195 _ACEOF
41196 rm -f conftest.$ac_objext conftest$ac_exeext
41197 if { (ac_try="$ac_link"
41198 case "(($ac_try" in
41199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41200 *) ac_try_echo=$ac_try;;
41201 esac
41202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41203 (eval "$ac_link") 2>conftest.er1
41204 ac_status=$?
41205 grep -v '^ *+' conftest.er1 >conftest.err
41206 rm -f conftest.er1
41207 cat conftest.err >&5
41208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41209 (exit $ac_status); } && {
41210 test -z "$ac_c_werror_flag" ||
41211 test ! -s conftest.err
41212 } && test -s conftest$ac_exeext &&
41213 $as_test_x conftest$ac_exeext; then
41214 eval "$as_ac_var=yes"
41215 else
41216 echo "$as_me: failed program was:" >&5
41217 sed 's/^/| /' conftest.$ac_ext >&5
41218
41219 eval "$as_ac_var=no"
41220 fi
41221
41222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41223 conftest$ac_exeext conftest.$ac_ext
41224 fi
41225 ac_res=`eval echo '${'$as_ac_var'}'`
41226 { echo "$as_me:$LINENO: result: $ac_res" >&5
41227 echo "${ECHO_T}$ac_res" >&6; }
41228 if test `eval echo '${'$as_ac_var'}'` = yes; then
41229 cat >>confdefs.h <<_ACEOF
41230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41231 _ACEOF
41232 cat >>confdefs.h <<\_ACEOF
41233 #define HAVE_GETSERVBYNAME 1
41234 _ACEOF
41235
41236 fi
41237 done
41238
41239 fi
41240
41241 if test "$wxUSE_THREADS" = "yes"; then
41242 cat >>confdefs.h <<\_ACEOF
41243 #define wxUSE_THREADS 1
41244 _ACEOF
41245
41246
41247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41248 else
41249 if test "$wx_cv_func_strtok_r" = "yes"; then
41250 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41251 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41252 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41253 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41254 { echo "$as_me:$LINENO: result: yes" >&5
41255 echo "${ECHO_T}yes" >&6; }
41256 else
41257 { echo "$as_me:$LINENO: result: no" >&5
41258 echo "${ECHO_T}no" >&6; }
41259 fi
41260 fi
41261 fi
41262
41263 if test "$WXGTK2" = 1 ; then
41264 cat >>confdefs.h <<_ACEOF
41265 #define __WXGTK20__ $WXGTK2
41266 _ACEOF
41267
41268 WXGTK12=1
41269 fi
41270
41271 if test "$WXGTK12" = 1 ; then
41272 cat >>confdefs.h <<_ACEOF
41273 #define __WXGTK12__ $WXGTK12
41274 _ACEOF
41275
41276 fi
41277
41278 if test "$WXGTK127" = 1 ; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define __WXGTK127__ $WXGTK127
41281 _ACEOF
41282
41283 fi
41284
41285 if test "$WXGPE" = 1 ; then
41286 cat >>confdefs.h <<_ACEOF
41287 #define __WXGPE__ $WXGPE
41288 _ACEOF
41289
41290 fi
41291
41292 DEBUG_CFLAGS=
41293 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41294 DEBUG_CFLAGS="-g"
41295 fi
41296
41297 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41298 wxUSE_DEBUG_INFO=yes
41299 if test "$GCC" = yes; then
41300 DEBUG_CFLAGS="-ggdb"
41301 fi
41302 fi
41303
41304 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define WXDEBUG 1
41307 _ACEOF
41308
41309 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41310 else
41311 if test "$wxUSE_GTK" = 1 ; then
41312 if test "x$wxGTK_VERSION" = "x1" ; then
41313 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41314 fi
41315 fi
41316 fi
41317
41318 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41319 cat >>confdefs.h <<\_ACEOF
41320 #define wxUSE_MEMORY_TRACING 1
41321 _ACEOF
41322
41323 cat >>confdefs.h <<\_ACEOF
41324 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41325 _ACEOF
41326
41327 cat >>confdefs.h <<\_ACEOF
41328 #define wxUSE_DEBUG_NEW_ALWAYS 1
41329 _ACEOF
41330
41331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41332 fi
41333
41334 if test "$wxUSE_DMALLOC" = "yes" ; then
41335 DMALLOC_LIBS="-ldmallocthcxx"
41336 fi
41337
41338 PROFILE_FLAGS=
41339 if test "$wxUSE_PROFILE" = "yes" ; then
41340 PROFILE_FLAGS=" -pg"
41341 fi
41342
41343 if test "$GCC" = "yes" ; then
41344 if test "$wxUSE_NO_RTTI" = "yes" ; then
41345 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41346 fi
41347 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41348 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41349 fi
41350 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41351 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41352 fi
41353
41354 case "${host}" in
41355 powerpc*-*-aix* )
41356 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41357 ;;
41358 *-hppa* )
41359 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41360 ;;
41361 esac
41362 fi
41363
41364 OPTIMISE_CFLAGS=
41365 if test "$wxUSE_OPTIMISE" = "no" ; then
41366 if test "$GCC" = yes ; then
41367 OPTIMISE_CFLAGS="-O0"
41368 fi
41369 else
41370 if test "$GCC" = yes ; then
41371 case "${host}" in
41372 *-pc-os2_emx | *-pc-os2-emx )
41373 OPTIMISE_CFLAGS="-O2"
41374 ;;
41375 *)
41376 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41377 ;;
41378 esac
41379 else
41380 OPTIMISE_CFLAGS="-O"
41381 fi
41382 fi
41383
41384
41385 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41386 cat >>confdefs.h <<\_ACEOF
41387 #define WXWIN_COMPATIBILITY_2_6 1
41388 _ACEOF
41389
41390
41391 WXWIN_COMPATIBILITY_2_8="yes"
41392 fi
41393
41394 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41395 cat >>confdefs.h <<\_ACEOF
41396 #define WXWIN_COMPATIBILITY_2_8 1
41397 _ACEOF
41398
41399 fi
41400
41401
41402 if test "$wxUSE_GUI" = "yes"; then
41403 cat >>confdefs.h <<\_ACEOF
41404 #define wxUSE_GUI 1
41405 _ACEOF
41406
41407
41408 fi
41409
41410
41411 if test "$wxUSE_UNIX" = "yes"; then
41412 cat >>confdefs.h <<\_ACEOF
41413 #define wxUSE_UNIX 1
41414 _ACEOF
41415
41416 fi
41417
41418
41419 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41420
41421 HAVE_DL_FUNCS=0
41422 HAVE_SHL_FUNCS=0
41423 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41424 if test "$USE_DOS" = 1; then
41425 HAVE_DL_FUNCS=0
41426 else
41427
41428 for ac_func in dlopen
41429 do
41430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 else
41436 cat >conftest.$ac_ext <<_ACEOF
41437 /* confdefs.h. */
41438 _ACEOF
41439 cat confdefs.h >>conftest.$ac_ext
41440 cat >>conftest.$ac_ext <<_ACEOF
41441 /* end confdefs.h. */
41442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41444 #define $ac_func innocuous_$ac_func
41445
41446 /* System header to define __stub macros and hopefully few prototypes,
41447 which can conflict with char $ac_func (); below.
41448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41449 <limits.h> exists even on freestanding compilers. */
41450
41451 #ifdef __STDC__
41452 # include <limits.h>
41453 #else
41454 # include <assert.h>
41455 #endif
41456
41457 #undef $ac_func
41458
41459 /* Override any GCC internal prototype to avoid an error.
41460 Use char because int might match the return type of a GCC
41461 builtin and then its argument prototype would still apply. */
41462 #ifdef __cplusplus
41463 extern "C"
41464 #endif
41465 char $ac_func ();
41466 /* The GNU C library defines this for functions which it implements
41467 to always fail with ENOSYS. Some functions are actually named
41468 something starting with __ and the normal name is an alias. */
41469 #if defined __stub_$ac_func || defined __stub___$ac_func
41470 choke me
41471 #endif
41472
41473 int
41474 main ()
41475 {
41476 return $ac_func ();
41477 ;
41478 return 0;
41479 }
41480 _ACEOF
41481 rm -f conftest.$ac_objext conftest$ac_exeext
41482 if { (ac_try="$ac_link"
41483 case "(($ac_try" in
41484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41485 *) ac_try_echo=$ac_try;;
41486 esac
41487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41488 (eval "$ac_link") 2>conftest.er1
41489 ac_status=$?
41490 grep -v '^ *+' conftest.er1 >conftest.err
41491 rm -f conftest.er1
41492 cat conftest.err >&5
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); } && {
41495 test -z "$ac_c_werror_flag" ||
41496 test ! -s conftest.err
41497 } && test -s conftest$ac_exeext &&
41498 $as_test_x conftest$ac_exeext; then
41499 eval "$as_ac_var=yes"
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41503
41504 eval "$as_ac_var=no"
41505 fi
41506
41507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41508 conftest$ac_exeext conftest.$ac_ext
41509 fi
41510 ac_res=`eval echo '${'$as_ac_var'}'`
41511 { echo "$as_me:$LINENO: result: $ac_res" >&5
41512 echo "${ECHO_T}$ac_res" >&6; }
41513 if test `eval echo '${'$as_ac_var'}'` = yes; then
41514 cat >>confdefs.h <<_ACEOF
41515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41516 _ACEOF
41517
41518 cat >>confdefs.h <<\_ACEOF
41519 #define HAVE_DLOPEN 1
41520 _ACEOF
41521
41522 HAVE_DL_FUNCS=1
41523
41524 else
41525
41526 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41527 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41528 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41529 echo $ECHO_N "(cached) $ECHO_C" >&6
41530 else
41531 ac_check_lib_save_LIBS=$LIBS
41532 LIBS="-ldl $LIBS"
41533 cat >conftest.$ac_ext <<_ACEOF
41534 /* confdefs.h. */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h. */
41539
41540 /* Override any GCC internal prototype to avoid an error.
41541 Use char because int might match the return type of a GCC
41542 builtin and then its argument prototype would still apply. */
41543 #ifdef __cplusplus
41544 extern "C"
41545 #endif
41546 char dlopen ();
41547 int
41548 main ()
41549 {
41550 return dlopen ();
41551 ;
41552 return 0;
41553 }
41554 _ACEOF
41555 rm -f conftest.$ac_objext conftest$ac_exeext
41556 if { (ac_try="$ac_link"
41557 case "(($ac_try" in
41558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41559 *) ac_try_echo=$ac_try;;
41560 esac
41561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41562 (eval "$ac_link") 2>conftest.er1
41563 ac_status=$?
41564 grep -v '^ *+' conftest.er1 >conftest.err
41565 rm -f conftest.er1
41566 cat conftest.err >&5
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); } && {
41569 test -z "$ac_c_werror_flag" ||
41570 test ! -s conftest.err
41571 } && test -s conftest$ac_exeext &&
41572 $as_test_x conftest$ac_exeext; then
41573 ac_cv_lib_dl_dlopen=yes
41574 else
41575 echo "$as_me: failed program was:" >&5
41576 sed 's/^/| /' conftest.$ac_ext >&5
41577
41578 ac_cv_lib_dl_dlopen=no
41579 fi
41580
41581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41582 conftest$ac_exeext conftest.$ac_ext
41583 LIBS=$ac_check_lib_save_LIBS
41584 fi
41585 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41586 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41587 if test $ac_cv_lib_dl_dlopen = yes; then
41588
41589 cat >>confdefs.h <<\_ACEOF
41590 #define HAVE_DLOPEN 1
41591 _ACEOF
41592
41593 HAVE_DL_FUNCS=1
41594 DL_LINK=" -ldl$DL_LINK"
41595
41596 else
41597
41598
41599 for ac_func in shl_load
41600 do
41601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41602 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 else
41607 cat >conftest.$ac_ext <<_ACEOF
41608 /* confdefs.h. */
41609 _ACEOF
41610 cat confdefs.h >>conftest.$ac_ext
41611 cat >>conftest.$ac_ext <<_ACEOF
41612 /* end confdefs.h. */
41613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41615 #define $ac_func innocuous_$ac_func
41616
41617 /* System header to define __stub macros and hopefully few prototypes,
41618 which can conflict with char $ac_func (); below.
41619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41620 <limits.h> exists even on freestanding compilers. */
41621
41622 #ifdef __STDC__
41623 # include <limits.h>
41624 #else
41625 # include <assert.h>
41626 #endif
41627
41628 #undef $ac_func
41629
41630 /* Override any GCC internal prototype to avoid an error.
41631 Use char because int might match the return type of a GCC
41632 builtin and then its argument prototype would still apply. */
41633 #ifdef __cplusplus
41634 extern "C"
41635 #endif
41636 char $ac_func ();
41637 /* The GNU C library defines this for functions which it implements
41638 to always fail with ENOSYS. Some functions are actually named
41639 something starting with __ and the normal name is an alias. */
41640 #if defined __stub_$ac_func || defined __stub___$ac_func
41641 choke me
41642 #endif
41643
41644 int
41645 main ()
41646 {
41647 return $ac_func ();
41648 ;
41649 return 0;
41650 }
41651 _ACEOF
41652 rm -f conftest.$ac_objext conftest$ac_exeext
41653 if { (ac_try="$ac_link"
41654 case "(($ac_try" in
41655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41656 *) ac_try_echo=$ac_try;;
41657 esac
41658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41659 (eval "$ac_link") 2>conftest.er1
41660 ac_status=$?
41661 grep -v '^ *+' conftest.er1 >conftest.err
41662 rm -f conftest.er1
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } && {
41666 test -z "$ac_c_werror_flag" ||
41667 test ! -s conftest.err
41668 } && test -s conftest$ac_exeext &&
41669 $as_test_x conftest$ac_exeext; then
41670 eval "$as_ac_var=yes"
41671 else
41672 echo "$as_me: failed program was:" >&5
41673 sed 's/^/| /' conftest.$ac_ext >&5
41674
41675 eval "$as_ac_var=no"
41676 fi
41677
41678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41679 conftest$ac_exeext conftest.$ac_ext
41680 fi
41681 ac_res=`eval echo '${'$as_ac_var'}'`
41682 { echo "$as_me:$LINENO: result: $ac_res" >&5
41683 echo "${ECHO_T}$ac_res" >&6; }
41684 if test `eval echo '${'$as_ac_var'}'` = yes; then
41685 cat >>confdefs.h <<_ACEOF
41686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41687 _ACEOF
41688
41689 cat >>confdefs.h <<\_ACEOF
41690 #define HAVE_SHL_LOAD 1
41691 _ACEOF
41692
41693 HAVE_SHL_FUNCS=1
41694
41695 else
41696
41697 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41698 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41699 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41700 echo $ECHO_N "(cached) $ECHO_C" >&6
41701 else
41702 ac_check_lib_save_LIBS=$LIBS
41703 LIBS="-lshl_load $LIBS"
41704 cat >conftest.$ac_ext <<_ACEOF
41705 /* confdefs.h. */
41706 _ACEOF
41707 cat confdefs.h >>conftest.$ac_ext
41708 cat >>conftest.$ac_ext <<_ACEOF
41709 /* end confdefs.h. */
41710
41711 /* Override any GCC internal prototype to avoid an error.
41712 Use char because int might match the return type of a GCC
41713 builtin and then its argument prototype would still apply. */
41714 #ifdef __cplusplus
41715 extern "C"
41716 #endif
41717 char dld ();
41718 int
41719 main ()
41720 {
41721 return dld ();
41722 ;
41723 return 0;
41724 }
41725 _ACEOF
41726 rm -f conftest.$ac_objext conftest$ac_exeext
41727 if { (ac_try="$ac_link"
41728 case "(($ac_try" in
41729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41730 *) ac_try_echo=$ac_try;;
41731 esac
41732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41733 (eval "$ac_link") 2>conftest.er1
41734 ac_status=$?
41735 grep -v '^ *+' conftest.er1 >conftest.err
41736 rm -f conftest.er1
41737 cat conftest.err >&5
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); } && {
41740 test -z "$ac_c_werror_flag" ||
41741 test ! -s conftest.err
41742 } && test -s conftest$ac_exeext &&
41743 $as_test_x conftest$ac_exeext; then
41744 ac_cv_lib_shl_load_dld=yes
41745 else
41746 echo "$as_me: failed program was:" >&5
41747 sed 's/^/| /' conftest.$ac_ext >&5
41748
41749 ac_cv_lib_shl_load_dld=no
41750 fi
41751
41752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41753 conftest$ac_exeext conftest.$ac_ext
41754 LIBS=$ac_check_lib_save_LIBS
41755 fi
41756 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41757 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41758 if test $ac_cv_lib_shl_load_dld = yes; then
41759
41760 HAVE_SHL_FUNCS=1
41761 DL_LINK=" -ldld$DL_LINK"
41762
41763 fi
41764
41765
41766 fi
41767 done
41768
41769
41770 fi
41771
41772
41773 fi
41774 done
41775
41776
41777 if test "$HAVE_DL_FUNCS" = 1; then
41778
41779 for ac_func in dlerror
41780 do
41781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41782 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41784 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41785 echo $ECHO_N "(cached) $ECHO_C" >&6
41786 else
41787 cat >conftest.$ac_ext <<_ACEOF
41788 /* confdefs.h. */
41789 _ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41795 #define $ac_func innocuous_$ac_func
41796
41797 /* System header to define __stub macros and hopefully few prototypes,
41798 which can conflict with char $ac_func (); below.
41799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41800 <limits.h> exists even on freestanding compilers. */
41801
41802 #ifdef __STDC__
41803 # include <limits.h>
41804 #else
41805 # include <assert.h>
41806 #endif
41807
41808 #undef $ac_func
41809
41810 /* Override any GCC internal prototype to avoid an error.
41811 Use char because int might match the return type of a GCC
41812 builtin and then its argument prototype would still apply. */
41813 #ifdef __cplusplus
41814 extern "C"
41815 #endif
41816 char $ac_func ();
41817 /* The GNU C library defines this for functions which it implements
41818 to always fail with ENOSYS. Some functions are actually named
41819 something starting with __ and the normal name is an alias. */
41820 #if defined __stub_$ac_func || defined __stub___$ac_func
41821 choke me
41822 #endif
41823
41824 int
41825 main ()
41826 {
41827 return $ac_func ();
41828 ;
41829 return 0;
41830 }
41831 _ACEOF
41832 rm -f conftest.$ac_objext conftest$ac_exeext
41833 if { (ac_try="$ac_link"
41834 case "(($ac_try" in
41835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41836 *) ac_try_echo=$ac_try;;
41837 esac
41838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41839 (eval "$ac_link") 2>conftest.er1
41840 ac_status=$?
41841 grep -v '^ *+' conftest.er1 >conftest.err
41842 rm -f conftest.er1
41843 cat conftest.err >&5
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); } && {
41846 test -z "$ac_c_werror_flag" ||
41847 test ! -s conftest.err
41848 } && test -s conftest$ac_exeext &&
41849 $as_test_x conftest$ac_exeext; then
41850 eval "$as_ac_var=yes"
41851 else
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41854
41855 eval "$as_ac_var=no"
41856 fi
41857
41858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41859 conftest$ac_exeext conftest.$ac_ext
41860 fi
41861 ac_res=`eval echo '${'$as_ac_var'}'`
41862 { echo "$as_me:$LINENO: result: $ac_res" >&5
41863 echo "${ECHO_T}$ac_res" >&6; }
41864 if test `eval echo '${'$as_ac_var'}'` = yes; then
41865 cat >>confdefs.h <<_ACEOF
41866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41867 _ACEOF
41868 cat >>confdefs.h <<\_ACEOF
41869 #define HAVE_DLERROR 1
41870 _ACEOF
41871
41872 else
41873
41874 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41875 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41876 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41877 echo $ECHO_N "(cached) $ECHO_C" >&6
41878 else
41879 ac_check_lib_save_LIBS=$LIBS
41880 LIBS="-ldl $LIBS"
41881 cat >conftest.$ac_ext <<_ACEOF
41882 /* confdefs.h. */
41883 _ACEOF
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887
41888 /* Override any GCC internal prototype to avoid an error.
41889 Use char because int might match the return type of a GCC
41890 builtin and then its argument prototype would still apply. */
41891 #ifdef __cplusplus
41892 extern "C"
41893 #endif
41894 char dlerror ();
41895 int
41896 main ()
41897 {
41898 return dlerror ();
41899 ;
41900 return 0;
41901 }
41902 _ACEOF
41903 rm -f conftest.$ac_objext conftest$ac_exeext
41904 if { (ac_try="$ac_link"
41905 case "(($ac_try" in
41906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41907 *) ac_try_echo=$ac_try;;
41908 esac
41909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41910 (eval "$ac_link") 2>conftest.er1
41911 ac_status=$?
41912 grep -v '^ *+' conftest.er1 >conftest.err
41913 rm -f conftest.er1
41914 cat conftest.err >&5
41915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916 (exit $ac_status); } && {
41917 test -z "$ac_c_werror_flag" ||
41918 test ! -s conftest.err
41919 } && test -s conftest$ac_exeext &&
41920 $as_test_x conftest$ac_exeext; then
41921 ac_cv_lib_dl_dlerror=yes
41922 else
41923 echo "$as_me: failed program was:" >&5
41924 sed 's/^/| /' conftest.$ac_ext >&5
41925
41926 ac_cv_lib_dl_dlerror=no
41927 fi
41928
41929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41930 conftest$ac_exeext conftest.$ac_ext
41931 LIBS=$ac_check_lib_save_LIBS
41932 fi
41933 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41934 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41935 if test $ac_cv_lib_dl_dlerror = yes; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define HAVE_DLERROR 1
41938 _ACEOF
41939
41940 fi
41941
41942
41943
41944 fi
41945 done
41946
41947 fi
41948 fi
41949
41950 if test "$USE_DARWIN" = 1; then
41951 HAVE_DL_FUNCS=1
41952 fi
41953
41954 if test "$HAVE_DL_FUNCS" = 0; then
41955 if test "$HAVE_SHL_FUNCS" = 0; then
41956 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41957 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41958 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41959 wxUSE_DYNAMIC_LOADER=no
41960 wxUSE_DYNLIB_CLASS=no
41961 else
41962 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41963 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41964 fi
41965 fi
41966 fi
41967 fi
41968 fi
41969
41970 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41971 cat >>confdefs.h <<\_ACEOF
41972 #define wxUSE_DYNAMIC_LOADER 1
41973 _ACEOF
41974
41975 fi
41976 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_DYNLIB_CLASS 1
41979 _ACEOF
41980
41981 fi
41982
41983
41984
41985 if test "$wxUSE_PLUGINS" = "yes" ; then
41986 if test "$wxUSE_SHARED" = "no" ; then
41987 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41988 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41989 wxUSE_PLUGINS=no
41990 fi
41991 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41992 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41993 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41994 wxUSE_PLUGINS=no
41995 fi
41996 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41997 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41998 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41999 wxUSE_PLUGINS=no
42000 fi
42001 if test "$wxUSE_PLUGINS" = "yes" ; then
42002 cat >>confdefs.h <<\_ACEOF
42003 #define wxUSE_PLUGINS 1
42004 _ACEOF
42005
42006 fi
42007 fi
42008
42009
42010 if test "$wxUSE_STL" = "yes"; then
42011 cat >>confdefs.h <<\_ACEOF
42012 #define wxUSE_STL 1
42013 _ACEOF
42014
42015 fi
42016
42017 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42018 cat >>confdefs.h <<\_ACEOF
42019 #define wxUSE_EXTENDED_RTTI 1
42020 _ACEOF
42021
42022 fi
42023
42024 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42025 cat >>confdefs.h <<\_ACEOF
42026 #define wxUSE_APPLE_IEEE 1
42027 _ACEOF
42028
42029 fi
42030
42031 if test "$wxUSE_TIMER" = "yes"; then
42032 cat >>confdefs.h <<\_ACEOF
42033 #define wxUSE_TIMER 1
42034 _ACEOF
42035
42036 fi
42037
42038 if test "$USE_UNIX" = 1 ; then
42039 if test "$wxUSE_MGL" != 1; then
42040 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42041 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42042 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42043 echo $ECHO_N "(cached) $ECHO_C" >&6
42044 else
42045
42046 cat >conftest.$ac_ext <<_ACEOF
42047 /* confdefs.h. */
42048 _ACEOF
42049 cat confdefs.h >>conftest.$ac_ext
42050 cat >>conftest.$ac_ext <<_ACEOF
42051 /* end confdefs.h. */
42052
42053 #include <sys/ioctl.h>
42054 #include <sys/soundcard.h>
42055
42056 int
42057 main ()
42058 {
42059
42060 ioctl(0, SNDCTL_DSP_SPEED, 0);
42061
42062 ;
42063 return 0;
42064 }
42065 _ACEOF
42066 rm -f conftest.$ac_objext conftest$ac_exeext
42067 if { (ac_try="$ac_link"
42068 case "(($ac_try" in
42069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42070 *) ac_try_echo=$ac_try;;
42071 esac
42072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42073 (eval "$ac_link") 2>conftest.er1
42074 ac_status=$?
42075 grep -v '^ *+' conftest.er1 >conftest.err
42076 rm -f conftest.er1
42077 cat conftest.err >&5
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } && {
42080 test -z "$ac_c_werror_flag" ||
42081 test ! -s conftest.err
42082 } && test -s conftest$ac_exeext &&
42083 $as_test_x conftest$ac_exeext; then
42084 ac_cv_header_sys_soundcard=yes
42085 else
42086 echo "$as_me: failed program was:" >&5
42087 sed 's/^/| /' conftest.$ac_ext >&5
42088
42089
42090 saveLibs="$LIBS"
42091 LIBS="$saveLibs -lossaudio"
42092 cat >conftest.$ac_ext <<_ACEOF
42093 /* confdefs.h. */
42094 _ACEOF
42095 cat confdefs.h >>conftest.$ac_ext
42096 cat >>conftest.$ac_ext <<_ACEOF
42097 /* end confdefs.h. */
42098
42099 #include <sys/ioctl.h>
42100 #include <sys/soundcard.h>
42101
42102 int
42103 main ()
42104 {
42105
42106 ioctl(0, SNDCTL_DSP_SPEED, 0);
42107
42108 ;
42109 return 0;
42110 }
42111 _ACEOF
42112 rm -f conftest.$ac_objext conftest$ac_exeext
42113 if { (ac_try="$ac_link"
42114 case "(($ac_try" in
42115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42116 *) ac_try_echo=$ac_try;;
42117 esac
42118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42119 (eval "$ac_link") 2>conftest.er1
42120 ac_status=$?
42121 grep -v '^ *+' conftest.er1 >conftest.err
42122 rm -f conftest.er1
42123 cat conftest.err >&5
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); } && {
42126 test -z "$ac_c_werror_flag" ||
42127 test ! -s conftest.err
42128 } && test -s conftest$ac_exeext &&
42129 $as_test_x conftest$ac_exeext; then
42130 ac_cv_header_sys_soundcard=yes
42131 else
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42134
42135
42136 LIBS="$saveLibs"
42137 ac_cv_header_sys_soundcard=no
42138
42139
42140 fi
42141
42142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42143 conftest$ac_exeext conftest.$ac_ext
42144
42145
42146 fi
42147
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42150
42151 fi
42152 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42153 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42154 fi
42155
42156 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42157 cat >>confdefs.h <<\_ACEOF
42158 #define HAVE_SYS_SOUNDCARD_H 1
42159 _ACEOF
42160
42161 fi
42162 fi
42163
42164 WITH_PLUGIN_SDL=0
42165 if test "$wxUSE_SOUND" = "yes"; then
42166 if test "$USE_UNIX" = 1 ; then
42167 if test "$wxUSE_LIBSDL" != "no"; then
42168
42169 # Check whether --with-sdl-prefix was given.
42170 if test "${with_sdl_prefix+set}" = set; then
42171 withval=$with_sdl_prefix; sdl_prefix="$withval"
42172 else
42173 sdl_prefix=""
42174 fi
42175
42176
42177 # Check whether --with-sdl-exec-prefix was given.
42178 if test "${with_sdl_exec_prefix+set}" = set; then
42179 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42180 else
42181 sdl_exec_prefix=""
42182 fi
42183
42184 # Check whether --enable-sdltest was given.
42185 if test "${enable_sdltest+set}" = set; then
42186 enableval=$enable_sdltest;
42187 else
42188 enable_sdltest=yes
42189 fi
42190
42191
42192 if test x$sdl_exec_prefix != x ; then
42193 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42194 if test x${SDL_CONFIG+set} != xset ; then
42195 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42196 fi
42197 fi
42198 if test x$sdl_prefix != x ; then
42199 sdl_args="$sdl_args --prefix=$sdl_prefix"
42200 if test x${SDL_CONFIG+set} != xset ; then
42201 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42202 fi
42203 fi
42204
42205 if test "x$prefix" != xNONE; then
42206 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42207 fi
42208 # Extract the first word of "sdl-config", so it can be a program name with args.
42209 set dummy sdl-config; ac_word=$2
42210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42212 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42213 echo $ECHO_N "(cached) $ECHO_C" >&6
42214 else
42215 case $SDL_CONFIG in
42216 [\\/]* | ?:[\\/]*)
42217 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42218 ;;
42219 *)
42220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42221 for as_dir in $PATH
42222 do
42223 IFS=$as_save_IFS
42224 test -z "$as_dir" && as_dir=.
42225 for ac_exec_ext in '' $ac_executable_extensions; do
42226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42227 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42229 break 2
42230 fi
42231 done
42232 done
42233 IFS=$as_save_IFS
42234
42235 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42236 ;;
42237 esac
42238 fi
42239 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42240 if test -n "$SDL_CONFIG"; then
42241 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42242 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42243 else
42244 { echo "$as_me:$LINENO: result: no" >&5
42245 echo "${ECHO_T}no" >&6; }
42246 fi
42247
42248
42249 min_sdl_version=1.2.0
42250 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42251 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42252 no_sdl=""
42253 if test "$SDL_CONFIG" = "no" ; then
42254 no_sdl=yes
42255 else
42256 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42257 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42258
42259 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42261 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42263 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42265 if test "x$enable_sdltest" = "xyes" ; then
42266 ac_save_CFLAGS="$CFLAGS"
42267 ac_save_CXXFLAGS="$CXXFLAGS"
42268 ac_save_LIBS="$LIBS"
42269 CFLAGS="$CFLAGS $SDL_CFLAGS"
42270 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42271 LIBS="$LIBS $SDL_LIBS"
42272 rm -f conf.sdltest
42273 if test "$cross_compiling" = yes; then
42274 echo $ac_n "cross compiling; assumed OK... $ac_c"
42275 else
42276 cat >conftest.$ac_ext <<_ACEOF
42277 /* confdefs.h. */
42278 _ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42282
42283 #include <stdio.h>
42284 #include <stdlib.h>
42285 #include <string.h>
42286 #include "SDL.h"
42287
42288 char*
42289 my_strdup (char *str)
42290 {
42291 char *new_str;
42292
42293 if (str)
42294 {
42295 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42296 strcpy (new_str, str);
42297 }
42298 else
42299 new_str = NULL;
42300
42301 return new_str;
42302 }
42303
42304 int main (int argc, char *argv[])
42305 {
42306 int major, minor, micro;
42307 char *tmp_version;
42308
42309 /* This hangs on some systems (?)
42310 system ("touch conf.sdltest");
42311 */
42312 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42313
42314 /* HP/UX 9 (%@#!) writes to sscanf strings */
42315 tmp_version = my_strdup("$min_sdl_version");
42316 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42317 printf("%s, bad version string\n", "$min_sdl_version");
42318 exit(1);
42319 }
42320
42321 if (($sdl_major_version > major) ||
42322 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42323 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42324 {
42325 return 0;
42326 }
42327 else
42328 {
42329 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42330 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42331 printf("*** best to upgrade to the required version.\n");
42332 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42333 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42334 printf("*** config.cache before re-running configure\n");
42335 return 1;
42336 }
42337 }
42338
42339
42340 _ACEOF
42341 rm -f conftest$ac_exeext
42342 if { (ac_try="$ac_link"
42343 case "(($ac_try" in
42344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42345 *) ac_try_echo=$ac_try;;
42346 esac
42347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42348 (eval "$ac_link") 2>&5
42349 ac_status=$?
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42352 { (case "(($ac_try" in
42353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42354 *) ac_try_echo=$ac_try;;
42355 esac
42356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42357 (eval "$ac_try") 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; }; then
42361 :
42362 else
42363 echo "$as_me: program exited with status $ac_status" >&5
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42366
42367 ( exit $ac_status )
42368 no_sdl=yes
42369 fi
42370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42371 fi
42372
42373
42374 CFLAGS="$ac_save_CFLAGS"
42375 CXXFLAGS="$ac_save_CXXFLAGS"
42376 LIBS="$ac_save_LIBS"
42377 fi
42378 fi
42379 if test "x$no_sdl" = x ; then
42380 { echo "$as_me:$LINENO: result: yes" >&5
42381 echo "${ECHO_T}yes" >&6; }
42382
42383 EXTRALIBS_SDL="$SDL_LIBS"
42384 CFLAGS="$SDL_CFLAGS $CFLAGS"
42385 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42386 cat >>confdefs.h <<\_ACEOF
42387 #define wxUSE_LIBSDL 1
42388 _ACEOF
42389
42390
42391 else
42392 { echo "$as_me:$LINENO: result: no" >&5
42393 echo "${ECHO_T}no" >&6; }
42394 if test "$SDL_CONFIG" = "no" ; then
42395 echo "*** The sdl-config script installed by SDL could not be found"
42396 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42397 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42398 echo "*** full path to sdl-config."
42399 else
42400 if test -f conf.sdltest ; then
42401 :
42402 else
42403 echo "*** Could not run SDL test program, checking why..."
42404 CFLAGS="$CFLAGS $SDL_CFLAGS"
42405 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42406 LIBS="$LIBS $SDL_LIBS"
42407 cat >conftest.$ac_ext <<_ACEOF
42408 /* confdefs.h. */
42409 _ACEOF
42410 cat confdefs.h >>conftest.$ac_ext
42411 cat >>conftest.$ac_ext <<_ACEOF
42412 /* end confdefs.h. */
42413
42414 #include <stdio.h>
42415 #include "SDL.h"
42416
42417 int main(int argc, char *argv[])
42418 { return 0; }
42419 #undef main
42420 #define main K_and_R_C_main
42421
42422 int
42423 main ()
42424 {
42425 return 0;
42426 ;
42427 return 0;
42428 }
42429 _ACEOF
42430 rm -f conftest.$ac_objext conftest$ac_exeext
42431 if { (ac_try="$ac_link"
42432 case "(($ac_try" in
42433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42434 *) ac_try_echo=$ac_try;;
42435 esac
42436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42437 (eval "$ac_link") 2>conftest.er1
42438 ac_status=$?
42439 grep -v '^ *+' conftest.er1 >conftest.err
42440 rm -f conftest.er1
42441 cat conftest.err >&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); } && {
42444 test -z "$ac_c_werror_flag" ||
42445 test ! -s conftest.err
42446 } && test -s conftest$ac_exeext &&
42447 $as_test_x conftest$ac_exeext; then
42448 echo "*** The test program compiled, but did not run. This usually means"
42449 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42450 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42451 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42452 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42453 echo "*** is required on your system"
42454 echo "***"
42455 echo "*** If you have an old version installed, it is best to remove it, although"
42456 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42457 else
42458 echo "$as_me: failed program was:" >&5
42459 sed 's/^/| /' conftest.$ac_ext >&5
42460
42461 echo "*** The test program failed to compile or link. See the file config.log for the"
42462 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42463 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42464 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42465 fi
42466
42467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42468 conftest$ac_exeext conftest.$ac_ext
42469 CFLAGS="$ac_save_CFLAGS"
42470 CXXFLAGS="$ac_save_CXXFLAGS"
42471 LIBS="$ac_save_LIBS"
42472 fi
42473 fi
42474 SDL_CFLAGS=""
42475 SDL_LIBS=""
42476 wxUSE_LIBSDL="no"
42477 fi
42478
42479
42480 rm -f conf.sdltest
42481
42482 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42483 WITH_PLUGIN_SDL=1
42484 fi
42485 fi
42486 else
42487 if test "$wxUSE_MGL" = 1; then
42488 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42489 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42490 wxUSE_SOUND="no"
42491 fi
42492 fi
42493 fi
42494
42495 if test "$wxUSE_SOUND" = "yes"; then
42496 cat >>confdefs.h <<\_ACEOF
42497 #define wxUSE_SOUND 1
42498 _ACEOF
42499
42500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42501 fi
42502
42503 if test "$WXGTK2" = 1; then
42504
42505
42506 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42507 if test -n "$ac_tool_prefix"; then
42508 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42509 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42510 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42512 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 else
42515 case $PKG_CONFIG in
42516 [\\/]* | ?:[\\/]*)
42517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42518 ;;
42519 *)
42520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42521 for as_dir in $PATH
42522 do
42523 IFS=$as_save_IFS
42524 test -z "$as_dir" && as_dir=.
42525 for ac_exec_ext in '' $ac_executable_extensions; do
42526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42527 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42529 break 2
42530 fi
42531 done
42532 done
42533 IFS=$as_save_IFS
42534
42535 ;;
42536 esac
42537 fi
42538 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42539 if test -n "$PKG_CONFIG"; then
42540 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42541 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42542 else
42543 { echo "$as_me:$LINENO: result: no" >&5
42544 echo "${ECHO_T}no" >&6; }
42545 fi
42546
42547
42548 fi
42549 if test -z "$ac_cv_path_PKG_CONFIG"; then
42550 ac_pt_PKG_CONFIG=$PKG_CONFIG
42551 # Extract the first word of "pkg-config", so it can be a program name with args.
42552 set dummy pkg-config; ac_word=$2
42553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42555 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42556 echo $ECHO_N "(cached) $ECHO_C" >&6
42557 else
42558 case $ac_pt_PKG_CONFIG in
42559 [\\/]* | ?:[\\/]*)
42560 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42561 ;;
42562 *)
42563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42564 for as_dir in $PATH
42565 do
42566 IFS=$as_save_IFS
42567 test -z "$as_dir" && as_dir=.
42568 for ac_exec_ext in '' $ac_executable_extensions; do
42569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42570 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42572 break 2
42573 fi
42574 done
42575 done
42576 IFS=$as_save_IFS
42577
42578 ;;
42579 esac
42580 fi
42581 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42582 if test -n "$ac_pt_PKG_CONFIG"; then
42583 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42584 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42585 else
42586 { echo "$as_me:$LINENO: result: no" >&5
42587 echo "${ECHO_T}no" >&6; }
42588 fi
42589
42590 if test "x$ac_pt_PKG_CONFIG" = x; then
42591 PKG_CONFIG=""
42592 else
42593 case $cross_compiling:$ac_tool_warned in
42594 yes:)
42595 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42596 whose name does not start with the host triplet. If you think this
42597 configuration is useful to you, please write to autoconf@gnu.org." >&5
42598 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42599 whose name does not start with the host triplet. If you think this
42600 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42601 ac_tool_warned=yes ;;
42602 esac
42603 PKG_CONFIG=$ac_pt_PKG_CONFIG
42604 fi
42605 else
42606 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42607 fi
42608
42609 fi
42610 if test -n "$PKG_CONFIG"; then
42611 _pkg_min_version=0.9.0
42612 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42613 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42614 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42615 { echo "$as_me:$LINENO: result: yes" >&5
42616 echo "${ECHO_T}yes" >&6; }
42617 else
42618 { echo "$as_me:$LINENO: result: no" >&5
42619 echo "${ECHO_T}no" >&6; }
42620 PKG_CONFIG=""
42621 fi
42622
42623 fi
42624
42625 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42626
42627 if test "$wxUSE_GTKPRINT" = "yes" ; then
42628
42629
42630 pkg_failed=no
42631 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42632 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42633
42634 if test -n "$PKG_CONFIG"; then
42635 if test -n "$GTKPRINT_CFLAGS"; then
42636 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42637 else
42638 if test -n "$PKG_CONFIG" && \
42639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42640 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42641 ac_status=$?
42642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643 (exit $ac_status); }; then
42644 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42645 else
42646 pkg_failed=yes
42647 fi
42648 fi
42649 else
42650 pkg_failed=untried
42651 fi
42652 if test -n "$PKG_CONFIG"; then
42653 if test -n "$GTKPRINT_LIBS"; then
42654 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42655 else
42656 if test -n "$PKG_CONFIG" && \
42657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42658 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42659 ac_status=$?
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); }; then
42662 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42663 else
42664 pkg_failed=yes
42665 fi
42666 fi
42667 else
42668 pkg_failed=untried
42669 fi
42670
42671
42672
42673 if test $pkg_failed = yes; then
42674
42675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42676 _pkg_short_errors_supported=yes
42677 else
42678 _pkg_short_errors_supported=no
42679 fi
42680 if test $_pkg_short_errors_supported = yes; then
42681 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42682 else
42683 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42684 fi
42685 # Put the nasty error message in config.log where it belongs
42686 echo "$GTKPRINT_PKG_ERRORS" >&5
42687
42688
42689 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42690 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42691 wxUSE_GTKPRINT="no"
42692
42693
42694 elif test $pkg_failed = untried; then
42695
42696 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42697 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42698 wxUSE_GTKPRINT="no"
42699
42700
42701 else
42702 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42703 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42704 { echo "$as_me:$LINENO: result: yes" >&5
42705 echo "${ECHO_T}yes" >&6; }
42706
42707 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42708 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42709 cat >>confdefs.h <<\_ACEOF
42710 #define wxUSE_GTKPRINT 1
42711 _ACEOF
42712
42713
42714 fi
42715 fi
42716
42717 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42718
42719
42720 pkg_failed=no
42721 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42722 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42723
42724 if test -n "$PKG_CONFIG"; then
42725 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42726 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42727 else
42728 if test -n "$PKG_CONFIG" && \
42729 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42730 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42731 ac_status=$?
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); }; then
42734 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42735 else
42736 pkg_failed=yes
42737 fi
42738 fi
42739 else
42740 pkg_failed=untried
42741 fi
42742 if test -n "$PKG_CONFIG"; then
42743 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42744 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42745 else
42746 if test -n "$PKG_CONFIG" && \
42747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42748 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42749 ac_status=$?
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); }; then
42752 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42753 else
42754 pkg_failed=yes
42755 fi
42756 fi
42757 else
42758 pkg_failed=untried
42759 fi
42760
42761
42762
42763 if test $pkg_failed = yes; then
42764
42765 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42766 _pkg_short_errors_supported=yes
42767 else
42768 _pkg_short_errors_supported=no
42769 fi
42770 if test $_pkg_short_errors_supported = yes; then
42771 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42772 else
42773 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42774 fi
42775 # Put the nasty error message in config.log where it belongs
42776 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42777
42778
42779 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42780 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42781 wxUSE_LIBGNOMEPRINT="no"
42782
42783
42784 elif test $pkg_failed = untried; then
42785
42786 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42787 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42788 wxUSE_LIBGNOMEPRINT="no"
42789
42790
42791 else
42792 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42793 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42794 { echo "$as_me:$LINENO: result: yes" >&5
42795 echo "${ECHO_T}yes" >&6; }
42796
42797 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42798 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42799 cat >>confdefs.h <<\_ACEOF
42800 #define wxUSE_LIBGNOMEPRINT 1
42801 _ACEOF
42802
42803
42804 fi
42805 fi
42806 fi
42807
42808 if test "$wxUSE_MIMETYPE" = "yes" ; then
42809 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42810
42811
42812 pkg_failed=no
42813 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42814 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42815
42816 if test -n "$PKG_CONFIG"; then
42817 if test -n "$GNOMEVFS_CFLAGS"; then
42818 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42819 else
42820 if test -n "$PKG_CONFIG" && \
42821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42822 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42823 ac_status=$?
42824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42825 (exit $ac_status); }; then
42826 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42827 else
42828 pkg_failed=yes
42829 fi
42830 fi
42831 else
42832 pkg_failed=untried
42833 fi
42834 if test -n "$PKG_CONFIG"; then
42835 if test -n "$GNOMEVFS_LIBS"; then
42836 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42837 else
42838 if test -n "$PKG_CONFIG" && \
42839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42840 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42841 ac_status=$?
42842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42843 (exit $ac_status); }; then
42844 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42845 else
42846 pkg_failed=yes
42847 fi
42848 fi
42849 else
42850 pkg_failed=untried
42851 fi
42852
42853
42854
42855 if test $pkg_failed = yes; then
42856
42857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42858 _pkg_short_errors_supported=yes
42859 else
42860 _pkg_short_errors_supported=no
42861 fi
42862 if test $_pkg_short_errors_supported = yes; then
42863 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42864 else
42865 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42866 fi
42867 # Put the nasty error message in config.log where it belongs
42868 echo "$GNOMEVFS_PKG_ERRORS" >&5
42869
42870
42871 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42872 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42873 wxUSE_LIBGNOMEVFS="no"
42874
42875
42876 elif test $pkg_failed = untried; then
42877
42878 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42879 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42880 wxUSE_LIBGNOMEVFS="no"
42881
42882
42883 else
42884 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42885 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42886 { echo "$as_me:$LINENO: result: yes" >&5
42887 echo "${ECHO_T}yes" >&6; }
42888
42889 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42890 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42891 cat >>confdefs.h <<\_ACEOF
42892 #define wxUSE_LIBGNOMEVFS 1
42893 _ACEOF
42894
42895
42896 fi
42897 fi
42898 fi
42899
42900 if test "$wxUSE_LIBHILDON" = "yes" ; then
42901
42902 pkg_failed=no
42903 { echo "$as_me:$LINENO: checking for HILDON" >&5
42904 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42905
42906 if test -n "$PKG_CONFIG"; then
42907 if test -n "$HILDON_CFLAGS"; then
42908 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42909 else
42910 if test -n "$PKG_CONFIG" && \
42911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42912 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42913 ac_status=$?
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; then
42916 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42917 else
42918 pkg_failed=yes
42919 fi
42920 fi
42921 else
42922 pkg_failed=untried
42923 fi
42924 if test -n "$PKG_CONFIG"; then
42925 if test -n "$HILDON_LIBS"; then
42926 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42927 else
42928 if test -n "$PKG_CONFIG" && \
42929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42930 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42931 ac_status=$?
42932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42933 (exit $ac_status); }; then
42934 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42935 else
42936 pkg_failed=yes
42937 fi
42938 fi
42939 else
42940 pkg_failed=untried
42941 fi
42942
42943
42944
42945 if test $pkg_failed = yes; then
42946
42947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42948 _pkg_short_errors_supported=yes
42949 else
42950 _pkg_short_errors_supported=no
42951 fi
42952 if test $_pkg_short_errors_supported = yes; then
42953 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42954 else
42955 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42956 fi
42957 # Put the nasty error message in config.log where it belongs
42958 echo "$HILDON_PKG_ERRORS" >&5
42959
42960
42961 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42962 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42963 wxUSE_LIBHILDON="no"
42964
42965
42966 elif test $pkg_failed = untried; then
42967
42968 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42969 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42970 wxUSE_LIBHILDON="no"
42971
42972
42973 else
42974 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42975 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42976 { echo "$as_me:$LINENO: result: yes" >&5
42977 echo "${ECHO_T}yes" >&6; }
42978
42979 EXTRALIBS_HILDON="$HILDON_LIBS"
42980 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42981 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42982 cat >>confdefs.h <<\_ACEOF
42983 #define wxUSE_LIBHILDON 1
42984 _ACEOF
42985
42986
42987 fi
42988 fi
42989 fi
42990
42991 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42992 cat >>confdefs.h <<\_ACEOF
42993 #define wxUSE_CMDLINE_PARSER 1
42994 _ACEOF
42995
42996 fi
42997
42998 if test "$wxUSE_STOPWATCH" = "yes"; then
42999 cat >>confdefs.h <<\_ACEOF
43000 #define wxUSE_STOPWATCH 1
43001 _ACEOF
43002
43003 fi
43004
43005 if test "$wxUSE_DATETIME" = "yes"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_DATETIME 1
43008 _ACEOF
43009
43010 fi
43011
43012 if test "$wxUSE_FILE" = "yes"; then
43013 cat >>confdefs.h <<\_ACEOF
43014 #define wxUSE_FILE 1
43015 _ACEOF
43016
43017 fi
43018
43019 if test "$wxUSE_FFILE" = "yes"; then
43020 cat >>confdefs.h <<\_ACEOF
43021 #define wxUSE_FFILE 1
43022 _ACEOF
43023
43024 fi
43025
43026 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43027 if test "$wxUSE_STREAMS" != yes; then
43028 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43029 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43030 wxUSE_ARCHIVE_STREAMS=no
43031 else
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_ARCHIVE_STREAMS 1
43034 _ACEOF
43035
43036 fi
43037 fi
43038
43039 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43040 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43041 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43042 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43043 elif test "$wxUSE_ZLIB" = "no"; then
43044 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43045 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43046 else
43047 cat >>confdefs.h <<\_ACEOF
43048 #define wxUSE_ZIPSTREAM 1
43049 _ACEOF
43050
43051 fi
43052 fi
43053
43054 if test "$wxUSE_TARSTREAM" = "yes"; then
43055 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43056 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43057 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43058 else
43059 cat >>confdefs.h <<\_ACEOF
43060 #define wxUSE_TARSTREAM 1
43061 _ACEOF
43062
43063 fi
43064 fi
43065
43066 if test "$wxUSE_FILESYSTEM" = "yes"; then
43067 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43068 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43069 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43070 wxUSE_FILESYSTEM=no
43071 else
43072 cat >>confdefs.h <<\_ACEOF
43073 #define wxUSE_FILESYSTEM 1
43074 _ACEOF
43075
43076 fi
43077 fi
43078
43079 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43080 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43081 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43082 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43083 else
43084 cat >>confdefs.h <<\_ACEOF
43085 #define wxUSE_FS_ARCHIVE 1
43086 _ACEOF
43087
43088 fi
43089 fi
43090
43091 if test "$wxUSE_FS_ZIP" = "yes"; then
43092 if test "$wxUSE_FS_ARCHIVE" != yes; then
43093 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43094 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43095 else
43096 cat >>confdefs.h <<\_ACEOF
43097 #define wxUSE_FS_ZIP 1
43098 _ACEOF
43099
43100 fi
43101 fi
43102
43103 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43104 if test "$USE_UNIX" != 1; then
43105 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43106 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43107 wxUSE_ON_FATAL_EXCEPTION=no
43108 else
43109 cat >>confdefs.h <<\_ACEOF
43110 #define wxUSE_ON_FATAL_EXCEPTION 1
43111 _ACEOF
43112
43113 fi
43114 fi
43115
43116 if test "$wxUSE_STACKWALKER" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_STACKWALKER 1
43119 _ACEOF
43120
43121 fi
43122
43123 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43124 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43125 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43126 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43127 wxUSE_DEBUGREPORT=no
43128 else
43129 cat >>confdefs.h <<\_ACEOF
43130 #define wxUSE_DEBUGREPORT 1
43131 _ACEOF
43132
43133 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43135 fi
43136 fi
43137 fi
43138
43139 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43140 cat >>confdefs.h <<\_ACEOF
43141 #define wxUSE_SNGLINST_CHECKER 1
43142 _ACEOF
43143
43144 fi
43145
43146 if test "$wxUSE_BUSYINFO" = "yes"; then
43147 cat >>confdefs.h <<\_ACEOF
43148 #define wxUSE_BUSYINFO 1
43149 _ACEOF
43150
43151 fi
43152
43153 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_STD_IOSTREAM 1
43156 _ACEOF
43157
43158 fi
43159
43160 if test "$wxUSE_STD_STRING" = "yes"; then
43161 cat >>confdefs.h <<\_ACEOF
43162 #define wxUSE_STD_STRING 1
43163 _ACEOF
43164
43165 fi
43166
43167 if test "$wxUSE_STDPATHS" = "yes"; then
43168 cat >>confdefs.h <<\_ACEOF
43169 #define wxUSE_STDPATHS 1
43170 _ACEOF
43171
43172 fi
43173
43174 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_TEXTBUFFER 1
43177 _ACEOF
43178
43179 fi
43180
43181 if test "$wxUSE_TEXTFILE" = "yes"; then
43182 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43183 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43184 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43185 else
43186 cat >>confdefs.h <<\_ACEOF
43187 #define wxUSE_TEXTFILE 1
43188 _ACEOF
43189
43190 fi
43191 fi
43192
43193 if test "$wxUSE_CONFIG" = "yes" ; then
43194 if test "$wxUSE_TEXTFILE" != "yes"; then
43195 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43196 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43197 else
43198 cat >>confdefs.h <<\_ACEOF
43199 #define wxUSE_CONFIG 1
43200 _ACEOF
43201
43202 cat >>confdefs.h <<\_ACEOF
43203 #define wxUSE_CONFIG_NATIVE 1
43204 _ACEOF
43205
43206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43207 fi
43208 fi
43209
43210 if test "$wxUSE_INTL" = "yes" ; then
43211 if test "$wxUSE_FILE" != "yes"; then
43212 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43213 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43214 else
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_INTL 1
43217 _ACEOF
43218
43219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43220 GUIDIST="$GUIDIST INTL_DIST"
43221 fi
43222 fi
43223
43224 if test "$wxUSE_XLOCALE" == "yes" ; then
43225 cat >>confdefs.h <<\_ACEOF
43226 #define wxUSE_XLOCALE 1
43227 _ACEOF
43228
43229 { echo "$as_me:$LINENO: checking for locale_t" >&5
43230 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43231 if test "${ac_cv_type_locale_t+set}" = set; then
43232 echo $ECHO_N "(cached) $ECHO_C" >&6
43233 else
43234 cat >conftest.$ac_ext <<_ACEOF
43235 /* confdefs.h. */
43236 _ACEOF
43237 cat confdefs.h >>conftest.$ac_ext
43238 cat >>conftest.$ac_ext <<_ACEOF
43239 /* end confdefs.h. */
43240 #include <xlocale.h>
43241 #include <locale.h>
43242
43243 typedef locale_t ac__type_new_;
43244 int
43245 main ()
43246 {
43247 if ((ac__type_new_ *) 0)
43248 return 0;
43249 if (sizeof (ac__type_new_))
43250 return 0;
43251 ;
43252 return 0;
43253 }
43254 _ACEOF
43255 rm -f conftest.$ac_objext
43256 if { (ac_try="$ac_compile"
43257 case "(($ac_try" in
43258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43259 *) ac_try_echo=$ac_try;;
43260 esac
43261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43262 (eval "$ac_compile") 2>conftest.er1
43263 ac_status=$?
43264 grep -v '^ *+' conftest.er1 >conftest.err
43265 rm -f conftest.er1
43266 cat conftest.err >&5
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); } && {
43269 test -z "$ac_c_werror_flag" ||
43270 test ! -s conftest.err
43271 } && test -s conftest.$ac_objext; then
43272 ac_cv_type_locale_t=yes
43273 else
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43276
43277 ac_cv_type_locale_t=no
43278 fi
43279
43280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43281 fi
43282 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43283 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43284 if test $ac_cv_type_locale_t = yes; then
43285
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE_LOCALE_T 1
43288 _ACEOF
43289
43290
43291 fi
43292
43293 fi
43294
43295 if test "$wxUSE_LOG" = "yes"; then
43296 cat >>confdefs.h <<\_ACEOF
43297 #define wxUSE_LOG 1
43298 _ACEOF
43299
43300
43301 if test "$wxUSE_LOGGUI" = "yes"; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_LOGGUI 1
43304 _ACEOF
43305
43306 fi
43307
43308 if test "$wxUSE_LOGWINDOW" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_LOGWINDOW 1
43311 _ACEOF
43312
43313 fi
43314
43315 if test "$wxUSE_LOGDIALOG" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_LOG_DIALOG 1
43318 _ACEOF
43319
43320 fi
43321
43322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43323 fi
43324
43325 if test "$wxUSE_LONGLONG" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_LONGLONG 1
43328 _ACEOF
43329
43330 fi
43331
43332 if test "$wxUSE_GEOMETRY" = "yes"; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_GEOMETRY 1
43335 _ACEOF
43336
43337 fi
43338
43339 if test "$wxUSE_BASE64" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_BASE64 1
43342 _ACEOF
43343
43344 fi
43345
43346 if test "$wxUSE_STREAMS" = "yes" ; then
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_STREAMS 1
43349 _ACEOF
43350
43351 fi
43352
43353 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43354 cat >>confdefs.h <<\_ACEOF
43355 #define wxUSE_PRINTF_POS_PARAMS 1
43356 _ACEOF
43357
43358 fi
43359
43360 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define wxUSE_OBJC_UNIQUIFYING 1
43363 _ACEOF
43364
43365 fi
43366
43367
43368 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43369 cat >>confdefs.h <<\_ACEOF
43370 #define wxUSE_CONSOLE_EVENTLOOP 1
43371 _ACEOF
43372
43373
43374 if test "$wxUSE_UNIX" = "yes"; then
43375 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define wxUSE_SELECT_DISPATCHER 1
43378 _ACEOF
43379
43380 fi
43381
43382 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43383
43384 for ac_header in sys/epoll.h
43385 do
43386 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43390 echo $ECHO_N "(cached) $ECHO_C" >&6
43391 else
43392 cat >conftest.$ac_ext <<_ACEOF
43393 /* confdefs.h. */
43394 _ACEOF
43395 cat confdefs.h >>conftest.$ac_ext
43396 cat >>conftest.$ac_ext <<_ACEOF
43397 /* end confdefs.h. */
43398 $ac_includes_default
43399
43400 #include <$ac_header>
43401 _ACEOF
43402 rm -f conftest.$ac_objext
43403 if { (ac_try="$ac_compile"
43404 case "(($ac_try" in
43405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43406 *) ac_try_echo=$ac_try;;
43407 esac
43408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43409 (eval "$ac_compile") 2>conftest.er1
43410 ac_status=$?
43411 grep -v '^ *+' conftest.er1 >conftest.err
43412 rm -f conftest.er1
43413 cat conftest.err >&5
43414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43415 (exit $ac_status); } && {
43416 test -z "$ac_c_werror_flag" ||
43417 test ! -s conftest.err
43418 } && test -s conftest.$ac_objext; then
43419 eval "$as_ac_Header=yes"
43420 else
43421 echo "$as_me: failed program was:" >&5
43422 sed 's/^/| /' conftest.$ac_ext >&5
43423
43424 eval "$as_ac_Header=no"
43425 fi
43426
43427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43428 fi
43429 ac_res=`eval echo '${'$as_ac_Header'}'`
43430 { echo "$as_me:$LINENO: result: $ac_res" >&5
43431 echo "${ECHO_T}$ac_res" >&6; }
43432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43433 cat >>confdefs.h <<_ACEOF
43434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43435 _ACEOF
43436
43437 fi
43438
43439 done
43440
43441 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43442 cat >>confdefs.h <<\_ACEOF
43443 #define wxUSE_EPOLL_DISPATCHER 1
43444 _ACEOF
43445
43446 else
43447 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43448 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43449 fi
43450 fi
43451 fi
43452 fi
43453
43454
43455
43456
43457 for ac_func in gettimeofday ftime
43458 do
43459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43463 echo $ECHO_N "(cached) $ECHO_C" >&6
43464 else
43465 cat >conftest.$ac_ext <<_ACEOF
43466 /* confdefs.h. */
43467 _ACEOF
43468 cat confdefs.h >>conftest.$ac_ext
43469 cat >>conftest.$ac_ext <<_ACEOF
43470 /* end confdefs.h. */
43471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43473 #define $ac_func innocuous_$ac_func
43474
43475 /* System header to define __stub macros and hopefully few prototypes,
43476 which can conflict with char $ac_func (); below.
43477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43478 <limits.h> exists even on freestanding compilers. */
43479
43480 #ifdef __STDC__
43481 # include <limits.h>
43482 #else
43483 # include <assert.h>
43484 #endif
43485
43486 #undef $ac_func
43487
43488 /* Override any GCC internal prototype to avoid an error.
43489 Use char because int might match the return type of a GCC
43490 builtin and then its argument prototype would still apply. */
43491 #ifdef __cplusplus
43492 extern "C"
43493 #endif
43494 char $ac_func ();
43495 /* The GNU C library defines this for functions which it implements
43496 to always fail with ENOSYS. Some functions are actually named
43497 something starting with __ and the normal name is an alias. */
43498 #if defined __stub_$ac_func || defined __stub___$ac_func
43499 choke me
43500 #endif
43501
43502 int
43503 main ()
43504 {
43505 return $ac_func ();
43506 ;
43507 return 0;
43508 }
43509 _ACEOF
43510 rm -f conftest.$ac_objext conftest$ac_exeext
43511 if { (ac_try="$ac_link"
43512 case "(($ac_try" in
43513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43514 *) ac_try_echo=$ac_try;;
43515 esac
43516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43517 (eval "$ac_link") 2>conftest.er1
43518 ac_status=$?
43519 grep -v '^ *+' conftest.er1 >conftest.err
43520 rm -f conftest.er1
43521 cat conftest.err >&5
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); } && {
43524 test -z "$ac_c_werror_flag" ||
43525 test ! -s conftest.err
43526 } && test -s conftest$ac_exeext &&
43527 $as_test_x conftest$ac_exeext; then
43528 eval "$as_ac_var=yes"
43529 else
43530 echo "$as_me: failed program was:" >&5
43531 sed 's/^/| /' conftest.$ac_ext >&5
43532
43533 eval "$as_ac_var=no"
43534 fi
43535
43536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43537 conftest$ac_exeext conftest.$ac_ext
43538 fi
43539 ac_res=`eval echo '${'$as_ac_var'}'`
43540 { echo "$as_me:$LINENO: result: $ac_res" >&5
43541 echo "${ECHO_T}$ac_res" >&6; }
43542 if test `eval echo '${'$as_ac_var'}'` = yes; then
43543 cat >>confdefs.h <<_ACEOF
43544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43545 _ACEOF
43546 break
43547 fi
43548 done
43549
43550
43551 if test "$ac_cv_func_gettimeofday" = "yes"; then
43552 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43553 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43554 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43555 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 else
43557
43558 cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h. */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43564
43565 #include <sys/time.h>
43566 #include <unistd.h>
43567
43568 int
43569 main ()
43570 {
43571
43572 struct timeval tv;
43573 gettimeofday(&tv, NULL);
43574
43575 ;
43576 return 0;
43577 }
43578 _ACEOF
43579 rm -f conftest.$ac_objext
43580 if { (ac_try="$ac_compile"
43581 case "(($ac_try" in
43582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43583 *) ac_try_echo=$ac_try;;
43584 esac
43585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43586 (eval "$ac_compile") 2>conftest.er1
43587 ac_status=$?
43588 grep -v '^ *+' conftest.er1 >conftest.err
43589 rm -f conftest.er1
43590 cat conftest.err >&5
43591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43592 (exit $ac_status); } && {
43593 test -z "$ac_c_werror_flag" ||
43594 test ! -s conftest.err
43595 } && test -s conftest.$ac_objext; then
43596 wx_cv_func_gettimeofday_has_2_args=yes
43597 else
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.$ac_ext >&5
43600
43601 cat >conftest.$ac_ext <<_ACEOF
43602 /* confdefs.h. */
43603 _ACEOF
43604 cat confdefs.h >>conftest.$ac_ext
43605 cat >>conftest.$ac_ext <<_ACEOF
43606 /* end confdefs.h. */
43607
43608 #include <sys/time.h>
43609 #include <unistd.h>
43610
43611 int
43612 main ()
43613 {
43614
43615 struct timeval tv;
43616 gettimeofday(&tv);
43617
43618 ;
43619 return 0;
43620 }
43621 _ACEOF
43622 rm -f conftest.$ac_objext
43623 if { (ac_try="$ac_compile"
43624 case "(($ac_try" in
43625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43627 esac
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_compile") 2>conftest.er1
43630 ac_status=$?
43631 grep -v '^ *+' conftest.er1 >conftest.err
43632 rm -f conftest.er1
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_c_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest.$ac_objext; then
43639 wx_cv_func_gettimeofday_has_2_args=no
43640 else
43641 echo "$as_me: failed program was:" >&5
43642 sed 's/^/| /' conftest.$ac_ext >&5
43643
43644
43645 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43646 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43647 wx_cv_func_gettimeofday_has_2_args=unknown
43648
43649
43650 fi
43651
43652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43653
43654 fi
43655
43656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657
43658 fi
43659 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43660 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43661
43662 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define WX_GETTIMEOFDAY_NO_TZ 1
43665 _ACEOF
43666
43667 fi
43668 fi
43669
43670 if test "$wxUSE_DATETIME" = "yes"; then
43671 { echo "$as_me:$LINENO: checking for strptime" >&5
43672 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43673 if test "${ac_cv_func_strptime+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h. */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43684 #define strptime innocuous_strptime
43685
43686 /* System header to define __stub macros and hopefully few prototypes,
43687 which can conflict with char strptime (); below.
43688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43689 <limits.h> exists even on freestanding compilers. */
43690
43691 #ifdef __STDC__
43692 # include <limits.h>
43693 #else
43694 # include <assert.h>
43695 #endif
43696
43697 #undef strptime
43698
43699 /* Override any GCC internal prototype to avoid an error.
43700 Use char because int might match the return type of a GCC
43701 builtin and then its argument prototype would still apply. */
43702 #ifdef __cplusplus
43703 extern "C"
43704 #endif
43705 char strptime ();
43706 /* The GNU C library defines this for functions which it implements
43707 to always fail with ENOSYS. Some functions are actually named
43708 something starting with __ and the normal name is an alias. */
43709 #if defined __stub_strptime || defined __stub___strptime
43710 choke me
43711 #endif
43712
43713 int
43714 main ()
43715 {
43716 return strptime ();
43717 ;
43718 return 0;
43719 }
43720 _ACEOF
43721 rm -f conftest.$ac_objext conftest$ac_exeext
43722 if { (ac_try="$ac_link"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43726 esac
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_link") 2>conftest.er1
43729 ac_status=$?
43730 grep -v '^ *+' conftest.er1 >conftest.err
43731 rm -f conftest.er1
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_c_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest$ac_exeext &&
43738 $as_test_x conftest$ac_exeext; then
43739 ac_cv_func_strptime=yes
43740 else
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 ac_cv_func_strptime=no
43745 fi
43746
43747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43748 conftest$ac_exeext conftest.$ac_ext
43749 fi
43750 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43751 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43752
43753 if test "$ac_cv_func_strptime" = "yes"; then
43754 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43755 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43756 if test "${wx_cv_func_strptime_decl+set}" = set; then
43757 echo $ECHO_N "(cached) $ECHO_C" >&6
43758 else
43759
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43765
43766 cat >conftest.$ac_ext <<_ACEOF
43767 /* confdefs.h. */
43768 _ACEOF
43769 cat confdefs.h >>conftest.$ac_ext
43770 cat >>conftest.$ac_ext <<_ACEOF
43771 /* end confdefs.h. */
43772
43773 #include <time.h>
43774
43775 int
43776 main ()
43777 {
43778
43779 struct tm t;
43780 strptime("foo", "bar", &t);
43781
43782 ;
43783 return 0;
43784 }
43785 _ACEOF
43786 rm -f conftest.$ac_objext
43787 if { (ac_try="$ac_compile"
43788 case "(($ac_try" in
43789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43790 *) ac_try_echo=$ac_try;;
43791 esac
43792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43793 (eval "$ac_compile") 2>conftest.er1
43794 ac_status=$?
43795 grep -v '^ *+' conftest.er1 >conftest.err
43796 rm -f conftest.er1
43797 cat conftest.err >&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } && {
43800 test -z "$ac_cxx_werror_flag" ||
43801 test ! -s conftest.err
43802 } && test -s conftest.$ac_objext; then
43803 wx_cv_func_strptime_decl=yes
43804 else
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43807
43808 wx_cv_func_strptime_decl=no
43809
43810 fi
43811
43812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43813 ac_ext=c
43814 ac_cpp='$CPP $CPPFLAGS'
43815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43818
43819
43820
43821 fi
43822 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43823 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43824 fi
43825 if test "$wx_cv_func_strptime_decl" = "yes"; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define HAVE_STRPTIME_DECL 1
43828 _ACEOF
43829
43830 else
43831 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43832 fi
43833 if test "$ac_cv_func_strptime" = "yes"; then
43834 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43835 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43836 if test "${wx_cv_func_strptime_ok+set}" = set; then
43837 echo $ECHO_N "(cached) $ECHO_C" >&6
43838 else
43839 if test "$cross_compiling" = yes; then
43840 wx_cv_func_strptime_ok=no
43841
43842 else
43843 cat >conftest.$ac_ext <<_ACEOF
43844
43845 #include <stdlib.h>
43846 #include <time.h>
43847 #include "confdefs.h"
43848
43849 $wx_strptime_decl
43850
43851 int main()
43852 {
43853 struct tm t;
43854 return !!strptime("", "%x", &t);
43855 }
43856
43857 _ACEOF
43858 rm -f conftest$ac_exeext
43859 if { (ac_try="$ac_link"
43860 case "(($ac_try" in
43861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43862 *) ac_try_echo=$ac_try;;
43863 esac
43864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43865 (eval "$ac_link") 2>&5
43866 ac_status=$?
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43869 { (case "(($ac_try" in
43870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43871 *) ac_try_echo=$ac_try;;
43872 esac
43873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43874 (eval "$ac_try") 2>&5
43875 ac_status=$?
43876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877 (exit $ac_status); }; }; then
43878 wx_cv_func_strptime_ok=yes
43879 else
43880 echo "$as_me: program exited with status $ac_status" >&5
43881 echo "$as_me: failed program was:" >&5
43882 sed 's/^/| /' conftest.$ac_ext >&5
43883
43884 ( exit $ac_status )
43885 wx_cv_func_strptime_ok=no
43886 fi
43887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43888 fi
43889
43890
43891
43892 fi
43893 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43894 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43895
43896 if test "$wx_cv_func_strptime_ok" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define HAVE_STRPTIME 1
43899 _ACEOF
43900
43901 fi
43902 fi
43903
43904 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43905 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43906 if test "${wx_cv_var_timezone+set}" = set; then
43907 echo $ECHO_N "(cached) $ECHO_C" >&6
43908 else
43909
43910 ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916 cat >conftest.$ac_ext <<_ACEOF
43917 /* confdefs.h. */
43918 _ACEOF
43919 cat confdefs.h >>conftest.$ac_ext
43920 cat >>conftest.$ac_ext <<_ACEOF
43921 /* end confdefs.h. */
43922
43923 #include <time.h>
43924
43925 int
43926 main ()
43927 {
43928
43929 int tz;
43930 tz = timezone;
43931
43932 ;
43933 return 0;
43934 }
43935 _ACEOF
43936 rm -f conftest.$ac_objext
43937 if { (ac_try="$ac_compile"
43938 case "(($ac_try" in
43939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43940 *) ac_try_echo=$ac_try;;
43941 esac
43942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43943 (eval "$ac_compile") 2>conftest.er1
43944 ac_status=$?
43945 grep -v '^ *+' conftest.er1 >conftest.err
43946 rm -f conftest.er1
43947 cat conftest.err >&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } && {
43950 test -z "$ac_cxx_werror_flag" ||
43951 test ! -s conftest.err
43952 } && test -s conftest.$ac_objext; then
43953
43954 wx_cv_var_timezone=timezone
43955
43956 else
43957 echo "$as_me: failed program was:" >&5
43958 sed 's/^/| /' conftest.$ac_ext >&5
43959
43960
43961 cat >conftest.$ac_ext <<_ACEOF
43962 /* confdefs.h. */
43963 _ACEOF
43964 cat confdefs.h >>conftest.$ac_ext
43965 cat >>conftest.$ac_ext <<_ACEOF
43966 /* end confdefs.h. */
43967
43968 #include <time.h>
43969
43970 int
43971 main ()
43972 {
43973
43974 int tz;
43975 tz = _timezone;
43976
43977 ;
43978 return 0;
43979 }
43980 _ACEOF
43981 rm -f conftest.$ac_objext
43982 if { (ac_try="$ac_compile"
43983 case "(($ac_try" in
43984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43985 *) ac_try_echo=$ac_try;;
43986 esac
43987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43988 (eval "$ac_compile") 2>conftest.er1
43989 ac_status=$?
43990 grep -v '^ *+' conftest.er1 >conftest.err
43991 rm -f conftest.er1
43992 cat conftest.err >&5
43993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43994 (exit $ac_status); } && {
43995 test -z "$ac_cxx_werror_flag" ||
43996 test ! -s conftest.err
43997 } && test -s conftest.$ac_objext; then
43998
43999 wx_cv_var_timezone=_timezone
44000
44001 else
44002 echo "$as_me: failed program was:" >&5
44003 sed 's/^/| /' conftest.$ac_ext >&5
44004
44005
44006 cat >conftest.$ac_ext <<_ACEOF
44007 /* confdefs.h. */
44008 _ACEOF
44009 cat confdefs.h >>conftest.$ac_ext
44010 cat >>conftest.$ac_ext <<_ACEOF
44011 /* end confdefs.h. */
44012
44013 #include <time.h>
44014
44015 int
44016 main ()
44017 {
44018
44019 int tz;
44020 tz = __timezone;
44021
44022 ;
44023 return 0;
44024 }
44025 _ACEOF
44026 rm -f conftest.$ac_objext
44027 if { (ac_try="$ac_compile"
44028 case "(($ac_try" in
44029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44030 *) ac_try_echo=$ac_try;;
44031 esac
44032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44033 (eval "$ac_compile") 2>conftest.er1
44034 ac_status=$?
44035 grep -v '^ *+' conftest.er1 >conftest.err
44036 rm -f conftest.er1
44037 cat conftest.err >&5
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); } && {
44040 test -z "$ac_cxx_werror_flag" ||
44041 test ! -s conftest.err
44042 } && test -s conftest.$ac_objext; then
44043
44044 wx_cv_var_timezone=__timezone
44045
44046 else
44047 echo "$as_me: failed program was:" >&5
44048 sed 's/^/| /' conftest.$ac_ext >&5
44049
44050
44051 if test "$USE_DOS" = 0 ; then
44052 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44053 echo "$as_me: WARNING: no timezone variable" >&2;}
44054 fi
44055
44056
44057 fi
44058
44059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44060
44061
44062 fi
44063
44064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44065
44066
44067 fi
44068
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 ac_ext=c
44071 ac_cpp='$CPP $CPPFLAGS'
44072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44075
44076
44077
44078 fi
44079 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44080 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44081
44082 if test "x$wx_cv_var_timezone" != x ; then
44083 cat >>confdefs.h <<_ACEOF
44084 #define WX_TIMEZONE $wx_cv_var_timezone
44085 _ACEOF
44086
44087 fi
44088
44089
44090 for ac_func in localtime
44091 do
44092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44096 echo $ECHO_N "(cached) $ECHO_C" >&6
44097 else
44098 cat >conftest.$ac_ext <<_ACEOF
44099 /* confdefs.h. */
44100 _ACEOF
44101 cat confdefs.h >>conftest.$ac_ext
44102 cat >>conftest.$ac_ext <<_ACEOF
44103 /* end confdefs.h. */
44104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44106 #define $ac_func innocuous_$ac_func
44107
44108 /* System header to define __stub macros and hopefully few prototypes,
44109 which can conflict with char $ac_func (); below.
44110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44111 <limits.h> exists even on freestanding compilers. */
44112
44113 #ifdef __STDC__
44114 # include <limits.h>
44115 #else
44116 # include <assert.h>
44117 #endif
44118
44119 #undef $ac_func
44120
44121 /* Override any GCC internal prototype to avoid an error.
44122 Use char because int might match the return type of a GCC
44123 builtin and then its argument prototype would still apply. */
44124 #ifdef __cplusplus
44125 extern "C"
44126 #endif
44127 char $ac_func ();
44128 /* The GNU C library defines this for functions which it implements
44129 to always fail with ENOSYS. Some functions are actually named
44130 something starting with __ and the normal name is an alias. */
44131 #if defined __stub_$ac_func || defined __stub___$ac_func
44132 choke me
44133 #endif
44134
44135 int
44136 main ()
44137 {
44138 return $ac_func ();
44139 ;
44140 return 0;
44141 }
44142 _ACEOF
44143 rm -f conftest.$ac_objext conftest$ac_exeext
44144 if { (ac_try="$ac_link"
44145 case "(($ac_try" in
44146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44147 *) ac_try_echo=$ac_try;;
44148 esac
44149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44150 (eval "$ac_link") 2>conftest.er1
44151 ac_status=$?
44152 grep -v '^ *+' conftest.er1 >conftest.err
44153 rm -f conftest.er1
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } && {
44157 test -z "$ac_c_werror_flag" ||
44158 test ! -s conftest.err
44159 } && test -s conftest$ac_exeext &&
44160 $as_test_x conftest$ac_exeext; then
44161 eval "$as_ac_var=yes"
44162 else
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44165
44166 eval "$as_ac_var=no"
44167 fi
44168
44169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44170 conftest$ac_exeext conftest.$ac_ext
44171 fi
44172 ac_res=`eval echo '${'$as_ac_var'}'`
44173 { echo "$as_me:$LINENO: result: $ac_res" >&5
44174 echo "${ECHO_T}$ac_res" >&6; }
44175 if test `eval echo '${'$as_ac_var'}'` = yes; then
44176 cat >>confdefs.h <<_ACEOF
44177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44178 _ACEOF
44179
44180 fi
44181 done
44182
44183
44184 if test "$ac_cv_func_localtime" = "yes"; then
44185 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44186 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44187 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44188 echo $ECHO_N "(cached) $ECHO_C" >&6
44189 else
44190
44191 cat >conftest.$ac_ext <<_ACEOF
44192 /* confdefs.h. */
44193 _ACEOF
44194 cat confdefs.h >>conftest.$ac_ext
44195 cat >>conftest.$ac_ext <<_ACEOF
44196 /* end confdefs.h. */
44197
44198 #include <time.h>
44199
44200 int
44201 main ()
44202 {
44203
44204 struct tm tm;
44205 tm.tm_gmtoff++;
44206
44207 ;
44208 return 0;
44209 }
44210 _ACEOF
44211 rm -f conftest.$ac_objext
44212 if { (ac_try="$ac_compile"
44213 case "(($ac_try" in
44214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44215 *) ac_try_echo=$ac_try;;
44216 esac
44217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44218 (eval "$ac_compile") 2>conftest.er1
44219 ac_status=$?
44220 grep -v '^ *+' conftest.er1 >conftest.err
44221 rm -f conftest.er1
44222 cat conftest.err >&5
44223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44224 (exit $ac_status); } && {
44225 test -z "$ac_c_werror_flag" ||
44226 test ! -s conftest.err
44227 } && test -s conftest.$ac_objext; then
44228
44229 wx_cv_struct_tm_has_gmtoff=yes
44230
44231 else
44232 echo "$as_me: failed program was:" >&5
44233 sed 's/^/| /' conftest.$ac_ext >&5
44234
44235 wx_cv_struct_tm_has_gmtoff=no
44236
44237 fi
44238
44239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44240
44241 fi
44242 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44243 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44244 fi
44245
44246 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define WX_GMTOFF_IN_TM 1
44249 _ACEOF
44250
44251 fi
44252
44253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44254 fi
44255
44256
44257 if test "$wxUSE_SOCKETS" = "yes"; then
44258 if test "$wxUSE_MGL" = 1; then
44259 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44260 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44261 wxUSE_SOCKETS="no"
44262 fi
44263 fi
44264
44265 if test "$wxUSE_SOCKETS" = "yes"; then
44266 if test "$TOOLKIT" != "MSW"; then
44267 { echo "$as_me:$LINENO: checking for socket" >&5
44268 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44269 if test "${ac_cv_func_socket+set}" = set; then
44270 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 else
44272 cat >conftest.$ac_ext <<_ACEOF
44273 /* confdefs.h. */
44274 _ACEOF
44275 cat confdefs.h >>conftest.$ac_ext
44276 cat >>conftest.$ac_ext <<_ACEOF
44277 /* end confdefs.h. */
44278 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44280 #define socket innocuous_socket
44281
44282 /* System header to define __stub macros and hopefully few prototypes,
44283 which can conflict with char socket (); below.
44284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44285 <limits.h> exists even on freestanding compilers. */
44286
44287 #ifdef __STDC__
44288 # include <limits.h>
44289 #else
44290 # include <assert.h>
44291 #endif
44292
44293 #undef socket
44294
44295 /* Override any GCC internal prototype to avoid an error.
44296 Use char because int might match the return type of a GCC
44297 builtin and then its argument prototype would still apply. */
44298 #ifdef __cplusplus
44299 extern "C"
44300 #endif
44301 char socket ();
44302 /* The GNU C library defines this for functions which it implements
44303 to always fail with ENOSYS. Some functions are actually named
44304 something starting with __ and the normal name is an alias. */
44305 #if defined __stub_socket || defined __stub___socket
44306 choke me
44307 #endif
44308
44309 int
44310 main ()
44311 {
44312 return socket ();
44313 ;
44314 return 0;
44315 }
44316 _ACEOF
44317 rm -f conftest.$ac_objext conftest$ac_exeext
44318 if { (ac_try="$ac_link"
44319 case "(($ac_try" in
44320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44321 *) ac_try_echo=$ac_try;;
44322 esac
44323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44324 (eval "$ac_link") 2>conftest.er1
44325 ac_status=$?
44326 grep -v '^ *+' conftest.er1 >conftest.err
44327 rm -f conftest.er1
44328 cat conftest.err >&5
44329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44330 (exit $ac_status); } && {
44331 test -z "$ac_c_werror_flag" ||
44332 test ! -s conftest.err
44333 } && test -s conftest$ac_exeext &&
44334 $as_test_x conftest$ac_exeext; then
44335 ac_cv_func_socket=yes
44336 else
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.$ac_ext >&5
44339
44340 ac_cv_func_socket=no
44341 fi
44342
44343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44344 conftest$ac_exeext conftest.$ac_ext
44345 fi
44346 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44347 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44348 if test $ac_cv_func_socket = yes; then
44349 :
44350 else
44351
44352 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44353 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44354 if test "${ac_cv_lib_socket_socket+set}" = set; then
44355 echo $ECHO_N "(cached) $ECHO_C" >&6
44356 else
44357 ac_check_lib_save_LIBS=$LIBS
44358 LIBS="-lsocket $LIBS"
44359 cat >conftest.$ac_ext <<_ACEOF
44360 /* confdefs.h. */
44361 _ACEOF
44362 cat confdefs.h >>conftest.$ac_ext
44363 cat >>conftest.$ac_ext <<_ACEOF
44364 /* end confdefs.h. */
44365
44366 /* Override any GCC internal prototype to avoid an error.
44367 Use char because int might match the return type of a GCC
44368 builtin and then its argument prototype would still apply. */
44369 #ifdef __cplusplus
44370 extern "C"
44371 #endif
44372 char socket ();
44373 int
44374 main ()
44375 {
44376 return socket ();
44377 ;
44378 return 0;
44379 }
44380 _ACEOF
44381 rm -f conftest.$ac_objext conftest$ac_exeext
44382 if { (ac_try="$ac_link"
44383 case "(($ac_try" in
44384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44385 *) ac_try_echo=$ac_try;;
44386 esac
44387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44388 (eval "$ac_link") 2>conftest.er1
44389 ac_status=$?
44390 grep -v '^ *+' conftest.er1 >conftest.err
44391 rm -f conftest.er1
44392 cat conftest.err >&5
44393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44394 (exit $ac_status); } && {
44395 test -z "$ac_c_werror_flag" ||
44396 test ! -s conftest.err
44397 } && test -s conftest$ac_exeext &&
44398 $as_test_x conftest$ac_exeext; then
44399 ac_cv_lib_socket_socket=yes
44400 else
44401 echo "$as_me: failed program was:" >&5
44402 sed 's/^/| /' conftest.$ac_ext >&5
44403
44404 ac_cv_lib_socket_socket=no
44405 fi
44406
44407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44408 conftest$ac_exeext conftest.$ac_ext
44409 LIBS=$ac_check_lib_save_LIBS
44410 fi
44411 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44412 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44413 if test $ac_cv_lib_socket_socket = yes; then
44414 if test "$INET_LINK" != " -lsocket"; then
44415 INET_LINK="$INET_LINK -lsocket"
44416 fi
44417 else
44418
44419 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44420 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44421 wxUSE_SOCKETS=no
44422
44423
44424 fi
44425
44426
44427
44428 fi
44429
44430 fi
44431 fi
44432
44433 if test "$wxUSE_SOCKETS" = "yes" ; then
44434 if test "$TOOLKIT" != "MSW"; then
44435 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44436 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44437 if test "${wx_cv_type_getsockname3+set}" = set; then
44438 echo $ECHO_N "(cached) $ECHO_C" >&6
44439 else
44440
44441 ac_ext=cpp
44442 ac_cpp='$CXXCPP $CPPFLAGS'
44443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44446
44447 cat >conftest.$ac_ext <<_ACEOF
44448 /* confdefs.h. */
44449 _ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44453
44454 #include <sys/types.h>
44455 #include <sys/socket.h>
44456
44457 int
44458 main ()
44459 {
44460
44461 socklen_t len;
44462 getsockname(0, 0, &len);
44463
44464 ;
44465 return 0;
44466 }
44467 _ACEOF
44468 rm -f conftest.$ac_objext
44469 if { (ac_try="$ac_compile"
44470 case "(($ac_try" in
44471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44472 *) ac_try_echo=$ac_try;;
44473 esac
44474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44475 (eval "$ac_compile") 2>conftest.er1
44476 ac_status=$?
44477 grep -v '^ *+' conftest.er1 >conftest.err
44478 rm -f conftest.er1
44479 cat conftest.err >&5
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); } && {
44482 test -z "$ac_cxx_werror_flag" ||
44483 test ! -s conftest.err
44484 } && test -s conftest.$ac_objext; then
44485 wx_cv_type_getsockname3=socklen_t
44486 else
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.$ac_ext >&5
44489
44490
44491 CFLAGS_OLD="$CFLAGS"
44492 if test "$GCC" = yes ; then
44493 CFLAGS="-Werror $CFLAGS"
44494 fi
44495
44496 cat >conftest.$ac_ext <<_ACEOF
44497 /* confdefs.h. */
44498 _ACEOF
44499 cat confdefs.h >>conftest.$ac_ext
44500 cat >>conftest.$ac_ext <<_ACEOF
44501 /* end confdefs.h. */
44502
44503 #include <sys/types.h>
44504 #include <sys/socket.h>
44505
44506 int
44507 main ()
44508 {
44509
44510 size_t len;
44511 getsockname(0, 0, &len);
44512
44513 ;
44514 return 0;
44515 }
44516 _ACEOF
44517 rm -f conftest.$ac_objext
44518 if { (ac_try="$ac_compile"
44519 case "(($ac_try" in
44520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44521 *) ac_try_echo=$ac_try;;
44522 esac
44523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44524 (eval "$ac_compile") 2>conftest.er1
44525 ac_status=$?
44526 grep -v '^ *+' conftest.er1 >conftest.err
44527 rm -f conftest.er1
44528 cat conftest.err >&5
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); } && {
44531 test -z "$ac_cxx_werror_flag" ||
44532 test ! -s conftest.err
44533 } && test -s conftest.$ac_objext; then
44534 wx_cv_type_getsockname3=size_t
44535 else
44536 echo "$as_me: failed program was:" >&5
44537 sed 's/^/| /' conftest.$ac_ext >&5
44538
44539 cat >conftest.$ac_ext <<_ACEOF
44540 /* confdefs.h. */
44541 _ACEOF
44542 cat confdefs.h >>conftest.$ac_ext
44543 cat >>conftest.$ac_ext <<_ACEOF
44544 /* end confdefs.h. */
44545
44546 #include <sys/types.h>
44547 #include <sys/socket.h>
44548
44549 int
44550 main ()
44551 {
44552
44553 int len;
44554 getsockname(0, 0, &len);
44555
44556 ;
44557 return 0;
44558 }
44559 _ACEOF
44560 rm -f conftest.$ac_objext
44561 if { (ac_try="$ac_compile"
44562 case "(($ac_try" in
44563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44564 *) ac_try_echo=$ac_try;;
44565 esac
44566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44567 (eval "$ac_compile") 2>conftest.er1
44568 ac_status=$?
44569 grep -v '^ *+' conftest.er1 >conftest.err
44570 rm -f conftest.er1
44571 cat conftest.err >&5
44572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44573 (exit $ac_status); } && {
44574 test -z "$ac_cxx_werror_flag" ||
44575 test ! -s conftest.err
44576 } && test -s conftest.$ac_objext; then
44577 wx_cv_type_getsockname3=int
44578 else
44579 echo "$as_me: failed program was:" >&5
44580 sed 's/^/| /' conftest.$ac_ext >&5
44581
44582 wx_cv_type_getsockname3=unknown
44583
44584 fi
44585
44586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44587
44588 fi
44589
44590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44591
44592 CFLAGS="$CFLAGS_OLD"
44593
44594
44595 fi
44596
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 ac_ext=c
44599 ac_cpp='$CPP $CPPFLAGS'
44600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44603
44604
44605 fi
44606 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44607 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44608
44609 if test "$wx_cv_type_getsockname3" = "unknown"; then
44610 wxUSE_SOCKETS=no
44611 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44612 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44613 else
44614 cat >>confdefs.h <<_ACEOF
44615 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44616 _ACEOF
44617
44618 fi
44619 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44620 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44621 if test "${wx_cv_type_getsockopt5+set}" = set; then
44622 echo $ECHO_N "(cached) $ECHO_C" >&6
44623 else
44624
44625 ac_ext=cpp
44626 ac_cpp='$CXXCPP $CPPFLAGS'
44627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44630
44631 cat >conftest.$ac_ext <<_ACEOF
44632 /* confdefs.h. */
44633 _ACEOF
44634 cat confdefs.h >>conftest.$ac_ext
44635 cat >>conftest.$ac_ext <<_ACEOF
44636 /* end confdefs.h. */
44637
44638 #include <sys/types.h>
44639 #include <sys/socket.h>
44640
44641 int
44642 main ()
44643 {
44644
44645 socklen_t len;
44646 getsockopt(0, 0, 0, 0, &len);
44647
44648 ;
44649 return 0;
44650 }
44651 _ACEOF
44652 rm -f conftest.$ac_objext
44653 if { (ac_try="$ac_compile"
44654 case "(($ac_try" in
44655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44656 *) ac_try_echo=$ac_try;;
44657 esac
44658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44659 (eval "$ac_compile") 2>conftest.er1
44660 ac_status=$?
44661 grep -v '^ *+' conftest.er1 >conftest.err
44662 rm -f conftest.er1
44663 cat conftest.err >&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); } && {
44666 test -z "$ac_cxx_werror_flag" ||
44667 test ! -s conftest.err
44668 } && test -s conftest.$ac_objext; then
44669 wx_cv_type_getsockopt5=socklen_t
44670 else
44671 echo "$as_me: failed program was:" >&5
44672 sed 's/^/| /' conftest.$ac_ext >&5
44673
44674
44675 cat >conftest.$ac_ext <<_ACEOF
44676 /* confdefs.h. */
44677 _ACEOF
44678 cat confdefs.h >>conftest.$ac_ext
44679 cat >>conftest.$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44681
44682 #include <sys/types.h>
44683 #include <sys/socket.h>
44684
44685 int
44686 main ()
44687 {
44688
44689 size_t len;
44690 getsockopt(0, 0, 0, 0, &len);
44691
44692 ;
44693 return 0;
44694 }
44695 _ACEOF
44696 rm -f conftest.$ac_objext
44697 if { (ac_try="$ac_compile"
44698 case "(($ac_try" in
44699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44700 *) ac_try_echo=$ac_try;;
44701 esac
44702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44703 (eval "$ac_compile") 2>conftest.er1
44704 ac_status=$?
44705 grep -v '^ *+' conftest.er1 >conftest.err
44706 rm -f conftest.er1
44707 cat conftest.err >&5
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); } && {
44710 test -z "$ac_cxx_werror_flag" ||
44711 test ! -s conftest.err
44712 } && test -s conftest.$ac_objext; then
44713 wx_cv_type_getsockopt5=size_t
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718 cat >conftest.$ac_ext <<_ACEOF
44719 /* confdefs.h. */
44720 _ACEOF
44721 cat confdefs.h >>conftest.$ac_ext
44722 cat >>conftest.$ac_ext <<_ACEOF
44723 /* end confdefs.h. */
44724
44725 #include <sys/types.h>
44726 #include <sys/socket.h>
44727
44728 int
44729 main ()
44730 {
44731
44732 int len;
44733 getsockopt(0, 0, 0, 0, &len);
44734
44735 ;
44736 return 0;
44737 }
44738 _ACEOF
44739 rm -f conftest.$ac_objext
44740 if { (ac_try="$ac_compile"
44741 case "(($ac_try" in
44742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44743 *) ac_try_echo=$ac_try;;
44744 esac
44745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44746 (eval "$ac_compile") 2>conftest.er1
44747 ac_status=$?
44748 grep -v '^ *+' conftest.er1 >conftest.err
44749 rm -f conftest.er1
44750 cat conftest.err >&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); } && {
44753 test -z "$ac_cxx_werror_flag" ||
44754 test ! -s conftest.err
44755 } && test -s conftest.$ac_objext; then
44756 wx_cv_type_getsockopt5=int
44757 else
44758 echo "$as_me: failed program was:" >&5
44759 sed 's/^/| /' conftest.$ac_ext >&5
44760
44761 wx_cv_type_getsockopt5=unknown
44762
44763 fi
44764
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766
44767 fi
44768
44769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44770
44771
44772 fi
44773
44774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44775 ac_ext=c
44776 ac_cpp='$CPP $CPPFLAGS'
44777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780
44781
44782 fi
44783 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44784 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44785
44786 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44787 wxUSE_SOCKETS=no
44788 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44789 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44790 else
44791 cat >>confdefs.h <<_ACEOF
44792 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44793 _ACEOF
44794
44795 fi
44796 fi
44797 fi
44798
44799 if test "$wxUSE_SOCKETS" = "yes" ; then
44800 if test "$wxUSE_IPV6" = "yes"; then
44801 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44802 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44803 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44804 echo $ECHO_N "(cached) $ECHO_C" >&6
44805 else
44806
44807 cat >conftest.$ac_ext <<_ACEOF
44808 /* confdefs.h. */
44809 _ACEOF
44810 cat confdefs.h >>conftest.$ac_ext
44811 cat >>conftest.$ac_ext <<_ACEOF
44812 /* end confdefs.h. */
44813
44814 #include <sys/types.h>
44815 #include <sys/socket.h>
44816 #include <netinet/in.h>
44817
44818 int
44819 main ()
44820 {
44821
44822 struct sockaddr_in6 sa6;
44823
44824 ;
44825 return 0;
44826 }
44827 _ACEOF
44828 rm -f conftest.$ac_objext
44829 if { (ac_try="$ac_compile"
44830 case "(($ac_try" in
44831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44832 *) ac_try_echo=$ac_try;;
44833 esac
44834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44835 (eval "$ac_compile") 2>conftest.er1
44836 ac_status=$?
44837 grep -v '^ *+' conftest.er1 >conftest.err
44838 rm -f conftest.er1
44839 cat conftest.err >&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } && {
44842 test -z "$ac_c_werror_flag" ||
44843 test ! -s conftest.err
44844 } && test -s conftest.$ac_objext; then
44845 wx_cv_type_sockaddr_in6=yes
44846 else
44847 echo "$as_me: failed program was:" >&5
44848 sed 's/^/| /' conftest.$ac_ext >&5
44849
44850 wx_cv_type_sockaddr_in6=no
44851
44852 fi
44853
44854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44855
44856
44857 fi
44858 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44859 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44860
44861 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_IPV6 1
44864 _ACEOF
44865
44866 else
44867 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44868 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44869 fi
44870 fi
44871
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_SOCKETS 1
44874 _ACEOF
44875
44876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44877 fi
44878
44879 if test "$wxUSE_PROTOCOL" = "yes"; then
44880 if test "$wxUSE_SOCKETS" != "yes"; then
44881 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44882 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44883 wxUSE_PROTOCOL=no
44884 fi
44885 fi
44886
44887 if test "$wxUSE_PROTOCOL" = "yes"; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_PROTOCOL 1
44890 _ACEOF
44891
44892
44893 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_PROTOCOL_HTTP 1
44896 _ACEOF
44897
44898 fi
44899 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_PROTOCOL_FTP 1
44902 _ACEOF
44903
44904 fi
44905 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_PROTOCOL_FILE 1
44908 _ACEOF
44909
44910 fi
44911 else
44912 if test "$wxUSE_FS_INET" = "yes"; then
44913 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44914 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44915 wxUSE_FS_INET="no"
44916 fi
44917 fi
44918
44919 if test "$wxUSE_URL" = "yes"; then
44920 if test "$wxUSE_PROTOCOL" != "yes"; then
44921 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44922 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44923 wxUSE_URL=no
44924 fi
44925 if test "$wxUSE_URL" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_URL 1
44928 _ACEOF
44929
44930 fi
44931 fi
44932
44933 if test "$wxUSE_VARIANT" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_VARIANT 1
44936 _ACEOF
44937
44938 fi
44939
44940 if test "$wxUSE_FS_INET" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_FS_INET 1
44943 _ACEOF
44944
44945 fi
44946
44947
44948 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44949 wxUSE_JOYSTICK=no
44950
44951 if test "$TOOLKIT" = "MSW"; then
44952 wxUSE_JOYSTICK=yes
44953
44954 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44955 if test "$USE_DARWIN" = 1; then
44956 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44957 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44958 ac_ext=cpp
44959 ac_cpp='$CXXCPP $CPPFLAGS'
44960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44963
44964 cat >conftest.$ac_ext <<_ACEOF
44965 /* confdefs.h. */
44966 _ACEOF
44967 cat confdefs.h >>conftest.$ac_ext
44968 cat >>conftest.$ac_ext <<_ACEOF
44969 /* end confdefs.h. */
44970 #include <IOKit/hid/IOHIDLib.h>
44971 int
44972 main ()
44973 {
44974 IOHIDQueueInterface *qi = NULL;
44975 IOHIDCallbackFunction cb = NULL;
44976 qi->setEventCallout(NULL, cb, NULL, NULL);
44977 ;
44978 return 0;
44979 }
44980 _ACEOF
44981 rm -f conftest.$ac_objext
44982 if { (ac_try="$ac_compile"
44983 case "(($ac_try" in
44984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44985 *) ac_try_echo=$ac_try;;
44986 esac
44987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44988 (eval "$ac_compile") 2>conftest.er1
44989 ac_status=$?
44990 grep -v '^ *+' conftest.er1 >conftest.err
44991 rm -f conftest.er1
44992 cat conftest.err >&5
44993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994 (exit $ac_status); } && {
44995 test -z "$ac_cxx_werror_flag" ||
44996 test ! -s conftest.err
44997 } && test -s conftest.$ac_objext; then
44998 wxUSE_JOYSTICK=yes
44999
45000 else
45001 echo "$as_me: failed program was:" >&5
45002 sed 's/^/| /' conftest.$ac_ext >&5
45003
45004
45005 fi
45006
45007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45008 ac_ext=c
45009 ac_cpp='$CPP $CPPFLAGS'
45010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013
45014 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45015 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45016 fi
45017
45018 else
45019 if test "$wxUSE_MGL" != 1; then
45020
45021 for ac_header in linux/joystick.h
45022 do
45023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45027 echo $ECHO_N "(cached) $ECHO_C" >&6
45028 else
45029 cat >conftest.$ac_ext <<_ACEOF
45030 /* confdefs.h. */
45031 _ACEOF
45032 cat confdefs.h >>conftest.$ac_ext
45033 cat >>conftest.$ac_ext <<_ACEOF
45034 /* end confdefs.h. */
45035 $ac_includes_default
45036
45037 #include <$ac_header>
45038 _ACEOF
45039 rm -f conftest.$ac_objext
45040 if { (ac_try="$ac_compile"
45041 case "(($ac_try" in
45042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45043 *) ac_try_echo=$ac_try;;
45044 esac
45045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45046 (eval "$ac_compile") 2>conftest.er1
45047 ac_status=$?
45048 grep -v '^ *+' conftest.er1 >conftest.err
45049 rm -f conftest.er1
45050 cat conftest.err >&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); } && {
45053 test -z "$ac_c_werror_flag" ||
45054 test ! -s conftest.err
45055 } && test -s conftest.$ac_objext; then
45056 eval "$as_ac_Header=yes"
45057 else
45058 echo "$as_me: failed program was:" >&5
45059 sed 's/^/| /' conftest.$ac_ext >&5
45060
45061 eval "$as_ac_Header=no"
45062 fi
45063
45064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45065 fi
45066 ac_res=`eval echo '${'$as_ac_Header'}'`
45067 { echo "$as_me:$LINENO: result: $ac_res" >&5
45068 echo "${ECHO_T}$ac_res" >&6; }
45069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45070 cat >>confdefs.h <<_ACEOF
45071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45072 _ACEOF
45073 wxUSE_JOYSTICK=yes
45074 fi
45075
45076 done
45077
45078 fi
45079 fi
45080
45081 if test "$wxUSE_JOYSTICK" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_JOYSTICK 1
45084 _ACEOF
45085
45086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45087 else
45088 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45089 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45090 fi
45091 fi
45092
45093
45094
45095 if test "$wxUSE_FONTENUM" = "yes" ; then
45096 cat >>confdefs.h <<\_ACEOF
45097 #define wxUSE_FONTENUM 1
45098 _ACEOF
45099
45100 fi
45101
45102 if test "$wxUSE_FONTMAP" = "yes" ; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_FONTMAP 1
45105 _ACEOF
45106
45107 fi
45108
45109 if test "$wxUSE_UNICODE" = "yes" ; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_UNICODE 1
45112 _ACEOF
45113
45114
45115 if test "$USE_WIN32" != 1; then
45116 wxUSE_UNICODE_MSLU=no
45117 fi
45118
45119 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45120 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45121 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45122 if test "${ac_cv_lib_unicows_main+set}" = set; then
45123 echo $ECHO_N "(cached) $ECHO_C" >&6
45124 else
45125 ac_check_lib_save_LIBS=$LIBS
45126 LIBS="-lunicows $LIBS"
45127 cat >conftest.$ac_ext <<_ACEOF
45128 /* confdefs.h. */
45129 _ACEOF
45130 cat confdefs.h >>conftest.$ac_ext
45131 cat >>conftest.$ac_ext <<_ACEOF
45132 /* end confdefs.h. */
45133
45134
45135 int
45136 main ()
45137 {
45138 return main ();
45139 ;
45140 return 0;
45141 }
45142 _ACEOF
45143 rm -f conftest.$ac_objext conftest$ac_exeext
45144 if { (ac_try="$ac_link"
45145 case "(($ac_try" in
45146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45147 *) ac_try_echo=$ac_try;;
45148 esac
45149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45150 (eval "$ac_link") 2>conftest.er1
45151 ac_status=$?
45152 grep -v '^ *+' conftest.er1 >conftest.err
45153 rm -f conftest.er1
45154 cat conftest.err >&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); } && {
45157 test -z "$ac_c_werror_flag" ||
45158 test ! -s conftest.err
45159 } && test -s conftest$ac_exeext &&
45160 $as_test_x conftest$ac_exeext; then
45161 ac_cv_lib_unicows_main=yes
45162 else
45163 echo "$as_me: failed program was:" >&5
45164 sed 's/^/| /' conftest.$ac_ext >&5
45165
45166 ac_cv_lib_unicows_main=no
45167 fi
45168
45169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45170 conftest$ac_exeext conftest.$ac_ext
45171 LIBS=$ac_check_lib_save_LIBS
45172 fi
45173 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45174 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45175 if test $ac_cv_lib_unicows_main = yes; then
45176
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_UNICODE_MSLU 1
45179 _ACEOF
45180
45181
45182 else
45183
45184 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45185 Applications will only run on Windows NT/2000/XP!" >&5
45186 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45187 Applications will only run on Windows NT/2000/XP!" >&2;}
45188 wxUSE_UNICODE_MSLU=no
45189
45190 fi
45191
45192 fi
45193 fi
45194
45195 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45196 cat >>confdefs.h <<\_ACEOF
45197 #define wxUSE_UNICODE_UTF8 1
45198 _ACEOF
45199
45200
45201 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_UTF8_LOCALE_ONLY 1
45204 _ACEOF
45205
45206 fi
45207 fi
45208
45209
45210 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_CONSTRAINTS 1
45213 _ACEOF
45214
45215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45216 fi
45217
45218 if test "$wxUSE_MDI" = "yes"; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_MDI 1
45221 _ACEOF
45222
45223
45224 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_MDI_ARCHITECTURE 1
45227 _ACEOF
45228
45229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45230 fi
45231 fi
45232
45233 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45236 _ACEOF
45237
45238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45239 fi
45240
45241 if test "$wxUSE_HELP" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_HELP 1
45244 _ACEOF
45245
45246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45247
45248 if test "$wxUSE_MSW" = 1; then
45249 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_MS_HTML_HELP 1
45252 _ACEOF
45253
45254 fi
45255 fi
45256
45257 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45258 if test "$wxUSE_HTML" = "yes"; then
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_WXHTML_HELP 1
45261 _ACEOF
45262
45263 else
45264 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45265 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45266 wxUSE_WXHTML_HELP=no
45267 fi
45268 fi
45269 fi
45270
45271 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45272 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45273 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45274 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45275 else
45276 cat >>confdefs.h <<\_ACEOF
45277 #define wxUSE_PRINTING_ARCHITECTURE 1
45278 _ACEOF
45279
45280 fi
45281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45282 fi
45283
45284 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_POSTSCRIPT 1
45287 _ACEOF
45288
45289 fi
45290
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45293 _ACEOF
45294
45295
45296 if test "$wxUSE_SVG" = "yes"; then
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_SVG 1
45299 _ACEOF
45300
45301 fi
45302
45303
45304 if test "$wxUSE_METAFILE" = "yes"; then
45305 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45306 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45307 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45308 wxUSE_METAFILE=no
45309 fi
45310 fi
45311
45312
45313 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45314 -o "$wxUSE_CLIPBOARD" = "yes" \
45315 -o "$wxUSE_OLE" = "yes" \
45316 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45317 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45318 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45319 if test "${ac_cv_header_ole2_h+set}" = set; then
45320 echo $ECHO_N "(cached) $ECHO_C" >&6
45321 else
45322 cat >conftest.$ac_ext <<_ACEOF
45323 /* confdefs.h. */
45324 _ACEOF
45325 cat confdefs.h >>conftest.$ac_ext
45326 cat >>conftest.$ac_ext <<_ACEOF
45327 /* end confdefs.h. */
45328
45329
45330 #include <ole2.h>
45331 _ACEOF
45332 rm -f conftest.$ac_objext
45333 if { (ac_try="$ac_compile"
45334 case "(($ac_try" in
45335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45336 *) ac_try_echo=$ac_try;;
45337 esac
45338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45339 (eval "$ac_compile") 2>conftest.er1
45340 ac_status=$?
45341 grep -v '^ *+' conftest.er1 >conftest.err
45342 rm -f conftest.er1
45343 cat conftest.err >&5
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); } && {
45346 test -z "$ac_c_werror_flag" ||
45347 test ! -s conftest.err
45348 } && test -s conftest.$ac_objext; then
45349 ac_cv_header_ole2_h=yes
45350 else
45351 echo "$as_me: failed program was:" >&5
45352 sed 's/^/| /' conftest.$ac_ext >&5
45353
45354 ac_cv_header_ole2_h=no
45355 fi
45356
45357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45358 fi
45359 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45360 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45361
45362
45363
45364 if test "$ac_cv_header_ole2_h" = "yes" ; then
45365 if test "$GCC" = yes ; then
45366 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45367 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45368 cat >conftest.$ac_ext <<_ACEOF
45369 /* confdefs.h. */
45370 _ACEOF
45371 cat confdefs.h >>conftest.$ac_ext
45372 cat >>conftest.$ac_ext <<_ACEOF
45373 /* end confdefs.h. */
45374 #include <windows.h>
45375 #include <ole2.h>
45376 int
45377 main ()
45378 {
45379
45380 ;
45381 return 0;
45382 }
45383 _ACEOF
45384 rm -f conftest.$ac_objext
45385 if { (ac_try="$ac_compile"
45386 case "(($ac_try" in
45387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45388 *) ac_try_echo=$ac_try;;
45389 esac
45390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45391 (eval "$ac_compile") 2>conftest.er1
45392 ac_status=$?
45393 grep -v '^ *+' conftest.er1 >conftest.err
45394 rm -f conftest.er1
45395 cat conftest.err >&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } && {
45398 test -z "$ac_c_werror_flag" ||
45399 test ! -s conftest.err
45400 } && test -s conftest.$ac_objext; then
45401 { echo "$as_me:$LINENO: result: no" >&5
45402 echo "${ECHO_T}no" >&6; }
45403 else
45404 echo "$as_me: failed program was:" >&5
45405 sed 's/^/| /' conftest.$ac_ext >&5
45406
45407 { echo "$as_me:$LINENO: result: yes" >&5
45408 echo "${ECHO_T}yes" >&6; }
45409 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45410 fi
45411
45412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45413 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45414 if test "$wxUSE_OLE" = "yes" ; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_OLE 1
45417 _ACEOF
45418
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_OLE_AUTOMATION 1
45421 _ACEOF
45422
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_ACTIVEX 1
45425 _ACEOF
45426
45427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45428 fi
45429 fi
45430
45431 if test "$wxUSE_DATAOBJ" = "yes" ; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_DATAOBJ 1
45434 _ACEOF
45435
45436 fi
45437 else
45438 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45439 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45440
45441 wxUSE_CLIPBOARD=no
45442 wxUSE_DRAG_AND_DROP=no
45443 wxUSE_DATAOBJ=no
45444 wxUSE_OLE=no
45445 fi
45446
45447 if test "$wxUSE_METAFILE" = "yes"; then
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_METAFILE 1
45450 _ACEOF
45451
45452
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_ENH_METAFILE 1
45455 _ACEOF
45456
45457 fi
45458 fi
45459
45460 if test "$wxUSE_IPC" = "yes"; then
45461 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45462 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45463 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45464 wxUSE_IPC=no
45465 fi
45466
45467 if test "$wxUSE_IPC" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_IPC 1
45470 _ACEOF
45471
45472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45473 fi
45474 fi
45475
45476 if test "$wxUSE_DATAOBJ" = "yes"; then
45477 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45478 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45479 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45480 wxUSE_DATAOBJ=no
45481 else
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_DATAOBJ 1
45484 _ACEOF
45485
45486 fi
45487 else
45488 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45489 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45490 wxUSE_CLIPBOARD=no
45491 wxUSE_DRAG_AND_DROP=no
45492 fi
45493
45494 if test "$wxUSE_CLIPBOARD" = "yes"; then
45495 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45496 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45497 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45498 wxUSE_CLIPBOARD=no
45499 fi
45500
45501 if test "$wxUSE_CLIPBOARD" = "yes"; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_CLIPBOARD 1
45504 _ACEOF
45505
45506 fi
45507 fi
45508
45509 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45510 if test "$wxUSE_GTK" = 1; then
45511 if test "$WXGTK12" != 1; then
45512 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45513 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45514 wxUSE_DRAG_AND_DROP=no
45515 fi
45516 fi
45517
45518 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45519 "$wxUSE_DFB" = 1; then
45520 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45521 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45522 wxUSE_DRAG_AND_DROP=no
45523 fi
45524
45525 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_DRAG_AND_DROP 1
45528 _ACEOF
45529
45530 fi
45531
45532 fi
45533
45534 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45536 fi
45537
45538 if test "$wxUSE_SPLINES" = "yes" ; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_SPLINES 1
45541 _ACEOF
45542
45543 fi
45544
45545 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45546 cat >>confdefs.h <<\_ACEOF
45547 #define wxUSE_MOUSEWHEEL 1
45548 _ACEOF
45549
45550 fi
45551
45552
45553 USES_CONTROLS=0
45554 if test "$wxUSE_CONTROLS" = "yes"; then
45555 USES_CONTROLS=1
45556 fi
45557
45558 if test "$wxUSE_ACCEL" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_ACCEL 1
45561 _ACEOF
45562
45563 USES_CONTROLS=1
45564 fi
45565
45566 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_ANIMATIONCTRL 1
45569 _ACEOF
45570
45571 USES_CONTROLS=1
45572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45573 fi
45574
45575 if test "$wxUSE_BUTTON" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_BUTTON 1
45578 _ACEOF
45579
45580 USES_CONTROLS=1
45581 fi
45582
45583 if test "$wxUSE_BMPBUTTON" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_BMPBUTTON 1
45586 _ACEOF
45587
45588 USES_CONTROLS=1
45589 fi
45590
45591 if test "$wxUSE_CALCTRL" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_CALENDARCTRL 1
45594 _ACEOF
45595
45596 USES_CONTROLS=1
45597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45598 fi
45599
45600 if test "$wxUSE_CARET" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_CARET 1
45603 _ACEOF
45604
45605 USES_CONTROLS=1
45606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45607 fi
45608
45609 if test "$wxUSE_COLLPANE" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_COLLPANE 1
45612 _ACEOF
45613
45614 USES_CONTROLS=1
45615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45616 fi
45617
45618 if test "$wxUSE_COMBOBOX" = "yes"; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_COMBOBOX 1
45621 _ACEOF
45622
45623 USES_CONTROLS=1
45624 fi
45625
45626 if test "$wxUSE_COMBOCTRL" = "yes"; then
45627 cat >>confdefs.h <<\_ACEOF
45628 #define wxUSE_COMBOCTRL 1
45629 _ACEOF
45630
45631 USES_CONTROLS=1
45632 fi
45633
45634 if test "$wxUSE_CHOICE" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_CHOICE 1
45637 _ACEOF
45638
45639 USES_CONTROLS=1
45640 fi
45641
45642 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45643 cat >>confdefs.h <<\_ACEOF
45644 #define wxUSE_CHOICEBOOK 1
45645 _ACEOF
45646
45647 USES_CONTROLS=1
45648 fi
45649
45650 if test "$wxUSE_CHECKBOX" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_CHECKBOX 1
45653 _ACEOF
45654
45655 USES_CONTROLS=1
45656 fi
45657
45658 if test "$wxUSE_CHECKLST" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_CHECKLISTBOX 1
45661 _ACEOF
45662
45663 USES_CONTROLS=1
45664 fi
45665
45666 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_COLOURPICKERCTRL 1
45669 _ACEOF
45670
45671 USES_CONTROLS=1
45672 fi
45673
45674 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_DATEPICKCTRL 1
45677 _ACEOF
45678
45679 USES_CONTROLS=1
45680 fi
45681
45682 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_DIRPICKERCTRL 1
45685 _ACEOF
45686
45687 USES_CONTROLS=1
45688 fi
45689
45690 if test "$wxUSE_FILECTRL" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_FILECTRL 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 fi
45697
45698 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_FILEPICKERCTRL 1
45701 _ACEOF
45702
45703 USES_CONTROLS=1
45704 fi
45705
45706 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_FONTPICKERCTRL 1
45709 _ACEOF
45710
45711 USES_CONTROLS=1
45712 fi
45713
45714 if test "$wxUSE_DISPLAY" = "yes"; then
45715 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45716 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45717 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45718 wxUSE_DISPLAY=no
45719 else
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_DISPLAY 1
45722 _ACEOF
45723
45724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45725 fi
45726 fi
45727
45728 if test "$wxUSE_DETECT_SM" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_DETECT_SM 1
45731 _ACEOF
45732
45733 fi
45734
45735 if test "$wxUSE_GAUGE" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_GAUGE 1
45738 _ACEOF
45739
45740 USES_CONTROLS=1
45741 fi
45742
45743 if test "$wxUSE_GRID" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_GRID 1
45746 _ACEOF
45747
45748 USES_CONTROLS=1
45749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45750 fi
45751
45752 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_HYPERLINKCTRL 1
45755 _ACEOF
45756
45757 USES_CONTROLS=1
45758 fi
45759
45760 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_BITMAPCOMBOBOX 1
45763 _ACEOF
45764
45765 USES_CONTROLS=1
45766 fi
45767
45768 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_DATAVIEWCTRL 1
45771 _ACEOF
45772
45773 USES_CONTROLS=1
45774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45775 fi
45776
45777 if test "$wxUSE_IMAGLIST" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_IMAGLIST 1
45780 _ACEOF
45781
45782 fi
45783
45784 if test "$wxUSE_LISTBOOK" = "yes"; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_LISTBOOK 1
45787 _ACEOF
45788
45789 USES_CONTROLS=1
45790 fi
45791
45792 if test "$wxUSE_LISTBOX" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_LISTBOX 1
45795 _ACEOF
45796
45797 USES_CONTROLS=1
45798 fi
45799
45800 if test "$wxUSE_LISTCTRL" = "yes"; then
45801 if test "$wxUSE_IMAGLIST" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_LISTCTRL 1
45804 _ACEOF
45805
45806 USES_CONTROLS=1
45807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45808 else
45809 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45810 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45811 fi
45812 fi
45813
45814 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_EDITABLELISTBOX 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45821 fi
45822
45823 if test "$wxUSE_NOTEBOOK" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_NOTEBOOK 1
45826 _ACEOF
45827
45828 USES_CONTROLS=1
45829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45830 fi
45831
45832 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define wxUSE_NOTIFICATION_MESSAGE 1
45835 _ACEOF
45836
45837 fi
45838
45839 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_ODCOMBOBOX 1
45842 _ACEOF
45843
45844 USES_CONTROLS=1
45845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45846 fi
45847
45848 if test "$wxUSE_RADIOBOX" = "yes"; then
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_RADIOBOX 1
45851 _ACEOF
45852
45853 USES_CONTROLS=1
45854 fi
45855
45856 if test "$wxUSE_RADIOBTN" = "yes"; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_RADIOBTN 1
45859 _ACEOF
45860
45861 USES_CONTROLS=1
45862 fi
45863
45864 if test "$wxUSE_SASH" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_SASH 1
45867 _ACEOF
45868
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45870 fi
45871
45872 if test "$wxUSE_SCROLLBAR" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_SCROLLBAR 1
45875 _ACEOF
45876
45877 USES_CONTROLS=1
45878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45879 fi
45880
45881 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45882 cat >>confdefs.h <<\_ACEOF
45883 #define wxUSE_SEARCHCTRL 1
45884 _ACEOF
45885
45886 USES_CONTROLS=1
45887 fi
45888
45889 if test "$wxUSE_SLIDER" = "yes"; then
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_SLIDER 1
45892 _ACEOF
45893
45894 USES_CONTROLS=1
45895 fi
45896
45897 if test "$wxUSE_SPINBTN" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_SPINBTN 1
45900 _ACEOF
45901
45902 USES_CONTROLS=1
45903 fi
45904
45905 if test "$wxUSE_SPINCTRL" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_SPINCTRL 1
45908 _ACEOF
45909
45910 USES_CONTROLS=1
45911 fi
45912
45913 if test "$wxUSE_SPLITTER" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_SPLITTER 1
45916 _ACEOF
45917
45918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45919 fi
45920
45921 if test "$wxUSE_STATBMP" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_STATBMP 1
45924 _ACEOF
45925
45926 USES_CONTROLS=1
45927 fi
45928
45929 if test "$wxUSE_STATBOX" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_STATBOX 1
45932 _ACEOF
45933
45934 USES_CONTROLS=1
45935 fi
45936
45937 if test "$wxUSE_STATTEXT" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_STATTEXT 1
45940 _ACEOF
45941
45942 USES_CONTROLS=1
45943 fi
45944
45945 if test "$wxUSE_STATLINE" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_STATLINE 1
45948 _ACEOF
45949
45950 USES_CONTROLS=1
45951 fi
45952
45953 if test "$wxUSE_STATUSBAR" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_NATIVE_STATUSBAR 1
45956 _ACEOF
45957
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_STATUSBAR 1
45960 _ACEOF
45961
45962 USES_CONTROLS=1
45963
45964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45965 fi
45966
45967 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_TAB_DIALOG 1
45970 _ACEOF
45971
45972 fi
45973
45974 if test "$wxUSE_TEXTCTRL" = "yes"; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_TEXTCTRL 1
45977 _ACEOF
45978
45979 USES_CONTROLS=1
45980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45981
45982 cat >>confdefs.h <<\_ACEOF
45983 #define wxUSE_RICHEDIT 1
45984 _ACEOF
45985
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_RICHEDIT2 1
45988 _ACEOF
45989
45990 fi
45991
45992 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45993 if test "$wxUSE_COCOA" = 1 ; then
45994 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45995 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45996 wxUSE_TOGGLEBTN=no
45997 fi
45998
45999 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_TOGGLEBTN 1
46002 _ACEOF
46003
46004 USES_CONTROLS=1
46005 fi
46006 fi
46007
46008 if test "$wxUSE_TOOLBAR" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_TOOLBAR 1
46011 _ACEOF
46012
46013 USES_CONTROLS=1
46014
46015 if test "$wxUSE_UNIVERSAL" = "yes"; then
46016 wxUSE_TOOLBAR_NATIVE="no"
46017 else
46018 wxUSE_TOOLBAR_NATIVE="yes"
46019 cat >>confdefs.h <<\_ACEOF
46020 #define wxUSE_TOOLBAR_NATIVE 1
46021 _ACEOF
46022
46023 fi
46024
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46026 fi
46027
46028 if test "$wxUSE_TOOLTIPS" = "yes"; then
46029 if test "$wxUSE_MOTIF" = 1; then
46030 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46031 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46032 else
46033 if test "$wxUSE_UNIVERSAL" = "yes"; then
46034 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46035 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46036 else
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_TOOLTIPS 1
46039 _ACEOF
46040
46041 fi
46042 fi
46043 fi
46044
46045 if test "$wxUSE_TREEBOOK" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_TREEBOOK 1
46048 _ACEOF
46049
46050 USES_CONTROLS=1
46051 fi
46052
46053 if test "$wxUSE_TOOLBOOK" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_TOOLBOOK 1
46056 _ACEOF
46057
46058 USES_CONTROLS=1
46059 fi
46060
46061 if test "$wxUSE_TREECTRL" = "yes"; then
46062 if test "$wxUSE_IMAGLIST" = "yes"; then
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_TREECTRL 1
46065 _ACEOF
46066
46067 USES_CONTROLS=1
46068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46069 else
46070 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46071 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46072 fi
46073 fi
46074
46075 if test "$wxUSE_POPUPWIN" = "yes"; then
46076 if test "$wxUSE_COCOA" = 1 ; then
46077 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46078 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46079 else
46080 if test "$wxUSE_PM" = 1; then
46081 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46082 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46083 else
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_POPUPWIN 1
46086 _ACEOF
46087
46088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46089
46090 USES_CONTROLS=1
46091 fi
46092 fi
46093 fi
46094
46095 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46096 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46097 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46098 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46099 else
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_DIALUP_MANAGER 1
46102 _ACEOF
46103
46104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46105 fi
46106 fi
46107
46108 if test "$wxUSE_TIPWINDOW" = "yes"; then
46109 if test "$wxUSE_PM" = 1; then
46110 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46111 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46112 else
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_TIPWINDOW 1
46115 _ACEOF
46116
46117 fi
46118 fi
46119
46120 if test "$USES_CONTROLS" = 1; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_CONTROLS 1
46123 _ACEOF
46124
46125 fi
46126
46127
46128 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_ACCESSIBILITY 1
46131 _ACEOF
46132
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46134 fi
46135
46136 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_DRAGIMAGE 1
46139 _ACEOF
46140
46141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46142 fi
46143
46144 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46145 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46146 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46147 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46148 else
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_EXCEPTIONS 1
46151 _ACEOF
46152
46153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46154 fi
46155 fi
46156
46157 USE_HTML=0
46158 if test "$wxUSE_HTML" = "yes"; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_HTML 1
46161 _ACEOF
46162
46163 USE_HTML=1
46164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46165 fi
46166 if test "$wxUSE_WEBKIT" = "yes"; then
46167 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46168 old_CPPFLAGS="$CPPFLAGS"
46169 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46170 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46171 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46172 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46173 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 else
46175 cat >conftest.$ac_ext <<_ACEOF
46176 /* confdefs.h. */
46177 _ACEOF
46178 cat confdefs.h >>conftest.$ac_ext
46179 cat >>conftest.$ac_ext <<_ACEOF
46180 /* end confdefs.h. */
46181
46182 #include <Carbon/Carbon.h>
46183 #include <WebKit/WebKit.h>
46184
46185
46186 #include <WebKit/HIWebView.h>
46187 _ACEOF
46188 rm -f conftest.$ac_objext
46189 if { (ac_try="$ac_compile"
46190 case "(($ac_try" in
46191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46192 *) ac_try_echo=$ac_try;;
46193 esac
46194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46195 (eval "$ac_compile") 2>conftest.er1
46196 ac_status=$?
46197 grep -v '^ *+' conftest.er1 >conftest.err
46198 rm -f conftest.er1
46199 cat conftest.err >&5
46200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46201 (exit $ac_status); } && {
46202 test -z "$ac_c_werror_flag" ||
46203 test ! -s conftest.err
46204 } && test -s conftest.$ac_objext; then
46205 ac_cv_header_WebKit_HIWebView_h=yes
46206 else
46207 echo "$as_me: failed program was:" >&5
46208 sed 's/^/| /' conftest.$ac_ext >&5
46209
46210 ac_cv_header_WebKit_HIWebView_h=no
46211 fi
46212
46213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46214 fi
46215 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46216 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46217 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46218
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_WEBKIT 1
46221 _ACEOF
46222
46223 WEBKIT_LINK="-framework WebKit"
46224
46225 else
46226
46227 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46228 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46229 wxUSE_WEBKIT=no
46230
46231 fi
46232
46233
46234 CPPFLAGS="$old_CPPFLAGS"
46235 elif test "$wxUSE_COCOA" = 1; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_WEBKIT 1
46238 _ACEOF
46239
46240 else
46241 wxUSE_WEBKIT=no
46242 fi
46243 if test "$wxUSE_WEBKIT" = "yes"; then
46244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46245 fi
46246 fi
46247
46248 USE_XRC=0
46249 if test "$wxUSE_XRC" = "yes"; then
46250 if test "$wxUSE_XML" != "yes"; then
46251 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46252 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46253 wxUSE_XRC=no
46254 else
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_XRC 1
46257 _ACEOF
46258
46259 USE_XRC=1
46260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46261 fi
46262 fi
46263
46264 USE_AUI=0
46265 if test "$wxUSE_AUI" = "yes"; then
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_AUI 1
46268 _ACEOF
46269
46270 USE_AUI=1
46271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46272 fi
46273
46274 USE_PROPGRID=0
46275 if test "$wxUSE_PROPGRID" = "yes"; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_PROPGRID 1
46278 _ACEOF
46279
46280 USE_PROPGRID=1
46281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46282 fi
46283
46284 USE_STC=0
46285 if test "$wxUSE_STC" = "yes"; then
46286 cat >>confdefs.h <<\_ACEOF
46287 #define wxUSE_STC 1
46288 _ACEOF
46289
46290 USE_STC=1
46291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46292 fi
46293
46294 if test "$wxUSE_MENUS" = "yes"; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_MENUS 1
46297 _ACEOF
46298
46299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46300 fi
46301
46302 if test "$wxUSE_METAFILE" = "yes"; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_METAFILE 1
46305 _ACEOF
46306
46307 fi
46308
46309 if test "$wxUSE_MIMETYPE" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_MIMETYPE 1
46312 _ACEOF
46313
46314 fi
46315
46316 if test "$wxUSE_MINIFRAME" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_MINIFRAME 1
46319 _ACEOF
46320
46321 fi
46322
46323 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_SYSTEM_OPTIONS 1
46326 _ACEOF
46327
46328 fi
46329
46330 if test "$wxUSE_TASKBARICON" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_TASKBARICON 1
46333 _ACEOF
46334
46335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46336 fi
46337
46338
46339 if test "$wxUSE_VALIDATORS" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_VALIDATORS 1
46342 _ACEOF
46343
46344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46345 fi
46346
46347 if test "$wxUSE_PALETTE" = "yes" ; then
46348 if test "$wxUSE_DFB" = 1; then
46349 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46350 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46351 wxUSE_PALETTE=no
46352 else
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_PALETTE 1
46355 _ACEOF
46356
46357 fi
46358 fi
46359
46360 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46361 LIBS=" -lunicows $LIBS"
46362 fi
46363
46364 USE_RICHTEXT=0
46365 if test "$wxUSE_RICHTEXT" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_RICHTEXT 1
46368 _ACEOF
46369
46370 USE_RICHTEXT=1
46371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46372 fi
46373
46374
46375 if test "$wxUSE_IMAGE" = "yes" ; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_IMAGE 1
46378 _ACEOF
46379
46380
46381 if test "$wxUSE_GIF" = "yes" ; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_GIF 1
46384 _ACEOF
46385
46386 fi
46387
46388 if test "$wxUSE_PCX" = "yes" ; then
46389 cat >>confdefs.h <<\_ACEOF
46390 #define wxUSE_PCX 1
46391 _ACEOF
46392
46393 fi
46394
46395 if test "$wxUSE_TGA" = "yes" ; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_TGA 1
46398 _ACEOF
46399
46400 fi
46401
46402 if test "$wxUSE_IFF" = "yes" ; then
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_IFF 1
46405 _ACEOF
46406
46407 fi
46408
46409 if test "$wxUSE_PNM" = "yes" ; then
46410 cat >>confdefs.h <<\_ACEOF
46411 #define wxUSE_PNM 1
46412 _ACEOF
46413
46414 fi
46415
46416 if test "$wxUSE_XPM" = "yes" ; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_XPM 1
46419 _ACEOF
46420
46421 fi
46422
46423 if test "$wxUSE_ICO_CUR" = "yes" ; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_ICO_CUR 1
46426 _ACEOF
46427
46428 fi
46429 fi
46430
46431
46432 if test "$wxUSE_ABOUTDLG" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_ABOUTDLG 1
46435 _ACEOF
46436
46437 fi
46438
46439 if test "$wxUSE_CHOICEDLG" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_CHOICEDLG 1
46442 _ACEOF
46443
46444 fi
46445
46446 if test "$wxUSE_COLOURDLG" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_COLOURDLG 1
46449 _ACEOF
46450
46451 fi
46452
46453 if test "$wxUSE_FILEDLG" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_FILEDLG 1
46456 _ACEOF
46457
46458 fi
46459
46460 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_FINDREPLDLG 1
46463 _ACEOF
46464
46465 fi
46466
46467 if test "$wxUSE_FONTDLG" = "yes"; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_FONTDLG 1
46470 _ACEOF
46471
46472 fi
46473
46474 if test "$wxUSE_DIRDLG" = "yes"; then
46475 if test "$wxUSE_TREECTRL" != "yes"; then
46476 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46477 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46478 else
46479 cat >>confdefs.h <<\_ACEOF
46480 #define wxUSE_DIRDLG 1
46481 _ACEOF
46482
46483 fi
46484 fi
46485
46486 if test "$wxUSE_MSGDLG" = "yes"; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_MSGDLG 1
46489 _ACEOF
46490
46491 fi
46492
46493 if test "$wxUSE_NUMBERDLG" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_NUMBERDLG 1
46496 _ACEOF
46497
46498 fi
46499
46500 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46501 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46502 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46503 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46504 else
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_PROGRESSDLG 1
46507 _ACEOF
46508
46509 fi
46510 fi
46511
46512 if test "$wxUSE_SPLASH" = "yes"; then
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_SPLASH 1
46515 _ACEOF
46516
46517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46518 fi
46519
46520 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46521 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46522 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46523 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46524 else
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_STARTUP_TIPS 1
46527 _ACEOF
46528
46529 fi
46530 fi
46531
46532 if test "$wxUSE_TEXTDLG" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_TEXTDLG 1
46535 _ACEOF
46536
46537 fi
46538
46539 if test "$wxUSE_WIZARDDLG" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_WIZARDDLG 1
46542 _ACEOF
46543
46544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46545 fi
46546
46547
46548 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46549 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_OWNER_DRAWN 1
46552 _ACEOF
46553
46554 fi
46555 fi
46556
46557
46558 if test "$wxUSE_MSW" = 1 ; then
46559
46560 if test "$wxUSE_DC_CACHEING" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_DC_CACHEING 1
46563 _ACEOF
46564
46565 fi
46566
46567 if test "$wxUSE_DIB" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_WXDIB 1
46570 _ACEOF
46571
46572 fi
46573
46574 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46577 _ACEOF
46578
46579 fi
46580
46581 if test "$wxUSE_UXTHEME" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_UXTHEME 1
46584 _ACEOF
46585
46586 fi
46587
46588 fi
46589
46590 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_AUTOID_MANAGEMENT 1
46593 _ACEOF
46594
46595 fi
46596
46597 if test "$USE_WIN32" = 1 ; then
46598 if test "$wxUSE_INICONF" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_INICONF 1
46601 _ACEOF
46602
46603 fi
46604
46605 if test "$wxUSE_REGKEY" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_REGKEY 1
46608 _ACEOF
46609
46610 fi
46611 fi
46612
46613
46614 if test "$wxUSE_MAC" = 1; then
46615 wxUSE_GRAPHICS_CONTEXT="yes"
46616 fi
46617
46618 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46619 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_GRAPHICS_CONTEXT 1
46622 _ACEOF
46623
46624 elif test "$wxUSE_GTK" != 1; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_GRAPHICS_CONTEXT 1
46627 _ACEOF
46628
46629 else
46630
46631 pkg_failed=no
46632 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46633 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46634
46635 if test -n "$PKG_CONFIG"; then
46636 if test -n "$CAIRO_CFLAGS"; then
46637 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46638 else
46639 if test -n "$PKG_CONFIG" && \
46640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46641 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46642 ac_status=$?
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); }; then
46645 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46646 else
46647 pkg_failed=yes
46648 fi
46649 fi
46650 else
46651 pkg_failed=untried
46652 fi
46653 if test -n "$PKG_CONFIG"; then
46654 if test -n "$CAIRO_LIBS"; then
46655 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46656 else
46657 if test -n "$PKG_CONFIG" && \
46658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46659 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46660 ac_status=$?
46661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662 (exit $ac_status); }; then
46663 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46664 else
46665 pkg_failed=yes
46666 fi
46667 fi
46668 else
46669 pkg_failed=untried
46670 fi
46671
46672
46673
46674 if test $pkg_failed = yes; then
46675
46676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46677 _pkg_short_errors_supported=yes
46678 else
46679 _pkg_short_errors_supported=no
46680 fi
46681 if test $_pkg_short_errors_supported = yes; then
46682 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46683 else
46684 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46685 fi
46686 # Put the nasty error message in config.log where it belongs
46687 echo "$CAIRO_PKG_ERRORS" >&5
46688
46689 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46690 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46691
46692 elif test $pkg_failed = untried; then
46693 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46694 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46695
46696 else
46697 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46698 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46699 { echo "$as_me:$LINENO: result: yes" >&5
46700 echo "${ECHO_T}yes" >&6; }
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_GRAPHICS_CONTEXT 1
46703 _ACEOF
46704
46705 fi
46706 fi
46707 fi
46708
46709
46710 USE_MEDIA=0
46711
46712 if test "$wxUSE_MEDIACTRL" = "yes"; then
46713 USE_MEDIA=1
46714
46715 if test "$wxUSE_GTK" = 1; then
46716 wxUSE_GSTREAMER="no"
46717
46718 GST_VERSION_MAJOR=0
46719 GST_VERSION_MINOR=10
46720 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46721
46722 if test "$wxUSE_GSTREAMER8" = "no"; then
46723
46724 pkg_failed=no
46725 { echo "$as_me:$LINENO: checking for GST" >&5
46726 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46727
46728 if test -n "$PKG_CONFIG"; then
46729 if test -n "$GST_CFLAGS"; then
46730 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46731 else
46732 if test -n "$PKG_CONFIG" && \
46733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46734 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46735 ac_status=$?
46736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46737 (exit $ac_status); }; then
46738 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46739 else
46740 pkg_failed=yes
46741 fi
46742 fi
46743 else
46744 pkg_failed=untried
46745 fi
46746 if test -n "$PKG_CONFIG"; then
46747 if test -n "$GST_LIBS"; then
46748 pkg_cv_GST_LIBS="$GST_LIBS"
46749 else
46750 if test -n "$PKG_CONFIG" && \
46751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46752 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46753 ac_status=$?
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; then
46756 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46757 else
46758 pkg_failed=yes
46759 fi
46760 fi
46761 else
46762 pkg_failed=untried
46763 fi
46764
46765
46766
46767 if test $pkg_failed = yes; then
46768
46769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46770 _pkg_short_errors_supported=yes
46771 else
46772 _pkg_short_errors_supported=no
46773 fi
46774 if test $_pkg_short_errors_supported = yes; then
46775 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46776 else
46777 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46778 fi
46779 # Put the nasty error message in config.log where it belongs
46780 echo "$GST_PKG_ERRORS" >&5
46781
46782
46783 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46784 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46785 GST_VERSION_MINOR=8
46786
46787
46788 elif test $pkg_failed = untried; then
46789
46790 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46791 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46792 GST_VERSION_MINOR=8
46793
46794
46795 else
46796 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46797 GST_LIBS=$pkg_cv_GST_LIBS
46798 { echo "$as_me:$LINENO: result: yes" >&5
46799 echo "${ECHO_T}yes" >&6; }
46800
46801 wxUSE_GSTREAMER="yes"
46802 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46803
46804 fi
46805 else
46806 GST_VERSION_MINOR=8
46807 fi
46808
46809 if test $GST_VERSION_MINOR = "8"; then
46810 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46811
46812 pkg_failed=no
46813 { echo "$as_me:$LINENO: checking for GST" >&5
46814 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46815
46816 if test -n "$PKG_CONFIG"; then
46817 if test -n "$GST_CFLAGS"; then
46818 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46819 else
46820 if test -n "$PKG_CONFIG" && \
46821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46822 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46823 ac_status=$?
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); }; then
46826 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46827 else
46828 pkg_failed=yes
46829 fi
46830 fi
46831 else
46832 pkg_failed=untried
46833 fi
46834 if test -n "$PKG_CONFIG"; then
46835 if test -n "$GST_LIBS"; then
46836 pkg_cv_GST_LIBS="$GST_LIBS"
46837 else
46838 if test -n "$PKG_CONFIG" && \
46839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46840 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46841 ac_status=$?
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); }; then
46844 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46845 else
46846 pkg_failed=yes
46847 fi
46848 fi
46849 else
46850 pkg_failed=untried
46851 fi
46852
46853
46854
46855 if test $pkg_failed = yes; then
46856
46857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46858 _pkg_short_errors_supported=yes
46859 else
46860 _pkg_short_errors_supported=no
46861 fi
46862 if test $_pkg_short_errors_supported = yes; then
46863 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46864 else
46865 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46866 fi
46867 # Put the nasty error message in config.log where it belongs
46868 echo "$GST_PKG_ERRORS" >&5
46869
46870
46871 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46872 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46873
46874 elif test $pkg_failed = untried; then
46875
46876 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46877 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46878
46879 else
46880 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46881 GST_LIBS=$pkg_cv_GST_LIBS
46882 { echo "$as_me:$LINENO: result: yes" >&5
46883 echo "${ECHO_T}yes" >&6; }
46884 wxUSE_GSTREAMER="yes"
46885 fi
46886 fi
46887
46888
46889 if test "$wxUSE_GSTREAMER" = "yes"; then
46890 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46891 EXTRALIBS_MEDIA="$GST_LIBS"
46892
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_GSTREAMER 1
46895 _ACEOF
46896
46897 else
46898 USE_MEDIA=0
46899 fi
46900 fi
46901
46902 if test $USE_MEDIA = 1; then
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_MEDIACTRL 1
46906 _ACEOF
46907
46908 fi
46909 fi
46910
46911
46912 if test "$cross_compiling" = "yes"; then
46913 OSINFO="\"$host\""
46914 else
46915 OSINFO=`uname -s -r -m`
46916 OSINFO="\"$OSINFO\""
46917 fi
46918
46919 cat >>confdefs.h <<_ACEOF
46920 #define WXWIN_OS_DESCRIPTION $OSINFO
46921 _ACEOF
46922
46923
46924
46925 if test "x$prefix" != "xNONE"; then
46926 wxPREFIX=$prefix
46927 else
46928 wxPREFIX=$ac_default_prefix
46929 fi
46930
46931 cat >>confdefs.h <<_ACEOF
46932 #define wxINSTALL_PREFIX "$wxPREFIX"
46933 _ACEOF
46934
46935
46936
46937
46938 STD_BASE_LIBS="base"
46939 STD_GUI_LIBS=""
46940 BUILT_WX_LIBS="base"
46941 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46942
46943 if test "$wxUSE_SOCKETS" = "yes" ; then
46944 STD_BASE_LIBS="net $STD_BASE_LIBS"
46945 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46946 fi
46947 if test "$wxUSE_XML" = "yes" ; then
46948 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46949 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46950 fi
46951
46952 if test "$wxUSE_GUI" = "yes"; then
46953 STD_GUI_LIBS="adv core"
46954 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46955
46956 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46957 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46958 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46959 fi
46960 if test "$wxUSE_HTML" = "yes" ; then
46961 STD_GUI_LIBS="html $STD_GUI_LIBS"
46962 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46963 fi
46964 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46965 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46966 fi
46967 if test "$wxUSE_OPENGL" = "yes" ; then
46968 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46969 fi
46970 if test "$wxUSE_AUI" = "yes" ; then
46971 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46972 fi
46973 if test "$wxUSE_PROPGRID" = "yes" ; then
46974 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46975 fi
46976 if test "$wxUSE_STC" = "yes" ; then
46977 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46978 fi
46979 if test "$wxUSE_XRC" = "yes" ; then
46980 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46981 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46982 fi
46983 fi
46984
46985
46986
46987
46988
46989
46990
46991
46992 if test "$wxUSE_MAC" = 1 ; then
46993 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46994 if test "$USE_DARWIN" = 1; then
46995 LDFLAGS="$LDFLAGS -framework QuickTime"
46996 fi
46997 fi
46998 if test "$USE_DARWIN" = 1; then
46999 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47000 fi
47001 fi
47002 if test "$wxUSE_COCOA" = 1 ; then
47003 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47004 if test "$wxUSE_MEDIACTRL" = "yes"; then
47005 LDFLAGS="$LDFLAGS -framework QuickTime"
47006 fi
47007 fi
47008 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47009 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47010 fi
47011
47012 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47013
47014 if test "$wxUSE_GUI" = "yes"; then
47015
47016
47017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47018 erase event exec font image minimal mobile \
47019 mobile/wxedit mobile/styles render \
47020 shaped svg taborder vscroll widgets"
47021
47022 if test "$wxUSE_MONOLITHIC" != "yes"; then
47023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47024 fi
47025 if test "$TOOLKIT" = "MSW"; then
47026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47027 if test "$wxUSE_UNIVERSAL" != "yes"; then
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47029 fi
47030 fi
47031 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47033 fi
47034 else
47035 SAMPLES_SUBDIRS="console"
47036 if test "$wxUSE_SOCKETS" = "yes" ; then
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47038 fi
47039 if test "$wxUSE_IPC" = "yes" ; then
47040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47041 fi
47042 fi
47043
47044
47045 if test "x$INTELCC" = "xyes" ; then
47046 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47047 elif test "$GCC" = yes ; then
47048 CWARNINGS="-Wall -Wundef"
47049 fi
47050
47051 if test "x$INTELCXX" = "xyes" ; then
47052 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47053 elif test "$GXX" = yes ; then
47054 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47055 fi
47056
47057
47058 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47059 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47060
47061
47062 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47063 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47064 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47065 $CPPFLAGS `
47066
47067 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47068 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47069 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47070 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47071 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47072
47073 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47074
47075
47076 if test "x$MWCC" = "xyes"; then
47077
47078 CC="$CC -cwd source -I-"
47079 CXX="$CXX -cwd source -I-"
47080 fi
47081
47082
47083 LIBS=`echo $LIBS`
47084 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47085 EXTRALIBS_XML="$EXPAT_LINK"
47086 EXTRALIBS_HTML="$MSPACK_LINK"
47087 EXTRALIBS_MEDIA="$GST_LIBS"
47088 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47089 if test "$wxUSE_GUI" = "yes"; then
47090 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47091 fi
47092 if test "$wxUSE_OPENGL" = "yes"; then
47093 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47094 fi
47095
47096 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47097
47098 WXCONFIG_LIBS="$LIBS"
47099
47100 if test "$wxUSE_REGEX" = "builtin" ; then
47101 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47102 fi
47103 if test "$wxUSE_EXPAT" = "builtin" ; then
47104 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47105 fi
47106 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47107 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47108 fi
47109 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47110 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47111 fi
47112 if test "$wxUSE_LIBPNG" = "builtin" ; then
47113 wxconfig_3rdparty="png $wxconfig_3rdparty"
47114 fi
47115 if test "$wxUSE_ZLIB" = "builtin" ; then
47116 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47117 fi
47118
47119 for i in $wxconfig_3rdparty ; do
47120 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47121 done
47122
47123
47124 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47125 WXUNIV=1
47126
47127 case "$wxUNIV_THEMES" in
47128 ''|all)
47129 cat >>confdefs.h <<\_ACEOF
47130 #define wxUSE_ALL_THEMES 1
47131 _ACEOF
47132
47133 ;;
47134
47135 *)
47136 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47137 cat >>confdefs.h <<_ACEOF
47138 #define wxUSE_THEME_$t 1
47139 _ACEOF
47140
47141 done
47142 esac
47143 else
47144 WXUNIV=0
47145 fi
47146
47147
47148
47149
47150
47151
47152
47153
47154 if test $wxUSE_MONOLITHIC = "yes" ; then
47155 MONOLITHIC=1
47156 else
47157 MONOLITHIC=0
47158 fi
47159
47160 if test $wxUSE_PLUGINS = "yes" ; then
47161 USE_PLUGINS=1
47162 else
47163 USE_PLUGINS=0
47164 fi
47165
47166 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47167 USE_QA=1
47168 else
47169 USE_QA=0
47170 fi
47171
47172 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47173 OFFICIAL_BUILD=1
47174 else
47175 OFFICIAL_BUILD=0
47176 fi
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205 if test "$TOOLKIT" = "MAC"; then
47206 TOOLKIT_LOWERCASE=osx
47207 else
47208 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47209 fi
47210
47211
47212
47213
47214
47215
47216
47217
47218 case "$TOOLKIT" in
47219 GTK)
47220 TOOLKIT_DESC="GTK+"
47221 if test "$WXGTK2" = 1; then
47222 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47223 if test "$wxUSE_GTKPRINT" = "yes" ; then
47224 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47225 fi
47226 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47227 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47228 fi
47229 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47230 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47231 fi
47232 if test "$wxUSE_LIBHILDON" = "yes"; then
47233 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47234 fi
47235
47236 if test "$TOOLKIT_EXTRA" != ""; then
47237 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47238 fi
47239 fi
47240 ;;
47241
47242 ?*)
47243 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47244 ;;
47245
47246 *)
47247 TOOLKIT_DESC="base only"
47248 ;;
47249 esac
47250
47251 if test "$wxUSE_WINE" = "yes"; then
47252 BAKEFILE_FORCE_PLATFORM=win32
47253 fi
47254
47255 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47256 then
47257 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47258 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47259 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47260 echo $ECHO_N "(cached) $ECHO_C" >&6
47261 else
47262
47263 echo '#include <stdio.h>
47264 const wchar_t test_var[] = L"awidetest";' > conftest.h
47265
47266 echo '#include "conftest.h"
47267 int main()
47268 {
47269 printf("%ls", test_var);
47270 return 0;
47271 }' > conftest.cpp
47272
47273 wx_cv_gcc_pch_bug="pch not supported"
47274
47275 if $CXX conftest.h >/dev/null 2>&1
47276 then
47277 wx_cv_gcc_pch_bug=
47278
47279 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47280 then
47281 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47282 grep awidetest >/dev/null
47283 then
47284 wx_cv_gcc_pch_bug=no
47285 else
47286 wx_cv_gcc_pch_bug=yes
47287 fi
47288 fi
47289 fi
47290
47291 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47292
47293 fi
47294 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47295 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47296
47297 if test "$wx_cv_gcc_pch_bug" = yes; then
47298 bk_use_pch=no
47299 fi
47300 fi
47301
47302
47303
47304
47305
47306
47307
47308 if test "x$BAKEFILE_HOST" = "x"; then
47309 if test "x${host}" = "x" ; then
47310 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47311 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47312 { (exit 1); exit 1; }; }
47313 fi
47314
47315 BAKEFILE_HOST="${host}"
47316 fi
47317
47318 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47319
47320 if test -n "$ac_tool_prefix"; then
47321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47325 if test "${ac_cv_prog_RANLIB+set}" = set; then
47326 echo $ECHO_N "(cached) $ECHO_C" >&6
47327 else
47328 if test -n "$RANLIB"; then
47329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47330 else
47331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47332 for as_dir in $PATH
47333 do
47334 IFS=$as_save_IFS
47335 test -z "$as_dir" && as_dir=.
47336 for ac_exec_ext in '' $ac_executable_extensions; do
47337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47340 break 2
47341 fi
47342 done
47343 done
47344 IFS=$as_save_IFS
47345
47346 fi
47347 fi
47348 RANLIB=$ac_cv_prog_RANLIB
47349 if test -n "$RANLIB"; then
47350 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47351 echo "${ECHO_T}$RANLIB" >&6; }
47352 else
47353 { echo "$as_me:$LINENO: result: no" >&5
47354 echo "${ECHO_T}no" >&6; }
47355 fi
47356
47357
47358 fi
47359 if test -z "$ac_cv_prog_RANLIB"; then
47360 ac_ct_RANLIB=$RANLIB
47361 # Extract the first word of "ranlib", so it can be a program name with args.
47362 set dummy ranlib; ac_word=$2
47363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47365 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47368 if test -n "$ac_ct_RANLIB"; then
47369 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47370 else
47371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47372 for as_dir in $PATH
47373 do
47374 IFS=$as_save_IFS
47375 test -z "$as_dir" && as_dir=.
47376 for ac_exec_ext in '' $ac_executable_extensions; do
47377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47378 ac_cv_prog_ac_ct_RANLIB="ranlib"
47379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47380 break 2
47381 fi
47382 done
47383 done
47384 IFS=$as_save_IFS
47385
47386 fi
47387 fi
47388 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47389 if test -n "$ac_ct_RANLIB"; then
47390 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47391 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47392 else
47393 { echo "$as_me:$LINENO: result: no" >&5
47394 echo "${ECHO_T}no" >&6; }
47395 fi
47396
47397 if test "x$ac_ct_RANLIB" = x; then
47398 RANLIB=":"
47399 else
47400 case $cross_compiling:$ac_tool_warned in
47401 yes:)
47402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47403 whose name does not start with the host triplet. If you think this
47404 configuration is useful to you, please write to autoconf@gnu.org." >&5
47405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47406 whose name does not start with the host triplet. If you think this
47407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47408 ac_tool_warned=yes ;;
47409 esac
47410 RANLIB=$ac_ct_RANLIB
47411 fi
47412 else
47413 RANLIB="$ac_cv_prog_RANLIB"
47414 fi
47415
47416 # Find a good install program. We prefer a C program (faster),
47417 # so one script is as good as another. But avoid the broken or
47418 # incompatible versions:
47419 # SysV /etc/install, /usr/sbin/install
47420 # SunOS /usr/etc/install
47421 # IRIX /sbin/install
47422 # AIX /bin/install
47423 # AmigaOS /C/install, which installs bootblocks on floppy discs
47424 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47425 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47426 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47427 # OS/2's system install, which has a completely different semantic
47428 # ./install, which can be erroneously created by make from ./install.sh.
47429 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47430 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47431 if test -z "$INSTALL"; then
47432 if test "${ac_cv_path_install+set}" = set; then
47433 echo $ECHO_N "(cached) $ECHO_C" >&6
47434 else
47435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47436 for as_dir in $PATH
47437 do
47438 IFS=$as_save_IFS
47439 test -z "$as_dir" && as_dir=.
47440 # Account for people who put trailing slashes in PATH elements.
47441 case $as_dir/ in
47442 ./ | .// | /cC/* | \
47443 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47444 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47445 /usr/ucb/* ) ;;
47446 *)
47447 # OSF1 and SCO ODT 3.0 have their own names for install.
47448 # Don't use installbsd from OSF since it installs stuff as root
47449 # by default.
47450 for ac_prog in ginstall scoinst install; do
47451 for ac_exec_ext in '' $ac_executable_extensions; do
47452 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47453 if test $ac_prog = install &&
47454 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47455 # AIX install. It has an incompatible calling convention.
47456 :
47457 elif test $ac_prog = install &&
47458 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47459 # program-specific install script used by HP pwplus--don't use.
47460 :
47461 else
47462 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47463 break 3
47464 fi
47465 fi
47466 done
47467 done
47468 ;;
47469 esac
47470 done
47471 IFS=$as_save_IFS
47472
47473
47474 fi
47475 if test "${ac_cv_path_install+set}" = set; then
47476 INSTALL=$ac_cv_path_install
47477 else
47478 # As a last resort, use the slow shell script. Don't cache a
47479 # value for INSTALL within a source directory, because that will
47480 # break other packages using the cache if that directory is
47481 # removed, or if the value is a relative name.
47482 INSTALL=$ac_install_sh
47483 fi
47484 fi
47485 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47486 echo "${ECHO_T}$INSTALL" >&6; }
47487
47488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47489 # It thinks the first close brace ends the variable substitution.
47490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47491
47492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47493
47494 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47495
47496 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47497 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47498 LN_S=$as_ln_s
47499 if test "$LN_S" = "ln -s"; then
47500 { echo "$as_me:$LINENO: result: yes" >&5
47501 echo "${ECHO_T}yes" >&6; }
47502 else
47503 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47504 echo "${ECHO_T}no, using $LN_S" >&6; }
47505 fi
47506
47507
47508 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47509 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47510 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47511 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514 cat >conftest.make <<\_ACEOF
47515 SHELL = /bin/sh
47516 all:
47517 @echo '@@@%%%=$(MAKE)=@@@%%%'
47518 _ACEOF
47519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47520 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47521 *@@@%%%=?*=@@@%%%*)
47522 eval ac_cv_prog_make_${ac_make}_set=yes;;
47523 *)
47524 eval ac_cv_prog_make_${ac_make}_set=no;;
47525 esac
47526 rm -f conftest.make
47527 fi
47528 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47529 { echo "$as_me:$LINENO: result: yes" >&5
47530 echo "${ECHO_T}yes" >&6; }
47531 SET_MAKE=
47532 else
47533 { echo "$as_me:$LINENO: result: no" >&5
47534 echo "${ECHO_T}no" >&6; }
47535 SET_MAKE="MAKE=${MAKE-make}"
47536 fi
47537
47538
47539
47540 if test "x$SUNCXX" = "xyes"; then
47541 AR=$CXX
47542 AROPTIONS="-xar -o"
47543
47544 elif test "x$SGICC" = "xyes"; then
47545 AR=$CXX
47546 AROPTIONS="-ar -o"
47547
47548 else
47549 if test -n "$ac_tool_prefix"; then
47550 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47551 set dummy ${ac_tool_prefix}ar; ac_word=$2
47552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47554 if test "${ac_cv_prog_AR+set}" = set; then
47555 echo $ECHO_N "(cached) $ECHO_C" >&6
47556 else
47557 if test -n "$AR"; then
47558 ac_cv_prog_AR="$AR" # Let the user override the test.
47559 else
47560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47561 for as_dir in $PATH
47562 do
47563 IFS=$as_save_IFS
47564 test -z "$as_dir" && as_dir=.
47565 for ac_exec_ext in '' $ac_executable_extensions; do
47566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47567 ac_cv_prog_AR="${ac_tool_prefix}ar"
47568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47569 break 2
47570 fi
47571 done
47572 done
47573 IFS=$as_save_IFS
47574
47575 fi
47576 fi
47577 AR=$ac_cv_prog_AR
47578 if test -n "$AR"; then
47579 { echo "$as_me:$LINENO: result: $AR" >&5
47580 echo "${ECHO_T}$AR" >&6; }
47581 else
47582 { echo "$as_me:$LINENO: result: no" >&5
47583 echo "${ECHO_T}no" >&6; }
47584 fi
47585
47586
47587 fi
47588 if test -z "$ac_cv_prog_AR"; then
47589 ac_ct_AR=$AR
47590 # Extract the first word of "ar", so it can be a program name with args.
47591 set dummy ar; ac_word=$2
47592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47594 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47595 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 else
47597 if test -n "$ac_ct_AR"; then
47598 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47599 else
47600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47601 for as_dir in $PATH
47602 do
47603 IFS=$as_save_IFS
47604 test -z "$as_dir" && as_dir=.
47605 for ac_exec_ext in '' $ac_executable_extensions; do
47606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47607 ac_cv_prog_ac_ct_AR="ar"
47608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47609 break 2
47610 fi
47611 done
47612 done
47613 IFS=$as_save_IFS
47614
47615 fi
47616 fi
47617 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47618 if test -n "$ac_ct_AR"; then
47619 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47620 echo "${ECHO_T}$ac_ct_AR" >&6; }
47621 else
47622 { echo "$as_me:$LINENO: result: no" >&5
47623 echo "${ECHO_T}no" >&6; }
47624 fi
47625
47626 if test "x$ac_ct_AR" = x; then
47627 AR="ar"
47628 else
47629 case $cross_compiling:$ac_tool_warned in
47630 yes:)
47631 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47632 whose name does not start with the host triplet. If you think this
47633 configuration is useful to you, please write to autoconf@gnu.org." >&5
47634 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47637 ac_tool_warned=yes ;;
47638 esac
47639 AR=$ac_ct_AR
47640 fi
47641 else
47642 AR="$ac_cv_prog_AR"
47643 fi
47644
47645 AROPTIONS=rcu
47646 fi
47647
47648
47649 if test -n "$ac_tool_prefix"; then
47650 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47651 set dummy ${ac_tool_prefix}strip; ac_word=$2
47652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47654 if test "${ac_cv_prog_STRIP+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47656 else
47657 if test -n "$STRIP"; then
47658 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47659 else
47660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47661 for as_dir in $PATH
47662 do
47663 IFS=$as_save_IFS
47664 test -z "$as_dir" && as_dir=.
47665 for ac_exec_ext in '' $ac_executable_extensions; do
47666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47667 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47669 break 2
47670 fi
47671 done
47672 done
47673 IFS=$as_save_IFS
47674
47675 fi
47676 fi
47677 STRIP=$ac_cv_prog_STRIP
47678 if test -n "$STRIP"; then
47679 { echo "$as_me:$LINENO: result: $STRIP" >&5
47680 echo "${ECHO_T}$STRIP" >&6; }
47681 else
47682 { echo "$as_me:$LINENO: result: no" >&5
47683 echo "${ECHO_T}no" >&6; }
47684 fi
47685
47686
47687 fi
47688 if test -z "$ac_cv_prog_STRIP"; then
47689 ac_ct_STRIP=$STRIP
47690 # Extract the first word of "strip", so it can be a program name with args.
47691 set dummy strip; ac_word=$2
47692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47694 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47695 echo $ECHO_N "(cached) $ECHO_C" >&6
47696 else
47697 if test -n "$ac_ct_STRIP"; then
47698 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47699 else
47700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47701 for as_dir in $PATH
47702 do
47703 IFS=$as_save_IFS
47704 test -z "$as_dir" && as_dir=.
47705 for ac_exec_ext in '' $ac_executable_extensions; do
47706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47707 ac_cv_prog_ac_ct_STRIP="strip"
47708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47709 break 2
47710 fi
47711 done
47712 done
47713 IFS=$as_save_IFS
47714
47715 fi
47716 fi
47717 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47718 if test -n "$ac_ct_STRIP"; then
47719 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47720 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47721 else
47722 { echo "$as_me:$LINENO: result: no" >&5
47723 echo "${ECHO_T}no" >&6; }
47724 fi
47725
47726 if test "x$ac_ct_STRIP" = x; then
47727 STRIP=":"
47728 else
47729 case $cross_compiling:$ac_tool_warned in
47730 yes:)
47731 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47732 whose name does not start with the host triplet. If you think this
47733 configuration is useful to you, please write to autoconf@gnu.org." >&5
47734 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47735 whose name does not start with the host triplet. If you think this
47736 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47737 ac_tool_warned=yes ;;
47738 esac
47739 STRIP=$ac_ct_STRIP
47740 fi
47741 else
47742 STRIP="$ac_cv_prog_STRIP"
47743 fi
47744
47745 if test -n "$ac_tool_prefix"; then
47746 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47747 set dummy ${ac_tool_prefix}nm; ac_word=$2
47748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47750 if test "${ac_cv_prog_NM+set}" = set; then
47751 echo $ECHO_N "(cached) $ECHO_C" >&6
47752 else
47753 if test -n "$NM"; then
47754 ac_cv_prog_NM="$NM" # Let the user override the test.
47755 else
47756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47757 for as_dir in $PATH
47758 do
47759 IFS=$as_save_IFS
47760 test -z "$as_dir" && as_dir=.
47761 for ac_exec_ext in '' $ac_executable_extensions; do
47762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47763 ac_cv_prog_NM="${ac_tool_prefix}nm"
47764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47765 break 2
47766 fi
47767 done
47768 done
47769 IFS=$as_save_IFS
47770
47771 fi
47772 fi
47773 NM=$ac_cv_prog_NM
47774 if test -n "$NM"; then
47775 { echo "$as_me:$LINENO: result: $NM" >&5
47776 echo "${ECHO_T}$NM" >&6; }
47777 else
47778 { echo "$as_me:$LINENO: result: no" >&5
47779 echo "${ECHO_T}no" >&6; }
47780 fi
47781
47782
47783 fi
47784 if test -z "$ac_cv_prog_NM"; then
47785 ac_ct_NM=$NM
47786 # Extract the first word of "nm", so it can be a program name with args.
47787 set dummy nm; ac_word=$2
47788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47790 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47791 echo $ECHO_N "(cached) $ECHO_C" >&6
47792 else
47793 if test -n "$ac_ct_NM"; then
47794 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47795 else
47796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47797 for as_dir in $PATH
47798 do
47799 IFS=$as_save_IFS
47800 test -z "$as_dir" && as_dir=.
47801 for ac_exec_ext in '' $ac_executable_extensions; do
47802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47803 ac_cv_prog_ac_ct_NM="nm"
47804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47805 break 2
47806 fi
47807 done
47808 done
47809 IFS=$as_save_IFS
47810
47811 fi
47812 fi
47813 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47814 if test -n "$ac_ct_NM"; then
47815 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47816 echo "${ECHO_T}$ac_ct_NM" >&6; }
47817 else
47818 { echo "$as_me:$LINENO: result: no" >&5
47819 echo "${ECHO_T}no" >&6; }
47820 fi
47821
47822 if test "x$ac_ct_NM" = x; then
47823 NM=":"
47824 else
47825 case $cross_compiling:$ac_tool_warned in
47826 yes:)
47827 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47828 whose name does not start with the host triplet. If you think this
47829 configuration is useful to you, please write to autoconf@gnu.org." >&5
47830 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47831 whose name does not start with the host triplet. If you think this
47832 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47833 ac_tool_warned=yes ;;
47834 esac
47835 NM=$ac_ct_NM
47836 fi
47837 else
47838 NM="$ac_cv_prog_NM"
47839 fi
47840
47841
47842 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47843 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47844 INSTALL_TEST_DIR=acbftest$$
47845 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47846 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47847 rmdir $INSTALL_TEST_DIR
47848 INSTALL_DIR='$(INSTALL) -d'
47849 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47850 echo "${ECHO_T}$INSTALL -d" >&6; }
47851 else
47852 INSTALL_DIR="mkdir -p"
47853 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47854 echo "${ECHO_T}mkdir -p" >&6; }
47855 fi
47856
47857
47858 LDFLAGS_GUI=
47859 case ${BAKEFILE_HOST} in
47860 *-*-cygwin* | *-*-mingw32* )
47861 LDFLAGS_GUI="-mwindows"
47862 esac
47863
47864
47865 fi
47866
47867 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47868 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47869 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47870 echo $ECHO_N "(cached) $ECHO_C" >&6
47871 else
47872
47873 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47874 egrep -s GNU > /dev/null); then
47875 bakefile_cv_prog_makeisgnu="yes"
47876 else
47877 bakefile_cv_prog_makeisgnu="no"
47878 fi
47879
47880 fi
47881 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47882 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47883
47884 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47885 IF_GNU_MAKE=""
47886 else
47887 IF_GNU_MAKE="#"
47888 fi
47889
47890
47891
47892 PLATFORM_UNIX=0
47893 PLATFORM_WIN32=0
47894 PLATFORM_MSDOS=0
47895 PLATFORM_MAC=0
47896 PLATFORM_MACOS=0
47897 PLATFORM_MACOSX=0
47898 PLATFORM_OS2=0
47899 PLATFORM_BEOS=0
47900
47901 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47902 case "${BAKEFILE_HOST}" in
47903 *-*-mingw32* )
47904 PLATFORM_WIN32=1
47905 ;;
47906 *-pc-msdosdjgpp )
47907 PLATFORM_MSDOS=1
47908 ;;
47909 *-pc-os2_emx | *-pc-os2-emx )
47910 PLATFORM_OS2=1
47911 ;;
47912 *-*-darwin* )
47913 PLATFORM_MAC=1
47914 PLATFORM_MACOSX=1
47915 ;;
47916 *-*-beos* )
47917 PLATFORM_BEOS=1
47918 ;;
47919 powerpc-apple-macos* )
47920 PLATFORM_MAC=1
47921 PLATFORM_MACOS=1
47922 ;;
47923 * )
47924 PLATFORM_UNIX=1
47925 ;;
47926 esac
47927 else
47928 case "$BAKEFILE_FORCE_PLATFORM" in
47929 win32 )
47930 PLATFORM_WIN32=1
47931 ;;
47932 msdos )
47933 PLATFORM_MSDOS=1
47934 ;;
47935 os2 )
47936 PLATFORM_OS2=1
47937 ;;
47938 darwin )
47939 PLATFORM_MAC=1
47940 PLATFORM_MACOSX=1
47941 ;;
47942 unix )
47943 PLATFORM_UNIX=1
47944 ;;
47945 beos )
47946 PLATFORM_BEOS=1
47947 ;;
47948 * )
47949 ;;
47950 esac
47951 fi
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963 # Check whether --enable-omf was given.
47964 if test "${enable_omf+set}" = set; then
47965 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47966 fi
47967
47968
47969 case "${BAKEFILE_HOST}" in
47970 *-*-darwin* )
47971 if test "x$GCC" = "xyes"; then
47972 CFLAGS="$CFLAGS -fno-common"
47973 CXXFLAGS="$CXXFLAGS -fno-common"
47974 fi
47975 if test "x$XLCC" = "xyes"; then
47976 CFLAGS="$CFLAGS -qnocommon"
47977 CXXFLAGS="$CXXFLAGS -qnocommon"
47978 fi
47979 ;;
47980
47981 *-pc-os2_emx | *-pc-os2-emx )
47982 if test "x$bk_os2_use_omf" = "xyes" ; then
47983 AR=emxomfar
47984 RANLIB=:
47985 LDFLAGS="-Zomf $LDFLAGS"
47986 CFLAGS="-Zomf $CFLAGS"
47987 CXXFLAGS="-Zomf $CXXFLAGS"
47988 OS2_LIBEXT="lib"
47989 else
47990 OS2_LIBEXT="a"
47991 fi
47992 ;;
47993
47994 i*86-*-beos* )
47995 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47996 ;;
47997 esac
47998
47999
48000 SO_SUFFIX="so"
48001 SO_SUFFIX_MODULE="so"
48002 EXEEXT=""
48003 LIBPREFIX="lib"
48004 LIBEXT=".a"
48005 DLLPREFIX="lib"
48006 DLLPREFIX_MODULE=""
48007 DLLIMP_SUFFIX=""
48008 dlldir="$libdir"
48009
48010 case "${BAKEFILE_HOST}" in
48011 *-hp-hpux* )
48012 SO_SUFFIX="sl"
48013 SO_SUFFIX_MODULE="sl"
48014 ;;
48015 *-*-aix* )
48016 SO_SUFFIX="a"
48017 SO_SUFFIX_MODULE="a"
48018 ;;
48019 *-*-cygwin* )
48020 SO_SUFFIX="dll"
48021 SO_SUFFIX_MODULE="dll"
48022 DLLIMP_SUFFIX="dll.a"
48023 EXEEXT=".exe"
48024 DLLPREFIX="cyg"
48025 dlldir="$bindir"
48026 ;;
48027 *-*-mingw32* )
48028 SO_SUFFIX="dll"
48029 SO_SUFFIX_MODULE="dll"
48030 DLLIMP_SUFFIX="dll.a"
48031 EXEEXT=".exe"
48032 DLLPREFIX=""
48033 dlldir="$bindir"
48034 ;;
48035 *-pc-msdosdjgpp )
48036 EXEEXT=".exe"
48037 DLLPREFIX=""
48038 dlldir="$bindir"
48039 ;;
48040 *-pc-os2_emx | *-pc-os2-emx )
48041 SO_SUFFIX="dll"
48042 SO_SUFFIX_MODULE="dll"
48043 DLLIMP_SUFFIX=$OS2_LIBEXT
48044 EXEEXT=".exe"
48045 DLLPREFIX=""
48046 LIBPREFIX=""
48047 LIBEXT=".$OS2_LIBEXT"
48048 dlldir="$bindir"
48049 ;;
48050 *-*-darwin* )
48051 SO_SUFFIX="dylib"
48052 SO_SUFFIX_MODULE="bundle"
48053 ;;
48054 esac
48055
48056 if test "x$DLLIMP_SUFFIX" = "x" ; then
48057 DLLIMP_SUFFIX="$SO_SUFFIX"
48058 fi
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071 PIC_FLAG=""
48072 if test "x$GCC" = "xyes"; then
48073 PIC_FLAG="-fPIC"
48074 fi
48075
48076 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48077 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48078 WINDOWS_IMPLIB=0
48079
48080 case "${BAKEFILE_HOST}" in
48081 *-hp-hpux* )
48082 if test "x$GCC" != "xyes"; then
48083 LDFLAGS="$LDFLAGS -L/usr/lib"
48084
48085 SHARED_LD_CC="${CC} -b -o"
48086 SHARED_LD_CXX="${CXX} -b -o"
48087 PIC_FLAG="+Z"
48088 fi
48089 ;;
48090
48091 *-*-linux* )
48092 if test "$INTELCC" = "yes"; then
48093 PIC_FLAG="-KPIC"
48094 elif test "x$SUNCXX" = "xyes"; then
48095 SHARED_LD_CC="${CC} -G -o"
48096 SHARED_LD_CXX="${CXX} -G -o"
48097 PIC_FLAG="-KPIC"
48098 fi
48099 ;;
48100
48101 *-*-solaris2* )
48102 if test "x$SUNCXX" = xyes ; then
48103 SHARED_LD_CC="${CC} -G -o"
48104 SHARED_LD_CXX="${CXX} -G -o"
48105 PIC_FLAG="-KPIC"
48106 fi
48107 ;;
48108
48109 *-*-darwin* )
48110
48111 D='$'
48112 cat <<EOF >shared-ld-sh
48113 #!/bin/sh
48114 #-----------------------------------------------------------------------------
48115 #-- Name: distrib/mac/shared-ld-sh
48116 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48117 #-- Author: Gilles Depeyrot
48118 #-- Copyright: (c) 2002 Gilles Depeyrot
48119 #-- Licence: any use permitted
48120 #-----------------------------------------------------------------------------
48121
48122 verbose=0
48123 args=""
48124 objects=""
48125 linking_flag="-dynamiclib"
48126 ldargs="-r -keep_private_externs -nostdlib"
48127
48128 if test "x${D}CXX" = "x"; then
48129 CXX="c++"
48130 fi
48131
48132 while test ${D}# -gt 0; do
48133 case ${D}1 in
48134
48135 -v)
48136 verbose=1
48137 ;;
48138
48139 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48140 # collect these options and values
48141 args="${D}{args} ${D}1 ${D}2"
48142 shift
48143 ;;
48144
48145 -arch|-isysroot)
48146 # collect these options and values
48147 ldargs="${D}{ldargs} ${D}1 ${D}2"
48148 shift
48149 ;;
48150
48151 -s|-Wl,*)
48152 # collect these load args
48153 ldargs="${D}{ldargs} ${D}1"
48154 ;;
48155
48156 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48157 # collect these options
48158 args="${D}{args} ${D}1"
48159 ;;
48160
48161 -dynamiclib|-bundle)
48162 linking_flag="${D}1"
48163 ;;
48164
48165 -*)
48166 echo "shared-ld: unhandled option '${D}1'"
48167 exit 1
48168 ;;
48169
48170 *.o | *.a | *.dylib)
48171 # collect object files
48172 objects="${D}{objects} ${D}1"
48173 ;;
48174
48175 *)
48176 echo "shared-ld: unhandled argument '${D}1'"
48177 exit 1
48178 ;;
48179
48180 esac
48181 shift
48182 done
48183
48184 status=0
48185
48186 #
48187 # Link one module containing all the others
48188 #
48189 if test ${D}{verbose} = 1; then
48190 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48191 fi
48192 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48193 status=${D}?
48194
48195 #
48196 # Link the shared library from the single module created, but only if the
48197 # previous command didn't fail:
48198 #
48199 if test ${D}{status} = 0; then
48200 if test ${D}{verbose} = 1; then
48201 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48202 fi
48203 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48204 status=${D}?
48205 fi
48206
48207 #
48208 # Remove intermediate module
48209 #
48210 rm -f master.${D}${D}.o
48211
48212 exit ${D}status
48213 EOF
48214
48215 chmod +x shared-ld-sh
48216
48217 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48218 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48219
48220
48221 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48222 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48223 if test "${bakefile_cv_gcc31+set}" = set; then
48224 echo $ECHO_N "(cached) $ECHO_C" >&6
48225 else
48226
48227 cat >conftest.$ac_ext <<_ACEOF
48228 /* confdefs.h. */
48229 _ACEOF
48230 cat confdefs.h >>conftest.$ac_ext
48231 cat >>conftest.$ac_ext <<_ACEOF
48232 /* end confdefs.h. */
48233
48234 int
48235 main ()
48236 {
48237
48238 #if (__GNUC__ < 3) || \
48239 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48240 This is old gcc
48241 #endif
48242
48243 ;
48244 return 0;
48245 }
48246 _ACEOF
48247 rm -f conftest.$ac_objext
48248 if { (ac_try="$ac_compile"
48249 case "(($ac_try" in
48250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48251 *) ac_try_echo=$ac_try;;
48252 esac
48253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48254 (eval "$ac_compile") 2>conftest.er1
48255 ac_status=$?
48256 grep -v '^ *+' conftest.er1 >conftest.err
48257 rm -f conftest.er1
48258 cat conftest.err >&5
48259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260 (exit $ac_status); } && {
48261 test -z "$ac_c_werror_flag" ||
48262 test ! -s conftest.err
48263 } && test -s conftest.$ac_objext; then
48264
48265 bakefile_cv_gcc31=yes
48266
48267 else
48268 echo "$as_me: failed program was:" >&5
48269 sed 's/^/| /' conftest.$ac_ext >&5
48270
48271
48272 bakefile_cv_gcc31=no
48273
48274
48275 fi
48276
48277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48278
48279 fi
48280 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48281 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48282 if test "$bakefile_cv_gcc31" = "no"; then
48283 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48284 SHARED_LD_CXX="$SHARED_LD_CC"
48285 else
48286 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48287 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48288 fi
48289
48290 if test "x$GCC" == "xyes"; then
48291 PIC_FLAG="-dynamic -fPIC"
48292 fi
48293 if test "x$XLCC" = "xyes"; then
48294 PIC_FLAG="-dynamic -DPIC"
48295 fi
48296 ;;
48297
48298 *-*-aix* )
48299 if test "x$GCC" = "xyes"; then
48300 PIC_FLAG=""
48301
48302 case "${BAKEFILE_HOST}" in
48303 *-*-aix5* )
48304 LD_EXPFULL="-Wl,-bexpfull"
48305 ;;
48306 esac
48307
48308 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48309 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48310 else
48311 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48312 set dummy makeC++SharedLib; ac_word=$2
48313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48315 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48316 echo $ECHO_N "(cached) $ECHO_C" >&6
48317 else
48318 if test -n "$AIX_CXX_LD"; then
48319 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48320 else
48321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48322 for as_dir in $PATH
48323 do
48324 IFS=$as_save_IFS
48325 test -z "$as_dir" && as_dir=.
48326 for ac_exec_ext in '' $ac_executable_extensions; do
48327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48328 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48330 break 2
48331 fi
48332 done
48333 done
48334 IFS=$as_save_IFS
48335
48336 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48337 fi
48338 fi
48339 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48340 if test -n "$AIX_CXX_LD"; then
48341 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48342 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48343 else
48344 { echo "$as_me:$LINENO: result: no" >&5
48345 echo "${ECHO_T}no" >&6; }
48346 fi
48347
48348
48349 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48350 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48351 fi
48352 ;;
48353
48354 *-*-beos* )
48355 SHARED_LD_CC="${LD} -nostart -o"
48356 SHARED_LD_CXX="${LD} -nostart -o"
48357 ;;
48358
48359 *-*-irix* )
48360 if test "x$GCC" != "xyes"; then
48361 PIC_FLAG="-KPIC"
48362 fi
48363 ;;
48364
48365 *-*-cygwin* | *-*-mingw32* )
48366 PIC_FLAG=""
48367 SHARED_LD_CC="\$(CC) -shared -o"
48368 SHARED_LD_CXX="\$(CXX) -shared -o"
48369 WINDOWS_IMPLIB=1
48370 ;;
48371
48372 *-pc-os2_emx | *-pc-os2-emx )
48373 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48374 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48375 PIC_FLAG=""
48376
48377 D='$'
48378 cat <<EOF >dllar.sh
48379 #!/bin/sh
48380 #
48381 # dllar - a tool to build both a .dll and an .a file
48382 # from a set of object (.o) files for EMX/OS2.
48383 #
48384 # Written by Andrew Zabolotny, bit@freya.etu.ru
48385 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48386 #
48387 # This script will accept a set of files on the command line.
48388 # All the public symbols from the .o files will be exported into
48389 # a .DEF file, then linker will be run (through gcc) against them to
48390 # build a shared library consisting of all given .o files. All libraries
48391 # (.a) will be first decompressed into component .o files then act as
48392 # described above. You can optionally give a description (-d "description")
48393 # which will be put into .DLL. To see the list of accepted options (as well
48394 # as command-line format) simply run this program without options. The .DLL
48395 # is built to be imported by name (there is no guarantee that new versions
48396 # of the library you build will have same ordinals for same symbols).
48397 #
48398 # dllar is free software; you can redistribute it and/or modify
48399 # it under the terms of the GNU General Public License as published by
48400 # the Free Software Foundation; either version 2, or (at your option)
48401 # any later version.
48402 #
48403 # dllar is distributed in the hope that it will be useful,
48404 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48405 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48406 # GNU General Public License for more details.
48407 #
48408 # You should have received a copy of the GNU General Public License
48409 # along with dllar; see the file COPYING. If not, write to the Free
48410 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48411 # 02111-1307, USA.
48412
48413 # To successfuly run this program you will need:
48414 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48415 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48416 # - gcc
48417 # (used to build the .dll)
48418 # - emxexp
48419 # (used to create .def file from .o files)
48420 # - emximp
48421 # (used to create .a file from .def file)
48422 # - GNU text utilites (cat, sort, uniq)
48423 # used to process emxexp output
48424 # - GNU file utilities (mv, rm)
48425 # - GNU sed
48426 # - lxlite (optional, see flag below)
48427 # (used for general .dll cleanup)
48428 #
48429
48430 flag_USE_LXLITE=1;
48431
48432 #
48433 # helper functions
48434 # basnam, variant of basename, which does _not_ remove the path, _iff_
48435 # second argument (suffix to remove) is given
48436 basnam(){
48437 case ${D}# in
48438 1)
48439 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48440 ;;
48441 2)
48442 echo ${D}1 | sed 's/'${D}2'${D}//'
48443 ;;
48444 *)
48445 echo "error in basnam ${D}*"
48446 exit 8
48447 ;;
48448 esac
48449 }
48450
48451 # Cleanup temporary files and output
48452 CleanUp() {
48453 cd ${D}curDir
48454 for i in ${D}inputFiles ; do
48455 case ${D}i in
48456 *!)
48457 rm -rf \`basnam ${D}i !\`
48458 ;;
48459 *)
48460 ;;
48461 esac
48462 done
48463
48464 # Kill result in case of failure as there is just to many stupid make/nmake
48465 # things out there which doesn't do this.
48466 if [ ${D}# -eq 0 ]; then
48467 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48468 fi
48469 }
48470
48471 # Print usage and exit script with rc=1.
48472 PrintHelp() {
48473 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48474 echo ' [-name-mangler-script script.sh]'
48475 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48476 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48477 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48478 echo ' [*.o] [*.a]'
48479 echo '*> "output_file" should have no extension.'
48480 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48481 echo ' The import library name is derived from this and is set to "name".a,'
48482 echo ' unless overridden by -import'
48483 echo '*> "importlib_name" should have no extension.'
48484 echo ' If it has the .o, or .a extension, it is automatically removed.'
48485 echo ' This name is used as the import library name and may be longer and'
48486 echo ' more descriptive than the DLL name which has to follow the old '
48487 echo ' 8.3 convention of FAT.'
48488 echo '*> "script.sh may be given to override the output_file name by a'
48489 echo ' different name. It is mainly useful if the regular make process'
48490 echo ' of some package does not take into account OS/2 restriction of'
48491 echo ' DLL name lengths. It takes the importlib name as input and is'
48492 echo ' supposed to procude a shorter name as output. The script should'
48493 echo ' expect to get importlib_name without extension and should produce'
48494 echo ' a (max.) 8 letter name without extension.'
48495 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48496 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48497 echo ' These flags will be put at the start of GCC command line.'
48498 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48499 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48500 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48501 echo ' If the last character of a symbol is "*", all symbols beginning'
48502 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48503 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48504 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48505 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48506 echo ' C runtime DLLs.'
48507 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48508 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48509 echo ' unchanged to GCC at the end of command line.'
48510 echo '*> If you create a DLL from a library and you do not specify -o,'
48511 echo ' the basename for DLL and import library will be set to library name,'
48512 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48513 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48514 echo ' library will be renamed into gcc_s.a.'
48515 echo '--------'
48516 echo 'Example:'
48517 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48518 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48519 CleanUp
48520 exit 1
48521 }
48522
48523 # Execute a command.
48524 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48525 # @Uses Whatever CleanUp() uses.
48526 doCommand() {
48527 echo "${D}*"
48528 eval ${D}*
48529 rcCmd=${D}?
48530
48531 if [ ${D}rcCmd -ne 0 ]; then
48532 echo "command failed, exit code="${D}rcCmd
48533 CleanUp
48534 exit ${D}rcCmd
48535 fi
48536 }
48537
48538 # main routine
48539 # setup globals
48540 cmdLine=${D}*
48541 outFile=""
48542 outimpFile=""
48543 inputFiles=""
48544 renameScript=""
48545 description=""
48546 CC=gcc.exe
48547 CFLAGS="-s -Zcrtdll"
48548 EXTRA_CFLAGS=""
48549 EXPORT_BY_ORDINALS=0
48550 exclude_symbols=""
48551 library_flags=""
48552 curDir=\`pwd\`
48553 curDirS=curDir
48554 case ${D}curDirS in
48555 */)
48556 ;;
48557 *)
48558 curDirS=${D}{curDirS}"/"
48559 ;;
48560 esac
48561 # Parse commandline
48562 libsToLink=0
48563 omfLinking=0
48564 while [ ${D}1 ]; do
48565 case ${D}1 in
48566 -ord*)
48567 EXPORT_BY_ORDINALS=1;
48568 ;;
48569 -o*)
48570 shift
48571 outFile=${D}1
48572 ;;
48573 -i*)
48574 shift
48575 outimpFile=${D}1
48576 ;;
48577 -name-mangler-script)
48578 shift
48579 renameScript=${D}1
48580 ;;
48581 -d*)
48582 shift
48583 description=${D}1
48584 ;;
48585 -f*)
48586 shift
48587 CFLAGS=${D}1
48588 ;;
48589 -c*)
48590 shift
48591 CC=${D}1
48592 ;;
48593 -h*)
48594 PrintHelp
48595 ;;
48596 -ex*)
48597 shift
48598 exclude_symbols=${D}{exclude_symbols}${D}1" "
48599 ;;
48600 -libf*)
48601 shift
48602 library_flags=${D}{library_flags}${D}1" "
48603 ;;
48604 -nocrt*)
48605 CFLAGS="-s"
48606 ;;
48607 -nolxl*)
48608 flag_USE_LXLITE=0
48609 ;;
48610 -* | /*)
48611 case ${D}1 in
48612 -L* | -l*)
48613 libsToLink=1
48614 ;;
48615 -Zomf)
48616 omfLinking=1
48617 ;;
48618 *)
48619 ;;
48620 esac
48621 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48622 ;;
48623 *.dll)
48624 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48625 if [ ${D}omfLinking -eq 1 ]; then
48626 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48627 else
48628 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48629 fi
48630 ;;
48631 *)
48632 found=0;
48633 if [ ${D}libsToLink -ne 0 ]; then
48634 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48635 else
48636 for file in ${D}1 ; do
48637 if [ -f ${D}file ]; then
48638 inputFiles="${D}{inputFiles} ${D}file"
48639 found=1
48640 fi
48641 done
48642 if [ ${D}found -eq 0 ]; then
48643 echo "ERROR: No file(s) found: "${D}1
48644 exit 8
48645 fi
48646 fi
48647 ;;
48648 esac
48649 shift
48650 done # iterate cmdline words
48651
48652 #
48653 if [ -z "${D}inputFiles" ]; then
48654 echo "dllar: no input files"
48655 PrintHelp
48656 fi
48657
48658 # Now extract all .o files from .a files
48659 newInputFiles=""
48660 for file in ${D}inputFiles ; do
48661 case ${D}file in
48662 *.a | *.lib)
48663 case ${D}file in
48664 *.a)
48665 suffix=".a"
48666 AR="ar"
48667 ;;
48668 *.lib)
48669 suffix=".lib"
48670 AR="emxomfar"
48671 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48672 ;;
48673 *)
48674 ;;
48675 esac
48676 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48677 mkdir ${D}dirname
48678 if [ ${D}? -ne 0 ]; then
48679 echo "Failed to create subdirectory ./${D}dirname"
48680 CleanUp
48681 exit 8;
48682 fi
48683 # Append '!' to indicate archive
48684 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48685 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48686 cd ${D}curDir
48687 found=0;
48688 for subfile in ${D}dirname/*.o* ; do
48689 if [ -f ${D}subfile ]; then
48690 found=1
48691 if [ -s ${D}subfile ]; then
48692 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48693 newInputFiles="${D}newInputFiles ${D}subfile"
48694 fi
48695 fi
48696 done
48697 if [ ${D}found -eq 0 ]; then
48698 echo "WARNING: there are no files in archive \\'${D}file\\'"
48699 fi
48700 ;;
48701 *)
48702 newInputFiles="${D}{newInputFiles} ${D}file"
48703 ;;
48704 esac
48705 done
48706 inputFiles="${D}newInputFiles"
48707
48708 # Output filename(s).
48709 do_backup=0;
48710 if [ -z ${D}outFile ]; then
48711 do_backup=1;
48712 set outFile ${D}inputFiles; outFile=${D}2
48713 fi
48714
48715 # If it is an archive, remove the '!' and the '_%' suffixes
48716 case ${D}outFile in
48717 *_%!)
48718 outFile=\`basnam ${D}outFile _%!\`
48719 ;;
48720 *)
48721 ;;
48722 esac
48723 case ${D}outFile in
48724 *.dll)
48725 outFile=\`basnam ${D}outFile .dll\`
48726 ;;
48727 *.DLL)
48728 outFile=\`basnam ${D}outFile .DLL\`
48729 ;;
48730 *.o)
48731 outFile=\`basnam ${D}outFile .o\`
48732 ;;
48733 *.obj)
48734 outFile=\`basnam ${D}outFile .obj\`
48735 ;;
48736 *.a)
48737 outFile=\`basnam ${D}outFile .a\`
48738 ;;
48739 *.lib)
48740 outFile=\`basnam ${D}outFile .lib\`
48741 ;;
48742 *)
48743 ;;
48744 esac
48745 case ${D}outimpFile in
48746 *.a)
48747 outimpFile=\`basnam ${D}outimpFile .a\`
48748 ;;
48749 *.lib)
48750 outimpFile=\`basnam ${D}outimpFile .lib\`
48751 ;;
48752 *)
48753 ;;
48754 esac
48755 if [ -z ${D}outimpFile ]; then
48756 outimpFile=${D}outFile
48757 fi
48758 defFile="${D}{outFile}.def"
48759 arcFile="${D}{outimpFile}.a"
48760 arcFile2="${D}{outimpFile}.lib"
48761
48762 #create ${D}dllFile as something matching 8.3 restrictions,
48763 if [ -z ${D}renameScript ] ; then
48764 dllFile="${D}outFile"
48765 else
48766 dllFile=\`${D}renameScript ${D}outimpFile\`
48767 fi
48768
48769 if [ ${D}do_backup -ne 0 ] ; then
48770 if [ -f ${D}arcFile ] ; then
48771 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48772 fi
48773 if [ -f ${D}arcFile2 ] ; then
48774 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48775 fi
48776 fi
48777
48778 # Extract public symbols from all the object files.
48779 tmpdefFile=${D}{defFile}_%
48780 rm -f ${D}tmpdefFile
48781 for file in ${D}inputFiles ; do
48782 case ${D}file in
48783 *!)
48784 ;;
48785 *)
48786 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48787 ;;
48788 esac
48789 done
48790
48791 # Create the def file.
48792 rm -f ${D}defFile
48793 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48794 dllFile="${D}{dllFile}.dll"
48795 if [ ! -z ${D}description ]; then
48796 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48797 fi
48798 echo "EXPORTS" >> ${D}defFile
48799
48800 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48801 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48802
48803 # Checks if the export is ok or not.
48804 for word in ${D}exclude_symbols; do
48805 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48806 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48807 done
48808
48809
48810 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48811 sed "=" < ${D}tmpdefFile | \\
48812 sed '
48813 N
48814 : loop
48815 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48816 t loop
48817 ' > ${D}{tmpdefFile}%
48818 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48819 else
48820 rm -f ${D}{tmpdefFile}%
48821 fi
48822 cat ${D}tmpdefFile >> ${D}defFile
48823 rm -f ${D}tmpdefFile
48824
48825 # Do linking, create implib, and apply lxlite.
48826 gccCmdl="";
48827 for file in ${D}inputFiles ; do
48828 case ${D}file in
48829 *!)
48830 ;;
48831 *)
48832 gccCmdl="${D}gccCmdl ${D}file"
48833 ;;
48834 esac
48835 done
48836 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48837 touch "${D}{outFile}.dll"
48838
48839 doCommand "emximp -o ${D}arcFile ${D}defFile"
48840 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48841 add_flags="";
48842 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48843 add_flags="-ynd"
48844 fi
48845 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48846 fi
48847 doCommand "emxomf -s -l ${D}arcFile"
48848
48849 # Successful exit.
48850 CleanUp 1
48851 exit 0
48852 EOF
48853
48854 chmod +x dllar.sh
48855 ;;
48856
48857 powerpc-apple-macos* | \
48858 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48859 *-*-mirbsd* | \
48860 *-*-sunos4* | \
48861 *-*-osf* | \
48862 *-*-dgux5* | \
48863 *-*-sysv5* | \
48864 *-pc-msdosdjgpp )
48865 ;;
48866
48867 *)
48868 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48869 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48870 { (exit 1); exit 1; }; }
48871 esac
48872
48873 if test "x$PIC_FLAG" != "x" ; then
48874 PIC_FLAG="$PIC_FLAG -DPIC"
48875 fi
48876
48877 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48878 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48879 fi
48880 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48881 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48882 fi
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892 USE_SOVERSION=0
48893 USE_SOVERLINUX=0
48894 USE_SOVERSOLARIS=0
48895 USE_SOVERCYGWIN=0
48896 USE_SOSYMLINKS=0
48897 USE_MACVERSION=0
48898 SONAME_FLAG=
48899
48900 case "${BAKEFILE_HOST}" in
48901 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48902 *-*-k*bsd*-gnu | *-*-mirbsd* )
48903 if test "x$SUNCXX" = "xyes"; then
48904 SONAME_FLAG="-h "
48905 else
48906 SONAME_FLAG="-Wl,-soname,"
48907 fi
48908 USE_SOVERSION=1
48909 USE_SOVERLINUX=1
48910 USE_SOSYMLINKS=1
48911 ;;
48912
48913 *-*-solaris2* )
48914 SONAME_FLAG="-h "
48915 USE_SOVERSION=1
48916 USE_SOVERSOLARIS=1
48917 USE_SOSYMLINKS=1
48918 ;;
48919
48920 *-*-darwin* )
48921 USE_MACVERSION=1
48922 USE_SOVERSION=1
48923 USE_SOSYMLINKS=1
48924 ;;
48925
48926 *-*-cygwin* )
48927 USE_SOVERSION=1
48928 USE_SOVERCYGWIN=1
48929 ;;
48930 esac
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941 # Check whether --enable-dependency-tracking was given.
48942 if test "${enable_dependency_tracking+set}" = set; then
48943 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48944 fi
48945
48946
48947 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48948 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48949
48950 BK_DEPS=""
48951 if test "x$bk_use_trackdeps" = "xno" ; then
48952 DEPS_TRACKING=0
48953 { echo "$as_me:$LINENO: result: disabled" >&5
48954 echo "${ECHO_T}disabled" >&6; }
48955 else
48956 DEPS_TRACKING=1
48957
48958 if test "x$GCC" = "xyes"; then
48959 DEPSMODE=gcc
48960 case "${BAKEFILE_HOST}" in
48961 *-*-darwin* )
48962 DEPSFLAG="-no-cpp-precomp -MMD"
48963 ;;
48964 * )
48965 DEPSFLAG="-MMD"
48966 ;;
48967 esac
48968 { echo "$as_me:$LINENO: result: gcc" >&5
48969 echo "${ECHO_T}gcc" >&6; }
48970 elif test "x$MWCC" = "xyes"; then
48971 DEPSMODE=mwcc
48972 DEPSFLAG="-MM"
48973 { echo "$as_me:$LINENO: result: mwcc" >&5
48974 echo "${ECHO_T}mwcc" >&6; }
48975 elif test "x$SUNCC" = "xyes"; then
48976 DEPSMODE=unixcc
48977 DEPSFLAG="-xM1"
48978 { echo "$as_me:$LINENO: result: Sun cc" >&5
48979 echo "${ECHO_T}Sun cc" >&6; }
48980 elif test "x$SGICC" = "xyes"; then
48981 DEPSMODE=unixcc
48982 DEPSFLAG="-M"
48983 { echo "$as_me:$LINENO: result: SGI cc" >&5
48984 echo "${ECHO_T}SGI cc" >&6; }
48985 elif test "x$HPCC" = "xyes"; then
48986 DEPSMODE=unixcc
48987 DEPSFLAG="+make"
48988 { echo "$as_me:$LINENO: result: HP cc" >&5
48989 echo "${ECHO_T}HP cc" >&6; }
48990 elif test "x$COMPAQCC" = "xyes"; then
48991 DEPSMODE=gcc
48992 DEPSFLAG="-MD"
48993 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48994 echo "${ECHO_T}Compaq cc" >&6; }
48995 else
48996 DEPS_TRACKING=0
48997 { echo "$as_me:$LINENO: result: none" >&5
48998 echo "${ECHO_T}none" >&6; }
48999 fi
49000
49001 if test $DEPS_TRACKING = 1 ; then
49002
49003 D='$'
49004 cat <<EOF >bk-deps
49005 #!/bin/sh
49006
49007 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49008 # script. It is used to track C/C++ files dependencies in portable way.
49009 #
49010 # Permission is given to use this file in any way.
49011
49012 DEPSMODE=${DEPSMODE}
49013 DEPSDIR=.deps
49014 DEPSFLAG="${DEPSFLAG}"
49015
49016 mkdir -p ${D}DEPSDIR
49017
49018 if test ${D}DEPSMODE = gcc ; then
49019 ${D}* ${D}{DEPSFLAG}
49020 status=${D}?
49021
49022 # determine location of created files:
49023 while test ${D}# -gt 0; do
49024 case "${D}1" in
49025 -o )
49026 shift
49027 objfile=${D}1
49028 ;;
49029 -* )
49030 ;;
49031 * )
49032 srcfile=${D}1
49033 ;;
49034 esac
49035 shift
49036 done
49037 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49038 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49039
49040 # if the compiler failed, we're done:
49041 if test ${D}{status} != 0 ; then
49042 rm -f ${D}depfile
49043 exit ${D}{status}
49044 fi
49045
49046 # move created file to the location we want it in:
49047 if test -f ${D}depfile ; then
49048 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49049 rm -f ${D}depfile
49050 else
49051 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49052 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49053 if test ! -f ${D}depfile ; then
49054 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49055 depfile="${D}objfile.d"
49056 fi
49057 if test -f ${D}depfile ; then
49058 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49059 rm -f ${D}depfile
49060 fi
49061 fi
49062 exit 0
49063 elif test ${D}DEPSMODE = mwcc ; then
49064 ${D}* || exit ${D}?
49065 # Run mwcc again with -MM and redirect into the dep file we want
49066 # NOTE: We can't use shift here because we need ${D}* to be valid
49067 prevarg=
49068 for arg in ${D}* ; do
49069 if test "${D}prevarg" = "-o"; then
49070 objfile=${D}arg
49071 else
49072 case "${D}arg" in
49073 -* )
49074 ;;
49075 * )
49076 srcfile=${D}arg
49077 ;;
49078 esac
49079 fi
49080 prevarg="${D}arg"
49081 done
49082 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49083 exit 0
49084 elif test ${D}DEPSMODE = unixcc; then
49085 ${D}* || exit ${D}?
49086 # Run compiler again with deps flag and redirect into the dep file.
49087 # It doesn't work if the '-o FILE' option is used, but without it the
49088 # dependency file will contain the wrong name for the object. So it is
49089 # removed from the command line, and the dep file is fixed with sed.
49090 cmd=""
49091 while test ${D}# -gt 0; do
49092 case "${D}1" in
49093 -o )
49094 shift
49095 objfile=${D}1
49096 ;;
49097 * )
49098 eval arg${D}#=\\${D}1
49099 cmd="${D}cmd \\${D}arg${D}#"
49100 ;;
49101 esac
49102 shift
49103 done
49104 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49105 exit 0
49106 else
49107 ${D}*
49108 exit ${D}?
49109 fi
49110 EOF
49111
49112 chmod +x bk-deps
49113 BK_DEPS="`pwd`/bk-deps"
49114 fi
49115 fi
49116
49117
49118
49119
49120
49121 case ${BAKEFILE_HOST} in
49122 *-*-cygwin* | *-*-mingw32* )
49123 if test -n "$ac_tool_prefix"; then
49124 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49125 set dummy ${ac_tool_prefix}windres; ac_word=$2
49126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49128 if test "${ac_cv_prog_WINDRES+set}" = set; then
49129 echo $ECHO_N "(cached) $ECHO_C" >&6
49130 else
49131 if test -n "$WINDRES"; then
49132 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49133 else
49134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49135 for as_dir in $PATH
49136 do
49137 IFS=$as_save_IFS
49138 test -z "$as_dir" && as_dir=.
49139 for ac_exec_ext in '' $ac_executable_extensions; do
49140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49141 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49143 break 2
49144 fi
49145 done
49146 done
49147 IFS=$as_save_IFS
49148
49149 fi
49150 fi
49151 WINDRES=$ac_cv_prog_WINDRES
49152 if test -n "$WINDRES"; then
49153 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49154 echo "${ECHO_T}$WINDRES" >&6; }
49155 else
49156 { echo "$as_me:$LINENO: result: no" >&5
49157 echo "${ECHO_T}no" >&6; }
49158 fi
49159
49160
49161 fi
49162 if test -z "$ac_cv_prog_WINDRES"; then
49163 ac_ct_WINDRES=$WINDRES
49164 # Extract the first word of "windres", so it can be a program name with args.
49165 set dummy windres; ac_word=$2
49166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49168 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49169 echo $ECHO_N "(cached) $ECHO_C" >&6
49170 else
49171 if test -n "$ac_ct_WINDRES"; then
49172 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49173 else
49174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49175 for as_dir in $PATH
49176 do
49177 IFS=$as_save_IFS
49178 test -z "$as_dir" && as_dir=.
49179 for ac_exec_ext in '' $ac_executable_extensions; do
49180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49181 ac_cv_prog_ac_ct_WINDRES="windres"
49182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49183 break 2
49184 fi
49185 done
49186 done
49187 IFS=$as_save_IFS
49188
49189 fi
49190 fi
49191 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49192 if test -n "$ac_ct_WINDRES"; then
49193 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49194 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49195 else
49196 { echo "$as_me:$LINENO: result: no" >&5
49197 echo "${ECHO_T}no" >&6; }
49198 fi
49199
49200 if test "x$ac_ct_WINDRES" = x; then
49201 WINDRES=""
49202 else
49203 case $cross_compiling:$ac_tool_warned in
49204 yes:)
49205 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49206 whose name does not start with the host triplet. If you think this
49207 configuration is useful to you, please write to autoconf@gnu.org." >&5
49208 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49209 whose name does not start with the host triplet. If you think this
49210 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49211 ac_tool_warned=yes ;;
49212 esac
49213 WINDRES=$ac_ct_WINDRES
49214 fi
49215 else
49216 WINDRES="$ac_cv_prog_WINDRES"
49217 fi
49218
49219 ;;
49220
49221 *-*-darwin* | powerpc-apple-macos* )
49222 # Extract the first word of "Rez", so it can be a program name with args.
49223 set dummy Rez; ac_word=$2
49224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49226 if test "${ac_cv_prog_REZ+set}" = set; then
49227 echo $ECHO_N "(cached) $ECHO_C" >&6
49228 else
49229 if test -n "$REZ"; then
49230 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49231 else
49232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49233 for as_dir in $PATH
49234 do
49235 IFS=$as_save_IFS
49236 test -z "$as_dir" && as_dir=.
49237 for ac_exec_ext in '' $ac_executable_extensions; do
49238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49239 ac_cv_prog_REZ="Rez"
49240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49241 break 2
49242 fi
49243 done
49244 done
49245 IFS=$as_save_IFS
49246
49247 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49248 fi
49249 fi
49250 REZ=$ac_cv_prog_REZ
49251 if test -n "$REZ"; then
49252 { echo "$as_me:$LINENO: result: $REZ" >&5
49253 echo "${ECHO_T}$REZ" >&6; }
49254 else
49255 { echo "$as_me:$LINENO: result: no" >&5
49256 echo "${ECHO_T}no" >&6; }
49257 fi
49258
49259
49260 # Extract the first word of "SetFile", so it can be a program name with args.
49261 set dummy SetFile; ac_word=$2
49262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49264 if test "${ac_cv_prog_SETFILE+set}" = set; then
49265 echo $ECHO_N "(cached) $ECHO_C" >&6
49266 else
49267 if test -n "$SETFILE"; then
49268 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49269 else
49270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49271 for as_dir in $PATH
49272 do
49273 IFS=$as_save_IFS
49274 test -z "$as_dir" && as_dir=.
49275 for ac_exec_ext in '' $ac_executable_extensions; do
49276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49277 ac_cv_prog_SETFILE="SetFile"
49278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49279 break 2
49280 fi
49281 done
49282 done
49283 IFS=$as_save_IFS
49284
49285 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49286 fi
49287 fi
49288 SETFILE=$ac_cv_prog_SETFILE
49289 if test -n "$SETFILE"; then
49290 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49291 echo "${ECHO_T}$SETFILE" >&6; }
49292 else
49293 { echo "$as_me:$LINENO: result: no" >&5
49294 echo "${ECHO_T}no" >&6; }
49295 fi
49296
49297
49298 ;;
49299 esac
49300
49301
49302
49303
49304
49305
49306 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49307
49308
49309 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.4"
49310
49311
49312
49313 # Check whether --enable-precomp-headers was given.
49314 if test "${enable_precomp_headers+set}" = set; then
49315 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49316 fi
49317
49318
49319 GCC_PCH=0
49320 ICC_PCH=0
49321 USE_PCH=0
49322 BK_MAKE_PCH=""
49323
49324 case ${BAKEFILE_HOST} in
49325 *-*-cygwin* )
49326 bk_use_pch="no"
49327 ;;
49328 esac
49329
49330 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49331 if test "x$GCC" = "xyes"; then
49332 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49333 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49334 cat >conftest.$ac_ext <<_ACEOF
49335 /* confdefs.h. */
49336 _ACEOF
49337 cat confdefs.h >>conftest.$ac_ext
49338 cat >>conftest.$ac_ext <<_ACEOF
49339 /* end confdefs.h. */
49340
49341 int
49342 main ()
49343 {
49344
49345 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49346 There is no PCH support
49347 #endif
49348 #if (__GNUC__ < 3)
49349 There is no PCH support
49350 #endif
49351 #if (__GNUC__ == 3) && \
49352 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49353 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49354 ( defined(__INTEL_COMPILER) )
49355 There is no PCH support
49356 #endif
49357
49358 ;
49359 return 0;
49360 }
49361 _ACEOF
49362 rm -f conftest.$ac_objext
49363 if { (ac_try="$ac_compile"
49364 case "(($ac_try" in
49365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49366 *) ac_try_echo=$ac_try;;
49367 esac
49368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49369 (eval "$ac_compile") 2>conftest.er1
49370 ac_status=$?
49371 grep -v '^ *+' conftest.er1 >conftest.err
49372 rm -f conftest.er1
49373 cat conftest.err >&5
49374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 (exit $ac_status); } && {
49376 test -z "$ac_c_werror_flag" ||
49377 test ! -s conftest.err
49378 } && test -s conftest.$ac_objext; then
49379
49380 { echo "$as_me:$LINENO: result: yes" >&5
49381 echo "${ECHO_T}yes" >&6; }
49382 GCC_PCH=1
49383
49384 else
49385 echo "$as_me: failed program was:" >&5
49386 sed 's/^/| /' conftest.$ac_ext >&5
49387
49388
49389 cat >conftest.$ac_ext <<_ACEOF
49390 /* confdefs.h. */
49391 _ACEOF
49392 cat confdefs.h >>conftest.$ac_ext
49393 cat >>conftest.$ac_ext <<_ACEOF
49394 /* end confdefs.h. */
49395
49396 int
49397 main ()
49398 {
49399
49400 #if !defined(__INTEL_COMPILER) || \
49401 (__INTEL_COMPILER < 800)
49402 There is no PCH support
49403 #endif
49404
49405 ;
49406 return 0;
49407 }
49408 _ACEOF
49409 rm -f conftest.$ac_objext
49410 if { (ac_try="$ac_compile"
49411 case "(($ac_try" in
49412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49413 *) ac_try_echo=$ac_try;;
49414 esac
49415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49416 (eval "$ac_compile") 2>conftest.er1
49417 ac_status=$?
49418 grep -v '^ *+' conftest.er1 >conftest.err
49419 rm -f conftest.er1
49420 cat conftest.err >&5
49421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49422 (exit $ac_status); } && {
49423 test -z "$ac_c_werror_flag" ||
49424 test ! -s conftest.err
49425 } && test -s conftest.$ac_objext; then
49426
49427 { echo "$as_me:$LINENO: result: yes" >&5
49428 echo "${ECHO_T}yes" >&6; }
49429 ICC_PCH=1
49430
49431 else
49432 echo "$as_me: failed program was:" >&5
49433 sed 's/^/| /' conftest.$ac_ext >&5
49434
49435
49436 { echo "$as_me:$LINENO: result: no" >&5
49437 echo "${ECHO_T}no" >&6; }
49438
49439 fi
49440
49441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49442
49443 fi
49444
49445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49446 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49447 USE_PCH=1
49448
49449 D='$'
49450 cat <<EOF >bk-make-pch
49451 #!/bin/sh
49452
49453 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49454 # script. It is used to generated precompiled headers.
49455 #
49456 # Permission is given to use this file in any way.
49457
49458 outfile="${D}{1}"
49459 header="${D}{2}"
49460 shift
49461 shift
49462
49463 compiler=""
49464 headerfile=""
49465
49466 while test ${D}{#} -gt 0; do
49467 add_to_cmdline=1
49468 case "${D}{1}" in
49469 -I* )
49470 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49471 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49472 headerfile="${D}{incdir}/${D}{header}"
49473 fi
49474 ;;
49475 -use-pch|-use_pch )
49476 shift
49477 add_to_cmdline=0
49478 ;;
49479 esac
49480 if test ${D}add_to_cmdline = 1 ; then
49481 compiler="${D}{compiler} ${D}{1}"
49482 fi
49483 shift
49484 done
49485
49486 if test "x${D}{headerfile}" = "x" ; then
49487 echo "error: can't find header ${D}{header} in include paths" >&2
49488 else
49489 if test -f ${D}{outfile} ; then
49490 rm -f ${D}{outfile}
49491 else
49492 mkdir -p \`dirname ${D}{outfile}\`
49493 fi
49494 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49495 mkdir -p .deps
49496 if test "x${GCC_PCH}" = "x1" ; then
49497 # can do this because gcc is >= 3.4:
49498 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49499 elif test "x${ICC_PCH}" = "x1" ; then
49500 filename=pch_gen-${D}${D}
49501 file=${D}{filename}.c
49502 dfile=${D}{filename}.d
49503 cat > ${D}file <<EOT
49504 #include "${D}header"
49505 EOT
49506 # using -MF icc complains about differing command lines in creation/use
49507 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49508 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49509 rm -f ${D}file ${D}dfile ${D}{filename}.o
49510 fi
49511 exit ${D}{?}
49512 fi
49513 EOF
49514
49515 chmod +x bk-make-pch
49516 BK_MAKE_PCH="`pwd`/bk-make-pch"
49517 fi
49518 fi
49519 fi
49520
49521
49522
49523
49524
49525 COND_BUILD_DEBUG="#"
49526 if test "x$BUILD" = "xdebug" ; then
49527 COND_BUILD_DEBUG=""
49528 fi
49529
49530 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49532 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49533 fi
49534
49535 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49536 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49537 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49538 fi
49539
49540 COND_BUILD_DEBUG_UNICODE_0="#"
49541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49542 COND_BUILD_DEBUG_UNICODE_0=""
49543 fi
49544
49545 COND_BUILD_DEBUG_UNICODE_1="#"
49546 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49547 COND_BUILD_DEBUG_UNICODE_1=""
49548 fi
49549
49550 COND_BUILD_RELEASE="#"
49551 if test "x$BUILD" = "xrelease" ; then
49552 COND_BUILD_RELEASE=""
49553 fi
49554
49555 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49556 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49557 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49558 fi
49559
49560 COND_BUILD_RELEASE_UNICODE_0="#"
49561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49562 COND_BUILD_RELEASE_UNICODE_0=""
49563 fi
49564
49565 COND_BUILD_RELEASE_UNICODE_1="#"
49566 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49567 COND_BUILD_RELEASE_UNICODE_1=""
49568 fi
49569
49570 COND_BUILD_debug="#"
49571 if test "x$BUILD" = "xdebug" ; then
49572 COND_BUILD_debug=""
49573 fi
49574
49575 COND_BUILD_debug_DEBUG_FLAG_default="#"
49576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49577 COND_BUILD_debug_DEBUG_FLAG_default=""
49578 fi
49579
49580 COND_BUILD_debug_DEBUG_INFO_default="#"
49581 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49582 COND_BUILD_debug_DEBUG_INFO_default=""
49583 fi
49584
49585 COND_BUILD_debug_UNICODE_0="#"
49586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49587 COND_BUILD_debug_UNICODE_0=""
49588 fi
49589
49590 COND_BUILD_debug_UNICODE_1="#"
49591 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49592 COND_BUILD_debug_UNICODE_1=""
49593 fi
49594
49595 COND_BUILD_release="#"
49596 if test "x$BUILD" = "xrelease" ; then
49597 COND_BUILD_release=""
49598 fi
49599
49600 COND_BUILD_release_DEBUG_INFO_default="#"
49601 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49602 COND_BUILD_release_DEBUG_INFO_default=""
49603 fi
49604
49605 COND_BUILD_release_UNICODE_0="#"
49606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49607 COND_BUILD_release_UNICODE_0=""
49608 fi
49609
49610 COND_BUILD_release_UNICODE_1="#"
49611 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49612 COND_BUILD_release_UNICODE_1=""
49613 fi
49614
49615 COND_DEBUG_FLAG_1="#"
49616 if test "x$DEBUG_FLAG" = "x1" ; then
49617 COND_DEBUG_FLAG_1=""
49618 fi
49619
49620 COND_DEBUG_INFO_0="#"
49621 if test "x$DEBUG_INFO" = "x0" ; then
49622 COND_DEBUG_INFO_0=""
49623 fi
49624
49625 COND_DEBUG_INFO_1="#"
49626 if test "x$DEBUG_INFO" = "x1" ; then
49627 COND_DEBUG_INFO_1=""
49628 fi
49629
49630 COND_DEPS_TRACKING_0="#"
49631 if test "x$DEPS_TRACKING" = "x0" ; then
49632 COND_DEPS_TRACKING_0=""
49633 fi
49634
49635 COND_DEPS_TRACKING_1="#"
49636 if test "x$DEPS_TRACKING" = "x1" ; then
49637 COND_DEPS_TRACKING_1=""
49638 fi
49639
49640 COND_GCC_PCH_1="#"
49641 if test "x$GCC_PCH" = "x1" ; then
49642 COND_GCC_PCH_1=""
49643 fi
49644
49645 COND_ICC_PCH_1="#"
49646 if test "x$ICC_PCH" = "x1" ; then
49647 COND_ICC_PCH_1=""
49648 fi
49649
49650 COND_MONOLITHIC_0="#"
49651 if test "x$MONOLITHIC" = "x0" ; then
49652 COND_MONOLITHIC_0=""
49653 fi
49654
49655 COND_MONOLITHIC_0_SHARED_0="#"
49656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49657 COND_MONOLITHIC_0_SHARED_0=""
49658 fi
49659
49660 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49662 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49663 fi
49664
49665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49668 fi
49669
49670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49673 fi
49674
49675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49678 fi
49679
49680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49683 fi
49684
49685 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49687 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49688 fi
49689
49690 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49692 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49693 fi
49694
49695 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49697 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49698 fi
49699
49700 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49702 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49703 fi
49704
49705 COND_MONOLITHIC_0_SHARED_1="#"
49706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49707 COND_MONOLITHIC_0_SHARED_1=""
49708 fi
49709
49710 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49712 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49713 fi
49714
49715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49718 fi
49719
49720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49723 fi
49724
49725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49728 fi
49729
49730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49733 fi
49734
49735 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49737 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49738 fi
49739
49740 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49742 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49743 fi
49744
49745 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49747 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49748 fi
49749
49750 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49752 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49753 fi
49754
49755 COND_MONOLITHIC_0_USE_AUI_1="#"
49756 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49757 COND_MONOLITHIC_0_USE_AUI_1=""
49758 fi
49759
49760 COND_MONOLITHIC_0_USE_GUI_1="#"
49761 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49762 COND_MONOLITHIC_0_USE_GUI_1=""
49763 fi
49764
49765 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49766 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49767 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49768 fi
49769
49770 COND_MONOLITHIC_0_USE_HTML_1="#"
49771 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49772 COND_MONOLITHIC_0_USE_HTML_1=""
49773 fi
49774
49775 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49776 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49777 COND_MONOLITHIC_0_USE_MEDIA_1=""
49778 fi
49779
49780 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49781 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49782 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49783 fi
49784
49785 COND_MONOLITHIC_0_USE_QA_1="#"
49786 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49787 COND_MONOLITHIC_0_USE_QA_1=""
49788 fi
49789
49790 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49791 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49792 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49793 fi
49794
49795 COND_MONOLITHIC_0_USE_STC_1="#"
49796 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49797 COND_MONOLITHIC_0_USE_STC_1=""
49798 fi
49799
49800 COND_MONOLITHIC_0_USE_XRC_1="#"
49801 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49802 COND_MONOLITHIC_0_USE_XRC_1=""
49803 fi
49804
49805 COND_MONOLITHIC_1="#"
49806 if test "x$MONOLITHIC" = "x1" ; then
49807 COND_MONOLITHIC_1=""
49808 fi
49809
49810 COND_MONOLITHIC_1_SHARED_0="#"
49811 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49812 COND_MONOLITHIC_1_SHARED_0=""
49813 fi
49814
49815 COND_MONOLITHIC_1_SHARED_1="#"
49816 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49817 COND_MONOLITHIC_1_SHARED_1=""
49818 fi
49819
49820 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49821 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49822 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49823 fi
49824
49825 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49826 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49827 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49828 fi
49829
49830 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49831 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49832 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49833 fi
49834
49835 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49836 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49837 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49838 fi
49839
49840 COND_PLATFORM_MACOSX_1="#"
49841 if test "x$PLATFORM_MACOSX" = "x1" ; then
49842 COND_PLATFORM_MACOSX_1=""
49843 fi
49844
49845 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49847 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49848 fi
49849
49850 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49852 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49853 fi
49854
49855 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49857 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49858 fi
49859
49860 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49862 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49863 fi
49864
49865 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49868 fi
49869
49870 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49872 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49873 fi
49874
49875 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49877 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49878 fi
49879
49880 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49882 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49883 fi
49884
49885 COND_PLATFORM_MACOS_1="#"
49886 if test "x$PLATFORM_MACOS" = "x1" ; then
49887 COND_PLATFORM_MACOS_1=""
49888 fi
49889
49890 COND_PLATFORM_MAC_0="#"
49891 if test "x$PLATFORM_MAC" = "x0" ; then
49892 COND_PLATFORM_MAC_0=""
49893 fi
49894
49895 COND_PLATFORM_MAC_1="#"
49896 if test "x$PLATFORM_MAC" = "x1" ; then
49897 COND_PLATFORM_MAC_1=""
49898 fi
49899
49900 COND_PLATFORM_MSDOS_0="#"
49901 if test "x$PLATFORM_MSDOS" = "x0" ; then
49902 COND_PLATFORM_MSDOS_0=""
49903 fi
49904
49905 COND_PLATFORM_MSDOS_1="#"
49906 if test "x$PLATFORM_MSDOS" = "x1" ; then
49907 COND_PLATFORM_MSDOS_1=""
49908 fi
49909
49910 COND_PLATFORM_OS2_1="#"
49911 if test "x$PLATFORM_OS2" = "x1" ; then
49912 COND_PLATFORM_OS2_1=""
49913 fi
49914
49915 COND_PLATFORM_UNIX_0="#"
49916 if test "x$PLATFORM_UNIX" = "x0" ; then
49917 COND_PLATFORM_UNIX_0=""
49918 fi
49919
49920 COND_PLATFORM_UNIX_1="#"
49921 if test "x$PLATFORM_UNIX" = "x1" ; then
49922 COND_PLATFORM_UNIX_1=""
49923 fi
49924
49925 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49926 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49927 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49928 fi
49929
49930 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49931 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49933 fi
49934
49935 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49936 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49937 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49938 fi
49939
49940 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49941 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49942 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49943 fi
49944
49945 COND_PLATFORM_WIN32_0="#"
49946 if test "x$PLATFORM_WIN32" = "x0" ; then
49947 COND_PLATFORM_WIN32_0=""
49948 fi
49949
49950 COND_PLATFORM_WIN32_1="#"
49951 if test "x$PLATFORM_WIN32" = "x1" ; then
49952 COND_PLATFORM_WIN32_1=""
49953 fi
49954
49955 COND_SHARED_0="#"
49956 if test "x$SHARED" = "x0" ; then
49957 COND_SHARED_0=""
49958 fi
49959
49960 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49961 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49962 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49963 fi
49964
49965 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49966 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49967 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49968 fi
49969
49970 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49971 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49972 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49973 fi
49974
49975 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49976 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49977 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49978 fi
49979
49980 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
49981 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49982 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
49983 fi
49984
49985 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
49986 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49987 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
49988 fi
49989
49990 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
49991 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49992 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
49993 fi
49994
49995 COND_SHARED_0_USE_STC_1="#"
49996 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49997 COND_SHARED_0_USE_STC_1=""
49998 fi
49999
50000 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50001 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50002 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50003 fi
50004
50005 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50006 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50007 COND_SHARED_0_wxUSE_REGEX_builtin=""
50008 fi
50009
50010 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50011 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50012 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50013 fi
50014
50015 COND_SHARED_1="#"
50016 if test "x$SHARED" = "x1" ; then
50017 COND_SHARED_1=""
50018 fi
50019
50020 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50021 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50022 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50023 fi
50024
50025 COND_TOOLKIT_="#"
50026 if test "x$TOOLKIT" = "x" ; then
50027 COND_TOOLKIT_=""
50028 fi
50029
50030 COND_TOOLKIT_COCOA="#"
50031 if test "x$TOOLKIT" = "xCOCOA" ; then
50032 COND_TOOLKIT_COCOA=""
50033 fi
50034
50035 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50036 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50037 COND_TOOLKIT_COCOA_USE_GUI_1=""
50038 fi
50039
50040 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50041 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50042 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50043 fi
50044
50045 COND_TOOLKIT_DFB="#"
50046 if test "x$TOOLKIT" = "xDFB" ; then
50047 COND_TOOLKIT_DFB=""
50048 fi
50049
50050 COND_TOOLKIT_DFB_USE_GUI_1="#"
50051 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50052 COND_TOOLKIT_DFB_USE_GUI_1=""
50053 fi
50054
50055 COND_TOOLKIT_GTK="#"
50056 if test "x$TOOLKIT" = "xGTK" ; then
50057 COND_TOOLKIT_GTK=""
50058 fi
50059
50060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50063 fi
50064
50065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50068 fi
50069
50070 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50071 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50073 fi
50074
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50076 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50078 fi
50079
50080 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50081 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50082 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50083 fi
50084
50085 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50086 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50088 fi
50089
50090 COND_TOOLKIT_GTK_USE_GUI_1="#"
50091 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50092 COND_TOOLKIT_GTK_USE_GUI_1=""
50093 fi
50094
50095 COND_TOOLKIT_MAC="#"
50096 if test "x$TOOLKIT" = "xMAC" ; then
50097 COND_TOOLKIT_MAC=""
50098 fi
50099
50100 COND_TOOLKIT_MGL="#"
50101 if test "x$TOOLKIT" = "xMGL" ; then
50102 COND_TOOLKIT_MGL=""
50103 fi
50104
50105 COND_TOOLKIT_MGL_USE_GUI_1="#"
50106 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50107 COND_TOOLKIT_MGL_USE_GUI_1=""
50108 fi
50109
50110 COND_TOOLKIT_MOTIF="#"
50111 if test "x$TOOLKIT" = "xMOTIF" ; then
50112 COND_TOOLKIT_MOTIF=""
50113 fi
50114
50115 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50116 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50117 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50118 fi
50119
50120 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50121 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50122 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50123 fi
50124
50125 COND_TOOLKIT_MSW="#"
50126 if test "x$TOOLKIT" = "xMSW" ; then
50127 COND_TOOLKIT_MSW=""
50128 fi
50129
50130 COND_TOOLKIT_MSW_USE_GUI_1="#"
50131 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50132 COND_TOOLKIT_MSW_USE_GUI_1=""
50133 fi
50134
50135 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50136 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50137 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50138 fi
50139
50140 COND_TOOLKIT_MSW_WXUNIV_0="#"
50141 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50142 COND_TOOLKIT_MSW_WXUNIV_0=""
50143 fi
50144
50145 COND_TOOLKIT_OSX_CARBON="#"
50146 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50147 COND_TOOLKIT_OSX_CARBON=""
50148 fi
50149
50150 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50151 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50152 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50153 fi
50154
50155 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50156 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50157 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50158 fi
50159
50160 COND_TOOLKIT_OSX_COCOA="#"
50161 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50162 COND_TOOLKIT_OSX_COCOA=""
50163 fi
50164
50165 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50166 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50167 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50168 fi
50169
50170 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50171 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50172 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50173 fi
50174
50175 COND_TOOLKIT_OSX_IPHONE="#"
50176 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50177 COND_TOOLKIT_OSX_IPHONE=""
50178 fi
50179
50180 COND_TOOLKIT_PM="#"
50181 if test "x$TOOLKIT" = "xPM" ; then
50182 COND_TOOLKIT_PM=""
50183 fi
50184
50185 COND_TOOLKIT_PM_USE_GUI_1="#"
50186 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50187 COND_TOOLKIT_PM_USE_GUI_1=""
50188 fi
50189
50190 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50191 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50192 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50193 fi
50194
50195 COND_TOOLKIT_WINCE="#"
50196 if test "x$TOOLKIT" = "xWINCE" ; then
50197 COND_TOOLKIT_WINCE=""
50198 fi
50199
50200 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50201 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50202 COND_TOOLKIT_WINCE_USE_GUI_1=""
50203 fi
50204
50205 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50206 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50207 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50208 fi
50209
50210 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50211 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50212 COND_TOOLKIT_WINCE_WXUNIV_0=""
50213 fi
50214
50215 COND_TOOLKIT_X11="#"
50216 if test "x$TOOLKIT" = "xX11" ; then
50217 COND_TOOLKIT_X11=""
50218 fi
50219
50220 COND_TOOLKIT_X11_USE_GUI_1="#"
50221 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50222 COND_TOOLKIT_X11_USE_GUI_1=""
50223 fi
50224
50225 COND_UNICODE_1="#"
50226 if test "x$UNICODE" = "x1" ; then
50227 COND_UNICODE_1=""
50228 fi
50229
50230 COND_USE_EXCEPTIONS_0="#"
50231 if test "x$USE_EXCEPTIONS" = "x0" ; then
50232 COND_USE_EXCEPTIONS_0=""
50233 fi
50234
50235 COND_USE_EXCEPTIONS_1="#"
50236 if test "x$USE_EXCEPTIONS" = "x1" ; then
50237 COND_USE_EXCEPTIONS_1=""
50238 fi
50239
50240 COND_USE_GUI_0="#"
50241 if test "x$USE_GUI" = "x0" ; then
50242 COND_USE_GUI_0=""
50243 fi
50244
50245 COND_USE_GUI_1="#"
50246 if test "x$USE_GUI" = "x1" ; then
50247 COND_USE_GUI_1=""
50248 fi
50249
50250 COND_USE_GUI_1_USE_OPENGL_1="#"
50251 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50252 COND_USE_GUI_1_USE_OPENGL_1=""
50253 fi
50254
50255 COND_USE_GUI_1_WXUNIV_0="#"
50256 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50257 COND_USE_GUI_1_WXUNIV_0=""
50258 fi
50259
50260 COND_USE_GUI_1_WXUNIV_1="#"
50261 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50262 COND_USE_GUI_1_WXUNIV_1=""
50263 fi
50264
50265 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50266 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50267 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50268 fi
50269
50270 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50271 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50272 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50273 fi
50274
50275 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50276 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50277 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50278 fi
50279
50280 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50281 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50282 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50283 fi
50284
50285 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50286 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50287 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50288 fi
50289
50290 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50291 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50292 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50293 fi
50294
50295 COND_USE_OPENGL_1="#"
50296 if test "x$USE_OPENGL" = "x1" ; then
50297 COND_USE_OPENGL_1=""
50298 fi
50299
50300 COND_USE_PCH_1="#"
50301 if test "x$USE_PCH" = "x1" ; then
50302 COND_USE_PCH_1=""
50303 fi
50304
50305 COND_USE_PLUGINS_0="#"
50306 if test "x$USE_PLUGINS" = "x0" ; then
50307 COND_USE_PLUGINS_0=""
50308 fi
50309
50310 COND_USE_RTTI_0="#"
50311 if test "x$USE_RTTI" = "x0" ; then
50312 COND_USE_RTTI_0=""
50313 fi
50314
50315 COND_USE_RTTI_1="#"
50316 if test "x$USE_RTTI" = "x1" ; then
50317 COND_USE_RTTI_1=""
50318 fi
50319
50320 COND_USE_SOSYMLINKS_1="#"
50321 if test "x$USE_SOSYMLINKS" = "x1" ; then
50322 COND_USE_SOSYMLINKS_1=""
50323 fi
50324
50325 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50326 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50327 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50328 fi
50329
50330 COND_USE_SOVERLINUX_1="#"
50331 if test "x$USE_SOVERLINUX" = "x1" ; then
50332 COND_USE_SOVERLINUX_1=""
50333 fi
50334
50335 COND_USE_SOVERSION_0="#"
50336 if test "x$USE_SOVERSION" = "x0" ; then
50337 COND_USE_SOVERSION_0=""
50338 fi
50339
50340 COND_USE_SOVERSOLARIS_1="#"
50341 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50342 COND_USE_SOVERSOLARIS_1=""
50343 fi
50344
50345 COND_USE_STC_1="#"
50346 if test "x$USE_STC" = "x1" ; then
50347 COND_USE_STC_1=""
50348 fi
50349
50350 COND_USE_THREADS_0="#"
50351 if test "x$USE_THREADS" = "x0" ; then
50352 COND_USE_THREADS_0=""
50353 fi
50354
50355 COND_USE_THREADS_1="#"
50356 if test "x$USE_THREADS" = "x1" ; then
50357 COND_USE_THREADS_1=""
50358 fi
50359
50360 COND_USE_XRC_1="#"
50361 if test "x$USE_XRC" = "x1" ; then
50362 COND_USE_XRC_1=""
50363 fi
50364
50365 COND_WINDOWS_IMPLIB_1="#"
50366 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50367 COND_WINDOWS_IMPLIB_1=""
50368 fi
50369
50370 COND_WITH_PLUGIN_SDL_1="#"
50371 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50372 COND_WITH_PLUGIN_SDL_1=""
50373 fi
50374
50375 COND_WXUNIV_0="#"
50376 if test "x$WXUNIV" = "x0" ; then
50377 COND_WXUNIV_0=""
50378 fi
50379
50380 COND_WXUNIV_1="#"
50381 if test "x$WXUNIV" = "x1" ; then
50382 COND_WXUNIV_1=""
50383 fi
50384
50385 COND_WXUSE_EXPAT_BUILTIN="#"
50386 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50387 COND_WXUSE_EXPAT_BUILTIN=""
50388 fi
50389
50390 COND_WXUSE_LIBJPEG_BUILTIN="#"
50391 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50392 COND_WXUSE_LIBJPEG_BUILTIN=""
50393 fi
50394
50395 COND_WXUSE_LIBPNG_BUILTIN="#"
50396 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50397 COND_WXUSE_LIBPNG_BUILTIN=""
50398 fi
50399
50400 COND_WXUSE_LIBTIFF_BUILTIN="#"
50401 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50402 COND_WXUSE_LIBTIFF_BUILTIN=""
50403 fi
50404
50405 COND_WXUSE_REGEX_BUILTIN="#"
50406 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50407 COND_WXUSE_REGEX_BUILTIN=""
50408 fi
50409
50410 COND_WXUSE_ZLIB_BUILTIN="#"
50411 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50412 COND_WXUSE_ZLIB_BUILTIN=""
50413 fi
50414
50415 COND_wxUSE_EXPAT_builtin="#"
50416 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50417 COND_wxUSE_EXPAT_builtin=""
50418 fi
50419
50420 COND_wxUSE_LIBJPEG_builtin="#"
50421 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50422 COND_wxUSE_LIBJPEG_builtin=""
50423 fi
50424
50425 COND_wxUSE_LIBPNG_builtin="#"
50426 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50427 COND_wxUSE_LIBPNG_builtin=""
50428 fi
50429
50430 COND_wxUSE_LIBTIFF_builtin="#"
50431 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50432 COND_wxUSE_LIBTIFF_builtin=""
50433 fi
50434
50435 COND_wxUSE_REGEX_builtin="#"
50436 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50437 COND_wxUSE_REGEX_builtin=""
50438 fi
50439
50440 COND_wxUSE_ZLIB_builtin="#"
50441 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50442 COND_wxUSE_ZLIB_builtin=""
50443 fi
50444
50445
50446
50447 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50448 { { 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
50449 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;}
50450 { (exit 1); exit 1; }; }
50451 fi
50452
50453 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50454 { { 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
50455 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;}
50456 { (exit 1); exit 1; }; }
50457 fi
50458
50459
50460 case ${INSTALL} in
50461 /* ) # Absolute
50462 ;;
50463 ?:* ) # Drive letter, considered as absolute.
50464 ;;
50465 *)
50466 INSTALL=`pwd`/${INSTALL} ;;
50467 esac
50468
50469 if test "$wxUSE_GUI" = "yes"; then
50470
50471 if test "$wxUSE_MSW" = 1 ; then
50472 if test "x$WINDRES" = "x"; then
50473 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50474 echo "$as_me: error: Required windres program not found" >&2;}
50475 { (exit 1); exit 1; }; }
50476 fi
50477
50478 RESCOMP="$WINDRES"
50479 fi
50480
50481 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50482 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50483 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50484
50485 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50486
50487 # Extract the first word of "DeRez", so it can be a program name with args.
50488 set dummy DeRez; ac_word=$2
50489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50491 if test "${ac_cv_prog_DEREZ+set}" = set; then
50492 echo $ECHO_N "(cached) $ECHO_C" >&6
50493 else
50494 if test -n "$DEREZ"; then
50495 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50496 else
50497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50498 for as_dir in $PATH
50499 do
50500 IFS=$as_save_IFS
50501 test -z "$as_dir" && as_dir=.
50502 for ac_exec_ext in '' $ac_executable_extensions; do
50503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50504 ac_cv_prog_DEREZ="DeRez"
50505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50506 break 2
50507 fi
50508 done
50509 done
50510 IFS=$as_save_IFS
50511
50512 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50513 fi
50514 fi
50515 DEREZ=$ac_cv_prog_DEREZ
50516 if test -n "$DEREZ"; then
50517 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50518 echo "${ECHO_T}$DEREZ" >&6; }
50519 else
50520 { echo "$as_me:$LINENO: result: no" >&5
50521 echo "${ECHO_T}no" >&6; }
50522 fi
50523
50524
50525
50526 MACSETFILE="\$(SETFILE)"
50527
50528 if test "$wxUSE_OSX_CARBON" = 1; then
50529 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50530 RESCOMP="$REZ"
50531 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50532 else
50533 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50534 RESCOMP="cat /dev/null \| $REZ"
50535 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50536 fi
50537
50538 else
50539 MACSETFILE="@true"
50540
50541 if test "$wxUSE_PM" = 1; then
50542 RESCOMP="emxbind"
50543 WXCONFIG_RESFLAGS="-ep"
50544
50545 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50546 else
50547 POSTLINK_COMMAND="@true"
50548 fi
50549 fi
50550
50551 fi
50552
50553
50554 if test $GCC_PCH = 1
50555 then
50556 if test "$wx_cv_gcc_pch_bug" = yes; then
50557 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50558 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50559 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50560 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50561 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50562 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50563 fi
50564
50565 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50566 # the headers that benefit from precompilation are mostly C++ headers.
50567 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50568 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50569 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50570 fi
50571
50572
50573 if test "$wxUSE_MAC" = 1 ; then
50574 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50575 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50576 mv temp bk-deps
50577 chmod +x bk-deps
50578 fi
50579 fi
50580
50581 if test "$wxUSE_SHARED" = "yes"; then
50582 case "${host}" in
50583 *-pc-os2_emx | *-pc-os2-emx )
50584 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50585 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50586 cp -p ${srcdir}/src/os2/dllnames.sh .
50587 cp -p ${srcdir}/src/os2/dllar.sh .
50588 ;;
50589 esac
50590 fi
50591 if test "$wxUSE_OMF" = "yes"; then
50592 case "${host}" in
50593 *-pc-os2_emx | *-pc-os2-emx )
50594 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50595 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50596 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50597 ;;
50598 esac
50599 fi
50600
50601 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50602
50603
50604 case "${host}" in
50605 *-*-solaris2* )
50606 if test "$GCC" = yes; then
50607 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50608 LIBS=`echo $LIBS | sed 's/-mt//'`
50609 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50610 fi
50611 ;;
50612
50613 *-*-linux* )
50614 if test "x$SUNCXX" = xyes; then
50615 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50616 LIBS=`echo $LIBS | sed 's/-pthread//'`
50617 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50618 fi
50619 ;;
50620 esac
50621
50622 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50623 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50624
50625 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659
50660
50661
50662
50663
50664
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50687 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50688 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50689 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50690 echo $ECHO_N "(cached) $ECHO_C" >&6
50691 else
50692 cat >conftest.make <<\_ACEOF
50693 SHELL = /bin/sh
50694 all:
50695 @echo '@@@%%%=$(MAKE)=@@@%%%'
50696 _ACEOF
50697 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50698 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50699 *@@@%%%=?*=@@@%%%*)
50700 eval ac_cv_prog_make_${ac_make}_set=yes;;
50701 *)
50702 eval ac_cv_prog_make_${ac_make}_set=no;;
50703 esac
50704 rm -f conftest.make
50705 fi
50706 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50707 { echo "$as_me:$LINENO: result: yes" >&5
50708 echo "${ECHO_T}yes" >&6; }
50709 SET_MAKE=
50710 else
50711 { echo "$as_me:$LINENO: result: no" >&5
50712 echo "${ECHO_T}no" >&6; }
50713 SET_MAKE="MAKE=${MAKE-make}"
50714 fi
50715
50716
50717
50718 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50719
50720
50721 if test "$USE_WIN32" = 1; then
50722 ac_config_commands="$ac_config_commands
50723 rcdefs.h
50724 "
50725
50726 fi
50727
50728 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50729
50730
50731 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50732
50733
50734 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50735
50736
50737 if test "$wx_cv_version_script" = "yes"; then
50738 ac_config_files="$ac_config_files version-script"
50739
50740 fi
50741 ac_config_files="$ac_config_files Makefile"
50742
50743
50744 ac_config_commands="$ac_config_commands wx-config"
50745
50746
50747
50748 if test "$wxWITH_SUBDIRS" != "no"; then
50749 if test "$wxUSE_GUI" = "yes"; then
50750 SUBDIRS="samples demos utils"
50751 else
50752 SUBDIRS="samples utils"
50753 fi
50754
50755
50756
50757 # Check whether --with-cppunit-prefix was given.
50758 if test "${with_cppunit_prefix+set}" = set; then
50759 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50760 else
50761 cppunit_config_prefix=""
50762 fi
50763
50764
50765 # Check whether --with-cppunit-exec-prefix was given.
50766 if test "${with_cppunit_exec_prefix+set}" = set; then
50767 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50768 else
50769 cppunit_config_exec_prefix=""
50770 fi
50771
50772
50773 if test x$cppunit_config_exec_prefix != x ; then
50774 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50775 if test x${CPPUNIT_CONFIG+set} != xset ; then
50776 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50777 fi
50778 fi
50779 if test x$cppunit_config_prefix != x ; then
50780 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50781 if test x${CPPUNIT_CONFIG+set} != xset ; then
50782 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50783 fi
50784 fi
50785
50786 # Extract the first word of "cppunit-config", so it can be a program name with args.
50787 set dummy cppunit-config; ac_word=$2
50788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50790 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 else
50793 case $CPPUNIT_CONFIG in
50794 [\\/]* | ?:[\\/]*)
50795 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50796 ;;
50797 *)
50798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50799 for as_dir in $PATH
50800 do
50801 IFS=$as_save_IFS
50802 test -z "$as_dir" && as_dir=.
50803 for ac_exec_ext in '' $ac_executable_extensions; do
50804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50805 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50807 break 2
50808 fi
50809 done
50810 done
50811 IFS=$as_save_IFS
50812
50813 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50814 ;;
50815 esac
50816 fi
50817 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50818 if test -n "$CPPUNIT_CONFIG"; then
50819 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50820 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50821 else
50822 { echo "$as_me:$LINENO: result: no" >&5
50823 echo "${ECHO_T}no" >&6; }
50824 fi
50825
50826
50827 cppunit_version_min=1.8.0
50828
50829 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50830 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50831 no_cppunit=""
50832 if test "$CPPUNIT_CONFIG" = "no" ; then
50833 { echo "$as_me:$LINENO: result: no" >&5
50834 echo "${ECHO_T}no" >&6; }
50835 no_cppunit=yes
50836 else
50837 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50838 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50839 cppunit_version=`$CPPUNIT_CONFIG --version`
50840
50841 cppunit_major_version=`echo $cppunit_version | \
50842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50843 cppunit_minor_version=`echo $cppunit_version | \
50844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50845 cppunit_micro_version=`echo $cppunit_version | \
50846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50847
50848 cppunit_major_min=`echo $cppunit_version_min | \
50849 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50850 cppunit_minor_min=`echo $cppunit_version_min | \
50851 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50852 cppunit_micro_min=`echo $cppunit_version_min | \
50853 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50854
50855 cppunit_version_proper=`expr \
50856 $cppunit_major_version \> $cppunit_major_min \| \
50857 $cppunit_major_version \= $cppunit_major_min \& \
50858 $cppunit_minor_version \> $cppunit_minor_min \| \
50859 $cppunit_major_version \= $cppunit_major_min \& \
50860 $cppunit_minor_version \= $cppunit_minor_min \& \
50861 $cppunit_micro_version \>= $cppunit_micro_min `
50862
50863 if test "$cppunit_version_proper" = "1" ; then
50864 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50865 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50866 else
50867 { echo "$as_me:$LINENO: result: no" >&5
50868 echo "${ECHO_T}no" >&6; }
50869 no_cppunit=yes
50870 fi
50871 fi
50872
50873 if test "x$no_cppunit" = x ; then
50874 SUBDIRS="$SUBDIRS tests"
50875 else
50876 CPPUNIT_CFLAGS=""
50877 CPPUNIT_LIBS=""
50878 :
50879 fi
50880
50881
50882
50883
50884
50885 for subdir in $SUBDIRS; do
50886 if test -d ${srcdir}/${subdir} ; then
50887 if test "$wxUSE_GUI" = "yes"; then
50888 if test ${subdir} = "samples"; then
50889 makefiles="samples/Makefile.in $makefiles"
50890 for sample in $SAMPLES_SUBDIRS; do
50891 if test -d $srcdir/samples/$sample; then
50892 makefiles="samples/$sample/Makefile.in $makefiles"
50893 fi
50894 done
50895 else
50896 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50897 eval "disabled=\$$disabled_var"
50898 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50899 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50900 fi
50901 else
50902 if test ${subdir} = "samples"; then
50903 makefiles="samples/Makefile.in $makefiles"
50904 for sample in `echo $SAMPLES_SUBDIRS`; do
50905 if test -d $srcdir/samples/$sample; then
50906 makefiles="samples/$sample/Makefile.in $makefiles"
50907 fi
50908 done
50909 elif test ${subdir} = "utils"; then
50910 makefiles=""
50911 for util in ifacecheck ; do
50912 if test -d $srcdir/utils/$util ; then
50913 makefiles="utils/$util/src/Makefile.in \
50914 $makefiles"
50915 fi
50916 done
50917 else
50918 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50919 fi
50920 fi
50921
50922 for mkin in $makefiles ; do
50923 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50924 ac_config_files="$ac_config_files $mk"
50925
50926 done
50927 fi
50928 done
50929 fi
50930 cat >confcache <<\_ACEOF
50931 # This file is a shell script that caches the results of configure
50932 # tests run on this system so they can be shared between configure
50933 # scripts and configure runs, see configure's option --config-cache.
50934 # It is not useful on other systems. If it contains results you don't
50935 # want to keep, you may remove or edit it.
50936 #
50937 # config.status only pays attention to the cache file if you give it
50938 # the --recheck option to rerun configure.
50939 #
50940 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50941 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50942 # following values.
50943
50944 _ACEOF
50945
50946 # The following way of writing the cache mishandles newlines in values,
50947 # but we know of no workaround that is simple, portable, and efficient.
50948 # So, we kill variables containing newlines.
50949 # Ultrix sh set writes to stderr and can't be redirected directly,
50950 # and sets the high bit in the cache file unless we assign to the vars.
50951 (
50952 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50953 eval ac_val=\$$ac_var
50954 case $ac_val in #(
50955 *${as_nl}*)
50956 case $ac_var in #(
50957 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50958 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50959 esac
50960 case $ac_var in #(
50961 _ | IFS | as_nl) ;; #(
50962 *) $as_unset $ac_var ;;
50963 esac ;;
50964 esac
50965 done
50966
50967 (set) 2>&1 |
50968 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50969 *${as_nl}ac_space=\ *)
50970 # `set' does not quote correctly, so add quotes (double-quote
50971 # substitution turns \\\\ into \\, and sed turns \\ into \).
50972 sed -n \
50973 "s/'/'\\\\''/g;
50974 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50975 ;; #(
50976 *)
50977 # `set' quotes correctly as required by POSIX, so do not add quotes.
50978 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50979 ;;
50980 esac |
50981 sort
50982 ) |
50983 sed '
50984 /^ac_cv_env_/b end
50985 t clear
50986 :clear
50987 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50988 t end
50989 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50990 :end' >>confcache
50991 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50992 if test -w "$cache_file"; then
50993 test "x$cache_file" != "x/dev/null" &&
50994 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50995 echo "$as_me: updating cache $cache_file" >&6;}
50996 cat confcache >$cache_file
50997 else
50998 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50999 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51000 fi
51001 fi
51002 rm -f confcache
51003
51004 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51005 # Let make expand exec_prefix.
51006 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51007
51008 DEFS=-DHAVE_CONFIG_H
51009
51010 ac_libobjs=
51011 ac_ltlibobjs=
51012 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51013 # 1. Remove the extension, and $U if already installed.
51014 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51015 ac_i=`echo "$ac_i" | sed "$ac_script"`
51016 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51017 # will be set to the directory where LIBOBJS objects are built.
51018 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51019 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51020 done
51021 LIBOBJS=$ac_libobjs
51022
51023 LTLIBOBJS=$ac_ltlibobjs
51024
51025
51026
51027 : ${CONFIG_STATUS=./config.status}
51028 ac_clean_files_save=$ac_clean_files
51029 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51030 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51031 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51032 cat >$CONFIG_STATUS <<_ACEOF
51033 #! $SHELL
51034 # Generated by $as_me.
51035 # Run this file to recreate the current configuration.
51036 # Compiler output produced by configure, useful for debugging
51037 # configure, is in config.log if it exists.
51038
51039 debug=false
51040 ac_cs_recheck=false
51041 ac_cs_silent=false
51042 SHELL=\${CONFIG_SHELL-$SHELL}
51043 _ACEOF
51044
51045 cat >>$CONFIG_STATUS <<\_ACEOF
51046 ## --------------------- ##
51047 ## M4sh Initialization. ##
51048 ## --------------------- ##
51049
51050 # Be more Bourne compatible
51051 DUALCASE=1; export DUALCASE # for MKS sh
51052 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51053 emulate sh
51054 NULLCMD=:
51055 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51056 # is contrary to our usage. Disable this feature.
51057 alias -g '${1+"$@"}'='"$@"'
51058 setopt NO_GLOB_SUBST
51059 else
51060 case `(set -o) 2>/dev/null` in
51061 *posix*) set -o posix ;;
51062 esac
51063
51064 fi
51065
51066
51067
51068
51069 # PATH needs CR
51070 # Avoid depending upon Character Ranges.
51071 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51072 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51073 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51074 as_cr_digits='0123456789'
51075 as_cr_alnum=$as_cr_Letters$as_cr_digits
51076
51077 # The user is always right.
51078 if test "${PATH_SEPARATOR+set}" != set; then
51079 echo "#! /bin/sh" >conf$$.sh
51080 echo "exit 0" >>conf$$.sh
51081 chmod +x conf$$.sh
51082 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51083 PATH_SEPARATOR=';'
51084 else
51085 PATH_SEPARATOR=:
51086 fi
51087 rm -f conf$$.sh
51088 fi
51089
51090 # Support unset when possible.
51091 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51092 as_unset=unset
51093 else
51094 as_unset=false
51095 fi
51096
51097
51098 # IFS
51099 # We need space, tab and new line, in precisely that order. Quoting is
51100 # there to prevent editors from complaining about space-tab.
51101 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51102 # splitting by setting IFS to empty value.)
51103 as_nl='
51104 '
51105 IFS=" "" $as_nl"
51106
51107 # Find who we are. Look in the path if we contain no directory separator.
51108 case $0 in
51109 *[\\/]* ) as_myself=$0 ;;
51110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51111 for as_dir in $PATH
51112 do
51113 IFS=$as_save_IFS
51114 test -z "$as_dir" && as_dir=.
51115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51116 done
51117 IFS=$as_save_IFS
51118
51119 ;;
51120 esac
51121 # We did not find ourselves, most probably we were run as `sh COMMAND'
51122 # in which case we are not to be found in the path.
51123 if test "x$as_myself" = x; then
51124 as_myself=$0
51125 fi
51126 if test ! -f "$as_myself"; then
51127 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51128 { (exit 1); exit 1; }
51129 fi
51130
51131 # Work around bugs in pre-3.0 UWIN ksh.
51132 for as_var in ENV MAIL MAILPATH
51133 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51134 done
51135 PS1='$ '
51136 PS2='> '
51137 PS4='+ '
51138
51139 # NLS nuisances.
51140 for as_var in \
51141 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51142 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51143 LC_TELEPHONE LC_TIME
51144 do
51145 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51146 eval $as_var=C; export $as_var
51147 else
51148 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51149 fi
51150 done
51151
51152 # Required to use basename.
51153 if expr a : '\(a\)' >/dev/null 2>&1 &&
51154 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51155 as_expr=expr
51156 else
51157 as_expr=false
51158 fi
51159
51160 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51161 as_basename=basename
51162 else
51163 as_basename=false
51164 fi
51165
51166
51167 # Name of the executable.
51168 as_me=`$as_basename -- "$0" ||
51169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51170 X"$0" : 'X\(//\)$' \| \
51171 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51172 echo X/"$0" |
51173 sed '/^.*\/\([^/][^/]*\)\/*$/{
51174 s//\1/
51175 q
51176 }
51177 /^X\/\(\/\/\)$/{
51178 s//\1/
51179 q
51180 }
51181 /^X\/\(\/\).*/{
51182 s//\1/
51183 q
51184 }
51185 s/.*/./; q'`
51186
51187 # CDPATH.
51188 $as_unset CDPATH
51189
51190
51191
51192 as_lineno_1=$LINENO
51193 as_lineno_2=$LINENO
51194 test "x$as_lineno_1" != "x$as_lineno_2" &&
51195 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51196
51197 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51198 # uniformly replaced by the line number. The first 'sed' inserts a
51199 # line-number line after each line using $LINENO; the second 'sed'
51200 # does the real work. The second script uses 'N' to pair each
51201 # line-number line with the line containing $LINENO, and appends
51202 # trailing '-' during substitution so that $LINENO is not a special
51203 # case at line end.
51204 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51205 # scripts with optimization help from Paolo Bonzini. Blame Lee
51206 # E. McMahon (1931-1989) for sed's syntax. :-)
51207 sed -n '
51208 p
51209 /[$]LINENO/=
51210 ' <$as_myself |
51211 sed '
51212 s/[$]LINENO.*/&-/
51213 t lineno
51214 b
51215 :lineno
51216 N
51217 :loop
51218 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51219 t loop
51220 s/-\n.*//
51221 ' >$as_me.lineno &&
51222 chmod +x "$as_me.lineno" ||
51223 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51224 { (exit 1); exit 1; }; }
51225
51226 # Don't try to exec as it changes $[0], causing all sort of problems
51227 # (the dirname of $[0] is not the place where we might find the
51228 # original and so on. Autoconf is especially sensitive to this).
51229 . "./$as_me.lineno"
51230 # Exit status is that of the last command.
51231 exit
51232 }
51233
51234
51235 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51236 as_dirname=dirname
51237 else
51238 as_dirname=false
51239 fi
51240
51241 ECHO_C= ECHO_N= ECHO_T=
51242 case `echo -n x` in
51243 -n*)
51244 case `echo 'x\c'` in
51245 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51246 *) ECHO_C='\c';;
51247 esac;;
51248 *)
51249 ECHO_N='-n';;
51250 esac
51251
51252 if expr a : '\(a\)' >/dev/null 2>&1 &&
51253 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51254 as_expr=expr
51255 else
51256 as_expr=false
51257 fi
51258
51259 rm -f conf$$ conf$$.exe conf$$.file
51260 if test -d conf$$.dir; then
51261 rm -f conf$$.dir/conf$$.file
51262 else
51263 rm -f conf$$.dir
51264 mkdir conf$$.dir
51265 fi
51266 echo >conf$$.file
51267 if ln -s conf$$.file conf$$ 2>/dev/null; then
51268 as_ln_s='ln -s'
51269 # ... but there are two gotchas:
51270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51272 # In both cases, we have to default to `cp -p'.
51273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51274 as_ln_s='cp -p'
51275 elif ln conf$$.file conf$$ 2>/dev/null; then
51276 as_ln_s=ln
51277 else
51278 as_ln_s='cp -p'
51279 fi
51280 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51281 rmdir conf$$.dir 2>/dev/null
51282
51283 if mkdir -p . 2>/dev/null; then
51284 as_mkdir_p=:
51285 else
51286 test -d ./-p && rmdir ./-p
51287 as_mkdir_p=false
51288 fi
51289
51290 if test -x / >/dev/null 2>&1; then
51291 as_test_x='test -x'
51292 else
51293 if ls -dL / >/dev/null 2>&1; then
51294 as_ls_L_option=L
51295 else
51296 as_ls_L_option=
51297 fi
51298 as_test_x='
51299 eval sh -c '\''
51300 if test -d "$1"; then
51301 test -d "$1/.";
51302 else
51303 case $1 in
51304 -*)set "./$1";;
51305 esac;
51306 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51307 ???[sx]*):;;*)false;;esac;fi
51308 '\'' sh
51309 '
51310 fi
51311 as_executable_p=$as_test_x
51312
51313 # Sed expression to map a string onto a valid CPP name.
51314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51315
51316 # Sed expression to map a string onto a valid variable name.
51317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51318
51319
51320 exec 6>&1
51321
51322 # Save the log message, to keep $[0] and so on meaningful, and to
51323 # report actual input values of CONFIG_FILES etc. instead of their
51324 # values after options handling.
51325 ac_log="
51326 This file was extended by wxWidgets $as_me 2.9.0, which was
51327 generated by GNU Autoconf 2.61. Invocation command line was
51328
51329 CONFIG_FILES = $CONFIG_FILES
51330 CONFIG_HEADERS = $CONFIG_HEADERS
51331 CONFIG_LINKS = $CONFIG_LINKS
51332 CONFIG_COMMANDS = $CONFIG_COMMANDS
51333 $ $0 $@
51334
51335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51336 "
51337
51338 _ACEOF
51339
51340 cat >>$CONFIG_STATUS <<_ACEOF
51341 # Files that config.status was made for.
51342 config_files="$ac_config_files"
51343 config_headers="$ac_config_headers"
51344 config_commands="$ac_config_commands"
51345
51346 _ACEOF
51347
51348 cat >>$CONFIG_STATUS <<\_ACEOF
51349 ac_cs_usage="\
51350 \`$as_me' instantiates files from templates according to the
51351 current configuration.
51352
51353 Usage: $0 [OPTIONS] [FILE]...
51354
51355 -h, --help print this help, then exit
51356 -V, --version print version number and configuration settings, then exit
51357 -q, --quiet do not print progress messages
51358 -d, --debug don't remove temporary files
51359 --recheck update $as_me by reconfiguring in the same conditions
51360 --file=FILE[:TEMPLATE]
51361 instantiate the configuration file FILE
51362 --header=FILE[:TEMPLATE]
51363 instantiate the configuration header FILE
51364
51365 Configuration files:
51366 $config_files
51367
51368 Configuration headers:
51369 $config_headers
51370
51371 Configuration commands:
51372 $config_commands
51373
51374 Report bugs to <bug-autoconf@gnu.org>."
51375
51376 _ACEOF
51377 cat >>$CONFIG_STATUS <<_ACEOF
51378 ac_cs_version="\\
51379 wxWidgets config.status 2.9.0
51380 configured by $0, generated by GNU Autoconf 2.61,
51381 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51382
51383 Copyright (C) 2006 Free Software Foundation, Inc.
51384 This config.status script is free software; the Free Software Foundation
51385 gives unlimited permission to copy, distribute and modify it."
51386
51387 ac_pwd='$ac_pwd'
51388 srcdir='$srcdir'
51389 INSTALL='$INSTALL'
51390 _ACEOF
51391
51392 cat >>$CONFIG_STATUS <<\_ACEOF
51393 # If no file are specified by the user, then we need to provide default
51394 # value. By we need to know if files were specified by the user.
51395 ac_need_defaults=:
51396 while test $# != 0
51397 do
51398 case $1 in
51399 --*=*)
51400 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51401 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51402 ac_shift=:
51403 ;;
51404 *)
51405 ac_option=$1
51406 ac_optarg=$2
51407 ac_shift=shift
51408 ;;
51409 esac
51410
51411 case $ac_option in
51412 # Handling of the options.
51413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51414 ac_cs_recheck=: ;;
51415 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51416 echo "$ac_cs_version"; exit ;;
51417 --debug | --debu | --deb | --de | --d | -d )
51418 debug=: ;;
51419 --file | --fil | --fi | --f )
51420 $ac_shift
51421 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51422 ac_need_defaults=false;;
51423 --header | --heade | --head | --hea )
51424 $ac_shift
51425 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51426 ac_need_defaults=false;;
51427 --he | --h)
51428 # Conflict between --help and --header
51429 { echo "$as_me: error: ambiguous option: $1
51430 Try \`$0 --help' for more information." >&2
51431 { (exit 1); exit 1; }; };;
51432 --help | --hel | -h )
51433 echo "$ac_cs_usage"; exit ;;
51434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51435 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51436 ac_cs_silent=: ;;
51437
51438 # This is an error.
51439 -*) { echo "$as_me: error: unrecognized option: $1
51440 Try \`$0 --help' for more information." >&2
51441 { (exit 1); exit 1; }; } ;;
51442
51443 *) ac_config_targets="$ac_config_targets $1"
51444 ac_need_defaults=false ;;
51445
51446 esac
51447 shift
51448 done
51449
51450 ac_configure_extra_args=
51451
51452 if $ac_cs_silent; then
51453 exec 6>/dev/null
51454 ac_configure_extra_args="$ac_configure_extra_args --silent"
51455 fi
51456
51457 _ACEOF
51458 cat >>$CONFIG_STATUS <<_ACEOF
51459 if \$ac_cs_recheck; then
51460 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51461 CONFIG_SHELL=$SHELL
51462 export CONFIG_SHELL
51463 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51464 fi
51465
51466 _ACEOF
51467 cat >>$CONFIG_STATUS <<\_ACEOF
51468 exec 5>>config.log
51469 {
51470 echo
51471 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51472 ## Running $as_me. ##
51473 _ASBOX
51474 echo "$ac_log"
51475 } >&5
51476
51477 _ACEOF
51478 cat >>$CONFIG_STATUS <<_ACEOF
51479 #
51480 # INIT-COMMANDS
51481 #
51482
51483 CPP="$CPP"
51484 infile="$srcdir/include/wx/msw/genrcdefs.h"
51485 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51486
51487
51488 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51489 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51490 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51491 LN_S="${LN_S}"
51492
51493
51494 _ACEOF
51495
51496 cat >>$CONFIG_STATUS <<\_ACEOF
51497
51498 # Handling of arguments.
51499 for ac_config_target in $ac_config_targets
51500 do
51501 case $ac_config_target in
51502 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51503 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51504 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51505 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51506 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51507 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51508 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51509 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51510 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51511
51512 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51513 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51514 { (exit 1); exit 1; }; };;
51515 esac
51516 done
51517
51518
51519 # If the user did not use the arguments to specify the items to instantiate,
51520 # then the envvar interface is used. Set only those that are not.
51521 # We use the long form for the default assignment because of an extremely
51522 # bizarre bug on SunOS 4.1.3.
51523 if $ac_need_defaults; then
51524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51526 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51527 fi
51528
51529 # Have a temporary directory for convenience. Make it in the build tree
51530 # simply because there is no reason against having it here, and in addition,
51531 # creating and moving files from /tmp can sometimes cause problems.
51532 # Hook for its removal unless debugging.
51533 # Note that there is a small window in which the directory will not be cleaned:
51534 # after its creation but before its name has been assigned to `$tmp'.
51535 $debug ||
51536 {
51537 tmp=
51538 trap 'exit_status=$?
51539 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51540 ' 0
51541 trap '{ (exit 1); exit 1; }' 1 2 13 15
51542 }
51543 # Create a (secure) tmp directory for tmp files.
51544
51545 {
51546 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51547 test -n "$tmp" && test -d "$tmp"
51548 } ||
51549 {
51550 tmp=./conf$$-$RANDOM
51551 (umask 077 && mkdir "$tmp")
51552 } ||
51553 {
51554 echo "$me: cannot create a temporary directory in ." >&2
51555 { (exit 1); exit 1; }
51556 }
51557
51558 #
51559 # Set up the sed scripts for CONFIG_FILES section.
51560 #
51561
51562 # No need to generate the scripts if there are no CONFIG_FILES.
51563 # This happens for instance when ./config.status config.h
51564 if test -n "$CONFIG_FILES"; then
51565
51566 _ACEOF
51567
51568
51569
51570 ac_delim='%!_!# '
51571 for ac_last_try in false false false false false :; do
51572 cat >conf$$subs.sed <<_ACEOF
51573 SHELL!$SHELL$ac_delim
51574 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51575 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51576 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51577 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51578 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51579 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51580 exec_prefix!$exec_prefix$ac_delim
51581 prefix!$prefix$ac_delim
51582 program_transform_name!$program_transform_name$ac_delim
51583 bindir!$bindir$ac_delim
51584 sbindir!$sbindir$ac_delim
51585 libexecdir!$libexecdir$ac_delim
51586 datarootdir!$datarootdir$ac_delim
51587 datadir!$datadir$ac_delim
51588 sysconfdir!$sysconfdir$ac_delim
51589 sharedstatedir!$sharedstatedir$ac_delim
51590 localstatedir!$localstatedir$ac_delim
51591 includedir!$includedir$ac_delim
51592 oldincludedir!$oldincludedir$ac_delim
51593 docdir!$docdir$ac_delim
51594 infodir!$infodir$ac_delim
51595 htmldir!$htmldir$ac_delim
51596 dvidir!$dvidir$ac_delim
51597 pdfdir!$pdfdir$ac_delim
51598 psdir!$psdir$ac_delim
51599 libdir!$libdir$ac_delim
51600 localedir!$localedir$ac_delim
51601 mandir!$mandir$ac_delim
51602 DEFS!$DEFS$ac_delim
51603 ECHO_C!$ECHO_C$ac_delim
51604 ECHO_N!$ECHO_N$ac_delim
51605 ECHO_T!$ECHO_T$ac_delim
51606 LIBS!$LIBS$ac_delim
51607 build_alias!$build_alias$ac_delim
51608 host_alias!$host_alias$ac_delim
51609 target_alias!$target_alias$ac_delim
51610 build!$build$ac_delim
51611 build_cpu!$build_cpu$ac_delim
51612 build_vendor!$build_vendor$ac_delim
51613 build_os!$build_os$ac_delim
51614 host!$host$ac_delim
51615 host_cpu!$host_cpu$ac_delim
51616 host_vendor!$host_vendor$ac_delim
51617 host_os!$host_os$ac_delim
51618 target!$target$ac_delim
51619 target_cpu!$target_cpu$ac_delim
51620 target_vendor!$target_vendor$ac_delim
51621 target_os!$target_os$ac_delim
51622 wx_top_builddir!$wx_top_builddir$ac_delim
51623 CC!$CC$ac_delim
51624 CFLAGS!$CFLAGS$ac_delim
51625 LDFLAGS!$LDFLAGS$ac_delim
51626 CPPFLAGS!$CPPFLAGS$ac_delim
51627 ac_ct_CC!$ac_ct_CC$ac_delim
51628 EXEEXT!$EXEEXT$ac_delim
51629 OBJEXT!$OBJEXT$ac_delim
51630 CPP!$CPP$ac_delim
51631 GREP!$GREP$ac_delim
51632 EGREP!$EGREP$ac_delim
51633 CXX!$CXX$ac_delim
51634 CXXFLAGS!$CXXFLAGS$ac_delim
51635 ac_ct_CXX!$ac_ct_CXX$ac_delim
51636 AR!$AR$ac_delim
51637 subdirs!$subdirs$ac_delim
51638 PKG_CONFIG!$PKG_CONFIG$ac_delim
51639 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51640 GTK_LIBS!$GTK_LIBS$ac_delim
51641 GTK_CONFIG!$GTK_CONFIG$ac_delim
51642 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51643 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51644 XMKMF!$XMKMF$ac_delim
51645 X_CFLAGS!$X_CFLAGS$ac_delim
51646 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51647 X_LIBS!$X_LIBS$ac_delim
51648 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51649 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51650 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51651 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51652 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51653 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51654 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51655 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51656 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51657 LIBICONV!$LIBICONV$ac_delim
51658 SDL_CONFIG!$SDL_CONFIG$ac_delim
51659 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51660 SDL_LIBS!$SDL_LIBS$ac_delim
51661 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51662 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51663 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51664 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51665 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51666 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51667 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51668 HILDON_LIBS!$HILDON_LIBS$ac_delim
51669 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51670 _ACEOF
51671
51672 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51673 break
51674 elif $ac_last_try; then
51675 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51676 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51677 { (exit 1); exit 1; }; }
51678 else
51679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51680 fi
51681 done
51682
51683 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51684 if test -n "$ac_eof"; then
51685 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51686 ac_eof=`expr $ac_eof + 1`
51687 fi
51688
51689 cat >>$CONFIG_STATUS <<_ACEOF
51690 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51692 _ACEOF
51693 sed '
51694 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51695 s/^/s,@/; s/!/@,|#_!!_#|/
51696 :n
51697 t n
51698 s/'"$ac_delim"'$/,g/; t
51699 s/$/\\/; p
51700 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51701 ' >>$CONFIG_STATUS <conf$$subs.sed
51702 rm -f conf$$subs.sed
51703 cat >>$CONFIG_STATUS <<_ACEOF
51704 CEOF$ac_eof
51705 _ACEOF
51706
51707
51708 ac_delim='%!_!# '
51709 for ac_last_try in false false false false false :; do
51710 cat >conf$$subs.sed <<_ACEOF
51711 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51712 GST_CFLAGS!$GST_CFLAGS$ac_delim
51713 GST_LIBS!$GST_LIBS$ac_delim
51714 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51715 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51716 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51717 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51718 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51719 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51720 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51721 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51722 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51723 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51724 VENDOR!$VENDOR$ac_delim
51725 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51726 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51727 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51728 WXUNIV!$WXUNIV$ac_delim
51729 MONOLITHIC!$MONOLITHIC$ac_delim
51730 USE_PLUGINS!$USE_PLUGINS$ac_delim
51731 CXXWARNINGS!$CXXWARNINGS$ac_delim
51732 EXTRALIBS!$EXTRALIBS$ac_delim
51733 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51734 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51735 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51736 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51737 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51738 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51739 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51740 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51741 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51742 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51743 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51744 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51745 UNICODE!$UNICODE$ac_delim
51746 BUILD!$BUILD$ac_delim
51747 DEBUG_INFO!$DEBUG_INFO$ac_delim
51748 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51749 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51750 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51751 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51752 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51753 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51754 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51755 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51756 RANLIB!$RANLIB$ac_delim
51757 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51758 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51759 INSTALL_DATA!$INSTALL_DATA$ac_delim
51760 LN_S!$LN_S$ac_delim
51761 SET_MAKE!$SET_MAKE$ac_delim
51762 MAKE_SET!$MAKE_SET$ac_delim
51763 AROPTIONS!$AROPTIONS$ac_delim
51764 STRIP!$STRIP$ac_delim
51765 NM!$NM$ac_delim
51766 INSTALL_DIR!$INSTALL_DIR$ac_delim
51767 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51768 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51769 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51770 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51771 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51772 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51773 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51774 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51775 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51776 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51777 SO_SUFFIX!$SO_SUFFIX$ac_delim
51778 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51779 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51780 LIBPREFIX!$LIBPREFIX$ac_delim
51781 LIBEXT!$LIBEXT$ac_delim
51782 DLLPREFIX!$DLLPREFIX$ac_delim
51783 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51784 dlldir!$dlldir$ac_delim
51785 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51786 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51787 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51788 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51789 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51790 PIC_FLAG!$PIC_FLAG$ac_delim
51791 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51792 USE_SOVERSION!$USE_SOVERSION$ac_delim
51793 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51794 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51795 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51796 USE_MACVERSION!$USE_MACVERSION$ac_delim
51797 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51798 SONAME_FLAG!$SONAME_FLAG$ac_delim
51799 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51800 BK_DEPS!$BK_DEPS$ac_delim
51801 WINDRES!$WINDRES$ac_delim
51802 REZ!$REZ$ac_delim
51803 SETFILE!$SETFILE$ac_delim
51804 GCC_PCH!$GCC_PCH$ac_delim
51805 ICC_PCH!$ICC_PCH$ac_delim
51806 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51807 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51808 _ACEOF
51809
51810 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51811 break
51812 elif $ac_last_try; then
51813 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51814 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51815 { (exit 1); exit 1; }; }
51816 else
51817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51818 fi
51819 done
51820
51821 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51822 if test -n "$ac_eof"; then
51823 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51824 ac_eof=`expr $ac_eof + 1`
51825 fi
51826
51827 cat >>$CONFIG_STATUS <<_ACEOF
51828 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51830 _ACEOF
51831 sed '
51832 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51833 s/^/s,@/; s/!/@,|#_!!_#|/
51834 :n
51835 t n
51836 s/'"$ac_delim"'$/,g/; t
51837 s/$/\\/; p
51838 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51839 ' >>$CONFIG_STATUS <conf$$subs.sed
51840 rm -f conf$$subs.sed
51841 cat >>$CONFIG_STATUS <<_ACEOF
51842 CEOF$ac_eof
51843 _ACEOF
51844
51845
51846 ac_delim='%!_!# '
51847 for ac_last_try in false false false false false :; do
51848 cat >conf$$subs.sed <<_ACEOF
51849 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51850 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51851 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51852 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51853 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51854 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51855 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51856 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51857 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51858 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51859 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51860 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51861 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51862 COND_BUILD_release!$COND_BUILD_release$ac_delim
51863 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51864 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51865 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51866 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51867 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51868 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51869 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51870 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51871 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51872 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51873 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51874 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51875 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51879 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51880 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51881 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51882 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51883 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51884 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51885 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51890 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51891 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51892 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51893 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51894 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51895 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51896 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51897 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51898 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51899 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51900 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51901 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51902 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51903 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51904 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51905 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51906 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51907 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51908 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51909 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51910 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51911 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51912 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51913 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51914 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51915 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51916 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51917 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51918 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51919 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51920 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51921 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51922 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51923 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51924 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51925 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51926 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51927 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51928 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51929 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51930 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51931 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51932 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51933 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51934 COND_SHARED_0!$COND_SHARED_0$ac_delim
51935 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51936 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51937 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51938 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51939 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51940 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51941 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51942 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51943 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51944 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51945 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
51946 _ACEOF
51947
51948 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51949 break
51950 elif $ac_last_try; then
51951 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51952 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51953 { (exit 1); exit 1; }; }
51954 else
51955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51956 fi
51957 done
51958
51959 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51960 if test -n "$ac_eof"; then
51961 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51962 ac_eof=`expr $ac_eof + 1`
51963 fi
51964
51965 cat >>$CONFIG_STATUS <<_ACEOF
51966 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51968 _ACEOF
51969 sed '
51970 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51971 s/^/s,@/; s/!/@,|#_!!_#|/
51972 :n
51973 t n
51974 s/'"$ac_delim"'$/,g/; t
51975 s/$/\\/; p
51976 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51977 ' >>$CONFIG_STATUS <conf$$subs.sed
51978 rm -f conf$$subs.sed
51979 cat >>$CONFIG_STATUS <<_ACEOF
51980 CEOF$ac_eof
51981 _ACEOF
51982
51983
51984 ac_delim='%!_!# '
51985 for ac_last_try in false false false false false :; do
51986 cat >conf$$subs.sed <<_ACEOF
51987 COND_SHARED_1!$COND_SHARED_1$ac_delim
51988 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51989 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51990 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51991 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51992 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51993 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51994 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51995 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51996 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51998 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51999 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52000 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52001 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52002 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52003 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52004 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52005 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52006 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52007 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52008 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52009 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52010 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52011 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52012 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52013 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52014 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52015 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52016 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52017 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52018 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52019 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52020 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52021 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52022 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52023 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52024 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52025 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52026 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52027 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52028 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52029 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52030 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52031 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52032 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52033 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52034 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52035 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52036 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52037 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52038 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52039 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52040 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52041 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52042 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52043 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52044 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52045 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52046 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52047 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52048 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52049 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52050 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52051 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52052 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52053 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52054 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52055 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52056 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52057 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52058 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52059 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52060 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52061 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52062 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52063 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52064 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52065 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52066 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52067 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52068 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52069 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52070 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52071 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52072 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52073 DEREZ!$DEREZ$ac_delim
52074 SHARED!$SHARED$ac_delim
52075 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52076 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52077 USE_GUI!$USE_GUI$ac_delim
52078 AFMINSTALL!$AFMINSTALL$ac_delim
52079 WIN32INSTALL!$WIN32INSTALL$ac_delim
52080 TOOLKIT!$TOOLKIT$ac_delim
52081 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52082 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52083 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52084 _ACEOF
52085
52086 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52087 break
52088 elif $ac_last_try; then
52089 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52090 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52091 { (exit 1); exit 1; }; }
52092 else
52093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52094 fi
52095 done
52096
52097 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52098 if test -n "$ac_eof"; then
52099 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52100 ac_eof=`expr $ac_eof + 1`
52101 fi
52102
52103 cat >>$CONFIG_STATUS <<_ACEOF
52104 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52105 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52106 _ACEOF
52107 sed '
52108 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52109 s/^/s,@/; s/!/@,|#_!!_#|/
52110 :n
52111 t n
52112 s/'"$ac_delim"'$/,g/; t
52113 s/$/\\/; p
52114 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52115 ' >>$CONFIG_STATUS <conf$$subs.sed
52116 rm -f conf$$subs.sed
52117 cat >>$CONFIG_STATUS <<_ACEOF
52118 CEOF$ac_eof
52119 _ACEOF
52120
52121
52122 ac_delim='%!_!# '
52123 for ac_last_try in false false false false false :; do
52124 cat >conf$$subs.sed <<_ACEOF
52125 cross_compiling!$cross_compiling$ac_delim
52126 WIDGET_SET!$WIDGET_SET$ac_delim
52127 WX_RELEASE!$WX_RELEASE$ac_delim
52128 WX_VERSION!$WX_VERSION$ac_delim
52129 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52130 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52131 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52132 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52133 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52134 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52135 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52136 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52137 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52138 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52139 GUIDIST!$GUIDIST$ac_delim
52140 DISTDIR!$DISTDIR$ac_delim
52141 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52142 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52143 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52144 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52145 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52146 RESCOMP!$RESCOMP$ac_delim
52147 RESFLAGS!$RESFLAGS$ac_delim
52148 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52149 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52150 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52151 LIBWXMACRES!$LIBWXMACRES$ac_delim
52152 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52153 MACSETFILE!$MACSETFILE$ac_delim
52154 GCC!$GCC$ac_delim
52155 DLLTOOL!$DLLTOOL$ac_delim
52156 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52157 LIBOBJS!$LIBOBJS$ac_delim
52158 LTLIBOBJS!$LTLIBOBJS$ac_delim
52159 _ACEOF
52160
52161 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
52162 break
52163 elif $ac_last_try; then
52164 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52165 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52166 { (exit 1); exit 1; }; }
52167 else
52168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52169 fi
52170 done
52171
52172 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52173 if test -n "$ac_eof"; then
52174 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52175 ac_eof=`expr $ac_eof + 1`
52176 fi
52177
52178 cat >>$CONFIG_STATUS <<_ACEOF
52179 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52181 _ACEOF
52182 sed '
52183 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52184 s/^/s,@/; s/!/@,|#_!!_#|/
52185 :n
52186 t n
52187 s/'"$ac_delim"'$/,g/; t
52188 s/$/\\/; p
52189 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52190 ' >>$CONFIG_STATUS <conf$$subs.sed
52191 rm -f conf$$subs.sed
52192 cat >>$CONFIG_STATUS <<_ACEOF
52193 :end
52194 s/|#_!!_#|//g
52195 CEOF$ac_eof
52196 _ACEOF
52197
52198
52199 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52200 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52201 # trailing colons and then remove the whole line if VPATH becomes empty
52202 # (actually we leave an empty line to preserve line numbers).
52203 if test "x$srcdir" = x.; then
52204 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52205 s/:*\$(srcdir):*/:/
52206 s/:*\${srcdir}:*/:/
52207 s/:*@srcdir@:*/:/
52208 s/^\([^=]*=[ ]*\):*/\1/
52209 s/:*$//
52210 s/^[^=]*=[ ]*$//
52211 }'
52212 fi
52213
52214 cat >>$CONFIG_STATUS <<\_ACEOF
52215 fi # test -n "$CONFIG_FILES"
52216
52217
52218 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52219 do
52220 case $ac_tag in
52221 :[FHLC]) ac_mode=$ac_tag; continue;;
52222 esac
52223 case $ac_mode$ac_tag in
52224 :[FHL]*:*);;
52225 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52226 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52227 { (exit 1); exit 1; }; };;
52228 :[FH]-) ac_tag=-:-;;
52229 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52230 esac
52231 ac_save_IFS=$IFS
52232 IFS=:
52233 set x $ac_tag
52234 IFS=$ac_save_IFS
52235 shift
52236 ac_file=$1
52237 shift
52238
52239 case $ac_mode in
52240 :L) ac_source=$1;;
52241 :[FH])
52242 ac_file_inputs=
52243 for ac_f
52244 do
52245 case $ac_f in
52246 -) ac_f="$tmp/stdin";;
52247 *) # Look for the file first in the build tree, then in the source tree
52248 # (if the path is not absolute). The absolute path cannot be DOS-style,
52249 # because $ac_f cannot contain `:'.
52250 test -f "$ac_f" ||
52251 case $ac_f in
52252 [\\/$]*) false;;
52253 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52254 esac ||
52255 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52256 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52257 { (exit 1); exit 1; }; };;
52258 esac
52259 ac_file_inputs="$ac_file_inputs $ac_f"
52260 done
52261
52262 # Let's still pretend it is `configure' which instantiates (i.e., don't
52263 # use $as_me), people would be surprised to read:
52264 # /* config.h. Generated by config.status. */
52265 configure_input="Generated from "`IFS=:
52266 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52267 if test x"$ac_file" != x-; then
52268 configure_input="$ac_file. $configure_input"
52269 { echo "$as_me:$LINENO: creating $ac_file" >&5
52270 echo "$as_me: creating $ac_file" >&6;}
52271 fi
52272
52273 case $ac_tag in
52274 *:-:* | *:-) cat >"$tmp/stdin";;
52275 esac
52276 ;;
52277 esac
52278
52279 ac_dir=`$as_dirname -- "$ac_file" ||
52280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52281 X"$ac_file" : 'X\(//\)[^/]' \| \
52282 X"$ac_file" : 'X\(//\)$' \| \
52283 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52284 echo X"$ac_file" |
52285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52286 s//\1/
52287 q
52288 }
52289 /^X\(\/\/\)[^/].*/{
52290 s//\1/
52291 q
52292 }
52293 /^X\(\/\/\)$/{
52294 s//\1/
52295 q
52296 }
52297 /^X\(\/\).*/{
52298 s//\1/
52299 q
52300 }
52301 s/.*/./; q'`
52302 { as_dir="$ac_dir"
52303 case $as_dir in #(
52304 -*) as_dir=./$as_dir;;
52305 esac
52306 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52307 as_dirs=
52308 while :; do
52309 case $as_dir in #(
52310 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52311 *) as_qdir=$as_dir;;
52312 esac
52313 as_dirs="'$as_qdir' $as_dirs"
52314 as_dir=`$as_dirname -- "$as_dir" ||
52315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52316 X"$as_dir" : 'X\(//\)[^/]' \| \
52317 X"$as_dir" : 'X\(//\)$' \| \
52318 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52319 echo X"$as_dir" |
52320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52321 s//\1/
52322 q
52323 }
52324 /^X\(\/\/\)[^/].*/{
52325 s//\1/
52326 q
52327 }
52328 /^X\(\/\/\)$/{
52329 s//\1/
52330 q
52331 }
52332 /^X\(\/\).*/{
52333 s//\1/
52334 q
52335 }
52336 s/.*/./; q'`
52337 test -d "$as_dir" && break
52338 done
52339 test -z "$as_dirs" || eval "mkdir $as_dirs"
52340 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52341 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52342 { (exit 1); exit 1; }; }; }
52343 ac_builddir=.
52344
52345 case "$ac_dir" in
52346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52347 *)
52348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52349 # A ".." for each directory in $ac_dir_suffix.
52350 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52351 case $ac_top_builddir_sub in
52352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52354 esac ;;
52355 esac
52356 ac_abs_top_builddir=$ac_pwd
52357 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52358 # for backward compatibility:
52359 ac_top_builddir=$ac_top_build_prefix
52360
52361 case $srcdir in
52362 .) # We are building in place.
52363 ac_srcdir=.
52364 ac_top_srcdir=$ac_top_builddir_sub
52365 ac_abs_top_srcdir=$ac_pwd ;;
52366 [\\/]* | ?:[\\/]* ) # Absolute name.
52367 ac_srcdir=$srcdir$ac_dir_suffix;
52368 ac_top_srcdir=$srcdir
52369 ac_abs_top_srcdir=$srcdir ;;
52370 *) # Relative name.
52371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52372 ac_top_srcdir=$ac_top_build_prefix$srcdir
52373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52374 esac
52375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52376
52377
52378 case $ac_mode in
52379 :F)
52380 #
52381 # CONFIG_FILE
52382 #
52383
52384 case $INSTALL in
52385 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52386 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52387 esac
52388 _ACEOF
52389
52390 cat >>$CONFIG_STATUS <<\_ACEOF
52391 # If the template does not know about datarootdir, expand it.
52392 # FIXME: This hack should be removed a few years after 2.60.
52393 ac_datarootdir_hack=; ac_datarootdir_seen=
52394
52395 case `sed -n '/datarootdir/ {
52396 p
52397 q
52398 }
52399 /@datadir@/p
52400 /@docdir@/p
52401 /@infodir@/p
52402 /@localedir@/p
52403 /@mandir@/p
52404 ' $ac_file_inputs` in
52405 *datarootdir*) ac_datarootdir_seen=yes;;
52406 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52407 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52408 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52409 _ACEOF
52410 cat >>$CONFIG_STATUS <<_ACEOF
52411 ac_datarootdir_hack='
52412 s&@datadir@&$datadir&g
52413 s&@docdir@&$docdir&g
52414 s&@infodir@&$infodir&g
52415 s&@localedir@&$localedir&g
52416 s&@mandir@&$mandir&g
52417 s&\\\${datarootdir}&$datarootdir&g' ;;
52418 esac
52419 _ACEOF
52420
52421 # Neutralize VPATH when `$srcdir' = `.'.
52422 # Shell code in configure.ac might set extrasub.
52423 # FIXME: do we really want to maintain this feature?
52424 cat >>$CONFIG_STATUS <<_ACEOF
52425 sed "$ac_vpsub
52426 $extrasub
52427 _ACEOF
52428 cat >>$CONFIG_STATUS <<\_ACEOF
52429 :t
52430 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52431 s&@configure_input@&$configure_input&;t t
52432 s&@top_builddir@&$ac_top_builddir_sub&;t t
52433 s&@srcdir@&$ac_srcdir&;t t
52434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52435 s&@top_srcdir@&$ac_top_srcdir&;t t
52436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52437 s&@builddir@&$ac_builddir&;t t
52438 s&@abs_builddir@&$ac_abs_builddir&;t t
52439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52440 s&@INSTALL@&$ac_INSTALL&;t t
52441 $ac_datarootdir_hack
52442 " $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
52443
52444 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52445 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52446 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52447 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52448 which seems to be undefined. Please make sure it is defined." >&5
52449 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52450 which seems to be undefined. Please make sure it is defined." >&2;}
52451
52452 rm -f "$tmp/stdin"
52453 case $ac_file in
52454 -) cat "$tmp/out"; rm -f "$tmp/out";;
52455 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52456 esac
52457 ;;
52458 :H)
52459 #
52460 # CONFIG_HEADER
52461 #
52462 _ACEOF
52463
52464 # Transform confdefs.h into a sed script `conftest.defines', that
52465 # substitutes the proper values into config.h.in to produce config.h.
52466 rm -f conftest.defines conftest.tail
52467 # First, append a space to every undef/define line, to ease matching.
52468 echo 's/$/ /' >conftest.defines
52469 # Then, protect against being on the right side of a sed subst, or in
52470 # an unquoted here document, in config.status. If some macros were
52471 # called several times there might be several #defines for the same
52472 # symbol, which is useless. But do not sort them, since the last
52473 # AC_DEFINE must be honored.
52474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52475 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52476 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52477 # PARAMS is the parameter list in the macro definition--in most cases, it's
52478 # just an empty string.
52479 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52480 ac_dB='\\)[ (].*,\\1define\\2'
52481 ac_dC=' '
52482 ac_dD=' ,'
52483
52484 uniq confdefs.h |
52485 sed -n '
52486 t rset
52487 :rset
52488 s/^[ ]*#[ ]*define[ ][ ]*//
52489 t ok
52490 d
52491 :ok
52492 s/[\\&,]/\\&/g
52493 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52494 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52495 ' >>conftest.defines
52496
52497 # Remove the space that was appended to ease matching.
52498 # Then replace #undef with comments. This is necessary, for
52499 # example, in the case of _POSIX_SOURCE, which is predefined and required
52500 # on some systems where configure will not decide to define it.
52501 # (The regexp can be short, since the line contains either #define or #undef.)
52502 echo 's/ $//
52503 s,^[ #]*u.*,/* & */,' >>conftest.defines
52504
52505 # Break up conftest.defines:
52506 ac_max_sed_lines=50
52507
52508 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52509 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52510 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52511 # et cetera.
52512 ac_in='$ac_file_inputs'
52513 ac_out='"$tmp/out1"'
52514 ac_nxt='"$tmp/out2"'
52515
52516 while :
52517 do
52518 # Write a here document:
52519 cat >>$CONFIG_STATUS <<_ACEOF
52520 # First, check the format of the line:
52521 cat >"\$tmp/defines.sed" <<\\CEOF
52522 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52523 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52524 b
52525 :def
52526 _ACEOF
52527 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52528 echo 'CEOF
52529 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52530 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52531 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52532 grep . conftest.tail >/dev/null || break
52533 rm -f conftest.defines
52534 mv conftest.tail conftest.defines
52535 done
52536 rm -f conftest.defines conftest.tail
52537
52538 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52539 cat >>$CONFIG_STATUS <<\_ACEOF
52540 if test x"$ac_file" != x-; then
52541 echo "/* $configure_input */" >"$tmp/config.h"
52542 cat "$ac_result" >>"$tmp/config.h"
52543 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52544 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52545 echo "$as_me: $ac_file is unchanged" >&6;}
52546 else
52547 rm -f $ac_file
52548 mv "$tmp/config.h" $ac_file
52549 fi
52550 else
52551 echo "/* $configure_input */"
52552 cat "$ac_result"
52553 fi
52554 rm -f "$tmp/out12"
52555 ;;
52556
52557 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52558 echo "$as_me: executing $ac_file commands" >&6;}
52559 ;;
52560 esac
52561
52562
52563 case $ac_file$ac_mode in
52564 "rcdefs.h":C)
52565 mkdir -p $outdir &&
52566 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52567 ;;
52568 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52569 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52570 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52571 "wx-config":C) rm -f wx-config
52572 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52573 ;;
52574
52575 esac
52576 done # for ac_tag
52577
52578
52579 { (exit 0); exit 0; }
52580 _ACEOF
52581 chmod +x $CONFIG_STATUS
52582 ac_clean_files=$ac_clean_files_save
52583
52584
52585 # configure is writing to config.log, and then calls config.status.
52586 # config.status does its own redirection, appending to config.log.
52587 # Unfortunately, on DOS this fails, as config.log is still kept open
52588 # by configure, so config.status won't be able to write to it; its
52589 # output is simply discarded. So we exec the FD to /dev/null,
52590 # effectively closing config.log, so it can be properly (re)opened and
52591 # appended to by config.status. When coming back to configure, we
52592 # need to make the FD available again.
52593 if test "$no_create" != yes; then
52594 ac_cs_success=:
52595 ac_config_status_args=
52596 test "$silent" = yes &&
52597 ac_config_status_args="$ac_config_status_args --quiet"
52598 exec 5>/dev/null
52599 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52600 exec 5>>config.log
52601 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52602 # would make configure fail if this is the last instruction.
52603 $ac_cs_success || { (exit 1); exit 1; }
52604 fi
52605
52606 #
52607 # CONFIG_SUBDIRS section.
52608 #
52609 if test "$no_recursion" != yes; then
52610
52611 # Remove --cache-file and --srcdir arguments so they do not pile up.
52612 ac_sub_configure_args=
52613 ac_prev=
52614 eval "set x $ac_configure_args"
52615 shift
52616 for ac_arg
52617 do
52618 if test -n "$ac_prev"; then
52619 ac_prev=
52620 continue
52621 fi
52622 case $ac_arg in
52623 -cache-file | --cache-file | --cache-fil | --cache-fi \
52624 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52625 ac_prev=cache_file ;;
52626 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52627 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52628 | --c=*)
52629 ;;
52630 --config-cache | -C)
52631 ;;
52632 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52633 ac_prev=srcdir ;;
52634 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52635 ;;
52636 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52637 ac_prev=prefix ;;
52638 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52639 ;;
52640 *)
52641 case $ac_arg in
52642 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52643 esac
52644 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52645 esac
52646 done
52647
52648 # Always prepend --prefix to ensure using the same prefix
52649 # in subdir configurations.
52650 ac_arg="--prefix=$prefix"
52651 case $ac_arg in
52652 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52653 esac
52654 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52655
52656 # Pass --silent
52657 if test "$silent" = yes; then
52658 ac_sub_configure_args="--silent $ac_sub_configure_args"
52659 fi
52660
52661 ac_popdir=`pwd`
52662 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52663
52664 # Do not complain, so a configure script can configure whichever
52665 # parts of a large source tree are present.
52666 test -d "$srcdir/$ac_dir" || continue
52667
52668 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52669 echo "$as_me:$LINENO: $ac_msg" >&5
52670 echo "$ac_msg" >&6
52671 { as_dir="$ac_dir"
52672 case $as_dir in #(
52673 -*) as_dir=./$as_dir;;
52674 esac
52675 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52676 as_dirs=
52677 while :; do
52678 case $as_dir in #(
52679 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52680 *) as_qdir=$as_dir;;
52681 esac
52682 as_dirs="'$as_qdir' $as_dirs"
52683 as_dir=`$as_dirname -- "$as_dir" ||
52684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52685 X"$as_dir" : 'X\(//\)[^/]' \| \
52686 X"$as_dir" : 'X\(//\)$' \| \
52687 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52688 echo X"$as_dir" |
52689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52690 s//\1/
52691 q
52692 }
52693 /^X\(\/\/\)[^/].*/{
52694 s//\1/
52695 q
52696 }
52697 /^X\(\/\/\)$/{
52698 s//\1/
52699 q
52700 }
52701 /^X\(\/\).*/{
52702 s//\1/
52703 q
52704 }
52705 s/.*/./; q'`
52706 test -d "$as_dir" && break
52707 done
52708 test -z "$as_dirs" || eval "mkdir $as_dirs"
52709 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52710 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52711 { (exit 1); exit 1; }; }; }
52712 ac_builddir=.
52713
52714 case "$ac_dir" in
52715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52716 *)
52717 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52718 # A ".." for each directory in $ac_dir_suffix.
52719 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52720 case $ac_top_builddir_sub in
52721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52723 esac ;;
52724 esac
52725 ac_abs_top_builddir=$ac_pwd
52726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52727 # for backward compatibility:
52728 ac_top_builddir=$ac_top_build_prefix
52729
52730 case $srcdir in
52731 .) # We are building in place.
52732 ac_srcdir=.
52733 ac_top_srcdir=$ac_top_builddir_sub
52734 ac_abs_top_srcdir=$ac_pwd ;;
52735 [\\/]* | ?:[\\/]* ) # Absolute name.
52736 ac_srcdir=$srcdir$ac_dir_suffix;
52737 ac_top_srcdir=$srcdir
52738 ac_abs_top_srcdir=$srcdir ;;
52739 *) # Relative name.
52740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52741 ac_top_srcdir=$ac_top_build_prefix$srcdir
52742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52743 esac
52744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52745
52746
52747 cd "$ac_dir"
52748
52749 # Check for guested configure; otherwise get Cygnus style configure.
52750 if test -f "$ac_srcdir/configure.gnu"; then
52751 ac_sub_configure=$ac_srcdir/configure.gnu
52752 elif test -f "$ac_srcdir/configure"; then
52753 ac_sub_configure=$ac_srcdir/configure
52754 elif test -f "$ac_srcdir/configure.in"; then
52755 # This should be Cygnus configure.
52756 ac_sub_configure=$ac_aux_dir/configure
52757 else
52758 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52759 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52760 ac_sub_configure=
52761 fi
52762
52763 # The recursion is here.
52764 if test -n "$ac_sub_configure"; then
52765 # Make the cache file name correct relative to the subdirectory.
52766 case $cache_file in
52767 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52768 *) # Relative name.
52769 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52770 esac
52771
52772 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52773 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52774 # The eval makes quoting arguments work.
52775 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52776 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52777 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52778 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52779 { (exit 1); exit 1; }; }
52780 fi
52781
52782 cd "$ac_popdir"
52783 done
52784 fi
52785
52786
52787 echo
52788 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52789 echo ""
52790 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52791 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52792
52793 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52794 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52795 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52796 if test "$wxUSE_UNICODE" = "yes"; then
52797 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52798 echo " (using UTF-8)"
52799 else
52800 echo " (using wchar_t)"
52801 fi
52802 else
52803 echo
52804 fi
52805
52806 echo " What level of wxWidgets compatibility should be enabled?"
52807 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52808 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52809
52810 echo " Which libraries should wxWidgets use?"
52811 echo " STL ${wxUSE_STL}"
52812 echo " jpeg ${wxUSE_LIBJPEG-none}"
52813 echo " png ${wxUSE_LIBPNG-none}"
52814 echo " regex ${wxUSE_REGEX}"
52815 echo " tiff ${wxUSE_LIBTIFF-none}"
52816 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52817 echo " xpm ${wxUSE_LIBXPM-none}"
52818 fi
52819 echo " zlib ${wxUSE_ZLIB}"
52820 echo " expat ${wxUSE_EXPAT}"
52821 echo " libmspack ${wxUSE_LIBMSPACK}"
52822 echo " sdl ${wxUSE_LIBSDL}"
52823
52824 echo ""
52825