]> git.saurik.com Git - wxWidgets.git/blob - configure
fix WinCE compilation: it doesn't know about SW_SHOWDEFAULT (#10216)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 57209 2008-12-08 23:19:37Z FM .
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 GXX_VERSION
705 SDL_CONFIG
706 SDL_CFLAGS
707 SDL_LIBS
708 GTKPRINT_CFLAGS
709 GTKPRINT_LIBS
710 LIBGNOMEPRINTUI_CFLAGS
711 LIBGNOMEPRINTUI_LIBS
712 GNOMEVFS_CFLAGS
713 GNOMEVFS_LIBS
714 HILDON_CFLAGS
715 HILDON_LIBS
716 CAIRO_CFLAGS
717 CAIRO_LIBS
718 GST_CFLAGS
719 GST_LIBS
720 ALL_WX_LIBS
721 BUILT_WX_LIBS
722 STD_BASE_LIBS
723 STD_GUI_LIBS
724 wxUSE_ZLIB
725 wxUSE_REGEX
726 wxUSE_EXPAT
727 wxUSE_LIBJPEG
728 wxUSE_LIBPNG
729 wxUSE_LIBTIFF
730 VENDOR
731 OFFICIAL_BUILD
732 WX_FLAVOUR
733 WX_LIB_FLAVOUR
734 WXUNIV
735 MONOLITHIC
736 USE_PLUGINS
737 CXXWARNINGS
738 EXTRALIBS
739 EXTRALIBS_XML
740 EXTRALIBS_HTML
741 EXTRALIBS_MEDIA
742 EXTRALIBS_GUI
743 EXTRALIBS_OPENGL
744 EXTRALIBS_SDL
745 EXTRALIBS_STC
746 WITH_PLUGIN_SDL
747 EXTRALIBS_GTKPRINT
748 EXTRALIBS_GNOMEPRINT
749 EXTRALIBS_GNOMEVFS
750 EXTRALIBS_HILDON
751 UNICODE
752 BUILD
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 SAMPLES_RPATH_FLAG
758 SAMPLES_RPATH_POSTLINK
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
947 COND_TOOLKIT_PM
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
954 COND_TOOLKIT_X11
955 COND_TOOLKIT_X11_USE_GUI_1
956 COND_UNICODE_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_0
960 COND_USE_GUI_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
970 COND_USE_OPENGL_1
971 COND_USE_PCH_1
972 COND_USE_PLUGINS_0
973 COND_USE_RTTI_0
974 COND_USE_RTTI_1
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
978 COND_USE_SOVERSION_0
979 COND_USE_SOVERSOLARIS_1
980 COND_USE_STC_1
981 COND_USE_THREADS_0
982 COND_USE_THREADS_1
983 COND_USE_XRC_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
986 COND_WXUNIV_0
987 COND_WXUNIV_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1000 DEREZ
1001 SHARED
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1004 USE_GUI
1005 AFMINSTALL
1006 WIN32INSTALL
1007 TOOLKIT
1008 TOOLKIT_DIR
1009 TOOLCHAIN_NAME
1010 TOOLCHAIN_FULLNAME
1011 cross_compiling
1012 WIDGET_SET
1013 WX_RELEASE
1014 WX_VERSION
1015 WX_SUBVERSION
1016 WX_CHARTYPE
1017 WX_DEBUGTYPE
1018 WXCONFIG_CPPFLAGS
1019 WXCONFIG_CFLAGS
1020 WXCONFIG_CXXFLAGS
1021 WXCONFIG_LIBS
1022 WXCONFIG_RPATH
1023 WXCONFIG_LDFLAGS_GUI
1024 WXCONFIG_RESFLAGS
1025 GUIDIST
1026 DISTDIR
1027 SAMPLES_SUBDIRS
1028 LDFLAGS_GL
1029 OPENGL_LIBS
1030 DMALLOC_LIBS
1031 WX_VERSION_TAG
1032 RESCOMP
1033 RESFLAGS
1034 RESPROGRAMOBJ
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1037 LIBWXMACRES
1038 POSTLINK_COMMAND
1039 MACSETFILE
1040 GCC
1041 DLLTOOL
1042 CPPUNIT_CONFIG
1043 LIBOBJS
1044 LTLIBOBJS'
1045 ac_subst_files=''
1046 ac_precious_vars='build_alias
1047 host_alias
1048 target_alias
1049 CC
1050 CFLAGS
1051 LDFLAGS
1052 LIBS
1053 CPPFLAGS
1054 CPP
1055 CXX
1056 CXXFLAGS
1057 CCC
1058 PKG_CONFIG
1059 DIRECTFB_CFLAGS
1060 DIRECTFB_LIBS
1061 XMKMF
1062 PANGOX_CFLAGS
1063 PANGOX_LIBS
1064 PANGOFT2_CFLAGS
1065 PANGOFT2_LIBS
1066 PANGOXFT_CFLAGS
1067 PANGOXFT_LIBS
1068 GTKPRINT_CFLAGS
1069 GTKPRINT_LIBS
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1072 GNOMEVFS_CFLAGS
1073 GNOMEVFS_LIBS
1074 HILDON_CFLAGS
1075 HILDON_LIBS
1076 CAIRO_CFLAGS
1077 CAIRO_LIBS
1078 GST_CFLAGS
1079 GST_LIBS'
1080 ac_subdirs_all='src/tiff
1081 src/expat'
1082
1083 # Initialize some variables set by options.
1084 ac_init_help=
1085 ac_init_version=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file=/dev/null
1089 exec_prefix=NONE
1090 no_create=
1091 no_recursion=
1092 prefix=NONE
1093 program_prefix=NONE
1094 program_suffix=NONE
1095 program_transform_name=s,x,x,
1096 silent=
1097 site=
1098 srcdir=
1099 verbose=
1100 x_includes=NONE
1101 x_libraries=NONE
1102
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir='${exec_prefix}/bin'
1110 sbindir='${exec_prefix}/sbin'
1111 libexecdir='${exec_prefix}/libexec'
1112 datarootdir='${prefix}/share'
1113 datadir='${datarootdir}'
1114 sysconfdir='${prefix}/etc'
1115 sharedstatedir='${prefix}/com'
1116 localstatedir='${prefix}/var'
1117 includedir='${prefix}/include'
1118 oldincludedir='/usr/include'
1119 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir='${datarootdir}/info'
1121 htmldir='${docdir}'
1122 dvidir='${docdir}'
1123 pdfdir='${docdir}'
1124 psdir='${docdir}'
1125 libdir='${exec_prefix}/lib'
1126 localedir='${datarootdir}/locale'
1127 mandir='${datarootdir}/man'
1128
1129 ac_prev=
1130 ac_dashdash=
1131 for ac_option
1132 do
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\$ac_option
1136 ac_prev=
1137 continue
1138 fi
1139
1140 case $ac_option in
1141 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 *) ac_optarg=yes ;;
1143 esac
1144
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1146
1147 case $ac_dashdash$ac_option in
1148 --)
1149 ac_dashdash=yes ;;
1150
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1152 ac_prev=bindir ;;
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir=$ac_optarg ;;
1155
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev=build_alias ;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias=$ac_optarg ;;
1160
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev=cache_file ;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file=$ac_optarg ;;
1167
1168 --config-cache | -C)
1169 cache_file=config.cache ;;
1170
1171 -datadir | --datadir | --datadi | --datad)
1172 ac_prev=datadir ;;
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir=$ac_optarg ;;
1175
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev=datarootdir ;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir=$ac_optarg ;;
1182
1183 -disable-* | --disable-*)
1184 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_$ac_feature=no ;;
1191
1192 -docdir | --docdir | --docdi | --doc | --do)
1193 ac_prev=docdir ;;
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir=$ac_optarg ;;
1196
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198 ac_prev=dvidir ;;
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir=$ac_optarg ;;
1201
1202 -enable-* | --enable-*)
1203 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_$ac_feature=\$ac_optarg ;;
1210
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1219
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1222 with_gas=yes ;;
1223
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1230
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1235
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1237 ac_prev=htmldir ;;
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1239 | --ht=*)
1240 htmldir=$ac_optarg ;;
1241
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1248
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1250 ac_prev=infodir ;;
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1253
1254 -libdir | --libdir | --libdi | --libd)
1255 ac_prev=libdir ;;
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1258
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1265
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1270
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1277
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1279 ac_prev=mandir ;;
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1282
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1285 with_fp=no ;;
1286
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1289 no_create=yes ;;
1290
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 no_recursion=yes ;;
1294
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1303
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1305 ac_prev=prefix ;;
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1308
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1315
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1322
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1339
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1341 ac_prev=pdfdir ;;
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1344
1345 -psdir | --psdir | --psdi | --psd | --ps)
1346 ac_prev=psdir ;;
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 psdir=$ac_optarg ;;
1349
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1352 silent=yes ;;
1353
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1355 ac_prev=sbindir ;;
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1357 | --sbi=* | --sb=*)
1358 sbindir=$ac_optarg ;;
1359
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1363 | --sha | --sh)
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1368 | --sha=* | --sh=*)
1369 sharedstatedir=$ac_optarg ;;
1370
1371 -site | --site | --sit)
1372 ac_prev=site ;;
1373 -site=* | --site=* | --sit=*)
1374 site=$ac_optarg ;;
1375
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1377 ac_prev=srcdir ;;
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1380
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1387
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1392
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 verbose=yes ;;
1395
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1398
1399 -with-* | --with-*)
1400 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_$ac_package=\$ac_optarg ;;
1407
1408 -without-* | --without-*)
1409 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_$ac_package=no ;;
1416
1417 --x)
1418 # Obsolete; use --with-x.
1419 with_x=yes ;;
1420
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev=x_includes ;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes=$ac_optarg ;;
1427
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev=x_libraries ;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries=$ac_optarg ;;
1434
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1438 ;;
1439
1440 *=*)
1441 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\$ac_optarg
1447 export $ac_envvar ;;
1448
1449 *)
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1455 ;;
1456
1457 esac
1458 done
1459
1460 if test -n "$ac_prev"; then
1461 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 # Be sure to have absolute directory names.
1467 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1471 do
1472 eval ac_val=\$$ac_var
1473 case $ac_val in
1474 [\\/$]* | ?:[\\/]* ) continue;;
1475 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476 esac
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1479 done
1480
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1484 build=$build_alias
1485 host=$host_alias
1486 target=$target_alias
1487
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x; then
1490 if test "x$build_alias" = x; then
1491 cross_compiling=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1495 cross_compiling=yes
1496 fi
1497 fi
1498
1499 ac_tool_prefix=
1500 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1501
1502 test "$silent" = yes && exec 6>/dev/null
1503
1504
1505 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di=`ls -di .` &&
1507 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1513
1514
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1524 echo X"$0" |
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1526 s//\1/
1527 q
1528 }
1529 /^X\(\/\/\)[^/].*/{
1530 s//\1/
1531 q
1532 }
1533 /^X\(\/\/\)$/{
1534 s//\1/
1535 q
1536 }
1537 /^X\(\/\).*/{
1538 s//\1/
1539 q
1540 }
1541 s/.*/./; q'`
1542 srcdir=$ac_confdir
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1544 srcdir=..
1545 fi
1546 else
1547 ac_srcdir_defaulted=no
1548 fi
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1553 fi
1554 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1555 ac_abs_confdir=`(
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1558 pwd)`
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 srcdir=.
1562 fi
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1566 case $srcdir in
1567 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1568 esac
1569 for ac_var in $ac_precious_vars; do
1570 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_env_${ac_var}_value=\$${ac_var}
1572 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1573 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 done
1575
1576 #
1577 # Report the --help message.
1578 #
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1582 cat <<_ACEOF
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1584
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1586
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1589
1590 Defaults for the options are specified in brackets.
1591
1592 Configuration:
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1602
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 [PREFIX]
1608
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1613
1614 For better control, use the options below.
1615
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1636 _ACEOF
1637
1638 cat <<\_ACEOF
1639
1640 X features:
1641 --x-includes=DIR X include files are in DIR
1642 --x-libraries=DIR X library files are in DIR
1643
1644 System types:
1645 --build=BUILD configure for building on BUILD [guessed]
1646 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1647 --target=TARGET configure for building compilers for TARGET [HOST]
1648 _ACEOF
1649 fi
1650
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1654 esac
1655 cat <<\_ACEOF
1656
1657 Optional Features:
1658 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1659 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1660 --disable-gui don't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros, even if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets 2.6 compatibility
1695 --disable-compat28 disable wxWidgets 2.8 compatibility
1696 --disable-rpath disable use of rpath for uninstalled builds
1697 --enable-objc_uniquifying enable Objective-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x-locale support (requires wxLocale)
1701 --enable-config use wxConfig (and derived) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP (requires wxProtocol
1704 --enable-http use wxHTTP (requires wxProtocol
1705 --enable-fileproto use wxFileProto class (requires wxProtocol
1706 --enable-sockets use socket/network classes
1707 --enable-ipv6 enable IPv6 support in wxSocket
1708 --enable-ole use OLE classes (Win32 only)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication (wxSocket etc.)
1711 --enable-baseevtloop use event loop in console programs too
1712 --enable-epollloop use wxEpollDispatcher class (Linux only)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding/decoding functions
1717 --enable-backtrace use wxStackWalker class for getting backtraces
1718 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class for DLL loading
1724 --enable-dynamicloader use (new) wxDynamicLibrary class
1725 --enable-exceptions build exception-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support in wxProtocol
1754 --enable-protocol-ftp FTP support in wxProtocol
1755 --enable-protocol-file FILE support in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig (Win32 only)
1758 --enable-regkey use wxRegKey class (Win32 only)
1759 --enable-docview use document view architecture
1760 --enable-help use help subsystem
1761 --enable-mshtmlhelp use MS HTML Help (win32)
1762 --enable-html use wxHTML sub-library
1763 --enable-htmlhelp use wxHTML-based help
1764 --enable-xrc use XRC resources sub-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl (Mac)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context 2D drawing API
1779 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-tabdialog use wxTabControl class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile (Win32 only)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images (GIF file format)
1874 --enable-pcx use pcx images (PCX file format)
1875 --enable-tga use tga images (TGA file format)
1876 --enable-iff use iff images (IFF file format)
1877 --enable-pnm use pnm images (PNM file format)
1878 --enable-xpm use xpm images (XPM file format)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects (Win32 only)
1881 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1882 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1883 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1884 --enable-wxdib use wxDIB class (Win32 only)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support for large files
1887 --disable-gtktest do not try to compile and run a test GTK+ program
1888 --disable-gtktest Do not try to compile and run a test GTK program
1889 --disable-sdltest Do not try to compile and run a test SDL program
1890 --enable-omf use OMF object format (OS/2)
1891 --disable-dependency-tracking
1892 don't use dependency tracking even if the compiler
1893 can
1894 --disable-precomp-headers
1895 don't use precompiled headers even if compiler can
1896
1897 Optional Packages:
1898 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1899 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1900 --without-subdirs don't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1915 --with-x11 use X11
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1951 CPP C preprocessor
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1955 DIRECTFB_CFLAGS
1956 C compiler flags for DIRECTFB, overriding pkg-config
1957 DIRECTFB_LIBS
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 PANGOX_CFLAGS
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 PANGOFT2_CFLAGS
1964 C compiler flags for PANGOFT2, overriding pkg-config
1965 PANGOFT2_LIBS
1966 linker flags for PANGOFT2, overriding pkg-config
1967 PANGOXFT_CFLAGS
1968 C compiler flags for PANGOXFT, overriding pkg-config
1969 PANGOXFT_LIBS
1970 linker flags for PANGOXFT, overriding pkg-config
1971 GTKPRINT_CFLAGS
1972 C compiler flags for GTKPRINT, overriding pkg-config
1973 GTKPRINT_LIBS
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 GNOMEVFS_CFLAGS
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1981 GNOMEVFS_LIBS
1982 linker flags for GNOMEVFS, overriding pkg-config
1983 HILDON_CFLAGS
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 CAIRO_CFLAGS
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1991
1992 Use these variables to override the choices made by `configure' or to help
1993 it to find libraries and programs with nonstandard names/locations.
1994
1995 Report bugs to <wx-dev@lists.wxwidgets.org>.
1996 _ACEOF
1997 ac_status=$?
1998 fi
1999
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2003 test -d "$ac_dir" || continue
2004 ac_builddir=.
2005
2006 case "$ac_dir" in
2007 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2008 *)
2009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2014 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2015 esac ;;
2016 esac
2017 ac_abs_top_builddir=$ac_pwd
2018 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir=$ac_top_build_prefix
2021
2022 case $srcdir in
2023 .) # We are building in place.
2024 ac_srcdir=.
2025 ac_top_srcdir=$ac_top_builddir_sub
2026 ac_abs_top_srcdir=$ac_pwd ;;
2027 [\\/]* | ?:[\\/]* ) # Absolute name.
2028 ac_srcdir=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir=$srcdir
2030 ac_abs_top_srcdir=$srcdir ;;
2031 *) # Relative name.
2032 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2035 esac
2036 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2037
2038 cd "$ac_dir" || { ac_status=$?; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2044 echo &&
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2046 else
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 fi || ac_status=$?
2049 cd "$ac_pwd" || { ac_status=$?; break; }
2050 done
2051 fi
2052
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2055 cat <<\_ACEOF
2056 wxWidgets configure 2.9.0
2057 generated by GNU Autoconf 2.61
2058
2059 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2061 This configure script is free software; the Free Software Foundation
2062 gives unlimited permission to copy, distribute and modify it.
2063 _ACEOF
2064 exit
2065 fi
2066 cat >config.log <<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2069
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2072
2073 $ $0 $@
2074
2075 _ACEOF
2076 exec 5>>config.log
2077 {
2078 cat <<_ASUNAME
2079 ## --------- ##
2080 ## Platform. ##
2081 ## --------- ##
2082
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099
2100 _ASUNAME
2101
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 echo "PATH: $as_dir"
2108 done
2109 IFS=$as_save_IFS
2110
2111 } >&5
2112
2113 cat >&5 <<_ACEOF
2114
2115
2116 ## ----------- ##
2117 ## Core tests. ##
2118 ## ----------- ##
2119
2120 _ACEOF
2121
2122
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_configure_args=
2129 ac_configure_args0=
2130 ac_configure_args1=
2131 ac_must_keep_next=false
2132 for ac_pass in 1 2
2133 do
2134 for ac_arg
2135 do
2136 case $ac_arg in
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2140 continue ;;
2141 *\'*)
2142 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 esac
2144 case $ac_pass in
2145 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2146 2)
2147 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true; then
2149 ac_must_keep_next=false # Got value, back to normal.
2150 else
2151 case $ac_arg in
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 esac
2159 ;;
2160 -* ) ac_must_keep_next=true ;;
2161 esac
2162 fi
2163 ac_configure_args="$ac_configure_args '$ac_arg'"
2164 ;;
2165 esac
2166 done
2167 done
2168 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2169 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2170
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2178 {
2179 echo
2180
2181 cat <<\_ASBOX
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2185 _ASBOX
2186 echo
2187 # The following way of writing the cache mishandles newlines in values,
2188 (
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2191 case $ac_val in #(
2192 *${as_nl}*)
2193 case $ac_var in #(
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2196 esac
2197 case $ac_var in #(
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2200 esac ;;
2201 esac
2202 done
2203 (set) 2>&1 |
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2206 sed -n \
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 ;; #(
2210 *)
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2212 ;;
2213 esac |
2214 sort
2215 )
2216 echo
2217
2218 cat <<\_ASBOX
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2222 _ASBOX
2223 echo
2224 for ac_var in $ac_subst_vars
2225 do
2226 eval ac_val=\$$ac_var
2227 case $ac_val in
2228 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 esac
2230 echo "$ac_var='\''$ac_val'\''"
2231 done | sort
2232 echo
2233
2234 if test -n "$ac_subst_files"; then
2235 cat <<\_ASBOX
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2239 _ASBOX
2240 echo
2241 for ac_var in $ac_subst_files
2242 do
2243 eval ac_val=\$$ac_var
2244 case $ac_val in
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 esac
2247 echo "$ac_var='\''$ac_val'\''"
2248 done | sort
2249 echo
2250 fi
2251
2252 if test -s confdefs.h; then
2253 cat <<\_ASBOX
2254 ## ----------- ##
2255 ## confdefs.h. ##
2256 ## ----------- ##
2257 _ASBOX
2258 echo
2259 cat confdefs.h
2260 echo
2261 fi
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2265 } >&5
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 exit $exit_status
2269 ' 0
2270 for ac_signal in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 done
2273 ac_signal=0
2274
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest* confdefs.h
2277
2278 # Predefined preprocessor variables.
2279
2280 cat >>confdefs.h <<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 _ACEOF
2283
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 _ACEOF
2288
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 _ACEOF
2293
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 _ACEOF
2298
2299
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 _ACEOF
2303
2304
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x "$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE; then
2310 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2311 else
2312 set x "$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2314 fi
2315 shift
2316 for ac_site_file
2317 do
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2322 . "$ac_site_file"
2323 fi
2324 done
2325
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2332 case $cache_file in
2333 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2334 *) . "./$cache_file";;
2335 esac
2336 fi
2337 else
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2340 >$cache_file
2341 fi
2342
2343 # Check that the precious variables saved in the cache have kept the same
2344 # value.
2345 ac_cache_corrupted=false
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2348 eval ac_new_set=\$ac_env_${ac_var}_set
2349 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2350 eval ac_new_val=\$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2352 set,)
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted=: ;;
2356 ,set)
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted=: ;;
2360 ,);;
2361 *)
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted=:
2370 fi;;
2371 esac
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2374 case $ac_new_val in
2375 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg=$ac_var=$ac_new_val ;;
2377 esac
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2381 esac
2382 fi
2383 done
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2390 fi
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416 ac_ext=c
2417 ac_cpp='$CPP $CPPFLAGS'
2418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2421
2422
2423
2424
2425
2426 ac_aux_dir=
2427 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if 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/install.sh"; then
2433 ac_aux_dir=$ac_dir
2434 ac_install_sh="$ac_aux_dir/install.sh -c"
2435 break
2436 elif test -f "$ac_dir/shtool"; then
2437 ac_aux_dir=$ac_dir
2438 ac_install_sh="$ac_aux_dir/shtool install -c"
2439 break
2440 fi
2441 done
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2446 fi
2447
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2455
2456
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2462
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 else
2468 ac_build_alias=$build_alias
2469 test "x$ac_build_alias" = x &&
2470 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x &&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479
2480 fi
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2484 *-*-*) ;;
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2488 esac
2489 build=$ac_cv_build
2490 ac_save_IFS=$IFS; IFS='-'
2491 set x $ac_cv_build
2492 shift
2493 build_cpu=$1
2494 build_vendor=$2
2495 shift; shift
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2498 build_os=$*
2499 IFS=$ac_save_IFS
2500 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2501
2502
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 if test "x$host_alias" = x; then
2509 ac_cv_host=$ac_cv_build
2510 else
2511 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2515 fi
2516
2517 fi
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2520 case $ac_cv_host in
2521 *-*-*) ;;
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2525 esac
2526 host=$ac_cv_host
2527 ac_save_IFS=$IFS; IFS='-'
2528 set x $ac_cv_host
2529 shift
2530 host_cpu=$1
2531 host_vendor=$2
2532 shift; shift
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2535 host_os=$*
2536 IFS=$ac_save_IFS
2537 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2538
2539
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 else
2545 if test "x$target_alias" = x; then
2546 ac_cv_target=$ac_cv_host
2547 else
2548 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2552 fi
2553
2554 fi
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2558 *-*-*) ;;
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2562 esac
2563 target=$ac_cv_target
2564 ac_save_IFS=$IFS; IFS='-'
2565 set x $ac_cv_target
2566 shift
2567 target_cpu=$1
2568 target_vendor=$2
2569 shift; shift
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2572 target_os=$*
2573 IFS=$ac_save_IFS
2574 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2575
2576
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2581 NONENONEs,x,x, &&
2582 program_prefix=${target_alias}-
2583
2584
2585
2586 wx_major_version_number=2
2587 wx_minor_version_number=9
2588 wx_release_number=0
2589 wx_subrelease_number=0
2590
2591 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2592 WX_VERSION=$WX_RELEASE.$wx_release_number
2593 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2594
2595 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2596
2597
2598 wx_top_builddir="`pwd`"
2599
2600
2601
2602
2603 USE_UNIX=1
2604 USE_OS2=0
2605 USE_WIN32=0
2606 USE_DOS=0
2607 USE_BEOS=0
2608 USE_MAC=0
2609
2610 USE_AIX=
2611 USE_BSD= USE_DARWIN= USE_FREEBSD=
2612 USE_GNU= USE_HPUX=
2613 USE_LINUX=
2614 USE_NETBSD=
2615 USE_OPENBSD=
2616 USE_OSF= USE_SGI=
2617 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2618 USE_ULTRIX=
2619 USE_UNIXWARE=
2620
2621 USE_ALPHA=
2622
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2624
2625 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2626
2627 DEFAULT_wxUSE_COCOA=0
2628 DEFAULT_wxUSE_GTK=0
2629 DEFAULT_wxUSE_OSX_CARBON=0
2630 DEFAULT_wxUSE_OSX_COCOA=0
2631 DEFAULT_wxUSE_MGL=0
2632 DEFAULT_wxUSE_MICROWIN=0
2633 DEFAULT_wxUSE_MOTIF=0
2634 DEFAULT_wxUSE_MSW=0
2635 DEFAULT_wxUSE_PM=0
2636 DEFAULT_wxUSE_X11=0
2637 DEFAULT_wxUSE_DFB=0
2638
2639 DEFAULT_DEFAULT_wxUSE_COCOA=0
2640 DEFAULT_DEFAULT_wxUSE_GTK=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_MGL=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2646 DEFAULT_DEFAULT_wxUSE_MSW=0
2647 DEFAULT_DEFAULT_wxUSE_PM=0
2648 DEFAULT_DEFAULT_wxUSE_X11=0
2649 DEFAULT_DEFAULT_wxUSE_DFB=0
2650
2651 PROGRAM_EXT=
2652 SAMPLES_RPATH_FLAG=
2653 SAMPLES_RPATH_POSTLINK=
2654
2655 DEFAULT_STD_FLAG=yes
2656
2657 case "${host}" in
2658 *-hp-hpux* )
2659 USE_HPUX=1
2660 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __HPUX__ 1
2664 _ACEOF
2665
2666
2667 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2668 ;;
2669 *-*-linux* )
2670 USE_LINUX=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __LINUX__ 1
2673 _ACEOF
2674
2675 TMP=`uname -m`
2676 if test "x$TMP" = "xalpha"; then
2677 USE_ALPHA=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __ALPHA__ 1
2680 _ACEOF
2681
2682 fi
2683 DEFAULT_DEFAULT_wxUSE_GTK=1
2684 ;;
2685 *-*-gnu* | *-*-k*bsd*-gnu )
2686 USE_GNU=1
2687 TMP=`uname -m`
2688 if test "x$TMP" = "xalpha"; then
2689 USE_ALPHA=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __ALPHA__ 1
2692 _ACEOF
2693
2694 fi
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-irix5* | *-*-irix6* )
2698 USE_SGI=1
2699 USE_SVR4=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SGI__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SVR4__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2709 ;;
2710 *-*-solaris2* )
2711 USE_SUN=1
2712 USE_SOLARIS=1
2713 USE_SVR4=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __SUN__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __SOLARIS__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __SVR4__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2728 ;;
2729 *-*-sunos4* )
2730 USE_SUN=1
2731 USE_SUNOS=1
2732 USE_BSD=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SUN__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SUNOS__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 ;;
2747 *-*-freebsd*)
2748 USE_BSD=1
2749 USE_FREEBSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __FREEBSD__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_GTK=1
2759 ;;
2760 *-*-openbsd*|*-*-mirbsd*)
2761 USE_BSD=1
2762 USE_OPENBSD=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __OPENBSD__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __BSD__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_GTK=1
2772 ;;
2773 *-*-netbsd*)
2774 USE_BSD=1
2775 USE_NETBSD=1
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __NETBSD__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __BSD__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_GTK=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2786
2787 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2788 ;;
2789 *-*-osf* )
2790 USE_ALPHA=1
2791 USE_OSF=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __ALPHA__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __OSF__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2802 ;;
2803 *-*-dgux5* )
2804 USE_ALPHA=1
2805 USE_SVR4=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __ALPHA__ 1
2808 _ACEOF
2809
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SVR4__ 1
2812 _ACEOF
2813
2814 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2815 ;;
2816 *-*-sysv5* )
2817 USE_SYSV=1
2818 USE_SVR4=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __SYSV__ 1
2821 _ACEOF
2822
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __SVR4__ 1
2825 _ACEOF
2826
2827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 ;;
2829 *-*-aix* )
2830 USE_AIX=1
2831 USE_SYSV=1
2832 USE_SVR4=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __AIX__ 1
2835 _ACEOF
2836
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __SYSV__ 1
2839 _ACEOF
2840
2841 cat >>confdefs.h <<\_ACEOF
2842 #define __SVR4__ 1
2843 _ACEOF
2844
2845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2846 ;;
2847
2848 *-*-*UnixWare*)
2849 USE_SYSV=1
2850 USE_SVR4=1
2851 USE_UNIXWARE=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __UNIXWARE__ 1
2854 _ACEOF
2855
2856 ;;
2857
2858 *-*-cygwin* | *-*-mingw32* )
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 cat >>confdefs.h <<\_ACEOF
2910 #define __BSD__ 1
2911 _ACEOF
2912
2913 cat >>confdefs.h <<\_ACEOF
2914 #define __DARWIN__ 1
2915 _ACEOF
2916
2917 cat >>confdefs.h <<\_ACEOF
2918 #define TARGET_CARBON 1
2919 _ACEOF
2920
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2922 DEFAULT_STD_FLAG=no
2923 ;;
2924 powerpc-apple-macos* )
2925 USE_UNIX=0
2926 ac_cv_c_bigendian=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2928 DEFAULT_STD_FLAG=no
2929 ;;
2930
2931 *-*-beos* )
2932 USE_BEOS=1
2933 cat >>confdefs.h <<\_ACEOF
2934 #define __BEOS__ 1
2935 _ACEOF
2936
2937 ;;
2938
2939 *)
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2944
2945 DEFAULT_DEFAULT_wxUSE_X11=1
2946 DEFAULT_wxUSE_SHARED=no
2947 esac
2948
2949
2950
2951 DEFAULT_wxUSE_ALL_FEATURES=yes
2952
2953 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2955
2956 DEFAULT_wxUSE_DMALLOC=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS=no
2958 DEFAULT_wxUSE_LIBHILDON=no
2959 DEFAULT_wxUSE_LIBMSPACK=no
2960 DEFAULT_wxUSE_LIBSDL=no
2961
2962 DEFAULT_wxUSE_ACCESSIBILITY=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2964 DEFAULT_wxUSE_IPV6=no
2965 DEFAULT_wxUSE_TAB_DIALOG=no
2966 DEFAULT_wxUSE_GSTREAMER8=no
2967
2968 DEFAULT_wxUSE_UNICODE_UTF8=auto
2969 DEFAULT_wxUSE_OPENGL=auto
2970 DEFAULT_wxUSE_MEDIACTRL=auto
2971
2972 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2973
2974 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2975
2976 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2977
2978 DEFAULT_wxUSE_GTK2=yes
2979
2980 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2981
2982
2983
2984
2985
2986 enablestring=disable
2987 defaultval=
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2990 defaultval=yes
2991 else
2992 defaultval=no
2993 fi
2994 fi
2995
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui='wxUSE_GUI=yes'
3003 else
3004 wx_cv_use_gui='wxUSE_GUI=no'
3005 fi
3006
3007 else
3008
3009 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3010
3011 fi
3012
3013
3014 eval "$wx_cv_use_gui"
3015
3016 if test x"$enablestring" = xdisable; then
3017 if test $wxUSE_GUI = yes; then
3018 result=no
3019 else
3020 result=yes
3021 fi
3022 else
3023 result=$wxUSE_GUI
3024 fi
3025
3026 { echo "$as_me:$LINENO: result: $result" >&5
3027 echo "${ECHO_T}$result" >&6; }
3028
3029
3030 enablestring=
3031 defaultval=
3032 if test -z "$defaultval"; then
3033 if test x"$enablestring" = xdisable; then
3034 defaultval=yes
3035 else
3036 defaultval=no
3037 fi
3038 fi
3039
3040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3041 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3042 # Check whether --enable-monolithic was given.
3043 if test "${enable_monolithic+set}" = set; then
3044 enableval=$enable_monolithic;
3045 if test "$enableval" = yes; then
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3047 else
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3049 fi
3050
3051 else
3052
3053 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3054
3055 fi
3056
3057
3058 eval "$wx_cv_use_monolithic"
3059
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3062 result=no
3063 else
3064 result=yes
3065 fi
3066 else
3067 result=$wxUSE_MONOLITHIC
3068 fi
3069
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3072
3073
3074 enablestring=
3075 defaultval=
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3078 defaultval=yes
3079 else
3080 defaultval=no
3081 fi
3082 fi
3083
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 else
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3093 fi
3094
3095 else
3096
3097 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3098
3099 fi
3100
3101
3102 eval "$wx_cv_use_plugins"
3103
3104 if test x"$enablestring" = xdisable; then
3105 if test $wxUSE_PLUGINS = yes; then
3106 result=no
3107 else
3108 result=yes
3109 fi
3110 else
3111 result=$wxUSE_PLUGINS
3112 fi
3113
3114 { echo "$as_me:$LINENO: result: $result" >&5
3115 echo "${ECHO_T}$result" >&6; }
3116
3117
3118 withstring=without
3119 defaultval=$wxUSE_ALL_FEATURES
3120 if test -z "$defaultval"; then
3121 if test x"$withstring" = xwithout; then
3122 defaultval=yes
3123 else
3124 defaultval=no
3125 fi
3126 fi
3127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3128 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3129
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval=$with_subdirs;
3133 if test "$withval" = yes; then
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3135 else
3136 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3137 fi
3138
3139 else
3140
3141 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3142
3143 fi
3144
3145
3146 eval "$wx_cv_use_subdirs"
3147
3148 if test x"$withstring" = xwithout; then
3149 if test $wxWITH_SUBDIRS = yes; then
3150 result=no
3151 else
3152 result=yes
3153 fi
3154 else
3155 result=$wxWITH_SUBDIRS
3156 fi
3157
3158 { echo "$as_me:$LINENO: result: $result" >&5
3159 echo "${ECHO_T}$result" >&6; }
3160
3161
3162 # Check whether --with-flavour was given.
3163 if test "${with_flavour+set}" = set; then
3164 withval=$with_flavour; WX_FLAVOUR="$withval"
3165 fi
3166
3167
3168 enablestring=
3169 defaultval=
3170 if test -z "$defaultval"; then
3171 if test x"$enablestring" = xdisable; then
3172 defaultval=yes
3173 else
3174 defaultval=no
3175 fi
3176 fi
3177
3178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3179 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3180 # Check whether --enable-official_build was given.
3181 if test "${enable_official_build+set}" = set; then
3182 enableval=$enable_official_build;
3183 if test "$enableval" = yes; then
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3185 else
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3187 fi
3188
3189 else
3190
3191 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3192
3193 fi
3194
3195
3196 eval "$wx_cv_use_official_build"
3197
3198 if test x"$enablestring" = xdisable; then
3199 if test $wxUSE_OFFICIAL_BUILD = yes; then
3200 result=no
3201 else
3202 result=yes
3203 fi
3204 else
3205 result=$wxUSE_OFFICIAL_BUILD
3206 fi
3207
3208 { echo "$as_me:$LINENO: result: $result" >&5
3209 echo "${ECHO_T}$result" >&6; }
3210
3211 # Check whether --enable-vendor was given.
3212 if test "${enable_vendor+set}" = set; then
3213 enableval=$enable_vendor; VENDOR="$enableval"
3214 fi
3215
3216 if test "x$VENDOR" = "x"; then
3217 VENDOR="custom"
3218 fi
3219
3220
3221 enablestring=disable
3222 defaultval=
3223 if test -z "$defaultval"; then
3224 if test x"$enablestring" = xdisable; then
3225 defaultval=yes
3226 else
3227 defaultval=no
3228 fi
3229 fi
3230
3231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3232 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3233 # Check whether --enable-all-features was given.
3234 if test "${enable_all_features+set}" = set; then
3235 enableval=$enable_all_features;
3236 if test "$enableval" = yes; then
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3238 else
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3240 fi
3241
3242 else
3243
3244 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3245
3246 fi
3247
3248
3249 eval "$wx_cv_use_all_features"
3250
3251 if test x"$enablestring" = xdisable; then
3252 if test $wxUSE_ALL_FEATURES = yes; then
3253 result=no
3254 else
3255 result=yes
3256 fi
3257 else
3258 result=$wxUSE_ALL_FEATURES
3259 fi
3260
3261 { echo "$as_me:$LINENO: result: $result" >&5
3262 echo "${ECHO_T}$result" >&6; }
3263
3264
3265
3266 if test "$wxUSE_GUI" = "yes"; then
3267
3268
3269 enablestring=
3270 defaultval=
3271 if test -z "$defaultval"; then
3272 if test x"$enablestring" = xdisable; then
3273 defaultval=yes
3274 else
3275 defaultval=no
3276 fi
3277 fi
3278
3279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3281 # Check whether --enable-universal was given.
3282 if test "${enable_universal+set}" = set; then
3283 enableval=$enable_universal;
3284 if test "$enableval" = yes; then
3285 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3286 else
3287 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3288 fi
3289
3290 else
3291
3292 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3293
3294 fi
3295
3296
3297 eval "$wx_cv_use_universal"
3298
3299 if test x"$enablestring" = xdisable; then
3300 if test $wxUSE_UNIVERSAL = yes; then
3301 result=no
3302 else
3303 result=yes
3304 fi
3305 else
3306 result=$wxUSE_UNIVERSAL
3307 fi
3308
3309 { echo "$as_me:$LINENO: result: $result" >&5
3310 echo "${ECHO_T}$result" >&6; }
3311
3312 if test "$wxUSE_UNIVERSAL" = "yes"; then
3313
3314 # Check whether --with-themes was given.
3315 if test "${with_themes+set}" = set; then
3316 withval=$with_themes; wxUNIV_THEMES="$withval"
3317 fi
3318
3319 fi
3320
3321
3322 # Check whether --with-gtk was given.
3323 if test "${with_gtk+set}" = set; then
3324 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-motif was given.
3329 if test "${with_motif+set}" = set; then
3330 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-osx_carbon was given.
3335 if test "${with_osx_carbon+set}" = set; then
3336 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-osx_cocoa was given.
3341 if test "${with_osx_cocoa+set}" = set; then
3342 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-mac was given.
3347 if test "${with_mac+set}" = set; then
3348 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-cocoa was given.
3353 if test "${with_cocoa+set}" = set; then
3354 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 # Check whether --with-wine was given.
3359 if test "${with_wine+set}" = set; then
3360 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3361 fi
3362
3363
3364 # Check whether --with-msw was given.
3365 if test "${with_msw+set}" = set; then
3366 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-pm was given.
3371 if test "${with_pm+set}" = set; then
3372 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-mgl was given.
3377 if test "${with_mgl+set}" = set; then
3378 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-directfb was given.
3383 if test "${with_directfb+set}" = set; then
3384 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-microwin was given.
3389 if test "${with_microwin+set}" = set; then
3390 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-x11 was given.
3395 if test "${with_x11+set}" = set; then
3396 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 enablestring=
3401 defaultval=
3402 if test -z "$defaultval"; then
3403 if test x"$enablestring" = xdisable; then
3404 defaultval=yes
3405 else
3406 defaultval=no
3407 fi
3408 fi
3409
3410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3411 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3412 # Check whether --enable-nanox was given.
3413 if test "${enable_nanox+set}" = set; then
3414 enableval=$enable_nanox;
3415 if test "$enableval" = yes; then
3416 wx_cv_use_nanox='wxUSE_NANOX=yes'
3417 else
3418 wx_cv_use_nanox='wxUSE_NANOX=no'
3419 fi
3420
3421 else
3422
3423 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3424
3425 fi
3426
3427
3428 eval "$wx_cv_use_nanox"
3429
3430 if test x"$enablestring" = xdisable; then
3431 if test $wxUSE_NANOX = yes; then
3432 result=no
3433 else
3434 result=yes
3435 fi
3436 else
3437 result=$wxUSE_NANOX
3438 fi
3439
3440 { echo "$as_me:$LINENO: result: $result" >&5
3441 echo "${ECHO_T}$result" >&6; }
3442
3443
3444 # Check whether --enable-gtk2 was given.
3445 if test "${enable_gtk2+set}" = set; then
3446 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3447 fi
3448
3449
3450 enablestring=
3451 defaultval=
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3454 defaultval=yes
3455 else
3456 defaultval=no
3457 fi
3458 fi
3459
3460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3462 # Check whether --enable-gpe was given.
3463 if test "${enable_gpe+set}" = set; then
3464 enableval=$enable_gpe;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_gpe='wxUSE_GPE=yes'
3467 else
3468 wx_cv_use_gpe='wxUSE_GPE=no'
3469 fi
3470
3471 else
3472
3473 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3474
3475 fi
3476
3477
3478 eval "$wx_cv_use_gpe"
3479
3480 if test x"$enablestring" = xdisable; then
3481 if test $wxUSE_GPE = yes; then
3482 result=no
3483 else
3484 result=yes
3485 fi
3486 else
3487 result=$wxUSE_GPE
3488 fi
3489
3490 { echo "$as_me:$LINENO: result: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3492
3493
3494
3495 { echo "$as_me:$LINENO: checking for toolkit" >&5
3496 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3497
3498
3499
3500 # In Wine, we need to default to MSW, not GTK or MOTIF
3501 if test "$wxUSE_WINE" = "yes"; then
3502 DEFAULT_DEFAULT_wxUSE_GTK=0
3503 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3504 DEFAULT_DEFAULT_wxUSE_MSW=1
3505 wxUSE_SHARED=no
3506 CC=${CC:-winegcc}
3507 CXX=${CXX:-wineg++}
3508 fi
3509
3510
3511 if test "$wxUSE_GUI" = "yes"; then
3512
3513 if test "$USE_BEOS" = 1; then
3514 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3515 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3516 { (exit 1); exit 1; }; }
3517 fi
3518
3519 if test "$TOOLKIT_GIVEN" = 1; then
3520 for toolkit in $ALL_TOOLKITS; do
3521 var=wxUSE_$toolkit
3522 eval "value=\$${var}"
3523 if test "x$value" = "xno"; then
3524 eval "$var=0"
3525 elif test "x$value" != "x"; then
3526 eval "$var=1"
3527 fi
3528
3529 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3530 eval "wx${toolkit}_VERSION=$value"
3531 fi
3532 done
3533 else
3534 for toolkit in $ALL_TOOLKITS; do
3535 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3536 eval "wxUSE_$toolkit=\$${var}"
3537 done
3538 fi
3539
3540 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3541 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3542 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3543
3544 case "${host}" in
3545 *-pc-os2_emx | *-pc-os2-emx )
3546 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3547 esac
3548
3549 case "$NUM_TOOLKITS" in
3550 1)
3551 ;;
3552 0)
3553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3555 { (exit 1); exit 1; }; }
3556 ;;
3557 *)
3558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3559 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3560 { (exit 1); exit 1; }; }
3561 esac
3562
3563 # to be removed when --disable-gtk2 isn't needed
3564 if test "x$wxUSE_GTK2" = "xyes"; then
3565 wxGTK_VERSION=2
3566 elif test "x$wxUSE_GTK2" = "xno"; then
3567 wxGTK_VERSION=1
3568 fi
3569
3570 for toolkit in $ALL_TOOLKITS; do
3571 var=wxUSE_$toolkit
3572 eval "value=\$${var}"
3573 if test "$value" = 1; then
3574 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3575 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3576 echo "${ECHO_T}$toolkit_echo" >&6; }
3577 fi
3578 done
3579 else
3580 if test "x$host_alias" != "x"; then
3581 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3582 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3583 else
3584 { echo "$as_me:$LINENO: result: base only" >&5
3585 echo "${ECHO_T}base only" >&6; }
3586 fi
3587 fi
3588
3589 wxUSE_MAC=0
3590 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3591 wxUSE_MAC=1
3592 fi
3593
3594
3595
3596 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3597 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3598
3599 # Check whether --with-libpng was given.
3600 if test "${with_libpng+set}" = set; then
3601 withval=$with_libpng;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3604 elif test "$withval" = no; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3606 elif test "$withval" = sys; then
3607 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616 else
3617
3618 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3619
3620 fi
3621
3622
3623 eval "$wx_cv_use_libpng"
3624
3625 if test "$wxUSE_LIBPNG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBPNG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBPNG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBPNG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643
3644 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3645 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3646
3647 # Check whether --with-libjpeg was given.
3648 if test "${with_libjpeg+set}" = set; then
3649 withval=$with_libjpeg;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3667
3668 fi
3669
3670
3671 eval "$wx_cv_use_libjpeg"
3672
3673 if test "$wxUSE_LIBJPEG" = yes; then
3674 { echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBJPEG" = no; then
3677 { echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = sys; then
3680 { echo "$as_me:$LINENO: result: system version" >&5
3681 echo "${ECHO_T}system version" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = builtin; then
3683 { echo "$as_me:$LINENO: result: builtin version" >&5
3684 echo "${ECHO_T}builtin version" >&6; }
3685 else
3686 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3687 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3689 fi
3690
3691
3692 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3693 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3694
3695 # Check whether --with-libtiff was given.
3696 if test "${with_libtiff+set}" = set; then
3697 withval=$with_libtiff;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3715
3716 fi
3717
3718
3719 eval "$wx_cv_use_libtiff"
3720
3721 if test "$wxUSE_LIBTIFF" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBTIFF" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3741 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742
3743 # Check whether --with-libxpm was given.
3744 if test "${with_libxpm+set}" = set; then
3745 withval=$with_libxpm;
3746 if test "$withval" = yes; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3748 elif test "$withval" = no; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3750 elif test "$withval" = sys; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3752 elif test "$withval" = builtin; then
3753 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760 else
3761
3762 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3763
3764 fi
3765
3766
3767 eval "$wx_cv_use_libxpm"
3768
3769 if test "$wxUSE_LIBXPM" = yes; then
3770 { echo "$as_me:$LINENO: result: yes" >&5
3771 echo "${ECHO_T}yes" >&6; }
3772 elif test "$wxUSE_LIBXPM" = no; then
3773 { echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6; }
3775 elif test "$wxUSE_LIBXPM" = sys; then
3776 { echo "$as_me:$LINENO: result: system version" >&5
3777 echo "${ECHO_T}system version" >&6; }
3778 elif test "$wxUSE_LIBXPM" = builtin; then
3779 { echo "$as_me:$LINENO: result: builtin version" >&5
3780 echo "${ECHO_T}builtin version" >&6; }
3781 else
3782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3783 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3784 { (exit 1); exit 1; }; }
3785 fi
3786
3787
3788 withstring=
3789 defaultval=$wxUSE_ALL_FEATURES
3790 if test -z "$defaultval"; then
3791 if test x"$withstring" = xwithout; then
3792 defaultval=yes
3793 else
3794 defaultval=no
3795 fi
3796 fi
3797 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3798 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3799
3800 # Check whether --with-libiconv was given.
3801 if test "${with_libiconv+set}" = set; then
3802 withval=$with_libiconv;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3805 else
3806 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3807 fi
3808
3809 else
3810
3811 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3812
3813 fi
3814
3815
3816 eval "$wx_cv_use_libiconv"
3817
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBICONV = yes; then
3820 result=no
3821 else
3822 result=yes
3823 fi
3824 else
3825 result=$wxUSE_LIBICONV
3826 fi
3827
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3830
3831
3832 withstring=
3833 defaultval=$wxUSE_ALL_FEATURES
3834 if test -z "$defaultval"; then
3835 if test x"$withstring" = xwithout; then
3836 defaultval=yes
3837 else
3838 defaultval=no
3839 fi
3840 fi
3841 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3842 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3843
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 else
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3851 fi
3852
3853 else
3854
3855 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3856
3857 fi
3858
3859
3860 eval "$wx_cv_use_libmspack"
3861
3862 if test x"$withstring" = xwithout; then
3863 if test $wxUSE_LIBMSPACK = yes; then
3864 result=no
3865 else
3866 result=yes
3867 fi
3868 else
3869 result=$wxUSE_LIBMSPACK
3870 fi
3871
3872 { echo "$as_me:$LINENO: result: $result" >&5
3873 echo "${ECHO_T}$result" >&6; }
3874
3875
3876 withstring=without
3877 defaultval=$wxUSE_ALL_FEATURES
3878 if test -z "$defaultval"; then
3879 if test x"$withstring" = xwithout; then
3880 defaultval=yes
3881 else
3882 defaultval=no
3883 fi
3884 fi
3885 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3886 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3887
3888 # Check whether --with-gtkprint was given.
3889 if test "${with_gtkprint+set}" = set; then
3890 withval=$with_gtkprint;
3891 if test "$withval" = yes; then
3892 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3893 else
3894 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3895 fi
3896
3897 else
3898
3899 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3900
3901 fi
3902
3903
3904 eval "$wx_cv_use_gtkprint"
3905
3906 if test x"$withstring" = xwithout; then
3907 if test $wxUSE_GTKPRINT = yes; then
3908 result=no
3909 else
3910 result=yes
3911 fi
3912 else
3913 result=$wxUSE_GTKPRINT
3914 fi
3915
3916 { echo "$as_me:$LINENO: result: $result" >&5
3917 echo "${ECHO_T}$result" >&6; }
3918
3919
3920 withstring=without
3921 defaultval=$wxUSE_ALL_FEATURES
3922 if test -z "$defaultval"; then
3923 if test x"$withstring" = xwithout; then
3924 defaultval=yes
3925 else
3926 defaultval=no
3927 fi
3928 fi
3929 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3930 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3931
3932 # Check whether --with-gnomeprint was given.
3933 if test "${with_gnomeprint+set}" = set; then
3934 withval=$with_gnomeprint;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3937 else
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3939 fi
3940
3941 else
3942
3943 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3944
3945 fi
3946
3947
3948 eval "$wx_cv_use_gnomeprint"
3949
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_LIBGNOMEPRINT = yes; then
3952 result=no
3953 else
3954 result=yes
3955 fi
3956 else
3957 result=$wxUSE_LIBGNOMEPRINT
3958 fi
3959
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3962
3963
3964 withstring=
3965 defaultval=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x"$withstring" = xwithout; then
3968 defaultval=yes
3969 else
3970 defaultval=no
3971 fi
3972 fi
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3975
3976 # Check whether --with-gnomevfs was given.
3977 if test "${with_gnomevfs+set}" = set; then
3978 withval=$with_gnomevfs;
3979 if test "$withval" = yes; then
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3981 else
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3983 fi
3984
3985 else
3986
3987 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3988
3989 fi
3990
3991
3992 eval "$wx_cv_use_gnomevfs"
3993
3994 if test x"$withstring" = xwithout; then
3995 if test $wxUSE_LIBGNOMEVFS = yes; then
3996 result=no
3997 else
3998 result=yes
3999 fi
4000 else
4001 result=$wxUSE_LIBGNOMEVFS
4002 fi
4003
4004 { echo "$as_me:$LINENO: result: $result" >&5
4005 echo "${ECHO_T}$result" >&6; }
4006
4007
4008 withstring=
4009 defaultval=$wxUSE_ALL_FEATURES
4010 if test -z "$defaultval"; then
4011 if test x"$withstring" = xwithout; then
4012 defaultval=yes
4013 else
4014 defaultval=no
4015 fi
4016 fi
4017 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4019
4020 # Check whether --with-hildon was given.
4021 if test "${with_hildon+set}" = set; then
4022 withval=$with_hildon;
4023 if test "$withval" = yes; then
4024 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4025 else
4026 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4027 fi
4028
4029 else
4030
4031 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4032
4033 fi
4034
4035
4036 eval "$wx_cv_use_hildon"
4037
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_LIBHILDON = yes; then
4040 result=no
4041 else
4042 result=yes
4043 fi
4044 else
4045 result=$wxUSE_LIBHILDON
4046 fi
4047
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4063
4064 # Check whether --with-opengl was given.
4065 if test "${with_opengl+set}" = set; then
4066 withval=$with_opengl;
4067 if test "$withval" = yes; then
4068 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4069 else
4070 wx_cv_use_opengl='wxUSE_OPENGL=no'
4071 fi
4072
4073 else
4074
4075 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_opengl"
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_OPENGL = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_OPENGL
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 fi
4097
4098
4099 withstring=
4100 defaultval=$wxUSE_ALL_FEATURES
4101 if test -z "$defaultval"; then
4102 if test x"$withstring" = xwithout; then
4103 defaultval=yes
4104 else
4105 defaultval=no
4106 fi
4107 fi
4108 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4110
4111 # Check whether --with-dmalloc was given.
4112 if test "${with_dmalloc+set}" = set; then
4113 withval=$with_dmalloc;
4114 if test "$withval" = yes; then
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4116 else
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4118 fi
4119
4120 else
4121
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4123
4124 fi
4125
4126
4127 eval "$wx_cv_use_dmalloc"
4128
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_DMALLOC = yes; then
4131 result=no
4132 else
4133 result=yes
4134 fi
4135 else
4136 result=$wxUSE_DMALLOC
4137 fi
4138
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4141
4142
4143 withstring=
4144 defaultval=$wxUSE_ALL_FEATURES
4145 if test -z "$defaultval"; then
4146 if test x"$withstring" = xwithout; then
4147 defaultval=yes
4148 else
4149 defaultval=no
4150 fi
4151 fi
4152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4153 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4154
4155 # Check whether --with-sdl was given.
4156 if test "${with_sdl+set}" = set; then
4157 withval=$with_sdl;
4158 if test "$withval" = yes; then
4159 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4160 else
4161 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4162 fi
4163
4164 else
4165
4166 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4167
4168 fi
4169
4170
4171 eval "$wx_cv_use_sdl"
4172
4173 if test x"$withstring" = xwithout; then
4174 if test $wxUSE_LIBSDL = yes; then
4175 result=no
4176 else
4177 result=yes
4178 fi
4179 else
4180 result=$wxUSE_LIBSDL
4181 fi
4182
4183 { echo "$as_me:$LINENO: result: $result" >&5
4184 echo "${ECHO_T}$result" >&6; }
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4188 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189
4190 # Check whether --with-regex was given.
4191 if test "${with_regex+set}" = set; then
4192 withval=$with_regex;
4193 if test "$withval" = yes; then
4194 wx_cv_use_regex='wxUSE_REGEX=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_regex='wxUSE_REGEX=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_regex='wxUSE_REGEX=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_regex='wxUSE_REGEX=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4210
4211 fi
4212
4213
4214 eval "$wx_cv_use_regex"
4215
4216 if test "$wxUSE_REGEX" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_REGEX" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_REGEX" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_REGEX" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4236 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4237
4238 # Check whether --with-zlib was given.
4239 if test "${with_zlib+set}" = set; then
4240 withval=$with_zlib;
4241 if test "$withval" = yes; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4249 else
4250 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4251 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254
4255 else
4256
4257 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4258
4259 fi
4260
4261
4262 eval "$wx_cv_use_zlib"
4263
4264 if test "$wxUSE_ZLIB" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_ZLIB" = no; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_ZLIB" = sys; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_ZLIB" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4276 else
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4280 fi
4281
4282
4283 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4284 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4285
4286 # Check whether --with-expat was given.
4287 if test "${with_expat+set}" = set; then
4288 withval=$with_expat;
4289 if test "$withval" = yes; then
4290 wx_cv_use_expat='wxUSE_EXPAT=yes'
4291 elif test "$withval" = no; then
4292 wx_cv_use_expat='wxUSE_EXPAT=no'
4293 elif test "$withval" = sys; then
4294 wx_cv_use_expat='wxUSE_EXPAT=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4297 else
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4301 fi
4302
4303 else
4304
4305 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4306
4307 fi
4308
4309
4310 eval "$wx_cv_use_expat"
4311
4312 if test "$wxUSE_EXPAT" = yes; then
4313 { echo "$as_me:$LINENO: result: yes" >&5
4314 echo "${ECHO_T}yes" >&6; }
4315 elif test "$wxUSE_EXPAT" = no; then
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4318 elif test "$wxUSE_EXPAT" = sys; then
4319 { echo "$as_me:$LINENO: result: system version" >&5
4320 echo "${ECHO_T}system version" >&6; }
4321 elif test "$wxUSE_EXPAT" = builtin; then
4322 { echo "$as_me:$LINENO: result: builtin version" >&5
4323 echo "${ECHO_T}builtin version" >&6; }
4324 else
4325 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4326 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4327 { (exit 1); exit 1; }; }
4328 fi
4329
4330
4331 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4332 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4333
4334 # Check whether --with-macosx-sdk was given.
4335 if test "${with_macosx_sdk+set}" = set; then
4336 withval=$with_macosx_sdk;
4337 wxUSE_MACOSX_SDK=$withval
4338 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4339
4340 fi
4341
4342 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4343 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4344
4345 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4346 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4347
4348 # Check whether --with-macosx-version-min was given.
4349 if test "${with_macosx_version_min+set}" = set; then
4350 withval=$with_macosx_version_min;
4351 wxUSE_MACOSX_VERSION_MIN=$withval
4352 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4353
4354 fi
4355
4356 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4357 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4358
4359
4360
4361 enablestring=disable
4362 defaultval=
4363 if test -z "$defaultval"; then
4364 if test x"$enablestring" = xdisable; then
4365 defaultval=yes
4366 else
4367 defaultval=no
4368 fi
4369 fi
4370
4371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4373 # Check whether --enable-shared was given.
4374 if test "${enable_shared+set}" = set; then
4375 enableval=$enable_shared;
4376 if test "$enableval" = yes; then
4377 wx_cv_use_shared='wxUSE_SHARED=yes'
4378 else
4379 wx_cv_use_shared='wxUSE_SHARED=no'
4380 fi
4381
4382 else
4383
4384 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4385
4386 fi
4387
4388
4389 eval "$wx_cv_use_shared"
4390
4391 if test x"$enablestring" = xdisable; then
4392 if test $wxUSE_SHARED = yes; then
4393 result=no
4394 else
4395 result=yes
4396 fi
4397 else
4398 result=$wxUSE_SHARED
4399 fi
4400
4401 { echo "$as_me:$LINENO: result: $result" >&5
4402 echo "${ECHO_T}$result" >&6; }
4403
4404
4405 enablestring=
4406 defaultval=
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4409 defaultval=yes
4410 else
4411 defaultval=no
4412 fi
4413 fi
4414
4415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4416 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_debug='wxUSE_DEBUG=yes'
4422 else
4423 wx_cv_use_debug='wxUSE_DEBUG=no'
4424 fi
4425
4426 else
4427
4428 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4429
4430 fi
4431
4432
4433 eval "$wx_cv_use_debug"
4434
4435 if test x"$enablestring" = xdisable; then
4436 if test $wxUSE_DEBUG = yes; then
4437 result=no
4438 else
4439 result=yes
4440 fi
4441 else
4442 result=$wxUSE_DEBUG
4443 fi
4444
4445 { echo "$as_me:$LINENO: result: $result" >&5
4446 echo "${ECHO_T}$result" >&6; }
4447
4448
4449 enablestring=
4450 defaultval=
4451 if test -z "$defaultval"; then
4452 if test x"$enablestring" = xdisable; then
4453 defaultval=yes
4454 else
4455 defaultval=no
4456 fi
4457 fi
4458
4459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4461 # Check whether --enable-stl was given.
4462 if test "${enable_stl+set}" = set; then
4463 enableval=$enable_stl;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_stl='wxUSE_STL=yes'
4466 else
4467 wx_cv_use_stl='wxUSE_STL=no'
4468 fi
4469
4470 else
4471
4472 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4473
4474 fi
4475
4476
4477 eval "$wx_cv_use_stl"
4478
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_STL = yes; then
4481 result=no
4482 else
4483 result=yes
4484 fi
4485 else
4486 result=$wxUSE_STL
4487 fi
4488
4489 { echo "$as_me:$LINENO: result: $result" >&5
4490 echo "${ECHO_T}$result" >&6; }
4491
4492
4493 enablestring=
4494 defaultval=
4495 if test -z "$defaultval"; then
4496 if test x"$enablestring" = xdisable; then
4497 defaultval=yes
4498 else
4499 defaultval=no
4500 fi
4501 fi
4502
4503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4505 # Check whether --enable-std_iostreams was given.
4506 if test "${enable_std_iostreams+set}" = set; then
4507 enableval=$enable_std_iostreams;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4510 else
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4512 fi
4513
4514 else
4515
4516 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4517
4518 fi
4519
4520
4521 eval "$wx_cv_use_std_iostreams"
4522
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_STD_IOSTREAM = yes; then
4525 result=no
4526 else
4527 result=yes
4528 fi
4529 else
4530 result=$wxUSE_STD_IOSTREAM
4531 fi
4532
4533 { echo "$as_me:$LINENO: result: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4535
4536
4537 enablestring=
4538 defaultval=
4539 if test -z "$defaultval"; then
4540 if test x"$enablestring" = xdisable; then
4541 defaultval=yes
4542 else
4543 defaultval=no
4544 fi
4545 fi
4546
4547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4548 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4549 # Check whether --enable-std_string was given.
4550 if test "${enable_std_string+set}" = set; then
4551 enableval=$enable_std_string;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4554 else
4555 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4556 fi
4557
4558 else
4559
4560 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4561
4562 fi
4563
4564
4565 eval "$wx_cv_use_std_string"
4566
4567 if test x"$enablestring" = xdisable; then
4568 if test $wxUSE_STD_STRING = yes; then
4569 result=no
4570 else
4571 result=yes
4572 fi
4573 else
4574 result=$wxUSE_STD_STRING
4575 fi
4576
4577 { echo "$as_me:$LINENO: result: $result" >&5
4578 echo "${ECHO_T}$result" >&6; }
4579
4580
4581 enablestring=disable
4582 defaultval=
4583 if test -z "$defaultval"; then
4584 if test x"$enablestring" = xdisable; then
4585 defaultval=yes
4586 else
4587 defaultval=no
4588 fi
4589 fi
4590
4591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4592 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4593 # Check whether --enable-unicode was given.
4594 if test "${enable_unicode+set}" = set; then
4595 enableval=$enable_unicode;
4596 if test "$enableval" = yes; then
4597 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4598 else
4599 wx_cv_use_unicode='wxUSE_UNICODE=no'
4600 fi
4601
4602 else
4603
4604 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4605
4606 fi
4607
4608
4609 eval "$wx_cv_use_unicode"
4610
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_UNICODE = yes; then
4613 result=no
4614 else
4615 result=yes
4616 fi
4617 else
4618 result=$wxUSE_UNICODE
4619 fi
4620
4621 { echo "$as_me:$LINENO: result: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4623
4624
4625 enablestring=
4626 defaultval=
4627 if test -z "$defaultval"; then
4628 if test x"$enablestring" = xdisable; then
4629 defaultval=yes
4630 else
4631 defaultval=no
4632 fi
4633 fi
4634
4635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4637 # Check whether --enable-mslu was given.
4638 if test "${enable_mslu+set}" = set; then
4639 enableval=$enable_mslu;
4640 if test "$enableval" = yes; then
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4642 else
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4644 fi
4645
4646 else
4647
4648 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4649
4650 fi
4651
4652
4653 eval "$wx_cv_use_mslu"
4654
4655 if test x"$enablestring" = xdisable; then
4656 if test $wxUSE_UNICODE_MSLU = yes; then
4657 result=no
4658 else
4659 result=yes
4660 fi
4661 else
4662 result=$wxUSE_UNICODE_MSLU
4663 fi
4664
4665 { echo "$as_me:$LINENO: result: $result" >&5
4666 echo "${ECHO_T}$result" >&6; }
4667
4668
4669 enablestring=
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4672 # Check whether --enable-utf8 was given.
4673 if test "${enable_utf8+set}" = set; then
4674 enableval=$enable_utf8;
4675 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4676
4677 else
4678
4679 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4680
4681 fi
4682
4683
4684 eval "$wx_cv_use_utf8"
4685
4686 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4687 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4702 # Check whether --enable-utf8only was given.
4703 if test "${enable_utf8only+set}" = set; then
4704 enableval=$enable_utf8only;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4707 else
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_utf8only"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_UNICODE_UTF8_LOCALE
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733
4734 enablestring=
4735 defaultval=
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4738 defaultval=yes
4739 else
4740 defaultval=no
4741 fi
4742 fi
4743
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4746 # Check whether --enable-extended_rtti was given.
4747 if test "${enable_extended_rtti+set}" = set; then
4748 enableval=$enable_extended_rtti;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4751 else
4752 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_extended_rtti"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_EXTENDED_RTTI = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_EXTENDED_RTTI
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777 if test "$USE_OS2" = 1; then
4778 DEFAULT_wxUSE_OMF=no
4779
4780 enablestring=
4781 defaultval=
4782 if test -z "$defaultval"; then
4783 if test x"$enablestring" = xdisable; then
4784 defaultval=yes
4785 else
4786 defaultval=no
4787 fi
4788 fi
4789
4790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4792 # Check whether --enable-omf was given.
4793 if test "${enable_omf+set}" = set; then
4794 enableval=$enable_omf;
4795 if test "$enableval" = yes; then
4796 wx_cv_use_omf='wxUSE_OMF=yes'
4797 else
4798 wx_cv_use_omf='wxUSE_OMF=no'
4799 fi
4800
4801 else
4802
4803 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4804
4805 fi
4806
4807
4808 eval "$wx_cv_use_omf"
4809
4810 if test x"$enablestring" = xdisable; then
4811 if test $wxUSE_OMF = yes; then
4812 result=no
4813 else
4814 result=yes
4815 fi
4816 else
4817 result=$wxUSE_OMF
4818 fi
4819
4820 { echo "$as_me:$LINENO: result: $result" >&5
4821 echo "${ECHO_T}$result" >&6; }
4822
4823 fi
4824
4825 if test "$wxUSE_DEBUG" = "yes"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=yes
4827 DEFAULT_wxUSE_DEBUG_INFO=yes
4828 BUILD=debug
4829 elif test "$wxUSE_DEBUG" = "no"; then
4830 DEFAULT_wxUSE_DEBUG_FLAG=no
4831 DEFAULT_wxUSE_DEBUG_INFO=no
4832 BUILD=release
4833 fi
4834
4835
4836 enablestring=
4837 defaultval=
4838 if test -z "$defaultval"; then
4839 if test x"$enablestring" = xdisable; then
4840 defaultval=yes
4841 else
4842 defaultval=no
4843 fi
4844 fi
4845
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4848 # Check whether --enable-debug_flag was given.
4849 if test "${enable_debug_flag+set}" = set; then
4850 enableval=$enable_debug_flag;
4851 if test "$enableval" = yes; then
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4853 else
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4855 fi
4856
4857 else
4858
4859 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4860
4861 fi
4862
4863
4864 eval "$wx_cv_use_debug_flag"
4865
4866 if test x"$enablestring" = xdisable; then
4867 if test $wxUSE_DEBUG_FLAG = yes; then
4868 result=no
4869 else
4870 result=yes
4871 fi
4872 else
4873 result=$wxUSE_DEBUG_FLAG
4874 fi
4875
4876 { echo "$as_me:$LINENO: result: $result" >&5
4877 echo "${ECHO_T}$result" >&6; }
4878
4879
4880 enablestring=
4881 defaultval=
4882 if test -z "$defaultval"; then
4883 if test x"$enablestring" = xdisable; then
4884 defaultval=yes
4885 else
4886 defaultval=no
4887 fi
4888 fi
4889
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4892 # Check whether --enable-debug_info was given.
4893 if test "${enable_debug_info+set}" = set; then
4894 enableval=$enable_debug_info;
4895 if test "$enableval" = yes; then
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4897 else
4898 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4899 fi
4900
4901 else
4902
4903 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4904
4905 fi
4906
4907
4908 eval "$wx_cv_use_debug_info"
4909
4910 if test x"$enablestring" = xdisable; then
4911 if test $wxUSE_DEBUG_INFO = yes; then
4912 result=no
4913 else
4914 result=yes
4915 fi
4916 else
4917 result=$wxUSE_DEBUG_INFO
4918 fi
4919
4920 { echo "$as_me:$LINENO: result: $result" >&5
4921 echo "${ECHO_T}$result" >&6; }
4922
4923
4924 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4925 wxUSE_DEBUG=yes
4926 BUILD=debug
4927 fi
4928
4929 if test "$wxUSE_DEBUG" = "yes"; then
4930 DEFAULT_wxUSE_OPTIMISE=no
4931 fi
4932
4933
4934 enablestring=disable
4935 defaultval=
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4938 defaultval=yes
4939 else
4940 defaultval=no
4941 fi
4942 fi
4943
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4946 # Check whether --enable-optimise was given.
4947 if test "${enable_optimise+set}" = set; then
4948 enableval=$enable_optimise;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4951 else
4952 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4953 fi
4954
4955 else
4956
4957 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_optimise"
4963
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_OPTIMISE = yes; then
4966 result=no
4967 else
4968 result=yes
4969 fi
4970 else
4971 result=$wxUSE_OPTIMISE
4972 fi
4973
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4976
4977
4978
4979 enablestring=
4980 defaultval=
4981 if test -z "$defaultval"; then
4982 if test x"$enablestring" = xdisable; then
4983 defaultval=yes
4984 else
4985 defaultval=no
4986 fi
4987 fi
4988
4989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4990 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4991 # Check whether --enable-debug_gdb was given.
4992 if test "${enable_debug_gdb+set}" = set; then
4993 enableval=$enable_debug_gdb;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4996 else
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4998 fi
4999
5000 else
5001
5002 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5003
5004 fi
5005
5006
5007 eval "$wx_cv_use_debug_gdb"
5008
5009 if test x"$enablestring" = xdisable; then
5010 if test $wxUSE_DEBUG_GDB = yes; then
5011 result=no
5012 else
5013 result=yes
5014 fi
5015 else
5016 result=$wxUSE_DEBUG_GDB
5017 fi
5018
5019 { echo "$as_me:$LINENO: result: $result" >&5
5020 echo "${ECHO_T}$result" >&6; }
5021
5022
5023 enablestring=
5024 defaultval=
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5027 defaultval=yes
5028 else
5029 defaultval=no
5030 fi
5031 fi
5032
5033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5035 # Check whether --enable-debug_cntxt was given.
5036 if test "${enable_debug_cntxt+set}" = set; then
5037 enableval=$enable_debug_cntxt;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5040 else
5041 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5042 fi
5043
5044 else
5045
5046 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5047
5048 fi
5049
5050
5051 eval "$wx_cv_use_debug_cntxt"
5052
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_DEBUG_CONTEXT = yes; then
5055 result=no
5056 else
5057 result=yes
5058 fi
5059 else
5060 result=$wxUSE_DEBUG_CONTEXT
5061 fi
5062
5063 { echo "$as_me:$LINENO: result: $result" >&5
5064 echo "${ECHO_T}$result" >&6; }
5065
5066
5067 enablestring=
5068 defaultval=
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5071 defaultval=yes
5072 else
5073 defaultval=no
5074 fi
5075 fi
5076
5077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5079 # Check whether --enable-mem_tracing was given.
5080 if test "${enable_mem_tracing+set}" = set; then
5081 enableval=$enable_mem_tracing;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5084 else
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5086 fi
5087
5088 else
5089
5090 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_mem_tracing"
5096
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_MEM_TRACING = yes; then
5099 result=no
5100 else
5101 result=yes
5102 fi
5103 else
5104 result=$wxUSE_MEM_TRACING
5105 fi
5106
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5109
5110
5111 enablestring=
5112 defaultval=
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5115 defaultval=yes
5116 else
5117 defaultval=no
5118 fi
5119 fi
5120
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5123 # Check whether --enable-profile was given.
5124 if test "${enable_profile+set}" = set; then
5125 enableval=$enable_profile;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_profile='wxUSE_PROFILE=yes'
5128 else
5129 wx_cv_use_profile='wxUSE_PROFILE=no'
5130 fi
5131
5132 else
5133
5134 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5135
5136 fi
5137
5138
5139 eval "$wx_cv_use_profile"
5140
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_PROFILE = yes; then
5143 result=no
5144 else
5145 result=yes
5146 fi
5147 else
5148 result=$wxUSE_PROFILE
5149 fi
5150
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5153
5154
5155 enablestring=
5156 defaultval=
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5159 defaultval=yes
5160 else
5161 defaultval=no
5162 fi
5163 fi
5164
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5167 # Check whether --enable-no_rtti was given.
5168 if test "${enable_no_rtti+set}" = set; then
5169 enableval=$enable_no_rtti;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5172 else
5173 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5174 fi
5175
5176 else
5177
5178 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5179
5180 fi
5181
5182
5183 eval "$wx_cv_use_no_rtti"
5184
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_NO_RTTI = yes; then
5187 result=no
5188 else
5189 result=yes
5190 fi
5191 else
5192 result=$wxUSE_NO_RTTI
5193 fi
5194
5195 { echo "$as_me:$LINENO: result: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5197
5198
5199 enablestring=
5200 defaultval=
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5203 defaultval=yes
5204 else
5205 defaultval=no
5206 fi
5207 fi
5208
5209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5211 # Check whether --enable-no_exceptions was given.
5212 if test "${enable_no_exceptions+set}" = set; then
5213 enableval=$enable_no_exceptions;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5216 else
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5218 fi
5219
5220 else
5221
5222 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5223
5224 fi
5225
5226
5227 eval "$wx_cv_use_no_exceptions"
5228
5229 if test x"$enablestring" = xdisable; then
5230 if test $wxUSE_NO_EXCEPTIONS = yes; then
5231 result=no
5232 else
5233 result=yes
5234 fi
5235 else
5236 result=$wxUSE_NO_EXCEPTIONS
5237 fi
5238
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5241
5242
5243 enablestring=
5244 defaultval=
5245 if test -z "$defaultval"; then
5246 if test x"$enablestring" = xdisable; then
5247 defaultval=yes
5248 else
5249 defaultval=no
5250 fi
5251 fi
5252
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5255 # Check whether --enable-permissive was given.
5256 if test "${enable_permissive+set}" = set; then
5257 enableval=$enable_permissive;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5260 else
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5262 fi
5263
5264 else
5265
5266 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5267
5268 fi
5269
5270
5271 eval "$wx_cv_use_permissive"
5272
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_PERMISSIVE = yes; then
5275 result=no
5276 else
5277 result=yes
5278 fi
5279 else
5280 result=$wxUSE_PERMISSIVE
5281 fi
5282
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5285
5286
5287 enablestring=
5288 defaultval=
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5291 defaultval=yes
5292 else
5293 defaultval=no
5294 fi
5295 fi
5296
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5299 # Check whether --enable-no_deps was given.
5300 if test "${enable_no_deps+set}" = set; then
5301 enableval=$enable_no_deps;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5304 else
5305 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5306 fi
5307
5308 else
5309
5310 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5311
5312 fi
5313
5314
5315 eval "$wx_cv_use_no_deps"
5316
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_NO_DEPS = yes; then
5319 result=no
5320 else
5321 result=yes
5322 fi
5323 else
5324 result=$wxUSE_NO_DEPS
5325 fi
5326
5327 { echo "$as_me:$LINENO: result: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5329
5330
5331 enablestring=disable
5332 defaultval=
5333 if test -z "$defaultval"; then
5334 if test x"$enablestring" = xdisable; then
5335 defaultval=yes
5336 else
5337 defaultval=no
5338 fi
5339 fi
5340
5341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5343 # Check whether --enable-vararg_macros was given.
5344 if test "${enable_vararg_macros+set}" = set; then
5345 enableval=$enable_vararg_macros;
5346 if test "$enableval" = yes; then
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5348 else
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5350 fi
5351
5352 else
5353
5354 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5355
5356 fi
5357
5358
5359 eval "$wx_cv_use_vararg_macros"
5360
5361 if test x"$enablestring" = xdisable; then
5362 if test $wxUSE_VARARG_MACROS = yes; then
5363 result=no
5364 else
5365 result=yes
5366 fi
5367 else
5368 result=$wxUSE_VARARG_MACROS
5369 fi
5370
5371 { echo "$as_me:$LINENO: result: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5373
5374
5375 enablestring=
5376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5378 # Check whether --enable-universal_binary was given.
5379 if test "${enable_universal_binary+set}" = set; then
5380 enableval=$enable_universal_binary;
5381 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5382
5383 else
5384
5385 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5386
5387 fi
5388
5389
5390 eval "$wx_cv_use_universal_binary"
5391
5392 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5393 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5394
5395
5396
5397 enablestring=
5398 defaultval=
5399 if test -z "$defaultval"; then
5400 if test x"$enablestring" = xdisable; then
5401 defaultval=yes
5402 else
5403 defaultval=no
5404 fi
5405 fi
5406
5407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5408 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5409 # Check whether --enable-compat26 was given.
5410 if test "${enable_compat26+set}" = set; then
5411 enableval=$enable_compat26;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5414 else
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5416 fi
5417
5418 else
5419
5420 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5421
5422 fi
5423
5424
5425 eval "$wx_cv_use_compat26"
5426
5427 if test x"$enablestring" = xdisable; then
5428 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5429 result=no
5430 else
5431 result=yes
5432 fi
5433 else
5434 result=$WXWIN_COMPATIBILITY_2_6
5435 fi
5436
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5439
5440
5441 enablestring=disable
5442 defaultval=
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5445 defaultval=yes
5446 else
5447 defaultval=no
5448 fi
5449 fi
5450
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5453 # Check whether --enable-compat28 was given.
5454 if test "${enable_compat28+set}" = set; then
5455 enableval=$enable_compat28;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5458 else
5459 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5460 fi
5461
5462 else
5463
5464 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5465
5466 fi
5467
5468
5469 eval "$wx_cv_use_compat28"
5470
5471 if test x"$enablestring" = xdisable; then
5472 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5473 result=no
5474 else
5475 result=yes
5476 fi
5477 else
5478 result=$WXWIN_COMPATIBILITY_2_8
5479 fi
5480
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5483
5484
5485
5486 enablestring=disable
5487 defaultval=
5488 if test -z "$defaultval"; then
5489 if test x"$enablestring" = xdisable; then
5490 defaultval=yes
5491 else
5492 defaultval=no
5493 fi
5494 fi
5495
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5498 # Check whether --enable-rpath was given.
5499 if test "${enable_rpath+set}" = set; then
5500 enableval=$enable_rpath;
5501 if test "$enableval" = yes; then
5502 wx_cv_use_rpath='wxUSE_RPATH=yes'
5503 else
5504 wx_cv_use_rpath='wxUSE_RPATH=no'
5505 fi
5506
5507 else
5508
5509 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5510
5511 fi
5512
5513
5514 eval "$wx_cv_use_rpath"
5515
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_RPATH = yes; then
5518 result=no
5519 else
5520 result=yes
5521 fi
5522 else
5523 result=$wxUSE_RPATH
5524 fi
5525
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5528
5529
5530
5531 enablestring=
5532 defaultval=
5533 if test -z "$defaultval"; then
5534 if test x"$enablestring" = xdisable; then
5535 defaultval=yes
5536 else
5537 defaultval=no
5538 fi
5539 fi
5540
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5543 # Check whether --enable-objc_uniquifying was given.
5544 if test "${enable_objc_uniquifying+set}" = set; then
5545 enableval=$enable_objc_uniquifying;
5546 if test "$enableval" = yes; then
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5548 else
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5550 fi
5551
5552 else
5553
5554 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5555
5556 fi
5557
5558
5559 eval "$wx_cv_use_objc_uniquifying"
5560
5561 if test x"$enablestring" = xdisable; then
5562 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5563 result=no
5564 else
5565 result=yes
5566 fi
5567 else
5568 result=$wxUSE_OBJC_UNIQUIFYING
5569 fi
5570
5571 { echo "$as_me:$LINENO: result: $result" >&5
5572 echo "${ECHO_T}$result" >&6; }
5573
5574
5575
5576 enablestring=disable
5577 defaultval=
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5580 defaultval=yes
5581 else
5582 defaultval=no
5583 fi
5584 fi
5585
5586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5588 # Check whether --enable-visibility was given.
5589 if test "${enable_visibility+set}" = set; then
5590 enableval=$enable_visibility;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5593 else
5594 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5595 fi
5596
5597 else
5598
5599 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5600
5601 fi
5602
5603
5604 eval "$wx_cv_use_visibility"
5605
5606 if test x"$enablestring" = xdisable; then
5607 if test $wxUSE_VISIBILITY = yes; then
5608 result=no
5609 else
5610 result=yes
5611 fi
5612 else
5613 result=$wxUSE_VISIBILITY
5614 fi
5615
5616 { echo "$as_me:$LINENO: result: $result" >&5
5617 echo "${ECHO_T}$result" >&6; }
5618
5619
5620
5621
5622 enablestring=
5623 defaultval=$wxUSE_ALL_FEATURES
5624 if test -z "$defaultval"; then
5625 if test x"$enablestring" = xdisable; then
5626 defaultval=yes
5627 else
5628 defaultval=no
5629 fi
5630 fi
5631
5632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5634 # Check whether --enable-intl was given.
5635 if test "${enable_intl+set}" = set; then
5636 enableval=$enable_intl;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_intl='wxUSE_INTL=yes'
5639 else
5640 wx_cv_use_intl='wxUSE_INTL=no'
5641 fi
5642
5643 else
5644
5645 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5646
5647 fi
5648
5649
5650 eval "$wx_cv_use_intl"
5651
5652 if test x"$enablestring" = xdisable; then
5653 if test $wxUSE_INTL = yes; then
5654 result=no
5655 else
5656 result=yes
5657 fi
5658 else
5659 result=$wxUSE_INTL
5660 fi
5661
5662 { echo "$as_me:$LINENO: result: $result" >&5
5663 echo "${ECHO_T}$result" >&6; }
5664
5665
5666 enablestring=
5667 defaultval=$wxUSE_ALL_FEATURES
5668 if test -z "$defaultval"; then
5669 if test x"$enablestring" = xdisable; then
5670 defaultval=yes
5671 else
5672 defaultval=no
5673 fi
5674 fi
5675
5676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5678 # Check whether --enable-xlocale was given.
5679 if test "${enable_xlocale+set}" = set; then
5680 enableval=$enable_xlocale;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5683 else
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5685 fi
5686
5687 else
5688
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5690
5691 fi
5692
5693
5694 eval "$wx_cv_use_xlocale"
5695
5696 if test x"$enablestring" = xdisable; then
5697 if test $wxUSE_XLOCALE = yes; then
5698 result=no
5699 else
5700 result=yes
5701 fi
5702 else
5703 result=$wxUSE_XLOCALE
5704 fi
5705
5706 { echo "$as_me:$LINENO: result: $result" >&5
5707 echo "${ECHO_T}$result" >&6; }
5708
5709
5710 enablestring=
5711 defaultval=$wxUSE_ALL_FEATURES
5712 if test -z "$defaultval"; then
5713 if test x"$enablestring" = xdisable; then
5714 defaultval=yes
5715 else
5716 defaultval=no
5717 fi
5718 fi
5719
5720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5722 # Check whether --enable-config was given.
5723 if test "${enable_config+set}" = set; then
5724 enableval=$enable_config;
5725 if test "$enableval" = yes; then
5726 wx_cv_use_config='wxUSE_CONFIG=yes'
5727 else
5728 wx_cv_use_config='wxUSE_CONFIG=no'
5729 fi
5730
5731 else
5732
5733 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5734
5735 fi
5736
5737
5738 eval "$wx_cv_use_config"
5739
5740 if test x"$enablestring" = xdisable; then
5741 if test $wxUSE_CONFIG = yes; then
5742 result=no
5743 else
5744 result=yes
5745 fi
5746 else
5747 result=$wxUSE_CONFIG
5748 fi
5749
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5752
5753
5754
5755 enablestring=
5756 defaultval=$wxUSE_ALL_FEATURES
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5759 defaultval=yes
5760 else
5761 defaultval=no
5762 fi
5763 fi
5764
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5767 # Check whether --enable-protocols was given.
5768 if test "${enable_protocols+set}" = set; then
5769 enableval=$enable_protocols;
5770 if test "$enableval" = yes; then
5771 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5772 else
5773 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5774 fi
5775
5776 else
5777
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5779
5780 fi
5781
5782
5783 eval "$wx_cv_use_protocols"
5784
5785 if test x"$enablestring" = xdisable; then
5786 if test $wxUSE_PROTOCOL = yes; then
5787 result=no
5788 else
5789 result=yes
5790 fi
5791 else
5792 result=$wxUSE_PROTOCOL
5793 fi
5794
5795 { echo "$as_me:$LINENO: result: $result" >&5
5796 echo "${ECHO_T}$result" >&6; }
5797
5798
5799 enablestring=
5800 defaultval=$wxUSE_ALL_FEATURES
5801 if test -z "$defaultval"; then
5802 if test x"$enablestring" = xdisable; then
5803 defaultval=yes
5804 else
5805 defaultval=no
5806 fi
5807 fi
5808
5809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5811 # Check whether --enable-ftp was given.
5812 if test "${enable_ftp+set}" = set; then
5813 enableval=$enable_ftp;
5814 if test "$enableval" = yes; then
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5816 else
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5818 fi
5819
5820 else
5821
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5823
5824 fi
5825
5826
5827 eval "$wx_cv_use_ftp"
5828
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_PROTOCOL_FTP = yes; then
5831 result=no
5832 else
5833 result=yes
5834 fi
5835 else
5836 result=$wxUSE_PROTOCOL_FTP
5837 fi
5838
5839 { echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6; }
5841
5842
5843 enablestring=
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5847 defaultval=yes
5848 else
5849 defaultval=no
5850 fi
5851 fi
5852
5853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5855 # Check whether --enable-http was given.
5856 if test "${enable_http+set}" = set; then
5857 enableval=$enable_http;
5858 if test "$enableval" = yes; then
5859 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5860 else
5861 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5862 fi
5863
5864 else
5865
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5867
5868 fi
5869
5870
5871 eval "$wx_cv_use_http"
5872
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_PROTOCOL_HTTP = yes; then
5875 result=no
5876 else
5877 result=yes
5878 fi
5879 else
5880 result=$wxUSE_PROTOCOL_HTTP
5881 fi
5882
5883 { echo "$as_me:$LINENO: result: $result" >&5
5884 echo "${ECHO_T}$result" >&6; }
5885
5886
5887 enablestring=
5888 defaultval=$wxUSE_ALL_FEATURES
5889 if test -z "$defaultval"; then
5890 if test x"$enablestring" = xdisable; then
5891 defaultval=yes
5892 else
5893 defaultval=no
5894 fi
5895 fi
5896
5897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5899 # Check whether --enable-fileproto was given.
5900 if test "${enable_fileproto+set}" = set; then
5901 enableval=$enable_fileproto;
5902 if test "$enableval" = yes; then
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5904 else
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5906 fi
5907
5908 else
5909
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5911
5912 fi
5913
5914
5915 eval "$wx_cv_use_fileproto"
5916
5917 if test x"$enablestring" = xdisable; then
5918 if test $wxUSE_PROTOCOL_FILE = yes; then
5919 result=no
5920 else
5921 result=yes
5922 fi
5923 else
5924 result=$wxUSE_PROTOCOL_FILE
5925 fi
5926
5927 { echo "$as_me:$LINENO: result: $result" >&5
5928 echo "${ECHO_T}$result" >&6; }
5929
5930
5931 enablestring=
5932 defaultval=$wxUSE_ALL_FEATURES
5933 if test -z "$defaultval"; then
5934 if test x"$enablestring" = xdisable; then
5935 defaultval=yes
5936 else
5937 defaultval=no
5938 fi
5939 fi
5940
5941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5943 # Check whether --enable-sockets was given.
5944 if test "${enable_sockets+set}" = set; then
5945 enableval=$enable_sockets;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5948 else
5949 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5950 fi
5951
5952 else
5953
5954 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5955
5956 fi
5957
5958
5959 eval "$wx_cv_use_sockets"
5960
5961 if test x"$enablestring" = xdisable; then
5962 if test $wxUSE_SOCKETS = yes; then
5963 result=no
5964 else
5965 result=yes
5966 fi
5967 else
5968 result=$wxUSE_SOCKETS
5969 fi
5970
5971 { echo "$as_me:$LINENO: result: $result" >&5
5972 echo "${ECHO_T}$result" >&6; }
5973
5974
5975 enablestring=
5976 defaultval=$wxUSE_ALL_FEATURES
5977 if test -z "$defaultval"; then
5978 if test x"$enablestring" = xdisable; then
5979 defaultval=yes
5980 else
5981 defaultval=no
5982 fi
5983 fi
5984
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5987 # Check whether --enable-ipv6 was given.
5988 if test "${enable_ipv6+set}" = set; then
5989 enableval=$enable_ipv6;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5992 else
5993 wx_cv_use_ipv6='wxUSE_IPV6=no'
5994 fi
5995
5996 else
5997
5998 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5999
6000 fi
6001
6002
6003 eval "$wx_cv_use_ipv6"
6004
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_IPV6 = yes; then
6007 result=no
6008 else
6009 result=yes
6010 fi
6011 else
6012 result=$wxUSE_IPV6
6013 fi
6014
6015 { echo "$as_me:$LINENO: result: $result" >&5
6016 echo "${ECHO_T}$result" >&6; }
6017
6018
6019 enablestring=
6020 defaultval=$wxUSE_ALL_FEATURES
6021 if test -z "$defaultval"; then
6022 if test x"$enablestring" = xdisable; then
6023 defaultval=yes
6024 else
6025 defaultval=no
6026 fi
6027 fi
6028
6029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6031 # Check whether --enable-ole was given.
6032 if test "${enable_ole+set}" = set; then
6033 enableval=$enable_ole;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_ole='wxUSE_OLE=yes'
6036 else
6037 wx_cv_use_ole='wxUSE_OLE=no'
6038 fi
6039
6040 else
6041
6042 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6043
6044 fi
6045
6046
6047 eval "$wx_cv_use_ole"
6048
6049 if test x"$enablestring" = xdisable; then
6050 if test $wxUSE_OLE = yes; then
6051 result=no
6052 else
6053 result=yes
6054 fi
6055 else
6056 result=$wxUSE_OLE
6057 fi
6058
6059 { echo "$as_me:$LINENO: result: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6061
6062
6063 enablestring=
6064 defaultval=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x"$enablestring" = xdisable; then
6067 defaultval=yes
6068 else
6069 defaultval=no
6070 fi
6071 fi
6072
6073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6075 # Check whether --enable-dataobj was given.
6076 if test "${enable_dataobj+set}" = set; then
6077 enableval=$enable_dataobj;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6080 else
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6082 fi
6083
6084 else
6085
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6087
6088 fi
6089
6090
6091 eval "$wx_cv_use_dataobj"
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_DATAOBJ = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_DATAOBJ
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108 enablestring=
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6112 defaultval=yes
6113 else
6114 defaultval=no
6115 fi
6116 fi
6117
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6120 # Check whether --enable-ipc was given.
6121 if test "${enable_ipc+set}" = set; then
6122 enableval=$enable_ipc;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_ipc='wxUSE_IPC=yes'
6125 else
6126 wx_cv_use_ipc='wxUSE_IPC=no'
6127 fi
6128
6129 else
6130
6131 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6132
6133 fi
6134
6135
6136 eval "$wx_cv_use_ipc"
6137
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_IPC = yes; then
6140 result=no
6141 else
6142 result=yes
6143 fi
6144 else
6145 result=$wxUSE_IPC
6146 fi
6147
6148 { echo "$as_me:$LINENO: result: $result" >&5
6149 echo "${ECHO_T}$result" >&6; }
6150
6151
6152
6153 enablestring=
6154 defaultval=$wxUSE_ALL_FEATURES
6155 if test -z "$defaultval"; then
6156 if test x"$enablestring" = xdisable; then
6157 defaultval=yes
6158 else
6159 defaultval=no
6160 fi
6161 fi
6162
6163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6164 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6165 # Check whether --enable-baseevtloop was given.
6166 if test "${enable_baseevtloop+set}" = set; then
6167 enableval=$enable_baseevtloop;
6168 if test "$enableval" = yes; then
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6170 else
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6172 fi
6173
6174 else
6175
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6177
6178 fi
6179
6180
6181 eval "$wx_cv_use_baseevtloop"
6182
6183 if test x"$enablestring" = xdisable; then
6184 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6185 result=no
6186 else
6187 result=yes
6188 fi
6189 else
6190 result=$wxUSE_CONSOLE_EVENTLOOP
6191 fi
6192
6193 { echo "$as_me:$LINENO: result: $result" >&5
6194 echo "${ECHO_T}$result" >&6; }
6195
6196
6197 enablestring=
6198 defaultval=$wxUSE_ALL_FEATURES
6199 if test -z "$defaultval"; then
6200 if test x"$enablestring" = xdisable; then
6201 defaultval=yes
6202 else
6203 defaultval=no
6204 fi
6205 fi
6206
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6209 # Check whether --enable-epollloop was given.
6210 if test "${enable_epollloop+set}" = set; then
6211 enableval=$enable_epollloop;
6212 if test "$enableval" = yes; then
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6214 else
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6216 fi
6217
6218 else
6219
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6221
6222 fi
6223
6224
6225 eval "$wx_cv_use_epollloop"
6226
6227 if test x"$enablestring" = xdisable; then
6228 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6229 result=no
6230 else
6231 result=yes
6232 fi
6233 else
6234 result=$wxUSE_EPOLL_DISPATCHER
6235 fi
6236
6237 { echo "$as_me:$LINENO: result: $result" >&5
6238 echo "${ECHO_T}$result" >&6; }
6239
6240
6241 enablestring=
6242 defaultval=$wxUSE_ALL_FEATURES
6243 if test -z "$defaultval"; then
6244 if test x"$enablestring" = xdisable; then
6245 defaultval=yes
6246 else
6247 defaultval=no
6248 fi
6249 fi
6250
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6253 # Check whether --enable-selectloop was given.
6254 if test "${enable_selectloop+set}" = set; then
6255 enableval=$enable_selectloop;
6256 if test "$enableval" = yes; then
6257 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6258 else
6259 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6260 fi
6261
6262 else
6263
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6265
6266 fi
6267
6268
6269 eval "$wx_cv_use_selectloop"
6270
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_SELECT_DISPATCHER = yes; then
6273 result=no
6274 else
6275 result=yes
6276 fi
6277 else
6278 result=$wxUSE_SELECT_DISPATCHER
6279 fi
6280
6281 { echo "$as_me:$LINENO: result: $result" >&5
6282 echo "${ECHO_T}$result" >&6; }
6283
6284
6285
6286 enablestring=
6287 defaultval=$wxUSE_ALL_FEATURES
6288 if test -z "$defaultval"; then
6289 if test x"$enablestring" = xdisable; then
6290 defaultval=yes
6291 else
6292 defaultval=no
6293 fi
6294 fi
6295
6296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6298 # Check whether --enable-apple_ieee was given.
6299 if test "${enable_apple_ieee+set}" = set; then
6300 enableval=$enable_apple_ieee;
6301 if test "$enableval" = yes; then
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6303 else
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6305 fi
6306
6307 else
6308
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6310
6311 fi
6312
6313
6314 eval "$wx_cv_use_apple_ieee"
6315
6316 if test x"$enablestring" = xdisable; then
6317 if test $wxUSE_APPLE_IEEE = yes; then
6318 result=no
6319 else
6320 result=yes
6321 fi
6322 else
6323 result=$wxUSE_APPLE_IEEE
6324 fi
6325
6326 { echo "$as_me:$LINENO: result: $result" >&5
6327 echo "${ECHO_T}$result" >&6; }
6328
6329
6330 enablestring=
6331 defaultval=$wxUSE_ALL_FEATURES
6332 if test -z "$defaultval"; then
6333 if test x"$enablestring" = xdisable; then
6334 defaultval=yes
6335 else
6336 defaultval=no
6337 fi
6338 fi
6339
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6342 # Check whether --enable-arcstream was given.
6343 if test "${enable_arcstream+set}" = set; then
6344 enableval=$enable_arcstream;
6345 if test "$enableval" = yes; then
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6347 else
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6349 fi
6350
6351 else
6352
6353 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6354
6355 fi
6356
6357
6358 eval "$wx_cv_use_arcstream"
6359
6360 if test x"$enablestring" = xdisable; then
6361 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6362 result=no
6363 else
6364 result=yes
6365 fi
6366 else
6367 result=$wxUSE_ARCHIVE_STREAMS
6368 fi
6369
6370 { echo "$as_me:$LINENO: result: $result" >&5
6371 echo "${ECHO_T}$result" >&6; }
6372
6373
6374 enablestring=
6375 defaultval=$wxUSE_ALL_FEATURES
6376 if test -z "$defaultval"; then
6377 if test x"$enablestring" = xdisable; then
6378 defaultval=yes
6379 else
6380 defaultval=no
6381 fi
6382 fi
6383
6384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6386 # Check whether --enable-base64 was given.
6387 if test "${enable_base64+set}" = set; then
6388 enableval=$enable_base64;
6389 if test "$enableval" = yes; then
6390 wx_cv_use_base64='wxUSE_BASE64=yes'
6391 else
6392 wx_cv_use_base64='wxUSE_BASE64=no'
6393 fi
6394
6395 else
6396
6397 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6398
6399 fi
6400
6401
6402 eval "$wx_cv_use_base64"
6403
6404 if test x"$enablestring" = xdisable; then
6405 if test $wxUSE_BASE64 = yes; then
6406 result=no
6407 else
6408 result=yes
6409 fi
6410 else
6411 result=$wxUSE_BASE64
6412 fi
6413
6414 { echo "$as_me:$LINENO: result: $result" >&5
6415 echo "${ECHO_T}$result" >&6; }
6416
6417
6418 enablestring=
6419 defaultval=$wxUSE_ALL_FEATURES
6420 if test -z "$defaultval"; then
6421 if test x"$enablestring" = xdisable; then
6422 defaultval=yes
6423 else
6424 defaultval=no
6425 fi
6426 fi
6427
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6430 # Check whether --enable-backtrace was given.
6431 if test "${enable_backtrace+set}" = set; then
6432 enableval=$enable_backtrace;
6433 if test "$enableval" = yes; then
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6435 else
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6437 fi
6438
6439 else
6440
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6442
6443 fi
6444
6445
6446 eval "$wx_cv_use_backtrace"
6447
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_STACKWALKER = yes; then
6450 result=no
6451 else
6452 result=yes
6453 fi
6454 else
6455 result=$wxUSE_STACKWALKER
6456 fi
6457
6458 { echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6; }
6460
6461
6462 enablestring=
6463 defaultval=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x"$enablestring" = xdisable; then
6466 defaultval=yes
6467 else
6468 defaultval=no
6469 fi
6470 fi
6471
6472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6474 # Check whether --enable-catch_segvs was given.
6475 if test "${enable_catch_segvs+set}" = set; then
6476 enableval=$enable_catch_segvs;
6477 if test "$enableval" = yes; then
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6479 else
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6481 fi
6482
6483 else
6484
6485 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6486
6487 fi
6488
6489
6490 eval "$wx_cv_use_catch_segvs"
6491
6492 if test x"$enablestring" = xdisable; then
6493 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6494 result=no
6495 else
6496 result=yes
6497 fi
6498 else
6499 result=$wxUSE_ON_FATAL_EXCEPTION
6500 fi
6501
6502 { echo "$as_me:$LINENO: result: $result" >&5
6503 echo "${ECHO_T}$result" >&6; }
6504
6505
6506 enablestring=
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z "$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6510 defaultval=yes
6511 else
6512 defaultval=no
6513 fi
6514 fi
6515
6516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6518 # Check whether --enable-cmdline was given.
6519 if test "${enable_cmdline+set}" = set; then
6520 enableval=$enable_cmdline;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6523 else
6524 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6525 fi
6526
6527 else
6528
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6530
6531 fi
6532
6533
6534 eval "$wx_cv_use_cmdline"
6535
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_CMDLINE_PARSER = yes; then
6538 result=no
6539 else
6540 result=yes
6541 fi
6542 else
6543 result=$wxUSE_CMDLINE_PARSER
6544 fi
6545
6546 { echo "$as_me:$LINENO: result: $result" >&5
6547 echo "${ECHO_T}$result" >&6; }
6548
6549
6550 enablestring=
6551 defaultval=$wxUSE_ALL_FEATURES
6552 if test -z "$defaultval"; then
6553 if test x"$enablestring" = xdisable; then
6554 defaultval=yes
6555 else
6556 defaultval=no
6557 fi
6558 fi
6559
6560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6562 # Check whether --enable-datetime was given.
6563 if test "${enable_datetime+set}" = set; then
6564 enableval=$enable_datetime;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6567 else
6568 wx_cv_use_datetime='wxUSE_DATETIME=no'
6569 fi
6570
6571 else
6572
6573 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6574
6575 fi
6576
6577
6578 eval "$wx_cv_use_datetime"
6579
6580 if test x"$enablestring" = xdisable; then
6581 if test $wxUSE_DATETIME = yes; then
6582 result=no
6583 else
6584 result=yes
6585 fi
6586 else
6587 result=$wxUSE_DATETIME
6588 fi
6589
6590 { echo "$as_me:$LINENO: result: $result" >&5
6591 echo "${ECHO_T}$result" >&6; }
6592
6593
6594 enablestring=
6595 defaultval=$wxUSE_ALL_FEATURES
6596 if test -z "$defaultval"; then
6597 if test x"$enablestring" = xdisable; then
6598 defaultval=yes
6599 else
6600 defaultval=no
6601 fi
6602 fi
6603
6604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6605 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6606 # Check whether --enable-debugreport was given.
6607 if test "${enable_debugreport+set}" = set; then
6608 enableval=$enable_debugreport;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6611 else
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6613 fi
6614
6615 else
6616
6617 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6618
6619 fi
6620
6621
6622 eval "$wx_cv_use_debugreport"
6623
6624 if test x"$enablestring" = xdisable; then
6625 if test $wxUSE_DEBUGREPORT = yes; then
6626 result=no
6627 else
6628 result=yes
6629 fi
6630 else
6631 result=$wxUSE_DEBUGREPORT
6632 fi
6633
6634 { echo "$as_me:$LINENO: result: $result" >&5
6635 echo "${ECHO_T}$result" >&6; }
6636
6637
6638 enablestring=
6639 defaultval=$wxUSE_ALL_FEATURES
6640 if test -z "$defaultval"; then
6641 if test x"$enablestring" = xdisable; then
6642 defaultval=yes
6643 else
6644 defaultval=no
6645 fi
6646 fi
6647
6648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6650 # Check whether --enable-dialupman was given.
6651 if test "${enable_dialupman+set}" = set; then
6652 enableval=$enable_dialupman;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6655 else
6656 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6657 fi
6658
6659 else
6660
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6662
6663 fi
6664
6665
6666 eval "$wx_cv_use_dialupman"
6667
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DIALUP_MANAGER = yes; then
6670 result=no
6671 else
6672 result=yes
6673 fi
6674 else
6675 result=$wxUSE_DIALUP_MANAGER
6676 fi
6677
6678 { echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6; }
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6694 # Check whether --enable-dynlib was given.
6695 if test "${enable_dynlib+set}" = set; then
6696 enableval=$enable_dynlib;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6699 else
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6701 fi
6702
6703 else
6704
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6706
6707 fi
6708
6709
6710 eval "$wx_cv_use_dynlib"
6711
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_DYNLIB_CLASS = yes; then
6714 result=no
6715 else
6716 result=yes
6717 fi
6718 else
6719 result=$wxUSE_DYNLIB_CLASS
6720 fi
6721
6722 { echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6; }
6724
6725
6726 enablestring=
6727 defaultval=$wxUSE_ALL_FEATURES
6728 if test -z "$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6730 defaultval=yes
6731 else
6732 defaultval=no
6733 fi
6734 fi
6735
6736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6738 # Check whether --enable-dynamicloader was given.
6739 if test "${enable_dynamicloader+set}" = set; then
6740 enableval=$enable_dynamicloader;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6743 else
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6745 fi
6746
6747 else
6748
6749 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6750
6751 fi
6752
6753
6754 eval "$wx_cv_use_dynamicloader"
6755
6756 if test x"$enablestring" = xdisable; then
6757 if test $wxUSE_DYNAMIC_LOADER = yes; then
6758 result=no
6759 else
6760 result=yes
6761 fi
6762 else
6763 result=$wxUSE_DYNAMIC_LOADER
6764 fi
6765
6766 { echo "$as_me:$LINENO: result: $result" >&5
6767 echo "${ECHO_T}$result" >&6; }
6768
6769
6770 enablestring=
6771 defaultval=$wxUSE_ALL_FEATURES
6772 if test -z "$defaultval"; then
6773 if test x"$enablestring" = xdisable; then
6774 defaultval=yes
6775 else
6776 defaultval=no
6777 fi
6778 fi
6779
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6782 # Check whether --enable-exceptions was given.
6783 if test "${enable_exceptions+set}" = set; then
6784 enableval=$enable_exceptions;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6787 else
6788 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6789 fi
6790
6791 else
6792
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6794
6795 fi
6796
6797
6798 eval "$wx_cv_use_exceptions"
6799
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_EXCEPTIONS = yes; then
6802 result=no
6803 else
6804 result=yes
6805 fi
6806 else
6807 result=$wxUSE_EXCEPTIONS
6808 fi
6809
6810 { echo "$as_me:$LINENO: result: $result" >&5
6811 echo "${ECHO_T}$result" >&6; }
6812
6813
6814 enablestring=
6815 defaultval=$wxUSE_ALL_FEATURES
6816 if test -z "$defaultval"; then
6817 if test x"$enablestring" = xdisable; then
6818 defaultval=yes
6819 else
6820 defaultval=no
6821 fi
6822 fi
6823
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6826 # Check whether --enable-ffile was given.
6827 if test "${enable_ffile+set}" = set; then
6828 enableval=$enable_ffile;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_ffile='wxUSE_FFILE=yes'
6831 else
6832 wx_cv_use_ffile='wxUSE_FFILE=no'
6833 fi
6834
6835 else
6836
6837 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6838
6839 fi
6840
6841
6842 eval "$wx_cv_use_ffile"
6843
6844 if test x"$enablestring" = xdisable; then
6845 if test $wxUSE_FFILE = yes; then
6846 result=no
6847 else
6848 result=yes
6849 fi
6850 else
6851 result=$wxUSE_FFILE
6852 fi
6853
6854 { echo "$as_me:$LINENO: result: $result" >&5
6855 echo "${ECHO_T}$result" >&6; }
6856
6857
6858 enablestring=
6859 defaultval=$wxUSE_ALL_FEATURES
6860 if test -z "$defaultval"; then
6861 if test x"$enablestring" = xdisable; then
6862 defaultval=yes
6863 else
6864 defaultval=no
6865 fi
6866 fi
6867
6868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6870 # Check whether --enable-file was given.
6871 if test "${enable_file+set}" = set; then
6872 enableval=$enable_file;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_file='wxUSE_FILE=yes'
6875 else
6876 wx_cv_use_file='wxUSE_FILE=no'
6877 fi
6878
6879 else
6880
6881 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6882
6883 fi
6884
6885
6886 eval "$wx_cv_use_file"
6887
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_FILE = yes; then
6890 result=no
6891 else
6892 result=yes
6893 fi
6894 else
6895 result=$wxUSE_FILE
6896 fi
6897
6898 { echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6; }
6900
6901
6902 enablestring=
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6906 defaultval=yes
6907 else
6908 defaultval=no
6909 fi
6910 fi
6911
6912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6914 # Check whether --enable-filesystem was given.
6915 if test "${enable_filesystem+set}" = set; then
6916 enableval=$enable_filesystem;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6919 else
6920 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6921 fi
6922
6923 else
6924
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6926
6927 fi
6928
6929
6930 eval "$wx_cv_use_filesystem"
6931
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_FILESYSTEM = yes; then
6934 result=no
6935 else
6936 result=yes
6937 fi
6938 else
6939 result=$wxUSE_FILESYSTEM
6940 fi
6941
6942 { echo "$as_me:$LINENO: result: $result" >&5
6943 echo "${ECHO_T}$result" >&6; }
6944
6945
6946 enablestring=
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z "$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6950 defaultval=yes
6951 else
6952 defaultval=no
6953 fi
6954 fi
6955
6956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6958 # Check whether --enable-fontenum was given.
6959 if test "${enable_fontenum+set}" = set; then
6960 enableval=$enable_fontenum;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6963 else
6964 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6965 fi
6966
6967 else
6968
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6970
6971 fi
6972
6973
6974 eval "$wx_cv_use_fontenum"
6975
6976 if test x"$enablestring" = xdisable; then
6977 if test $wxUSE_FONTENUM = yes; then
6978 result=no
6979 else
6980 result=yes
6981 fi
6982 else
6983 result=$wxUSE_FONTENUM
6984 fi
6985
6986 { echo "$as_me:$LINENO: result: $result" >&5
6987 echo "${ECHO_T}$result" >&6; }
6988
6989
6990 enablestring=
6991 defaultval=$wxUSE_ALL_FEATURES
6992 if test -z "$defaultval"; then
6993 if test x"$enablestring" = xdisable; then
6994 defaultval=yes
6995 else
6996 defaultval=no
6997 fi
6998 fi
6999
7000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7001 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7002 # Check whether --enable-fontmap was given.
7003 if test "${enable_fontmap+set}" = set; then
7004 enableval=$enable_fontmap;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7007 else
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7009 fi
7010
7011 else
7012
7013 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7014
7015 fi
7016
7017
7018 eval "$wx_cv_use_fontmap"
7019
7020 if test x"$enablestring" = xdisable; then
7021 if test $wxUSE_FONTMAP = yes; then
7022 result=no
7023 else
7024 result=yes
7025 fi
7026 else
7027 result=$wxUSE_FONTMAP
7028 fi
7029
7030 { echo "$as_me:$LINENO: result: $result" >&5
7031 echo "${ECHO_T}$result" >&6; }
7032
7033
7034 enablestring=
7035 defaultval=$wxUSE_ALL_FEATURES
7036 if test -z "$defaultval"; then
7037 if test x"$enablestring" = xdisable; then
7038 defaultval=yes
7039 else
7040 defaultval=no
7041 fi
7042 fi
7043
7044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7046 # Check whether --enable-fs_archive was given.
7047 if test "${enable_fs_archive+set}" = set; then
7048 enableval=$enable_fs_archive;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7051 else
7052 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7053 fi
7054
7055 else
7056
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7058
7059 fi
7060
7061
7062 eval "$wx_cv_use_fs_archive"
7063
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FS_ARCHIVE = yes; then
7066 result=no
7067 else
7068 result=yes
7069 fi
7070 else
7071 result=$wxUSE_FS_ARCHIVE
7072 fi
7073
7074 { echo "$as_me:$LINENO: result: $result" >&5
7075 echo "${ECHO_T}$result" >&6; }
7076
7077
7078 enablestring=
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7082 defaultval=yes
7083 else
7084 defaultval=no
7085 fi
7086 fi
7087
7088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7090 # Check whether --enable-fs_inet was given.
7091 if test "${enable_fs_inet+set}" = set; then
7092 enableval=$enable_fs_inet;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7095 else
7096 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7097 fi
7098
7099 else
7100
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7102
7103 fi
7104
7105
7106 eval "$wx_cv_use_fs_inet"
7107
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_FS_INET = yes; then
7110 result=no
7111 else
7112 result=yes
7113 fi
7114 else
7115 result=$wxUSE_FS_INET
7116 fi
7117
7118 { echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6; }
7120
7121
7122 enablestring=
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7126 defaultval=yes
7127 else
7128 defaultval=no
7129 fi
7130 fi
7131
7132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7134 # Check whether --enable-fs_zip was given.
7135 if test "${enable_fs_zip+set}" = set; then
7136 enableval=$enable_fs_zip;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7139 else
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7141 fi
7142
7143 else
7144
7145 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7146
7147 fi
7148
7149
7150 eval "$wx_cv_use_fs_zip"
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_FS_ZIP = yes; then
7154 result=no
7155 else
7156 result=yes
7157 fi
7158 else
7159 result=$wxUSE_FS_ZIP
7160 fi
7161
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7178 # Check whether --enable-geometry was given.
7179 if test "${enable_geometry+set}" = set; then
7180 enableval=$enable_geometry;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7183 else
7184 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7185 fi
7186
7187 else
7188
7189 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7190
7191 fi
7192
7193
7194 eval "$wx_cv_use_geometry"
7195
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_GEOMETRY = yes; then
7198 result=no
7199 else
7200 result=yes
7201 fi
7202 else
7203 result=$wxUSE_GEOMETRY
7204 fi
7205
7206 { echo "$as_me:$LINENO: result: $result" >&5
7207 echo "${ECHO_T}$result" >&6; }
7208
7209
7210 enablestring=
7211 defaultval=$wxUSE_ALL_FEATURES
7212 if test -z "$defaultval"; then
7213 if test x"$enablestring" = xdisable; then
7214 defaultval=yes
7215 else
7216 defaultval=no
7217 fi
7218 fi
7219
7220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7222 # Check whether --enable-log was given.
7223 if test "${enable_log+set}" = set; then
7224 enableval=$enable_log;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_log='wxUSE_LOG=yes'
7227 else
7228 wx_cv_use_log='wxUSE_LOG=no'
7229 fi
7230
7231 else
7232
7233 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7234
7235 fi
7236
7237
7238 eval "$wx_cv_use_log"
7239
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_LOG = yes; then
7242 result=no
7243 else
7244 result=yes
7245 fi
7246 else
7247 result=$wxUSE_LOG
7248 fi
7249
7250 { echo "$as_me:$LINENO: result: $result" >&5
7251 echo "${ECHO_T}$result" >&6; }
7252
7253
7254 enablestring=
7255 defaultval=$wxUSE_ALL_FEATURES
7256 if test -z "$defaultval"; then
7257 if test x"$enablestring" = xdisable; then
7258 defaultval=yes
7259 else
7260 defaultval=no
7261 fi
7262 fi
7263
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7266 # Check whether --enable-longlong was given.
7267 if test "${enable_longlong+set}" = set; then
7268 enableval=$enable_longlong;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7271 else
7272 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7273 fi
7274
7275 else
7276
7277 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7278
7279 fi
7280
7281
7282 eval "$wx_cv_use_longlong"
7283
7284 if test x"$enablestring" = xdisable; then
7285 if test $wxUSE_LONGLONG = yes; then
7286 result=no
7287 else
7288 result=yes
7289 fi
7290 else
7291 result=$wxUSE_LONGLONG
7292 fi
7293
7294 { echo "$as_me:$LINENO: result: $result" >&5
7295 echo "${ECHO_T}$result" >&6; }
7296
7297
7298 enablestring=
7299 defaultval=$wxUSE_ALL_FEATURES
7300 if test -z "$defaultval"; then
7301 if test x"$enablestring" = xdisable; then
7302 defaultval=yes
7303 else
7304 defaultval=no
7305 fi
7306 fi
7307
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7310 # Check whether --enable-mimetype was given.
7311 if test "${enable_mimetype+set}" = set; then
7312 enableval=$enable_mimetype;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7315 else
7316 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7317 fi
7318
7319 else
7320
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7322
7323 fi
7324
7325
7326 eval "$wx_cv_use_mimetype"
7327
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_MIMETYPE = yes; then
7330 result=no
7331 else
7332 result=yes
7333 fi
7334 else
7335 result=$wxUSE_MIMETYPE
7336 fi
7337
7338 { echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6; }
7340
7341
7342 enablestring=
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7346 defaultval=yes
7347 else
7348 defaultval=no
7349 fi
7350 fi
7351
7352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7354 # Check whether --enable-printfposparam was given.
7355 if test "${enable_printfposparam+set}" = set; then
7356 enableval=$enable_printfposparam;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7359 else
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7361 fi
7362
7363 else
7364
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7366
7367 fi
7368
7369
7370 eval "$wx_cv_use_printfposparam"
7371
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7374 result=no
7375 else
7376 result=yes
7377 fi
7378 else
7379 result=$wxUSE_PRINTF_POS_PARAMS
7380 fi
7381
7382 { echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6; }
7384
7385
7386 enablestring=
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z "$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7390 defaultval=yes
7391 else
7392 defaultval=no
7393 fi
7394 fi
7395
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7398 # Check whether --enable-snglinst was given.
7399 if test "${enable_snglinst+set}" = set; then
7400 enableval=$enable_snglinst;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7403 else
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7405 fi
7406
7407 else
7408
7409 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7410
7411 fi
7412
7413
7414 eval "$wx_cv_use_snglinst"
7415
7416 if test x"$enablestring" = xdisable; then
7417 if test $wxUSE_SNGLINST_CHECKER = yes; then
7418 result=no
7419 else
7420 result=yes
7421 fi
7422 else
7423 result=$wxUSE_SNGLINST_CHECKER
7424 fi
7425
7426 { echo "$as_me:$LINENO: result: $result" >&5
7427 echo "${ECHO_T}$result" >&6; }
7428
7429
7430 enablestring=
7431 defaultval=$wxUSE_ALL_FEATURES
7432 if test -z "$defaultval"; then
7433 if test x"$enablestring" = xdisable; then
7434 defaultval=yes
7435 else
7436 defaultval=no
7437 fi
7438 fi
7439
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7442 # Check whether --enable-sound was given.
7443 if test "${enable_sound+set}" = set; then
7444 enableval=$enable_sound;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_sound='wxUSE_SOUND=yes'
7447 else
7448 wx_cv_use_sound='wxUSE_SOUND=no'
7449 fi
7450
7451 else
7452
7453 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7454
7455 fi
7456
7457
7458 eval "$wx_cv_use_sound"
7459
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_SOUND = yes; then
7462 result=no
7463 else
7464 result=yes
7465 fi
7466 else
7467 result=$wxUSE_SOUND
7468 fi
7469
7470 { echo "$as_me:$LINENO: result: $result" >&5
7471 echo "${ECHO_T}$result" >&6; }
7472
7473
7474 enablestring=
7475 defaultval=$wxUSE_ALL_FEATURES
7476 if test -z "$defaultval"; then
7477 if test x"$enablestring" = xdisable; then
7478 defaultval=yes
7479 else
7480 defaultval=no
7481 fi
7482 fi
7483
7484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7486 # Check whether --enable-stdpaths was given.
7487 if test "${enable_stdpaths+set}" = set; then
7488 enableval=$enable_stdpaths;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7491 else
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7493 fi
7494
7495 else
7496
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7498
7499 fi
7500
7501
7502 eval "$wx_cv_use_stdpaths"
7503
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_STDPATHS = yes; then
7506 result=no
7507 else
7508 result=yes
7509 fi
7510 else
7511 result=$wxUSE_STDPATHS
7512 fi
7513
7514 { echo "$as_me:$LINENO: result: $result" >&5
7515 echo "${ECHO_T}$result" >&6; }
7516
7517
7518 enablestring=
7519 defaultval=$wxUSE_ALL_FEATURES
7520 if test -z "$defaultval"; then
7521 if test x"$enablestring" = xdisable; then
7522 defaultval=yes
7523 else
7524 defaultval=no
7525 fi
7526 fi
7527
7528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7530 # Check whether --enable-stopwatch was given.
7531 if test "${enable_stopwatch+set}" = set; then
7532 enableval=$enable_stopwatch;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7535 else
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7537 fi
7538
7539 else
7540
7541 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7542
7543 fi
7544
7545
7546 eval "$wx_cv_use_stopwatch"
7547
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_STOPWATCH = yes; then
7550 result=no
7551 else
7552 result=yes
7553 fi
7554 else
7555 result=$wxUSE_STOPWATCH
7556 fi
7557
7558 { echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6; }
7560
7561
7562 enablestring=
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7566 defaultval=yes
7567 else
7568 defaultval=no
7569 fi
7570 fi
7571
7572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7574 # Check whether --enable-streams was given.
7575 if test "${enable_streams+set}" = set; then
7576 enableval=$enable_streams;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_streams='wxUSE_STREAMS=yes'
7579 else
7580 wx_cv_use_streams='wxUSE_STREAMS=no'
7581 fi
7582
7583 else
7584
7585 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7586
7587 fi
7588
7589
7590 eval "$wx_cv_use_streams"
7591
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_STREAMS = yes; then
7594 result=no
7595 else
7596 result=yes
7597 fi
7598 else
7599 result=$wxUSE_STREAMS
7600 fi
7601
7602 { echo "$as_me:$LINENO: result: $result" >&5
7603 echo "${ECHO_T}$result" >&6; }
7604
7605
7606 enablestring=
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7610 defaultval=yes
7611 else
7612 defaultval=no
7613 fi
7614 fi
7615
7616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7618 # Check whether --enable-system_options was given.
7619 if test "${enable_system_options+set}" = set; then
7620 enableval=$enable_system_options;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7623 else
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7625 fi
7626
7627 else
7628
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7630
7631 fi
7632
7633
7634 eval "$wx_cv_use_system_options"
7635
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7638 result=no
7639 else
7640 result=yes
7641 fi
7642 else
7643 result=$wxUSE_SYSTEM_OPTIONS
7644 fi
7645
7646 { echo "$as_me:$LINENO: result: $result" >&5
7647 echo "${ECHO_T}$result" >&6; }
7648
7649
7650 enablestring=
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7654 defaultval=yes
7655 else
7656 defaultval=no
7657 fi
7658 fi
7659
7660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7661 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7662 # Check whether --enable-tarstream was given.
7663 if test "${enable_tarstream+set}" = set; then
7664 enableval=$enable_tarstream;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7667 else
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7669 fi
7670
7671 else
7672
7673 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7674
7675 fi
7676
7677
7678 eval "$wx_cv_use_tarstream"
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_TARSTREAM = yes; then
7682 result=no
7683 else
7684 result=yes
7685 fi
7686 else
7687 result=$wxUSE_TARSTREAM
7688 fi
7689
7690 { echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6; }
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7706 # Check whether --enable-textbuf was given.
7707 if test "${enable_textbuf+set}" = set; then
7708 enableval=$enable_textbuf;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7711 else
7712 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7713 fi
7714
7715 else
7716
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7718
7719 fi
7720
7721
7722 eval "$wx_cv_use_textbuf"
7723
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_TEXTBUFFER = yes; then
7726 result=no
7727 else
7728 result=yes
7729 fi
7730 else
7731 result=$wxUSE_TEXTBUFFER
7732 fi
7733
7734 { echo "$as_me:$LINENO: result: $result" >&5
7735 echo "${ECHO_T}$result" >&6; }
7736
7737
7738 enablestring=
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7742 defaultval=yes
7743 else
7744 defaultval=no
7745 fi
7746 fi
7747
7748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7750 # Check whether --enable-textfile was given.
7751 if test "${enable_textfile+set}" = set; then
7752 enableval=$enable_textfile;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7755 else
7756 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7757 fi
7758
7759 else
7760
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_textfile"
7767
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_TEXTFILE = yes; then
7770 result=no
7771 else
7772 result=yes
7773 fi
7774 else
7775 result=$wxUSE_TEXTFILE
7776 fi
7777
7778 { echo "$as_me:$LINENO: result: $result" >&5
7779 echo "${ECHO_T}$result" >&6; }
7780
7781
7782 enablestring=
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7786 defaultval=yes
7787 else
7788 defaultval=no
7789 fi
7790 fi
7791
7792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7794 # Check whether --enable-timer was given.
7795 if test "${enable_timer+set}" = set; then
7796 enableval=$enable_timer;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_timer='wxUSE_TIMER=yes'
7799 else
7800 wx_cv_use_timer='wxUSE_TIMER=no'
7801 fi
7802
7803 else
7804
7805 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7806
7807 fi
7808
7809
7810 eval "$wx_cv_use_timer"
7811
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_TIMER = yes; then
7814 result=no
7815 else
7816 result=yes
7817 fi
7818 else
7819 result=$wxUSE_TIMER
7820 fi
7821
7822 { echo "$as_me:$LINENO: result: $result" >&5
7823 echo "${ECHO_T}$result" >&6; }
7824
7825
7826 enablestring=
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7830 defaultval=yes
7831 else
7832 defaultval=no
7833 fi
7834 fi
7835
7836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7838 # Check whether --enable-variant was given.
7839 if test "${enable_variant+set}" = set; then
7840 enableval=$enable_variant;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_variant='wxUSE_VARIANT=yes'
7843 else
7844 wx_cv_use_variant='wxUSE_VARIANT=no'
7845 fi
7846
7847 else
7848
7849 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7850
7851 fi
7852
7853
7854 eval "$wx_cv_use_variant"
7855
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_VARIANT = yes; then
7858 result=no
7859 else
7860 result=yes
7861 fi
7862 else
7863 result=$wxUSE_VARIANT
7864 fi
7865
7866 { echo "$as_me:$LINENO: result: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7868
7869
7870 enablestring=
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7874 defaultval=yes
7875 else
7876 defaultval=no
7877 fi
7878 fi
7879
7880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7882 # Check whether --enable-zipstream was given.
7883 if test "${enable_zipstream+set}" = set; then
7884 enableval=$enable_zipstream;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7887 else
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7889 fi
7890
7891 else
7892
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7894
7895 fi
7896
7897
7898 eval "$wx_cv_use_zipstream"
7899
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_ZIPSTREAM = yes; then
7902 result=no
7903 else
7904 result=yes
7905 fi
7906 else
7907 result=$wxUSE_ZIPSTREAM
7908 fi
7909
7910 { echo "$as_me:$LINENO: result: $result" >&5
7911 echo "${ECHO_T}$result" >&6; }
7912
7913
7914
7915 enablestring=
7916 defaultval=$wxUSE_ALL_FEATURES
7917 if test -z "$defaultval"; then
7918 if test x"$enablestring" = xdisable; then
7919 defaultval=yes
7920 else
7921 defaultval=no
7922 fi
7923 fi
7924
7925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7927 # Check whether --enable-url was given.
7928 if test "${enable_url+set}" = set; then
7929 enableval=$enable_url;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_url='wxUSE_URL=yes'
7932 else
7933 wx_cv_use_url='wxUSE_URL=no'
7934 fi
7935
7936 else
7937
7938 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$wx_cv_use_url"
7944
7945 if test x"$enablestring" = xdisable; then
7946 if test $wxUSE_URL = yes; then
7947 result=no
7948 else
7949 result=yes
7950 fi
7951 else
7952 result=$wxUSE_URL
7953 fi
7954
7955 { echo "$as_me:$LINENO: result: $result" >&5
7956 echo "${ECHO_T}$result" >&6; }
7957
7958
7959 enablestring=
7960 defaultval=$wxUSE_ALL_FEATURES
7961 if test -z "$defaultval"; then
7962 if test x"$enablestring" = xdisable; then
7963 defaultval=yes
7964 else
7965 defaultval=no
7966 fi
7967 fi
7968
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7971 # Check whether --enable-protocol was given.
7972 if test "${enable_protocol+set}" = set; then
7973 enableval=$enable_protocol;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7976 else
7977 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7978 fi
7979
7980 else
7981
7982 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7983
7984 fi
7985
7986
7987 eval "$wx_cv_use_protocol"
7988
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL = yes; then
7991 result=no
7992 else
7993 result=yes
7994 fi
7995 else
7996 result=$wxUSE_PROTOCOL
7997 fi
7998
7999 { echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6; }
8001
8002
8003 enablestring=
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8007 defaultval=yes
8008 else
8009 defaultval=no
8010 fi
8011 fi
8012
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8015 # Check whether --enable-protocol_http was given.
8016 if test "${enable_protocol_http+set}" = set; then
8017 enableval=$enable_protocol_http;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8020 else
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8022 fi
8023
8024 else
8025
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8027
8028 fi
8029
8030
8031 eval "$wx_cv_use_protocol_http"
8032
8033 if test x"$enablestring" = xdisable; then
8034 if test $wxUSE_PROTOCOL_HTTP = yes; then
8035 result=no
8036 else
8037 result=yes
8038 fi
8039 else
8040 result=$wxUSE_PROTOCOL_HTTP
8041 fi
8042
8043 { echo "$as_me:$LINENO: result: $result" >&5
8044 echo "${ECHO_T}$result" >&6; }
8045
8046
8047 enablestring=
8048 defaultval=$wxUSE_ALL_FEATURES
8049 if test -z "$defaultval"; then
8050 if test x"$enablestring" = xdisable; then
8051 defaultval=yes
8052 else
8053 defaultval=no
8054 fi
8055 fi
8056
8057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8059 # Check whether --enable-protocol_ftp was given.
8060 if test "${enable_protocol_ftp+set}" = set; then
8061 enableval=$enable_protocol_ftp;
8062 if test "$enableval" = yes; then
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8064 else
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8066 fi
8067
8068 else
8069
8070 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8071
8072 fi
8073
8074
8075 eval "$wx_cv_use_protocol_ftp"
8076
8077 if test x"$enablestring" = xdisable; then
8078 if test $wxUSE_PROTOCOL_FTP = yes; then
8079 result=no
8080 else
8081 result=yes
8082 fi
8083 else
8084 result=$wxUSE_PROTOCOL_FTP
8085 fi
8086
8087 { echo "$as_me:$LINENO: result: $result" >&5
8088 echo "${ECHO_T}$result" >&6; }
8089
8090
8091 enablestring=
8092 defaultval=$wxUSE_ALL_FEATURES
8093 if test -z "$defaultval"; then
8094 if test x"$enablestring" = xdisable; then
8095 defaultval=yes
8096 else
8097 defaultval=no
8098 fi
8099 fi
8100
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8103 # Check whether --enable-protocol_file was given.
8104 if test "${enable_protocol_file+set}" = set; then
8105 enableval=$enable_protocol_file;
8106 if test "$enableval" = yes; then
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8108 else
8109 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8110 fi
8111
8112 else
8113
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8115
8116 fi
8117
8118
8119 eval "$wx_cv_use_protocol_file"
8120
8121 if test x"$enablestring" = xdisable; then
8122 if test $wxUSE_PROTOCOL_FILE = yes; then
8123 result=no
8124 else
8125 result=yes
8126 fi
8127 else
8128 result=$wxUSE_PROTOCOL_FILE
8129 fi
8130
8131 { echo "$as_me:$LINENO: result: $result" >&5
8132 echo "${ECHO_T}$result" >&6; }
8133
8134
8135
8136 enablestring=
8137 defaultval=$wxUSE_ALL_FEATURES
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8140 defaultval=yes
8141 else
8142 defaultval=no
8143 fi
8144 fi
8145
8146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8148 # Check whether --enable-threads was given.
8149 if test "${enable_threads+set}" = set; then
8150 enableval=$enable_threads;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_threads='wxUSE_THREADS=yes'
8153 else
8154 wx_cv_use_threads='wxUSE_THREADS=no'
8155 fi
8156
8157 else
8158
8159 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8160
8161 fi
8162
8163
8164 eval "$wx_cv_use_threads"
8165
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_THREADS = yes; then
8168 result=no
8169 else
8170 result=yes
8171 fi
8172 else
8173 result=$wxUSE_THREADS
8174 fi
8175
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8178
8179
8180
8181 enablestring=
8182 defaultval=
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8185 defaultval=yes
8186 else
8187 defaultval=no
8188 fi
8189 fi
8190
8191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8193 # Check whether --enable-iniconf was given.
8194 if test "${enable_iniconf+set}" = set; then
8195 enableval=$enable_iniconf;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8198 else
8199 wx_cv_use_iniconf='wxUSE_INICONF=no'
8200 fi
8201
8202 else
8203
8204 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8205
8206 fi
8207
8208
8209 eval "$wx_cv_use_iniconf"
8210
8211 if test x"$enablestring" = xdisable; then
8212 if test $wxUSE_INICONF = yes; then
8213 result=no
8214 else
8215 result=yes
8216 fi
8217 else
8218 result=$wxUSE_INICONF
8219 fi
8220
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8223
8224
8225 enablestring=
8226 defaultval=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x"$enablestring" = xdisable; then
8229 defaultval=yes
8230 else
8231 defaultval=no
8232 fi
8233 fi
8234
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8237 # Check whether --enable-regkey was given.
8238 if test "${enable_regkey+set}" = set; then
8239 enableval=$enable_regkey;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8242 else
8243 wx_cv_use_regkey='wxUSE_REGKEY=no'
8244 fi
8245
8246 else
8247
8248 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8249
8250 fi
8251
8252
8253 eval "$wx_cv_use_regkey"
8254
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_REGKEY = yes; then
8257 result=no
8258 else
8259 result=yes
8260 fi
8261 else
8262 result=$wxUSE_REGKEY
8263 fi
8264
8265 { echo "$as_me:$LINENO: result: $result" >&5
8266 echo "${ECHO_T}$result" >&6; }
8267
8268
8269 if test "$wxUSE_GUI" = "yes"; then
8270
8271
8272
8273 enablestring=
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8277 defaultval=yes
8278 else
8279 defaultval=no
8280 fi
8281 fi
8282
8283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8285 # Check whether --enable-docview was given.
8286 if test "${enable_docview+set}" = set; then
8287 enableval=$enable_docview;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8290 else
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8292 fi
8293
8294 else
8295
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8297
8298 fi
8299
8300
8301 eval "$wx_cv_use_docview"
8302
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8305 result=no
8306 else
8307 result=yes
8308 fi
8309 else
8310 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8311 fi
8312
8313 { echo "$as_me:$LINENO: result: $result" >&5
8314 echo "${ECHO_T}$result" >&6; }
8315
8316
8317 enablestring=
8318 defaultval=$wxUSE_ALL_FEATURES
8319 if test -z "$defaultval"; then
8320 if test x"$enablestring" = xdisable; then
8321 defaultval=yes
8322 else
8323 defaultval=no
8324 fi
8325 fi
8326
8327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8329 # Check whether --enable-help was given.
8330 if test "${enable_help+set}" = set; then
8331 enableval=$enable_help;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_help='wxUSE_HELP=yes'
8334 else
8335 wx_cv_use_help='wxUSE_HELP=no'
8336 fi
8337
8338 else
8339
8340 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8341
8342 fi
8343
8344
8345 eval "$wx_cv_use_help"
8346
8347 if test x"$enablestring" = xdisable; then
8348 if test $wxUSE_HELP = yes; then
8349 result=no
8350 else
8351 result=yes
8352 fi
8353 else
8354 result=$wxUSE_HELP
8355 fi
8356
8357 { echo "$as_me:$LINENO: result: $result" >&5
8358 echo "${ECHO_T}$result" >&6; }
8359
8360
8361 enablestring=
8362 defaultval=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x"$enablestring" = xdisable; then
8365 defaultval=yes
8366 else
8367 defaultval=no
8368 fi
8369 fi
8370
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8373 # Check whether --enable-mshtmlhelp was given.
8374 if test "${enable_mshtmlhelp+set}" = set; then
8375 enableval=$enable_mshtmlhelp;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8378 else
8379 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8380 fi
8381
8382 else
8383
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8385
8386 fi
8387
8388
8389 eval "$wx_cv_use_mshtmlhelp"
8390
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_MS_HTML_HELP = yes; then
8393 result=no
8394 else
8395 result=yes
8396 fi
8397 else
8398 result=$wxUSE_MS_HTML_HELP
8399 fi
8400
8401 { echo "$as_me:$LINENO: result: $result" >&5
8402 echo "${ECHO_T}$result" >&6; }
8403
8404
8405 enablestring=
8406 defaultval=$wxUSE_ALL_FEATURES
8407 if test -z "$defaultval"; then
8408 if test x"$enablestring" = xdisable; then
8409 defaultval=yes
8410 else
8411 defaultval=no
8412 fi
8413 fi
8414
8415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8417 # Check whether --enable-html was given.
8418 if test "${enable_html+set}" = set; then
8419 enableval=$enable_html;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_html='wxUSE_HTML=yes'
8422 else
8423 wx_cv_use_html='wxUSE_HTML=no'
8424 fi
8425
8426 else
8427
8428 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8429
8430 fi
8431
8432
8433 eval "$wx_cv_use_html"
8434
8435 if test x"$enablestring" = xdisable; then
8436 if test $wxUSE_HTML = yes; then
8437 result=no
8438 else
8439 result=yes
8440 fi
8441 else
8442 result=$wxUSE_HTML
8443 fi
8444
8445 { echo "$as_me:$LINENO: result: $result" >&5
8446 echo "${ECHO_T}$result" >&6; }
8447
8448
8449 enablestring=
8450 defaultval=$wxUSE_ALL_FEATURES
8451 if test -z "$defaultval"; then
8452 if test x"$enablestring" = xdisable; then
8453 defaultval=yes
8454 else
8455 defaultval=no
8456 fi
8457 fi
8458
8459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8460 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8461 # Check whether --enable-htmlhelp was given.
8462 if test "${enable_htmlhelp+set}" = set; then
8463 enableval=$enable_htmlhelp;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8466 else
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8468 fi
8469
8470 else
8471
8472 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8473
8474 fi
8475
8476
8477 eval "$wx_cv_use_htmlhelp"
8478
8479 if test x"$enablestring" = xdisable; then
8480 if test $wxUSE_WXHTML_HELP = yes; then
8481 result=no
8482 else
8483 result=yes
8484 fi
8485 else
8486 result=$wxUSE_WXHTML_HELP
8487 fi
8488
8489 { echo "$as_me:$LINENO: result: $result" >&5
8490 echo "${ECHO_T}$result" >&6; }
8491
8492
8493 enablestring=
8494 defaultval=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x"$enablestring" = xdisable; then
8497 defaultval=yes
8498 else
8499 defaultval=no
8500 fi
8501 fi
8502
8503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8505 # Check whether --enable-xrc was given.
8506 if test "${enable_xrc+set}" = set; then
8507 enableval=$enable_xrc;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_xrc='wxUSE_XRC=yes'
8510 else
8511 wx_cv_use_xrc='wxUSE_XRC=no'
8512 fi
8513
8514 else
8515
8516 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8517
8518 fi
8519
8520
8521 eval "$wx_cv_use_xrc"
8522
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_XRC = yes; then
8525 result=no
8526 else
8527 result=yes
8528 fi
8529 else
8530 result=$wxUSE_XRC
8531 fi
8532
8533 { echo "$as_me:$LINENO: result: $result" >&5
8534 echo "${ECHO_T}$result" >&6; }
8535
8536
8537 enablestring=
8538 defaultval=$wxUSE_ALL_FEATURES
8539 if test -z "$defaultval"; then
8540 if test x"$enablestring" = xdisable; then
8541 defaultval=yes
8542 else
8543 defaultval=no
8544 fi
8545 fi
8546
8547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8549 # Check whether --enable-aui was given.
8550 if test "${enable_aui+set}" = set; then
8551 enableval=$enable_aui;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_aui='wxUSE_AUI=yes'
8554 else
8555 wx_cv_use_aui='wxUSE_AUI=no'
8556 fi
8557
8558 else
8559
8560 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8561
8562 fi
8563
8564
8565 eval "$wx_cv_use_aui"
8566
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_AUI = yes; then
8569 result=no
8570 else
8571 result=yes
8572 fi
8573 else
8574 result=$wxUSE_AUI
8575 fi
8576
8577 { echo "$as_me:$LINENO: result: $result" >&5
8578 echo "${ECHO_T}$result" >&6; }
8579
8580
8581 enablestring=
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8585 defaultval=yes
8586 else
8587 defaultval=no
8588 fi
8589 fi
8590
8591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8593 # Check whether --enable-propgrid was given.
8594 if test "${enable_propgrid+set}" = set; then
8595 enableval=$enable_propgrid;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8598 else
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8600 fi
8601
8602 else
8603
8604 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8605
8606 fi
8607
8608
8609 eval "$wx_cv_use_propgrid"
8610
8611 if test x"$enablestring" = xdisable; then
8612 if test $wxUSE_PROPGRID = yes; then
8613 result=no
8614 else
8615 result=yes
8616 fi
8617 else
8618 result=$wxUSE_PROPGRID
8619 fi
8620
8621 { echo "$as_me:$LINENO: result: $result" >&5
8622 echo "${ECHO_T}$result" >&6; }
8623
8624
8625 enablestring=
8626 defaultval=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x"$enablestring" = xdisable; then
8629 defaultval=yes
8630 else
8631 defaultval=no
8632 fi
8633 fi
8634
8635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8637 # Check whether --enable-stc was given.
8638 if test "${enable_stc+set}" = set; then
8639 enableval=$enable_stc;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_stc='wxUSE_STC=yes'
8642 else
8643 wx_cv_use_stc='wxUSE_STC=no'
8644 fi
8645
8646 else
8647
8648 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8649
8650 fi
8651
8652
8653 eval "$wx_cv_use_stc"
8654
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_STC = yes; then
8657 result=no
8658 else
8659 result=yes
8660 fi
8661 else
8662 result=$wxUSE_STC
8663 fi
8664
8665 { echo "$as_me:$LINENO: result: $result" >&5
8666 echo "${ECHO_T}$result" >&6; }
8667
8668
8669 enablestring=
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8673 defaultval=yes
8674 else
8675 defaultval=no
8676 fi
8677 fi
8678
8679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8681 # Check whether --enable-constraints was given.
8682 if test "${enable_constraints+set}" = set; then
8683 enableval=$enable_constraints;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8686 else
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8688 fi
8689
8690 else
8691
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8693
8694 fi
8695
8696
8697 eval "$wx_cv_use_constraints"
8698
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_CONSTRAINTS = yes; then
8701 result=no
8702 else
8703 result=yes
8704 fi
8705 else
8706 result=$wxUSE_CONSTRAINTS
8707 fi
8708
8709 { echo "$as_me:$LINENO: result: $result" >&5
8710 echo "${ECHO_T}$result" >&6; }
8711
8712
8713 enablestring=
8714 defaultval=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x"$enablestring" = xdisable; then
8717 defaultval=yes
8718 else
8719 defaultval=no
8720 fi
8721 fi
8722
8723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8725 # Check whether --enable-loggui was given.
8726 if test "${enable_loggui+set}" = set; then
8727 enableval=$enable_loggui;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8730 else
8731 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8732 fi
8733
8734 else
8735
8736 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8737
8738 fi
8739
8740
8741 eval "$wx_cv_use_loggui"
8742
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_LOGGUI = yes; then
8745 result=no
8746 else
8747 result=yes
8748 fi
8749 else
8750 result=$wxUSE_LOGGUI
8751 fi
8752
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8755
8756
8757 enablestring=
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8761 defaultval=yes
8762 else
8763 defaultval=no
8764 fi
8765 fi
8766
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8769 # Check whether --enable-logwin was given.
8770 if test "${enable_logwin+set}" = set; then
8771 enableval=$enable_logwin;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8774 else
8775 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8776 fi
8777
8778 else
8779
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8781
8782 fi
8783
8784
8785 eval "$wx_cv_use_logwin"
8786
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_LOGWINDOW = yes; then
8789 result=no
8790 else
8791 result=yes
8792 fi
8793 else
8794 result=$wxUSE_LOGWINDOW
8795 fi
8796
8797 { echo "$as_me:$LINENO: result: $result" >&5
8798 echo "${ECHO_T}$result" >&6; }
8799
8800
8801 enablestring=
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8805 defaultval=yes
8806 else
8807 defaultval=no
8808 fi
8809 fi
8810
8811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8813 # Check whether --enable-logdialog was given.
8814 if test "${enable_logdialog+set}" = set; then
8815 enableval=$enable_logdialog;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8818 else
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8820 fi
8821
8822 else
8823
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8825
8826 fi
8827
8828
8829 eval "$wx_cv_use_logdialog"
8830
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_LOGDIALOG = yes; then
8833 result=no
8834 else
8835 result=yes
8836 fi
8837 else
8838 result=$wxUSE_LOGDIALOG
8839 fi
8840
8841 { echo "$as_me:$LINENO: result: $result" >&5
8842 echo "${ECHO_T}$result" >&6; }
8843
8844
8845 enablestring=
8846 defaultval=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x"$enablestring" = xdisable; then
8849 defaultval=yes
8850 else
8851 defaultval=no
8852 fi
8853 fi
8854
8855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8857 # Check whether --enable-mdi was given.
8858 if test "${enable_mdi+set}" = set; then
8859 enableval=$enable_mdi;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_mdi='wxUSE_MDI=yes'
8862 else
8863 wx_cv_use_mdi='wxUSE_MDI=no'
8864 fi
8865
8866 else
8867
8868 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8869
8870 fi
8871
8872
8873 eval "$wx_cv_use_mdi"
8874
8875 if test x"$enablestring" = xdisable; then
8876 if test $wxUSE_MDI = yes; then
8877 result=no
8878 else
8879 result=yes
8880 fi
8881 else
8882 result=$wxUSE_MDI
8883 fi
8884
8885 { echo "$as_me:$LINENO: result: $result" >&5
8886 echo "${ECHO_T}$result" >&6; }
8887
8888
8889 enablestring=
8890 defaultval=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x"$enablestring" = xdisable; then
8893 defaultval=yes
8894 else
8895 defaultval=no
8896 fi
8897 fi
8898
8899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8901 # Check whether --enable-mdidoc was given.
8902 if test "${enable_mdidoc+set}" = set; then
8903 enableval=$enable_mdidoc;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8906 else
8907 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8908 fi
8909
8910 else
8911
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8913
8914 fi
8915
8916
8917 eval "$wx_cv_use_mdidoc"
8918
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8921 result=no
8922 else
8923 result=yes
8924 fi
8925 else
8926 result=$wxUSE_MDI_ARCHITECTURE
8927 fi
8928
8929 { echo "$as_me:$LINENO: result: $result" >&5
8930 echo "${ECHO_T}$result" >&6; }
8931
8932
8933 enablestring=
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8937 defaultval=yes
8938 else
8939 defaultval=no
8940 fi
8941 fi
8942
8943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8945 # Check whether --enable-mediactrl was given.
8946 if test "${enable_mediactrl+set}" = set; then
8947 enableval=$enable_mediactrl;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8950 else
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8952 fi
8953
8954 else
8955
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8957
8958 fi
8959
8960
8961 eval "$wx_cv_use_mediactrl"
8962
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_MEDIACTRL = yes; then
8965 result=no
8966 else
8967 result=yes
8968 fi
8969 else
8970 result=$wxUSE_MEDIACTRL
8971 fi
8972
8973 { echo "$as_me:$LINENO: result: $result" >&5
8974 echo "${ECHO_T}$result" >&6; }
8975
8976
8977 enablestring=
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8981 defaultval=yes
8982 else
8983 defaultval=no
8984 fi
8985 fi
8986
8987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8988 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8989 # Check whether --enable-gstreamer8 was given.
8990 if test "${enable_gstreamer8+set}" = set; then
8991 enableval=$enable_gstreamer8;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8994 else
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8996 fi
8997
8998 else
8999
9000 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9001
9002 fi
9003
9004
9005 eval "$wx_cv_use_gstreamer8"
9006
9007 if test x"$enablestring" = xdisable; then
9008 if test $wxUSE_GSTREAMER8 = yes; then
9009 result=no
9010 else
9011 result=yes
9012 fi
9013 else
9014 result=$wxUSE_GSTREAMER8
9015 fi
9016
9017 { echo "$as_me:$LINENO: result: $result" >&5
9018 echo "${ECHO_T}$result" >&6; }
9019
9020
9021 enablestring=
9022 defaultval=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x"$enablestring" = xdisable; then
9025 defaultval=yes
9026 else
9027 defaultval=no
9028 fi
9029 fi
9030
9031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9033 # Check whether --enable-webkit was given.
9034 if test "${enable_webkit+set}" = set; then
9035 enableval=$enable_webkit;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9038 else
9039 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9040 fi
9041
9042 else
9043
9044 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$wx_cv_use_webkit"
9050
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_WEBKIT = yes; then
9053 result=no
9054 else
9055 result=yes
9056 fi
9057 else
9058 result=$wxUSE_WEBKIT
9059 fi
9060
9061 { echo "$as_me:$LINENO: result: $result" >&5
9062 echo "${ECHO_T}$result" >&6; }
9063
9064
9065 enablestring=
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9069 defaultval=yes
9070 else
9071 defaultval=no
9072 fi
9073 fi
9074
9075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9077 # Check whether --enable-richtext was given.
9078 if test "${enable_richtext+set}" = set; then
9079 enableval=$enable_richtext;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9082 else
9083 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9084 fi
9085
9086 else
9087
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9089
9090 fi
9091
9092
9093 eval "$wx_cv_use_richtext"
9094
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_RICHTEXT = yes; then
9097 result=no
9098 else
9099 result=yes
9100 fi
9101 else
9102 result=$wxUSE_RICHTEXT
9103 fi
9104
9105 { echo "$as_me:$LINENO: result: $result" >&5
9106 echo "${ECHO_T}$result" >&6; }
9107
9108
9109 enablestring=
9110 defaultval=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x"$enablestring" = xdisable; then
9113 defaultval=yes
9114 else
9115 defaultval=no
9116 fi
9117 fi
9118
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9121 # Check whether --enable-graphics_ctx was given.
9122 if test "${enable_graphics_ctx+set}" = set; then
9123 enableval=$enable_graphics_ctx;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9126 else
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9128 fi
9129
9130 else
9131
9132 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9133
9134 fi
9135
9136
9137 eval "$wx_cv_use_graphics_ctx"
9138
9139 if test x"$enablestring" = xdisable; then
9140 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9141 result=no
9142 else
9143 result=yes
9144 fi
9145 else
9146 result=$wxUSE_GRAPHICS_CONTEXT
9147 fi
9148
9149 { echo "$as_me:$LINENO: result: $result" >&5
9150 echo "${ECHO_T}$result" >&6; }
9151
9152
9153 enablestring=
9154 defaultval=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x"$enablestring" = xdisable; then
9157 defaultval=yes
9158 else
9159 defaultval=no
9160 fi
9161 fi
9162
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9165 # Check whether --enable-postscript was given.
9166 if test "${enable_postscript+set}" = set; then
9167 enableval=$enable_postscript;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9170 else
9171 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9172 fi
9173
9174 else
9175
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9177
9178 fi
9179
9180
9181 eval "$wx_cv_use_postscript"
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_POSTSCRIPT = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_POSTSCRIPT
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197 enablestring=
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9201 defaultval=yes
9202 else
9203 defaultval=no
9204 fi
9205 fi
9206
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9209 # Check whether --enable-printarch was given.
9210 if test "${enable_printarch+set}" = set; then
9211 enableval=$enable_printarch;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9214 else
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9216 fi
9217
9218 else
9219
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9221
9222 fi
9223
9224
9225 eval "$wx_cv_use_printarch"
9226
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9229 result=no
9230 else
9231 result=yes
9232 fi
9233 else
9234 result=$wxUSE_PRINTING_ARCHITECTURE
9235 fi
9236
9237 { echo "$as_me:$LINENO: result: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9239
9240
9241 enablestring=
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9245 defaultval=yes
9246 else
9247 defaultval=no
9248 fi
9249 fi
9250
9251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9252 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9253 # Check whether --enable-svg was given.
9254 if test "${enable_svg+set}" = set; then
9255 enableval=$enable_svg;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_svg='wxUSE_SVG=yes'
9258 else
9259 wx_cv_use_svg='wxUSE_SVG=no'
9260 fi
9261
9262 else
9263
9264 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9265
9266 fi
9267
9268
9269 eval "$wx_cv_use_svg"
9270
9271 if test x"$enablestring" = xdisable; then
9272 if test $wxUSE_SVG = yes; then
9273 result=no
9274 else
9275 result=yes
9276 fi
9277 else
9278 result=$wxUSE_SVG
9279 fi
9280
9281 { echo "$as_me:$LINENO: result: $result" >&5
9282 echo "${ECHO_T}$result" >&6; }
9283
9284
9285
9286
9287 enablestring=
9288 defaultval=$wxUSE_ALL_FEATURES
9289 if test -z "$defaultval"; then
9290 if test x"$enablestring" = xdisable; then
9291 defaultval=yes
9292 else
9293 defaultval=no
9294 fi
9295 fi
9296
9297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9299 # Check whether --enable-clipboard was given.
9300 if test "${enable_clipboard+set}" = set; then
9301 enableval=$enable_clipboard;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9304 else
9305 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9306 fi
9307
9308 else
9309
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9311
9312 fi
9313
9314
9315 eval "$wx_cv_use_clipboard"
9316
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_CLIPBOARD = yes; then
9319 result=no
9320 else
9321 result=yes
9322 fi
9323 else
9324 result=$wxUSE_CLIPBOARD
9325 fi
9326
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9329
9330
9331 enablestring=
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9335 defaultval=yes
9336 else
9337 defaultval=no
9338 fi
9339 fi
9340
9341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9343 # Check whether --enable-dnd was given.
9344 if test "${enable_dnd+set}" = set; then
9345 enableval=$enable_dnd;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9348 else
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9350 fi
9351
9352 else
9353
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9355
9356 fi
9357
9358
9359 eval "$wx_cv_use_dnd"
9360
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_DRAG_AND_DROP = yes; then
9363 result=no
9364 else
9365 result=yes
9366 fi
9367 else
9368 result=$wxUSE_DRAG_AND_DROP
9369 fi
9370
9371 { echo "$as_me:$LINENO: result: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9373
9374
9375 enablestring=
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9387 # Check whether --enable-metafile was given.
9388 if test "${enable_metafile+set}" = set; then
9389 enableval=$enable_metafile;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9392 else
9393 wx_cv_use_metafile='wxUSE_METAFILE=no'
9394 fi
9395
9396 else
9397
9398 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9399
9400 fi
9401
9402
9403 eval "$wx_cv_use_metafile"
9404
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_METAFILE = yes; then
9407 result=no
9408 else
9409 result=yes
9410 fi
9411 else
9412 result=$wxUSE_METAFILE
9413 fi
9414
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9417
9418
9419
9420 DEFAULT_wxUSE_CONTROLS=none
9421
9422 enablestring=disable
9423 defaultval=
9424 if test -z "$defaultval"; then
9425 if test x"$enablestring" = xdisable; then
9426 defaultval=yes
9427 else
9428 defaultval=no
9429 fi
9430 fi
9431
9432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9434 # Check whether --enable-controls was given.
9435 if test "${enable_controls+set}" = set; then
9436 enableval=$enable_controls;
9437 if test "$enableval" = yes; then
9438 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9439 else
9440 wx_cv_use_controls='wxUSE_CONTROLS=no'
9441 fi
9442
9443 else
9444
9445 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9446
9447 fi
9448
9449
9450 eval "$wx_cv_use_controls"
9451
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_CONTROLS = yes; then
9454 result=no
9455 else
9456 result=yes
9457 fi
9458 else
9459 result=$wxUSE_CONTROLS
9460 fi
9461
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9464
9465
9466 if test "$wxUSE_CONTROLS" = "yes"; then
9467 DEFAULT_wxUSE_ACCEL=yes
9468 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9469 DEFAULT_wxUSE_BMPBUTTON=yes
9470 DEFAULT_wxUSE_BUTTON=yes
9471 DEFAULT_wxUSE_CALCTRL=yes
9472 DEFAULT_wxUSE_CARET=yes
9473 DEFAULT_wxUSE_COMBOBOX=yes
9474 DEFAULT_wxUSE_CHECKBOX=yes
9475 DEFAULT_wxUSE_CHECKLISTBOX=yes
9476 DEFAULT_wxUSE_CHOICE=yes
9477 DEFAULT_wxUSE_CHOICEBOOK=yes
9478 DEFAULT_wxUSE_COLLPANE=yes
9479 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9480 DEFAULT_wxUSE_COMBOBOX=yes
9481 DEFAULT_wxUSE_DATEPICKCTRL=yes
9482 DEFAULT_wxUSE_DISPLAY=yes
9483 DEFAULT_wxUSE_DETECT_SM=yes
9484 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9485 DEFAULT_wxUSE_FILECTRL=yes
9486 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9487 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9488 DEFAULT_wxUSE_GAUGE=yes
9489 DEFAULT_wxUSE_GRID=yes
9490 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9491 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9492 DEFAULT_wxUSE_IMAGLIST=yes
9493 DEFAULT_wxUSE_LISTBOOK=yes
9494 DEFAULT_wxUSE_LISTBOX=yes
9495 DEFAULT_wxUSE_LISTCTRL=yes
9496 DEFAULT_wxUSE_NOTEBOOK=yes
9497 DEFAULT_wxUSE_RADIOBOX=yes
9498 DEFAULT_wxUSE_RADIOBTN=yes
9499 DEFAULT_wxUSE_SASH=yes
9500 DEFAULT_wxUSE_SCROLLBAR=yes
9501 DEFAULT_wxUSE_SEARCHCTRL=yes
9502 DEFAULT_wxUSE_SLIDER=yes
9503 DEFAULT_wxUSE_SPINBTN=yes
9504 DEFAULT_wxUSE_SPINCTRL=yes
9505 DEFAULT_wxUSE_SPLITTER=yes
9506 DEFAULT_wxUSE_STATBMP=yes
9507 DEFAULT_wxUSE_STATBOX=yes
9508 DEFAULT_wxUSE_STATLINE=yes
9509 DEFAULT_wxUSE_STATUSBAR=yes
9510 DEFAULT_wxUSE_TAB_DIALOG=yes
9511 DEFAULT_wxUSE_TOGGLEBTN=yes
9512 DEFAULT_wxUSE_TOOLBAR=yes
9513 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9514 DEFAULT_wxUSE_TOOLTIPS=yes
9515 DEFAULT_wxUSE_TREEBOOK=yes
9516 DEFAULT_wxUSE_TOOLBOOK=yes
9517 DEFAULT_wxUSE_TREECTRL=yes
9518 DEFAULT_wxUSE_POPUPWIN=yes
9519 DEFAULT_wxUSE_TIPWINDOW=yes
9520 elif test "$wxUSE_CONTROLS" = "no"; then
9521 DEFAULT_wxUSE_ACCEL=no
9522 DEFAULT_wxUSE_ANIMATIONCTRL=no
9523 DEFAULT_wxUSE_BMPBUTTON=no
9524 DEFAULT_wxUSE_BUTTON=no
9525 DEFAULT_wxUSE_CALCTRL=no
9526 DEFAULT_wxUSE_CARET=no
9527 DEFAULT_wxUSE_COLLPANE=no
9528 DEFAULT_wxUSE_COMBOBOX=no
9529 DEFAULT_wxUSE_CHECKBOX=no
9530 DEFAULT_wxUSE_CHECKLISTBOX=no
9531 DEFAULT_wxUSE_CHOICE=no
9532 DEFAULT_wxUSE_CHOICEBOOK=no
9533 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9534 DEFAULT_wxUSE_COMBOBOX=no
9535 DEFAULT_wxUSE_DATEPICKCTRL=no
9536 DEFAULT_wxUSE_DISPLAY=no
9537 DEFAULT_wxUSE_DETECT_SM=no
9538 DEFAULT_wxUSE_DIRPICKERCTRL=no
9539 DEFAULT_wxUSE_FILECTRL=no
9540 DEFAULT_wxUSE_FILEPICKERCTRL=no
9541 DEFAULT_wxUSE_FONTPICKERCTRL=no
9542 DEFAULT_wxUSE_GAUGE=no
9543 DEFAULT_wxUSE_GRID=no
9544 DEFAULT_wxUSE_HYPERLINKCTRL=no
9545 DEFAULT_wxUSE_DATAVIEWCTRL=no
9546 DEFAULT_wxUSE_IMAGLIST=no
9547 DEFAULT_wxUSE_LISTBOOK=no
9548 DEFAULT_wxUSE_LISTBOX=no
9549 DEFAULT_wxUSE_LISTCTRL=no
9550 DEFAULT_wxUSE_NOTEBOOK=no
9551 DEFAULT_wxUSE_RADIOBOX=no
9552 DEFAULT_wxUSE_RADIOBTN=no
9553 DEFAULT_wxUSE_SASH=no
9554 DEFAULT_wxUSE_SCROLLBAR=no
9555 DEFAULT_wxUSE_SEARCHCTRL=no
9556 DEFAULT_wxUSE_SLIDER=no
9557 DEFAULT_wxUSE_SPINBTN=no
9558 DEFAULT_wxUSE_SPINCTRL=no
9559 DEFAULT_wxUSE_SPLITTER=no
9560 DEFAULT_wxUSE_STATBMP=no
9561 DEFAULT_wxUSE_STATBOX=no
9562 DEFAULT_wxUSE_STATLINE=no
9563 DEFAULT_wxUSE_STATUSBAR=no
9564 DEFAULT_wxUSE_TAB_DIALOG=no
9565 DEFAULT_wxUSE_TOGGLEBTN=no
9566 DEFAULT_wxUSE_TOOLBAR=no
9567 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9568 DEFAULT_wxUSE_TOOLTIPS=no
9569 DEFAULT_wxUSE_TREEBOOK=no
9570 DEFAULT_wxUSE_TOOLBOOK=no
9571 DEFAULT_wxUSE_TREECTRL=no
9572 DEFAULT_wxUSE_POPUPWIN=no
9573 DEFAULT_wxUSE_TIPWINDOW=no
9574 fi
9575
9576
9577 enablestring=
9578 defaultval=$wxUSE_ALL_FEATURES
9579 if test -z "$defaultval"; then
9580 if test x"$enablestring" = xdisable; then
9581 defaultval=yes
9582 else
9583 defaultval=no
9584 fi
9585 fi
9586
9587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9589 # Check whether --enable-accel was given.
9590 if test "${enable_accel+set}" = set; then
9591 enableval=$enable_accel;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_accel='wxUSE_ACCEL=yes'
9594 else
9595 wx_cv_use_accel='wxUSE_ACCEL=no'
9596 fi
9597
9598 else
9599
9600 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9601
9602 fi
9603
9604
9605 eval "$wx_cv_use_accel"
9606
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_ACCEL = yes; then
9609 result=no
9610 else
9611 result=yes
9612 fi
9613 else
9614 result=$wxUSE_ACCEL
9615 fi
9616
9617 { echo "$as_me:$LINENO: result: $result" >&5
9618 echo "${ECHO_T}$result" >&6; }
9619
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9633 # Check whether --enable-animatectrl was given.
9634 if test "${enable_animatectrl+set}" = set; then
9635 enableval=$enable_animatectrl;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9638 else
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_animatectrl"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_ANIMATIONCTRL = yes; then
9653 result=no
9654 else
9655 result=yes
9656 fi
9657 else
9658 result=$wxUSE_ANIMATIONCTRL
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664
9665 enablestring=
9666 defaultval=$wxUSE_ALL_FEATURES
9667 if test -z "$defaultval"; then
9668 if test x"$enablestring" = xdisable; then
9669 defaultval=yes
9670 else
9671 defaultval=no
9672 fi
9673 fi
9674
9675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9677 # Check whether --enable-button was given.
9678 if test "${enable_button+set}" = set; then
9679 enableval=$enable_button;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_button='wxUSE_BUTTON=yes'
9682 else
9683 wx_cv_use_button='wxUSE_BUTTON=no'
9684 fi
9685
9686 else
9687
9688 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9689
9690 fi
9691
9692
9693 eval "$wx_cv_use_button"
9694
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_BUTTON = yes; then
9697 result=no
9698 else
9699 result=yes
9700 fi
9701 else
9702 result=$wxUSE_BUTTON
9703 fi
9704
9705 { echo "$as_me:$LINENO: result: $result" >&5
9706 echo "${ECHO_T}$result" >&6; }
9707
9708
9709 enablestring=
9710 defaultval=$wxUSE_ALL_FEATURES
9711 if test -z "$defaultval"; then
9712 if test x"$enablestring" = xdisable; then
9713 defaultval=yes
9714 else
9715 defaultval=no
9716 fi
9717 fi
9718
9719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9721 # Check whether --enable-bmpbutton was given.
9722 if test "${enable_bmpbutton+set}" = set; then
9723 enableval=$enable_bmpbutton;
9724 if test "$enableval" = yes; then
9725 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9726 else
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9728 fi
9729
9730 else
9731
9732 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9733
9734 fi
9735
9736
9737 eval "$wx_cv_use_bmpbutton"
9738
9739 if test x"$enablestring" = xdisable; then
9740 if test $wxUSE_BMPBUTTON = yes; then
9741 result=no
9742 else
9743 result=yes
9744 fi
9745 else
9746 result=$wxUSE_BMPBUTTON
9747 fi
9748
9749 { echo "$as_me:$LINENO: result: $result" >&5
9750 echo "${ECHO_T}$result" >&6; }
9751
9752
9753 enablestring=
9754 defaultval=$wxUSE_ALL_FEATURES
9755 if test -z "$defaultval"; then
9756 if test x"$enablestring" = xdisable; then
9757 defaultval=yes
9758 else
9759 defaultval=no
9760 fi
9761 fi
9762
9763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9765 # Check whether --enable-bmpcombobox was given.
9766 if test "${enable_bmpcombobox+set}" = set; then
9767 enableval=$enable_bmpcombobox;
9768 if test "$enableval" = yes; then
9769 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9770 else
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9772 fi
9773
9774 else
9775
9776 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9777
9778 fi
9779
9780
9781 eval "$wx_cv_use_bmpcombobox"
9782
9783 if test x"$enablestring" = xdisable; then
9784 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9785 result=no
9786 else
9787 result=yes
9788 fi
9789 else
9790 result=$wxUSE_BITMAPCOMBOBOX
9791 fi
9792
9793 { echo "$as_me:$LINENO: result: $result" >&5
9794 echo "${ECHO_T}$result" >&6; }
9795
9796
9797 enablestring=
9798 defaultval=$wxUSE_ALL_FEATURES
9799 if test -z "$defaultval"; then
9800 if test x"$enablestring" = xdisable; then
9801 defaultval=yes
9802 else
9803 defaultval=no
9804 fi
9805 fi
9806
9807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9809 # Check whether --enable-calendar was given.
9810 if test "${enable_calendar+set}" = set; then
9811 enableval=$enable_calendar;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9814 else
9815 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9816 fi
9817
9818 else
9819
9820 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9821
9822 fi
9823
9824
9825 eval "$wx_cv_use_calendar"
9826
9827 if test x"$enablestring" = xdisable; then
9828 if test $wxUSE_CALCTRL = yes; then
9829 result=no
9830 else
9831 result=yes
9832 fi
9833 else
9834 result=$wxUSE_CALCTRL
9835 fi
9836
9837 { echo "$as_me:$LINENO: result: $result" >&5
9838 echo "${ECHO_T}$result" >&6; }
9839
9840
9841 enablestring=
9842 defaultval=$wxUSE_ALL_FEATURES
9843 if test -z "$defaultval"; then
9844 if test x"$enablestring" = xdisable; then
9845 defaultval=yes
9846 else
9847 defaultval=no
9848 fi
9849 fi
9850
9851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9852 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9853 # Check whether --enable-caret was given.
9854 if test "${enable_caret+set}" = set; then
9855 enableval=$enable_caret;
9856 if test "$enableval" = yes; then
9857 wx_cv_use_caret='wxUSE_CARET=yes'
9858 else
9859 wx_cv_use_caret='wxUSE_CARET=no'
9860 fi
9861
9862 else
9863
9864 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9865
9866 fi
9867
9868
9869 eval "$wx_cv_use_caret"
9870
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_CARET = yes; then
9873 result=no
9874 else
9875 result=yes
9876 fi
9877 else
9878 result=$wxUSE_CARET
9879 fi
9880
9881 { echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6; }
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9897 # Check whether --enable-checkbox was given.
9898 if test "${enable_checkbox+set}" = set; then
9899 enableval=$enable_checkbox;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9902 else
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9904 fi
9905
9906 else
9907
9908 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9909
9910 fi
9911
9912
9913 eval "$wx_cv_use_checkbox"
9914
9915 if test x"$enablestring" = xdisable; then
9916 if test $wxUSE_CHECKBOX = yes; then
9917 result=no
9918 else
9919 result=yes
9920 fi
9921 else
9922 result=$wxUSE_CHECKBOX
9923 fi
9924
9925 { echo "$as_me:$LINENO: result: $result" >&5
9926 echo "${ECHO_T}$result" >&6; }
9927
9928
9929 enablestring=
9930 defaultval=$wxUSE_ALL_FEATURES
9931 if test -z "$defaultval"; then
9932 if test x"$enablestring" = xdisable; then
9933 defaultval=yes
9934 else
9935 defaultval=no
9936 fi
9937 fi
9938
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9941 # Check whether --enable-checklst was given.
9942 if test "${enable_checklst+set}" = set; then
9943 enableval=$enable_checklst;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9946 else
9947 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9948 fi
9949
9950 else
9951
9952 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9953
9954 fi
9955
9956
9957 eval "$wx_cv_use_checklst"
9958
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_CHECKLST = yes; then
9961 result=no
9962 else
9963 result=yes
9964 fi
9965 else
9966 result=$wxUSE_CHECKLST
9967 fi
9968
9969 { echo "$as_me:$LINENO: result: $result" >&5
9970 echo "${ECHO_T}$result" >&6; }
9971
9972
9973 enablestring=
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9977 defaultval=yes
9978 else
9979 defaultval=no
9980 fi
9981 fi
9982
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9985 # Check whether --enable-choice was given.
9986 if test "${enable_choice+set}" = set; then
9987 enableval=$enable_choice;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_choice='wxUSE_CHOICE=yes'
9990 else
9991 wx_cv_use_choice='wxUSE_CHOICE=no'
9992 fi
9993
9994 else
9995
9996 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9997
9998 fi
9999
10000
10001 eval "$wx_cv_use_choice"
10002
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_CHOICE = yes; then
10005 result=no
10006 else
10007 result=yes
10008 fi
10009 else
10010 result=$wxUSE_CHOICE
10011 fi
10012
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10015
10016
10017 enablestring=
10018 defaultval=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x"$enablestring" = xdisable; then
10021 defaultval=yes
10022 else
10023 defaultval=no
10024 fi
10025 fi
10026
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10029 # Check whether --enable-choicebook was given.
10030 if test "${enable_choicebook+set}" = set; then
10031 enableval=$enable_choicebook;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10034 else
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10036 fi
10037
10038 else
10039
10040 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10041
10042 fi
10043
10044
10045 eval "$wx_cv_use_choicebook"
10046
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_CHOICEBOOK = yes; then
10049 result=no
10050 else
10051 result=yes
10052 fi
10053 else
10054 result=$wxUSE_CHOICEBOOK
10055 fi
10056
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10059
10060
10061 enablestring=
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10065 defaultval=yes
10066 else
10067 defaultval=no
10068 fi
10069 fi
10070
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10073 # Check whether --enable-collpane was given.
10074 if test "${enable_collpane+set}" = set; then
10075 enableval=$enable_collpane;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10078 else
10079 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10080 fi
10081
10082 else
10083
10084 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10085
10086 fi
10087
10088
10089 eval "$wx_cv_use_collpane"
10090
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_COLLPANE = yes; then
10093 result=no
10094 else
10095 result=yes
10096 fi
10097 else
10098 result=$wxUSE_COLLPANE
10099 fi
10100
10101 { echo "$as_me:$LINENO: result: $result" >&5
10102 echo "${ECHO_T}$result" >&6; }
10103
10104
10105 enablestring=
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10109 defaultval=yes
10110 else
10111 defaultval=no
10112 fi
10113 fi
10114
10115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10117 # Check whether --enable-colourpicker was given.
10118 if test "${enable_colourpicker+set}" = set; then
10119 enableval=$enable_colourpicker;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10122 else
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10124 fi
10125
10126 else
10127
10128 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10129
10130 fi
10131
10132
10133 eval "$wx_cv_use_colourpicker"
10134
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_COLOURPICKERCTRL = yes; then
10137 result=no
10138 else
10139 result=yes
10140 fi
10141 else
10142 result=$wxUSE_COLOURPICKERCTRL
10143 fi
10144
10145 { echo "$as_me:$LINENO: result: $result" >&5
10146 echo "${ECHO_T}$result" >&6; }
10147
10148
10149 enablestring=
10150 defaultval=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x"$enablestring" = xdisable; then
10153 defaultval=yes
10154 else
10155 defaultval=no
10156 fi
10157 fi
10158
10159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10161 # Check whether --enable-combobox was given.
10162 if test "${enable_combobox+set}" = set; then
10163 enableval=$enable_combobox;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10166 else
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10168 fi
10169
10170 else
10171
10172 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10173
10174 fi
10175
10176
10177 eval "$wx_cv_use_combobox"
10178
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_COMBOBOX = yes; then
10181 result=no
10182 else
10183 result=yes
10184 fi
10185 else
10186 result=$wxUSE_COMBOBOX
10187 fi
10188
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10191
10192
10193 enablestring=
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10197 defaultval=yes
10198 else
10199 defaultval=no
10200 fi
10201 fi
10202
10203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10205 # Check whether --enable-comboctrl was given.
10206 if test "${enable_comboctrl+set}" = set; then
10207 enableval=$enable_comboctrl;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10210 else
10211 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10212 fi
10213
10214 else
10215
10216 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10217
10218 fi
10219
10220
10221 eval "$wx_cv_use_comboctrl"
10222
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_COMBOCTRL = yes; then
10225 result=no
10226 else
10227 result=yes
10228 fi
10229 else
10230 result=$wxUSE_COMBOCTRL
10231 fi
10232
10233 { echo "$as_me:$LINENO: result: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10235
10236
10237 enablestring=
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10241 defaultval=yes
10242 else
10243 defaultval=no
10244 fi
10245 fi
10246
10247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10249 # Check whether --enable-datepick was given.
10250 if test "${enable_datepick+set}" = set; then
10251 enableval=$enable_datepick;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10254 else
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10256 fi
10257
10258 else
10259
10260 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261
10262 fi
10263
10264
10265 eval "$wx_cv_use_datepick"
10266
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_DATEPICKCTRL = yes; then
10269 result=no
10270 else
10271 result=yes
10272 fi
10273 else
10274 result=$wxUSE_DATEPICKCTRL
10275 fi
10276
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10279
10280
10281 enablestring=
10282 defaultval=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x"$enablestring" = xdisable; then
10285 defaultval=yes
10286 else
10287 defaultval=no
10288 fi
10289 fi
10290
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10293 # Check whether --enable-dirpicker was given.
10294 if test "${enable_dirpicker+set}" = set; then
10295 enableval=$enable_dirpicker;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10298 else
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10300 fi
10301
10302 else
10303
10304 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10305
10306 fi
10307
10308
10309 eval "$wx_cv_use_dirpicker"
10310
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_DIRPICKERCTRL = yes; then
10313 result=no
10314 else
10315 result=yes
10316 fi
10317 else
10318 result=$wxUSE_DIRPICKERCTRL
10319 fi
10320
10321 { echo "$as_me:$LINENO: result: $result" >&5
10322 echo "${ECHO_T}$result" >&6; }
10323
10324
10325 enablestring=
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10329 defaultval=yes
10330 else
10331 defaultval=no
10332 fi
10333 fi
10334
10335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10337 # Check whether --enable-display was given.
10338 if test "${enable_display+set}" = set; then
10339 enableval=$enable_display;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_display='wxUSE_DISPLAY=yes'
10342 else
10343 wx_cv_use_display='wxUSE_DISPLAY=no'
10344 fi
10345
10346 else
10347
10348 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10349
10350 fi
10351
10352
10353 eval "$wx_cv_use_display"
10354
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_DISPLAY = yes; then
10357 result=no
10358 else
10359 result=yes
10360 fi
10361 else
10362 result=$wxUSE_DISPLAY
10363 fi
10364
10365 { echo "$as_me:$LINENO: result: $result" >&5
10366 echo "${ECHO_T}$result" >&6; }
10367
10368
10369 enablestring=
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10373 defaultval=yes
10374 else
10375 defaultval=no
10376 fi
10377 fi
10378
10379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10381 # Check whether --enable-detect_sm was given.
10382 if test "${enable_detect_sm+set}" = set; then
10383 enableval=$enable_detect_sm;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10386 else
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10388 fi
10389
10390 else
10391
10392 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10393
10394 fi
10395
10396
10397 eval "$wx_cv_use_detect_sm"
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_DETECT_SM = yes; then
10401 result=no
10402 else
10403 result=yes
10404 fi
10405 else
10406 result=$wxUSE_DETECT_SM
10407 fi
10408
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10425 # Check whether --enable-editablebox was given.
10426 if test "${enable_editablebox+set}" = set; then
10427 enableval=$enable_editablebox;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10430 else
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10432 fi
10433
10434 else
10435
10436 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437
10438 fi
10439
10440
10441 eval "$wx_cv_use_editablebox"
10442
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_EDITABLELISTBOX = yes; then
10445 result=no
10446 else
10447 result=yes
10448 fi
10449 else
10450 result=$wxUSE_EDITABLELISTBOX
10451 fi
10452
10453 { echo "$as_me:$LINENO: result: $result" >&5
10454 echo "${ECHO_T}$result" >&6; }
10455
10456
10457 enablestring=
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10461 defaultval=yes
10462 else
10463 defaultval=no
10464 fi
10465 fi
10466
10467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10469 # Check whether --enable-filepicker was given.
10470 if test "${enable_filepicker+set}" = set; then
10471 enableval=$enable_filepicker;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10474 else
10475 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10476 fi
10477
10478 else
10479
10480 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10481
10482 fi
10483
10484
10485 eval "$wx_cv_use_filepicker"
10486
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_FILEPICKERCTRL = yes; then
10489 result=no
10490 else
10491 result=yes
10492 fi
10493 else
10494 result=$wxUSE_FILEPICKERCTRL
10495 fi
10496
10497 { echo "$as_me:$LINENO: result: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10499
10500
10501 enablestring=
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10505 defaultval=yes
10506 else
10507 defaultval=no
10508 fi
10509 fi
10510
10511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10513 # Check whether --enable-filectrl was given.
10514 if test "${enable_filectrl+set}" = set; then
10515 enableval=$enable_filectrl;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10518 else
10519 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10520 fi
10521
10522 else
10523
10524 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10525
10526 fi
10527
10528
10529 eval "$wx_cv_use_filectrl"
10530
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_FILECTRL = yes; then
10533 result=no
10534 else
10535 result=yes
10536 fi
10537 else
10538 result=$wxUSE_FILECTRL
10539 fi
10540
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10543
10544
10545 enablestring=
10546 defaultval=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x"$enablestring" = xdisable; then
10549 defaultval=yes
10550 else
10551 defaultval=no
10552 fi
10553 fi
10554
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10557 # Check whether --enable-fontpicker was given.
10558 if test "${enable_fontpicker+set}" = set; then
10559 enableval=$enable_fontpicker;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10562 else
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10564 fi
10565
10566 else
10567
10568 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569
10570 fi
10571
10572
10573 eval "$wx_cv_use_fontpicker"
10574
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_FONTPICKERCTRL = yes; then
10577 result=no
10578 else
10579 result=yes
10580 fi
10581 else
10582 result=$wxUSE_FONTPICKERCTRL
10583 fi
10584
10585 { echo "$as_me:$LINENO: result: $result" >&5
10586 echo "${ECHO_T}$result" >&6; }
10587
10588
10589 enablestring=
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10593 defaultval=yes
10594 else
10595 defaultval=no
10596 fi
10597 fi
10598
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10601 # Check whether --enable-gauge was given.
10602 if test "${enable_gauge+set}" = set; then
10603 enableval=$enable_gauge;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10606 else
10607 wx_cv_use_gauge='wxUSE_GAUGE=no'
10608 fi
10609
10610 else
10611
10612 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613
10614 fi
10615
10616
10617 eval "$wx_cv_use_gauge"
10618
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_GAUGE = yes; then
10621 result=no
10622 else
10623 result=yes
10624 fi
10625 else
10626 result=$wxUSE_GAUGE
10627 fi
10628
10629 { echo "$as_me:$LINENO: result: $result" >&5
10630 echo "${ECHO_T}$result" >&6; }
10631
10632
10633 enablestring=
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10637 defaultval=yes
10638 else
10639 defaultval=no
10640 fi
10641 fi
10642
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10645 # Check whether --enable-grid was given.
10646 if test "${enable_grid+set}" = set; then
10647 enableval=$enable_grid;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_grid='wxUSE_GRID=yes'
10650 else
10651 wx_cv_use_grid='wxUSE_GRID=no'
10652 fi
10653
10654 else
10655
10656 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657
10658 fi
10659
10660
10661 eval "$wx_cv_use_grid"
10662
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_GRID = yes; then
10665 result=no
10666 else
10667 result=yes
10668 fi
10669 else
10670 result=$wxUSE_GRID
10671 fi
10672
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10675
10676
10677 enablestring=
10678 defaultval=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x"$enablestring" = xdisable; then
10681 defaultval=yes
10682 else
10683 defaultval=no
10684 fi
10685 fi
10686
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10689 # Check whether --enable-dataviewctrl was given.
10690 if test "${enable_dataviewctrl+set}" = set; then
10691 enableval=$enable_dataviewctrl;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10694 else
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10696 fi
10697
10698 else
10699
10700 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10701
10702 fi
10703
10704
10705 eval "$wx_cv_use_dataviewctrl"
10706
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_DATAVIEWCTRL = yes; then
10709 result=no
10710 else
10711 result=yes
10712 fi
10713 else
10714 result=$wxUSE_DATAVIEWCTRL
10715 fi
10716
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10719
10720
10721 enablestring=
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10725 defaultval=yes
10726 else
10727 defaultval=no
10728 fi
10729 fi
10730
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10733 # Check whether --enable-hyperlink was given.
10734 if test "${enable_hyperlink+set}" = set; then
10735 enableval=$enable_hyperlink;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10738 else
10739 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10740 fi
10741
10742 else
10743
10744 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745
10746 fi
10747
10748
10749 eval "$wx_cv_use_hyperlink"
10750
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_HYPERLINKCTRL = yes; then
10753 result=no
10754 else
10755 result=yes
10756 fi
10757 else
10758 result=$wxUSE_HYPERLINKCTRL
10759 fi
10760
10761 { echo "$as_me:$LINENO: result: $result" >&5
10762 echo "${ECHO_T}$result" >&6; }
10763
10764
10765 enablestring=
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10769 defaultval=yes
10770 else
10771 defaultval=no
10772 fi
10773 fi
10774
10775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10776 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10777 # Check whether --enable-imaglist was given.
10778 if test "${enable_imaglist+set}" = set; then
10779 enableval=$enable_imaglist;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10782 else
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10784 fi
10785
10786 else
10787
10788 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789
10790 fi
10791
10792
10793 eval "$wx_cv_use_imaglist"
10794
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_IMAGLIST = yes; then
10797 result=no
10798 else
10799 result=yes
10800 fi
10801 else
10802 result=$wxUSE_IMAGLIST
10803 fi
10804
10805 { echo "$as_me:$LINENO: result: $result" >&5
10806 echo "${ECHO_T}$result" >&6; }
10807
10808
10809 enablestring=
10810 defaultval=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x"$enablestring" = xdisable; then
10813 defaultval=yes
10814 else
10815 defaultval=no
10816 fi
10817 fi
10818
10819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10820 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10821 # Check whether --enable-listbook was given.
10822 if test "${enable_listbook+set}" = set; then
10823 enableval=$enable_listbook;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10826 else
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10828 fi
10829
10830 else
10831
10832 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833
10834 fi
10835
10836
10837 eval "$wx_cv_use_listbook"
10838
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_LISTBOOK = yes; then
10841 result=no
10842 else
10843 result=yes
10844 fi
10845 else
10846 result=$wxUSE_LISTBOOK
10847 fi
10848
10849 { echo "$as_me:$LINENO: result: $result" >&5
10850 echo "${ECHO_T}$result" >&6; }
10851
10852
10853 enablestring=
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10857 defaultval=yes
10858 else
10859 defaultval=no
10860 fi
10861 fi
10862
10863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10865 # Check whether --enable-listbox was given.
10866 if test "${enable_listbox+set}" = set; then
10867 enableval=$enable_listbox;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10870 else
10871 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10872 fi
10873
10874 else
10875
10876 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877
10878 fi
10879
10880
10881 eval "$wx_cv_use_listbox"
10882
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_LISTBOX = yes; then
10885 result=no
10886 else
10887 result=yes
10888 fi
10889 else
10890 result=$wxUSE_LISTBOX
10891 fi
10892
10893 { echo "$as_me:$LINENO: result: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10895
10896
10897 enablestring=
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10901 defaultval=yes
10902 else
10903 defaultval=no
10904 fi
10905 fi
10906
10907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10909 # Check whether --enable-listctrl was given.
10910 if test "${enable_listctrl+set}" = set; then
10911 enableval=$enable_listctrl;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10914 else
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10916 fi
10917
10918 else
10919
10920 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921
10922 fi
10923
10924
10925 eval "$wx_cv_use_listctrl"
10926
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_LISTCTRL = yes; then
10929 result=no
10930 else
10931 result=yes
10932 fi
10933 else
10934 result=$wxUSE_LISTCTRL
10935 fi
10936
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10939
10940
10941 enablestring=
10942 defaultval=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x"$enablestring" = xdisable; then
10945 defaultval=yes
10946 else
10947 defaultval=no
10948 fi
10949 fi
10950
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10953 # Check whether --enable-notebook was given.
10954 if test "${enable_notebook+set}" = set; then
10955 enableval=$enable_notebook;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10958 else
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10960 fi
10961
10962 else
10963
10964 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965
10966 fi
10967
10968
10969 eval "$wx_cv_use_notebook"
10970
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_NOTEBOOK = yes; then
10973 result=no
10974 else
10975 result=yes
10976 fi
10977 else
10978 result=$wxUSE_NOTEBOOK
10979 fi
10980
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10997 # Check whether --enable-notifmsg was given.
10998 if test "${enable_notifmsg+set}" = set; then
10999 enableval=$enable_notifmsg;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11002 else
11003 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11004 fi
11005
11006 else
11007
11008 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009
11010 fi
11011
11012
11013 eval "$wx_cv_use_notifmsg"
11014
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11017 result=no
11018 else
11019 result=yes
11020 fi
11021 else
11022 result=$wxUSE_NOTIFICATION_MESSAGE
11023 fi
11024
11025 { echo "$as_me:$LINENO: result: $result" >&5
11026 echo "${ECHO_T}$result" >&6; }
11027
11028
11029 enablestring=
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11033 defaultval=yes
11034 else
11035 defaultval=no
11036 fi
11037 fi
11038
11039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11040 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11041 # Check whether --enable-odcombobox was given.
11042 if test "${enable_odcombobox+set}" = set; then
11043 enableval=$enable_odcombobox;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11046 else
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11048 fi
11049
11050 else
11051
11052 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053
11054 fi
11055
11056
11057 eval "$wx_cv_use_odcombobox"
11058
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_ODCOMBOBOX = yes; then
11061 result=no
11062 else
11063 result=yes
11064 fi
11065 else
11066 result=$wxUSE_ODCOMBOBOX
11067 fi
11068
11069 { echo "$as_me:$LINENO: result: $result" >&5
11070 echo "${ECHO_T}$result" >&6; }
11071
11072
11073 enablestring=
11074 defaultval=$wxUSE_ALL_FEATURES
11075 if test -z "$defaultval"; then
11076 if test x"$enablestring" = xdisable; then
11077 defaultval=yes
11078 else
11079 defaultval=no
11080 fi
11081 fi
11082
11083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11085 # Check whether --enable-radiobox was given.
11086 if test "${enable_radiobox+set}" = set; then
11087 enableval=$enable_radiobox;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11090 else
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11092 fi
11093
11094 else
11095
11096 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11097
11098 fi
11099
11100
11101 eval "$wx_cv_use_radiobox"
11102
11103 if test x"$enablestring" = xdisable; then
11104 if test $wxUSE_RADIOBOX = yes; then
11105 result=no
11106 else
11107 result=yes
11108 fi
11109 else
11110 result=$wxUSE_RADIOBOX
11111 fi
11112
11113 { echo "$as_me:$LINENO: result: $result" >&5
11114 echo "${ECHO_T}$result" >&6; }
11115
11116
11117 enablestring=
11118 defaultval=$wxUSE_ALL_FEATURES
11119 if test -z "$defaultval"; then
11120 if test x"$enablestring" = xdisable; then
11121 defaultval=yes
11122 else
11123 defaultval=no
11124 fi
11125 fi
11126
11127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11129 # Check whether --enable-radiobtn was given.
11130 if test "${enable_radiobtn+set}" = set; then
11131 enableval=$enable_radiobtn;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11134 else
11135 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11136 fi
11137
11138 else
11139
11140 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11141
11142 fi
11143
11144
11145 eval "$wx_cv_use_radiobtn"
11146
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_RADIOBTN = yes; then
11149 result=no
11150 else
11151 result=yes
11152 fi
11153 else
11154 result=$wxUSE_RADIOBTN
11155 fi
11156
11157 { echo "$as_me:$LINENO: result: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11159
11160
11161 enablestring=
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11165 defaultval=yes
11166 else
11167 defaultval=no
11168 fi
11169 fi
11170
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11173 # Check whether --enable-sash was given.
11174 if test "${enable_sash+set}" = set; then
11175 enableval=$enable_sash;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_sash='wxUSE_SASH=yes'
11178 else
11179 wx_cv_use_sash='wxUSE_SASH=no'
11180 fi
11181
11182 else
11183
11184 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11185
11186 fi
11187
11188
11189 eval "$wx_cv_use_sash"
11190
11191 if test x"$enablestring" = xdisable; then
11192 if test $wxUSE_SASH = yes; then
11193 result=no
11194 else
11195 result=yes
11196 fi
11197 else
11198 result=$wxUSE_SASH
11199 fi
11200
11201 { echo "$as_me:$LINENO: result: $result" >&5
11202 echo "${ECHO_T}$result" >&6; }
11203
11204
11205 enablestring=
11206 defaultval=$wxUSE_ALL_FEATURES
11207 if test -z "$defaultval"; then
11208 if test x"$enablestring" = xdisable; then
11209 defaultval=yes
11210 else
11211 defaultval=no
11212 fi
11213 fi
11214
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11217 # Check whether --enable-scrollbar was given.
11218 if test "${enable_scrollbar+set}" = set; then
11219 enableval=$enable_scrollbar;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11222 else
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11224 fi
11225
11226 else
11227
11228 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11229
11230 fi
11231
11232
11233 eval "$wx_cv_use_scrollbar"
11234
11235 if test x"$enablestring" = xdisable; then
11236 if test $wxUSE_SCROLLBAR = yes; then
11237 result=no
11238 else
11239 result=yes
11240 fi
11241 else
11242 result=$wxUSE_SCROLLBAR
11243 fi
11244
11245 { echo "$as_me:$LINENO: result: $result" >&5
11246 echo "${ECHO_T}$result" >&6; }
11247
11248
11249 enablestring=
11250 defaultval=$wxUSE_ALL_FEATURES
11251 if test -z "$defaultval"; then
11252 if test x"$enablestring" = xdisable; then
11253 defaultval=yes
11254 else
11255 defaultval=no
11256 fi
11257 fi
11258
11259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11261 # Check whether --enable-searchctrl was given.
11262 if test "${enable_searchctrl+set}" = set; then
11263 enableval=$enable_searchctrl;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11266 else
11267 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11268 fi
11269
11270 else
11271
11272 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11273
11274 fi
11275
11276
11277 eval "$wx_cv_use_searchctrl"
11278
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_SEARCHCTRL = yes; then
11281 result=no
11282 else
11283 result=yes
11284 fi
11285 else
11286 result=$wxUSE_SEARCHCTRL
11287 fi
11288
11289 { echo "$as_me:$LINENO: result: $result" >&5
11290 echo "${ECHO_T}$result" >&6; }
11291
11292
11293 enablestring=
11294 defaultval=$wxUSE_ALL_FEATURES
11295 if test -z "$defaultval"; then
11296 if test x"$enablestring" = xdisable; then
11297 defaultval=yes
11298 else
11299 defaultval=no
11300 fi
11301 fi
11302
11303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11305 # Check whether --enable-slider was given.
11306 if test "${enable_slider+set}" = set; then
11307 enableval=$enable_slider;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_slider='wxUSE_SLIDER=yes'
11310 else
11311 wx_cv_use_slider='wxUSE_SLIDER=no'
11312 fi
11313
11314 else
11315
11316 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11317
11318 fi
11319
11320
11321 eval "$wx_cv_use_slider"
11322
11323 if test x"$enablestring" = xdisable; then
11324 if test $wxUSE_SLIDER = yes; then
11325 result=no
11326 else
11327 result=yes
11328 fi
11329 else
11330 result=$wxUSE_SLIDER
11331 fi
11332
11333 { echo "$as_me:$LINENO: result: $result" >&5
11334 echo "${ECHO_T}$result" >&6; }
11335
11336
11337 enablestring=
11338 defaultval=$wxUSE_ALL_FEATURES
11339 if test -z "$defaultval"; then
11340 if test x"$enablestring" = xdisable; then
11341 defaultval=yes
11342 else
11343 defaultval=no
11344 fi
11345 fi
11346
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11349 # Check whether --enable-spinbtn was given.
11350 if test "${enable_spinbtn+set}" = set; then
11351 enableval=$enable_spinbtn;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11354 else
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11356 fi
11357
11358 else
11359
11360 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11361
11362 fi
11363
11364
11365 eval "$wx_cv_use_spinbtn"
11366
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_SPINBTN = yes; then
11369 result=no
11370 else
11371 result=yes
11372 fi
11373 else
11374 result=$wxUSE_SPINBTN
11375 fi
11376
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11379
11380
11381 enablestring=
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11385 defaultval=yes
11386 else
11387 defaultval=no
11388 fi
11389 fi
11390
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11393 # Check whether --enable-spinctrl was given.
11394 if test "${enable_spinctrl+set}" = set; then
11395 enableval=$enable_spinctrl;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11398 else
11399 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11400 fi
11401
11402 else
11403
11404 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11405
11406 fi
11407
11408
11409 eval "$wx_cv_use_spinctrl"
11410
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_SPINCTRL = yes; then
11413 result=no
11414 else
11415 result=yes
11416 fi
11417 else
11418 result=$wxUSE_SPINCTRL
11419 fi
11420
11421 { echo "$as_me:$LINENO: result: $result" >&5
11422 echo "${ECHO_T}$result" >&6; }
11423
11424
11425 enablestring=
11426 defaultval=$wxUSE_ALL_FEATURES
11427 if test -z "$defaultval"; then
11428 if test x"$enablestring" = xdisable; then
11429 defaultval=yes
11430 else
11431 defaultval=no
11432 fi
11433 fi
11434
11435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11437 # Check whether --enable-splitter was given.
11438 if test "${enable_splitter+set}" = set; then
11439 enableval=$enable_splitter;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11442 else
11443 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11444 fi
11445
11446 else
11447
11448 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11449
11450 fi
11451
11452
11453 eval "$wx_cv_use_splitter"
11454
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_SPLITTER = yes; then
11457 result=no
11458 else
11459 result=yes
11460 fi
11461 else
11462 result=$wxUSE_SPLITTER
11463 fi
11464
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11467
11468
11469 enablestring=
11470 defaultval=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x"$enablestring" = xdisable; then
11473 defaultval=yes
11474 else
11475 defaultval=no
11476 fi
11477 fi
11478
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11481 # Check whether --enable-statbmp was given.
11482 if test "${enable_statbmp+set}" = set; then
11483 enableval=$enable_statbmp;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11486 else
11487 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11488 fi
11489
11490 else
11491
11492 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11493
11494 fi
11495
11496
11497 eval "$wx_cv_use_statbmp"
11498
11499 if test x"$enablestring" = xdisable; then
11500 if test $wxUSE_STATBMP = yes; then
11501 result=no
11502 else
11503 result=yes
11504 fi
11505 else
11506 result=$wxUSE_STATBMP
11507 fi
11508
11509 { echo "$as_me:$LINENO: result: $result" >&5
11510 echo "${ECHO_T}$result" >&6; }
11511
11512
11513 enablestring=
11514 defaultval=$wxUSE_ALL_FEATURES
11515 if test -z "$defaultval"; then
11516 if test x"$enablestring" = xdisable; then
11517 defaultval=yes
11518 else
11519 defaultval=no
11520 fi
11521 fi
11522
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11525 # Check whether --enable-statbox was given.
11526 if test "${enable_statbox+set}" = set; then
11527 enableval=$enable_statbox;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11530 else
11531 wx_cv_use_statbox='wxUSE_STATBOX=no'
11532 fi
11533
11534 else
11535
11536 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11537
11538 fi
11539
11540
11541 eval "$wx_cv_use_statbox"
11542
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_STATBOX = yes; then
11545 result=no
11546 else
11547 result=yes
11548 fi
11549 else
11550 result=$wxUSE_STATBOX
11551 fi
11552
11553 { echo "$as_me:$LINENO: result: $result" >&5
11554 echo "${ECHO_T}$result" >&6; }
11555
11556
11557 enablestring=
11558 defaultval=$wxUSE_ALL_FEATURES
11559 if test -z "$defaultval"; then
11560 if test x"$enablestring" = xdisable; then
11561 defaultval=yes
11562 else
11563 defaultval=no
11564 fi
11565 fi
11566
11567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11568 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11569 # Check whether --enable-statline was given.
11570 if test "${enable_statline+set}" = set; then
11571 enableval=$enable_statline;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_statline='wxUSE_STATLINE=yes'
11574 else
11575 wx_cv_use_statline='wxUSE_STATLINE=no'
11576 fi
11577
11578 else
11579
11580 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11581
11582 fi
11583
11584
11585 eval "$wx_cv_use_statline"
11586
11587 if test x"$enablestring" = xdisable; then
11588 if test $wxUSE_STATLINE = yes; then
11589 result=no
11590 else
11591 result=yes
11592 fi
11593 else
11594 result=$wxUSE_STATLINE
11595 fi
11596
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11599
11600
11601 enablestring=
11602 defaultval=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x"$enablestring" = xdisable; then
11605 defaultval=yes
11606 else
11607 defaultval=no
11608 fi
11609 fi
11610
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11613 # Check whether --enable-stattext was given.
11614 if test "${enable_stattext+set}" = set; then
11615 enableval=$enable_stattext;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11618 else
11619 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11620 fi
11621
11622 else
11623
11624 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11625
11626 fi
11627
11628
11629 eval "$wx_cv_use_stattext"
11630
11631 if test x"$enablestring" = xdisable; then
11632 if test $wxUSE_STATTEXT = yes; then
11633 result=no
11634 else
11635 result=yes
11636 fi
11637 else
11638 result=$wxUSE_STATTEXT
11639 fi
11640
11641 { echo "$as_me:$LINENO: result: $result" >&5
11642 echo "${ECHO_T}$result" >&6; }
11643
11644
11645 enablestring=
11646 defaultval=$wxUSE_ALL_FEATURES
11647 if test -z "$defaultval"; then
11648 if test x"$enablestring" = xdisable; then
11649 defaultval=yes
11650 else
11651 defaultval=no
11652 fi
11653 fi
11654
11655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11657 # Check whether --enable-statusbar was given.
11658 if test "${enable_statusbar+set}" = set; then
11659 enableval=$enable_statusbar;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11662 else
11663 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11664 fi
11665
11666 else
11667
11668 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11669
11670 fi
11671
11672
11673 eval "$wx_cv_use_statusbar"
11674
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_STATUSBAR = yes; then
11677 result=no
11678 else
11679 result=yes
11680 fi
11681 else
11682 result=$wxUSE_STATUSBAR
11683 fi
11684
11685 { echo "$as_me:$LINENO: result: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11687
11688
11689 enablestring=
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11693 defaultval=yes
11694 else
11695 defaultval=no
11696 fi
11697 fi
11698
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11701 # Check whether --enable-tabdialog was given.
11702 if test "${enable_tabdialog+set}" = set; then
11703 enableval=$enable_tabdialog;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11706 else
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11708 fi
11709
11710 else
11711
11712 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11713
11714 fi
11715
11716
11717 eval "$wx_cv_use_tabdialog"
11718
11719 if test x"$enablestring" = xdisable; then
11720 if test $wxUSE_TAB_DIALOG = yes; then
11721 result=no
11722 else
11723 result=yes
11724 fi
11725 else
11726 result=$wxUSE_TAB_DIALOG
11727 fi
11728
11729 { echo "$as_me:$LINENO: result: $result" >&5
11730 echo "${ECHO_T}$result" >&6; }
11731
11732
11733 enablestring=
11734 defaultval=$wxUSE_ALL_FEATURES
11735 if test -z "$defaultval"; then
11736 if test x"$enablestring" = xdisable; then
11737 defaultval=yes
11738 else
11739 defaultval=no
11740 fi
11741 fi
11742
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11745 # Check whether --enable-taskbaricon was given.
11746 if test "${enable_taskbaricon+set}" = set; then
11747 enableval=$enable_taskbaricon;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11750 else
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11752 fi
11753
11754 else
11755
11756 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11757
11758 fi
11759
11760
11761 eval "$wx_cv_use_taskbaricon"
11762
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_TASKBARICON = yes; then
11765 result=no
11766 else
11767 result=yes
11768 fi
11769 else
11770 result=$wxUSE_TASKBARICON
11771 fi
11772
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11775
11776
11777 enablestring=
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11781 defaultval=yes
11782 else
11783 defaultval=no
11784 fi
11785 fi
11786
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11789 # Check whether --enable-textctrl was given.
11790 if test "${enable_textctrl+set}" = set; then
11791 enableval=$enable_textctrl;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11794 else
11795 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11796 fi
11797
11798 else
11799
11800 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11801
11802 fi
11803
11804
11805 eval "$wx_cv_use_textctrl"
11806
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_TEXTCTRL = yes; then
11809 result=no
11810 else
11811 result=yes
11812 fi
11813 else
11814 result=$wxUSE_TEXTCTRL
11815 fi
11816
11817 { echo "$as_me:$LINENO: result: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11819
11820
11821 enablestring=
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11825 defaultval=yes
11826 else
11827 defaultval=no
11828 fi
11829 fi
11830
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11833 # Check whether --enable-togglebtn was given.
11834 if test "${enable_togglebtn+set}" = set; then
11835 enableval=$enable_togglebtn;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11838 else
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11840 fi
11841
11842 else
11843
11844 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11845
11846 fi
11847
11848
11849 eval "$wx_cv_use_togglebtn"
11850
11851 if test x"$enablestring" = xdisable; then
11852 if test $wxUSE_TOGGLEBTN = yes; then
11853 result=no
11854 else
11855 result=yes
11856 fi
11857 else
11858 result=$wxUSE_TOGGLEBTN
11859 fi
11860
11861 { echo "$as_me:$LINENO: result: $result" >&5
11862 echo "${ECHO_T}$result" >&6; }
11863
11864
11865 enablestring=
11866 defaultval=$wxUSE_ALL_FEATURES
11867 if test -z "$defaultval"; then
11868 if test x"$enablestring" = xdisable; then
11869 defaultval=yes
11870 else
11871 defaultval=no
11872 fi
11873 fi
11874
11875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11877 # Check whether --enable-toolbar was given.
11878 if test "${enable_toolbar+set}" = set; then
11879 enableval=$enable_toolbar;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11882 else
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11884 fi
11885
11886 else
11887
11888 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11889
11890 fi
11891
11892
11893 eval "$wx_cv_use_toolbar"
11894
11895 if test x"$enablestring" = xdisable; then
11896 if test $wxUSE_TOOLBAR = yes; then
11897 result=no
11898 else
11899 result=yes
11900 fi
11901 else
11902 result=$wxUSE_TOOLBAR
11903 fi
11904
11905 { echo "$as_me:$LINENO: result: $result" >&5
11906 echo "${ECHO_T}$result" >&6; }
11907
11908
11909 enablestring=
11910 defaultval=$wxUSE_ALL_FEATURES
11911 if test -z "$defaultval"; then
11912 if test x"$enablestring" = xdisable; then
11913 defaultval=yes
11914 else
11915 defaultval=no
11916 fi
11917 fi
11918
11919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11921 # Check whether --enable-tbarnative was given.
11922 if test "${enable_tbarnative+set}" = set; then
11923 enableval=$enable_tbarnative;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11926 else
11927 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11928 fi
11929
11930 else
11931
11932 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11933
11934 fi
11935
11936
11937 eval "$wx_cv_use_tbarnative"
11938
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11941 result=no
11942 else
11943 result=yes
11944 fi
11945 else
11946 result=$wxUSE_TOOLBAR_NATIVE
11947 fi
11948
11949 { echo "$as_me:$LINENO: result: $result" >&5
11950 echo "${ECHO_T}$result" >&6; }
11951
11952
11953 enablestring=
11954 defaultval=$wxUSE_ALL_FEATURES
11955 if test -z "$defaultval"; then
11956 if test x"$enablestring" = xdisable; then
11957 defaultval=yes
11958 else
11959 defaultval=no
11960 fi
11961 fi
11962
11963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11964 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11965 # Check whether --enable-treebook was given.
11966 if test "${enable_treebook+set}" = set; then
11967 enableval=$enable_treebook;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11970 else
11971 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11972 fi
11973
11974 else
11975
11976 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11977
11978 fi
11979
11980
11981 eval "$wx_cv_use_treebook"
11982
11983 if test x"$enablestring" = xdisable; then
11984 if test $wxUSE_TREEBOOK = yes; then
11985 result=no
11986 else
11987 result=yes
11988 fi
11989 else
11990 result=$wxUSE_TREEBOOK
11991 fi
11992
11993 { echo "$as_me:$LINENO: result: $result" >&5
11994 echo "${ECHO_T}$result" >&6; }
11995
11996
11997 enablestring=
11998 defaultval=$wxUSE_ALL_FEATURES
11999 if test -z "$defaultval"; then
12000 if test x"$enablestring" = xdisable; then
12001 defaultval=yes
12002 else
12003 defaultval=no
12004 fi
12005 fi
12006
12007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12008 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12009 # Check whether --enable-toolbook was given.
12010 if test "${enable_toolbook+set}" = set; then
12011 enableval=$enable_toolbook;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12014 else
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12016 fi
12017
12018 else
12019
12020 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12021
12022 fi
12023
12024
12025 eval "$wx_cv_use_toolbook"
12026
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_TOOLBOOK = yes; then
12029 result=no
12030 else
12031 result=yes
12032 fi
12033 else
12034 result=$wxUSE_TOOLBOOK
12035 fi
12036
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12039
12040
12041 enablestring=
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12045 defaultval=yes
12046 else
12047 defaultval=no
12048 fi
12049 fi
12050
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12053 # Check whether --enable-treectrl was given.
12054 if test "${enable_treectrl+set}" = set; then
12055 enableval=$enable_treectrl;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12058 else
12059 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12060 fi
12061
12062 else
12063
12064 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12065
12066 fi
12067
12068
12069 eval "$wx_cv_use_treectrl"
12070
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_TREECTRL = yes; then
12073 result=no
12074 else
12075 result=yes
12076 fi
12077 else
12078 result=$wxUSE_TREECTRL
12079 fi
12080
12081 { echo "$as_me:$LINENO: result: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12083
12084
12085 enablestring=
12086 defaultval=$wxUSE_ALL_FEATURES
12087 if test -z "$defaultval"; then
12088 if test x"$enablestring" = xdisable; then
12089 defaultval=yes
12090 else
12091 defaultval=no
12092 fi
12093 fi
12094
12095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12096 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12097 # Check whether --enable-tipwindow was given.
12098 if test "${enable_tipwindow+set}" = set; then
12099 enableval=$enable_tipwindow;
12100 if test "$enableval" = yes; then
12101 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12102 else
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12104 fi
12105
12106 else
12107
12108 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12109
12110 fi
12111
12112
12113 eval "$wx_cv_use_tipwindow"
12114
12115 if test x"$enablestring" = xdisable; then
12116 if test $wxUSE_TIPWINDOW = yes; then
12117 result=no
12118 else
12119 result=yes
12120 fi
12121 else
12122 result=$wxUSE_TIPWINDOW
12123 fi
12124
12125 { echo "$as_me:$LINENO: result: $result" >&5
12126 echo "${ECHO_T}$result" >&6; }
12127
12128
12129 enablestring=
12130 defaultval=$wxUSE_ALL_FEATURES
12131 if test -z "$defaultval"; then
12132 if test x"$enablestring" = xdisable; then
12133 defaultval=yes
12134 else
12135 defaultval=no
12136 fi
12137 fi
12138
12139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12140 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12141 # Check whether --enable-popupwin was given.
12142 if test "${enable_popupwin+set}" = set; then
12143 enableval=$enable_popupwin;
12144 if test "$enableval" = yes; then
12145 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12146 else
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12148 fi
12149
12150 else
12151
12152 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12153
12154 fi
12155
12156
12157 eval "$wx_cv_use_popupwin"
12158
12159 if test x"$enablestring" = xdisable; then
12160 if test $wxUSE_POPUPWIN = yes; then
12161 result=no
12162 else
12163 result=yes
12164 fi
12165 else
12166 result=$wxUSE_POPUPWIN
12167 fi
12168
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 echo "${ECHO_T}$result" >&6; }
12171
12172
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12187 # Check whether --enable-commondlg was given.
12188 if test "${enable_commondlg+set}" = set; then
12189 enableval=$enable_commondlg;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12192 else
12193 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12194 fi
12195
12196 else
12197
12198 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_commondlg"
12204
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_COMMONDLGS = yes; then
12207 result=no
12208 else
12209 result=yes
12210 fi
12211 else
12212 result=$wxUSE_COMMONDLGS
12213 fi
12214
12215 { echo "$as_me:$LINENO: result: $result" >&5
12216 echo "${ECHO_T}$result" >&6; }
12217
12218
12219 enablestring=
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12223 defaultval=yes
12224 else
12225 defaultval=no
12226 fi
12227 fi
12228
12229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12230 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12231 # Check whether --enable-aboutdlg was given.
12232 if test "${enable_aboutdlg+set}" = set; then
12233 enableval=$enable_aboutdlg;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12236 else
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12238 fi
12239
12240 else
12241
12242 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_aboutdlg"
12248
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_ABOUTDLG = yes; then
12251 result=no
12252 else
12253 result=yes
12254 fi
12255 else
12256 result=$wxUSE_ABOUTDLG
12257 fi
12258
12259 { echo "$as_me:$LINENO: result: $result" >&5
12260 echo "${ECHO_T}$result" >&6; }
12261
12262
12263 enablestring=
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12267 defaultval=yes
12268 else
12269 defaultval=no
12270 fi
12271 fi
12272
12273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12274 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12275 # Check whether --enable-choicedlg was given.
12276 if test "${enable_choicedlg+set}" = set; then
12277 enableval=$enable_choicedlg;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12280 else
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12282 fi
12283
12284 else
12285
12286 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12287
12288 fi
12289
12290
12291 eval "$wx_cv_use_choicedlg"
12292
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_CHOICEDLG = yes; then
12295 result=no
12296 else
12297 result=yes
12298 fi
12299 else
12300 result=$wxUSE_CHOICEDLG
12301 fi
12302
12303 { echo "$as_me:$LINENO: result: $result" >&5
12304 echo "${ECHO_T}$result" >&6; }
12305
12306
12307 enablestring=
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12311 defaultval=yes
12312 else
12313 defaultval=no
12314 fi
12315 fi
12316
12317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12319 # Check whether --enable-coldlg was given.
12320 if test "${enable_coldlg+set}" = set; then
12321 enableval=$enable_coldlg;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12324 else
12325 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12326 fi
12327
12328 else
12329
12330 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12331
12332 fi
12333
12334
12335 eval "$wx_cv_use_coldlg"
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_COLOURDLG = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_COLOURDLG
12345 fi
12346
12347 { echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12363 # Check whether --enable-filedlg was given.
12364 if test "${enable_filedlg+set}" = set; then
12365 enableval=$enable_filedlg;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12368 else
12369 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12370 fi
12371
12372 else
12373
12374 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12375
12376 fi
12377
12378
12379 eval "$wx_cv_use_filedlg"
12380
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_FILEDLG = yes; then
12383 result=no
12384 else
12385 result=yes
12386 fi
12387 else
12388 result=$wxUSE_FILEDLG
12389 fi
12390
12391 { echo "$as_me:$LINENO: result: $result" >&5
12392 echo "${ECHO_T}$result" >&6; }
12393
12394
12395 enablestring=
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12399 defaultval=yes
12400 else
12401 defaultval=no
12402 fi
12403 fi
12404
12405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12406 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12407 # Check whether --enable-finddlg was given.
12408 if test "${enable_finddlg+set}" = set; then
12409 enableval=$enable_finddlg;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12412 else
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12414 fi
12415
12416 else
12417
12418 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_finddlg"
12424
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_FINDREPLDLG = yes; then
12427 result=no
12428 else
12429 result=yes
12430 fi
12431 else
12432 result=$wxUSE_FINDREPLDLG
12433 fi
12434
12435 { echo "$as_me:$LINENO: result: $result" >&5
12436 echo "${ECHO_T}$result" >&6; }
12437
12438
12439 enablestring=
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12443 defaultval=yes
12444 else
12445 defaultval=no
12446 fi
12447 fi
12448
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12451 # Check whether --enable-fontdlg was given.
12452 if test "${enable_fontdlg+set}" = set; then
12453 enableval=$enable_fontdlg;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12456 else
12457 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12458 fi
12459
12460 else
12461
12462 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12463
12464 fi
12465
12466
12467 eval "$wx_cv_use_fontdlg"
12468
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_FONTDLG = yes; then
12471 result=no
12472 else
12473 result=yes
12474 fi
12475 else
12476 result=$wxUSE_FONTDLG
12477 fi
12478
12479 { echo "$as_me:$LINENO: result: $result" >&5
12480 echo "${ECHO_T}$result" >&6; }
12481
12482
12483 enablestring=
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12487 defaultval=yes
12488 else
12489 defaultval=no
12490 fi
12491 fi
12492
12493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12494 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12495 # Check whether --enable-dirdlg was given.
12496 if test "${enable_dirdlg+set}" = set; then
12497 enableval=$enable_dirdlg;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12500 else
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12502 fi
12503
12504 else
12505
12506 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12507
12508 fi
12509
12510
12511 eval "$wx_cv_use_dirdlg"
12512
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_DIRDLG = yes; then
12515 result=no
12516 else
12517 result=yes
12518 fi
12519 else
12520 result=$wxUSE_DIRDLG
12521 fi
12522
12523 { echo "$as_me:$LINENO: result: $result" >&5
12524 echo "${ECHO_T}$result" >&6; }
12525
12526
12527 enablestring=
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12531 defaultval=yes
12532 else
12533 defaultval=no
12534 fi
12535 fi
12536
12537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12538 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12539 # Check whether --enable-msgdlg was given.
12540 if test "${enable_msgdlg+set}" = set; then
12541 enableval=$enable_msgdlg;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12544 else
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12546 fi
12547
12548 else
12549
12550 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12551
12552 fi
12553
12554
12555 eval "$wx_cv_use_msgdlg"
12556
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_MSGDLG = yes; then
12559 result=no
12560 else
12561 result=yes
12562 fi
12563 else
12564 result=$wxUSE_MSGDLG
12565 fi
12566
12567 { echo "$as_me:$LINENO: result: $result" >&5
12568 echo "${ECHO_T}$result" >&6; }
12569
12570
12571 enablestring=
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12575 defaultval=yes
12576 else
12577 defaultval=no
12578 fi
12579 fi
12580
12581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12583 # Check whether --enable-numberdlg was given.
12584 if test "${enable_numberdlg+set}" = set; then
12585 enableval=$enable_numberdlg;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12588 else
12589 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12590 fi
12591
12592 else
12593
12594 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_numberdlg"
12600
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_NUMBERDLG = yes; then
12603 result=no
12604 else
12605 result=yes
12606 fi
12607 else
12608 result=$wxUSE_NUMBERDLG
12609 fi
12610
12611 { echo "$as_me:$LINENO: result: $result" >&5
12612 echo "${ECHO_T}$result" >&6; }
12613
12614
12615 enablestring=
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12619 defaultval=yes
12620 else
12621 defaultval=no
12622 fi
12623 fi
12624
12625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12627 # Check whether --enable-splash was given.
12628 if test "${enable_splash+set}" = set; then
12629 enableval=$enable_splash;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_splash='wxUSE_SPLASH=yes'
12632 else
12633 wx_cv_use_splash='wxUSE_SPLASH=no'
12634 fi
12635
12636 else
12637
12638 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12639
12640 fi
12641
12642
12643 eval "$wx_cv_use_splash"
12644
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_SPLASH = yes; then
12647 result=no
12648 else
12649 result=yes
12650 fi
12651 else
12652 result=$wxUSE_SPLASH
12653 fi
12654
12655 { echo "$as_me:$LINENO: result: $result" >&5
12656 echo "${ECHO_T}$result" >&6; }
12657
12658
12659 enablestring=
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12663 defaultval=yes
12664 else
12665 defaultval=no
12666 fi
12667 fi
12668
12669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12670 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12671 # Check whether --enable-textdlg was given.
12672 if test "${enable_textdlg+set}" = set; then
12673 enableval=$enable_textdlg;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12676 else
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12678 fi
12679
12680 else
12681
12682 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12683
12684 fi
12685
12686
12687 eval "$wx_cv_use_textdlg"
12688
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_TEXTDLG = yes; then
12691 result=no
12692 else
12693 result=yes
12694 fi
12695 else
12696 result=$wxUSE_TEXTDLG
12697 fi
12698
12699 { echo "$as_me:$LINENO: result: $result" >&5
12700 echo "${ECHO_T}$result" >&6; }
12701
12702
12703 enablestring=
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12707 defaultval=yes
12708 else
12709 defaultval=no
12710 fi
12711 fi
12712
12713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12715 # Check whether --enable-tipdlg was given.
12716 if test "${enable_tipdlg+set}" = set; then
12717 enableval=$enable_tipdlg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12720 else
12721 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12722 fi
12723
12724 else
12725
12726 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12727
12728 fi
12729
12730
12731 eval "$wx_cv_use_tipdlg"
12732
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_STARTUP_TIPS = yes; then
12735 result=no
12736 else
12737 result=yes
12738 fi
12739 else
12740 result=$wxUSE_STARTUP_TIPS
12741 fi
12742
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12745
12746
12747 enablestring=
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12751 defaultval=yes
12752 else
12753 defaultval=no
12754 fi
12755 fi
12756
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12759 # Check whether --enable-progressdlg was given.
12760 if test "${enable_progressdlg+set}" = set; then
12761 enableval=$enable_progressdlg;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12764 else
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12766 fi
12767
12768 else
12769
12770 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12771
12772 fi
12773
12774
12775 eval "$wx_cv_use_progressdlg"
12776
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_PROGRESSDLG = yes; then
12779 result=no
12780 else
12781 result=yes
12782 fi
12783 else
12784 result=$wxUSE_PROGRESSDLG
12785 fi
12786
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12789
12790
12791 enablestring=
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12795 defaultval=yes
12796 else
12797 defaultval=no
12798 fi
12799 fi
12800
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12803 # Check whether --enable-wizarddlg was given.
12804 if test "${enable_wizarddlg+set}" = set; then
12805 enableval=$enable_wizarddlg;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12808 else
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12810 fi
12811
12812 else
12813
12814 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12815
12816 fi
12817
12818
12819 eval "$wx_cv_use_wizarddlg"
12820
12821 if test x"$enablestring" = xdisable; then
12822 if test $wxUSE_WIZARDDLG = yes; then
12823 result=no
12824 else
12825 result=yes
12826 fi
12827 else
12828 result=$wxUSE_WIZARDDLG
12829 fi
12830
12831 { echo "$as_me:$LINENO: result: $result" >&5
12832 echo "${ECHO_T}$result" >&6; }
12833
12834
12835
12836
12837 enablestring=
12838 defaultval=$wxUSE_ALL_FEATURES
12839 if test -z "$defaultval"; then
12840 if test x"$enablestring" = xdisable; then
12841 defaultval=yes
12842 else
12843 defaultval=no
12844 fi
12845 fi
12846
12847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12848 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12849 # Check whether --enable-menus was given.
12850 if test "${enable_menus+set}" = set; then
12851 enableval=$enable_menus;
12852 if test "$enableval" = yes; then
12853 wx_cv_use_menus='wxUSE_MENUS=yes'
12854 else
12855 wx_cv_use_menus='wxUSE_MENUS=no'
12856 fi
12857
12858 else
12859
12860 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12861
12862 fi
12863
12864
12865 eval "$wx_cv_use_menus"
12866
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_MENUS = yes; then
12869 result=no
12870 else
12871 result=yes
12872 fi
12873 else
12874 result=$wxUSE_MENUS
12875 fi
12876
12877 { echo "$as_me:$LINENO: result: $result" >&5
12878 echo "${ECHO_T}$result" >&6; }
12879
12880
12881 enablestring=
12882 defaultval=$wxUSE_ALL_FEATURES
12883 if test -z "$defaultval"; then
12884 if test x"$enablestring" = xdisable; then
12885 defaultval=yes
12886 else
12887 defaultval=no
12888 fi
12889 fi
12890
12891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12893 # Check whether --enable-miniframe was given.
12894 if test "${enable_miniframe+set}" = set; then
12895 enableval=$enable_miniframe;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12898 else
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12900 fi
12901
12902 else
12903
12904 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12905
12906 fi
12907
12908
12909 eval "$wx_cv_use_miniframe"
12910
12911 if test x"$enablestring" = xdisable; then
12912 if test $wxUSE_MINIFRAME = yes; then
12913 result=no
12914 else
12915 result=yes
12916 fi
12917 else
12918 result=$wxUSE_MINIFRAME
12919 fi
12920
12921 { echo "$as_me:$LINENO: result: $result" >&5
12922 echo "${ECHO_T}$result" >&6; }
12923
12924
12925 enablestring=
12926 defaultval=$wxUSE_ALL_FEATURES
12927 if test -z "$defaultval"; then
12928 if test x"$enablestring" = xdisable; then
12929 defaultval=yes
12930 else
12931 defaultval=no
12932 fi
12933 fi
12934
12935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12936 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12937 # Check whether --enable-tooltips was given.
12938 if test "${enable_tooltips+set}" = set; then
12939 enableval=$enable_tooltips;
12940 if test "$enableval" = yes; then
12941 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12942 else
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12944 fi
12945
12946 else
12947
12948 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12949
12950 fi
12951
12952
12953 eval "$wx_cv_use_tooltips"
12954
12955 if test x"$enablestring" = xdisable; then
12956 if test $wxUSE_TOOLTIPS = yes; then
12957 result=no
12958 else
12959 result=yes
12960 fi
12961 else
12962 result=$wxUSE_TOOLTIPS
12963 fi
12964
12965 { echo "$as_me:$LINENO: result: $result" >&5
12966 echo "${ECHO_T}$result" >&6; }
12967
12968
12969 enablestring=
12970 defaultval=$wxUSE_ALL_FEATURES
12971 if test -z "$defaultval"; then
12972 if test x"$enablestring" = xdisable; then
12973 defaultval=yes
12974 else
12975 defaultval=no
12976 fi
12977 fi
12978
12979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12981 # Check whether --enable-splines was given.
12982 if test "${enable_splines+set}" = set; then
12983 enableval=$enable_splines;
12984 if test "$enableval" = yes; then
12985 wx_cv_use_splines='wxUSE_SPLINES=yes'
12986 else
12987 wx_cv_use_splines='wxUSE_SPLINES=no'
12988 fi
12989
12990 else
12991
12992 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12993
12994 fi
12995
12996
12997 eval "$wx_cv_use_splines"
12998
12999 if test x"$enablestring" = xdisable; then
13000 if test $wxUSE_SPLINES = yes; then
13001 result=no
13002 else
13003 result=yes
13004 fi
13005 else
13006 result=$wxUSE_SPLINES
13007 fi
13008
13009 { echo "$as_me:$LINENO: result: $result" >&5
13010 echo "${ECHO_T}$result" >&6; }
13011
13012
13013 enablestring=
13014 defaultval=$wxUSE_ALL_FEATURES
13015 if test -z "$defaultval"; then
13016 if test x"$enablestring" = xdisable; then
13017 defaultval=yes
13018 else
13019 defaultval=no
13020 fi
13021 fi
13022
13023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13024 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13025 # Check whether --enable-mousewheel was given.
13026 if test "${enable_mousewheel+set}" = set; then
13027 enableval=$enable_mousewheel;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13030 else
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13032 fi
13033
13034 else
13035
13036 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13037
13038 fi
13039
13040
13041 eval "$wx_cv_use_mousewheel"
13042
13043 if test x"$enablestring" = xdisable; then
13044 if test $wxUSE_MOUSEWHEEL = yes; then
13045 result=no
13046 else
13047 result=yes
13048 fi
13049 else
13050 result=$wxUSE_MOUSEWHEEL
13051 fi
13052
13053 { echo "$as_me:$LINENO: result: $result" >&5
13054 echo "${ECHO_T}$result" >&6; }
13055
13056
13057 enablestring=
13058 defaultval=$wxUSE_ALL_FEATURES
13059 if test -z "$defaultval"; then
13060 if test x"$enablestring" = xdisable; then
13061 defaultval=yes
13062 else
13063 defaultval=no
13064 fi
13065 fi
13066
13067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13068 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13069 # Check whether --enable-validators was given.
13070 if test "${enable_validators+set}" = set; then
13071 enableval=$enable_validators;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13074 else
13075 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13076 fi
13077
13078 else
13079
13080 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13081
13082 fi
13083
13084
13085 eval "$wx_cv_use_validators"
13086
13087 if test x"$enablestring" = xdisable; then
13088 if test $wxUSE_VALIDATORS = yes; then
13089 result=no
13090 else
13091 result=yes
13092 fi
13093 else
13094 result=$wxUSE_VALIDATORS
13095 fi
13096
13097 { echo "$as_me:$LINENO: result: $result" >&5
13098 echo "${ECHO_T}$result" >&6; }
13099
13100
13101 enablestring=
13102 defaultval=$wxUSE_ALL_FEATURES
13103 if test -z "$defaultval"; then
13104 if test x"$enablestring" = xdisable; then
13105 defaultval=yes
13106 else
13107 defaultval=no
13108 fi
13109 fi
13110
13111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13113 # Check whether --enable-busyinfo was given.
13114 if test "${enable_busyinfo+set}" = set; then
13115 enableval=$enable_busyinfo;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13118 else
13119 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13120 fi
13121
13122 else
13123
13124 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13125
13126 fi
13127
13128
13129 eval "$wx_cv_use_busyinfo"
13130
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_BUSYINFO = yes; then
13133 result=no
13134 else
13135 result=yes
13136 fi
13137 else
13138 result=$wxUSE_BUSYINFO
13139 fi
13140
13141 { echo "$as_me:$LINENO: result: $result" >&5
13142 echo "${ECHO_T}$result" >&6; }
13143
13144
13145 enablestring=
13146 defaultval=$wxUSE_ALL_FEATURES
13147 if test -z "$defaultval"; then
13148 if test x"$enablestring" = xdisable; then
13149 defaultval=yes
13150 else
13151 defaultval=no
13152 fi
13153 fi
13154
13155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13157 # Check whether --enable-joystick was given.
13158 if test "${enable_joystick+set}" = set; then
13159 enableval=$enable_joystick;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13162 else
13163 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13164 fi
13165
13166 else
13167
13168 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13169
13170 fi
13171
13172
13173 eval "$wx_cv_use_joystick"
13174
13175 if test x"$enablestring" = xdisable; then
13176 if test $wxUSE_JOYSTICK = yes; then
13177 result=no
13178 else
13179 result=yes
13180 fi
13181 else
13182 result=$wxUSE_JOYSTICK
13183 fi
13184
13185 { echo "$as_me:$LINENO: result: $result" >&5
13186 echo "${ECHO_T}$result" >&6; }
13187
13188
13189 enablestring=
13190 defaultval=$wxUSE_ALL_FEATURES
13191 if test -z "$defaultval"; then
13192 if test x"$enablestring" = xdisable; then
13193 defaultval=yes
13194 else
13195 defaultval=no
13196 fi
13197 fi
13198
13199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13200 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13201 # Check whether --enable-metafile was given.
13202 if test "${enable_metafile+set}" = set; then
13203 enableval=$enable_metafile;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13206 else
13207 wx_cv_use_metafile='wxUSE_METAFILE=no'
13208 fi
13209
13210 else
13211
13212 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13213
13214 fi
13215
13216
13217 eval "$wx_cv_use_metafile"
13218
13219 if test x"$enablestring" = xdisable; then
13220 if test $wxUSE_METAFILE = yes; then
13221 result=no
13222 else
13223 result=yes
13224 fi
13225 else
13226 result=$wxUSE_METAFILE
13227 fi
13228
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13231
13232
13233 enablestring=
13234 defaultval=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x"$enablestring" = xdisable; then
13237 defaultval=yes
13238 else
13239 defaultval=no
13240 fi
13241 fi
13242
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13245 # Check whether --enable-dragimage was given.
13246 if test "${enable_dragimage+set}" = set; then
13247 enableval=$enable_dragimage;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13250 else
13251 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13252 fi
13253
13254 else
13255
13256 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13257
13258 fi
13259
13260
13261 eval "$wx_cv_use_dragimage"
13262
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_DRAGIMAGE = yes; then
13265 result=no
13266 else
13267 result=yes
13268 fi
13269 else
13270 result=$wxUSE_DRAGIMAGE
13271 fi
13272
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13275
13276
13277 enablestring=
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13281 defaultval=yes
13282 else
13283 defaultval=no
13284 fi
13285 fi
13286
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13289 # Check whether --enable-accessibility was given.
13290 if test "${enable_accessibility+set}" = set; then
13291 enableval=$enable_accessibility;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13294 else
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13296 fi
13297
13298 else
13299
13300 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13301
13302 fi
13303
13304
13305 eval "$wx_cv_use_accessibility"
13306
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_ACCESSIBILITY = yes; then
13309 result=no
13310 else
13311 result=yes
13312 fi
13313 else
13314 result=$wxUSE_ACCESSIBILITY
13315 fi
13316
13317 { echo "$as_me:$LINENO: result: $result" >&5
13318 echo "${ECHO_T}$result" >&6; }
13319
13320
13321
13322
13323 enablestring=
13324 defaultval=$wxUSE_ALL_FEATURES
13325 if test -z "$defaultval"; then
13326 if test x"$enablestring" = xdisable; then
13327 defaultval=yes
13328 else
13329 defaultval=no
13330 fi
13331 fi
13332
13333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13334 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13335 # Check whether --enable-palette was given.
13336 if test "${enable_palette+set}" = set; then
13337 enableval=$enable_palette;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_palette='wxUSE_PALETTE=yes'
13340 else
13341 wx_cv_use_palette='wxUSE_PALETTE=no'
13342 fi
13343
13344 else
13345
13346 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13347
13348 fi
13349
13350
13351 eval "$wx_cv_use_palette"
13352
13353 if test x"$enablestring" = xdisable; then
13354 if test $wxUSE_PALETTE = yes; then
13355 result=no
13356 else
13357 result=yes
13358 fi
13359 else
13360 result=$wxUSE_PALETTE
13361 fi
13362
13363 { echo "$as_me:$LINENO: result: $result" >&5
13364 echo "${ECHO_T}$result" >&6; }
13365
13366
13367 enablestring=
13368 defaultval=$wxUSE_ALL_FEATURES
13369 if test -z "$defaultval"; then
13370 if test x"$enablestring" = xdisable; then
13371 defaultval=yes
13372 else
13373 defaultval=no
13374 fi
13375 fi
13376
13377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13379 # Check whether --enable-image was given.
13380 if test "${enable_image+set}" = set; then
13381 enableval=$enable_image;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_image='wxUSE_IMAGE=yes'
13384 else
13385 wx_cv_use_image='wxUSE_IMAGE=no'
13386 fi
13387
13388 else
13389
13390 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13391
13392 fi
13393
13394
13395 eval "$wx_cv_use_image"
13396
13397 if test x"$enablestring" = xdisable; then
13398 if test $wxUSE_IMAGE = yes; then
13399 result=no
13400 else
13401 result=yes
13402 fi
13403 else
13404 result=$wxUSE_IMAGE
13405 fi
13406
13407 { echo "$as_me:$LINENO: result: $result" >&5
13408 echo "${ECHO_T}$result" >&6; }
13409
13410
13411 enablestring=
13412 defaultval=$wxUSE_ALL_FEATURES
13413 if test -z "$defaultval"; then
13414 if test x"$enablestring" = xdisable; then
13415 defaultval=yes
13416 else
13417 defaultval=no
13418 fi
13419 fi
13420
13421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13422 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13423 # Check whether --enable-gif was given.
13424 if test "${enable_gif+set}" = set; then
13425 enableval=$enable_gif;
13426 if test "$enableval" = yes; then
13427 wx_cv_use_gif='wxUSE_GIF=yes'
13428 else
13429 wx_cv_use_gif='wxUSE_GIF=no'
13430 fi
13431
13432 else
13433
13434 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13435
13436 fi
13437
13438
13439 eval "$wx_cv_use_gif"
13440
13441 if test x"$enablestring" = xdisable; then
13442 if test $wxUSE_GIF = yes; then
13443 result=no
13444 else
13445 result=yes
13446 fi
13447 else
13448 result=$wxUSE_GIF
13449 fi
13450
13451 { echo "$as_me:$LINENO: result: $result" >&5
13452 echo "${ECHO_T}$result" >&6; }
13453
13454
13455 enablestring=
13456 defaultval=$wxUSE_ALL_FEATURES
13457 if test -z "$defaultval"; then
13458 if test x"$enablestring" = xdisable; then
13459 defaultval=yes
13460 else
13461 defaultval=no
13462 fi
13463 fi
13464
13465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13466 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13467 # Check whether --enable-pcx was given.
13468 if test "${enable_pcx+set}" = set; then
13469 enableval=$enable_pcx;
13470 if test "$enableval" = yes; then
13471 wx_cv_use_pcx='wxUSE_PCX=yes'
13472 else
13473 wx_cv_use_pcx='wxUSE_PCX=no'
13474 fi
13475
13476 else
13477
13478 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13479
13480 fi
13481
13482
13483 eval "$wx_cv_use_pcx"
13484
13485 if test x"$enablestring" = xdisable; then
13486 if test $wxUSE_PCX = yes; then
13487 result=no
13488 else
13489 result=yes
13490 fi
13491 else
13492 result=$wxUSE_PCX
13493 fi
13494
13495 { echo "$as_me:$LINENO: result: $result" >&5
13496 echo "${ECHO_T}$result" >&6; }
13497
13498
13499 enablestring=
13500 defaultval=$wxUSE_ALL_FEATURES
13501 if test -z "$defaultval"; then
13502 if test x"$enablestring" = xdisable; then
13503 defaultval=yes
13504 else
13505 defaultval=no
13506 fi
13507 fi
13508
13509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13510 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13511 # Check whether --enable-tga was given.
13512 if test "${enable_tga+set}" = set; then
13513 enableval=$enable_tga;
13514 if test "$enableval" = yes; then
13515 wx_cv_use_tga='wxUSE_TGA=yes'
13516 else
13517 wx_cv_use_tga='wxUSE_TGA=no'
13518 fi
13519
13520 else
13521
13522 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13523
13524 fi
13525
13526
13527 eval "$wx_cv_use_tga"
13528
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_TGA = yes; then
13531 result=no
13532 else
13533 result=yes
13534 fi
13535 else
13536 result=$wxUSE_TGA
13537 fi
13538
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13541
13542
13543 enablestring=
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13547 defaultval=yes
13548 else
13549 defaultval=no
13550 fi
13551 fi
13552
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13555 # Check whether --enable-iff was given.
13556 if test "${enable_iff+set}" = set; then
13557 enableval=$enable_iff;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_iff='wxUSE_IFF=yes'
13560 else
13561 wx_cv_use_iff='wxUSE_IFF=no'
13562 fi
13563
13564 else
13565
13566 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13567
13568 fi
13569
13570
13571 eval "$wx_cv_use_iff"
13572
13573 if test x"$enablestring" = xdisable; then
13574 if test $wxUSE_IFF = yes; then
13575 result=no
13576 else
13577 result=yes
13578 fi
13579 else
13580 result=$wxUSE_IFF
13581 fi
13582
13583 { echo "$as_me:$LINENO: result: $result" >&5
13584 echo "${ECHO_T}$result" >&6; }
13585
13586
13587 enablestring=
13588 defaultval=$wxUSE_ALL_FEATURES
13589 if test -z "$defaultval"; then
13590 if test x"$enablestring" = xdisable; then
13591 defaultval=yes
13592 else
13593 defaultval=no
13594 fi
13595 fi
13596
13597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13598 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13599 # Check whether --enable-pnm was given.
13600 if test "${enable_pnm+set}" = set; then
13601 enableval=$enable_pnm;
13602 if test "$enableval" = yes; then
13603 wx_cv_use_pnm='wxUSE_PNM=yes'
13604 else
13605 wx_cv_use_pnm='wxUSE_PNM=no'
13606 fi
13607
13608 else
13609
13610 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13611
13612 fi
13613
13614
13615 eval "$wx_cv_use_pnm"
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_PNM = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_PNM
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631 enablestring=
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13635 defaultval=yes
13636 else
13637 defaultval=no
13638 fi
13639 fi
13640
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13643 # Check whether --enable-xpm was given.
13644 if test "${enable_xpm+set}" = set; then
13645 enableval=$enable_xpm;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_xpm='wxUSE_XPM=yes'
13648 else
13649 wx_cv_use_xpm='wxUSE_XPM=no'
13650 fi
13651
13652 else
13653
13654 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13655
13656 fi
13657
13658
13659 eval "$wx_cv_use_xpm"
13660
13661 if test x"$enablestring" = xdisable; then
13662 if test $wxUSE_XPM = yes; then
13663 result=no
13664 else
13665 result=yes
13666 fi
13667 else
13668 result=$wxUSE_XPM
13669 fi
13670
13671 { echo "$as_me:$LINENO: result: $result" >&5
13672 echo "${ECHO_T}$result" >&6; }
13673
13674
13675 enablestring=
13676 defaultval=$wxUSE_ALL_FEATURES
13677 if test -z "$defaultval"; then
13678 if test x"$enablestring" = xdisable; then
13679 defaultval=yes
13680 else
13681 defaultval=no
13682 fi
13683 fi
13684
13685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13687 # Check whether --enable-ico_cur was given.
13688 if test "${enable_ico_cur+set}" = set; then
13689 enableval=$enable_ico_cur;
13690 if test "$enableval" = yes; then
13691 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13692 else
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13694 fi
13695
13696 else
13697
13698 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13699
13700 fi
13701
13702
13703 eval "$wx_cv_use_ico_cur"
13704
13705 if test x"$enablestring" = xdisable; then
13706 if test $wxUSE_ICO_CUR = yes; then
13707 result=no
13708 else
13709 result=yes
13710 fi
13711 else
13712 result=$wxUSE_ICO_CUR
13713 fi
13714
13715 { echo "$as_me:$LINENO: result: $result" >&5
13716 echo "${ECHO_T}$result" >&6; }
13717
13718
13719
13720
13721 enablestring=
13722 defaultval=$wxUSE_ALL_FEATURES
13723 if test -z "$defaultval"; then
13724 if test x"$enablestring" = xdisable; then
13725 defaultval=yes
13726 else
13727 defaultval=no
13728 fi
13729 fi
13730
13731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13732 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13733 # Check whether --enable-dccache was given.
13734 if test "${enable_dccache+set}" = set; then
13735 enableval=$enable_dccache;
13736 if test "$enableval" = yes; then
13737 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13738 else
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13740 fi
13741
13742 else
13743
13744 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13745
13746 fi
13747
13748
13749 eval "$wx_cv_use_dccache"
13750
13751 if test x"$enablestring" = xdisable; then
13752 if test $wxUSE_DC_CACHEING = yes; then
13753 result=no
13754 else
13755 result=yes
13756 fi
13757 else
13758 result=$wxUSE_DC_CACHEING
13759 fi
13760
13761 { echo "$as_me:$LINENO: result: $result" >&5
13762 echo "${ECHO_T}$result" >&6; }
13763
13764
13765 enablestring=
13766 defaultval=$wxUSE_ALL_FEATURES
13767 if test -z "$defaultval"; then
13768 if test x"$enablestring" = xdisable; then
13769 defaultval=yes
13770 else
13771 defaultval=no
13772 fi
13773 fi
13774
13775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13777 # Check whether --enable-ps-in-msw was given.
13778 if test "${enable_ps_in_msw+set}" = set; then
13779 enableval=$enable_ps_in_msw;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13782 else
13783 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13784 fi
13785
13786 else
13787
13788 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13789
13790 fi
13791
13792
13793 eval "$wx_cv_use_ps_in_msw"
13794
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13797 result=no
13798 else
13799 result=yes
13800 fi
13801 else
13802 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13803 fi
13804
13805 { echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6; }
13807
13808
13809 enablestring=
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13813 defaultval=yes
13814 else
13815 defaultval=no
13816 fi
13817 fi
13818
13819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13821 # Check whether --enable-ownerdrawn was given.
13822 if test "${enable_ownerdrawn+set}" = set; then
13823 enableval=$enable_ownerdrawn;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13826 else
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13828 fi
13829
13830 else
13831
13832 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13833
13834 fi
13835
13836
13837 eval "$wx_cv_use_ownerdrawn"
13838
13839 if test x"$enablestring" = xdisable; then
13840 if test $wxUSE_OWNER_DRAWN = yes; then
13841 result=no
13842 else
13843 result=yes
13844 fi
13845 else
13846 result=$wxUSE_OWNER_DRAWN
13847 fi
13848
13849 { echo "$as_me:$LINENO: result: $result" >&5
13850 echo "${ECHO_T}$result" >&6; }
13851
13852
13853 enablestring=
13854 defaultval=$wxUSE_ALL_FEATURES
13855 if test -z "$defaultval"; then
13856 if test x"$enablestring" = xdisable; then
13857 defaultval=yes
13858 else
13859 defaultval=no
13860 fi
13861 fi
13862
13863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13864 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13865 # Check whether --enable-uxtheme was given.
13866 if test "${enable_uxtheme+set}" = set; then
13867 enableval=$enable_uxtheme;
13868 if test "$enableval" = yes; then
13869 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13870 else
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13872 fi
13873
13874 else
13875
13876 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13877
13878 fi
13879
13880
13881 eval "$wx_cv_use_uxtheme"
13882
13883 if test x"$enablestring" = xdisable; then
13884 if test $wxUSE_UXTHEME = yes; then
13885 result=no
13886 else
13887 result=yes
13888 fi
13889 else
13890 result=$wxUSE_UXTHEME
13891 fi
13892
13893 { echo "$as_me:$LINENO: result: $result" >&5
13894 echo "${ECHO_T}$result" >&6; }
13895
13896
13897 enablestring=
13898 defaultval=$wxUSE_ALL_FEATURES
13899 if test -z "$defaultval"; then
13900 if test x"$enablestring" = xdisable; then
13901 defaultval=yes
13902 else
13903 defaultval=no
13904 fi
13905 fi
13906
13907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13908 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13909 # Check whether --enable-wxdib was given.
13910 if test "${enable_wxdib+set}" = set; then
13911 enableval=$enable_wxdib;
13912 if test "$enableval" = yes; then
13913 wx_cv_use_wxdib='wxUSE_DIB=yes'
13914 else
13915 wx_cv_use_wxdib='wxUSE_DIB=no'
13916 fi
13917
13918 else
13919
13920 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13921
13922 fi
13923
13924
13925 eval "$wx_cv_use_wxdib"
13926
13927 if test x"$enablestring" = xdisable; then
13928 if test $wxUSE_DIB = yes; then
13929 result=no
13930 else
13931 result=yes
13932 fi
13933 else
13934 result=$wxUSE_DIB
13935 fi
13936
13937 { echo "$as_me:$LINENO: result: $result" >&5
13938 echo "${ECHO_T}$result" >&6; }
13939
13940
13941 if test "$wxUSE_MSW" != 1; then
13942 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13943 fi
13944
13945
13946 enablestring=
13947 defaultval=$wxUSE_ALL_FEATURES
13948 if test -z "$defaultval"; then
13949 if test x"$enablestring" = xdisable; then
13950 defaultval=yes
13951 else
13952 defaultval=no
13953 fi
13954 fi
13955
13956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13957 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13958 # Check whether --enable-autoidman was given.
13959 if test "${enable_autoidman+set}" = set; then
13960 enableval=$enable_autoidman;
13961 if test "$enableval" = yes; then
13962 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13963 else
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13965 fi
13966
13967 else
13968
13969 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13970
13971 fi
13972
13973
13974 eval "$wx_cv_use_autoidman"
13975
13976 if test x"$enablestring" = xdisable; then
13977 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13978 result=no
13979 else
13980 result=yes
13981 fi
13982 else
13983 result=$wxUSE_AUTOID_MANAGEMENT
13984 fi
13985
13986 { echo "$as_me:$LINENO: result: $result" >&5
13987 echo "${ECHO_T}$result" >&6; }
13988
13989
13990 fi
13991
13992
13993 cat >confcache <<\_ACEOF
13994 # This file is a shell script that caches the results of configure
13995 # tests run on this system so they can be shared between configure
13996 # scripts and configure runs, see configure's option --config-cache.
13997 # It is not useful on other systems. If it contains results you don't
13998 # want to keep, you may remove or edit it.
13999 #
14000 # config.status only pays attention to the cache file if you give it
14001 # the --recheck option to rerun configure.
14002 #
14003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14005 # following values.
14006
14007 _ACEOF
14008
14009 # The following way of writing the cache mishandles newlines in values,
14010 # but we know of no workaround that is simple, portable, and efficient.
14011 # So, we kill variables containing newlines.
14012 # Ultrix sh set writes to stderr and can't be redirected directly,
14013 # and sets the high bit in the cache file unless we assign to the vars.
14014 (
14015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14016 eval ac_val=\$$ac_var
14017 case $ac_val in #(
14018 *${as_nl}*)
14019 case $ac_var in #(
14020 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14021 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14022 esac
14023 case $ac_var in #(
14024 _ | IFS | as_nl) ;; #(
14025 *) $as_unset $ac_var ;;
14026 esac ;;
14027 esac
14028 done
14029
14030 (set) 2>&1 |
14031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14032 *${as_nl}ac_space=\ *)
14033 # `set' does not quote correctly, so add quotes (double-quote
14034 # substitution turns \\\\ into \\, and sed turns \\ into \).
14035 sed -n \
14036 "s/'/'\\\\''/g;
14037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14038 ;; #(
14039 *)
14040 # `set' quotes correctly as required by POSIX, so do not add quotes.
14041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14042 ;;
14043 esac |
14044 sort
14045 ) |
14046 sed '
14047 /^ac_cv_env_/b end
14048 t clear
14049 :clear
14050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14051 t end
14052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14053 :end' >>confcache
14054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14055 if test -w "$cache_file"; then
14056 test "x$cache_file" != "x/dev/null" &&
14057 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14058 echo "$as_me: updating cache $cache_file" >&6;}
14059 cat confcache >$cache_file
14060 else
14061 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14062 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14063 fi
14064 fi
14065 rm -f confcache
14066
14067 CFLAGS=${CFLAGS:=}
14068
14069
14070
14071 ac_ext=c
14072 ac_cpp='$CPP $CPPFLAGS'
14073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14076 if test -n "$ac_tool_prefix"; then
14077 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14081 if test "${ac_cv_prog_CC+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084 if test -n "$CC"; then
14085 ac_cv_prog_CC="$CC" # Let the user override the test.
14086 else
14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 for as_dir in $PATH
14089 do
14090 IFS=$as_save_IFS
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 break 2
14097 fi
14098 done
14099 done
14100 IFS=$as_save_IFS
14101
14102 fi
14103 fi
14104 CC=$ac_cv_prog_CC
14105 if test -n "$CC"; then
14106 { echo "$as_me:$LINENO: result: $CC" >&5
14107 echo "${ECHO_T}$CC" >&6; }
14108 else
14109 { echo "$as_me:$LINENO: result: no" >&5
14110 echo "${ECHO_T}no" >&6; }
14111 fi
14112
14113
14114 fi
14115 if test -z "$ac_cv_prog_CC"; then
14116 ac_ct_CC=$CC
14117 # Extract the first word of "gcc", so it can be a program name with args.
14118 set dummy gcc; ac_word=$2
14119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 else
14124 if test -n "$ac_ct_CC"; then
14125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14126 else
14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 for as_dir in $PATH
14129 do
14130 IFS=$as_save_IFS
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14134 ac_cv_prog_ac_ct_CC="gcc"
14135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14136 break 2
14137 fi
14138 done
14139 done
14140 IFS=$as_save_IFS
14141
14142 fi
14143 fi
14144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14145 if test -n "$ac_ct_CC"; then
14146 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14147 echo "${ECHO_T}$ac_ct_CC" >&6; }
14148 else
14149 { echo "$as_me:$LINENO: result: no" >&5
14150 echo "${ECHO_T}no" >&6; }
14151 fi
14152
14153 if test "x$ac_ct_CC" = x; then
14154 CC=""
14155 else
14156 case $cross_compiling:$ac_tool_warned in
14157 yes:)
14158 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14159 whose name does not start with the host triplet. If you think this
14160 configuration is useful to you, please write to autoconf@gnu.org." >&5
14161 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14162 whose name does not start with the host triplet. If you think this
14163 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14164 ac_tool_warned=yes ;;
14165 esac
14166 CC=$ac_ct_CC
14167 fi
14168 else
14169 CC="$ac_cv_prog_CC"
14170 fi
14171
14172 if test -z "$CC"; then
14173 if test -n "$ac_tool_prefix"; then
14174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14175 set dummy ${ac_tool_prefix}cc; ac_word=$2
14176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14178 if test "${ac_cv_prog_CC+set}" = set; then
14179 echo $ECHO_N "(cached) $ECHO_C" >&6
14180 else
14181 if test -n "$CC"; then
14182 ac_cv_prog_CC="$CC" # Let the user override the test.
14183 else
14184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185 for as_dir in $PATH
14186 do
14187 IFS=$as_save_IFS
14188 test -z "$as_dir" && as_dir=.
14189 for ac_exec_ext in '' $ac_executable_extensions; do
14190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14191 ac_cv_prog_CC="${ac_tool_prefix}cc"
14192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14193 break 2
14194 fi
14195 done
14196 done
14197 IFS=$as_save_IFS
14198
14199 fi
14200 fi
14201 CC=$ac_cv_prog_CC
14202 if test -n "$CC"; then
14203 { echo "$as_me:$LINENO: result: $CC" >&5
14204 echo "${ECHO_T}$CC" >&6; }
14205 else
14206 { echo "$as_me:$LINENO: result: no" >&5
14207 echo "${ECHO_T}no" >&6; }
14208 fi
14209
14210
14211 fi
14212 fi
14213 if test -z "$CC"; then
14214 # Extract the first word of "cc", so it can be a program name with args.
14215 set dummy cc; ac_word=$2
14216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14218 if test "${ac_cv_prog_CC+set}" = set; then
14219 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 else
14221 if test -n "$CC"; then
14222 ac_cv_prog_CC="$CC" # Let the user override the test.
14223 else
14224 ac_prog_rejected=no
14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226 for as_dir in $PATH
14227 do
14228 IFS=$as_save_IFS
14229 test -z "$as_dir" && as_dir=.
14230 for ac_exec_ext in '' $ac_executable_extensions; do
14231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14233 ac_prog_rejected=yes
14234 continue
14235 fi
14236 ac_cv_prog_CC="cc"
14237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 break 2
14239 fi
14240 done
14241 done
14242 IFS=$as_save_IFS
14243
14244 if test $ac_prog_rejected = yes; then
14245 # We found a bogon in the path, so make sure we never use it.
14246 set dummy $ac_cv_prog_CC
14247 shift
14248 if test $# != 0; then
14249 # We chose a different compiler from the bogus one.
14250 # However, it has the same basename, so the bogon will be chosen
14251 # first if we set CC to just the basename; use the full file name.
14252 shift
14253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14254 fi
14255 fi
14256 fi
14257 fi
14258 CC=$ac_cv_prog_CC
14259 if test -n "$CC"; then
14260 { echo "$as_me:$LINENO: result: $CC" >&5
14261 echo "${ECHO_T}$CC" >&6; }
14262 else
14263 { echo "$as_me:$LINENO: result: no" >&5
14264 echo "${ECHO_T}no" >&6; }
14265 fi
14266
14267
14268 fi
14269 if test -z "$CC"; then
14270 if test -n "$ac_tool_prefix"; then
14271 for ac_prog in cl.exe
14272 do
14273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14277 if test "${ac_cv_prog_CC+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 else
14280 if test -n "$CC"; then
14281 ac_cv_prog_CC="$CC" # Let the user override the test.
14282 else
14283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14284 for as_dir in $PATH
14285 do
14286 IFS=$as_save_IFS
14287 test -z "$as_dir" && as_dir=.
14288 for ac_exec_ext in '' $ac_executable_extensions; do
14289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14292 break 2
14293 fi
14294 done
14295 done
14296 IFS=$as_save_IFS
14297
14298 fi
14299 fi
14300 CC=$ac_cv_prog_CC
14301 if test -n "$CC"; then
14302 { echo "$as_me:$LINENO: result: $CC" >&5
14303 echo "${ECHO_T}$CC" >&6; }
14304 else
14305 { echo "$as_me:$LINENO: result: no" >&5
14306 echo "${ECHO_T}no" >&6; }
14307 fi
14308
14309
14310 test -n "$CC" && break
14311 done
14312 fi
14313 if test -z "$CC"; then
14314 ac_ct_CC=$CC
14315 for ac_prog in cl.exe
14316 do
14317 # Extract the first word of "$ac_prog", so it can be a program name with args.
14318 set dummy $ac_prog; ac_word=$2
14319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 else
14324 if test -n "$ac_ct_CC"; then
14325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14326 else
14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14328 for as_dir in $PATH
14329 do
14330 IFS=$as_save_IFS
14331 test -z "$as_dir" && as_dir=.
14332 for ac_exec_ext in '' $ac_executable_extensions; do
14333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14334 ac_cv_prog_ac_ct_CC="$ac_prog"
14335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14336 break 2
14337 fi
14338 done
14339 done
14340 IFS=$as_save_IFS
14341
14342 fi
14343 fi
14344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14345 if test -n "$ac_ct_CC"; then
14346 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14347 echo "${ECHO_T}$ac_ct_CC" >&6; }
14348 else
14349 { echo "$as_me:$LINENO: result: no" >&5
14350 echo "${ECHO_T}no" >&6; }
14351 fi
14352
14353
14354 test -n "$ac_ct_CC" && break
14355 done
14356
14357 if test "x$ac_ct_CC" = x; then
14358 CC=""
14359 else
14360 case $cross_compiling:$ac_tool_warned in
14361 yes:)
14362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14363 whose name does not start with the host triplet. If you think this
14364 configuration is useful to you, please write to autoconf@gnu.org." >&5
14365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14366 whose name does not start with the host triplet. If you think this
14367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14368 ac_tool_warned=yes ;;
14369 esac
14370 CC=$ac_ct_CC
14371 fi
14372 fi
14373
14374 fi
14375
14376
14377 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14378 See \`config.log' for more details." >&5
14379 echo "$as_me: error: no acceptable C compiler found in \$PATH
14380 See \`config.log' for more details." >&2;}
14381 { (exit 1); exit 1; }; }
14382
14383 # Provide some information about the compiler.
14384 echo "$as_me:$LINENO: checking for C compiler version" >&5
14385 ac_compiler=`set X $ac_compile; echo $2`
14386 { (ac_try="$ac_compiler --version >&5"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_compiler --version >&5") 2>&5
14393 ac_status=$?
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }
14396 { (ac_try="$ac_compiler -v >&5"
14397 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14400 esac
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_compiler -v >&5") 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }
14406 { (ac_try="$ac_compiler -V >&5"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14410 esac
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compiler -V >&5") 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }
14416
14417 cat >conftest.$ac_ext <<_ACEOF
14418 /* confdefs.h. */
14419 _ACEOF
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423
14424 int
14425 main ()
14426 {
14427
14428 ;
14429 return 0;
14430 }
14431 _ACEOF
14432 ac_clean_files_save=$ac_clean_files
14433 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14434 # Try to create an executable without -o first, disregard a.out.
14435 # It will help us diagnose broken compilers, and finding out an intuition
14436 # of exeext.
14437 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14438 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14439 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14440 #
14441 # List of possible output files, starting from the most likely.
14442 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14443 # only as a last resort. b.out is created by i960 compilers.
14444 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14445 #
14446 # The IRIX 6 linker writes into existing files which may not be
14447 # executable, retaining their permissions. Remove them first so a
14448 # subsequent execution test works.
14449 ac_rmfiles=
14450 for ac_file in $ac_files
14451 do
14452 case $ac_file in
14453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14454 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14455 esac
14456 done
14457 rm -f $ac_rmfiles
14458
14459 if { (ac_try="$ac_link_default"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14463 esac
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link_default") 2>&5
14466 ac_status=$?
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; then
14469 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14470 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14471 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14472 # so that the user can short-circuit this test for compilers unknown to
14473 # Autoconf.
14474 for ac_file in $ac_files ''
14475 do
14476 test -f "$ac_file" || continue
14477 case $ac_file in
14478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14479 ;;
14480 [ab].out )
14481 # We found the default executable, but exeext='' is most
14482 # certainly right.
14483 break;;
14484 *.* )
14485 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14486 then :; else
14487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14488 fi
14489 # We set ac_cv_exeext here because the later test for it is not
14490 # safe: cross compilers may not add the suffix if given an `-o'
14491 # argument, so we may need to know it at that point already.
14492 # Even if this section looks crufty: it has the advantage of
14493 # actually working.
14494 break;;
14495 * )
14496 break;;
14497 esac
14498 done
14499 test "$ac_cv_exeext" = no && ac_cv_exeext=
14500
14501 else
14502 ac_file=''
14503 fi
14504
14505 { echo "$as_me:$LINENO: result: $ac_file" >&5
14506 echo "${ECHO_T}$ac_file" >&6; }
14507 if test -z "$ac_file"; then
14508 echo "$as_me: failed program was:" >&5
14509 sed 's/^/| /' conftest.$ac_ext >&5
14510
14511 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14512 See \`config.log' for more details." >&5
14513 echo "$as_me: error: C compiler cannot create executables
14514 See \`config.log' for more details." >&2;}
14515 { (exit 77); exit 77; }; }
14516 fi
14517
14518 ac_exeext=$ac_cv_exeext
14519
14520 # Check that the compiler produces executables we can run. If not, either
14521 # the compiler is broken, or we cross compile.
14522 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14523 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14524 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14525 # If not cross compiling, check that we can run a simple program.
14526 if test "$cross_compiling" != yes; then
14527 if { ac_try='./$ac_file'
14528 { (case "(($ac_try" in
14529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14530 *) ac_try_echo=$ac_try;;
14531 esac
14532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14533 (eval "$ac_try") 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 cross_compiling=no
14538 else
14539 if test "$cross_compiling" = maybe; then
14540 cross_compiling=yes
14541 else
14542 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14543 If you meant to cross compile, use \`--host'.
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot run C compiled programs.
14546 If you meant to cross compile, use \`--host'.
14547 See \`config.log' for more details." >&2;}
14548 { (exit 1); exit 1; }; }
14549 fi
14550 fi
14551 fi
14552 { echo "$as_me:$LINENO: result: yes" >&5
14553 echo "${ECHO_T}yes" >&6; }
14554
14555 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14556 ac_clean_files=$ac_clean_files_save
14557 # Check that the compiler produces executables we can run. If not, either
14558 # the compiler is broken, or we cross compile.
14559 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14560 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14561 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14562 echo "${ECHO_T}$cross_compiling" >&6; }
14563
14564 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14565 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14566 if { (ac_try="$ac_link"
14567 case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; then
14576 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14577 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14578 # work properly (i.e., refer to `conftest.exe'), while it won't with
14579 # `rm'.
14580 for ac_file in conftest.exe conftest conftest.*; do
14581 test -f "$ac_file" || continue
14582 case $ac_file in
14583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14584 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14585 break;;
14586 * ) break;;
14587 esac
14588 done
14589 else
14590 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14591 See \`config.log' for more details." >&5
14592 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&2;}
14594 { (exit 1); exit 1; }; }
14595 fi
14596
14597 rm -f conftest$ac_cv_exeext
14598 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14599 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14600
14601 rm -f conftest.$ac_ext
14602 EXEEXT=$ac_cv_exeext
14603 ac_exeext=$EXEEXT
14604 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14605 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14606 if test "${ac_cv_objext+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 else
14609 cat >conftest.$ac_ext <<_ACEOF
14610 /* confdefs.h. */
14611 _ACEOF
14612 cat confdefs.h >>conftest.$ac_ext
14613 cat >>conftest.$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14615
14616 int
14617 main ()
14618 {
14619
14620 ;
14621 return 0;
14622 }
14623 _ACEOF
14624 rm -f conftest.o conftest.obj
14625 if { (ac_try="$ac_compile"
14626 case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compile") 2>&5
14632 ac_status=$?
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; then
14635 for ac_file in conftest.o conftest.obj conftest.*; do
14636 test -f "$ac_file" || continue;
14637 case $ac_file in
14638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14639 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14640 break;;
14641 esac
14642 done
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14646
14647 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; }
14652 fi
14653
14654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14655 fi
14656 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14657 echo "${ECHO_T}$ac_cv_objext" >&6; }
14658 OBJEXT=$ac_cv_objext
14659 ac_objext=$OBJEXT
14660 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14661 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14662 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 cat >conftest.$ac_ext <<_ACEOF
14666 /* confdefs.h. */
14667 _ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14671
14672 int
14673 main ()
14674 {
14675 #ifndef __GNUC__
14676 choke me
14677 #endif
14678
14679 ;
14680 return 0;
14681 }
14682 _ACEOF
14683 rm -f conftest.$ac_objext
14684 if { (ac_try="$ac_compile"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_compile") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } && {
14697 test -z "$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 } && test -s conftest.$ac_objext; then
14700 ac_compiler_gnu=yes
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14704
14705 ac_compiler_gnu=no
14706 fi
14707
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14710
14711 fi
14712 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14713 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14714 GCC=`test $ac_compiler_gnu = yes && echo yes`
14715 ac_test_CFLAGS=${CFLAGS+set}
14716 ac_save_CFLAGS=$CFLAGS
14717 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14718 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14719 if test "${ac_cv_prog_cc_g+set}" = set; then
14720 echo $ECHO_N "(cached) $ECHO_C" >&6
14721 else
14722 ac_save_c_werror_flag=$ac_c_werror_flag
14723 ac_c_werror_flag=yes
14724 ac_cv_prog_cc_g=no
14725 CFLAGS="-g"
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732
14733 int
14734 main ()
14735 {
14736
14737 ;
14738 return 0;
14739 }
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (ac_try="$ac_compile"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14746 esac
14747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compile") 2>conftest.er1
14749 ac_status=$?
14750 grep -v '^ *+' conftest.er1 >conftest.err
14751 rm -f conftest.er1
14752 cat conftest.err >&5
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); } && {
14755 test -z "$ac_c_werror_flag" ||
14756 test ! -s conftest.err
14757 } && test -s conftest.$ac_objext; then
14758 ac_cv_prog_cc_g=yes
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14762
14763 CFLAGS=""
14764 cat >conftest.$ac_ext <<_ACEOF
14765 /* confdefs.h. */
14766 _ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14770
14771 int
14772 main ()
14773 {
14774
14775 ;
14776 return 0;
14777 }
14778 _ACEOF
14779 rm -f conftest.$ac_objext
14780 if { (ac_try="$ac_compile"
14781 case "(($ac_try" in
14782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14783 *) ac_try_echo=$ac_try;;
14784 esac
14785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14786 (eval "$ac_compile") 2>conftest.er1
14787 ac_status=$?
14788 grep -v '^ *+' conftest.er1 >conftest.err
14789 rm -f conftest.er1
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } && {
14793 test -z "$ac_c_werror_flag" ||
14794 test ! -s conftest.err
14795 } && test -s conftest.$ac_objext; then
14796 :
14797 else
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14800
14801 ac_c_werror_flag=$ac_save_c_werror_flag
14802 CFLAGS="-g"
14803 cat >conftest.$ac_ext <<_ACEOF
14804 /* confdefs.h. */
14805 _ACEOF
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809
14810 int
14811 main ()
14812 {
14813
14814 ;
14815 return 0;
14816 }
14817 _ACEOF
14818 rm -f conftest.$ac_objext
14819 if { (ac_try="$ac_compile"
14820 case "(($ac_try" in
14821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14822 *) ac_try_echo=$ac_try;;
14823 esac
14824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14825 (eval "$ac_compile") 2>conftest.er1
14826 ac_status=$?
14827 grep -v '^ *+' conftest.er1 >conftest.err
14828 rm -f conftest.er1
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } && {
14832 test -z "$ac_c_werror_flag" ||
14833 test ! -s conftest.err
14834 } && test -s conftest.$ac_objext; then
14835 ac_cv_prog_cc_g=yes
14836 else
14837 echo "$as_me: failed program was:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14839
14840
14841 fi
14842
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 fi
14845
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14847 fi
14848
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 ac_c_werror_flag=$ac_save_c_werror_flag
14851 fi
14852 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14853 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14854 if test "$ac_test_CFLAGS" = set; then
14855 CFLAGS=$ac_save_CFLAGS
14856 elif test $ac_cv_prog_cc_g = yes; then
14857 if test "$GCC" = yes; then
14858 CFLAGS="-g -O2"
14859 else
14860 CFLAGS="-g"
14861 fi
14862 else
14863 if test "$GCC" = yes; then
14864 CFLAGS="-O2"
14865 else
14866 CFLAGS=
14867 fi
14868 fi
14869 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14870 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14871 if test "${ac_cv_prog_cc_c89+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874 ac_cv_prog_cc_c89=no
14875 ac_save_CC=$CC
14876 cat >conftest.$ac_ext <<_ACEOF
14877 /* confdefs.h. */
14878 _ACEOF
14879 cat confdefs.h >>conftest.$ac_ext
14880 cat >>conftest.$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 #include <stdarg.h>
14883 #include <stdio.h>
14884 #include <sys/types.h>
14885 #include <sys/stat.h>
14886 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14887 struct buf { int x; };
14888 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14889 static char *e (p, i)
14890 char **p;
14891 int i;
14892 {
14893 return p[i];
14894 }
14895 static char *f (char * (*g) (char **, int), char **p, ...)
14896 {
14897 char *s;
14898 va_list v;
14899 va_start (v,p);
14900 s = g (p, va_arg (v,int));
14901 va_end (v);
14902 return s;
14903 }
14904
14905 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14906 function prototypes and stuff, but not '\xHH' hex character constants.
14907 These don't provoke an error unfortunately, instead are silently treated
14908 as 'x'. The following induces an error, until -std is added to get
14909 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14910 array size at least. It's necessary to write '\x00'==0 to get something
14911 that's true only with -std. */
14912 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14913
14914 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14915 inside strings and character constants. */
14916 #define FOO(x) 'x'
14917 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14918
14919 int test (int i, double x);
14920 struct s1 {int (*f) (int a);};
14921 struct s2 {int (*f) (double a);};
14922 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14923 int argc;
14924 char **argv;
14925 int
14926 main ()
14927 {
14928 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14934 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14935 do
14936 CC="$ac_save_CC $ac_arg"
14937 rm -f conftest.$ac_objext
14938 if { (ac_try="$ac_compile"
14939 case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14941 *) ac_try_echo=$ac_try;;
14942 esac
14943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_compile") 2>conftest.er1
14945 ac_status=$?
14946 grep -v '^ *+' conftest.er1 >conftest.err
14947 rm -f conftest.er1
14948 cat conftest.err >&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } && {
14951 test -z "$ac_c_werror_flag" ||
14952 test ! -s conftest.err
14953 } && test -s conftest.$ac_objext; then
14954 ac_cv_prog_cc_c89=$ac_arg
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959
14960 fi
14961
14962 rm -f core conftest.err conftest.$ac_objext
14963 test "x$ac_cv_prog_cc_c89" != "xno" && break
14964 done
14965 rm -f conftest.$ac_ext
14966 CC=$ac_save_CC
14967
14968 fi
14969 # AC_CACHE_VAL
14970 case "x$ac_cv_prog_cc_c89" in
14971 x)
14972 { echo "$as_me:$LINENO: result: none needed" >&5
14973 echo "${ECHO_T}none needed" >&6; } ;;
14974 xno)
14975 { echo "$as_me:$LINENO: result: unsupported" >&5
14976 echo "${ECHO_T}unsupported" >&6; } ;;
14977 *)
14978 CC="$CC $ac_cv_prog_cc_c89"
14979 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14980 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14981 esac
14982
14983
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14989
14990
14991
14992
14993 ac_ext=c
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998
14999 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15000 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15001 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 else
15004 cat >conftest.$ac_ext <<_ACEOF
15005 /* confdefs.h. */
15006 _ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010
15011 int
15012 main ()
15013 {
15014
15015 #ifndef __INTEL_COMPILER
15016 choke me
15017 #endif
15018
15019 ;
15020 return 0;
15021 }
15022 _ACEOF
15023 rm -f conftest.$ac_objext
15024 if { (ac_try="$ac_compile"
15025 case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15028 esac
15029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_compile") 2>conftest.er1
15031 ac_status=$?
15032 grep -v '^ *+' conftest.er1 >conftest.err
15033 rm -f conftest.er1
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } && {
15037 test -z "$ac_c_werror_flag" ||
15038 test ! -s conftest.err
15039 } && test -s conftest.$ac_objext; then
15040 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15041 else
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15044
15045 bakefile_cv_c_compiler___INTEL_COMPILER=no
15046
15047 fi
15048
15049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15050
15051
15052 fi
15053 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15054 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15055 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15056 :; INTELCC=yes
15057 else
15058 :;
15059 fi
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065
15066
15067
15068
15069 if test "$INTELCC" = "yes"; then
15070
15071
15072 ac_ext=c
15073 ac_cpp='$CPP $CPPFLAGS'
15074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15077
15078 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15079 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15080 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 cat >conftest.$ac_ext <<_ACEOF
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089
15090 int
15091 main ()
15092 {
15093
15094 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15095 choke me
15096 #endif
15097
15098 ;
15099 return 0;
15100 }
15101 _ACEOF
15102 rm -f conftest.$ac_objext
15103 if { (ac_try="$ac_compile"
15104 case "(($ac_try" in
15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15106 *) ac_try_echo=$ac_try;;
15107 esac
15108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15110 ac_status=$?
15111 grep -v '^ *+' conftest.er1 >conftest.err
15112 rm -f conftest.er1
15113 cat conftest.err >&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.$ac_objext; then
15119 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15120 else
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15123
15124 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15125
15126 fi
15127
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15129
15130
15131 fi
15132 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15133 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15134 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15135 :; INTELCC8=yes
15136 else
15137 :;
15138 fi
15139 ac_ext=c
15140 ac_cpp='$CPP $CPPFLAGS'
15141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144
15145
15146
15147
15148
15149 ac_ext=c
15150 ac_cpp='$CPP $CPPFLAGS'
15151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154
15155 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15156 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15157 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166
15167 int
15168 main ()
15169 {
15170
15171 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15172 choke me
15173 #endif
15174
15175 ;
15176 return 0;
15177 }
15178 _ACEOF
15179 rm -f conftest.$ac_objext
15180 if { (ac_try="$ac_compile"
15181 case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15184 esac
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compile") 2>conftest.er1
15187 ac_status=$?
15188 grep -v '^ *+' conftest.er1 >conftest.err
15189 rm -f conftest.er1
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); } && {
15193 test -z "$ac_c_werror_flag" ||
15194 test ! -s conftest.err
15195 } && test -s conftest.$ac_objext; then
15196 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15197 else
15198 echo "$as_me: failed program was:" >&5
15199 sed 's/^/| /' conftest.$ac_ext >&5
15200
15201 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15202
15203 fi
15204
15205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15206
15207
15208 fi
15209 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15210 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15211 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15212 :; INTELCC10=yes
15213 else
15214 :;
15215 fi
15216 ac_ext=c
15217 ac_cpp='$CPP $CPPFLAGS'
15218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15221
15222
15223
15224 fi
15225
15226 if test "x$GCC" != "xyes"; then
15227 if test "xCC" = "xC"; then
15228 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15229 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15230 if test "${bakefile_cv_c_exto+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 else
15233 cat >conftest.$ac_ext <<_ACEOF
15234 /* confdefs.h. */
15235 _ACEOF
15236 cat confdefs.h >>conftest.$ac_ext
15237 cat >>conftest.$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239
15240 int
15241 main ()
15242 {
15243
15244 ;
15245 return 0;
15246 }
15247 _ACEOF
15248 rm -f conftest.$ac_objext conftest.$ac_ext.o
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; then
15254 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15255 case $ac_file in
15256 conftest.$ac_ext.o)
15257 bakefile_cv_c_exto="-ext o"
15258 ;;
15259 *)
15260 ;;
15261 esac
15262 done
15263 else
15264 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15265 See \`config.log' for more details." >&5
15266 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15267 See \`config.log' for more details." >&2;}
15268 { (exit 1); exit 1; }; }
15269
15270 fi
15271
15272 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15273
15274 fi
15275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15276 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15277 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15278 if test "c" = "c"; then
15279 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15280 fi
15281 if test "c" = "cxx"; then
15282 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15283 fi
15284 fi
15285
15286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15287 unset ac_cv_prog_cc_g
15288 ac_test_CFLAGS=${CFLAGS+set}
15289 ac_save_CFLAGS=$CFLAGS
15290 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15291 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15292 if test "${ac_cv_prog_cc_g+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 ac_save_c_werror_flag=$ac_c_werror_flag
15296 ac_c_werror_flag=yes
15297 ac_cv_prog_cc_g=no
15298 CFLAGS="-g"
15299 cat >conftest.$ac_ext <<_ACEOF
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305
15306 int
15307 main ()
15308 {
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 ac_cv_prog_cc_g=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 CFLAGS=""
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343
15344 int
15345 main ()
15346 {
15347
15348 ;
15349 return 0;
15350 }
15351 _ACEOF
15352 rm -f conftest.$ac_objext
15353 if { (ac_try="$ac_compile"
15354 case "(($ac_try" in
15355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15357 esac
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_compile") 2>conftest.er1
15360 ac_status=$?
15361 grep -v '^ *+' conftest.er1 >conftest.err
15362 rm -f conftest.er1
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest.$ac_objext; then
15369 :
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15373
15374 ac_c_werror_flag=$ac_save_c_werror_flag
15375 CFLAGS="-g"
15376 cat >conftest.$ac_ext <<_ACEOF
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382
15383 int
15384 main ()
15385 {
15386
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (ac_try="$ac_compile"
15393 case "(($ac_try" in
15394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15395 *) ac_try_echo=$ac_try;;
15396 esac
15397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15398 (eval "$ac_compile") 2>conftest.er1
15399 ac_status=$?
15400 grep -v '^ *+' conftest.er1 >conftest.err
15401 rm -f conftest.er1
15402 cat conftest.err >&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); } && {
15405 test -z "$ac_c_werror_flag" ||
15406 test ! -s conftest.err
15407 } && test -s conftest.$ac_objext; then
15408 ac_cv_prog_cc_g=yes
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413
15414 fi
15415
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417 fi
15418
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 fi
15421
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15423 ac_c_werror_flag=$ac_save_c_werror_flag
15424 fi
15425 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15426 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15427 if test "$ac_test_CFLAGS" = set; then
15428 CFLAGS=$ac_save_CFLAGS
15429 elif test $ac_cv_prog_cc_g = yes; then
15430 if test "$GCC" = yes; then
15431 CFLAGS="-g -O2"
15432 else
15433 CFLAGS="-g"
15434 fi
15435 else
15436 if test "$GCC" = yes; then
15437 CFLAGS="-O2"
15438 else
15439 CFLAGS=
15440 fi
15441 fi
15442 fi
15443 fi
15444
15445 case `uname -s` in
15446 AIX*)
15447
15448
15449 ac_ext=c
15450 ac_cpp='$CPP $CPPFLAGS'
15451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15454
15455 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15456 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15457 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466
15467 int
15468 main ()
15469 {
15470
15471 #ifndef __xlC__
15472 choke me
15473 #endif
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 bakefile_cv_c_compiler___xlC__=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15500
15501 bakefile_cv_c_compiler___xlC__=no
15502
15503 fi
15504
15505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15506
15507
15508 fi
15509 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15510 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15511 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15512 :; XLCC=yes
15513 else
15514 :;
15515 fi
15516 ac_ext=c
15517 ac_cpp='$CPP $CPPFLAGS'
15518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521
15522
15523
15524 ;;
15525
15526 Darwin)
15527
15528
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15536 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15537 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15539 else
15540 cat >conftest.$ac_ext <<_ACEOF
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546
15547 int
15548 main ()
15549 {
15550
15551 #ifndef __MWERKS__
15552 choke me
15553 #endif
15554
15555 ;
15556 return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 bakefile_cv_c_compiler___MWERKS__=yes
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15580
15581 bakefile_cv_c_compiler___MWERKS__=no
15582
15583 fi
15584
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586
15587
15588 fi
15589 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15590 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15591 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15592 :; MWCC=yes
15593 else
15594 :;
15595 fi
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604 if test "$MWCC" != "yes"; then
15605
15606
15607 ac_ext=c
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612
15613 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15614 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15615 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 cat >conftest.$ac_ext <<_ACEOF
15619 /* confdefs.h. */
15620 _ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15624
15625 int
15626 main ()
15627 {
15628
15629 #ifndef __xlC__
15630 choke me
15631 #endif
15632
15633 ;
15634 return 0;
15635 }
15636 _ACEOF
15637 rm -f conftest.$ac_objext
15638 if { (ac_try="$ac_compile"
15639 case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15642 esac
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_compile") 2>conftest.er1
15645 ac_status=$?
15646 grep -v '^ *+' conftest.er1 >conftest.err
15647 rm -f conftest.er1
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest.$ac_objext; then
15654 bakefile_cv_c_compiler___xlC__=yes
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15658
15659 bakefile_cv_c_compiler___xlC__=no
15660
15661 fi
15662
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664
15665
15666 fi
15667 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15668 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15669 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15670 :; XLCC=yes
15671 else
15672 :;
15673 fi
15674 ac_ext=c
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679
15680
15681
15682 fi
15683 ;;
15684
15685 IRIX*)
15686
15687
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693
15694 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15695 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15696 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705
15706 int
15707 main ()
15708 {
15709
15710 #ifndef _SGI_COMPILER_VERSION
15711 choke me
15712 #endif
15713
15714 ;
15715 return 0;
15716 }
15717 _ACEOF
15718 rm -f conftest.$ac_objext
15719 if { (ac_try="$ac_compile"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15723 esac
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_compile") 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest.$ac_objext; then
15735 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15736 else
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.$ac_ext >&5
15739
15740 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15741
15742 fi
15743
15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15745
15746
15747 fi
15748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15749 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15750 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15751 :; SGICC=yes
15752 else
15753 :;
15754 fi
15755 ac_ext=c
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761
15762
15763 ;;
15764
15765 Linux*)
15766 if test "$INTELCC" != "yes"; then
15767
15768
15769 ac_ext=c
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774
15775 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15776 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15777 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 else
15780 cat >conftest.$ac_ext <<_ACEOF
15781 /* confdefs.h. */
15782 _ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786
15787 int
15788 main ()
15789 {
15790
15791 #ifndef __SUNPRO_C
15792 choke me
15793 #endif
15794
15795 ;
15796 return 0;
15797 }
15798 _ACEOF
15799 rm -f conftest.$ac_objext
15800 if { (ac_try="$ac_compile"
15801 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;;
15804 esac
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_compile") 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest.$ac_objext; then
15816 bakefile_cv_c_compiler___SUNPRO_C=yes
15817 else
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15820
15821 bakefile_cv_c_compiler___SUNPRO_C=no
15822
15823 fi
15824
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826
15827
15828 fi
15829 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15830 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15831 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15832 :; SUNCC=yes
15833 else
15834 :;
15835 fi
15836 ac_ext=c
15837 ac_cpp='$CPP $CPPFLAGS'
15838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15841
15842
15843
15844 fi
15845 ;;
15846
15847 HP-UX*)
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 HP C compiler" >&5
15857 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15858 if test "${bakefile_cv_c_compiler___HP_cc+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 __HP_cc
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___HP_cc=yes
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15901
15902 bakefile_cv_c_compiler___HP_cc=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___HP_cc" >&5
15911 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15912 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15913 :; HPCC=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
15927 OSF1)
15928
15929
15930 ac_ext=c
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15935
15936 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15937 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 else
15941 cat >conftest.$ac_ext <<_ACEOF
15942 /* confdefs.h. */
15943 _ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15947
15948 int
15949 main ()
15950 {
15951
15952 #ifndef __DECC
15953 choke me
15954 #endif
15955
15956 ;
15957 return 0;
15958 }
15959 _ACEOF
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15965 esac
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___DECC=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15981
15982 bakefile_cv_c_compiler___DECC=no
15983
15984 fi
15985
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15992 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15993 :; COMPAQCC=yes
15994 else
15995 :;
15996 fi
15997 ac_ext=c
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16002
16003
16004
16005 ;;
16006
16007 SunOS)
16008
16009
16010 ac_ext=c
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16015
16016 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16017 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16018 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16020 else
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027
16028 int
16029 main ()
16030 {
16031
16032 #ifndef __SUNPRO_C
16033 choke me
16034 #endif
16035
16036 ;
16037 return 0;
16038 }
16039 _ACEOF
16040 rm -f conftest.$ac_objext
16041 if { (ac_try="$ac_compile"
16042 case "(($ac_try" in
16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16045 esac
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_compile") 2>conftest.er1
16048 ac_status=$?
16049 grep -v '^ *+' conftest.er1 >conftest.err
16050 rm -f conftest.er1
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest.$ac_objext; then
16057 bakefile_cv_c_compiler___SUNPRO_C=yes
16058 else
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16061
16062 bakefile_cv_c_compiler___SUNPRO_C=no
16063
16064 fi
16065
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16067
16068
16069 fi
16070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16071 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16072 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16073 :; SUNCC=yes
16074 else
16075 :;
16076 fi
16077 ac_ext=c
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082
16083
16084
16085 ;;
16086 esac
16087 fi
16088
16089
16090
16091 ac_ext=c
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16097 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16098 # On Suns, sometimes $CPP names a directory.
16099 if test -n "$CPP" && test -d "$CPP"; then
16100 CPP=
16101 fi
16102 if test -z "$CPP"; then
16103 if test "${ac_cv_prog_CPP+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 else
16106 # Double quotes because CPP needs to be expanded
16107 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16108 do
16109 ac_preproc_ok=false
16110 for ac_c_preproc_warn_flag in '' yes
16111 do
16112 # Use a header file that comes with gcc, so configuring glibc
16113 # with a fresh cross-compiler works.
16114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16115 # <limits.h> exists even on freestanding compilers.
16116 # On the NeXT, cc -E runs the code through the compiler's parser,
16117 # not just through cpp. "Syntax error" is here to catch this case.
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h. */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124 #ifdef __STDC__
16125 # include <limits.h>
16126 #else
16127 # include <assert.h>
16128 #endif
16129 Syntax error
16130 _ACEOF
16131 if { (ac_try="$ac_cpp conftest.$ac_ext"
16132 case "(($ac_try" in
16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16135 esac
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16138 ac_status=$?
16139 grep -v '^ *+' conftest.er1 >conftest.err
16140 rm -f conftest.er1
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } >/dev/null && {
16144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16145 test ! -s conftest.err
16146 }; then
16147 :
16148 else
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16151
16152 # Broken: fails on valid input.
16153 continue
16154 fi
16155
16156 rm -f conftest.err conftest.$ac_ext
16157
16158 # OK, works on sane cases. Now check whether nonexistent headers
16159 # can be detected and how.
16160 cat >conftest.$ac_ext <<_ACEOF
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 #include <ac_nonexistent.h>
16167 _ACEOF
16168 if { (ac_try="$ac_cpp conftest.$ac_ext"
16169 case "(($ac_try" in
16170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16171 *) ac_try_echo=$ac_try;;
16172 esac
16173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } >/dev/null && {
16181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16182 test ! -s conftest.err
16183 }; then
16184 # Broken: success on invalid input.
16185 continue
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16189
16190 # Passes both tests.
16191 ac_preproc_ok=:
16192 break
16193 fi
16194
16195 rm -f conftest.err conftest.$ac_ext
16196
16197 done
16198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16199 rm -f conftest.err conftest.$ac_ext
16200 if $ac_preproc_ok; then
16201 break
16202 fi
16203
16204 done
16205 ac_cv_prog_CPP=$CPP
16206
16207 fi
16208 CPP=$ac_cv_prog_CPP
16209 else
16210 ac_cv_prog_CPP=$CPP
16211 fi
16212 { echo "$as_me:$LINENO: result: $CPP" >&5
16213 echo "${ECHO_T}$CPP" >&6; }
16214 ac_preproc_ok=false
16215 for ac_c_preproc_warn_flag in '' yes
16216 do
16217 # Use a header file that comes with gcc, so configuring glibc
16218 # with a fresh cross-compiler works.
16219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 # <limits.h> exists even on freestanding compilers.
16221 # On the NeXT, cc -E runs the code through the compiler's parser,
16222 # not just through cpp. "Syntax error" is here to catch this case.
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16229 #ifdef __STDC__
16230 # include <limits.h>
16231 #else
16232 # include <assert.h>
16233 #endif
16234 Syntax error
16235 _ACEOF
16236 if { (ac_try="$ac_cpp conftest.$ac_ext"
16237 case "(($ac_try" in
16238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16239 *) ac_try_echo=$ac_try;;
16240 esac
16241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16243 ac_status=$?
16244 grep -v '^ *+' conftest.er1 >conftest.err
16245 rm -f conftest.er1
16246 cat conftest.err >&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); } >/dev/null && {
16249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16250 test ! -s conftest.err
16251 }; then
16252 :
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 # Broken: fails on valid input.
16258 continue
16259 fi
16260
16261 rm -f conftest.err conftest.$ac_ext
16262
16263 # OK, works on sane cases. Now check whether nonexistent headers
16264 # can be detected and how.
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <ac_nonexistent.h>
16272 _ACEOF
16273 if { (ac_try="$ac_cpp conftest.$ac_ext"
16274 case "(($ac_try" in
16275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16276 *) ac_try_echo=$ac_try;;
16277 esac
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16280 ac_status=$?
16281 grep -v '^ *+' conftest.er1 >conftest.err
16282 rm -f conftest.er1
16283 cat conftest.err >&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } >/dev/null && {
16286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16287 test ! -s conftest.err
16288 }; then
16289 # Broken: success on invalid input.
16290 continue
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 # Passes both tests.
16296 ac_preproc_ok=:
16297 break
16298 fi
16299
16300 rm -f conftest.err conftest.$ac_ext
16301
16302 done
16303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16304 rm -f conftest.err conftest.$ac_ext
16305 if $ac_preproc_ok; then
16306 :
16307 else
16308 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; }
16313 fi
16314
16315 ac_ext=c
16316 ac_cpp='$CPP $CPPFLAGS'
16317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16320
16321
16322 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16323 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16324 if test "${ac_cv_path_GREP+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 # Extract the first word of "grep ggrep" to use in msg output
16328 if test -z "$GREP"; then
16329 set dummy grep ggrep; ac_prog_name=$2
16330 if test "${ac_cv_path_GREP+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 ac_path_GREP_found=false
16334 # Loop through the user's path and test for each of PROGNAME-LIST
16335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16337 do
16338 IFS=$as_save_IFS
16339 test -z "$as_dir" && as_dir=.
16340 for ac_prog in grep ggrep; do
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16343 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16344 # Check for GNU ac_path_GREP and select it if it is found.
16345 # Check for GNU $ac_path_GREP
16346 case `"$ac_path_GREP" --version 2>&1` in
16347 *GNU*)
16348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16349 *)
16350 ac_count=0
16351 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16352 while :
16353 do
16354 cat "conftest.in" "conftest.in" >"conftest.tmp"
16355 mv "conftest.tmp" "conftest.in"
16356 cp "conftest.in" "conftest.nl"
16357 echo 'GREP' >> "conftest.nl"
16358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16360 ac_count=`expr $ac_count + 1`
16361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16362 # Best one so far, save it but keep looking for a better one
16363 ac_cv_path_GREP="$ac_path_GREP"
16364 ac_path_GREP_max=$ac_count
16365 fi
16366 # 10*(2^10) chars as input seems more than enough
16367 test $ac_count -gt 10 && break
16368 done
16369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16370 esac
16371
16372
16373 $ac_path_GREP_found && break 3
16374 done
16375 done
16376
16377 done
16378 IFS=$as_save_IFS
16379
16380
16381 fi
16382
16383 GREP="$ac_cv_path_GREP"
16384 if test -z "$GREP"; then
16385 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16386 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16387 { (exit 1); exit 1; }; }
16388 fi
16389
16390 else
16391 ac_cv_path_GREP=$GREP
16392 fi
16393
16394
16395 fi
16396 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16397 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16398 GREP="$ac_cv_path_GREP"
16399
16400
16401 { echo "$as_me:$LINENO: checking for egrep" >&5
16402 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16403 if test "${ac_cv_path_EGREP+set}" = set; then
16404 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 else
16406 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16407 then ac_cv_path_EGREP="$GREP -E"
16408 else
16409 # Extract the first word of "egrep" to use in msg output
16410 if test -z "$EGREP"; then
16411 set dummy egrep; ac_prog_name=$2
16412 if test "${ac_cv_path_EGREP+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 else
16415 ac_path_EGREP_found=false
16416 # Loop through the user's path and test for each of PROGNAME-LIST
16417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16418 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16419 do
16420 IFS=$as_save_IFS
16421 test -z "$as_dir" && as_dir=.
16422 for ac_prog in egrep; do
16423 for ac_exec_ext in '' $ac_executable_extensions; do
16424 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16425 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16426 # Check for GNU ac_path_EGREP and select it if it is found.
16427 # Check for GNU $ac_path_EGREP
16428 case `"$ac_path_EGREP" --version 2>&1` in
16429 *GNU*)
16430 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16431 *)
16432 ac_count=0
16433 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16434 while :
16435 do
16436 cat "conftest.in" "conftest.in" >"conftest.tmp"
16437 mv "conftest.tmp" "conftest.in"
16438 cp "conftest.in" "conftest.nl"
16439 echo 'EGREP' >> "conftest.nl"
16440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16442 ac_count=`expr $ac_count + 1`
16443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16444 # Best one so far, save it but keep looking for a better one
16445 ac_cv_path_EGREP="$ac_path_EGREP"
16446 ac_path_EGREP_max=$ac_count
16447 fi
16448 # 10*(2^10) chars as input seems more than enough
16449 test $ac_count -gt 10 && break
16450 done
16451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16452 esac
16453
16454
16455 $ac_path_EGREP_found && break 3
16456 done
16457 done
16458
16459 done
16460 IFS=$as_save_IFS
16461
16462
16463 fi
16464
16465 EGREP="$ac_cv_path_EGREP"
16466 if test -z "$EGREP"; then
16467 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16468 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16469 { (exit 1); exit 1; }; }
16470 fi
16471
16472 else
16473 ac_cv_path_EGREP=$EGREP
16474 fi
16475
16476
16477 fi
16478 fi
16479 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16480 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16481 EGREP="$ac_cv_path_EGREP"
16482
16483
16484 if test $ac_cv_c_compiler_gnu = yes; then
16485 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16486 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16487 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 else
16490 ac_pattern="Autoconf.*'x'"
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #include <sgtty.h>
16498 Autoconf TIOCGETP
16499 _ACEOF
16500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16502 ac_cv_prog_gcc_traditional=yes
16503 else
16504 ac_cv_prog_gcc_traditional=no
16505 fi
16506 rm -f conftest*
16507
16508
16509 if test $ac_cv_prog_gcc_traditional = no; then
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 #include <termio.h>
16517 Autoconf TCGETA
16518 _ACEOF
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16521 ac_cv_prog_gcc_traditional=yes
16522 fi
16523 rm -f conftest*
16524
16525 fi
16526 fi
16527 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16528 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16529 if test $ac_cv_prog_gcc_traditional = yes; then
16530 CC="$CC -traditional"
16531 fi
16532 fi
16533
16534
16535 CXXFLAGS=${CXXFLAGS:=}
16536
16537
16538
16539 ac_ext=cpp
16540 ac_cpp='$CXXCPP $CPPFLAGS'
16541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16544 if test -z "$CXX"; then
16545 if test -n "$CCC"; then
16546 CXX=$CCC
16547 else
16548 if test -n "$ac_tool_prefix"; then
16549 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16550 do
16551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16555 if test "${ac_cv_prog_CXX+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 if test -n "$CXX"; then
16559 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16560 else
16561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16562 for as_dir in $PATH
16563 do
16564 IFS=$as_save_IFS
16565 test -z "$as_dir" && as_dir=.
16566 for ac_exec_ext in '' $ac_executable_extensions; do
16567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16568 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16570 break 2
16571 fi
16572 done
16573 done
16574 IFS=$as_save_IFS
16575
16576 fi
16577 fi
16578 CXX=$ac_cv_prog_CXX
16579 if test -n "$CXX"; then
16580 { echo "$as_me:$LINENO: result: $CXX" >&5
16581 echo "${ECHO_T}$CXX" >&6; }
16582 else
16583 { echo "$as_me:$LINENO: result: no" >&5
16584 echo "${ECHO_T}no" >&6; }
16585 fi
16586
16587
16588 test -n "$CXX" && break
16589 done
16590 fi
16591 if test -z "$CXX"; then
16592 ac_ct_CXX=$CXX
16593 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16594 do
16595 # Extract the first word of "$ac_prog", so it can be a program name with args.
16596 set dummy $ac_prog; ac_word=$2
16597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16599 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 else
16602 if test -n "$ac_ct_CXX"; then
16603 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16604 else
16605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16606 for as_dir in $PATH
16607 do
16608 IFS=$as_save_IFS
16609 test -z "$as_dir" && as_dir=.
16610 for ac_exec_ext in '' $ac_executable_extensions; do
16611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16612 ac_cv_prog_ac_ct_CXX="$ac_prog"
16613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16614 break 2
16615 fi
16616 done
16617 done
16618 IFS=$as_save_IFS
16619
16620 fi
16621 fi
16622 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16623 if test -n "$ac_ct_CXX"; then
16624 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16625 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16626 else
16627 { echo "$as_me:$LINENO: result: no" >&5
16628 echo "${ECHO_T}no" >&6; }
16629 fi
16630
16631
16632 test -n "$ac_ct_CXX" && break
16633 done
16634
16635 if test "x$ac_ct_CXX" = x; then
16636 CXX="g++"
16637 else
16638 case $cross_compiling:$ac_tool_warned in
16639 yes:)
16640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16641 whose name does not start with the host triplet. If you think this
16642 configuration is useful to you, please write to autoconf@gnu.org." >&5
16643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16644 whose name does not start with the host triplet. If you think this
16645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16646 ac_tool_warned=yes ;;
16647 esac
16648 CXX=$ac_ct_CXX
16649 fi
16650 fi
16651
16652 fi
16653 fi
16654 # Provide some information about the compiler.
16655 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16656 ac_compiler=`set X $ac_compile; echo $2`
16657 { (ac_try="$ac_compiler --version >&5"
16658 case "(($ac_try" in
16659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16661 esac
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_compiler --version >&5") 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }
16667 { (ac_try="$ac_compiler -v >&5"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compiler -v >&5") 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }
16677 { (ac_try="$ac_compiler -V >&5"
16678 case "(($ac_try" in
16679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16680 *) ac_try_echo=$ac_try;;
16681 esac
16682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16683 (eval "$ac_compiler -V >&5") 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }
16687
16688 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16689 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16690 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16693 cat >conftest.$ac_ext <<_ACEOF
16694 /* confdefs.h. */
16695 _ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699
16700 int
16701 main ()
16702 {
16703 #ifndef __GNUC__
16704 choke me
16705 #endif
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16715 *) ac_try_echo=$ac_try;;
16716 esac
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16719 ac_status=$?
16720 grep -v '^ *+' conftest.er1 >conftest.err
16721 rm -f conftest.er1
16722 cat conftest.err >&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_cxx_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.$ac_objext; then
16728 ac_compiler_gnu=yes
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16732
16733 ac_compiler_gnu=no
16734 fi
16735
16736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16737 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16738
16739 fi
16740 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16741 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16742 GXX=`test $ac_compiler_gnu = yes && echo yes`
16743 ac_test_CXXFLAGS=${CXXFLAGS+set}
16744 ac_save_CXXFLAGS=$CXXFLAGS
16745 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16746 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16747 if test "${ac_cv_prog_cxx_g+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 else
16750 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16751 ac_cxx_werror_flag=yes
16752 ac_cv_prog_cxx_g=no
16753 CXXFLAGS="-g"
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760
16761 int
16762 main ()
16763 {
16764
16765 ;
16766 return 0;
16767 }
16768 _ACEOF
16769 rm -f conftest.$ac_objext
16770 if { (ac_try="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16773 *) ac_try_echo=$ac_try;;
16774 esac
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16777 ac_status=$?
16778 grep -v '^ *+' conftest.er1 >conftest.err
16779 rm -f conftest.er1
16780 cat conftest.err >&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_cxx_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.$ac_objext; then
16786 ac_cv_prog_cxx_g=yes
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 CXXFLAGS=""
16792 cat >conftest.$ac_ext <<_ACEOF
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798
16799 int
16800 main ()
16801 {
16802
16803 ;
16804 return 0;
16805 }
16806 _ACEOF
16807 rm -f conftest.$ac_objext
16808 if { (ac_try="$ac_compile"
16809 case "(($ac_try" in
16810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16811 *) ac_try_echo=$ac_try;;
16812 esac
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_compile") 2>conftest.er1
16815 ac_status=$?
16816 grep -v '^ *+' conftest.er1 >conftest.err
16817 rm -f conftest.er1
16818 cat conftest.err >&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_cxx_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest.$ac_objext; then
16824 :
16825 else
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.$ac_ext >&5
16828
16829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16830 CXXFLAGS="-g"
16831 cat >conftest.$ac_ext <<_ACEOF
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837
16838 int
16839 main ()
16840 {
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (ac_try="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16851 esac
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_cxx_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_prog_cxx_g=yes
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16867
16868
16869 fi
16870
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 fi
16873
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 fi
16876
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16879 fi
16880 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16881 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16882 if test "$ac_test_CXXFLAGS" = set; then
16883 CXXFLAGS=$ac_save_CXXFLAGS
16884 elif test $ac_cv_prog_cxx_g = yes; then
16885 if test "$GXX" = yes; then
16886 CXXFLAGS="-g -O2"
16887 else
16888 CXXFLAGS="-g"
16889 fi
16890 else
16891 if test "$GXX" = yes; then
16892 CXXFLAGS="-O2"
16893 else
16894 CXXFLAGS=
16895 fi
16896 fi
16897 ac_ext=c
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16902
16903
16904
16905
16906 ac_ext=cpp
16907 ac_cpp='$CXXCPP $CPPFLAGS'
16908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16911
16912 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16913 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16914 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 cat >conftest.$ac_ext <<_ACEOF
16918 /* confdefs.h. */
16919 _ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923
16924 int
16925 main ()
16926 {
16927
16928 #ifndef __INTEL_COMPILER
16929 choke me
16930 #endif
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16941 esac
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compile") 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && {
16950 test -z "$ac_cxx_werror_flag" ||
16951 test ! -s conftest.err
16952 } && test -s conftest.$ac_objext; then
16953 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16954 else
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.$ac_ext >&5
16957
16958 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16959
16960 fi
16961
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964
16965 fi
16966 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16967 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16968 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16969 :; INTELCXX=yes
16970 else
16971 :;
16972 fi
16973 ac_ext=c
16974 ac_cpp='$CPP $CPPFLAGS'
16975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16978
16979
16980
16981
16982 if test "$INTELCXX" = "yes"; then
16983
16984
16985 ac_ext=cpp
16986 ac_cpp='$CXXCPP $CPPFLAGS'
16987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16990
16991 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16992 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16993 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 else
16996 cat >conftest.$ac_ext <<_ACEOF
16997 /* confdefs.h. */
16998 _ACEOF
16999 cat confdefs.h >>conftest.$ac_ext
17000 cat >>conftest.$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002
17003 int
17004 main ()
17005 {
17006
17007 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17008 choke me
17009 #endif
17010
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 rm -f conftest.$ac_objext
17016 if { (ac_try="$ac_compile"
17017 case "(($ac_try" in
17018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17020 esac
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_compile") 2>conftest.er1
17023 ac_status=$?
17024 grep -v '^ *+' conftest.er1 >conftest.err
17025 rm -f conftest.er1
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } && {
17029 test -z "$ac_cxx_werror_flag" ||
17030 test ! -s conftest.err
17031 } && test -s conftest.$ac_objext; then
17032 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17038
17039 fi
17040
17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17042
17043
17044 fi
17045 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17046 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17047 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17048 :; INTELCXX8=yes
17049 else
17050 :;
17051 fi
17052 ac_ext=c
17053 ac_cpp='$CPP $CPPFLAGS'
17054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17057
17058
17059
17060
17061
17062 ac_ext=cpp
17063 ac_cpp='$CXXCPP $CPPFLAGS'
17064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17067
17068 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17069 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17070 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 else
17073 cat >conftest.$ac_ext <<_ACEOF
17074 /* confdefs.h. */
17075 _ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079
17080 int
17081 main ()
17082 {
17083
17084 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17085 choke me
17086 #endif
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 rm -f conftest.$ac_objext
17093 if { (ac_try="$ac_compile"
17094 case "(($ac_try" in
17095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17096 *) ac_try_echo=$ac_try;;
17097 esac
17098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17099 (eval "$ac_compile") 2>conftest.er1
17100 ac_status=$?
17101 grep -v '^ *+' conftest.er1 >conftest.err
17102 rm -f conftest.er1
17103 cat conftest.err >&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && {
17106 test -z "$ac_cxx_werror_flag" ||
17107 test ! -s conftest.err
17108 } && test -s conftest.$ac_objext; then
17109 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17115
17116 fi
17117
17118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17119
17120
17121 fi
17122 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17123 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17124 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17125 :; INTELCXX10=yes
17126 else
17127 :;
17128 fi
17129 ac_ext=c
17130 ac_cpp='$CPP $CPPFLAGS'
17131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17134
17135
17136
17137 fi
17138
17139 if test "x$GCXX" != "xyes"; then
17140 if test "xCXX" = "xC"; then
17141 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17142 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17143 if test "${bakefile_cv_c_exto+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152
17153 int
17154 main ()
17155 {
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext conftest.$ac_ext.o
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; then
17167 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17168 case $ac_file in
17169 conftest.$ac_ext.o)
17170 bakefile_cv_c_exto="-ext o"
17171 ;;
17172 *)
17173 ;;
17174 esac
17175 done
17176 else
17177 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17182
17183 fi
17184
17185 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17186
17187 fi
17188 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17189 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17190 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17191 if test "c" = "c"; then
17192 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17193 fi
17194 if test "c" = "cxx"; then
17195 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17196 fi
17197 fi
17198
17199 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17200 unset ac_cv_prog_cc_g
17201 ac_test_CFLAGS=${CFLAGS+set}
17202 ac_save_CFLAGS=$CFLAGS
17203 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17204 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17205 if test "${ac_cv_prog_cc_g+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 else
17208 ac_save_c_werror_flag=$ac_c_werror_flag
17209 ac_c_werror_flag=yes
17210 ac_cv_prog_cc_g=no
17211 CFLAGS="-g"
17212 cat >conftest.$ac_ext <<_ACEOF
17213 /* confdefs.h. */
17214 _ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17218
17219 int
17220 main ()
17221 {
17222
17223 ;
17224 return 0;
17225 }
17226 _ACEOF
17227 rm -f conftest.$ac_objext
17228 if { (ac_try="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17232 esac
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17235 ac_status=$?
17236 grep -v '^ *+' conftest.er1 >conftest.err
17237 rm -f conftest.er1
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 ac_cv_prog_cc_g=yes
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 CFLAGS=""
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256
17257 int
17258 main ()
17259 {
17260
17261 ;
17262 return 0;
17263 }
17264 _ACEOF
17265 rm -f conftest.$ac_objext
17266 if { (ac_try="$ac_compile"
17267 case "(($ac_try" in
17268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17269 *) ac_try_echo=$ac_try;;
17270 esac
17271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17272 (eval "$ac_compile") 2>conftest.er1
17273 ac_status=$?
17274 grep -v '^ *+' conftest.er1 >conftest.err
17275 rm -f conftest.er1
17276 cat conftest.err >&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } && {
17279 test -z "$ac_c_werror_flag" ||
17280 test ! -s conftest.err
17281 } && test -s conftest.$ac_objext; then
17282 :
17283 else
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17286
17287 ac_c_werror_flag=$ac_save_c_werror_flag
17288 CFLAGS="-g"
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295
17296 int
17297 main ()
17298 {
17299
17300 ;
17301 return 0;
17302 }
17303 _ACEOF
17304 rm -f conftest.$ac_objext
17305 if { (ac_try="$ac_compile"
17306 case "(($ac_try" in
17307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17308 *) ac_try_echo=$ac_try;;
17309 esac
17310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17311 (eval "$ac_compile") 2>conftest.er1
17312 ac_status=$?
17313 grep -v '^ *+' conftest.er1 >conftest.err
17314 rm -f conftest.er1
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } && {
17318 test -z "$ac_c_werror_flag" ||
17319 test ! -s conftest.err
17320 } && test -s conftest.$ac_objext; then
17321 ac_cv_prog_cc_g=yes
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 fi
17334
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 ac_c_werror_flag=$ac_save_c_werror_flag
17337 fi
17338 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17339 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17340 if test "$ac_test_CFLAGS" = set; then
17341 CFLAGS=$ac_save_CFLAGS
17342 elif test $ac_cv_prog_cc_g = yes; then
17343 if test "$GCC" = yes; then
17344 CFLAGS="-g -O2"
17345 else
17346 CFLAGS="-g"
17347 fi
17348 else
17349 if test "$GCC" = yes; then
17350 CFLAGS="-O2"
17351 else
17352 CFLAGS=
17353 fi
17354 fi
17355 fi
17356 fi
17357
17358 case `uname -s` in
17359 AIX*)
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 IBM xlC C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___xlC__+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 __xlC__
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___xlC__=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 bakefile_cv_cxx_compiler___xlC__=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___xlC__" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17425 :; XLCXX=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 Darwin)
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 Metrowerks C++ compiler" >&5
17449 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17450 if test "${bakefile_cv_cxx_compiler___MWERKS__+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 __MWERKS__
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___MWERKS__=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17493
17494 bakefile_cv_cxx_compiler___MWERKS__=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___MWERKS__" >&5
17503 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17504 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17505 :; MWCXX=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 if test "$MWCXX" != "yes"; then
17518
17519
17520 ac_ext=cpp
17521 ac_cpp='$CXXCPP $CPPFLAGS'
17522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17525
17526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17528 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537
17538 int
17539 main ()
17540 {
17541
17542 #ifndef __xlC__
17543 choke me
17544 #endif
17545
17546 ;
17547 return 0;
17548 }
17549 _ACEOF
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_cxx_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.$ac_objext; then
17567 bakefile_cv_cxx_compiler___xlC__=yes
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 bakefile_cv_cxx_compiler___xlC__=no
17573
17574 fi
17575
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577
17578
17579 fi
17580 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17581 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17582 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17583 :; XLCXX=yes
17584 else
17585 :;
17586 fi
17587 ac_ext=c
17588 ac_cpp='$CPP $CPPFLAGS'
17589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17592
17593
17594
17595 fi
17596 ;;
17597
17598 IRIX*)
17599
17600
17601 ac_ext=cpp
17602 ac_cpp='$CXXCPP $CPPFLAGS'
17603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17606
17607 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17608 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17609 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 else
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618
17619 int
17620 main ()
17621 {
17622
17623 #ifndef _SGI_COMPILER_VERSION
17624 choke me
17625 #endif
17626
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 rm -f conftest.$ac_objext
17632 if { (ac_try="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17635 *) ac_try_echo=$ac_try;;
17636 esac
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.$ac_objext; then
17648 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17649 else
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.$ac_ext >&5
17652
17653 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17654
17655 fi
17656
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658
17659
17660 fi
17661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17662 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17663 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17664 :; SGICXX=yes
17665 else
17666 :;
17667 fi
17668 ac_ext=c
17669 ac_cpp='$CPP $CPPFLAGS'
17670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17673
17674
17675
17676 ;;
17677
17678 Linux*)
17679 if test "$INTELCXX" != "yes"; then
17680
17681
17682 ac_ext=cpp
17683 ac_cpp='$CXXCPP $CPPFLAGS'
17684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17687
17688 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17689 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17690 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699
17700 int
17701 main ()
17702 {
17703
17704 #ifndef __SUNPRO_CC
17705 choke me
17706 #endif
17707
17708 ;
17709 return 0;
17710 }
17711 _ACEOF
17712 rm -f conftest.$ac_objext
17713 if { (ac_try="$ac_compile"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17716 *) ac_try_echo=$ac_try;;
17717 esac
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_compile") 2>conftest.er1
17720 ac_status=$?
17721 grep -v '^ *+' conftest.er1 >conftest.err
17722 rm -f conftest.er1
17723 cat conftest.err >&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && {
17726 test -z "$ac_cxx_werror_flag" ||
17727 test ! -s conftest.err
17728 } && test -s conftest.$ac_objext; then
17729 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17730 else
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.$ac_ext >&5
17733
17734 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17735
17736 fi
17737
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739
17740
17741 fi
17742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17743 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17744 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17745 :; SUNCXX=yes
17746 else
17747 :;
17748 fi
17749 ac_ext=c
17750 ac_cpp='$CPP $CPPFLAGS'
17751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17754
17755
17756
17757 fi
17758 ;;
17759
17760 HP-UX*)
17761
17762
17763 ac_ext=cpp
17764 ac_cpp='$CXXCPP $CPPFLAGS'
17765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17768
17769 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17770 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17771 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17772 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 else
17774 cat >conftest.$ac_ext <<_ACEOF
17775 /* confdefs.h. */
17776 _ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780
17781 int
17782 main ()
17783 {
17784
17785 #ifndef __HP_aCC
17786 choke me
17787 #endif
17788
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (ac_try="$ac_compile"
17795 case "(($ac_try" in
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17798 esac
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_compile") 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_cxx_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest.$ac_objext; then
17810 bakefile_cv_cxx_compiler___HP_aCC=yes
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17814
17815 bakefile_cv_cxx_compiler___HP_aCC=no
17816
17817 fi
17818
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820
17821
17822 fi
17823 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17824 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17825 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17826 :; HPCXX=yes
17827 else
17828 :;
17829 fi
17830 ac_ext=c
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835
17836
17837
17838 ;;
17839
17840 OSF1)
17841
17842
17843 ac_ext=cpp
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17848
17849 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17850 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17851 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 else
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17860
17861 int
17862 main ()
17863 {
17864
17865 #ifndef __DECCXX
17866 choke me
17867 #endif
17868
17869 ;
17870 return 0;
17871 }
17872 _ACEOF
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17877 *) ac_try_echo=$ac_try;;
17878 esac
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17881 ac_status=$?
17882 grep -v '^ *+' conftest.er1 >conftest.err
17883 rm -f conftest.er1
17884 cat conftest.err >&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_cxx_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.$ac_objext; then
17890 bakefile_cv_cxx_compiler___DECCXX=yes
17891 else
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.$ac_ext >&5
17894
17895 bakefile_cv_cxx_compiler___DECCXX=no
17896
17897 fi
17898
17899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17900
17901
17902 fi
17903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17904 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17905 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17906 :; COMPAQCXX=yes
17907 else
17908 :;
17909 fi
17910 ac_ext=c
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17915
17916
17917
17918 ;;
17919
17920 SunOS)
17921
17922
17923 ac_ext=cpp
17924 ac_cpp='$CXXCPP $CPPFLAGS'
17925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17928
17929 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17930 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940
17941 int
17942 main ()
17943 {
17944
17945 #ifndef __SUNPRO_CC
17946 choke me
17947 #endif
17948
17949 ;
17950 return 0;
17951 }
17952 _ACEOF
17953 rm -f conftest.$ac_objext
17954 if { (ac_try="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17958 esac
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17961 ac_status=$?
17962 grep -v '^ *+' conftest.er1 >conftest.err
17963 rm -f conftest.er1
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_cxx_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17971 else
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17974
17975 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17976
17977 fi
17978
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980
17981
17982 fi
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17984 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17985 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17986 :; SUNCXX=yes
17987 else
17988 :;
17989 fi
17990 ac_ext=c
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17995
17996
17997
17998 ;;
17999 esac
18000 fi
18001
18002
18003
18004 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18005 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18006 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18007 { (exit 1); exit 1; }; }
18008 fi
18009
18010 if test "x$SUNCXX" != xyes; then
18011 if test -n "$ac_tool_prefix"; then
18012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18013 set dummy ${ac_tool_prefix}ar; ac_word=$2
18014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18016 if test "${ac_cv_prog_AR+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 if test -n "$AR"; then
18020 ac_cv_prog_AR="$AR" # Let the user override the test.
18021 else
18022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18023 for as_dir in $PATH
18024 do
18025 IFS=$as_save_IFS
18026 test -z "$as_dir" && as_dir=.
18027 for ac_exec_ext in '' $ac_executable_extensions; do
18028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18029 ac_cv_prog_AR="${ac_tool_prefix}ar"
18030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18031 break 2
18032 fi
18033 done
18034 done
18035 IFS=$as_save_IFS
18036
18037 fi
18038 fi
18039 AR=$ac_cv_prog_AR
18040 if test -n "$AR"; then
18041 { echo "$as_me:$LINENO: result: $AR" >&5
18042 echo "${ECHO_T}$AR" >&6; }
18043 else
18044 { echo "$as_me:$LINENO: result: no" >&5
18045 echo "${ECHO_T}no" >&6; }
18046 fi
18047
18048
18049 fi
18050 if test -z "$ac_cv_prog_AR"; then
18051 ac_ct_AR=$AR
18052 # Extract the first word of "ar", so it can be a program name with args.
18053 set dummy ar; ac_word=$2
18054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 else
18059 if test -n "$ac_ct_AR"; then
18060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18061 else
18062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18063 for as_dir in $PATH
18064 do
18065 IFS=$as_save_IFS
18066 test -z "$as_dir" && as_dir=.
18067 for ac_exec_ext in '' $ac_executable_extensions; do
18068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18069 ac_cv_prog_ac_ct_AR="ar"
18070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18071 break 2
18072 fi
18073 done
18074 done
18075 IFS=$as_save_IFS
18076
18077 fi
18078 fi
18079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18080 if test -n "$ac_ct_AR"; then
18081 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18082 echo "${ECHO_T}$ac_ct_AR" >&6; }
18083 else
18084 { echo "$as_me:$LINENO: result: no" >&5
18085 echo "${ECHO_T}no" >&6; }
18086 fi
18087
18088 if test "x$ac_ct_AR" = x; then
18089 AR=""
18090 else
18091 case $cross_compiling:$ac_tool_warned in
18092 yes:)
18093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18094 whose name does not start with the host triplet. If you think this
18095 configuration is useful to you, please write to autoconf@gnu.org." >&5
18096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18097 whose name does not start with the host triplet. If you think this
18098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18099 ac_tool_warned=yes ;;
18100 esac
18101 AR=$ac_ct_AR
18102 fi
18103 else
18104 AR="$ac_cv_prog_AR"
18105 fi
18106
18107 if test "x$AR" = "x" ; then
18108 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18109 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18110 { (exit 1); exit 1; }; }
18111 fi
18112 fi
18113
18114 retest_macosx_linking=no
18115
18116 #if test "$wxUSE_MAC" = 1; then
18117 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18118 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18119 # Implicitly turn on the new --with-macosx-sdk using the default
18120 # SDK which provides the behavior this option has always had.
18121 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18122 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18123 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18124 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18125 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18126 wxUSE_MACOSX_SDK=yes
18127 fi
18128 else
18129 # Complain to user if he specified an argument to --enable-universal_binary
18130 # and also 1) specified --with-macosx-sdk using the default (yes) or
18131 # 2) specified --with-macosx-sdk using a path or 3) specified
18132 # --without-macosx-sdk (no).
18133 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18134 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18135 See \`config.log' for more details." >&5
18136 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18137 See \`config.log' for more details." >&2;}
18138 { (exit 1); exit 1; }; }
18139 else
18140 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18141 # special-case the empty string because the below test simply
18142 # converts "no" to the empty string anyway.
18143 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18144 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18145 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18146 fi
18147 fi
18148 OSX_UNIV_OPTS="-arch ppc -arch i386"
18149 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18150 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18151 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18152 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18153 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18154 retest_macosx_linking=yes
18155
18156 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18157 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18158 bk_use_pch=no
18159 fi
18160 #fi
18161
18162 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18163 wxUSE_MACOSX_SDK=
18164 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18165 # TODO: Search for most recent SDK and use it.
18166 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18167 fi
18168
18169
18170 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18171 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18172 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18173 if ! test -d "$wxUSE_MACOSX_SDK"; then
18174 { { echo "$as_me:$LINENO: error: not found
18175 See \`config.log' for more details." >&5
18176 echo "$as_me: error: not found
18177 See \`config.log' for more details." >&2;}
18178 { (exit 1); exit 1; }; }
18179 else
18180 { echo "$as_me:$LINENO: result: exists" >&5
18181 echo "${ECHO_T}exists" >&6; }
18182 fi
18183 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18184 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18185 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18186 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18187 retest_macosx_linking=yes
18188 fi
18189
18190 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18191 wxUSE_MACOSX_VERSION_MIN=
18192 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18193 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18194 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18195 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18196
18197 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/'`
18198
18199 # If that failed, try again with the new key
18200 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18201
18202 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/'`
18203
18204 fi
18205
18206 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18207 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18208 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18209 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18210 else
18211 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18212 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18213 wxUSE_MACOSX_VERSION_MIN=
18214 fi
18215 else
18216 wxUSE_MACOSX_VERSION_MIN=
18217 fi
18218 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18219 if test "$wxUSE_MAC" = 1; then
18220 # otherwise configure stops on leopard for universal_binary
18221 wxUSE_MACOSX_VERSION_MIN=10.4
18222 fi
18223 fi
18224
18225 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18226 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18227 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18228 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18229 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18230 retest_macosx_linking=yes
18231 fi
18232
18233 if test "x$retest_macosx_linking" = "xyes"; then
18234 ac_ext=c
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239
18240 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18241 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248
18249 int
18250 main ()
18251 {
18252
18253 ;
18254 return 0;
18255 }
18256 _ACEOF
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (ac_try="$ac_link"
18259 case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18262 esac
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_link") 2>conftest.er1
18265 ac_status=$?
18266 grep -v '^ *+' conftest.er1 >conftest.err
18267 rm -f conftest.er1
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } && {
18271 test -z "$ac_c_werror_flag" ||
18272 test ! -s conftest.err
18273 } && test -s conftest$ac_exeext &&
18274 $as_test_x conftest$ac_exeext; then
18275 { echo "$as_me:$LINENO: result: yes" >&5
18276 echo "${ECHO_T}yes" >&6; }
18277 else
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18280
18281 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18282 See \`config.log' for more details." >&5
18283 echo "$as_me: error: no. Try a different SDK
18284 See \`config.log' for more details." >&2;}
18285 { (exit 1); exit 1; }; }; exit 1
18286 fi
18287
18288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18289 conftest$ac_exeext conftest.$ac_ext
18290 ac_ext=c
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18295
18296
18297 ac_ext=cpp
18298 ac_cpp='$CXXCPP $CPPFLAGS'
18299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18302
18303 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18304 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18305 cat >conftest.$ac_ext <<_ACEOF
18306 /* confdefs.h. */
18307 _ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311
18312 int
18313 main ()
18314 {
18315
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext conftest$ac_exeext
18321 if { (ac_try="$ac_link"
18322 case "(($ac_try" in
18323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18324 *) ac_try_echo=$ac_try;;
18325 esac
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_link") 2>conftest.er1
18328 ac_status=$?
18329 grep -v '^ *+' conftest.er1 >conftest.err
18330 rm -f conftest.er1
18331 cat conftest.err >&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_cxx_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest$ac_exeext &&
18337 $as_test_x conftest$ac_exeext; then
18338 { echo "$as_me:$LINENO: result: yes" >&5
18339 echo "${ECHO_T}yes" >&6; }
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18345 See \`config.log' for more details." >&5
18346 echo "$as_me: error: no. Try a different SDK
18347 See \`config.log' for more details." >&2;}
18348 { (exit 1); exit 1; }; }; exit 1
18349 fi
18350
18351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18352 conftest$ac_exeext conftest.$ac_ext
18353 ac_ext=c
18354 ac_cpp='$CPP $CPPFLAGS'
18355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358
18359 fi
18360
18361
18362 case "${host}" in
18363
18364 *-*-darwin* )
18365 INSTALL_PROGRAM="cp -fp"
18366 INSTALL_DATA="cp -fp"
18367 ;;
18368 *)
18369 ;;
18370 esac
18371
18372
18373 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18374 CXXFLAGS="-qunique $CXXFLAGS"
18375 fi
18376
18377 case "${host}" in
18378 powerpc-*-darwin* )
18379 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18380 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18381 cat >conftest.$ac_ext <<_ACEOF
18382 /* confdefs.h. */
18383 _ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387
18388 int
18389 main ()
18390 {
18391 #ifndef __POWERPC__
18392 choke me for lack of PowerPC
18393 #endif
18394
18395 ;
18396 return 0;
18397 }
18398 _ACEOF
18399 rm -f conftest.$ac_objext
18400 if { (ac_try="$ac_compile"
18401 case "(($ac_try" in
18402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18404 esac
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_compile") 2>conftest.er1
18407 ac_status=$?
18408 grep -v '^ *+' conftest.er1 >conftest.err
18409 rm -f conftest.er1
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && {
18413 test -z "$ac_c_werror_flag" ||
18414 test ! -s conftest.err
18415 } && test -s conftest.$ac_objext; then
18416 { echo "$as_me:$LINENO: result: yes" >&5
18417 echo "${ECHO_T}yes" >&6; }
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422 { echo "$as_me:$LINENO: result: no" >&5
18423 echo "${ECHO_T}no" >&6; }
18424 cat >>confdefs.h <<\_ACEOF
18425 #define __POWERPC__ 1
18426 _ACEOF
18427
18428
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 ;;
18433 esac
18434
18435 case "${host}" in
18436 *-*-darwin* )
18437 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18438 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18439 cat >conftest.$ac_ext <<_ACEOF
18440 /* confdefs.h. */
18441 _ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18445 #include <CoreFoundation/CFBase.h>
18446
18447 int
18448 main ()
18449 {
18450
18451 ;
18452 return 0;
18453 }
18454 _ACEOF
18455 rm -f conftest.$ac_objext
18456 if { (ac_try="$ac_compile"
18457 case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18459 *) ac_try_echo=$ac_try;;
18460 esac
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_compile") 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest.$ac_objext; then
18472 { echo "$as_me:$LINENO: result: yes" >&5
18473 echo "${ECHO_T}yes" >&6; }
18474 else
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.$ac_ext >&5
18477
18478 { echo "$as_me:$LINENO: result: no" >&5
18479 echo "${ECHO_T}no" >&6; }
18480 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 #define __CF_USE_FRAMEWORK_INCLUDES__
18489 #include <CoreFoundation/CFBase.h>
18490
18491 int
18492 main ()
18493 {
18494
18495 ;
18496 return 0;
18497 }
18498 _ACEOF
18499 rm -f conftest.$ac_objext
18500 if { (ac_try="$ac_compile"
18501 case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18504 esac
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_compile") 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } && {
18513 test -z "$ac_c_werror_flag" ||
18514 test ! -s conftest.err
18515 } && test -s conftest.$ac_objext; then
18516 { echo "$as_me:$LINENO: result: yes" >&5
18517 echo "${ECHO_T}yes" >&6; }
18518 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18524 See \`config.log' for more details." >&5
18525 echo "$as_me: error: no. CoreFoundation not available.
18526 See \`config.log' for more details." >&2;}
18527 { (exit 1); exit 1; }; }
18528
18529 fi
18530
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532
18533
18534 fi
18535
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 ;;
18538 esac
18539
18540 wants_win32=0
18541 doesnt_want_win32=0
18542 case "${host}" in
18543 *-*-cygwin*)
18544 if test "$wxUSE_MSW" = 1 ; then
18545 wants_win32=1
18546 else
18547 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18548 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18549 if test "${wx_cv_nocygwin+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 else
18552
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559
18560 int
18561 main ()
18562 {
18563
18564 #ifdef __MINGW32__
18565 choke me
18566 #endif
18567
18568 ;
18569 return 0;
18570 }
18571 _ACEOF
18572 rm -f conftest.$ac_objext
18573 if { (ac_try="$ac_compile"
18574 case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18577 esac
18578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_compile") 2>conftest.er1
18580 ac_status=$?
18581 grep -v '^ *+' conftest.er1 >conftest.err
18582 rm -f conftest.er1
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } && {
18586 test -z "$ac_c_werror_flag" ||
18587 test ! -s conftest.err
18588 } && test -s conftest.$ac_objext; then
18589 wx_cv_nocygwin=no
18590 else
18591 echo "$as_me: failed program was:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18593
18594 wx_cv_nocygwin=yes
18595
18596 fi
18597
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599
18600
18601 fi
18602 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18603 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18604
18605 if test "$wx_cv_nocygwin" = "yes"; then
18606 wants_win32=1
18607 else
18608 doesnt_want_win32=1
18609 fi
18610 fi
18611 if test "$wants_win32" = 1 ; then
18612 BAKEFILE_FORCE_PLATFORM=win32
18613 fi
18614 ;;
18615 *-*-mingw*)
18616 wants_win32=1
18617 ;;
18618 esac
18619
18620 if test "$wxUSE_WINE" = "yes"; then
18621 wants_win32=1
18622 LDFLAGS_GUI="-mwindows"
18623 fi
18624
18625 if test "$wants_win32" = 1 ; then
18626 USE_UNIX=0
18627 USE_WIN32=1
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN32__ 1
18630 _ACEOF
18631
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WIN95__ 1
18634 _ACEOF
18635
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __WINDOWS__ 1
18638 _ACEOF
18639
18640 cat >>confdefs.h <<\_ACEOF
18641 #define __GNUWIN32__ 1
18642 _ACEOF
18643
18644 cat >>confdefs.h <<\_ACEOF
18645 #define STRICT 1
18646 _ACEOF
18647
18648 fi
18649 if test "$doesnt_want_win32" = 1 ; then
18650 USE_UNIX=1
18651 USE_WIN32=0
18652 fi
18653
18654 if test "$USE_UNIX" = 1 ; then
18655 wxUSE_UNIX=yes
18656 cat >>confdefs.h <<\_ACEOF
18657 #define __UNIX__ 1
18658 _ACEOF
18659
18660 fi
18661
18662 case "${host}" in
18663 *-pc-os2_emx | *-pc-os2-emx )
18664 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18665 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18666 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18667 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 else
18670 ac_check_lib_save_LIBS=$LIBS
18671 LIBS="-lcExt $LIBS"
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678
18679 /* Override any GCC internal prototype to avoid an error.
18680 Use char because int might match the return type of a GCC
18681 builtin and then its argument prototype would still apply. */
18682 #ifdef __cplusplus
18683 extern "C"
18684 #endif
18685 char drand48 ();
18686 int
18687 main ()
18688 {
18689 return drand48 ();
18690 ;
18691 return 0;
18692 }
18693 _ACEOF
18694 rm -f conftest.$ac_objext conftest$ac_exeext
18695 if { (ac_try="$ac_link"
18696 case "(($ac_try" in
18697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698 *) ac_try_echo=$ac_try;;
18699 esac
18700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18701 (eval "$ac_link") 2>conftest.er1
18702 ac_status=$?
18703 grep -v '^ *+' conftest.er1 >conftest.err
18704 rm -f conftest.er1
18705 cat conftest.err >&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); } && {
18708 test -z "$ac_c_werror_flag" ||
18709 test ! -s conftest.err
18710 } && test -s conftest$ac_exeext &&
18711 $as_test_x conftest$ac_exeext; then
18712 ac_cv_lib_cExt_drand48=yes
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18716
18717 ac_cv_lib_cExt_drand48=no
18718 fi
18719
18720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18723 fi
18724 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18725 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18726 if test $ac_cv_lib_cExt_drand48 = yes; then
18727 LIBS="$LIBS -lcExt"
18728 fi
18729
18730 else
18731 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18732 fi
18733 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18734 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18735 if test "${wx_cv_gccversion+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738
18739 if test "$cross_compiling" = yes; then
18740 wx_cv_gccversion="EMX2"
18741
18742 else
18743 cat >conftest.$ac_ext <<_ACEOF
18744 /* confdefs.h. */
18745 _ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18749
18750 #include <stdio.h>
18751
18752 int main()
18753 {
18754 FILE *f=fopen("conftestval", "w");
18755 if (!f) exit(1);
18756 fprintf(f,
18757 #if (__GNUC__ < 3)
18758 "EMX2"
18759 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18760 "EMX3"
18761 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18762 "Innotek5"
18763 #else
18764 "Innotek6"
18765 #endif
18766 );
18767 exit(0);
18768 }
18769
18770 _ACEOF
18771 rm -f conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18776 esac
18777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>&5
18779 ac_status=$?
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18782 { (case "(($ac_try" in
18783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18784 *) ac_try_echo=$ac_try;;
18785 esac
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_try") 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 wx_cv_gccversion=`cat conftestval`
18792 else
18793 echo "$as_me: program exited with status $ac_status" >&5
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18796
18797 ( exit $ac_status )
18798 wx_cv_gccversion="EMX2"
18799 fi
18800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18801 fi
18802
18803
18804
18805 fi
18806 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18807 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18808 if test "$wx_cv_gccversion" = "EMX2"; then
18809 LIBS="$LIBS -lstdcpp"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18811 else
18812 if test "$wx_cv_gccversion" = "EMX3"; then
18813 LIBS="$LIBS -lstdcxx -lgcc"
18814 LDFLAGS="$LDFLAGS -Zsysv-signals"
18815 else
18816 LIBS="$LIBS -lstdc++"
18817 fi
18818 fi
18819 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18820 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18821 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18822 wxUSE_OMF=yes
18823 enable_omf=yes
18824 fi
18825 ;;
18826 *)
18827
18828 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18829 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18830 if test "${ac_cv_string_strcasecmp+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 else
18833
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840
18841 #include <string.h>
18842
18843 int
18844 main ()
18845 {
18846
18847 strcasecmp("foo", "bar");
18848
18849 ;
18850 return 0;
18851 }
18852 _ACEOF
18853 rm -f conftest.$ac_objext conftest$ac_exeext
18854 if { (ac_try="$ac_link"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18858 esac
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_link") 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest$ac_exeext &&
18870 $as_test_x conftest$ac_exeext; then
18871 ac_cv_string_strcasecmp=yes
18872 else
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18875
18876 ac_cv_string_strcasecmp=no
18877
18878 fi
18879
18880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881 conftest$ac_exeext conftest.$ac_ext
18882
18883 fi
18884 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18885 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18886
18887 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_STRCASECMP_IN_STRING_H 1
18890 _ACEOF
18891
18892 else
18893 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18894 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18895 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905
18906 #include <strings.h>
18907
18908 int
18909 main ()
18910 {
18911
18912 strcasecmp("foo", "bar");
18913
18914 ;
18915 return 0;
18916 }
18917 _ACEOF
18918 rm -f conftest.$ac_objext conftest$ac_exeext
18919 if { (ac_try="$ac_link"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18923 esac
18924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_link") 2>conftest.er1
18926 ac_status=$?
18927 grep -v '^ *+' conftest.er1 >conftest.err
18928 rm -f conftest.er1
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest$ac_exeext &&
18935 $as_test_x conftest$ac_exeext; then
18936 ac_cv_strings_strcasecmp=yes
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18940
18941 ac_cv_strings_strcasecmp=no
18942
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18946 conftest$ac_exeext conftest.$ac_ext
18947
18948 fi
18949 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18950 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18951
18952 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18953 cat >>confdefs.h <<\_ACEOF
18954 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18955 _ACEOF
18956
18957 else
18958 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18959 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18960 { (exit 1); exit 1; }; }
18961 fi
18962 fi
18963
18964 ;;
18965 esac
18966
18967
18968 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18969 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18970 if test "${ac_cv_header_stdc+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <stdlib.h>
18980 #include <stdarg.h>
18981 #include <string.h>
18982 #include <float.h>
18983
18984 int
18985 main ()
18986 {
18987
18988 ;
18989 return 0;
18990 }
18991 _ACEOF
18992 rm -f conftest.$ac_objext
18993 if { (ac_try="$ac_compile"
18994 case "(($ac_try" in
18995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18996 *) ac_try_echo=$ac_try;;
18997 esac
18998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18999 (eval "$ac_compile") 2>conftest.er1
19000 ac_status=$?
19001 grep -v '^ *+' conftest.er1 >conftest.err
19002 rm -f conftest.er1
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && {
19006 test -z "$ac_c_werror_flag" ||
19007 test ! -s conftest.err
19008 } && test -s conftest.$ac_objext; then
19009 ac_cv_header_stdc=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ac_cv_header_stdc=no
19015 fi
19016
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018
19019 if test $ac_cv_header_stdc = yes; then
19020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <string.h>
19028
19029 _ACEOF
19030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19031 $EGREP "memchr" >/dev/null 2>&1; then
19032 :
19033 else
19034 ac_cv_header_stdc=no
19035 fi
19036 rm -f conftest*
19037
19038 fi
19039
19040 if test $ac_cv_header_stdc = yes; then
19041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <stdlib.h>
19049
19050 _ACEOF
19051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19052 $EGREP "free" >/dev/null 2>&1; then
19053 :
19054 else
19055 ac_cv_header_stdc=no
19056 fi
19057 rm -f conftest*
19058
19059 fi
19060
19061 if test $ac_cv_header_stdc = yes; then
19062 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19063 if test "$cross_compiling" = yes; then
19064 :
19065 else
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 #include <ctype.h>
19073 #include <stdlib.h>
19074 #if ((' ' & 0x0FF) == 0x020)
19075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19077 #else
19078 # define ISLOWER(c) \
19079 (('a' <= (c) && (c) <= 'i') \
19080 || ('j' <= (c) && (c) <= 'r') \
19081 || ('s' <= (c) && (c) <= 'z'))
19082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19083 #endif
19084
19085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19086 int
19087 main ()
19088 {
19089 int i;
19090 for (i = 0; i < 256; i++)
19091 if (XOR (islower (i), ISLOWER (i))
19092 || toupper (i) != TOUPPER (i))
19093 return 2;
19094 return 0;
19095 }
19096 _ACEOF
19097 rm -f conftest$ac_exeext
19098 if { (ac_try="$ac_link"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19102 esac
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_link") 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19108 { (case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19111 esac
19112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_try") 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 :
19118 else
19119 echo "$as_me: program exited with status $ac_status" >&5
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19122
19123 ( exit $ac_status )
19124 ac_cv_header_stdc=no
19125 fi
19126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19127 fi
19128
19129
19130 fi
19131 fi
19132 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19133 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19134 if test $ac_cv_header_stdc = yes; then
19135
19136 cat >>confdefs.h <<\_ACEOF
19137 #define STDC_HEADERS 1
19138 _ACEOF
19139
19140 fi
19141
19142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19153 inttypes.h stdint.h unistd.h
19154 do
19155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161 cat >conftest.$ac_ext <<_ACEOF
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 $ac_includes_default
19168
19169 #include <$ac_header>
19170 _ACEOF
19171 rm -f conftest.$ac_objext
19172 if { (ac_try="$ac_compile"
19173 case "(($ac_try" in
19174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19175 *) ac_try_echo=$ac_try;;
19176 esac
19177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19178 (eval "$ac_compile") 2>conftest.er1
19179 ac_status=$?
19180 grep -v '^ *+' conftest.er1 >conftest.err
19181 rm -f conftest.er1
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } && {
19185 test -z "$ac_c_werror_flag" ||
19186 test ! -s conftest.err
19187 } && test -s conftest.$ac_objext; then
19188 eval "$as_ac_Header=yes"
19189 else
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19192
19193 eval "$as_ac_Header=no"
19194 fi
19195
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197 fi
19198 ac_res=`eval echo '${'$as_ac_Header'}'`
19199 { echo "$as_me:$LINENO: result: $ac_res" >&5
19200 echo "${ECHO_T}$ac_res" >&6; }
19201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19204 _ACEOF
19205
19206 fi
19207
19208 done
19209
19210
19211
19212
19213 for ac_header in langinfo.h wchar.h
19214 do
19215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19216 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 else
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 $ac_includes_default
19228
19229 #include <$ac_header>
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (ac_try="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19236 esac
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 eval "$as_ac_Header=yes"
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 eval "$as_ac_Header=no"
19254 fi
19255
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 fi
19258 ac_res=`eval echo '${'$as_ac_Header'}'`
19259 { echo "$as_me:$LINENO: result: $ac_res" >&5
19260 echo "${ECHO_T}$ac_res" >&6; }
19261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19264 _ACEOF
19265
19266 fi
19267
19268 done
19269
19270
19271 if test "$ac_cv_header_wchar_h" != "yes"; then
19272
19273 for ac_header in wcstr.h
19274 do
19275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 else
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h. */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19288
19289 #include <$ac_header>
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 eval "$as_ac_Header=yes"
19309 else
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 eval "$as_ac_Header=no"
19314 fi
19315
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 fi
19318 ac_res=`eval echo '${'$as_ac_Header'}'`
19319 { echo "$as_me:$LINENO: result: $ac_res" >&5
19320 echo "${ECHO_T}$ac_res" >&6; }
19321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19324 _ACEOF
19325
19326 fi
19327
19328 done
19329
19330 fi
19331
19332 case "${host}" in
19333 *-pc-os2_emx | *-pc-os2-emx )
19334 if test $ac_cv_header_langinfo_h = "yes" \
19335 -a \( "$wx_cv_gccversion" = "EMX2" \
19336 -o "$wx_cv_gccversion" = "EMX3" \
19337 -o "$wx_cv_gccversion" = "Innotek5" \); then
19338 LIBS="$LIBS -lintl"
19339 fi
19340 ;;
19341 esac
19342
19343 if test "$USE_UNIX" = 1 ; then
19344
19345 for ac_header in sys/select.h
19346 do
19347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19353 cat >conftest.$ac_ext <<_ACEOF
19354 /* confdefs.h. */
19355 _ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 $ac_includes_default
19360
19361 #include <$ac_header>
19362 _ACEOF
19363 rm -f conftest.$ac_objext
19364 if { (ac_try="$ac_compile"
19365 case "(($ac_try" in
19366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19367 *) ac_try_echo=$ac_try;;
19368 esac
19369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19370 (eval "$ac_compile") 2>conftest.er1
19371 ac_status=$?
19372 grep -v '^ *+' conftest.er1 >conftest.err
19373 rm -f conftest.er1
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } && {
19377 test -z "$ac_c_werror_flag" ||
19378 test ! -s conftest.err
19379 } && test -s conftest.$ac_objext; then
19380 eval "$as_ac_Header=yes"
19381 else
19382 echo "$as_me: failed program was:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19384
19385 eval "$as_ac_Header=no"
19386 fi
19387
19388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19389 fi
19390 ac_res=`eval echo '${'$as_ac_Header'}'`
19391 { echo "$as_me:$LINENO: result: $ac_res" >&5
19392 echo "${ECHO_T}$ac_res" >&6; }
19393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19394 cat >>confdefs.h <<_ACEOF
19395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19396 _ACEOF
19397
19398 fi
19399
19400 done
19401
19402 fi
19403
19404
19405 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19406 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19407 if test "${ac_cv_c_const+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 else
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416
19417 int
19418 main ()
19419 {
19420 /* FIXME: Include the comments suggested by Paul. */
19421 #ifndef __cplusplus
19422 /* Ultrix mips cc rejects this. */
19423 typedef int charset[2];
19424 const charset cs;
19425 /* SunOS 4.1.1 cc rejects this. */
19426 char const *const *pcpcc;
19427 char **ppc;
19428 /* NEC SVR4.0.2 mips cc rejects this. */
19429 struct point {int x, y;};
19430 static struct point const zero = {0,0};
19431 /* AIX XL C 1.02.0.0 rejects this.
19432 It does not let you subtract one const X* pointer from another in
19433 an arm of an if-expression whose if-part is not a constant
19434 expression */
19435 const char *g = "string";
19436 pcpcc = &g + (g ? g-g : 0);
19437 /* HPUX 7.0 cc rejects these. */
19438 ++pcpcc;
19439 ppc = (char**) pcpcc;
19440 pcpcc = (char const *const *) ppc;
19441 { /* SCO 3.2v4 cc rejects this. */
19442 char *t;
19443 char const *s = 0 ? (char *) 0 : (char const *) 0;
19444
19445 *t++ = 0;
19446 if (s) return 0;
19447 }
19448 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19449 int x[] = {25, 17};
19450 const int *foo = &x[0];
19451 ++foo;
19452 }
19453 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19454 typedef const int *iptr;
19455 iptr p = 0;
19456 ++p;
19457 }
19458 { /* AIX XL C 1.02.0.0 rejects this saying
19459 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19460 struct s { int j; const int *ap[3]; };
19461 struct s *b; b->j = 5;
19462 }
19463 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19464 const int foo = 10;
19465 if (!foo) return 0;
19466 }
19467 return !cs[0] && !zero.x;
19468 #endif
19469
19470 ;
19471 return 0;
19472 }
19473 _ACEOF
19474 rm -f conftest.$ac_objext
19475 if { (ac_try="$ac_compile"
19476 case "(($ac_try" in
19477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 *) ac_try_echo=$ac_try;;
19479 esac
19480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19481 (eval "$ac_compile") 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } && {
19488 test -z "$ac_c_werror_flag" ||
19489 test ! -s conftest.err
19490 } && test -s conftest.$ac_objext; then
19491 ac_cv_c_const=yes
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19495
19496 ac_cv_c_const=no
19497 fi
19498
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 fi
19501 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19502 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19503 if test $ac_cv_c_const = no; then
19504
19505 cat >>confdefs.h <<\_ACEOF
19506 #define const
19507 _ACEOF
19508
19509 fi
19510
19511 { echo "$as_me:$LINENO: checking for inline" >&5
19512 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19513 if test "${ac_cv_c_inline+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516 ac_cv_c_inline=no
19517 for ac_kw in inline __inline__ __inline; do
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 #ifndef __cplusplus
19525 typedef int foo_t;
19526 static $ac_kw foo_t static_foo () {return 0; }
19527 $ac_kw foo_t foo () {return 0; }
19528 #endif
19529
19530 _ACEOF
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19536 esac
19537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } && {
19545 test -z "$ac_c_werror_flag" ||
19546 test ! -s conftest.err
19547 } && test -s conftest.$ac_objext; then
19548 ac_cv_c_inline=$ac_kw
19549 else
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553
19554 fi
19555
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 test "$ac_cv_c_inline" != no && break
19558 done
19559
19560 fi
19561 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19562 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19563
19564
19565 case $ac_cv_c_inline in
19566 inline | yes) ;;
19567 *)
19568 case $ac_cv_c_inline in
19569 no) ac_val=;;
19570 *) ac_val=$ac_cv_c_inline;;
19571 esac
19572 cat >>confdefs.h <<_ACEOF
19573 #ifndef __cplusplus
19574 #define inline $ac_val
19575 #endif
19576 _ACEOF
19577 ;;
19578 esac
19579
19580
19581 { echo "$as_me:$LINENO: checking for short" >&5
19582 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19583 if test "${ac_cv_type_short+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19593 typedef short ac__type_new_;
19594 int
19595 main ()
19596 {
19597 if ((ac__type_new_ *) 0)
19598 return 0;
19599 if (sizeof (ac__type_new_))
19600 return 0;
19601 ;
19602 return 0;
19603 }
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_type_short=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 ac_cv_type_short=no
19628 fi
19629
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 fi
19632 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19633 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19634
19635 # The cast to long int works around a bug in the HP C Compiler
19636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19638 # This bug is HP SR number 8606223364.
19639 { echo "$as_me:$LINENO: checking size of short" >&5
19640 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19641 if test "${ac_cv_sizeof_short+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644 if test "$cross_compiling" = yes; then
19645 # Depending upon the size, compute the lo and hi bounds.
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef short ac__type_sizeof_;
19654 int
19655 main ()
19656 {
19657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19658 test_array [0] = 0
19659
19660 ;
19661 return 0;
19662 }
19663 _ACEOF
19664 rm -f conftest.$ac_objext
19665 if { (ac_try="$ac_compile"
19666 case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19669 esac
19670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_compile") 2>conftest.er1
19672 ac_status=$?
19673 grep -v '^ *+' conftest.er1 >conftest.err
19674 rm -f conftest.er1
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } && {
19678 test -z "$ac_c_werror_flag" ||
19679 test ! -s conftest.err
19680 } && test -s conftest.$ac_objext; then
19681 ac_lo=0 ac_mid=0
19682 while :; do
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690 typedef short ac__type_sizeof_;
19691 int
19692 main ()
19693 {
19694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19695 test_array [0] = 0
19696
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 rm -f conftest.$ac_objext
19702 if { (ac_try="$ac_compile"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19706 esac
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
19718 ac_hi=$ac_mid; break
19719 else
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723 ac_lo=`expr $ac_mid + 1`
19724 if test $ac_lo -le $ac_mid; then
19725 ac_lo= ac_hi=
19726 break
19727 fi
19728 ac_mid=`expr 2 '*' $ac_mid + 1`
19729 fi
19730
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19732 done
19733 else
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19736
19737 cat >conftest.$ac_ext <<_ACEOF
19738 /* confdefs.h. */
19739 _ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 typedef short ac__type_sizeof_;
19745 int
19746 main ()
19747 {
19748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19749 test_array [0] = 0
19750
19751 ;
19752 return 0;
19753 }
19754 _ACEOF
19755 rm -f conftest.$ac_objext
19756 if { (ac_try="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19760 esac
19761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19763 ac_status=$?
19764 grep -v '^ *+' conftest.er1 >conftest.err
19765 rm -f conftest.er1
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19772 ac_hi=-1 ac_mid=-1
19773 while :; do
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 typedef short ac__type_sizeof_;
19782 int
19783 main ()
19784 {
19785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19786 test_array [0] = 0
19787
19788 ;
19789 return 0;
19790 }
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_lo=$ac_mid; break
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 ac_hi=`expr '(' $ac_mid ')' - 1`
19815 if test $ac_mid -le $ac_hi; then
19816 ac_lo= ac_hi=
19817 break
19818 fi
19819 ac_mid=`expr 2 '*' $ac_mid`
19820 fi
19821
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 done
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19827
19828 ac_lo= ac_hi=
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 fi
19833
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 # Binary search between lo and hi bounds.
19836 while test "x$ac_lo" != "x$ac_hi"; do
19837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19838 cat >conftest.$ac_ext <<_ACEOF
19839 /* confdefs.h. */
19840 _ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19845 typedef short ac__type_sizeof_;
19846 int
19847 main ()
19848 {
19849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19850 test_array [0] = 0
19851
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19861 esac
19862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 ac_hi=$ac_mid
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 ac_lo=`expr '(' $ac_mid ')' + 1`
19879 fi
19880
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19882 done
19883 case $ac_lo in
19884 ?*) ac_cv_sizeof_short=$ac_lo;;
19885 '') if test "$ac_cv_type_short" = yes; then
19886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19887 See \`config.log' for more details." >&5
19888 echo "$as_me: error: cannot compute sizeof (short)
19889 See \`config.log' for more details." >&2;}
19890 { (exit 77); exit 77; }; }
19891 else
19892 ac_cv_sizeof_short=0
19893 fi ;;
19894 esac
19895 else
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 typedef short ac__type_sizeof_;
19904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19906 #include <stdio.h>
19907 #include <stdlib.h>
19908 int
19909 main ()
19910 {
19911
19912 FILE *f = fopen ("conftest.val", "w");
19913 if (! f)
19914 return 1;
19915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19916 {
19917 long int i = longval ();
19918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19919 return 1;
19920 fprintf (f, "%ld\n", i);
19921 }
19922 else
19923 {
19924 unsigned long int i = ulongval ();
19925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19926 return 1;
19927 fprintf (f, "%lu\n", i);
19928 }
19929 return ferror (f) || fclose (f) != 0;
19930
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest$ac_exeext
19936 if { (ac_try="$ac_link"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19940 esac
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_link") 2>&5
19943 ac_status=$?
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_cv_sizeof_short=`cat conftest.val`
19956 else
19957 echo "$as_me: program exited with status $ac_status" >&5
19958 echo "$as_me: failed program was:" >&5
19959 sed 's/^/| /' conftest.$ac_ext >&5
19960
19961 ( exit $ac_status )
19962 if test "$ac_cv_type_short" = yes; then
19963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19964 See \`config.log' for more details." >&5
19965 echo "$as_me: error: cannot compute sizeof (short)
19966 See \`config.log' for more details." >&2;}
19967 { (exit 77); exit 77; }; }
19968 else
19969 ac_cv_sizeof_short=0
19970 fi
19971 fi
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19973 fi
19974 rm -f conftest.val
19975 fi
19976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19977 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19978
19979
19980
19981 cat >>confdefs.h <<_ACEOF
19982 #define SIZEOF_SHORT $ac_cv_sizeof_short
19983 _ACEOF
19984
19985
19986 { echo "$as_me:$LINENO: checking for void *" >&5
19987 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19988 if test "${ac_cv_type_void_p+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 else
19991 cat >conftest.$ac_ext <<_ACEOF
19992 /* confdefs.h. */
19993 _ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef void * ac__type_new_;
19999 int
20000 main ()
20001 {
20002 if ((ac__type_new_ *) 0)
20003 return 0;
20004 if (sizeof (ac__type_new_))
20005 return 0;
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest.$ac_objext; then
20027 ac_cv_type_void_p=yes
20028 else
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20031
20032 ac_cv_type_void_p=no
20033 fi
20034
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 fi
20037 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20038 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20039
20040 # The cast to long int works around a bug in the HP C Compiler
20041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20043 # This bug is HP SR number 8606223364.
20044 { echo "$as_me:$LINENO: checking size of void *" >&5
20045 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20046 if test "${ac_cv_sizeof_void_p+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 else
20049 if test "$cross_compiling" = yes; then
20050 # Depending upon the size, compute the lo and hi bounds.
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20058 typedef void * ac__type_sizeof_;
20059 int
20060 main ()
20061 {
20062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20063 test_array [0] = 0
20064
20065 ;
20066 return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (ac_try="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20074 esac
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_c_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.$ac_objext; then
20086 ac_lo=0 ac_mid=0
20087 while :; do
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 typedef void * ac__type_sizeof_;
20096 int
20097 main ()
20098 {
20099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20100 test_array [0] = 0
20101
20102 ;
20103 return 0;
20104 }
20105 _ACEOF
20106 rm -f conftest.$ac_objext
20107 if { (ac_try="$ac_compile"
20108 case "(($ac_try" in
20109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20110 *) ac_try_echo=$ac_try;;
20111 esac
20112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20113 (eval "$ac_compile") 2>conftest.er1
20114 ac_status=$?
20115 grep -v '^ *+' conftest.er1 >conftest.err
20116 rm -f conftest.er1
20117 cat conftest.err >&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } && {
20120 test -z "$ac_c_werror_flag" ||
20121 test ! -s conftest.err
20122 } && test -s conftest.$ac_objext; then
20123 ac_hi=$ac_mid; break
20124 else
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 ac_lo=`expr $ac_mid + 1`
20129 if test $ac_lo -le $ac_mid; then
20130 ac_lo= ac_hi=
20131 break
20132 fi
20133 ac_mid=`expr 2 '*' $ac_mid + 1`
20134 fi
20135
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 done
20138 else
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20141
20142 cat >conftest.$ac_ext <<_ACEOF
20143 /* confdefs.h. */
20144 _ACEOF
20145 cat confdefs.h >>conftest.$ac_ext
20146 cat >>conftest.$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 $ac_includes_default
20149 typedef void * ac__type_sizeof_;
20150 int
20151 main ()
20152 {
20153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20154 test_array [0] = 0
20155
20156 ;
20157 return 0;
20158 }
20159 _ACEOF
20160 rm -f conftest.$ac_objext
20161 if { (ac_try="$ac_compile"
20162 case "(($ac_try" in
20163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20165 esac
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_compile") 2>conftest.er1
20168 ac_status=$?
20169 grep -v '^ *+' conftest.er1 >conftest.err
20170 rm -f conftest.er1
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } && {
20174 test -z "$ac_c_werror_flag" ||
20175 test ! -s conftest.err
20176 } && test -s conftest.$ac_objext; then
20177 ac_hi=-1 ac_mid=-1
20178 while :; do
20179 cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h. */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 $ac_includes_default
20186 typedef void * ac__type_sizeof_;
20187 int
20188 main ()
20189 {
20190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20191 test_array [0] = 0
20192
20193 ;
20194 return 0;
20195 }
20196 _ACEOF
20197 rm -f conftest.$ac_objext
20198 if { (ac_try="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20201 *) ac_try_echo=$ac_try;;
20202 esac
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20205 ac_status=$?
20206 grep -v '^ *+' conftest.er1 >conftest.err
20207 rm -f conftest.er1
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.$ac_objext; then
20214 ac_lo=$ac_mid; break
20215 else
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219 ac_hi=`expr '(' $ac_mid ')' - 1`
20220 if test $ac_mid -le $ac_hi; then
20221 ac_lo= ac_hi=
20222 break
20223 fi
20224 ac_mid=`expr 2 '*' $ac_mid`
20225 fi
20226
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 done
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233 ac_lo= ac_hi=
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 # Binary search between lo and hi bounds.
20241 while test "x$ac_lo" != "x$ac_hi"; do
20242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef void * ac__type_sizeof_;
20251 int
20252 main ()
20253 {
20254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20255 test_array [0] = 0
20256
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (ac_try="$ac_compile"
20263 case "(($ac_try" in
20264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20266 esac
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_compile") 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } && {
20275 test -z "$ac_c_werror_flag" ||
20276 test ! -s conftest.err
20277 } && test -s conftest.$ac_objext; then
20278 ac_hi=$ac_mid
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 ac_lo=`expr '(' $ac_mid ')' + 1`
20284 fi
20285
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20287 done
20288 case $ac_lo in
20289 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20290 '') if test "$ac_cv_type_void_p" = yes; then
20291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20292 See \`config.log' for more details." >&5
20293 echo "$as_me: error: cannot compute sizeof (void *)
20294 See \`config.log' for more details." >&2;}
20295 { (exit 77); exit 77; }; }
20296 else
20297 ac_cv_sizeof_void_p=0
20298 fi ;;
20299 esac
20300 else
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef void * ac__type_sizeof_;
20309 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20310 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20311 #include <stdio.h>
20312 #include <stdlib.h>
20313 int
20314 main ()
20315 {
20316
20317 FILE *f = fopen ("conftest.val", "w");
20318 if (! f)
20319 return 1;
20320 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20321 {
20322 long int i = longval ();
20323 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20324 return 1;
20325 fprintf (f, "%ld\n", i);
20326 }
20327 else
20328 {
20329 unsigned long int i = ulongval ();
20330 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20331 return 1;
20332 fprintf (f, "%lu\n", i);
20333 }
20334 return ferror (f) || fclose (f) != 0;
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest$ac_exeext
20341 if { (ac_try="$ac_link"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20345 esac
20346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_link") 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20351 { (case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20354 esac
20355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_try") 2>&5
20357 ac_status=$?
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; }; then
20360 ac_cv_sizeof_void_p=`cat conftest.val`
20361 else
20362 echo "$as_me: program exited with status $ac_status" >&5
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 ( exit $ac_status )
20367 if test "$ac_cv_type_void_p" = yes; then
20368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20369 See \`config.log' for more details." >&5
20370 echo "$as_me: error: cannot compute sizeof (void *)
20371 See \`config.log' for more details." >&2;}
20372 { (exit 77); exit 77; }; }
20373 else
20374 ac_cv_sizeof_void_p=0
20375 fi
20376 fi
20377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20378 fi
20379 rm -f conftest.val
20380 fi
20381 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20382 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20383
20384
20385
20386 cat >>confdefs.h <<_ACEOF
20387 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20388 _ACEOF
20389
20390
20391 { echo "$as_me:$LINENO: checking for int" >&5
20392 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20393 if test "${ac_cv_type_int+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 else
20396 cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20403 typedef int ac__type_new_;
20404 int
20405 main ()
20406 {
20407 if ((ac__type_new_ *) 0)
20408 return 0;
20409 if (sizeof (ac__type_new_))
20410 return 0;
20411 ;
20412 return 0;
20413 }
20414 _ACEOF
20415 rm -f conftest.$ac_objext
20416 if { (ac_try="$ac_compile"
20417 case "(($ac_try" in
20418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20420 esac
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20423 ac_status=$?
20424 grep -v '^ *+' conftest.er1 >conftest.err
20425 rm -f conftest.er1
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_c_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.$ac_objext; then
20432 ac_cv_type_int=yes
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ac_cv_type_int=no
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 fi
20442 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20443 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20444
20445 # The cast to long int works around a bug in the HP C Compiler
20446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20448 # This bug is HP SR number 8606223364.
20449 { echo "$as_me:$LINENO: checking size of int" >&5
20450 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20451 if test "${ac_cv_sizeof_int+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 if test "$cross_compiling" = yes; then
20455 # Depending upon the size, compute the lo and hi bounds.
20456 cat >conftest.$ac_ext <<_ACEOF
20457 /* confdefs.h. */
20458 _ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20463 typedef int ac__type_sizeof_;
20464 int
20465 main ()
20466 {
20467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20468 test_array [0] = 0
20469
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext
20475 if { (ac_try="$ac_compile"
20476 case "(($ac_try" in
20477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20479 esac
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_compile") 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } && {
20488 test -z "$ac_c_werror_flag" ||
20489 test ! -s conftest.err
20490 } && test -s conftest.$ac_objext; then
20491 ac_lo=0 ac_mid=0
20492 while :; do
20493 cat >conftest.$ac_ext <<_ACEOF
20494 /* confdefs.h. */
20495 _ACEOF
20496 cat confdefs.h >>conftest.$ac_ext
20497 cat >>conftest.$ac_ext <<_ACEOF
20498 /* end confdefs.h. */
20499 $ac_includes_default
20500 typedef int ac__type_sizeof_;
20501 int
20502 main ()
20503 {
20504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20505 test_array [0] = 0
20506
20507 ;
20508 return 0;
20509 }
20510 _ACEOF
20511 rm -f conftest.$ac_objext
20512 if { (ac_try="$ac_compile"
20513 case "(($ac_try" in
20514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20515 *) ac_try_echo=$ac_try;;
20516 esac
20517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 (eval "$ac_compile") 2>conftest.er1
20519 ac_status=$?
20520 grep -v '^ *+' conftest.er1 >conftest.err
20521 rm -f conftest.er1
20522 cat conftest.err >&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } && {
20525 test -z "$ac_c_werror_flag" ||
20526 test ! -s conftest.err
20527 } && test -s conftest.$ac_objext; then
20528 ac_hi=$ac_mid; break
20529 else
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.$ac_ext >&5
20532
20533 ac_lo=`expr $ac_mid + 1`
20534 if test $ac_lo -le $ac_mid; then
20535 ac_lo= ac_hi=
20536 break
20537 fi
20538 ac_mid=`expr 2 '*' $ac_mid + 1`
20539 fi
20540
20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20542 done
20543 else
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20546
20547 cat >conftest.$ac_ext <<_ACEOF
20548 /* confdefs.h. */
20549 _ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 typedef int ac__type_sizeof_;
20555 int
20556 main ()
20557 {
20558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20559 test_array [0] = 0
20560
20561 ;
20562 return 0;
20563 }
20564 _ACEOF
20565 rm -f conftest.$ac_objext
20566 if { (ac_try="$ac_compile"
20567 case "(($ac_try" in
20568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20570 esac
20571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_compile") 2>conftest.er1
20573 ac_status=$?
20574 grep -v '^ *+' conftest.er1 >conftest.err
20575 rm -f conftest.er1
20576 cat conftest.err >&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); } && {
20579 test -z "$ac_c_werror_flag" ||
20580 test ! -s conftest.err
20581 } && test -s conftest.$ac_objext; then
20582 ac_hi=-1 ac_mid=-1
20583 while :; do
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef int ac__type_sizeof_;
20592 int
20593 main ()
20594 {
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20596 test_array [0] = 0
20597
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest.$ac_objext
20603 if { (ac_try="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20607 esac
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20610 ac_status=$?
20611 grep -v '^ *+' conftest.er1 >conftest.err
20612 rm -f conftest.er1
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20619 ac_lo=$ac_mid; break
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 ac_hi=`expr '(' $ac_mid ')' - 1`
20625 if test $ac_mid -le $ac_hi; then
20626 ac_lo= ac_hi=
20627 break
20628 fi
20629 ac_mid=`expr 2 '*' $ac_mid`
20630 fi
20631
20632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20633 done
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638 ac_lo= ac_hi=
20639 fi
20640
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 # Binary search between lo and hi bounds.
20646 while test "x$ac_lo" != "x$ac_hi"; do
20647 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef int ac__type_sizeof_;
20656 int
20657 main ()
20658 {
20659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20660 test_array [0] = 0
20661
20662 ;
20663 return 0;
20664 }
20665 _ACEOF
20666 rm -f conftest.$ac_objext
20667 if { (ac_try="$ac_compile"
20668 case "(($ac_try" in
20669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20670 *) ac_try_echo=$ac_try;;
20671 esac
20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20673 (eval "$ac_compile") 2>conftest.er1
20674 ac_status=$?
20675 grep -v '^ *+' conftest.er1 >conftest.err
20676 rm -f conftest.er1
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } && {
20680 test -z "$ac_c_werror_flag" ||
20681 test ! -s conftest.err
20682 } && test -s conftest.$ac_objext; then
20683 ac_hi=$ac_mid
20684 else
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20687
20688 ac_lo=`expr '(' $ac_mid ')' + 1`
20689 fi
20690
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20692 done
20693 case $ac_lo in
20694 ?*) ac_cv_sizeof_int=$ac_lo;;
20695 '') if test "$ac_cv_type_int" = yes; then
20696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20697 See \`config.log' for more details." >&5
20698 echo "$as_me: error: cannot compute sizeof (int)
20699 See \`config.log' for more details." >&2;}
20700 { (exit 77); exit 77; }; }
20701 else
20702 ac_cv_sizeof_int=0
20703 fi ;;
20704 esac
20705 else
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef int ac__type_sizeof_;
20714 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20715 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20716 #include <stdio.h>
20717 #include <stdlib.h>
20718 int
20719 main ()
20720 {
20721
20722 FILE *f = fopen ("conftest.val", "w");
20723 if (! f)
20724 return 1;
20725 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20726 {
20727 long int i = longval ();
20728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20729 return 1;
20730 fprintf (f, "%ld\n", i);
20731 }
20732 else
20733 {
20734 unsigned long int i = ulongval ();
20735 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20736 return 1;
20737 fprintf (f, "%lu\n", i);
20738 }
20739 return ferror (f) || fclose (f) != 0;
20740
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 rm -f conftest$ac_exeext
20746 if { (ac_try="$ac_link"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20750 esac
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_link") 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20756 { (case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_try") 2>&5
20762 ac_status=$?
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); }; }; then
20765 ac_cv_sizeof_int=`cat conftest.val`
20766 else
20767 echo "$as_me: program exited with status $ac_status" >&5
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20770
20771 ( exit $ac_status )
20772 if test "$ac_cv_type_int" = yes; then
20773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20774 See \`config.log' for more details." >&5
20775 echo "$as_me: error: cannot compute sizeof (int)
20776 See \`config.log' for more details." >&2;}
20777 { (exit 77); exit 77; }; }
20778 else
20779 ac_cv_sizeof_int=0
20780 fi
20781 fi
20782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20783 fi
20784 rm -f conftest.val
20785 fi
20786 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20787 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20788
20789
20790
20791 cat >>confdefs.h <<_ACEOF
20792 #define SIZEOF_INT $ac_cv_sizeof_int
20793 _ACEOF
20794
20795
20796 { echo "$as_me:$LINENO: checking for long" >&5
20797 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20798 if test "${ac_cv_type_long+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 else
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef long ac__type_new_;
20809 int
20810 main ()
20811 {
20812 if ((ac__type_new_ *) 0)
20813 return 0;
20814 if (sizeof (ac__type_new_))
20815 return 0;
20816 ;
20817 return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_type_long=yes
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 ac_cv_type_long=no
20843 fi
20844
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 fi
20847 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20848 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20849
20850 # The cast to long int works around a bug in the HP C Compiler
20851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20853 # This bug is HP SR number 8606223364.
20854 { echo "$as_me:$LINENO: checking size of long" >&5
20855 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20856 if test "${ac_cv_sizeof_long+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 else
20859 if test "$cross_compiling" = yes; then
20860 # Depending upon the size, compute the lo and hi bounds.
20861 cat >conftest.$ac_ext <<_ACEOF
20862 /* confdefs.h. */
20863 _ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef long ac__type_sizeof_;
20869 int
20870 main ()
20871 {
20872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20873 test_array [0] = 0
20874
20875 ;
20876 return 0;
20877 }
20878 _ACEOF
20879 rm -f conftest.$ac_objext
20880 if { (ac_try="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20884 esac
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.$ac_objext; then
20896 ac_lo=0 ac_mid=0
20897 while :; do
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20905 typedef long ac__type_sizeof_;
20906 int
20907 main ()
20908 {
20909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20910 test_array [0] = 0
20911
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 ac_hi=$ac_mid; break
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 ac_lo=`expr $ac_mid + 1`
20939 if test $ac_lo -le $ac_mid; then
20940 ac_lo= ac_hi=
20941 break
20942 fi
20943 ac_mid=`expr 2 '*' $ac_mid + 1`
20944 fi
20945
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 done
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 cat >conftest.$ac_ext <<_ACEOF
20953 /* confdefs.h. */
20954 _ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 $ac_includes_default
20959 typedef long ac__type_sizeof_;
20960 int
20961 main ()
20962 {
20963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20964 test_array [0] = 0
20965
20966 ;
20967 return 0;
20968 }
20969 _ACEOF
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20975 esac
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20987 ac_hi=-1 ac_mid=-1
20988 while :; do
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20996 typedef long ac__type_sizeof_;
20997 int
20998 main ()
20999 {
21000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21001 test_array [0] = 0
21002
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21012 esac
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21015 ac_status=$?
21016 grep -v '^ *+' conftest.er1 >conftest.err
21017 rm -f conftest.er1
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21024 ac_lo=$ac_mid; break
21025 else
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21028
21029 ac_hi=`expr '(' $ac_mid ')' - 1`
21030 if test $ac_mid -le $ac_hi; then
21031 ac_lo= ac_hi=
21032 break
21033 fi
21034 ac_mid=`expr 2 '*' $ac_mid`
21035 fi
21036
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 done
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_lo= ac_hi=
21044 fi
21045
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x$ac_lo" != "x$ac_hi"; do
21052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef long ac__type_sizeof_;
21061 int
21062 main ()
21063 {
21064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21065 test_array [0] = 0
21066
21067 ;
21068 return 0;
21069 }
21070 _ACEOF
21071 rm -f conftest.$ac_objext
21072 if { (ac_try="$ac_compile"
21073 case "(($ac_try" in
21074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21076 esac
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_compile") 2>conftest.er1
21079 ac_status=$?
21080 grep -v '^ *+' conftest.er1 >conftest.err
21081 rm -f conftest.er1
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest.$ac_objext; then
21088 ac_hi=$ac_mid
21089 else
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21092
21093 ac_lo=`expr '(' $ac_mid ')' + 1`
21094 fi
21095
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21097 done
21098 case $ac_lo in
21099 ?*) ac_cv_sizeof_long=$ac_lo;;
21100 '') if test "$ac_cv_type_long" = yes; then
21101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21102 See \`config.log' for more details." >&5
21103 echo "$as_me: error: cannot compute sizeof (long)
21104 See \`config.log' for more details." >&2;}
21105 { (exit 77); exit 77; }; }
21106 else
21107 ac_cv_sizeof_long=0
21108 fi ;;
21109 esac
21110 else
21111 cat >conftest.$ac_ext <<_ACEOF
21112 /* confdefs.h. */
21113 _ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef long ac__type_sizeof_;
21119 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21121 #include <stdio.h>
21122 #include <stdlib.h>
21123 int
21124 main ()
21125 {
21126
21127 FILE *f = fopen ("conftest.val", "w");
21128 if (! f)
21129 return 1;
21130 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21131 {
21132 long int i = longval ();
21133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21134 return 1;
21135 fprintf (f, "%ld\n", i);
21136 }
21137 else
21138 {
21139 unsigned long int i = ulongval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21141 return 1;
21142 fprintf (f, "%lu\n", i);
21143 }
21144 return ferror (f) || fclose (f) != 0;
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest$ac_exeext
21151 if { (ac_try="$ac_link"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_link") 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21164 esac
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_sizeof_long=`cat conftest.val`
21171 else
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21175
21176 ( exit $ac_status )
21177 if test "$ac_cv_type_long" = yes; then
21178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21179 See \`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (long)
21181 See \`config.log' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21183 else
21184 ac_cv_sizeof_long=0
21185 fi
21186 fi
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21188 fi
21189 rm -f conftest.val
21190 fi
21191 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21192 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21193
21194
21195
21196 cat >>confdefs.h <<_ACEOF
21197 #define SIZEOF_LONG $ac_cv_sizeof_long
21198 _ACEOF
21199
21200
21201 { echo "$as_me:$LINENO: checking for size_t" >&5
21202 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21203 if test "${ac_cv_type_size_t+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 else
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 typedef size_t ac__type_new_;
21214 int
21215 main ()
21216 {
21217 if ((ac__type_new_ *) 0)
21218 return 0;
21219 if (sizeof (ac__type_new_))
21220 return 0;
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21230 esac
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_cv_type_size_t=yes
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_cv_type_size_t=no
21248 fi
21249
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 fi
21252 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21253 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21254
21255 # The cast to long int works around a bug in the HP C Compiler
21256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21258 # This bug is HP SR number 8606223364.
21259 { echo "$as_me:$LINENO: checking size of size_t" >&5
21260 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21261 if test "${ac_cv_sizeof_size_t+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 else
21264 if test "$cross_compiling" = yes; then
21265 # Depending upon the size, compute the lo and hi bounds.
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef size_t ac__type_sizeof_;
21274 int
21275 main ()
21276 {
21277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21278 test_array [0] = 0
21279
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 rm -f conftest.$ac_objext
21285 if { (ac_try="$ac_compile"
21286 case "(($ac_try" in
21287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21289 esac
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_compile") 2>conftest.er1
21292 ac_status=$?
21293 grep -v '^ *+' conftest.er1 >conftest.err
21294 rm -f conftest.er1
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err
21300 } && test -s conftest.$ac_objext; then
21301 ac_lo=0 ac_mid=0
21302 while :; do
21303 cat >conftest.$ac_ext <<_ACEOF
21304 /* confdefs.h. */
21305 _ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21310 typedef size_t ac__type_sizeof_;
21311 int
21312 main ()
21313 {
21314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21315 test_array [0] = 0
21316
21317 ;
21318 return 0;
21319 }
21320 _ACEOF
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21326 esac
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.$ac_objext; then
21338 ac_hi=$ac_mid; break
21339 else
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.$ac_ext >&5
21342
21343 ac_lo=`expr $ac_mid + 1`
21344 if test $ac_lo -le $ac_mid; then
21345 ac_lo= ac_hi=
21346 break
21347 fi
21348 ac_mid=`expr 2 '*' $ac_mid + 1`
21349 fi
21350
21351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21352 done
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21356
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef size_t ac__type_sizeof_;
21365 int
21366 main ()
21367 {
21368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21369 test_array [0] = 0
21370
21371 ;
21372 return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext
21376 if { (ac_try="$ac_compile"
21377 case "(($ac_try" in
21378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21379 *) ac_try_echo=$ac_try;;
21380 esac
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_compile") 2>conftest.er1
21383 ac_status=$?
21384 grep -v '^ *+' conftest.er1 >conftest.err
21385 rm -f conftest.er1
21386 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && {
21389 test -z "$ac_c_werror_flag" ||
21390 test ! -s conftest.err
21391 } && test -s conftest.$ac_objext; then
21392 ac_hi=-1 ac_mid=-1
21393 while :; do
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401 typedef size_t ac__type_sizeof_;
21402 int
21403 main ()
21404 {
21405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21406 test_array [0] = 0
21407
21408 ;
21409 return 0;
21410 }
21411 _ACEOF
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21416 *) ac_try_echo=$ac_try;;
21417 esac
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.$ac_objext; then
21429 ac_lo=$ac_mid; break
21430 else
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.$ac_ext >&5
21433
21434 ac_hi=`expr '(' $ac_mid ')' - 1`
21435 if test $ac_mid -le $ac_hi; then
21436 ac_lo= ac_hi=
21437 break
21438 fi
21439 ac_mid=`expr 2 '*' $ac_mid`
21440 fi
21441
21442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21443 done
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21447
21448 ac_lo= ac_hi=
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 # Binary search between lo and hi bounds.
21456 while test "x$ac_lo" != "x$ac_hi"; do
21457 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef size_t ac__type_sizeof_;
21466 int
21467 main ()
21468 {
21469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21470 test_array [0] = 0
21471
21472 ;
21473 return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest.$ac_objext
21477 if { (ac_try="$ac_compile"
21478 case "(($ac_try" in
21479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21480 *) ac_try_echo=$ac_try;;
21481 esac
21482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21483 (eval "$ac_compile") 2>conftest.er1
21484 ac_status=$?
21485 grep -v '^ *+' conftest.er1 >conftest.err
21486 rm -f conftest.er1
21487 cat conftest.err >&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && {
21490 test -z "$ac_c_werror_flag" ||
21491 test ! -s conftest.err
21492 } && test -s conftest.$ac_objext; then
21493 ac_hi=$ac_mid
21494 else
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21497
21498 ac_lo=`expr '(' $ac_mid ')' + 1`
21499 fi
21500
21501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21502 done
21503 case $ac_lo in
21504 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21505 '') if test "$ac_cv_type_size_t" = yes; then
21506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21507 See \`config.log' for more details." >&5
21508 echo "$as_me: error: cannot compute sizeof (size_t)
21509 See \`config.log' for more details." >&2;}
21510 { (exit 77); exit 77; }; }
21511 else
21512 ac_cv_sizeof_size_t=0
21513 fi ;;
21514 esac
21515 else
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef size_t ac__type_sizeof_;
21524 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21526 #include <stdio.h>
21527 #include <stdlib.h>
21528 int
21529 main ()
21530 {
21531
21532 FILE *f = fopen ("conftest.val", "w");
21533 if (! f)
21534 return 1;
21535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21536 {
21537 long int i = longval ();
21538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21539 return 1;
21540 fprintf (f, "%ld\n", i);
21541 }
21542 else
21543 {
21544 unsigned long int i = ulongval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21546 return 1;
21547 fprintf (f, "%lu\n", i);
21548 }
21549 return ferror (f) || fclose (f) != 0;
21550
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest$ac_exeext
21556 if { (ac_try="$ac_link"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_link") 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21569 esac
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_sizeof_size_t=`cat conftest.val`
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 if test "$ac_cv_type_size_t" = yes; then
21583 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21584 See \`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (size_t)
21586 See \`config.log' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21588 else
21589 ac_cv_sizeof_size_t=0
21590 fi
21591 fi
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21593 fi
21594 rm -f conftest.val
21595 fi
21596 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21597 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21598
21599
21600
21601 cat >>confdefs.h <<_ACEOF
21602 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21603 _ACEOF
21604
21605
21606
21607 case "${host}" in
21608 arm-*-linux* )
21609 { echo "$as_me:$LINENO: checking for long long" >&5
21610 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21611 if test "${ac_cv_type_long_long+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 else
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 typedef long long ac__type_new_;
21622 int
21623 main ()
21624 {
21625 if ((ac__type_new_ *) 0)
21626 return 0;
21627 if (sizeof (ac__type_new_))
21628 return 0;
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (ac_try="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21638 esac
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21641 ac_status=$?
21642 grep -v '^ *+' conftest.er1 >conftest.err
21643 rm -f conftest.er1
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } && {
21647 test -z "$ac_c_werror_flag" ||
21648 test ! -s conftest.err
21649 } && test -s conftest.$ac_objext; then
21650 ac_cv_type_long_long=yes
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 ac_cv_type_long_long=no
21656 fi
21657
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 fi
21660 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21661 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21662
21663 # The cast to long int works around a bug in the HP C Compiler
21664 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21665 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21666 # This bug is HP SR number 8606223364.
21667 { echo "$as_me:$LINENO: checking size of long long" >&5
21668 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21669 if test "${ac_cv_sizeof_long_long+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 else
21672 if test "$cross_compiling" = yes; then
21673 # Depending upon the size, compute the lo and hi bounds.
21674 cat >conftest.$ac_ext <<_ACEOF
21675 /* confdefs.h. */
21676 _ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 $ac_includes_default
21681 typedef long long ac__type_sizeof_;
21682 int
21683 main ()
21684 {
21685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21686 test_array [0] = 0
21687
21688 ;
21689 return 0;
21690 }
21691 _ACEOF
21692 rm -f conftest.$ac_objext
21693 if { (ac_try="$ac_compile"
21694 case "(($ac_try" in
21695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21696 *) ac_try_echo=$ac_try;;
21697 esac
21698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21699 (eval "$ac_compile") 2>conftest.er1
21700 ac_status=$?
21701 grep -v '^ *+' conftest.er1 >conftest.err
21702 rm -f conftest.er1
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } && {
21706 test -z "$ac_c_werror_flag" ||
21707 test ! -s conftest.err
21708 } && test -s conftest.$ac_objext; then
21709 ac_lo=0 ac_mid=0
21710 while :; do
21711 cat >conftest.$ac_ext <<_ACEOF
21712 /* confdefs.h. */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 $ac_includes_default
21718 typedef long long ac__type_sizeof_;
21719 int
21720 main ()
21721 {
21722 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21723 test_array [0] = 0
21724
21725 ;
21726 return 0;
21727 }
21728 _ACEOF
21729 rm -f conftest.$ac_objext
21730 if { (ac_try="$ac_compile"
21731 case "(($ac_try" in
21732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21733 *) ac_try_echo=$ac_try;;
21734 esac
21735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21736 (eval "$ac_compile") 2>conftest.er1
21737 ac_status=$?
21738 grep -v '^ *+' conftest.er1 >conftest.err
21739 rm -f conftest.er1
21740 cat conftest.err >&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } && {
21743 test -z "$ac_c_werror_flag" ||
21744 test ! -s conftest.err
21745 } && test -s conftest.$ac_objext; then
21746 ac_hi=$ac_mid; break
21747 else
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21750
21751 ac_lo=`expr $ac_mid + 1`
21752 if test $ac_lo -le $ac_mid; then
21753 ac_lo= ac_hi=
21754 break
21755 fi
21756 ac_mid=`expr 2 '*' $ac_mid + 1`
21757 fi
21758
21759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21760 done
21761 else
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21764
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21773 int
21774 main ()
21775 {
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21777 test_array [0] = 0
21778
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext
21784 if { (ac_try="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21788 esac
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21800 ac_hi=-1 ac_mid=-1
21801 while :; do
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_lo=$ac_mid; break
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_hi=`expr '(' $ac_mid ')' - 1`
21843 if test $ac_mid -le $ac_hi; then
21844 ac_lo= ac_hi=
21845 break
21846 fi
21847 ac_mid=`expr 2 '*' $ac_mid`
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 done
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 ac_lo= ac_hi=
21857 fi
21858
21859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 # Binary search between lo and hi bounds.
21864 while test "x$ac_lo" != "x$ac_hi"; do
21865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21866 cat >conftest.$ac_ext <<_ACEOF
21867 /* confdefs.h. */
21868 _ACEOF
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 $ac_includes_default
21873 typedef long long ac__type_sizeof_;
21874 int
21875 main ()
21876 {
21877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21878 test_array [0] = 0
21879
21880 ;
21881 return 0;
21882 }
21883 _ACEOF
21884 rm -f conftest.$ac_objext
21885 if { (ac_try="$ac_compile"
21886 case "(($ac_try" in
21887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21888 *) ac_try_echo=$ac_try;;
21889 esac
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21891 (eval "$ac_compile") 2>conftest.er1
21892 ac_status=$?
21893 grep -v '^ *+' conftest.er1 >conftest.err
21894 rm -f conftest.er1
21895 cat conftest.err >&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } && {
21898 test -z "$ac_c_werror_flag" ||
21899 test ! -s conftest.err
21900 } && test -s conftest.$ac_objext; then
21901 ac_hi=$ac_mid
21902 else
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906 ac_lo=`expr '(' $ac_mid ')' + 1`
21907 fi
21908
21909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21910 done
21911 case $ac_lo in
21912 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21913 '') if test "$ac_cv_type_long_long" = yes; then
21914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21915 See \`config.log' for more details." >&5
21916 echo "$as_me: error: cannot compute sizeof (long long)
21917 See \`config.log' for more details." >&2;}
21918 { (exit 77); exit 77; }; }
21919 else
21920 ac_cv_sizeof_long_long=0
21921 fi ;;
21922 esac
21923 else
21924 cat >conftest.$ac_ext <<_ACEOF
21925 /* confdefs.h. */
21926 _ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 $ac_includes_default
21931 typedef long long ac__type_sizeof_;
21932 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21933 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21934 #include <stdio.h>
21935 #include <stdlib.h>
21936 int
21937 main ()
21938 {
21939
21940 FILE *f = fopen ("conftest.val", "w");
21941 if (! f)
21942 return 1;
21943 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21944 {
21945 long int i = longval ();
21946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21947 return 1;
21948 fprintf (f, "%ld\n", i);
21949 }
21950 else
21951 {
21952 unsigned long int i = ulongval ();
21953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21954 return 1;
21955 fprintf (f, "%lu\n", i);
21956 }
21957 return ferror (f) || fclose (f) != 0;
21958
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 rm -f conftest$ac_exeext
21964 if { (ac_try="$ac_link"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21968 esac
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_link") 2>&5
21971 ac_status=$?
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21974 { (case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_try") 2>&5
21980 ac_status=$?
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_sizeof_long_long=`cat conftest.val`
21984 else
21985 echo "$as_me: program exited with status $ac_status" >&5
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21988
21989 ( exit $ac_status )
21990 if test "$ac_cv_type_long_long" = yes; then
21991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21992 See \`config.log' for more details." >&5
21993 echo "$as_me: error: cannot compute sizeof (long long)
21994 See \`config.log' for more details." >&2;}
21995 { (exit 77); exit 77; }; }
21996 else
21997 ac_cv_sizeof_long_long=0
21998 fi
21999 fi
22000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22001 fi
22002 rm -f conftest.val
22003 fi
22004 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22005 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22006
22007
22008
22009 cat >>confdefs.h <<_ACEOF
22010 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22011 _ACEOF
22012
22013
22014 ;;
22015 *-hp-hpux* )
22016 { echo "$as_me:$LINENO: checking for long long" >&5
22017 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22018 if test "${ac_cv_type_long_long+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 else
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 $ac_includes_default
22028 typedef long long ac__type_new_;
22029 int
22030 main ()
22031 {
22032 if ((ac__type_new_ *) 0)
22033 return 0;
22034 if (sizeof (ac__type_new_))
22035 return 0;
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (ac_try="$ac_compile"
22042 case "(($ac_try" in
22043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22044 *) ac_try_echo=$ac_try;;
22045 esac
22046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22047 (eval "$ac_compile") 2>conftest.er1
22048 ac_status=$?
22049 grep -v '^ *+' conftest.er1 >conftest.err
22050 rm -f conftest.er1
22051 cat conftest.err >&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); } && {
22054 test -z "$ac_c_werror_flag" ||
22055 test ! -s conftest.err
22056 } && test -s conftest.$ac_objext; then
22057 ac_cv_type_long_long=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_cv_type_long_long=no
22063 fi
22064
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22068 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22069
22070 # The cast to long int works around a bug in the HP C Compiler
22071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22073 # This bug is HP SR number 8606223364.
22074 { echo "$as_me:$LINENO: checking size of long long" >&5
22075 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22076 if test "${ac_cv_sizeof_long_long+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079 if test "$cross_compiling" = yes; then
22080 # Depending upon the size, compute the lo and hi bounds.
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_sizeof_;
22089 int
22090 main ()
22091 {
22092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22093 test_array [0] = 0
22094
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 rm -f conftest.$ac_objext
22100 if { (ac_try="$ac_compile"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22104 esac
22105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22106 (eval "$ac_compile") 2>conftest.er1
22107 ac_status=$?
22108 grep -v '^ *+' conftest.er1 >conftest.err
22109 rm -f conftest.er1
22110 cat conftest.err >&5
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); } && {
22113 test -z "$ac_c_werror_flag" ||
22114 test ! -s conftest.err
22115 } && test -s conftest.$ac_objext; then
22116 ac_lo=0 ac_mid=0
22117 while :; do
22118 cat >conftest.$ac_ext <<_ACEOF
22119 /* confdefs.h. */
22120 _ACEOF
22121 cat confdefs.h >>conftest.$ac_ext
22122 cat >>conftest.$ac_ext <<_ACEOF
22123 /* end confdefs.h. */
22124 $ac_includes_default
22125 typedef long long ac__type_sizeof_;
22126 int
22127 main ()
22128 {
22129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22130 test_array [0] = 0
22131
22132 ;
22133 return 0;
22134 }
22135 _ACEOF
22136 rm -f conftest.$ac_objext
22137 if { (ac_try="$ac_compile"
22138 case "(($ac_try" in
22139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22141 esac
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_compile") 2>conftest.er1
22144 ac_status=$?
22145 grep -v '^ *+' conftest.er1 >conftest.err
22146 rm -f conftest.er1
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } && {
22150 test -z "$ac_c_werror_flag" ||
22151 test ! -s conftest.err
22152 } && test -s conftest.$ac_objext; then
22153 ac_hi=$ac_mid; break
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 ac_lo=`expr $ac_mid + 1`
22159 if test $ac_lo -le $ac_mid; then
22160 ac_lo= ac_hi=
22161 break
22162 fi
22163 ac_mid=`expr 2 '*' $ac_mid + 1`
22164 fi
22165
22166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22167 done
22168 else
22169 echo "$as_me: failed program was:" >&5
22170 sed 's/^/| /' conftest.$ac_ext >&5
22171
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178 $ac_includes_default
22179 typedef long long ac__type_sizeof_;
22180 int
22181 main ()
22182 {
22183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22184 test_array [0] = 0
22185
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 rm -f conftest.$ac_objext
22191 if { (ac_try="$ac_compile"
22192 case "(($ac_try" in
22193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22195 esac
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_compile") 2>conftest.er1
22198 ac_status=$?
22199 grep -v '^ *+' conftest.er1 >conftest.err
22200 rm -f conftest.er1
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } && {
22204 test -z "$ac_c_werror_flag" ||
22205 test ! -s conftest.err
22206 } && test -s conftest.$ac_objext; then
22207 ac_hi=-1 ac_mid=-1
22208 while :; do
22209 cat >conftest.$ac_ext <<_ACEOF
22210 /* confdefs.h. */
22211 _ACEOF
22212 cat confdefs.h >>conftest.$ac_ext
22213 cat >>conftest.$ac_ext <<_ACEOF
22214 /* end confdefs.h. */
22215 $ac_includes_default
22216 typedef long long ac__type_sizeof_;
22217 int
22218 main ()
22219 {
22220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22221 test_array [0] = 0
22222
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext
22228 if { (ac_try="$ac_compile"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22232 esac
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_compile") 2>conftest.er1
22235 ac_status=$?
22236 grep -v '^ *+' conftest.er1 >conftest.err
22237 rm -f conftest.er1
22238 cat conftest.err >&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } && {
22241 test -z "$ac_c_werror_flag" ||
22242 test ! -s conftest.err
22243 } && test -s conftest.$ac_objext; then
22244 ac_lo=$ac_mid; break
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22248
22249 ac_hi=`expr '(' $ac_mid ')' - 1`
22250 if test $ac_mid -le $ac_hi; then
22251 ac_lo= ac_hi=
22252 break
22253 fi
22254 ac_mid=`expr 2 '*' $ac_mid`
22255 fi
22256
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 done
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ac_lo= ac_hi=
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 # Binary search between lo and hi bounds.
22271 while test "x$ac_lo" != "x$ac_hi"; do
22272 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 $ac_includes_default
22280 typedef long long ac__type_sizeof_;
22281 int
22282 main ()
22283 {
22284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22285 test_array [0] = 0
22286
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (ac_try="$ac_compile"
22293 case "(($ac_try" in
22294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22295 *) ac_try_echo=$ac_try;;
22296 esac
22297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22298 (eval "$ac_compile") 2>conftest.er1
22299 ac_status=$?
22300 grep -v '^ *+' conftest.er1 >conftest.err
22301 rm -f conftest.er1
22302 cat conftest.err >&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } && {
22305 test -z "$ac_c_werror_flag" ||
22306 test ! -s conftest.err
22307 } && test -s conftest.$ac_objext; then
22308 ac_hi=$ac_mid
22309 else
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22312
22313 ac_lo=`expr '(' $ac_mid ')' + 1`
22314 fi
22315
22316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22317 done
22318 case $ac_lo in
22319 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22320 '') if test "$ac_cv_type_long_long" = yes; then
22321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22322 See \`config.log' for more details." >&5
22323 echo "$as_me: error: cannot compute sizeof (long long)
22324 See \`config.log' for more details." >&2;}
22325 { (exit 77); exit 77; }; }
22326 else
22327 ac_cv_sizeof_long_long=0
22328 fi ;;
22329 esac
22330 else
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22341 #include <stdio.h>
22342 #include <stdlib.h>
22343 int
22344 main ()
22345 {
22346
22347 FILE *f = fopen ("conftest.val", "w");
22348 if (! f)
22349 return 1;
22350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22351 {
22352 long int i = longval ();
22353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22354 return 1;
22355 fprintf (f, "%ld\n", i);
22356 }
22357 else
22358 {
22359 unsigned long int i = ulongval ();
22360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 return 1;
22362 fprintf (f, "%lu\n", i);
22363 }
22364 return ferror (f) || fclose (f) != 0;
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest$ac_exeext
22371 if { (ac_try="$ac_link"
22372 case "(($ac_try" in
22373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22374 *) ac_try_echo=$ac_try;;
22375 esac
22376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22377 (eval "$ac_link") 2>&5
22378 ac_status=$?
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22381 { (case "(($ac_try" in
22382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22384 esac
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_try") 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_sizeof_long_long=`cat conftest.val`
22391 else
22392 echo "$as_me: program exited with status $ac_status" >&5
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22395
22396 ( exit $ac_status )
22397 if test "$ac_cv_type_long_long" = yes; then
22398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&5
22400 echo "$as_me: error: cannot compute sizeof (long long)
22401 See \`config.log' for more details." >&2;}
22402 { (exit 77); exit 77; }; }
22403 else
22404 ac_cv_sizeof_long_long=0
22405 fi
22406 fi
22407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22408 fi
22409 rm -f conftest.val
22410 fi
22411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22412 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22413
22414
22415
22416 cat >>confdefs.h <<_ACEOF
22417 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22418 _ACEOF
22419
22420
22421 if test "$ac_cv_sizeof_long_long" != 0; then
22422 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22423 fi
22424 ;;
22425 * )
22426 { echo "$as_me:$LINENO: checking for long long" >&5
22427 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22428 if test "${ac_cv_type_long_long+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22431 cat >conftest.$ac_ext <<_ACEOF
22432 /* confdefs.h. */
22433 _ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_new_;
22439 int
22440 main ()
22441 {
22442 if ((ac__type_new_ *) 0)
22443 return 0;
22444 if (sizeof (ac__type_new_))
22445 return 0;
22446 ;
22447 return 0;
22448 }
22449 _ACEOF
22450 rm -f conftest.$ac_objext
22451 if { (ac_try="$ac_compile"
22452 case "(($ac_try" in
22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454 *) ac_try_echo=$ac_try;;
22455 esac
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_compile") 2>conftest.er1
22458 ac_status=$?
22459 grep -v '^ *+' conftest.er1 >conftest.err
22460 rm -f conftest.er1
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } && {
22464 test -z "$ac_c_werror_flag" ||
22465 test ! -s conftest.err
22466 } && test -s conftest.$ac_objext; then
22467 ac_cv_type_long_long=yes
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_cv_type_long_long=no
22473 fi
22474
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 fi
22477 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22478 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22479
22480 # The cast to long int works around a bug in the HP C Compiler
22481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22483 # This bug is HP SR number 8606223364.
22484 { echo "$as_me:$LINENO: checking size of long long" >&5
22485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22486 if test "${ac_cv_sizeof_long_long+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 else
22489 if test "$cross_compiling" = yes; then
22490 # Depending upon the size, compute the lo and hi bounds.
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_sizeof_;
22499 int
22500 main ()
22501 {
22502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22503 test_array [0] = 0
22504
22505 ;
22506 return 0;
22507 }
22508 _ACEOF
22509 rm -f conftest.$ac_objext
22510 if { (ac_try="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22513 *) ac_try_echo=$ac_try;;
22514 esac
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22517 ac_status=$?
22518 grep -v '^ *+' conftest.er1 >conftest.err
22519 rm -f conftest.er1
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && {
22523 test -z "$ac_c_werror_flag" ||
22524 test ! -s conftest.err
22525 } && test -s conftest.$ac_objext; then
22526 ac_lo=0 ac_mid=0
22527 while :; do
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef long long ac__type_sizeof_;
22536 int
22537 main ()
22538 {
22539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22540 test_array [0] = 0
22541
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 rm -f conftest.$ac_objext
22547 if { (ac_try="$ac_compile"
22548 case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22550 *) ac_try_echo=$ac_try;;
22551 esac
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_compile") 2>conftest.er1
22554 ac_status=$?
22555 grep -v '^ *+' conftest.er1 >conftest.err
22556 rm -f conftest.er1
22557 cat conftest.err >&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } && {
22560 test -z "$ac_c_werror_flag" ||
22561 test ! -s conftest.err
22562 } && test -s conftest.$ac_objext; then
22563 ac_hi=$ac_mid; break
22564 else
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.$ac_ext >&5
22567
22568 ac_lo=`expr $ac_mid + 1`
22569 if test $ac_lo -le $ac_mid; then
22570 ac_lo= ac_hi=
22571 break
22572 fi
22573 ac_mid=`expr 2 '*' $ac_mid + 1`
22574 fi
22575
22576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22577 done
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22581
22582 cat >conftest.$ac_ext <<_ACEOF
22583 /* confdefs.h. */
22584 _ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 $ac_includes_default
22589 typedef long long ac__type_sizeof_;
22590 int
22591 main ()
22592 {
22593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22594 test_array [0] = 0
22595
22596 ;
22597 return 0;
22598 }
22599 _ACEOF
22600 rm -f conftest.$ac_objext
22601 if { (ac_try="$ac_compile"
22602 case "(($ac_try" in
22603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22604 *) ac_try_echo=$ac_try;;
22605 esac
22606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22607 (eval "$ac_compile") 2>conftest.er1
22608 ac_status=$?
22609 grep -v '^ *+' conftest.er1 >conftest.err
22610 rm -f conftest.er1
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } && {
22614 test -z "$ac_c_werror_flag" ||
22615 test ! -s conftest.err
22616 } && test -s conftest.$ac_objext; then
22617 ac_hi=-1 ac_mid=-1
22618 while :; do
22619 cat >conftest.$ac_ext <<_ACEOF
22620 /* confdefs.h. */
22621 _ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 $ac_includes_default
22626 typedef long long ac__type_sizeof_;
22627 int
22628 main ()
22629 {
22630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22631 test_array [0] = 0
22632
22633 ;
22634 return 0;
22635 }
22636 _ACEOF
22637 rm -f conftest.$ac_objext
22638 if { (ac_try="$ac_compile"
22639 case "(($ac_try" in
22640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22641 *) ac_try_echo=$ac_try;;
22642 esac
22643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22644 (eval "$ac_compile") 2>conftest.er1
22645 ac_status=$?
22646 grep -v '^ *+' conftest.er1 >conftest.err
22647 rm -f conftest.er1
22648 cat conftest.err >&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } && {
22651 test -z "$ac_c_werror_flag" ||
22652 test ! -s conftest.err
22653 } && test -s conftest.$ac_objext; then
22654 ac_lo=$ac_mid; break
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_hi=`expr '(' $ac_mid ')' - 1`
22660 if test $ac_mid -le $ac_hi; then
22661 ac_lo= ac_hi=
22662 break
22663 fi
22664 ac_mid=`expr 2 '*' $ac_mid`
22665 fi
22666
22667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22668 done
22669 else
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.$ac_ext >&5
22672
22673 ac_lo= ac_hi=
22674 fi
22675
22676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 # Binary search between lo and hi bounds.
22681 while test "x$ac_lo" != "x$ac_hi"; do
22682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef long long ac__type_sizeof_;
22691 int
22692 main ()
22693 {
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22695 test_array [0] = 0
22696
22697 ;
22698 return 0;
22699 }
22700 _ACEOF
22701 rm -f conftest.$ac_objext
22702 if { (ac_try="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22706 esac
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22718 ac_hi=$ac_mid
22719 else
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22722
22723 ac_lo=`expr '(' $ac_mid ')' + 1`
22724 fi
22725
22726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22727 done
22728 case $ac_lo in
22729 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22730 '') if test "$ac_cv_type_long_long" = yes; then
22731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22732 See \`config.log' for more details." >&5
22733 echo "$as_me: error: cannot compute sizeof (long long)
22734 See \`config.log' for more details." >&2;}
22735 { (exit 77); exit 77; }; }
22736 else
22737 ac_cv_sizeof_long_long=0
22738 fi ;;
22739 esac
22740 else
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef long long ac__type_sizeof_;
22749 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22750 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 #include <stdio.h>
22752 #include <stdlib.h>
22753 int
22754 main ()
22755 {
22756
22757 FILE *f = fopen ("conftest.val", "w");
22758 if (! f)
22759 return 1;
22760 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22761 {
22762 long int i = longval ();
22763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22764 return 1;
22765 fprintf (f, "%ld\n", i);
22766 }
22767 else
22768 {
22769 unsigned long int i = ulongval ();
22770 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22771 return 1;
22772 fprintf (f, "%lu\n", i);
22773 }
22774 return ferror (f) || fclose (f) != 0;
22775
22776 ;
22777 return 0;
22778 }
22779 _ACEOF
22780 rm -f conftest$ac_exeext
22781 if { (ac_try="$ac_link"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22785 esac
22786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_link") 2>&5
22788 ac_status=$?
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22791 { (case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22794 esac
22795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_try") 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 ac_cv_sizeof_long_long=`cat conftest.val`
22801 else
22802 echo "$as_me: program exited with status $ac_status" >&5
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22805
22806 ( exit $ac_status )
22807 if test "$ac_cv_type_long_long" = yes; then
22808 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22809 See \`config.log' for more details." >&5
22810 echo "$as_me: error: cannot compute sizeof (long long)
22811 See \`config.log' for more details." >&2;}
22812 { (exit 77); exit 77; }; }
22813 else
22814 ac_cv_sizeof_long_long=0
22815 fi
22816 fi
22817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22818 fi
22819 rm -f conftest.val
22820 fi
22821 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22822 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22823
22824
22825
22826 cat >>confdefs.h <<_ACEOF
22827 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22828 _ACEOF
22829
22830
22831 esac
22832
22833 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22834 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22835 if test "${ac_cv_type_wchar_t+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838 cat >conftest.$ac_ext <<_ACEOF
22839 /* confdefs.h. */
22840 _ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844
22845 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22846 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22847 # error "fake wchar_t"
22848 #endif
22849 #ifdef HAVE_WCHAR_H
22850 # ifdef __CYGWIN__
22851 # include <stddef.h>
22852 # endif
22853 # include <wchar.h>
22854 #endif
22855 #ifdef HAVE_STDLIB_H
22856 # include <stdlib.h>
22857 #endif
22858 #include <stdio.h>
22859
22860
22861
22862 typedef wchar_t ac__type_new_;
22863 int
22864 main ()
22865 {
22866 if ((ac__type_new_ *) 0)
22867 return 0;
22868 if (sizeof (ac__type_new_))
22869 return 0;
22870 ;
22871 return 0;
22872 }
22873 _ACEOF
22874 rm -f conftest.$ac_objext
22875 if { (ac_try="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22879 esac
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22882 ac_status=$?
22883 grep -v '^ *+' conftest.er1 >conftest.err
22884 rm -f conftest.er1
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && {
22888 test -z "$ac_c_werror_flag" ||
22889 test ! -s conftest.err
22890 } && test -s conftest.$ac_objext; then
22891 ac_cv_type_wchar_t=yes
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_cv_type_wchar_t=no
22897 fi
22898
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 fi
22901 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22902 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22903
22904 # The cast to long int works around a bug in the HP C Compiler
22905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22907 # This bug is HP SR number 8606223364.
22908 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22909 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22910 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 if test "$cross_compiling" = yes; then
22914 # Depending upon the size, compute the lo and hi bounds.
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921
22922 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22923 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22924 # error "fake wchar_t"
22925 #endif
22926 #ifdef HAVE_WCHAR_H
22927 # ifdef __CYGWIN__
22928 # include <stddef.h>
22929 # endif
22930 # include <wchar.h>
22931 #endif
22932 #ifdef HAVE_STDLIB_H
22933 # include <stdlib.h>
22934 #endif
22935 #include <stdio.h>
22936
22937
22938
22939 typedef wchar_t ac__type_sizeof_;
22940 int
22941 main ()
22942 {
22943 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22944 test_array [0] = 0
22945
22946 ;
22947 return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext
22951 if { (ac_try="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } && {
22964 test -z "$ac_c_werror_flag" ||
22965 test ! -s conftest.err
22966 } && test -s conftest.$ac_objext; then
22967 ac_lo=0 ac_mid=0
22968 while :; do
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975
22976 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22977 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22978 # error "fake wchar_t"
22979 #endif
22980 #ifdef HAVE_WCHAR_H
22981 # ifdef __CYGWIN__
22982 # include <stddef.h>
22983 # endif
22984 # include <wchar.h>
22985 #endif
22986 #ifdef HAVE_STDLIB_H
22987 # include <stdlib.h>
22988 #endif
22989 #include <stdio.h>
22990
22991
22992
22993 typedef wchar_t ac__type_sizeof_;
22994 int
22995 main ()
22996 {
22997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22998 test_array [0] = 0
22999
23000 ;
23001 return 0;
23002 }
23003 _ACEOF
23004 rm -f conftest.$ac_objext
23005 if { (ac_try="$ac_compile"
23006 case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23008 *) ac_try_echo=$ac_try;;
23009 esac
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_compile") 2>conftest.er1
23012 ac_status=$?
23013 grep -v '^ *+' conftest.er1 >conftest.err
23014 rm -f conftest.er1
23015 cat conftest.err >&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } && {
23018 test -z "$ac_c_werror_flag" ||
23019 test ! -s conftest.err
23020 } && test -s conftest.$ac_objext; then
23021 ac_hi=$ac_mid; break
23022 else
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23025
23026 ac_lo=`expr $ac_mid + 1`
23027 if test $ac_lo -le $ac_mid; then
23028 ac_lo= ac_hi=
23029 break
23030 fi
23031 ac_mid=`expr 2 '*' $ac_mid + 1`
23032 fi
23033
23034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23035 done
23036 else
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23039
23040 cat >conftest.$ac_ext <<_ACEOF
23041 /* confdefs.h. */
23042 _ACEOF
23043 cat confdefs.h >>conftest.$ac_ext
23044 cat >>conftest.$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23046
23047 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23048 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23049 # error "fake wchar_t"
23050 #endif
23051 #ifdef HAVE_WCHAR_H
23052 # ifdef __CYGWIN__
23053 # include <stddef.h>
23054 # endif
23055 # include <wchar.h>
23056 #endif
23057 #ifdef HAVE_STDLIB_H
23058 # include <stdlib.h>
23059 #endif
23060 #include <stdio.h>
23061
23062
23063
23064 typedef wchar_t ac__type_sizeof_;
23065 int
23066 main ()
23067 {
23068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23069 test_array [0] = 0
23070
23071 ;
23072 return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (ac_try="$ac_compile"
23077 case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23080 esac
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_compile") 2>conftest.er1
23083 ac_status=$?
23084 grep -v '^ *+' conftest.er1 >conftest.err
23085 rm -f conftest.er1
23086 cat conftest.err >&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } && {
23089 test -z "$ac_c_werror_flag" ||
23090 test ! -s conftest.err
23091 } && test -s conftest.$ac_objext; then
23092 ac_hi=-1 ac_mid=-1
23093 while :; do
23094 cat >conftest.$ac_ext <<_ACEOF
23095 /* confdefs.h. */
23096 _ACEOF
23097 cat confdefs.h >>conftest.$ac_ext
23098 cat >>conftest.$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23100
23101 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23102 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23103 # error "fake wchar_t"
23104 #endif
23105 #ifdef HAVE_WCHAR_H
23106 # ifdef __CYGWIN__
23107 # include <stddef.h>
23108 # endif
23109 # include <wchar.h>
23110 #endif
23111 #ifdef HAVE_STDLIB_H
23112 # include <stdlib.h>
23113 #endif
23114 #include <stdio.h>
23115
23116
23117
23118 typedef wchar_t ac__type_sizeof_;
23119 int
23120 main ()
23121 {
23122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23123 test_array [0] = 0
23124
23125 ;
23126 return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_lo=$ac_mid; break
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_hi=`expr '(' $ac_mid ')' - 1`
23152 if test $ac_mid -le $ac_hi; then
23153 ac_lo= ac_hi=
23154 break
23155 fi
23156 ac_mid=`expr 2 '*' $ac_mid`
23157 fi
23158
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 done
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_lo= ac_hi=
23166 fi
23167
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 fi
23170
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 # Binary search between lo and hi bounds.
23173 while test "x$ac_lo" != "x$ac_hi"; do
23174 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23175 cat >conftest.$ac_ext <<_ACEOF
23176 /* confdefs.h. */
23177 _ACEOF
23178 cat confdefs.h >>conftest.$ac_ext
23179 cat >>conftest.$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23181
23182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23184 # error "fake wchar_t"
23185 #endif
23186 #ifdef HAVE_WCHAR_H
23187 # ifdef __CYGWIN__
23188 # include <stddef.h>
23189 # endif
23190 # include <wchar.h>
23191 #endif
23192 #ifdef HAVE_STDLIB_H
23193 # include <stdlib.h>
23194 #endif
23195 #include <stdio.h>
23196
23197
23198
23199 typedef wchar_t ac__type_sizeof_;
23200 int
23201 main ()
23202 {
23203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23204 test_array [0] = 0
23205
23206 ;
23207 return 0;
23208 }
23209 _ACEOF
23210 rm -f conftest.$ac_objext
23211 if { (ac_try="$ac_compile"
23212 case "(($ac_try" in
23213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23215 esac
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_compile") 2>conftest.er1
23218 ac_status=$?
23219 grep -v '^ *+' conftest.er1 >conftest.err
23220 rm -f conftest.er1
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && {
23224 test -z "$ac_c_werror_flag" ||
23225 test ! -s conftest.err
23226 } && test -s conftest.$ac_objext; then
23227 ac_hi=$ac_mid
23228 else
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 ac_lo=`expr '(' $ac_mid ')' + 1`
23233 fi
23234
23235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23236 done
23237 case $ac_lo in
23238 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23239 '') if test "$ac_cv_type_wchar_t" = yes; then
23240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23241 See \`config.log' for more details." >&5
23242 echo "$as_me: error: cannot compute sizeof (wchar_t)
23243 See \`config.log' for more details." >&2;}
23244 { (exit 77); exit 77; }; }
23245 else
23246 ac_cv_sizeof_wchar_t=0
23247 fi ;;
23248 esac
23249 else
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256
23257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23259 # error "fake wchar_t"
23260 #endif
23261 #ifdef HAVE_WCHAR_H
23262 # ifdef __CYGWIN__
23263 # include <stddef.h>
23264 # endif
23265 # include <wchar.h>
23266 #endif
23267 #ifdef HAVE_STDLIB_H
23268 # include <stdlib.h>
23269 #endif
23270 #include <stdio.h>
23271
23272
23273
23274 typedef wchar_t ac__type_sizeof_;
23275 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23276 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 #include <stdio.h>
23278 #include <stdlib.h>
23279 int
23280 main ()
23281 {
23282
23283 FILE *f = fopen ("conftest.val", "w");
23284 if (! f)
23285 return 1;
23286 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23287 {
23288 long int i = longval ();
23289 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23290 return 1;
23291 fprintf (f, "%ld\n", i);
23292 }
23293 else
23294 {
23295 unsigned long int i = ulongval ();
23296 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23297 return 1;
23298 fprintf (f, "%lu\n", i);
23299 }
23300 return ferror (f) || fclose (f) != 0;
23301
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest$ac_exeext
23307 if { (ac_try="$ac_link"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23311 esac
23312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_link") 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23317 { (case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23320 esac
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_try") 2>&5
23323 ac_status=$?
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); }; }; then
23326 ac_cv_sizeof_wchar_t=`cat conftest.val`
23327 else
23328 echo "$as_me: program exited with status $ac_status" >&5
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ( exit $ac_status )
23333 if test "$ac_cv_type_wchar_t" = yes; then
23334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23335 See \`config.log' for more details." >&5
23336 echo "$as_me: error: cannot compute sizeof (wchar_t)
23337 See \`config.log' for more details." >&2;}
23338 { (exit 77); exit 77; }; }
23339 else
23340 ac_cv_sizeof_wchar_t=0
23341 fi
23342 fi
23343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23344 fi
23345 rm -f conftest.val
23346 fi
23347 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23348 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23349
23350
23351
23352 cat >>confdefs.h <<_ACEOF
23353 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23354 _ACEOF
23355
23356
23357 if test "$ac_cv_sizeof_wchar_t" != 0; then
23358 wxUSE_WCHAR_T=yes
23359 else
23360 wxUSE_WCHAR_T=no
23361 fi
23362
23363 { echo "$as_me:$LINENO: checking for va_copy" >&5
23364 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23365 if test "${wx_cv_func_va_copy+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23367 else
23368
23369 ac_ext=cpp
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23374
23375 cat >conftest.$ac_ext <<_ACEOF
23376
23377 #include <stdarg.h>
23378 void foo(char *f, ...)
23379 {
23380 va_list ap1, ap2;
23381 va_start(ap1, f);
23382 va_copy(ap2, ap1);
23383 va_end(ap2);
23384 va_end(ap1);
23385 }
23386 int main()
23387 {
23388 foo("hi", 17);
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest.$ac_objext conftest$ac_exeext
23393 if { (ac_try="$ac_link"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23397 esac
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_link") 2>conftest.er1
23400 ac_status=$?
23401 grep -v '^ *+' conftest.er1 >conftest.err
23402 rm -f conftest.er1
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_cxx_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest$ac_exeext &&
23409 $as_test_x conftest$ac_exeext; then
23410 wx_cv_func_va_copy=yes
23411 else
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.$ac_ext >&5
23414
23415 wx_cv_func_va_copy=no
23416
23417 fi
23418
23419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23420 conftest$ac_exeext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426
23427
23428
23429 fi
23430 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23431 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23432
23433 if test $wx_cv_func_va_copy = "yes"; then
23434 cat >>confdefs.h <<\_ACEOF
23435 #define HAVE_VA_COPY 1
23436 _ACEOF
23437
23438 else
23439 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23440 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23441 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444
23445 if test "$cross_compiling" = yes; then
23446 wx_cv_type_va_list_lvalue=yes
23447
23448 else
23449 cat >conftest.$ac_ext <<_ACEOF
23450
23451 #include <stdarg.h>
23452 int foo(char *f, ...)
23453 {
23454 va_list ap1, ap2;
23455 va_start(ap1, f);
23456 ap2 = ap1;
23457 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23458 return 1;
23459 va_end(ap2);
23460 va_end(ap1);
23461 return 0;
23462 }
23463 int main()
23464 {
23465 return foo("hi", 17);
23466 }
23467 _ACEOF
23468 rm -f conftest$ac_exeext
23469 if { (ac_try="$ac_link"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23473 esac
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_link") 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23479 { (case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23482 esac
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_try") 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_type_va_list_lvalue=yes
23489 else
23490 echo "$as_me: program exited with status $ac_status" >&5
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5
23493
23494 ( exit $ac_status )
23495 wx_cv_type_va_list_lvalue=no
23496 fi
23497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23498 fi
23499
23500
23501
23502
23503 fi
23504 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23505 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23506
23507 if test $wx_cv_type_va_list_lvalue != "yes"; then
23508 cat >>confdefs.h <<\_ACEOF
23509 #define VA_LIST_IS_ARRAY 1
23510 _ACEOF
23511
23512 fi
23513 fi
23514
23515 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23516
23517 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23518 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23519 if test "${wx_cv_have_variadic_macros+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23521 else
23522
23523 ac_ext=cpp
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528
23529 cat >conftest.$ac_ext <<_ACEOF
23530 /* confdefs.h. */
23531 _ACEOF
23532 cat confdefs.h >>conftest.$ac_ext
23533 cat >>conftest.$ac_ext <<_ACEOF
23534 /* end confdefs.h. */
23535
23536 #include <stdio.h>
23537 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23538
23539 int
23540 main ()
23541 {
23542
23543 test("%s %d %p", "test", 1, 0);
23544
23545
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23555 esac
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23558 ac_status=$?
23559 grep -v '^ *+' conftest.er1 >conftest.err
23560 rm -f conftest.er1
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_cxx_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23567 wx_cv_have_variadic_macros=yes
23568 else
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.$ac_ext >&5
23571
23572 wx_cv_have_variadic_macros=no
23573
23574 fi
23575
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582
23583
23584
23585 fi
23586 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23587 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23588
23589 if test $wx_cv_have_variadic_macros = "yes"; then
23590 cat >>confdefs.h <<\_ACEOF
23591 #define HAVE_VARIADIC_MACROS 1
23592 _ACEOF
23593
23594 fi
23595
23596 fi
23597
23598 LARGEFILE_CPPFLAGS=
23599 # Check whether --enable-largefile was given.
23600 if test "${enable_largefile+set}" = set; then
23601 enableval=$enable_largefile;
23602 fi
23603
23604 if test "$enable_largefile" != no; then
23605 wx_largefile=no
23606
23607 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23608 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23609 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23611 else
23612
23613 cat >conftest.$ac_ext <<_ACEOF
23614 /* confdefs.h. */
23615 _ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h. */
23619 #define _FILE_OFFSET_BITS 64
23620 #include <sys/types.h>
23621 int
23622 main ()
23623 {
23624 typedef struct {
23625 unsigned int field: sizeof(off_t) == 8;
23626 } wxlf;
23627
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext
23633 if { (ac_try="$ac_compile"
23634 case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23637 esac
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_compile") 2>conftest.er1
23640 ac_status=$?
23641 grep -v '^ *+' conftest.er1 >conftest.err
23642 rm -f conftest.er1
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } && {
23646 test -z "$ac_c_werror_flag" ||
23647 test ! -s conftest.err
23648 } && test -s conftest.$ac_objext; then
23649 ac_cv_sys_file_offset_bits=64
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ac_cv_sys_file_offset_bits=no
23655 fi
23656
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658
23659
23660 fi
23661 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23662 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23663
23664 if test "$ac_cv_sys_file_offset_bits" != no; then
23665 wx_largefile=yes
23666 cat >>confdefs.h <<_ACEOF
23667 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23668 _ACEOF
23669
23670 fi
23671
23672 if test "x$wx_largefile" != "xyes"; then
23673
23674 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23675 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23676 if test "${ac_cv_sys_large_files+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h. */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 #define _LARGE_FILES 1
23687 #include <sys/types.h>
23688 int
23689 main ()
23690 {
23691 typedef struct {
23692 unsigned int field: sizeof(off_t) == 8;
23693 } wxlf;
23694
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (ac_try="$ac_compile"
23701 case "(($ac_try" in
23702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23703 *) ac_try_echo=$ac_try;;
23704 esac
23705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23706 (eval "$ac_compile") 2>conftest.er1
23707 ac_status=$?
23708 grep -v '^ *+' conftest.er1 >conftest.err
23709 rm -f conftest.er1
23710 cat conftest.err >&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } && {
23713 test -z "$ac_c_werror_flag" ||
23714 test ! -s conftest.err
23715 } && test -s conftest.$ac_objext; then
23716 ac_cv_sys_large_files=1
23717 else
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.$ac_ext >&5
23720
23721 ac_cv_sys_large_files=no
23722 fi
23723
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725
23726
23727 fi
23728 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23729 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23730
23731 if test "$ac_cv_sys_large_files" != no; then
23732 wx_largefile=yes
23733 cat >>confdefs.h <<_ACEOF
23734 #define _LARGE_FILES $ac_cv_sys_large_files
23735 _ACEOF
23736
23737 fi
23738
23739 fi
23740
23741 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23742 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23743 if test "x$wx_largefile" = "xyes"; then
23744 cat >>confdefs.h <<\_ACEOF
23745 #define HAVE_LARGEFILE_SUPPORT 1
23746 _ACEOF
23747
23748 fi
23749 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23750 echo "${ECHO_T}$wx_largefile" >&6; }
23751 fi
23752
23753 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23754 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23755 elif test "$ac_cv_sys_large_files" = 1; then
23756 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23757 fi
23758
23759 if test -n "$LARGEFILE_CPPFLAGS"; then
23760 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23761
23762 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23763 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23764 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23765 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23766 echo $ECHO_N "(cached) $ECHO_C" >&6
23767 else
23768
23769 ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774
23775 cat >conftest.$ac_ext <<_ACEOF
23776 /* confdefs.h. */
23777 _ACEOF
23778 cat confdefs.h >>conftest.$ac_ext
23779 cat >>conftest.$ac_ext <<_ACEOF
23780 /* end confdefs.h. */
23781
23782 int
23783 main ()
23784 {
23785
23786 #ifndef __STDC_EXT__
23787 choke me
23788 #endif
23789
23790 ;
23791 return 0;
23792 }
23793 _ACEOF
23794 rm -f conftest.$ac_objext
23795 if { (ac_try="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23799 esac
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_cxx_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23811 wx_cv_STDC_EXT_required=no
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 wx_cv_STDC_EXT_required=yes
23817
23818 fi
23819
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 ac_ext=c
23822 ac_cpp='$CPP $CPPFLAGS'
23823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826
23827
23828
23829 fi
23830 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23831 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23832 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23833 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23834 fi
23835 fi
23836 fi
23837
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843
23844 old_CPPFLAGS="$CPPFLAGS"
23845 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23846 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23847 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23848 if test "${ac_cv_sys_largefile_source+set}" = set; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 else
23851 while :; do
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <sys/types.h> /* for off_t */
23859 #include <stdio.h>
23860 int
23861 main ()
23862 {
23863 int (*fp) (FILE *, off_t, int) = fseeko;
23864 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 rm -f conftest.$ac_objext conftest$ac_exeext
23870 if { (ac_try="$ac_link"
23871 case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23874 esac
23875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_link") 2>conftest.er1
23877 ac_status=$?
23878 grep -v '^ *+' conftest.er1 >conftest.err
23879 rm -f conftest.er1
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } && {
23883 test -z "$ac_cxx_werror_flag" ||
23884 test ! -s conftest.err
23885 } && test -s conftest$ac_exeext &&
23886 $as_test_x conftest$ac_exeext; then
23887 ac_cv_sys_largefile_source=no; break
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23891
23892
23893 fi
23894
23895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23896 conftest$ac_exeext conftest.$ac_ext
23897 cat >conftest.$ac_ext <<_ACEOF
23898 /* confdefs.h. */
23899 _ACEOF
23900 cat confdefs.h >>conftest.$ac_ext
23901 cat >>conftest.$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903 #define _LARGEFILE_SOURCE 1
23904 #include <sys/types.h> /* for off_t */
23905 #include <stdio.h>
23906 int
23907 main ()
23908 {
23909 int (*fp) (FILE *, off_t, int) = fseeko;
23910 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23911 ;
23912 return 0;
23913 }
23914 _ACEOF
23915 rm -f conftest.$ac_objext conftest$ac_exeext
23916 if { (ac_try="$ac_link"
23917 case "(($ac_try" in
23918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23919 *) ac_try_echo=$ac_try;;
23920 esac
23921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23922 (eval "$ac_link") 2>conftest.er1
23923 ac_status=$?
23924 grep -v '^ *+' conftest.er1 >conftest.err
23925 rm -f conftest.er1
23926 cat conftest.err >&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } && {
23929 test -z "$ac_cxx_werror_flag" ||
23930 test ! -s conftest.err
23931 } && test -s conftest$ac_exeext &&
23932 $as_test_x conftest$ac_exeext; then
23933 ac_cv_sys_largefile_source=1; break
23934 else
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23937
23938
23939 fi
23940
23941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23942 conftest$ac_exeext conftest.$ac_ext
23943 ac_cv_sys_largefile_source=unknown
23944 break
23945 done
23946 fi
23947 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23948 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23949 case $ac_cv_sys_largefile_source in #(
23950 no | unknown) ;;
23951 *)
23952 cat >>confdefs.h <<_ACEOF
23953 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23954 _ACEOF
23955 ;;
23956 esac
23957 rm -f conftest*
23958
23959 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23960 # in glibc 2.1.3, but that breaks too many other things.
23961 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23962 if test $ac_cv_sys_largefile_source != unknown; then
23963
23964 cat >>confdefs.h <<\_ACEOF
23965 #define HAVE_FSEEKO 1
23966 _ACEOF
23967
23968 fi
23969
23970 CPPFLAGS="$old_CPPFLAGS"
23971 ac_ext=c
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976
23977 if test "$ac_cv_sys_largefile_source" != no; then
23978 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23979 fi
23980
23981 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23982 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23983 if test "${ac_cv_c_bigendian+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23986 ac_cv_c_bigendian=unknown
23987 # See if sys/param.h defines the BYTE_ORDER macro.
23988 cat >conftest.$ac_ext <<_ACEOF
23989 /* confdefs.h. */
23990 _ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994 #include <sys/types.h>
23995 #include <sys/param.h>
23996 int
23997 main ()
23998 {
23999
24000 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24001 bogus endian macros
24002 #endif
24003 ;
24004 return 0;
24005 }
24006 _ACEOF
24007 rm -f conftest.$ac_objext
24008 if { (ac_try="$ac_compile"
24009 case "(($ac_try" in
24010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24011 *) ac_try_echo=$ac_try;;
24012 esac
24013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24014 (eval "$ac_compile") 2>conftest.er1
24015 ac_status=$?
24016 grep -v '^ *+' conftest.er1 >conftest.err
24017 rm -f conftest.er1
24018 cat conftest.err >&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } && {
24021 test -z "$ac_c_werror_flag" ||
24022 test ! -s conftest.err
24023 } && test -s conftest.$ac_objext; then
24024 # It does; now see whether it defined to BIG_ENDIAN or not.
24025 cat >conftest.$ac_ext <<_ACEOF
24026 /* confdefs.h. */
24027 _ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 #include <sys/types.h>
24032 #include <sys/param.h>
24033 int
24034 main ()
24035 {
24036
24037 #if BYTE_ORDER != BIG_ENDIAN
24038 not big endian
24039 #endif
24040 ;
24041 return 0;
24042 }
24043 _ACEOF
24044 rm -f conftest.$ac_objext
24045 if { (ac_try="$ac_compile"
24046 case "(($ac_try" in
24047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24048 *) ac_try_echo=$ac_try;;
24049 esac
24050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24051 (eval "$ac_compile") 2>conftest.er1
24052 ac_status=$?
24053 grep -v '^ *+' conftest.er1 >conftest.err
24054 rm -f conftest.er1
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } && {
24058 test -z "$ac_c_werror_flag" ||
24059 test ! -s conftest.err
24060 } && test -s conftest.$ac_objext; then
24061 ac_cv_c_bigendian=yes
24062 else
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.$ac_ext >&5
24065
24066 ac_cv_c_bigendian=no
24067 fi
24068
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 else
24071 echo "$as_me: failed program was:" >&5
24072 sed 's/^/| /' conftest.$ac_ext >&5
24073
24074
24075 fi
24076
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 if test $ac_cv_c_bigendian = unknown; then
24079 if test "$cross_compiling" = yes; then
24080 ac_cv_c_bigendian=unknown
24081 else
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088 main () {
24089 /* Are we little or big endian? From Harbison&Steele. */
24090 union
24091 {
24092 long l;
24093 char c[sizeof (long)];
24094 } u;
24095 u.l = 1;
24096 exit (u.c[sizeof (long) - 1] == 1);
24097 }
24098 _ACEOF
24099 rm -f conftest$ac_exeext
24100 if { (ac_try="$ac_link"
24101 case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;;
24104 esac
24105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24106 (eval "$ac_link") 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24110 { (case "(($ac_try" in
24111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24112 *) ac_try_echo=$ac_try;;
24113 esac
24114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24115 (eval "$ac_try") 2>&5
24116 ac_status=$?
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; }; then
24119 ac_cv_c_bigendian=no
24120 else
24121 echo "$as_me: program exited with status $ac_status" >&5
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 ( exit $ac_status )
24126 ac_cv_c_bigendian=yes
24127 fi
24128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24129 fi
24130
24131
24132 fi
24133 fi
24134 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24135 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24136 if test $ac_cv_c_bigendian = unknown; then
24137 { 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
24138 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;}
24139 fi
24140 if test $ac_cv_c_bigendian = yes; then
24141 cat >>confdefs.h <<\_ACEOF
24142 #define WORDS_BIGENDIAN 1
24143 _ACEOF
24144
24145 fi
24146
24147
24148
24149
24150 ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155
24156
24157
24158 for ac_header in iostream
24159 do
24160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 else
24166 cat >conftest.$ac_ext <<_ACEOF
24167 /* confdefs.h. */
24168 _ACEOF
24169 cat confdefs.h >>conftest.$ac_ext
24170 cat >>conftest.$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24172
24173
24174 #include <$ac_header>
24175 _ACEOF
24176 rm -f conftest.$ac_objext
24177 if { (ac_try="$ac_compile"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24181 esac
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_compile") 2>conftest.er1
24184 ac_status=$?
24185 grep -v '^ *+' conftest.er1 >conftest.err
24186 rm -f conftest.er1
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } && {
24190 test -z "$ac_cxx_werror_flag" ||
24191 test ! -s conftest.err
24192 } && test -s conftest.$ac_objext; then
24193 eval "$as_ac_Header=yes"
24194 else
24195 echo "$as_me: failed program was:" >&5
24196 sed 's/^/| /' conftest.$ac_ext >&5
24197
24198 eval "$as_ac_Header=no"
24199 fi
24200
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202 fi
24203 ac_res=`eval echo '${'$as_ac_Header'}'`
24204 { echo "$as_me:$LINENO: result: $ac_res" >&5
24205 echo "${ECHO_T}$ac_res" >&6; }
24206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24209 _ACEOF
24210
24211 fi
24212
24213 done
24214
24215
24216 if test "$ac_cv_header_iostream" = "yes" ; then
24217 :
24218 else
24219 cat >>confdefs.h <<\_ACEOF
24220 #define wxUSE_IOSTREAMH 1
24221 _ACEOF
24222
24223 fi
24224
24225 ac_ext=c
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230
24231
24232
24233
24234 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24235 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24236 if test "${wx_cv_explicit+set}" = set; then
24237 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 else
24239
24240
24241 ac_ext=cpp
24242 ac_cpp='$CXXCPP $CPPFLAGS'
24243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24246
24247
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254
24255 class Foo { public: explicit Foo(int) {} };
24256
24257 int
24258 main ()
24259 {
24260
24261 return 0;
24262
24263 ;
24264 return 0;
24265 }
24266 _ACEOF
24267 rm -f conftest.$ac_objext
24268 if { (ac_try="$ac_compile"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_compile") 2>conftest.er1
24275 ac_status=$?
24276 grep -v '^ *+' conftest.er1 >conftest.err
24277 rm -f conftest.er1
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } && {
24281 test -z "$ac_cxx_werror_flag" ||
24282 test ! -s conftest.err
24283 } && test -s conftest.$ac_objext; then
24284
24285 cat >conftest.$ac_ext <<_ACEOF
24286 /* confdefs.h. */
24287 _ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24291
24292 class Foo { public: explicit Foo(int) {} };
24293 static void TakeFoo(const Foo& foo) { }
24294
24295 int
24296 main ()
24297 {
24298
24299 TakeFoo(17);
24300 return 0;
24301
24302 ;
24303 return 0;
24304 }
24305 _ACEOF
24306 rm -f conftest.$ac_objext
24307 if { (ac_try="$ac_compile"
24308 case "(($ac_try" in
24309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310 *) ac_try_echo=$ac_try;;
24311 esac
24312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24313 (eval "$ac_compile") 2>conftest.er1
24314 ac_status=$?
24315 grep -v '^ *+' conftest.er1 >conftest.err
24316 rm -f conftest.er1
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } && {
24320 test -z "$ac_cxx_werror_flag" ||
24321 test ! -s conftest.err
24322 } && test -s conftest.$ac_objext; then
24323 wx_cv_explicit=no
24324 else
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.$ac_ext >&5
24327
24328 wx_cv_explicit=yes
24329
24330 fi
24331
24332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24333
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 wx_cv_explicit=no
24339
24340 fi
24341
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24349
24350
24351 fi
24352 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24353 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24354
24355 if test "$wx_cv_explicit" = "yes"; then
24356 cat >>confdefs.h <<\_ACEOF
24357 #define HAVE_EXPLICIT 1
24358 _ACEOF
24359
24360 fi
24361
24362
24363 if test "x$SUNCXX" = xyes; then
24364 CXXFLAGS="-features=tmplife $CXXFLAGS"
24365 fi
24366
24367 if test "x$SUNCC" = xyes; then
24368 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24369 fi
24370
24371 if test "x$SGICC" = "xyes"; then
24372 CFLAGS="-woff 3970 $CFLAGS"
24373 fi
24374 if test "x$SGICXX" = "xyes"; then
24375 CXXFLAGS="-woff 3970 $CXXFLAGS"
24376 fi
24377
24378 if test "x$HPCC" = "xyes"; then
24379 CFLAGS="+W 2011,2450 $CFLAGS"
24380 fi
24381 if test "x$HPCXX" = "xyes"; then
24382 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24383 fi
24384
24385 if test "x$COMPAQCXX" = "xyes"; then
24386 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24387 fi
24388
24389 ac_ext=cpp
24390 ac_cpp='$CXXCPP $CPPFLAGS'
24391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24394
24395
24396 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24397 if test "$wxUSE_UNICODE" = "yes"; then
24398 std_string="std::wstring"
24399 char_type="wchar_t"
24400 else
24401 std_string="std::string"
24402 char_type="char"
24403 fi
24404
24405 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24406 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24407 if test "${wx_cv_class_stdstring+set}" = set; then
24408 echo $ECHO_N "(cached) $ECHO_C" >&6
24409 else
24410
24411 cat >conftest.$ac_ext <<_ACEOF
24412 /* confdefs.h. */
24413 _ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 #include <string>
24418 int
24419 main ()
24420 {
24421 $std_string foo;
24422 ;
24423 return 0;
24424 }
24425 _ACEOF
24426 rm -f conftest.$ac_objext
24427 if { (ac_try="$ac_compile"
24428 case "(($ac_try" in
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24431 esac
24432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24433 (eval "$ac_compile") 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && {
24440 test -z "$ac_cxx_werror_flag" ||
24441 test ! -s conftest.err
24442 } && test -s conftest.$ac_objext; then
24443 wx_cv_class_stdstring=yes
24444 else
24445 echo "$as_me: failed program was:" >&5
24446 sed 's/^/| /' conftest.$ac_ext >&5
24447
24448 wx_cv_class_stdstring=no
24449
24450 fi
24451
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453
24454
24455 fi
24456 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24457 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24458
24459 if test "$wx_cv_class_stdstring" = yes; then
24460 if test "$wxUSE_UNICODE" = "yes"; then
24461 cat >>confdefs.h <<\_ACEOF
24462 #define HAVE_STD_WSTRING 1
24463 _ACEOF
24464
24465 fi
24466 else
24467 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24468 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24469 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24470 echo $ECHO_N "(cached) $ECHO_C" >&6
24471 else
24472
24473 cat >conftest.$ac_ext <<_ACEOF
24474 /* confdefs.h. */
24475 _ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24479
24480 #ifdef HAVE_WCHAR_H
24481 # ifdef __CYGWIN__
24482 # include <stddef.h>
24483 # endif
24484 # include <wchar.h>
24485 #endif
24486 #ifdef HAVE_STDLIB_H
24487 # include <stdlib.h>
24488 #endif
24489 #include <stdio.h>
24490 #include <string>
24491
24492 int
24493 main ()
24494 {
24495 std::basic_string<$char_type> foo;
24496 const $char_type* dummy = foo.c_str();
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 rm -f conftest.$ac_objext
24502 if { (ac_try="$ac_compile"
24503 case "(($ac_try" in
24504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;;
24506 esac
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_compile") 2>conftest.er1
24509 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && {
24515 test -z "$ac_cxx_werror_flag" ||
24516 test ! -s conftest.err
24517 } && test -s conftest.$ac_objext; then
24518 wx_cv_class_stdbasicstring=yes
24519 else
24520 echo "$as_me: failed program was:" >&5
24521 sed 's/^/| /' conftest.$ac_ext >&5
24522
24523 wx_cv_class_stdbasicstring=no
24524
24525 fi
24526
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528
24529
24530 fi
24531 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24532 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24533
24534 if test "$wx_cv_class_stdbasicstring" != yes; then
24535 if test "$wxUSE_STL" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24537 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24539 elif test "$wxUSE_STD_STRING" = "yes"; then
24540 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24541 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24542 { (exit 1); exit 1; }; }
24543 else
24544 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24545 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24546 wxUSE_STD_STRING=no
24547 fi
24548 fi
24549 fi
24550 fi
24551
24552 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24553 { echo "$as_me:$LINENO: checking for std::istream" >&5
24554 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24555 if test "${ac_cv_type_std__istream+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 else
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <iostream>
24565
24566 typedef std::istream ac__type_new_;
24567 int
24568 main ()
24569 {
24570 if ((ac__type_new_ *) 0)
24571 return 0;
24572 if (sizeof (ac__type_new_))
24573 return 0;
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24583 esac
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24586 ac_status=$?
24587 grep -v '^ *+' conftest.er1 >conftest.err
24588 rm -f conftest.er1
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_cxx_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_type_std__istream=yes
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ac_cv_type_std__istream=no
24601 fi
24602
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 fi
24605 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24606 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24607 if test $ac_cv_type_std__istream = yes; then
24608
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_STD__ISTREAM 1
24611 _ACEOF
24612
24613
24614 else
24615 wxUSE_STD_IOSTREAM=no
24616 fi
24617 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24618 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24619 if test "${ac_cv_type_std__ostream+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 #include <iostream>
24629
24630 typedef std::ostream ac__type_new_;
24631 int
24632 main ()
24633 {
24634 if ((ac__type_new_ *) 0)
24635 return 0;
24636 if (sizeof (ac__type_new_))
24637 return 0;
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 rm -f conftest.$ac_objext
24643 if { (ac_try="$ac_compile"
24644 case "(($ac_try" in
24645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24646 *) ac_try_echo=$ac_try;;
24647 esac
24648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24649 (eval "$ac_compile") 2>conftest.er1
24650 ac_status=$?
24651 grep -v '^ *+' conftest.er1 >conftest.err
24652 rm -f conftest.er1
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } && {
24656 test -z "$ac_cxx_werror_flag" ||
24657 test ! -s conftest.err
24658 } && test -s conftest.$ac_objext; then
24659 ac_cv_type_std__ostream=yes
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 ac_cv_type_std__ostream=no
24665 fi
24666
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668 fi
24669 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24670 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24671 if test $ac_cv_type_std__ostream = yes; then
24672
24673 cat >>confdefs.h <<_ACEOF
24674 #define HAVE_STD__OSTREAM 1
24675 _ACEOF
24676
24677
24678 else
24679 wxUSE_STD_IOSTREAM=no
24680 fi
24681
24682
24683 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24684 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24685 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24686 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24687 { (exit 1); exit 1; }; }
24688 else
24689 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24690 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24691 fi
24692 fi
24693 fi
24694
24695 if test "$wxUSE_STL" = "yes"; then
24696 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24697 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24698 if test "${wx_cv_lib_stl+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 else
24701 cat >conftest.$ac_ext <<_ACEOF
24702 /* confdefs.h. */
24703 _ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <string>
24708 #include <functional>
24709 #include <algorithm>
24710 #include <vector>
24711 #include <list>
24712 int
24713 main ()
24714 {
24715 std::vector<int> moo;
24716 std::list<int> foo;
24717 std::vector<int>::iterator it =
24718 std::find_if(moo.begin(), moo.end(),
24719 std::bind2nd(std::less<int>(), 3));
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext
24725 if { (ac_try="$ac_compile"
24726 case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_compile") 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_cxx_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest.$ac_objext; then
24741 wx_cv_lib_stl=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 wx_cv_lib_stl=no
24747
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751
24752 fi
24753 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24754 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24755
24756 if test "$wx_cv_lib_stl" != yes; then
24757 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24758 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24759 { (exit 1); exit 1; }; }
24760 fi
24761
24762 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24763 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24764 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 else
24767 cat >conftest.$ac_ext <<_ACEOF
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773 #include <string>
24774 int
24775 main ()
24776 {
24777 std::string foo, bar;
24778 foo.compare(bar);
24779 foo.compare(1, 1, bar);
24780 foo.compare(1, 1, bar, 1, 1);
24781 foo.compare("");
24782 foo.compare(1, 1, "");
24783 foo.compare(1, 1, "", 2);
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext
24789 if { (ac_try="$ac_compile"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24793 esac
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_compile") 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_cxx_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest.$ac_objext; then
24805 wx_cv_func_stdstring_compare=yes
24806 else
24807 echo "$as_me: failed program was:" >&5
24808 sed 's/^/| /' conftest.$ac_ext >&5
24809
24810 wx_cv_func_stdstring_compare=no
24811
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815
24816 fi
24817 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24818 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24819
24820 if test "$wx_cv_func_stdstring_compare" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_STD_STRING_COMPARE 1
24823 _ACEOF
24824
24825 fi
24826
24827 if test "$wx_cv_class_gnuhashmapset" = yes; then
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_EXT_HASH_MAP 1
24830 _ACEOF
24831
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GNU_CXX_HASH_MAP 1
24834 _ACEOF
24835
24836 fi
24837
24838 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24839 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24840 if test "${ac_cv_header_unordered_map+set}" = set; then
24841 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 else
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850
24851
24852 #include <unordered_map>
24853 _ACEOF
24854 rm -f conftest.$ac_objext
24855 if { (ac_try="$ac_compile"
24856 case "(($ac_try" in
24857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24858 *) ac_try_echo=$ac_try;;
24859 esac
24860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24861 (eval "$ac_compile") 2>conftest.er1
24862 ac_status=$?
24863 grep -v '^ *+' conftest.er1 >conftest.err
24864 rm -f conftest.er1
24865 cat conftest.err >&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); } && {
24868 test -z "$ac_cxx_werror_flag" ||
24869 test ! -s conftest.err
24870 } && test -s conftest.$ac_objext; then
24871 ac_cv_header_unordered_map=yes
24872 else
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.$ac_ext >&5
24875
24876 ac_cv_header_unordered_map=no
24877 fi
24878
24879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24880 fi
24881 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24882 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24883 if test $ac_cv_header_unordered_map = yes; then
24884 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24885 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24886 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 else
24889 cat >conftest.$ac_ext <<_ACEOF
24890 /* confdefs.h. */
24891 _ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895 #include <unordered_map>
24896 #include <unordered_set>
24897 int
24898 main ()
24899 {
24900 std::unordered_map<double*, char*> test1;
24901 std::unordered_set<char*> test2;
24902 ;
24903 return 0;
24904 }
24905 _ACEOF
24906 rm -f conftest.$ac_objext
24907 if { (ac_try="$ac_compile"
24908 case "(($ac_try" in
24909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24910 *) ac_try_echo=$ac_try;;
24911 esac
24912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24913 (eval "$ac_compile") 2>conftest.er1
24914 ac_status=$?
24915 grep -v '^ *+' conftest.er1 >conftest.err
24916 rm -f conftest.er1
24917 cat conftest.err >&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } && {
24920 test -z "$ac_cxx_werror_flag" ||
24921 test ! -s conftest.err
24922 } && test -s conftest.$ac_objext; then
24923 wx_cv_class_stdunorderedmapset=yes
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 wx_cv_class_stdunorderedmapset=no
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24932
24933
24934 fi
24935 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24936 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24937 fi
24938
24939
24940
24941 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_MAP 1
24944 _ACEOF
24945
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_STD_UNORDERED_SET 1
24948 _ACEOF
24949
24950 else
24951 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24952 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24953 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24954 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 else
24956 cat >conftest.$ac_ext <<_ACEOF
24957 /* confdefs.h. */
24958 _ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24962
24963
24964
24965 #include <tr1/unordered_map>
24966 _ACEOF
24967 rm -f conftest.$ac_objext
24968 if { (ac_try="$ac_compile"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24972 esac
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_compile") 2>conftest.er1
24975 ac_status=$?
24976 grep -v '^ *+' conftest.er1 >conftest.err
24977 rm -f conftest.er1
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_cxx_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest.$ac_objext; then
24984 ac_cv_header_tr1_unordered_map=yes
24985 else
24986 echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.$ac_ext >&5
24988
24989 ac_cv_header_tr1_unordered_map=no
24990 fi
24991
24992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24993 fi
24994 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24995 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24996 if test $ac_cv_header_tr1_unordered_map = yes; then
24997 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24998 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24999 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 else
25002 cat >conftest.$ac_ext <<_ACEOF
25003 /* confdefs.h. */
25004 _ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008 #include <tr1/unordered_map>
25009 #include <tr1/unordered_set>
25010 int
25011 main ()
25012 {
25013 std::tr1::unordered_map<double*, char*> test1;
25014 std::tr1::unordered_set<char*> test2;
25015 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25016 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25017 #endif
25018 ;
25019 return 0;
25020 }
25021 _ACEOF
25022 rm -f conftest.$ac_objext
25023 if { (ac_try="$ac_compile"
25024 case "(($ac_try" in
25025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25026 *) ac_try_echo=$ac_try;;
25027 esac
25028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25029 (eval "$ac_compile") 2>conftest.er1
25030 ac_status=$?
25031 grep -v '^ *+' conftest.er1 >conftest.err
25032 rm -f conftest.er1
25033 cat conftest.err >&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); } && {
25036 test -z "$ac_cxx_werror_flag" ||
25037 test ! -s conftest.err
25038 } && test -s conftest.$ac_objext; then
25039 wx_cv_class_tr1unorderedmapset=yes
25040 else
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25043
25044 wx_cv_class_tr1unorderedmapset=no
25045 fi
25046
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048
25049
25050 fi
25051 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25052 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25053 fi
25054
25055
25056
25057 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_MAP 1
25060 _ACEOF
25061
25062 cat >>confdefs.h <<\_ACEOF
25063 #define HAVE_TR1_UNORDERED_SET 1
25064 _ACEOF
25065
25066 else
25067 { echo "$as_me:$LINENO: checking for hash_map" >&5
25068 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25069 if test "${ac_cv_header_hash_map+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072 cat >conftest.$ac_ext <<_ACEOF
25073 /* confdefs.h. */
25074 _ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078
25079
25080
25081 #include <hash_map>
25082 _ACEOF
25083 rm -f conftest.$ac_objext
25084 if { (ac_try="$ac_compile"
25085 case "(($ac_try" in
25086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25087 *) ac_try_echo=$ac_try;;
25088 esac
25089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25090 (eval "$ac_compile") 2>conftest.er1
25091 ac_status=$?
25092 grep -v '^ *+' conftest.er1 >conftest.err
25093 rm -f conftest.er1
25094 cat conftest.err >&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } && {
25097 test -z "$ac_cxx_werror_flag" ||
25098 test ! -s conftest.err
25099 } && test -s conftest.$ac_objext; then
25100 ac_cv_header_hash_map=yes
25101 else
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25104
25105 ac_cv_header_hash_map=no
25106 fi
25107
25108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25109 fi
25110 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25111 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25112 if test $ac_cv_header_hash_map = yes; then
25113 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25114 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25115 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 else
25118 cat >conftest.$ac_ext <<_ACEOF
25119 /* confdefs.h. */
25120 _ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 #include <hash_map>
25125 #include <hash_set>
25126 int
25127 main ()
25128 {
25129 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25130 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25131 ;
25132 return 0;
25133 }
25134 _ACEOF
25135 rm -f conftest.$ac_objext
25136 if { (ac_try="$ac_compile"
25137 case "(($ac_try" in
25138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25139 *) ac_try_echo=$ac_try;;
25140 esac
25141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25142 (eval "$ac_compile") 2>conftest.er1
25143 ac_status=$?
25144 grep -v '^ *+' conftest.er1 >conftest.err
25145 rm -f conftest.er1
25146 cat conftest.err >&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); } && {
25149 test -z "$ac_cxx_werror_flag" ||
25150 test ! -s conftest.err
25151 } && test -s conftest.$ac_objext; then
25152 wx_cv_class_stdhashmapset=yes
25153 else
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25156
25157 wx_cv_class_stdhashmapset=no
25158 fi
25159
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161
25162
25163 fi
25164 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25165 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25166 fi
25167
25168
25169
25170 if test "$wx_cv_class_stdhashmapset" = yes; then
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_HASH_MAP 1
25173 _ACEOF
25174
25175 cat >>confdefs.h <<\_ACEOF
25176 #define HAVE_STD_HASH_MAP 1
25177 _ACEOF
25178
25179 fi
25180
25181 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25182 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25183 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25186 cat >conftest.$ac_ext <<_ACEOF
25187 /* confdefs.h. */
25188 _ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192
25193
25194
25195 #include <ext/hash_map>
25196 _ACEOF
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25201 *) ac_try_echo=$ac_try;;
25202 esac
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_cxx_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.$ac_objext; then
25214 ac_cv_header_ext_hash_map=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 ac_cv_header_ext_hash_map=no
25220 fi
25221
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223 fi
25224 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25225 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25226 if test $ac_cv_header_ext_hash_map = yes; then
25227 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25228 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25229 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232 cat >conftest.$ac_ext <<_ACEOF
25233 /* confdefs.h. */
25234 _ACEOF
25235 cat confdefs.h >>conftest.$ac_ext
25236 cat >>conftest.$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <ext/hash_map>
25239 #include <ext/hash_set>
25240 int
25241 main ()
25242 {
25243 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25244 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_cxx_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_class_gnuhashmapset=yes
25267 else
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25270
25271 wx_cv_class_gnuhashmapset=no
25272 fi
25273
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275
25276
25277 fi
25278 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25279 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25280 fi
25281
25282
25283
25284 fi
25285 fi
25286 fi
25287
25288
25289
25290 if test -n "$GCC"; then
25291 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25292 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25293 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 else
25296
25297 cat >conftest.$ac_ext <<_ACEOF
25298 /* confdefs.h. */
25299 _ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303
25304 int
25305 main ()
25306 {
25307
25308 unsigned int value=0;
25309 /* wxAtomicInc doesn't use return value here */
25310 __sync_fetch_and_add(&value, 2);
25311 __sync_sub_and_fetch(&value, 1);
25312 /* but wxAtomicDec does, so mimic that: */
25313 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25314
25315 ;
25316 return 0;
25317 }
25318 _ACEOF
25319 rm -f conftest.$ac_objext conftest$ac_exeext
25320 if { (ac_try="$ac_link"
25321 case "(($ac_try" in
25322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25323 *) ac_try_echo=$ac_try;;
25324 esac
25325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25326 (eval "$ac_link") 2>conftest.er1
25327 ac_status=$?
25328 grep -v '^ *+' conftest.er1 >conftest.err
25329 rm -f conftest.er1
25330 cat conftest.err >&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && {
25333 test -z "$ac_cxx_werror_flag" ||
25334 test ! -s conftest.err
25335 } && test -s conftest$ac_exeext &&
25336 $as_test_x conftest$ac_exeext; then
25337 wx_cv_cc_gcc_atomic_builtins=yes
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 wx_cv_cc_gcc_atomic_builtins=no
25343 fi
25344
25345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25346 conftest$ac_exeext conftest.$ac_ext
25347
25348 fi
25349
25350 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25351 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25352 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25353 cat >>confdefs.h <<\_ACEOF
25354 #define HAVE_GCC_ATOMIC_BUILTINS 1
25355 _ACEOF
25356
25357 fi
25358 fi
25359
25360
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25366
25367
25368
25369 SEARCH_INCLUDE="\
25370 /usr/local/include \
25371 /usr/local/X11/include \
25372 /usr/local/include/X11 \
25373 /usr/local/X11R6/include \
25374 /usr/local/include/X11R6 \
25375 \
25376 /usr/Motif-2.1/include \
25377 /usr/Motif-1.2/include \
25378 /usr/include/Motif1.2 \
25379 \
25380 /usr/dt/include \
25381 /usr/openwin/include \
25382 \
25383 /usr/include/Xm \
25384 \
25385 /usr/X11R6/include \
25386 /usr/X11R6.4/include \
25387 \
25388 /usr/include/X11R6 \
25389 \
25390 /usr/X11/include \
25391 /usr/include/X11 \
25392 \
25393 /usr/XFree86/include/X11 \
25394 /usr/pkg/include \
25395 \
25396 /usr/local/X1R5/include \
25397 /usr/local/include/X11R5 \
25398 /usr/X11R5/include \
25399 /usr/include/X11R5 \
25400 \
25401 /usr/local/X11R4/include \
25402 /usr/local/include/X11R4 \
25403 /usr/X11R4/include \
25404 /usr/include/X11R4 \
25405 \
25406 /usr/openwin/share/include"
25407
25408 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25409 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25410
25411 case "${host}" in
25412 *-*-irix6* )
25413 if test "${wx_cv_std_libpath+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 else
25416
25417 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25418 for e in a so sl dylib dll.a; do
25419 libc="$d/libc.$e"
25420 if test -f $libc; then
25421 save_LIBS="$LIBS"
25422 LIBS="$libc"
25423 cat >conftest.$ac_ext <<_ACEOF
25424 int main() { return 0; }
25425 _ACEOF
25426 rm -f conftest.$ac_objext conftest$ac_exeext
25427 if { (ac_try="$ac_link"
25428 case "(($ac_try" in
25429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25430 *) ac_try_echo=$ac_try;;
25431 esac
25432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25433 (eval "$ac_link") 2>conftest.er1
25434 ac_status=$?
25435 grep -v '^ *+' conftest.er1 >conftest.err
25436 rm -f conftest.er1
25437 cat conftest.err >&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); } && {
25440 test -z "$ac_c_werror_flag" ||
25441 test ! -s conftest.err
25442 } && test -s conftest$ac_exeext &&
25443 $as_test_x conftest$ac_exeext; then
25444 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25445 else
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.$ac_ext >&5
25448
25449
25450 fi
25451
25452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25453 conftest$ac_exeext conftest.$ac_ext
25454 LIBS="$save_LIBS"
25455 if test "x$wx_cv_std_libpath" != "x"; then
25456 break 2
25457 fi
25458 fi
25459 done
25460 done
25461 if test "x$wx_cv_std_libpath" = "x"; then
25462 wx_cv_std_libpath="lib"
25463 fi
25464
25465
25466 fi
25467
25468 ;;
25469
25470 *-*-solaris2* )
25471 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25472 wx_cv_std_libpath="lib/64"
25473 else
25474 wx_cv_std_libpath="lib"
25475 fi
25476 ;;
25477
25478 *-*-linux* )
25479 if test "$ac_cv_sizeof_void_p" = 8 -a \
25480 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25481 wx_cv_std_libpath="lib64"
25482 else
25483 wx_cv_std_libpath="lib"
25484 fi
25485 ;;
25486
25487 *)
25488 wx_cv_std_libpath="lib";
25489 ;;
25490 esac
25491
25492 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25493 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25494
25495 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25496
25497 if test "$build" != "$host" -a "$GCC" = yes; then
25498 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25499 cross_root=`dirname $cross_root`
25500 cross_root=`dirname $cross_root`
25501
25502 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25503 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25504 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25505
25506 if test -z "$PKG_CONFIG_PATH"; then
25507 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25508 export PKG_CONFIG_PATH
25509 fi
25510
25511 if test -z "$x_includes" -o "$x_includes" = NONE; then
25512
25513 ac_find_includes=
25514 for ac_dir in $SEARCH_INCLUDE /usr/include;
25515 do
25516 if test -f "$ac_dir/X11/Intrinsic.h"; then
25517 ac_find_includes=$ac_dir
25518 break
25519 fi
25520 done
25521
25522 x_includes=$ac_find_includes
25523 fi
25524 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25525
25526 ac_find_libraries=
25527 for ac_dir in $SEARCH_LIB;
25528 do
25529 for ac_extension in a so sl dylib dll.a; do
25530 if test -f "$ac_dir/libXt.$ac_extension"; then
25531 ac_find_libraries=$ac_dir
25532 break 2
25533 fi
25534 done
25535 done
25536
25537 x_libraries=$ac_find_libraries
25538 fi
25539 fi
25540 fi
25541
25542
25543 cat >confcache <<\_ACEOF
25544 # This file is a shell script that caches the results of configure
25545 # tests run on this system so they can be shared between configure
25546 # scripts and configure runs, see configure's option --config-cache.
25547 # It is not useful on other systems. If it contains results you don't
25548 # want to keep, you may remove or edit it.
25549 #
25550 # config.status only pays attention to the cache file if you give it
25551 # the --recheck option to rerun configure.
25552 #
25553 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25555 # following values.
25556
25557 _ACEOF
25558
25559 # The following way of writing the cache mishandles newlines in values,
25560 # but we know of no workaround that is simple, portable, and efficient.
25561 # So, we kill variables containing newlines.
25562 # Ultrix sh set writes to stderr and can't be redirected directly,
25563 # and sets the high bit in the cache file unless we assign to the vars.
25564 (
25565 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25566 eval ac_val=\$$ac_var
25567 case $ac_val in #(
25568 *${as_nl}*)
25569 case $ac_var in #(
25570 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25571 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25572 esac
25573 case $ac_var in #(
25574 _ | IFS | as_nl) ;; #(
25575 *) $as_unset $ac_var ;;
25576 esac ;;
25577 esac
25578 done
25579
25580 (set) 2>&1 |
25581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25582 *${as_nl}ac_space=\ *)
25583 # `set' does not quote correctly, so add quotes (double-quote
25584 # substitution turns \\\\ into \\, and sed turns \\ into \).
25585 sed -n \
25586 "s/'/'\\\\''/g;
25587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25588 ;; #(
25589 *)
25590 # `set' quotes correctly as required by POSIX, so do not add quotes.
25591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25592 ;;
25593 esac |
25594 sort
25595 ) |
25596 sed '
25597 /^ac_cv_env_/b end
25598 t clear
25599 :clear
25600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25601 t end
25602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25603 :end' >>confcache
25604 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25605 if test -w "$cache_file"; then
25606 test "x$cache_file" != "x/dev/null" &&
25607 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25608 echo "$as_me: updating cache $cache_file" >&6;}
25609 cat confcache >$cache_file
25610 else
25611 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25612 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25613 fi
25614 fi
25615 rm -f confcache
25616
25617 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25618 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25619 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25620 if test "${wx_cv_lib_glibc21+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6
25622 else
25623
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 #include <features.h>
25631 int
25632 main ()
25633 {
25634
25635 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25636 not glibc 2.1
25637 #endif
25638
25639 ;
25640 return 0;
25641 }
25642 _ACEOF
25643 rm -f conftest.$ac_objext
25644 if { (ac_try="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25648 esac
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660
25661 wx_cv_lib_glibc21=yes
25662
25663 else
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25666
25667
25668 wx_cv_lib_glibc21=no
25669
25670
25671 fi
25672
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674
25675 fi
25676 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25677 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25678 if test "$wx_cv_lib_glibc21" = "yes"; then
25679 cat >>confdefs.h <<\_ACEOF
25680 #define wxHAVE_GLIBC2 1
25681 _ACEOF
25682
25683 fi
25684 fi
25685
25686 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25687 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25688 cat >>confdefs.h <<\_ACEOF
25689 #define _GNU_SOURCE 1
25690 _ACEOF
25691
25692 fi
25693 fi
25694
25695 have_cos=0
25696 have_floor=0
25697
25698 for ac_func in cos
25699 do
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706 cat >conftest.$ac_ext <<_ACEOF
25707 /* confdefs.h. */
25708 _ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25714 #define $ac_func innocuous_$ac_func
25715
25716 /* System header to define __stub macros and hopefully few prototypes,
25717 which can conflict with char $ac_func (); below.
25718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25719 <limits.h> exists even on freestanding compilers. */
25720
25721 #ifdef __STDC__
25722 # include <limits.h>
25723 #else
25724 # include <assert.h>
25725 #endif
25726
25727 #undef $ac_func
25728
25729 /* Override any GCC internal prototype to avoid an error.
25730 Use char because int might match the return type of a GCC
25731 builtin and then its argument prototype would still apply. */
25732 #ifdef __cplusplus
25733 extern "C"
25734 #endif
25735 char $ac_func ();
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined __stub_$ac_func || defined __stub___$ac_func
25740 choke me
25741 #endif
25742
25743 int
25744 main ()
25745 {
25746 return $ac_func ();
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (ac_try="$ac_link"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_link") 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest$ac_exeext &&
25768 $as_test_x conftest$ac_exeext; then
25769 eval "$as_ac_var=yes"
25770 else
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.$ac_ext >&5
25773
25774 eval "$as_ac_var=no"
25775 fi
25776
25777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25778 conftest$ac_exeext conftest.$ac_ext
25779 fi
25780 ac_res=`eval echo '${'$as_ac_var'}'`
25781 { echo "$as_me:$LINENO: result: $ac_res" >&5
25782 echo "${ECHO_T}$ac_res" >&6; }
25783 if test `eval echo '${'$as_ac_var'}'` = yes; then
25784 cat >>confdefs.h <<_ACEOF
25785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25786 _ACEOF
25787 have_cos=1
25788 fi
25789 done
25790
25791
25792 for ac_func in floor
25793 do
25794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25808 #define $ac_func innocuous_$ac_func
25809
25810 /* System header to define __stub macros and hopefully few prototypes,
25811 which can conflict with char $ac_func (); below.
25812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25813 <limits.h> exists even on freestanding compilers. */
25814
25815 #ifdef __STDC__
25816 # include <limits.h>
25817 #else
25818 # include <assert.h>
25819 #endif
25820
25821 #undef $ac_func
25822
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25826 #ifdef __cplusplus
25827 extern "C"
25828 #endif
25829 char $ac_func ();
25830 /* The GNU C library defines this for functions which it implements
25831 to always fail with ENOSYS. Some functions are actually named
25832 something starting with __ and the normal name is an alias. */
25833 #if defined __stub_$ac_func || defined __stub___$ac_func
25834 choke me
25835 #endif
25836
25837 int
25838 main ()
25839 {
25840 return $ac_func ();
25841 ;
25842 return 0;
25843 }
25844 _ACEOF
25845 rm -f conftest.$ac_objext conftest$ac_exeext
25846 if { (ac_try="$ac_link"
25847 case "(($ac_try" in
25848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25849 *) ac_try_echo=$ac_try;;
25850 esac
25851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25852 (eval "$ac_link") 2>conftest.er1
25853 ac_status=$?
25854 grep -v '^ *+' conftest.er1 >conftest.err
25855 rm -f conftest.er1
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && {
25859 test -z "$ac_c_werror_flag" ||
25860 test ! -s conftest.err
25861 } && test -s conftest$ac_exeext &&
25862 $as_test_x conftest$ac_exeext; then
25863 eval "$as_ac_var=yes"
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868 eval "$as_ac_var=no"
25869 fi
25870
25871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25872 conftest$ac_exeext conftest.$ac_ext
25873 fi
25874 ac_res=`eval echo '${'$as_ac_var'}'`
25875 { echo "$as_me:$LINENO: result: $ac_res" >&5
25876 echo "${ECHO_T}$ac_res" >&6; }
25877 if test `eval echo '${'$as_ac_var'}'` = yes; then
25878 cat >>confdefs.h <<_ACEOF
25879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25880 _ACEOF
25881 have_floor=1
25882 fi
25883 done
25884
25885 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25886 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25887 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25888 { echo "$as_me:$LINENO: result: yes" >&5
25889 echo "${ECHO_T}yes" >&6; }
25890 else
25891 { echo "$as_me:$LINENO: result: no" >&5
25892 echo "${ECHO_T}no" >&6; }
25893 LIBS="$LIBS -lm"
25894 # use different functions to avoid configure caching
25895 have_sin=0
25896 have_ceil=0
25897
25898 for ac_func in sin
25899 do
25900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 else
25906 cat >conftest.$ac_ext <<_ACEOF
25907 /* confdefs.h. */
25908 _ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25914 #define $ac_func innocuous_$ac_func
25915
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25920
25921 #ifdef __STDC__
25922 # include <limits.h>
25923 #else
25924 # include <assert.h>
25925 #endif
25926
25927 #undef $ac_func
25928
25929 /* Override any GCC internal prototype to avoid an error.
25930 Use char because int might match the return type of a GCC
25931 builtin and then its argument prototype would still apply. */
25932 #ifdef __cplusplus
25933 extern "C"
25934 #endif
25935 char $ac_func ();
25936 /* The GNU C library defines this for functions which it implements
25937 to always fail with ENOSYS. Some functions are actually named
25938 something starting with __ and the normal name is an alias. */
25939 #if defined __stub_$ac_func || defined __stub___$ac_func
25940 choke me
25941 #endif
25942
25943 int
25944 main ()
25945 {
25946 return $ac_func ();
25947 ;
25948 return 0;
25949 }
25950 _ACEOF
25951 rm -f conftest.$ac_objext conftest$ac_exeext
25952 if { (ac_try="$ac_link"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25956 esac
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_link") 2>conftest.er1
25959 ac_status=$?
25960 grep -v '^ *+' conftest.er1 >conftest.err
25961 rm -f conftest.er1
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_c_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest$ac_exeext &&
25968 $as_test_x conftest$ac_exeext; then
25969 eval "$as_ac_var=yes"
25970 else
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.$ac_ext >&5
25973
25974 eval "$as_ac_var=no"
25975 fi
25976
25977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25978 conftest$ac_exeext conftest.$ac_ext
25979 fi
25980 ac_res=`eval echo '${'$as_ac_var'}'`
25981 { echo "$as_me:$LINENO: result: $ac_res" >&5
25982 echo "${ECHO_T}$ac_res" >&6; }
25983 if test `eval echo '${'$as_ac_var'}'` = yes; then
25984 cat >>confdefs.h <<_ACEOF
25985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25986 _ACEOF
25987 have_sin=1
25988 fi
25989 done
25990
25991
25992 for ac_func in ceil
25993 do
25994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 else
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26008 #define $ac_func innocuous_$ac_func
26009
26010 /* System header to define __stub macros and hopefully few prototypes,
26011 which can conflict with char $ac_func (); below.
26012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26013 <limits.h> exists even on freestanding compilers. */
26014
26015 #ifdef __STDC__
26016 # include <limits.h>
26017 #else
26018 # include <assert.h>
26019 #endif
26020
26021 #undef $ac_func
26022
26023 /* Override any GCC internal prototype to avoid an error.
26024 Use char because int might match the return type of a GCC
26025 builtin and then its argument prototype would still apply. */
26026 #ifdef __cplusplus
26027 extern "C"
26028 #endif
26029 char $ac_func ();
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined __stub_$ac_func || defined __stub___$ac_func
26034 choke me
26035 #endif
26036
26037 int
26038 main ()
26039 {
26040 return $ac_func ();
26041 ;
26042 return 0;
26043 }
26044 _ACEOF
26045 rm -f conftest.$ac_objext conftest$ac_exeext
26046 if { (ac_try="$ac_link"
26047 case "(($ac_try" in
26048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26049 *) ac_try_echo=$ac_try;;
26050 esac
26051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26052 (eval "$ac_link") 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } && {
26059 test -z "$ac_c_werror_flag" ||
26060 test ! -s conftest.err
26061 } && test -s conftest$ac_exeext &&
26062 $as_test_x conftest$ac_exeext; then
26063 eval "$as_ac_var=yes"
26064 else
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26067
26068 eval "$as_ac_var=no"
26069 fi
26070
26071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26072 conftest$ac_exeext conftest.$ac_ext
26073 fi
26074 ac_res=`eval echo '${'$as_ac_var'}'`
26075 { echo "$as_me:$LINENO: result: $ac_res" >&5
26076 echo "${ECHO_T}$ac_res" >&6; }
26077 if test `eval echo '${'$as_ac_var'}'` = yes; then
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26080 _ACEOF
26081 have_ceil=1
26082 fi
26083 done
26084
26085 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26086 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26087 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26088 { echo "$as_me:$LINENO: result: yes" >&5
26089 echo "${ECHO_T}yes" >&6; }
26090 else
26091 { echo "$as_me:$LINENO: result: no" >&5
26092 echo "${ECHO_T}no" >&6; }
26093 # not sure we should warn the user, crash, etc.
26094 fi
26095 fi
26096
26097 ac_ext=cpp
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102
26103 if test "wxUSE_UNICODE" = "yes"; then
26104
26105 for wx_func in wcstoull
26106 do
26107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26111 else
26112
26113 cat >conftest.$ac_ext <<_ACEOF
26114
26115 /* confdefs.h. */
26116 _ACEOF
26117 cat confdefs.h >>conftest.$ac_ext
26118 cat >>conftest.$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26120
26121
26122 $ac_includes_default
26123
26124 int
26125 main ()
26126 {
26127
26128 #ifndef $wx_func
26129 &$wx_func;
26130 #endif
26131
26132
26133 ;
26134 return 0;
26135 }
26136
26137 _ACEOF
26138 rm -f conftest.$ac_objext conftest$ac_exeext
26139 if { (ac_try="$ac_link"
26140 case "(($ac_try" in
26141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26142 *) ac_try_echo=$ac_try;;
26143 esac
26144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26145 (eval "$ac_link") 2>conftest.er1
26146 ac_status=$?
26147 grep -v '^ *+' conftest.er1 >conftest.err
26148 rm -f conftest.er1
26149 cat conftest.err >&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } && {
26152 test -z "$ac_cxx_werror_flag" ||
26153 test ! -s conftest.err
26154 } && test -s conftest$ac_exeext &&
26155 $as_test_x conftest$ac_exeext; then
26156 eval wx_cv_func_$wx_func=yes
26157 else
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.$ac_ext >&5
26160
26161 eval wx_cv_func_$wx_func=no
26162 fi
26163
26164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26165 conftest$ac_exeext conftest.$ac_ext
26166
26167 fi
26168 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26169 { echo "$as_me:$LINENO: result: $ac_res" >&5
26170 echo "${ECHO_T}$ac_res" >&6; }
26171
26172 if eval test \$wx_cv_func_$wx_func = yes
26173 then
26174 cat >>confdefs.h <<_ACEOF
26175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26176 _ACEOF
26177
26178
26179 else
26180 :
26181
26182 fi
26183 done
26184
26185 else
26186
26187 for wx_func in strtoull
26188 do
26189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26193 else
26194
26195 cat >conftest.$ac_ext <<_ACEOF
26196
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202
26203
26204 $ac_includes_default
26205
26206 int
26207 main ()
26208 {
26209
26210 #ifndef $wx_func
26211 &$wx_func;
26212 #endif
26213
26214
26215 ;
26216 return 0;
26217 }
26218
26219 _ACEOF
26220 rm -f conftest.$ac_objext conftest$ac_exeext
26221 if { (ac_try="$ac_link"
26222 case "(($ac_try" in
26223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26225 esac
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_link") 2>conftest.er1
26228 ac_status=$?
26229 grep -v '^ *+' conftest.er1 >conftest.err
26230 rm -f conftest.er1
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest$ac_exeext &&
26237 $as_test_x conftest$ac_exeext; then
26238 eval wx_cv_func_$wx_func=yes
26239 else
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26242
26243 eval wx_cv_func_$wx_func=no
26244 fi
26245
26246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26247 conftest$ac_exeext conftest.$ac_ext
26248
26249 fi
26250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26251 { echo "$as_me:$LINENO: result: $ac_res" >&5
26252 echo "${ECHO_T}$ac_res" >&6; }
26253
26254 if eval test \$wx_cv_func_$wx_func = yes
26255 then
26256 cat >>confdefs.h <<_ACEOF
26257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26258 _ACEOF
26259
26260
26261 else
26262 :
26263
26264 fi
26265 done
26266
26267 fi
26268 ac_ext=c
26269 ac_cpp='$CPP $CPPFLAGS'
26270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26273
26274
26275
26276
26277 if test "$wxUSE_REGEX" != "no"; then
26278 cat >>confdefs.h <<\_ACEOF
26279 #define wxUSE_REGEX 1
26280 _ACEOF
26281
26282
26283 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26284 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26285 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26286 wxUSE_REGEX=builtin
26287 fi
26288
26289 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26290 { echo "$as_me:$LINENO: checking for regex.h" >&5
26291 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26292 if test "${ac_cv_header_regex_h+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 else
26295 cat >conftest.$ac_ext <<_ACEOF
26296 /* confdefs.h. */
26297 _ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26301
26302
26303 #include <regex.h>
26304 _ACEOF
26305 rm -f conftest.$ac_objext
26306 if { (ac_try="$ac_compile"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26310 esac
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_compile") 2>conftest.er1
26313 ac_status=$?
26314 grep -v '^ *+' conftest.er1 >conftest.err
26315 rm -f conftest.er1
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } && {
26319 test -z "$ac_c_werror_flag" ||
26320 test ! -s conftest.err
26321 } && test -s conftest.$ac_objext; then
26322 ac_cv_header_regex_h=yes
26323 else
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.$ac_ext >&5
26326
26327 ac_cv_header_regex_h=no
26328 fi
26329
26330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26331 fi
26332 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26333 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26334 if test $ac_cv_header_regex_h = yes; then
26335
26336
26337 for ac_func in regcomp re_search
26338 do
26339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26345 cat >conftest.$ac_ext <<_ACEOF
26346 /* confdefs.h. */
26347 _ACEOF
26348 cat confdefs.h >>conftest.$ac_ext
26349 cat >>conftest.$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26353 #define $ac_func innocuous_$ac_func
26354
26355 /* System header to define __stub macros and hopefully few prototypes,
26356 which can conflict with char $ac_func (); below.
26357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26358 <limits.h> exists even on freestanding compilers. */
26359
26360 #ifdef __STDC__
26361 # include <limits.h>
26362 #else
26363 # include <assert.h>
26364 #endif
26365
26366 #undef $ac_func
26367
26368 /* Override any GCC internal prototype to avoid an error.
26369 Use char because int might match the return type of a GCC
26370 builtin and then its argument prototype would still apply. */
26371 #ifdef __cplusplus
26372 extern "C"
26373 #endif
26374 char $ac_func ();
26375 /* The GNU C library defines this for functions which it implements
26376 to always fail with ENOSYS. Some functions are actually named
26377 something starting with __ and the normal name is an alias. */
26378 #if defined __stub_$ac_func || defined __stub___$ac_func
26379 choke me
26380 #endif
26381
26382 int
26383 main ()
26384 {
26385 return $ac_func ();
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 rm -f conftest.$ac_objext conftest$ac_exeext
26391 if { (ac_try="$ac_link"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26395 esac
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_link") 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_c_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest$ac_exeext &&
26407 $as_test_x conftest$ac_exeext; then
26408 eval "$as_ac_var=yes"
26409 else
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26412
26413 eval "$as_ac_var=no"
26414 fi
26415
26416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26417 conftest$ac_exeext conftest.$ac_ext
26418 fi
26419 ac_res=`eval echo '${'$as_ac_var'}'`
26420 { echo "$as_me:$LINENO: result: $ac_res" >&5
26421 echo "${ECHO_T}$ac_res" >&6; }
26422 if test `eval echo '${'$as_ac_var'}'` = yes; then
26423 cat >>confdefs.h <<_ACEOF
26424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26425 _ACEOF
26426
26427 fi
26428 done
26429
26430 fi
26431
26432
26433
26434 if test "x$ac_cv_func_regcomp" != "xyes"; then
26435 if test "$wxUSE_REGEX" = "sys" ; then
26436 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26437 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26438 { (exit 1); exit 1; }; }
26439 else
26440 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26441 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26442 wxUSE_REGEX=builtin
26443 fi
26444 else
26445 wxUSE_REGEX=sys
26446 cat >>confdefs.h <<\_ACEOF
26447 #define WX_NO_REGEX_ADVANCED 1
26448 _ACEOF
26449
26450 fi
26451 fi
26452 fi
26453
26454
26455 ZLIB_LINK=
26456 if test "$wxUSE_ZLIB" != "no" ; then
26457 cat >>confdefs.h <<\_ACEOF
26458 #define wxUSE_ZLIB 1
26459 _ACEOF
26460
26461
26462 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26463 if test "$USE_DARWIN" = 1; then
26464 system_zlib_h_ok="yes"
26465 else
26466 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26467 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26468 if test "${ac_cv_header_zlib_h+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 else
26471 if test "$cross_compiling" = yes; then
26472 unset ac_cv_header_zlib_h
26473
26474 else
26475 cat >conftest.$ac_ext <<_ACEOF
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481
26482 #include <zlib.h>
26483 #include <stdio.h>
26484
26485 int main()
26486 {
26487 FILE *f=fopen("conftestval", "w");
26488 if (!f) exit(1);
26489 fprintf(f, "%s",
26490 ZLIB_VERSION[0] == '1' &&
26491 (ZLIB_VERSION[2] > '1' ||
26492 (ZLIB_VERSION[2] == '1' &&
26493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26494 exit(0);
26495 }
26496
26497 _ACEOF
26498 rm -f conftest$ac_exeext
26499 if { (ac_try="$ac_link"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26502 *) ac_try_echo=$ac_try;;
26503 esac
26504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_link") 2>&5
26506 ac_status=$?
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26509 { (case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26512 esac
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_try") 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_header_zlib_h=`cat conftestval`
26519 else
26520 echo "$as_me: program exited with status $ac_status" >&5
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ( exit $ac_status )
26525 ac_cv_header_zlib_h=no
26526 fi
26527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26528 fi
26529
26530
26531
26532 fi
26533 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26536 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26537 if test "${ac_cv_header_zlib_h+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540 cat >conftest.$ac_ext <<_ACEOF
26541 /* confdefs.h. */
26542 _ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546
26547
26548 #include <zlib.h>
26549 _ACEOF
26550 rm -f conftest.$ac_objext
26551 if { (ac_try="$ac_compile"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26554 *) ac_try_echo=$ac_try;;
26555 esac
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_compile") 2>conftest.er1
26558 ac_status=$?
26559 grep -v '^ *+' conftest.er1 >conftest.err
26560 rm -f conftest.er1
26561 cat conftest.err >&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } && {
26564 test -z "$ac_c_werror_flag" ||
26565 test ! -s conftest.err
26566 } && test -s conftest.$ac_objext; then
26567 ac_cv_header_zlib_h=yes
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26571
26572 ac_cv_header_zlib_h=no
26573 fi
26574
26575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26576 fi
26577 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26579
26580
26581
26582 system_zlib_h_ok=$ac_cv_header_zlib_h
26583 fi
26584
26585 if test "$system_zlib_h_ok" = "yes"; then
26586 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26587 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26588 if test "${ac_cv_lib_z_deflate+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 ac_check_lib_save_LIBS=$LIBS
26592 LIBS="-lz $LIBS"
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599
26600 /* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26603 #ifdef __cplusplus
26604 extern "C"
26605 #endif
26606 char deflate ();
26607 int
26608 main ()
26609 {
26610 return deflate ();
26611 ;
26612 return 0;
26613 }
26614 _ACEOF
26615 rm -f conftest.$ac_objext conftest$ac_exeext
26616 if { (ac_try="$ac_link"
26617 case "(($ac_try" in
26618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26620 esac
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_link") 2>conftest.er1
26623 ac_status=$?
26624 grep -v '^ *+' conftest.er1 >conftest.err
26625 rm -f conftest.er1
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest$ac_exeext &&
26632 $as_test_x conftest$ac_exeext; then
26633 ac_cv_lib_z_deflate=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_cv_lib_z_deflate=no
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26642 conftest$ac_exeext conftest.$ac_ext
26643 LIBS=$ac_check_lib_save_LIBS
26644 fi
26645 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26646 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26647 if test $ac_cv_lib_z_deflate = yes; then
26648 ZLIB_LINK=" -lz"
26649 fi
26650
26651 fi
26652
26653 if test "x$ZLIB_LINK" = "x" ; then
26654 if test "$wxUSE_ZLIB" = "sys" ; then
26655 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26656 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26657 { (exit 1); exit 1; }; }
26658 else
26659 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26660 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26661 wxUSE_ZLIB=builtin
26662 fi
26663 else
26664 wxUSE_ZLIB=sys
26665 fi
26666 fi
26667 fi
26668
26669
26670 PNG_LINK=
26671 if test "$wxUSE_LIBPNG" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_LIBPNG 1
26674 _ACEOF
26675
26676
26677 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26678 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26679 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26680 wxUSE_LIBPNG=sys
26681 fi
26682
26683 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26684 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26685 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26686 wxUSE_LIBPNG=builtin
26687 fi
26688
26689 if test "$wxUSE_MGL" != 1 ; then
26690 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26691 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26692 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26693 if test "${ac_cv_header_png_h+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 else
26696 if test "$cross_compiling" = yes; then
26697 unset ac_cv_header_png_h
26698
26699 else
26700 cat >conftest.$ac_ext <<_ACEOF
26701 /* confdefs.h. */
26702 _ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26706
26707 #include <png.h>
26708 #include <stdio.h>
26709
26710 int main()
26711 {
26712 FILE *f=fopen("conftestval", "w");
26713 if (!f) exit(1);
26714 fprintf(f, "%s",
26715 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26716 exit(0);
26717 }
26718
26719 _ACEOF
26720 rm -f conftest$ac_exeext
26721 if { (ac_try="$ac_link"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_link") 2>&5
26728 ac_status=$?
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26731 { (case "(($ac_try" in
26732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26733 *) ac_try_echo=$ac_try;;
26734 esac
26735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26736 (eval "$ac_try") 2>&5
26737 ac_status=$?
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; }; then
26740 ac_cv_header_png_h=`cat conftestval`
26741 else
26742 echo "$as_me: program exited with status $ac_status" >&5
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ( exit $ac_status )
26747 ac_cv_header_png_h=no
26748 fi
26749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26750 fi
26751
26752
26753
26754 fi
26755 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26756 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 { echo "$as_me:$LINENO: checking for png.h" >&5
26758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26759 if test "${ac_cv_header_png_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 else
26762 cat >conftest.$ac_ext <<_ACEOF
26763 /* confdefs.h. */
26764 _ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768
26769
26770 #include <png.h>
26771 _ACEOF
26772 rm -f conftest.$ac_objext
26773 if { (ac_try="$ac_compile"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26776 *) ac_try_echo=$ac_try;;
26777 esac
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_compile") 2>conftest.er1
26780 ac_status=$?
26781 grep -v '^ *+' conftest.er1 >conftest.err
26782 rm -f conftest.er1
26783 cat conftest.err >&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_c_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest.$ac_objext; then
26789 ac_cv_header_png_h=yes
26790 else
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.$ac_ext >&5
26793
26794 ac_cv_header_png_h=no
26795 fi
26796
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 fi
26799 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26800 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26801
26802
26803
26804 if test "$ac_cv_header_png_h" = "yes"; then
26805 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26806 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26807 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26810 ac_check_lib_save_LIBS=$LIBS
26811 LIBS="-lpng -lz -lm $LIBS"
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h. */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818
26819 /* Override any GCC internal prototype to avoid an error.
26820 Use char because int might match the return type of a GCC
26821 builtin and then its argument prototype would still apply. */
26822 #ifdef __cplusplus
26823 extern "C"
26824 #endif
26825 char png_check_sig ();
26826 int
26827 main ()
26828 {
26829 return png_check_sig ();
26830 ;
26831 return 0;
26832 }
26833 _ACEOF
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (ac_try="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26839 esac
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 ac_cv_lib_png_png_check_sig=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_cv_lib_png_png_check_sig=no
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26862 LIBS=$ac_check_lib_save_LIBS
26863 fi
26864 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26865 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26866 if test $ac_cv_lib_png_png_check_sig = yes; then
26867 PNG_LINK=" -lpng -lz"
26868 fi
26869
26870 fi
26871
26872 if test "x$PNG_LINK" = "x" ; then
26873 if test "$wxUSE_LIBPNG" = "sys" ; then
26874 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26875 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26876 { (exit 1); exit 1; }; }
26877 else
26878 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26879 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26880 wxUSE_LIBPNG=builtin
26881 fi
26882 else
26883 wxUSE_LIBPNG=sys
26884 fi
26885 fi
26886 fi
26887 fi
26888
26889
26890 JPEG_LINK=
26891 if test "$wxUSE_LIBJPEG" != "no" ; then
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_LIBJPEG 1
26894 _ACEOF
26895
26896
26897 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26898 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26899 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26900 wxUSE_LIBJPEG=sys
26901 fi
26902
26903 if test "$wxUSE_MGL" != 1 ; then
26904 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26905 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26906 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26907 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 else
26910 cat >conftest.$ac_ext <<_ACEOF
26911 /* confdefs.h. */
26912 _ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26916
26917 #undef HAVE_STDLIB_H
26918 #include <stdio.h>
26919 #include <jpeglib.h>
26920
26921 int
26922 main ()
26923 {
26924
26925
26926 ;
26927 return 0;
26928 }
26929 _ACEOF
26930 rm -f conftest.$ac_objext
26931 if { (ac_try="$ac_compile"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26934 *) ac_try_echo=$ac_try;;
26935 esac
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_compile") 2>conftest.er1
26938 ac_status=$?
26939 grep -v '^ *+' conftest.er1 >conftest.err
26940 rm -f conftest.er1
26941 cat conftest.err >&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && {
26944 test -z "$ac_c_werror_flag" ||
26945 test ! -s conftest.err
26946 } && test -s conftest.$ac_objext; then
26947 ac_cv_header_jpeglib_h=yes
26948 else
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.$ac_ext >&5
26951
26952 ac_cv_header_jpeglib_h=no
26953
26954 fi
26955
26956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26957
26958 fi
26959
26960 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26962
26963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26964 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26968 else
26969 ac_check_lib_save_LIBS=$LIBS
26970 LIBS="-ljpeg $LIBS"
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977
26978 /* Override any GCC internal prototype to avoid an error.
26979 Use char because int might match the return type of a GCC
26980 builtin and then its argument prototype would still apply. */
26981 #ifdef __cplusplus
26982 extern "C"
26983 #endif
26984 char jpeg_read_header ();
26985 int
26986 main ()
26987 {
26988 return jpeg_read_header ();
26989 ;
26990 return 0;
26991 }
26992 _ACEOF
26993 rm -f conftest.$ac_objext conftest$ac_exeext
26994 if { (ac_try="$ac_link"
26995 case "(($ac_try" in
26996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26997 *) ac_try_echo=$ac_try;;
26998 esac
26999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27000 (eval "$ac_link") 2>conftest.er1
27001 ac_status=$?
27002 grep -v '^ *+' conftest.er1 >conftest.err
27003 rm -f conftest.er1
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && {
27007 test -z "$ac_c_werror_flag" ||
27008 test ! -s conftest.err
27009 } && test -s conftest$ac_exeext &&
27010 $as_test_x conftest$ac_exeext; then
27011 ac_cv_lib_jpeg_jpeg_read_header=yes
27012 else
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27015
27016 ac_cv_lib_jpeg_jpeg_read_header=no
27017 fi
27018
27019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27020 conftest$ac_exeext conftest.$ac_ext
27021 LIBS=$ac_check_lib_save_LIBS
27022 fi
27023 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27024 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27025 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27026 JPEG_LINK=" -ljpeg"
27027 fi
27028
27029 fi
27030
27031 if test "x$JPEG_LINK" = "x" ; then
27032 if test "$wxUSE_LIBJPEG" = "sys" ; then
27033 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27034 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27035 { (exit 1); exit 1; }; }
27036 else
27037 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27038 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27039 wxUSE_LIBJPEG=builtin
27040 fi
27041 else
27042 wxUSE_LIBJPEG=sys
27043
27044 if test "$wxUSE_MSW" = 1; then
27045 { echo "$as_me:$LINENO: checking for boolean" >&5
27046 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27047 if test "${ac_cv_type_boolean+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27049 else
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <windows.h>
27057
27058 typedef boolean ac__type_new_;
27059 int
27060 main ()
27061 {
27062 if ((ac__type_new_ *) 0)
27063 return 0;
27064 if (sizeof (ac__type_new_))
27065 return 0;
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27075 esac
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27078 ac_status=$?
27079 grep -v '^ *+' conftest.er1 >conftest.err
27080 rm -f conftest.er1
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_type_boolean=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_type_boolean=no
27093 fi
27094
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 fi
27097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27099 if test $ac_cv_type_boolean = yes; then
27100
27101 cat >>confdefs.h <<_ACEOF
27102 #define HAVE_BOOLEAN 1
27103 _ACEOF
27104
27105
27106 { echo "$as_me:$LINENO: checking for boolean" >&5
27107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27108 if test "${ac_cv_type_boolean+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27111 cat >conftest.$ac_ext <<_ACEOF
27112 /* confdefs.h. */
27113 _ACEOF
27114 cat confdefs.h >>conftest.$ac_ext
27115 cat >>conftest.$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27117
27118 #undef HAVE_BOOLEAN
27119 #include <stdio.h>
27120 #include <jpeglib.h>
27121
27122
27123 typedef boolean ac__type_new_;
27124 int
27125 main ()
27126 {
27127 if ((ac__type_new_ *) 0)
27128 return 0;
27129 if (sizeof (ac__type_new_))
27130 return 0;
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest.$ac_objext
27136 if { (ac_try="$ac_compile"
27137 case "(($ac_try" in
27138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27140 esac
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_compile") 2>conftest.er1
27143 ac_status=$?
27144 grep -v '^ *+' conftest.er1 >conftest.err
27145 rm -f conftest.er1
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest.$ac_objext; then
27152 ac_cv_type_boolean=yes
27153 else
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 ac_cv_type_boolean=no
27158 fi
27159
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27161 fi
27162 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27163 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27164
27165 # The cast to long int works around a bug in the HP C Compiler
27166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27168 # This bug is HP SR number 8606223364.
27169 { echo "$as_me:$LINENO: checking size of boolean" >&5
27170 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27171 if test "${ac_cv_sizeof_boolean+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 else
27174 if test "$cross_compiling" = yes; then
27175 # Depending upon the size, compute the lo and hi bounds.
27176 cat >conftest.$ac_ext <<_ACEOF
27177 /* confdefs.h. */
27178 _ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27182
27183 #undef HAVE_BOOLEAN
27184 #include <stdio.h>
27185 #include <jpeglib.h>
27186
27187
27188 typedef boolean ac__type_sizeof_;
27189 int
27190 main ()
27191 {
27192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27193 test_array [0] = 0
27194
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 rm -f conftest.$ac_objext
27200 if { (ac_try="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27204 esac
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27207 ac_status=$?
27208 grep -v '^ *+' conftest.er1 >conftest.err
27209 rm -f conftest.er1
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27216 ac_lo=0 ac_mid=0
27217 while :; do
27218 cat >conftest.$ac_ext <<_ACEOF
27219 /* confdefs.h. */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27224
27225 #undef HAVE_BOOLEAN
27226 #include <stdio.h>
27227 #include <jpeglib.h>
27228
27229
27230 typedef boolean ac__type_sizeof_;
27231 int
27232 main ()
27233 {
27234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27235 test_array [0] = 0
27236
27237 ;
27238 return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27246 esac
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27249 ac_status=$?
27250 grep -v '^ *+' conftest.er1 >conftest.err
27251 rm -f conftest.er1
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_c_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27258 ac_hi=$ac_mid; break
27259 else
27260 echo "$as_me: failed program was:" >&5
27261 sed 's/^/| /' conftest.$ac_ext >&5
27262
27263 ac_lo=`expr $ac_mid + 1`
27264 if test $ac_lo -le $ac_mid; then
27265 ac_lo= ac_hi=
27266 break
27267 fi
27268 ac_mid=`expr 2 '*' $ac_mid + 1`
27269 fi
27270
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27272 done
27273 else
27274 echo "$as_me: failed program was:" >&5
27275 sed 's/^/| /' conftest.$ac_ext >&5
27276
27277 cat >conftest.$ac_ext <<_ACEOF
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283
27284 #undef HAVE_BOOLEAN
27285 #include <stdio.h>
27286 #include <jpeglib.h>
27287
27288
27289 typedef boolean ac__type_sizeof_;
27290 int
27291 main ()
27292 {
27293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27294 test_array [0] = 0
27295
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27308 ac_status=$?
27309 grep -v '^ *+' conftest.er1 >conftest.err
27310 rm -f conftest.er1
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27317 ac_hi=-1 ac_mid=-1
27318 while :; do
27319 cat >conftest.$ac_ext <<_ACEOF
27320 /* confdefs.h. */
27321 _ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27325
27326 #undef HAVE_BOOLEAN
27327 #include <stdio.h>
27328 #include <jpeglib.h>
27329
27330
27331 typedef boolean ac__type_sizeof_;
27332 int
27333 main ()
27334 {
27335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27336 test_array [0] = 0
27337
27338 ;
27339 return 0;
27340 }
27341 _ACEOF
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27347 esac
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_lo=$ac_mid; break
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_hi=`expr '(' $ac_mid ')' - 1`
27365 if test $ac_mid -le $ac_hi; then
27366 ac_lo= ac_hi=
27367 break
27368 fi
27369 ac_mid=`expr 2 '*' $ac_mid`
27370 fi
27371
27372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27373 done
27374 else
27375 echo "$as_me: failed program was:" >&5
27376 sed 's/^/| /' conftest.$ac_ext >&5
27377
27378 ac_lo= ac_hi=
27379 fi
27380
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 fi
27383
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 # Binary search between lo and hi bounds.
27386 while test "x$ac_lo" != "x$ac_hi"; do
27387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27388 cat >conftest.$ac_ext <<_ACEOF
27389 /* confdefs.h. */
27390 _ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h. */
27394
27395 #undef HAVE_BOOLEAN
27396 #include <stdio.h>
27397 #include <jpeglib.h>
27398
27399
27400 typedef boolean ac__type_sizeof_;
27401 int
27402 main ()
27403 {
27404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27405 test_array [0] = 0
27406
27407 ;
27408 return 0;
27409 }
27410 _ACEOF
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27416 esac
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27419 ac_status=$?
27420 grep -v '^ *+' conftest.er1 >conftest.err
27421 rm -f conftest.er1
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_c_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27428 ac_hi=$ac_mid
27429 else
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27432
27433 ac_lo=`expr '(' $ac_mid ')' + 1`
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 done
27438 case $ac_lo in
27439 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27440 '') if test "$ac_cv_type_boolean" = yes; then
27441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27442 See \`config.log' for more details." >&5
27443 echo "$as_me: error: cannot compute sizeof (boolean)
27444 See \`config.log' for more details." >&2;}
27445 { (exit 77); exit 77; }; }
27446 else
27447 ac_cv_sizeof_boolean=0
27448 fi ;;
27449 esac
27450 else
27451 cat >conftest.$ac_ext <<_ACEOF
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457
27458 #undef HAVE_BOOLEAN
27459 #include <stdio.h>
27460 #include <jpeglib.h>
27461
27462
27463 typedef boolean ac__type_sizeof_;
27464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27466 #include <stdio.h>
27467 #include <stdlib.h>
27468 int
27469 main ()
27470 {
27471
27472 FILE *f = fopen ("conftest.val", "w");
27473 if (! f)
27474 return 1;
27475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27476 {
27477 long int i = longval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27479 return 1;
27480 fprintf (f, "%ld\n", i);
27481 }
27482 else
27483 {
27484 unsigned long int i = ulongval ();
27485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27486 return 1;
27487 fprintf (f, "%lu\n", i);
27488 }
27489 return ferror (f) || fclose (f) != 0;
27490
27491 ;
27492 return 0;
27493 }
27494 _ACEOF
27495 rm -f conftest$ac_exeext
27496 if { (ac_try="$ac_link"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27499 *) ac_try_echo=$ac_try;;
27500 esac
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_link") 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27506 { (case "(($ac_try" in
27507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27508 *) ac_try_echo=$ac_try;;
27509 esac
27510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27511 (eval "$ac_try") 2>&5
27512 ac_status=$?
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; }; then
27515 ac_cv_sizeof_boolean=`cat conftest.val`
27516 else
27517 echo "$as_me: program exited with status $ac_status" >&5
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27520
27521 ( exit $ac_status )
27522 if test "$ac_cv_type_boolean" = yes; then
27523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27524 See \`config.log' for more details." >&5
27525 echo "$as_me: error: cannot compute sizeof (boolean)
27526 See \`config.log' for more details." >&2;}
27527 { (exit 77); exit 77; }; }
27528 else
27529 ac_cv_sizeof_boolean=0
27530 fi
27531 fi
27532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27533 fi
27534 rm -f conftest.val
27535 fi
27536 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27537 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27538
27539
27540
27541 cat >>confdefs.h <<_ACEOF
27542 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27543 _ACEOF
27544
27545
27546 cat >>confdefs.h <<_ACEOF
27547 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27548 _ACEOF
27549
27550
27551 fi
27552
27553 fi
27554 fi
27555 fi
27556 fi
27557 fi
27558
27559
27560 TIFF_LINK=
27561 TIFF_PREREQ_LINKS=-lm
27562 if test "$wxUSE_LIBTIFF" != "no" ; then
27563 cat >>confdefs.h <<\_ACEOF
27564 #define wxUSE_LIBTIFF 1
27565 _ACEOF
27566
27567
27568 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27569 if test "$wxUSE_LIBJPEG" = "sys"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27571 fi
27572 if test "$wxUSE_ZLIB" = "sys"; then
27573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27574 fi
27575 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27576 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27577 if test "${ac_cv_header_tiffio_h+set}" = set; then
27578 echo $ECHO_N "(cached) $ECHO_C" >&6
27579 else
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586
27587
27588
27589 #include <tiffio.h>
27590 _ACEOF
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27596 esac
27597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27599 ac_status=$?
27600 grep -v '^ *+' conftest.er1 >conftest.err
27601 rm -f conftest.er1
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_tiffio_h=yes
27609 else
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27612
27613 ac_cv_header_tiffio_h=no
27614 fi
27615
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617 fi
27618 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27620 if test $ac_cv_header_tiffio_h = yes; then
27621
27622 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27623 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27624 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 ac_check_lib_save_LIBS=$LIBS
27628 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27629 cat >conftest.$ac_ext <<_ACEOF
27630 /* confdefs.h. */
27631 _ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27635
27636 /* Override any GCC internal prototype to avoid an error.
27637 Use char because int might match the return type of a GCC
27638 builtin and then its argument prototype would still apply. */
27639 #ifdef __cplusplus
27640 extern "C"
27641 #endif
27642 char TIFFError ();
27643 int
27644 main ()
27645 {
27646 return TIFFError ();
27647 ;
27648 return 0;
27649 }
27650 _ACEOF
27651 rm -f conftest.$ac_objext conftest$ac_exeext
27652 if { (ac_try="$ac_link"
27653 case "(($ac_try" in
27654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27655 *) ac_try_echo=$ac_try;;
27656 esac
27657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27658 (eval "$ac_link") 2>conftest.er1
27659 ac_status=$?
27660 grep -v '^ *+' conftest.er1 >conftest.err
27661 rm -f conftest.er1
27662 cat conftest.err >&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); } && {
27665 test -z "$ac_c_werror_flag" ||
27666 test ! -s conftest.err
27667 } && test -s conftest$ac_exeext &&
27668 $as_test_x conftest$ac_exeext; then
27669 ac_cv_lib_tiff_TIFFError=yes
27670 else
27671 echo "$as_me: failed program was:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27673
27674 ac_cv_lib_tiff_TIFFError=no
27675 fi
27676
27677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS=$ac_check_lib_save_LIBS
27680 fi
27681 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27682 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27683 if test $ac_cv_lib_tiff_TIFFError = yes; then
27684 TIFF_LINK=" -ltiff"
27685 fi
27686
27687
27688 fi
27689
27690
27691
27692 if test "x$TIFF_LINK" = "x" ; then
27693 if test "$wxUSE_LIBTIFF" = "sys" ; then
27694 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27695 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27696 { (exit 1); exit 1; }; }
27697 else
27698 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27699 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27700 wxUSE_LIBTIFF=builtin
27701 fi
27702 else
27703 wxUSE_LIBTIFF=sys
27704 fi
27705 fi
27706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27707 if test "$wxUSE_LIBJPEG" = "no"; then
27708 ac_configure_args="$ac_configure_args --disable-jpeg"
27709 fi
27710 subdirs="$subdirs src/tiff"
27711
27712 fi
27713 fi
27714
27715
27716 if test "$wxUSE_WCHAR_T" != "yes"; then
27717 if test "$wxUSE_EXPAT" != "no"; then
27718 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27719 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27720 wxUSE_EXPAT=no
27721 fi
27722 if test "$wxUSE_XML" != "no"; then
27723 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27724 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27725 wxUSE_XML=no
27726 fi
27727 fi
27728
27729 if test "$wxUSE_EXPAT" != "no"; then
27730 wxUSE_XML=yes
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_EXPAT 1
27733 _ACEOF
27734
27735 cat >>confdefs.h <<\_ACEOF
27736 #define wxUSE_XML 1
27737 _ACEOF
27738
27739
27740 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27741 { echo "$as_me:$LINENO: checking for expat.h" >&5
27742 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27743 if test "${ac_cv_header_expat_h+set}" = set; then
27744 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 else
27746 cat >conftest.$ac_ext <<_ACEOF
27747 /* confdefs.h. */
27748 _ACEOF
27749 cat confdefs.h >>conftest.$ac_ext
27750 cat >>conftest.$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27752
27753
27754 #include <expat.h>
27755 _ACEOF
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27761 esac
27762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27764 ac_status=$?
27765 grep -v '^ *+' conftest.er1 >conftest.err
27766 rm -f conftest.er1
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_cv_header_expat_h=yes
27774 else
27775 echo "$as_me: failed program was:" >&5
27776 sed 's/^/| /' conftest.$ac_ext >&5
27777
27778 ac_cv_header_expat_h=no
27779 fi
27780
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 fi
27783 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27785 if test $ac_cv_header_expat_h = yes; then
27786 found_expat_h=1
27787 fi
27788
27789
27790 if test "x$found_expat_h" = "x1"; then
27791 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27792 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27793 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27794 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 else
27796
27797 ac_ext=cpp
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27802
27803 cat >conftest.$ac_ext <<_ACEOF
27804 /* confdefs.h. */
27805 _ACEOF
27806 cat confdefs.h >>conftest.$ac_ext
27807 cat >>conftest.$ac_ext <<_ACEOF
27808 /* end confdefs.h. */
27809 #include <expat.h>
27810 int
27811 main ()
27812 {
27813
27814 ;
27815 return 0;
27816 }
27817 _ACEOF
27818 rm -f conftest.$ac_objext
27819 if { (ac_try="$ac_compile"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27823 esac
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_compile") 2>conftest.er1
27826 ac_status=$?
27827 grep -v '^ *+' conftest.er1 >conftest.err
27828 rm -f conftest.er1
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest.$ac_objext; then
27835 wx_cv_expat_is_not_broken=yes
27836 else
27837 echo "$as_me: failed program was:" >&5
27838 sed 's/^/| /' conftest.$ac_ext >&5
27839
27840 wx_cv_expat_is_not_broken=no
27841
27842 fi
27843
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27845 ac_ext=c
27846 ac_cpp='$CPP $CPPFLAGS'
27847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27850
27851
27852
27853 fi
27854 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27855 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27856 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27857 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27858 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27859 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862 ac_check_lib_save_LIBS=$LIBS
27863 LIBS="-lexpat $LIBS"
27864 cat >conftest.$ac_ext <<_ACEOF
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870
27871 /* Override any GCC internal prototype to avoid an error.
27872 Use char because int might match the return type of a GCC
27873 builtin and then its argument prototype would still apply. */
27874 #ifdef __cplusplus
27875 extern "C"
27876 #endif
27877 char XML_ParserCreate ();
27878 int
27879 main ()
27880 {
27881 return XML_ParserCreate ();
27882 ;
27883 return 0;
27884 }
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (ac_try="$ac_link"
27888 case "(($ac_try" in
27889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27890 *) ac_try_echo=$ac_try;;
27891 esac
27892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27893 (eval "$ac_link") 2>conftest.er1
27894 ac_status=$?
27895 grep -v '^ *+' conftest.er1 >conftest.err
27896 rm -f conftest.er1
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } && {
27900 test -z "$ac_c_werror_flag" ||
27901 test ! -s conftest.err
27902 } && test -s conftest$ac_exeext &&
27903 $as_test_x conftest$ac_exeext; then
27904 ac_cv_lib_expat_XML_ParserCreate=yes
27905 else
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27908
27909 ac_cv_lib_expat_XML_ParserCreate=no
27910 fi
27911
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 LIBS=$ac_check_lib_save_LIBS
27915 fi
27916 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27917 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27918 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27919 EXPAT_LINK=" -lexpat"
27920 fi
27921
27922 fi
27923 fi
27924 if test "x$EXPAT_LINK" = "x" ; then
27925 if test "$wxUSE_EXPAT" = "sys" ; then
27926 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27927 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27928 { (exit 1); exit 1; }; }
27929 else
27930 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27931 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27932 wxUSE_EXPAT=builtin
27933 fi
27934 else
27935 wxUSE_EXPAT=sys
27936 fi
27937 fi
27938 if test "$wxUSE_EXPAT" = "builtin" ; then
27939 subdirs="$subdirs src/expat"
27940
27941 fi
27942 fi
27943
27944
27945
27946 if test "$wxUSE_LIBMSPACK" != "no"; then
27947 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27948 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27949 if test "${ac_cv_header_mspack_h+set}" = set; then
27950 echo $ECHO_N "(cached) $ECHO_C" >&6
27951 else
27952 cat >conftest.$ac_ext <<_ACEOF
27953 /* confdefs.h. */
27954 _ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27958
27959
27960 #include <mspack.h>
27961 _ACEOF
27962 rm -f conftest.$ac_objext
27963 if { (ac_try="$ac_compile"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27967 esac
27968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_compile") 2>conftest.er1
27970 ac_status=$?
27971 grep -v '^ *+' conftest.er1 >conftest.err
27972 rm -f conftest.er1
27973 cat conftest.err >&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } && {
27976 test -z "$ac_c_werror_flag" ||
27977 test ! -s conftest.err
27978 } && test -s conftest.$ac_objext; then
27979 ac_cv_header_mspack_h=yes
27980 else
27981 echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27983
27984 ac_cv_header_mspack_h=no
27985 fi
27986
27987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27988 fi
27989 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27990 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27991 if test $ac_cv_header_mspack_h = yes; then
27992 found_mspack_h=1
27993 fi
27994
27995
27996 if test "x$found_mspack_h" = "x1"; then
27997 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27998 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27999 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28000 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 else
28002 ac_check_lib_save_LIBS=$LIBS
28003 LIBS="-lmspack $LIBS"
28004 cat >conftest.$ac_ext <<_ACEOF
28005 /* confdefs.h. */
28006 _ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28010
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28014 #ifdef __cplusplus
28015 extern "C"
28016 #endif
28017 char mspack_create_chm_decompressor ();
28018 int
28019 main ()
28020 {
28021 return mspack_create_chm_decompressor ();
28022 ;
28023 return 0;
28024 }
28025 _ACEOF
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (ac_try="$ac_link"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28031 esac
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_link") 2>conftest.er1
28034 ac_status=$?
28035 grep -v '^ *+' conftest.er1 >conftest.err
28036 rm -f conftest.er1
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest$ac_exeext &&
28043 $as_test_x conftest$ac_exeext; then
28044 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28045 else
28046 echo "$as_me: failed program was:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28048
28049 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28050 fi
28051
28052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28053 conftest$ac_exeext conftest.$ac_ext
28054 LIBS=$ac_check_lib_save_LIBS
28055 fi
28056 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28057 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28058 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28059 MSPACK_LINK=" -lmspack"
28060 fi
28061
28062 fi
28063 if test "x$MSPACK_LINK" = "x" ; then
28064 wxUSE_LIBMSPACK=no
28065 fi
28066 fi
28067
28068 if test "$wxUSE_LIBMSPACK" != "no"; then
28069 cat >>confdefs.h <<\_ACEOF
28070 #define wxUSE_LIBMSPACK 1
28071 _ACEOF
28072
28073 fi
28074
28075
28076
28077 AFMINSTALL=
28078 WIN32INSTALL=
28079
28080 TOOLKIT=
28081 TOOLKIT_INCLUDE=
28082 WIDGET_SET=
28083
28084 if test "$USE_WIN32" = 1 ; then
28085
28086 for ac_header in w32api.h
28087 do
28088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28092 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 else
28094 cat >conftest.$ac_ext <<_ACEOF
28095 /* confdefs.h. */
28096 _ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28100
28101
28102 #include <$ac_header>
28103 _ACEOF
28104 rm -f conftest.$ac_objext
28105 if { (ac_try="$ac_compile"
28106 case "(($ac_try" in
28107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28108 *) ac_try_echo=$ac_try;;
28109 esac
28110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28111 (eval "$ac_compile") 2>conftest.er1
28112 ac_status=$?
28113 grep -v '^ *+' conftest.er1 >conftest.err
28114 rm -f conftest.er1
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } && {
28118 test -z "$ac_c_werror_flag" ||
28119 test ! -s conftest.err
28120 } && test -s conftest.$ac_objext; then
28121 eval "$as_ac_Header=yes"
28122 else
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28125
28126 eval "$as_ac_Header=no"
28127 fi
28128
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 fi
28131 ac_res=`eval echo '${'$as_ac_Header'}'`
28132 { echo "$as_me:$LINENO: result: $ac_res" >&5
28133 echo "${ECHO_T}$ac_res" >&6; }
28134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28135 cat >>confdefs.h <<_ACEOF
28136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28137 _ACEOF
28138
28139 fi
28140
28141 done
28142
28143 { echo "$as_me:$LINENO: checking for windows.h" >&5
28144 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28145 if test "${ac_cv_header_windows_h+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 cat >conftest.$ac_ext <<_ACEOF
28149 /* confdefs.h. */
28150 _ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28154
28155
28156 #include <windows.h>
28157 _ACEOF
28158 rm -f conftest.$ac_objext
28159 if { (ac_try="$ac_compile"
28160 case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28163 esac
28164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_compile") 2>conftest.er1
28166 ac_status=$?
28167 grep -v '^ *+' conftest.er1 >conftest.err
28168 rm -f conftest.er1
28169 cat conftest.err >&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); } && {
28172 test -z "$ac_c_werror_flag" ||
28173 test ! -s conftest.err
28174 } && test -s conftest.$ac_objext; then
28175 ac_cv_header_windows_h=yes
28176 else
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28179
28180 ac_cv_header_windows_h=no
28181 fi
28182
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 fi
28185 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28187 if test $ac_cv_header_windows_h = yes; then
28188 :
28189 else
28190
28191 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28192 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28193 { (exit 1); exit 1; }; }
28194
28195 fi
28196
28197
28198
28199 case "${host}" in
28200 x86_64-*-mingw32* )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28202 ;;
28203 * )
28204 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28205 ;;
28206 esac
28207 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28208 LIBS="$LIBS -loleacc"
28209 fi
28210
28211 case "${host}" in
28212 *-*-cygwin* )
28213 LIBS="$LIBS -lkernel32 -luser32"
28214 esac
28215
28216 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28217 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28218
28219 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28220
28221 WIN32INSTALL=win32install
28222
28223 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28224 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28225 if test "${ac_cv_header_pbt_h+set}" = set; then
28226 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 else
28228 cat >conftest.$ac_ext <<_ACEOF
28229 /* confdefs.h. */
28230 _ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234
28235
28236 #include <pbt.h>
28237 _ACEOF
28238 rm -f conftest.$ac_objext
28239 if { (ac_try="$ac_compile"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28243 esac
28244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_compile") 2>conftest.er1
28246 ac_status=$?
28247 grep -v '^ *+' conftest.er1 >conftest.err
28248 rm -f conftest.er1
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); } && {
28252 test -z "$ac_c_werror_flag" ||
28253 test ! -s conftest.err
28254 } && test -s conftest.$ac_objext; then
28255 ac_cv_header_pbt_h=yes
28256 else
28257 echo "$as_me: failed program was:" >&5
28258 sed 's/^/| /' conftest.$ac_ext >&5
28259
28260 ac_cv_header_pbt_h=no
28261 fi
28262
28263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28264 fi
28265 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28266 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28267 if test $ac_cv_header_pbt_h = yes; then
28268 :
28269 else
28270 cat >>confdefs.h <<\_ACEOF
28271 #define NEED_PBT_H 1
28272 _ACEOF
28273
28274 fi
28275
28276
28277 fi
28278
28279 if test "$wxUSE_GUI" = "yes"; then
28280 USE_GUI=1
28281
28282 GUI_TK_LIBRARY=
28283
28284 WXGTK12=
28285 WXGTK127=
28286 WXGTK2=
28287 WXGPE=
28288
28289 if test "$wxUSE_COCOA" = 1 ; then
28290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28291 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28292 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28293 wxUSE_PRINTING_ARCHITECTURE=no
28294 fi
28295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28296 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28297 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28298 wxUSE_DRAG_AND_DROP=no
28299 fi
28300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28301 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28302 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28303 wxUSE_DRAGIMAGE=no
28304 fi
28305 fi
28306
28307 if test "$wxUSE_MSW" = 1 ; then
28308 TOOLKIT=MSW
28309 GUIDIST=MSW_DIST
28310
28311 case "${host}" in
28312 *-*-mingw32* )
28313 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28314 esac
28315 fi
28316
28317 if test "$wxUSE_GTK" = 1; then
28318 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28319 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28320
28321 gtk_version_cached=1
28322 if test "${wx_cv_lib_gtk+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325
28326 gtk_version_cached=0
28327 { echo "$as_me:$LINENO: result: " >&5
28328 echo "${ECHO_T}" >&6; }
28329
28330 GTK_MODULES=
28331 if test "$wxUSE_THREADS" = "yes"; then
28332 GTK_MODULES=gthread
28333 fi
28334
28335 wx_cv_lib_gtk=
28336 if test "x$wxGTK_VERSION" != "x1"
28337 then
28338 case "${host}" in
28339 *-*-solaris2* )
28340 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28341 enable_gtktest=no
28342 fi
28343 esac
28344
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28348 else
28349 enable_gtktest=yes
28350 fi
28351
28352
28353 pkg_config_args=gtk+-2.0
28354 for module in . $GTK_MODULES
28355 do
28356 case "$module" in
28357 gthread)
28358 pkg_config_args="$pkg_config_args gthread-2.0"
28359 ;;
28360 esac
28361 done
28362
28363 no_gtk=""
28364
28365 # Extract the first word of "pkg-config", so it can be a program name with args.
28366 set dummy pkg-config; ac_word=$2
28367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 else
28372 case $PKG_CONFIG in
28373 [\\/]* | ?:[\\/]*)
28374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28375 ;;
28376 *)
28377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28378 for as_dir in $PATH
28379 do
28380 IFS=$as_save_IFS
28381 test -z "$as_dir" && as_dir=.
28382 for ac_exec_ext in '' $ac_executable_extensions; do
28383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28386 break 2
28387 fi
28388 done
28389 done
28390 IFS=$as_save_IFS
28391
28392 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28393 ;;
28394 esac
28395 fi
28396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28397 if test -n "$PKG_CONFIG"; then
28398 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28400 else
28401 { echo "$as_me:$LINENO: result: no" >&5
28402 echo "${ECHO_T}no" >&6; }
28403 fi
28404
28405
28406
28407 if test x$PKG_CONFIG != xno ; then
28408 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28409 :
28410 else
28411 echo "*** pkg-config too old; version 0.7 or better required."
28412 no_gtk=yes
28413 PKG_CONFIG=no
28414 fi
28415 else
28416 no_gtk=yes
28417 fi
28418
28419 min_gtk_version=2.4.0
28420 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28421 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28422
28423 if test x$PKG_CONFIG != xno ; then
28424 ## don't try to run the test against uninstalled libtool libs
28425 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28426 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28427 enable_gtktest=no
28428 fi
28429
28430 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28431 :
28432 else
28433 no_gtk=yes
28434 fi
28435 fi
28436
28437 if test x"$no_gtk" = x ; then
28438 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28439 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28440 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28442 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28444 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28446 if test "x$enable_gtktest" = "xyes" ; then
28447 ac_save_CFLAGS="$CFLAGS"
28448 ac_save_LIBS="$LIBS"
28449 CFLAGS="$CFLAGS $GTK_CFLAGS"
28450 LIBS="$GTK_LIBS $LIBS"
28451 rm -f conf.gtktest
28452 if test "$cross_compiling" = yes; then
28453 echo $ac_n "cross compiling; assumed OK... $ac_c"
28454 else
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461
28462 #include <gtk/gtk.h>
28463 #include <stdio.h>
28464 #include <stdlib.h>
28465
28466 int
28467 main ()
28468 {
28469 int major, minor, micro;
28470 char *tmp_version;
28471
28472 system ("touch conf.gtktest");
28473
28474 /* HP/UX 9 (%@#!) writes to sscanf strings */
28475 tmp_version = g_strdup("$min_gtk_version");
28476 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28477 printf("%s, bad version string\n", "$min_gtk_version");
28478 exit(1);
28479 }
28480
28481 if ((gtk_major_version != $gtk_config_major_version) ||
28482 (gtk_minor_version != $gtk_config_minor_version) ||
28483 (gtk_micro_version != $gtk_config_micro_version))
28484 {
28485 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28487 gtk_major_version, gtk_minor_version, gtk_micro_version);
28488 printf ("*** was found! If pkg-config was correct, then it is best\n");
28489 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28491 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28492 printf("*** required on your system.\n");
28493 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28494 printf("*** to point to the correct configuration files\n");
28495 }
28496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28497 (gtk_minor_version != GTK_MINOR_VERSION) ||
28498 (gtk_micro_version != GTK_MICRO_VERSION))
28499 {
28500 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28502 printf("*** library (version %d.%d.%d)\n",
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28504 }
28505 else
28506 {
28507 if ((gtk_major_version > major) ||
28508 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28509 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28510 {
28511 return 0;
28512 }
28513 else
28514 {
28515 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28516 gtk_major_version, gtk_minor_version, gtk_micro_version);
28517 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28518 major, minor, micro);
28519 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28520 printf("***\n");
28521 printf("*** If you have already installed a sufficiently new version, this error\n");
28522 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28523 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28524 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28525 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28526 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28527 printf("*** so that the correct libraries are found at run-time))\n");
28528 }
28529 }
28530 return 1;
28531 }
28532
28533 _ACEOF
28534 rm -f conftest$ac_exeext
28535 if { (ac_try="$ac_link"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28539 esac
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_link") 2>&5
28542 ac_status=$?
28543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28545 { (case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28548 esac
28549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_try") 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 :
28555 else
28556 echo "$as_me: program exited with status $ac_status" >&5
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28559
28560 ( exit $ac_status )
28561 no_gtk=yes
28562 fi
28563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28564 fi
28565
28566
28567 CFLAGS="$ac_save_CFLAGS"
28568 LIBS="$ac_save_LIBS"
28569 fi
28570 fi
28571 if test "x$no_gtk" = x ; then
28572 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28573 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28574 wx_cv_lib_gtk=2.0
28575 else
28576 { echo "$as_me:$LINENO: result: no" >&5
28577 echo "${ECHO_T}no" >&6; }
28578 if test "$PKG_CONFIG" = "no" ; then
28579 echo "*** A new enough version of pkg-config was not found."
28580 echo "*** See http://pkgconfig.sourceforge.net"
28581 else
28582 if test -f conf.gtktest ; then
28583 :
28584 else
28585 echo "*** Could not run GTK+ test program, checking why..."
28586 ac_save_CFLAGS="$CFLAGS"
28587 ac_save_LIBS="$LIBS"
28588 CFLAGS="$CFLAGS $GTK_CFLAGS"
28589 LIBS="$LIBS $GTK_LIBS"
28590 cat >conftest.$ac_ext <<_ACEOF
28591 /* confdefs.h. */
28592 _ACEOF
28593 cat confdefs.h >>conftest.$ac_ext
28594 cat >>conftest.$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28596
28597 #include <gtk/gtk.h>
28598 #include <stdio.h>
28599
28600 int
28601 main ()
28602 {
28603 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28604 ;
28605 return 0;
28606 }
28607 _ACEOF
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (ac_try="$ac_link"
28610 case "(($ac_try" in
28611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28612 *) ac_try_echo=$ac_try;;
28613 esac
28614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28615 (eval "$ac_link") 2>conftest.er1
28616 ac_status=$?
28617 grep -v '^ *+' conftest.er1 >conftest.err
28618 rm -f conftest.er1
28619 cat conftest.err >&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } && {
28622 test -z "$ac_c_werror_flag" ||
28623 test ! -s conftest.err
28624 } && test -s conftest$ac_exeext &&
28625 $as_test_x conftest$ac_exeext; then
28626 echo "*** The test program compiled, but did not run. This usually means"
28627 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28628 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28629 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28630 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28631 echo "*** is required on your system"
28632 echo "***"
28633 echo "*** If you have an old version installed, it is best to remove it, although"
28634 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28635 else
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.$ac_ext >&5
28638
28639 echo "*** The test program failed to compile or link. See the file config.log for the"
28640 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28641 fi
28642
28643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28644 conftest$ac_exeext conftest.$ac_ext
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28647 fi
28648 fi
28649 GTK_CFLAGS=""
28650 GTK_LIBS=""
28651 :
28652 fi
28653
28654
28655 rm -f conf.gtktest
28656
28657
28658 case "${host}" in
28659 *-*-solaris2* )
28660 if test "$wxUSE_SHARED" != "yes"; then
28661 GTK_LIBS="$GTK_LIBS -lX11"
28662 fi
28663 esac
28664 fi
28665
28666 if test -z "$wx_cv_lib_gtk"; then
28667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28668
28669 # Check whether --with-gtk-prefix was given.
28670 if test "${with_gtk_prefix+set}" = set; then
28671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28672 else
28673 gtk_config_prefix=""
28674 fi
28675
28676
28677 # Check whether --with-gtk-exec-prefix was given.
28678 if test "${with_gtk_exec_prefix+set}" = set; then
28679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28680 else
28681 gtk_config_exec_prefix=""
28682 fi
28683
28684 # Check whether --enable-gtktest was given.
28685 if test "${enable_gtktest+set}" = set; then
28686 enableval=$enable_gtktest;
28687 else
28688 enable_gtktest=yes
28689 fi
28690
28691
28692 for module in . $GTK_MODULES
28693 do
28694 case "$module" in
28695 gthread)
28696 gtk_config_args="$gtk_config_args gthread"
28697 ;;
28698 esac
28699 done
28700
28701 if test x$gtk_config_exec_prefix != x ; then
28702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28703 if test x${GTK_CONFIG+set} != xset ; then
28704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28705 fi
28706 fi
28707 if test x$gtk_config_prefix != x ; then
28708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28709 if test x${GTK_CONFIG+set} != xset ; then
28710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28711 fi
28712 fi
28713
28714 # Extract the first word of "gtk-config", so it can be a program name with args.
28715 set dummy gtk-config; ac_word=$2
28716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28718 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 else
28721 case $GTK_CONFIG in
28722 [\\/]* | ?:[\\/]*)
28723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28724 ;;
28725 *)
28726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28727 for as_dir in $PATH
28728 do
28729 IFS=$as_save_IFS
28730 test -z "$as_dir" && as_dir=.
28731 for ac_exec_ext in '' $ac_executable_extensions; do
28732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28735 break 2
28736 fi
28737 done
28738 done
28739 IFS=$as_save_IFS
28740
28741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28742 ;;
28743 esac
28744 fi
28745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28746 if test -n "$GTK_CONFIG"; then
28747 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28748 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28749 else
28750 { echo "$as_me:$LINENO: result: no" >&5
28751 echo "${ECHO_T}no" >&6; }
28752 fi
28753
28754
28755 min_gtk_version=1.2.7
28756 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28757 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28758 no_gtk=""
28759 if test "$GTK_CONFIG" = "no" ; then
28760 no_gtk=yes
28761 else
28762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28770 if test "x$enable_gtktest" = "xyes" ; then
28771 ac_save_CFLAGS="$CFLAGS"
28772 ac_save_LIBS="$LIBS"
28773 CFLAGS="$CFLAGS $GTK_CFLAGS"
28774 LIBS="$GTK_LIBS $LIBS"
28775 rm -f conf.gtktest
28776 if test "$cross_compiling" = yes; then
28777 echo $ac_n "cross compiling; assumed OK... $ac_c"
28778 else
28779 cat >conftest.$ac_ext <<_ACEOF
28780 /* confdefs.h. */
28781 _ACEOF
28782 cat confdefs.h >>conftest.$ac_ext
28783 cat >>conftest.$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785
28786 #include <gtk/gtk.h>
28787 #include <stdio.h>
28788 #include <stdlib.h>
28789
28790 int
28791 main ()
28792 {
28793 int major, minor, micro;
28794 char *tmp_version;
28795
28796 system ("touch conf.gtktest");
28797
28798 /* HP/UX 9 (%@#!) writes to sscanf strings */
28799 tmp_version = g_strdup("$min_gtk_version");
28800 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28801 printf("%s, bad version string\n", "$min_gtk_version");
28802 exit(1);
28803 }
28804
28805 if ((gtk_major_version != $gtk_config_major_version) ||
28806 (gtk_minor_version != $gtk_config_minor_version) ||
28807 (gtk_micro_version != $gtk_config_micro_version))
28808 {
28809 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28810 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28811 gtk_major_version, gtk_minor_version, gtk_micro_version);
28812 printf ("*** was found! If gtk-config was correct, then it is best\n");
28813 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28814 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28815 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28816 printf("*** required on your system.\n");
28817 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28818 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28819 printf("*** before re-running configure\n");
28820 }
28821 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28822 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28823 (gtk_minor_version != GTK_MINOR_VERSION) ||
28824 (gtk_micro_version != GTK_MICRO_VERSION))
28825 {
28826 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28827 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28828 printf("*** library (version %d.%d.%d)\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28830 }
28831 #endif /* defined (GTK_MAJOR_VERSION) ... */
28832 else
28833 {
28834 if ((gtk_major_version > major) ||
28835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28837 {
28838 return 0;
28839 }
28840 else
28841 {
28842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28843 gtk_major_version, gtk_minor_version, gtk_micro_version);
28844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28845 major, minor, micro);
28846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28847 printf("***\n");
28848 printf("*** If you have already installed a sufficiently new version, this error\n");
28849 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28851 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28852 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28854 printf("*** so that the correct libraries are found at run-time))\n");
28855 }
28856 }
28857 return 1;
28858 }
28859
28860 _ACEOF
28861 rm -f conftest$ac_exeext
28862 if { (ac_try="$ac_link"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28866 esac
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_link") 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28872 { (case "(($ac_try" in
28873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28874 *) ac_try_echo=$ac_try;;
28875 esac
28876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28877 (eval "$ac_try") 2>&5
28878 ac_status=$?
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; }; then
28881 :
28882 else
28883 echo "$as_me: program exited with status $ac_status" >&5
28884 echo "$as_me: failed program was:" >&5
28885 sed 's/^/| /' conftest.$ac_ext >&5
28886
28887 ( exit $ac_status )
28888 no_gtk=yes
28889 fi
28890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28891 fi
28892
28893
28894 CFLAGS="$ac_save_CFLAGS"
28895 LIBS="$ac_save_LIBS"
28896 fi
28897 fi
28898 if test "x$no_gtk" = x ; then
28899 { echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6; }
28901 wx_cv_lib_gtk=1.2.7
28902 else
28903 { echo "$as_me:$LINENO: result: no" >&5
28904 echo "${ECHO_T}no" >&6; }
28905 if test "$GTK_CONFIG" = "no" ; then
28906 echo "*** The gtk-config script installed by GTK could not be found"
28907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28909 echo "*** full path to gtk-config."
28910 else
28911 if test -f conf.gtktest ; then
28912 :
28913 else
28914 echo "*** Could not run GTK test program, checking why..."
28915 CFLAGS="$CFLAGS $GTK_CFLAGS"
28916 LIBS="$LIBS $GTK_LIBS"
28917 cat >conftest.$ac_ext <<_ACEOF
28918 /* confdefs.h. */
28919 _ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28923
28924 #include <gtk/gtk.h>
28925 #include <stdio.h>
28926
28927 int
28928 main ()
28929 {
28930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (ac_try="$ac_link"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28940 esac
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_link") 2>conftest.er1
28943 ac_status=$?
28944 grep -v '^ *+' conftest.er1 >conftest.err
28945 rm -f conftest.er1
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest$ac_exeext &&
28952 $as_test_x conftest$ac_exeext; then
28953 echo "*** The test program compiled, but did not run. This usually means"
28954 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28955 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28956 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28957 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28958 echo "*** is required on your system"
28959 echo "***"
28960 echo "*** If you have an old version installed, it is best to remove it, although"
28961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28962 echo "***"
28963 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28964 echo "*** came with the system with the command"
28965 echo "***"
28966 echo "*** rpm --erase --nodeps gtk gtk-devel"
28967 else
28968 echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28970
28971 echo "*** The test program failed to compile or link. See the file config.log for the"
28972 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28973 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28974 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28975 fi
28976
28977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28978 conftest$ac_exeext conftest.$ac_ext
28979 CFLAGS="$ac_save_CFLAGS"
28980 LIBS="$ac_save_LIBS"
28981 fi
28982 fi
28983 GTK_CFLAGS=""
28984 GTK_LIBS=""
28985 :
28986 fi
28987
28988
28989 rm -f conf.gtktest
28990
28991
28992 if test -z "$wx_cv_lib_gtk"; then
28993
28994 # Check whether --with-gtk-prefix was given.
28995 if test "${with_gtk_prefix+set}" = set; then
28996 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28997 else
28998 gtk_config_prefix=""
28999 fi
29000
29001
29002 # Check whether --with-gtk-exec-prefix was given.
29003 if test "${with_gtk_exec_prefix+set}" = set; then
29004 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29005 else
29006 gtk_config_exec_prefix=""
29007 fi
29008
29009 # Check whether --enable-gtktest was given.
29010 if test "${enable_gtktest+set}" = set; then
29011 enableval=$enable_gtktest;
29012 else
29013 enable_gtktest=yes
29014 fi
29015
29016
29017 for module in . $GTK_MODULES
29018 do
29019 case "$module" in
29020 gthread)
29021 gtk_config_args="$gtk_config_args gthread"
29022 ;;
29023 esac
29024 done
29025
29026 if test x$gtk_config_exec_prefix != x ; then
29027 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29028 if test x${GTK_CONFIG+set} != xset ; then
29029 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29030 fi
29031 fi
29032 if test x$gtk_config_prefix != x ; then
29033 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29034 if test x${GTK_CONFIG+set} != xset ; then
29035 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29036 fi
29037 fi
29038
29039 # Extract the first word of "gtk-config", so it can be a program name with args.
29040 set dummy gtk-config; ac_word=$2
29041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29043 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29044 echo $ECHO_N "(cached) $ECHO_C" >&6
29045 else
29046 case $GTK_CONFIG in
29047 [\\/]* | ?:[\\/]*)
29048 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29049 ;;
29050 *)
29051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29052 for as_dir in $PATH
29053 do
29054 IFS=$as_save_IFS
29055 test -z "$as_dir" && as_dir=.
29056 for ac_exec_ext in '' $ac_executable_extensions; do
29057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29058 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29060 break 2
29061 fi
29062 done
29063 done
29064 IFS=$as_save_IFS
29065
29066 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29067 ;;
29068 esac
29069 fi
29070 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29071 if test -n "$GTK_CONFIG"; then
29072 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29073 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29074 else
29075 { echo "$as_me:$LINENO: result: no" >&5
29076 echo "${ECHO_T}no" >&6; }
29077 fi
29078
29079
29080 min_gtk_version=1.2.3
29081 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29082 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29083 no_gtk=""
29084 if test "$GTK_CONFIG" = "no" ; then
29085 no_gtk=yes
29086 else
29087 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29088 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29089 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29091 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29093 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29095 if test "x$enable_gtktest" = "xyes" ; then
29096 ac_save_CFLAGS="$CFLAGS"
29097 ac_save_LIBS="$LIBS"
29098 CFLAGS="$CFLAGS $GTK_CFLAGS"
29099 LIBS="$GTK_LIBS $LIBS"
29100 rm -f conf.gtktest
29101 if test "$cross_compiling" = yes; then
29102 echo $ac_n "cross compiling; assumed OK... $ac_c"
29103 else
29104 cat >conftest.$ac_ext <<_ACEOF
29105 /* confdefs.h. */
29106 _ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29110
29111 #include <gtk/gtk.h>
29112 #include <stdio.h>
29113 #include <stdlib.h>
29114
29115 int
29116 main ()
29117 {
29118 int major, minor, micro;
29119 char *tmp_version;
29120
29121 system ("touch conf.gtktest");
29122
29123 /* HP/UX 9 (%@#!) writes to sscanf strings */
29124 tmp_version = g_strdup("$min_gtk_version");
29125 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29126 printf("%s, bad version string\n", "$min_gtk_version");
29127 exit(1);
29128 }
29129
29130 if ((gtk_major_version != $gtk_config_major_version) ||
29131 (gtk_minor_version != $gtk_config_minor_version) ||
29132 (gtk_micro_version != $gtk_config_micro_version))
29133 {
29134 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29135 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29136 gtk_major_version, gtk_minor_version, gtk_micro_version);
29137 printf ("*** was found! If gtk-config was correct, then it is best\n");
29138 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29139 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29140 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29141 printf("*** required on your system.\n");
29142 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29143 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29144 printf("*** before re-running configure\n");
29145 }
29146 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29147 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29148 (gtk_minor_version != GTK_MINOR_VERSION) ||
29149 (gtk_micro_version != GTK_MICRO_VERSION))
29150 {
29151 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29152 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29153 printf("*** library (version %d.%d.%d)\n",
29154 gtk_major_version, gtk_minor_version, gtk_micro_version);
29155 }
29156 #endif /* defined (GTK_MAJOR_VERSION) ... */
29157 else
29158 {
29159 if ((gtk_major_version > major) ||
29160 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29161 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29162 {
29163 return 0;
29164 }
29165 else
29166 {
29167 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29168 gtk_major_version, gtk_minor_version, gtk_micro_version);
29169 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29170 major, minor, micro);
29171 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29172 printf("***\n");
29173 printf("*** If you have already installed a sufficiently new version, this error\n");
29174 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29175 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29176 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29177 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29178 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29179 printf("*** so that the correct libraries are found at run-time))\n");
29180 }
29181 }
29182 return 1;
29183 }
29184
29185 _ACEOF
29186 rm -f conftest$ac_exeext
29187 if { (ac_try="$ac_link"
29188 case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29191 esac
29192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_link") 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29197 { (case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_try") 2>&5
29203 ac_status=$?
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); }; }; then
29206 :
29207 else
29208 echo "$as_me: program exited with status $ac_status" >&5
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29211
29212 ( exit $ac_status )
29213 no_gtk=yes
29214 fi
29215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29216 fi
29217
29218
29219 CFLAGS="$ac_save_CFLAGS"
29220 LIBS="$ac_save_LIBS"
29221 fi
29222 fi
29223 if test "x$no_gtk" = x ; then
29224 { echo "$as_me:$LINENO: result: yes" >&5
29225 echo "${ECHO_T}yes" >&6; }
29226 wx_cv_lib_gtk=1.2.3
29227 else
29228 { echo "$as_me:$LINENO: result: no" >&5
29229 echo "${ECHO_T}no" >&6; }
29230 if test "$GTK_CONFIG" = "no" ; then
29231 echo "*** The gtk-config script installed by GTK could not be found"
29232 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29233 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29234 echo "*** full path to gtk-config."
29235 else
29236 if test -f conf.gtktest ; then
29237 :
29238 else
29239 echo "*** Could not run GTK test program, checking why..."
29240 CFLAGS="$CFLAGS $GTK_CFLAGS"
29241 LIBS="$LIBS $GTK_LIBS"
29242 cat >conftest.$ac_ext <<_ACEOF
29243 /* confdefs.h. */
29244 _ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29248
29249 #include <gtk/gtk.h>
29250 #include <stdio.h>
29251
29252 int
29253 main ()
29254 {
29255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29256 ;
29257 return 0;
29258 }
29259 _ACEOF
29260 rm -f conftest.$ac_objext conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29265 esac
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>conftest.er1
29268 ac_status=$?
29269 grep -v '^ *+' conftest.er1 >conftest.err
29270 rm -f conftest.er1
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest$ac_exeext &&
29277 $as_test_x conftest$ac_exeext; then
29278 echo "*** The test program compiled, but did not run. This usually means"
29279 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29280 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29281 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29282 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29283 echo "*** is required on your system"
29284 echo "***"
29285 echo "*** If you have an old version installed, it is best to remove it, although"
29286 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29287 echo "***"
29288 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29289 echo "*** came with the system with the command"
29290 echo "***"
29291 echo "*** rpm --erase --nodeps gtk gtk-devel"
29292 else
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29295
29296 echo "*** The test program failed to compile or link. See the file config.log for the"
29297 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29298 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29299 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29300 fi
29301
29302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29303 conftest$ac_exeext conftest.$ac_ext
29304 CFLAGS="$ac_save_CFLAGS"
29305 LIBS="$ac_save_LIBS"
29306 fi
29307 fi
29308 GTK_CFLAGS=""
29309 GTK_LIBS=""
29310 :
29311 fi
29312
29313
29314 rm -f conf.gtktest
29315
29316 fi
29317 fi
29318 fi
29319
29320 if test -z "$wx_cv_lib_gtk"; then
29321 wx_cv_lib_gtk=none
29322 else
29323 wx_cv_cflags_gtk=$GTK_CFLAGS
29324 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29325 fi
29326
29327
29328 fi
29329
29330
29331 if test "$gtk_version_cached" = 1; then
29332 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29333 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29334 fi
29335
29336 case "$wx_cv_lib_gtk" in
29337 2.0) WXGTK2=1
29338 TOOLKIT_VERSION=2
29339 ;;
29340 1.2.7) WXGTK127=1
29341 WXGTK12=1
29342 ;;
29343 1.2.3) WXGTK12=1
29344 ;;
29345 *) { { echo "$as_me:$LINENO: error:
29346 The development files for GTK+ were not found. For GTK+ 2, please
29347 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29348 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29349 and that the version is 1.2.3 or above. Also check that the
29350 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29351 --libs' are in the LD_LIBRARY_PATH or equivalent.
29352 " >&5
29353 echo "$as_me: error:
29354 The development files for GTK+ were not found. For GTK+ 2, please
29355 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29356 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29357 and that the version is 1.2.3 or above. Also check that the
29358 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29359 --libs' are in the LD_LIBRARY_PATH or equivalent.
29360 " >&2;}
29361 { (exit 1); exit 1; }; }
29362 ;;
29363 esac
29364
29365 if test "$WXGTK2" = 1; then
29366 save_CFLAGS="$CFLAGS"
29367 save_LIBS="$LIBS"
29368 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29369 LIBS="$LIBS $wx_cv_libs_gtk"
29370
29371 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29372 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29373 cat >conftest.$ac_ext <<_ACEOF
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379
29380 #include <gtk/gtk.h>
29381
29382 int
29383 main ()
29384 {
29385
29386 #if !GTK_CHECK_VERSION(2,10,0)
29387 Not GTK+ 2.10
29388 #endif
29389
29390 ;
29391 return 0;
29392 }
29393 _ACEOF
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29399 esac
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29411
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK210__ 1
29414 _ACEOF
29415
29416 cat >>confdefs.h <<\_ACEOF
29417 #define __WXGTK26__ 1
29418 _ACEOF
29419
29420 { echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6; }
29422 ac_wxgtk210=1
29423
29424 else
29425 echo "$as_me: failed program was:" >&5
29426 sed 's/^/| /' conftest.$ac_ext >&5
29427
29428
29429 { echo "$as_me:$LINENO: result: no" >&5
29430 echo "${ECHO_T}no" >&6; }
29431 ac_wxgtk210=0
29432
29433 fi
29434
29435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436
29437 if test "$ac_wxgtk210" = 0; then
29438 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29439 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29440 cat >conftest.$ac_ext <<_ACEOF
29441 /* confdefs.h. */
29442 _ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29446
29447 #include <gtk/gtk.h>
29448
29449 int
29450 main ()
29451 {
29452
29453 #if !GTK_CHECK_VERSION(2,6,0)
29454 Not GTK+ 2.6
29455 #endif
29456
29457 ;
29458 return 0;
29459 }
29460 _ACEOF
29461 rm -f conftest.$ac_objext
29462 if { (ac_try="$ac_compile"
29463 case "(($ac_try" in
29464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29465 *) ac_try_echo=$ac_try;;
29466 esac
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_compile") 2>conftest.er1
29469 ac_status=$?
29470 grep -v '^ *+' conftest.er1 >conftest.err
29471 rm -f conftest.er1
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } && {
29475 test -z "$ac_c_werror_flag" ||
29476 test ! -s conftest.err
29477 } && test -s conftest.$ac_objext; then
29478
29479 cat >>confdefs.h <<\_ACEOF
29480 #define __WXGTK26__ 1
29481 _ACEOF
29482
29483 { echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6; }
29485 ac_wxgtk26=1
29486
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491
29492 { echo "$as_me:$LINENO: result: no" >&5
29493 echo "${ECHO_T}no" >&6; }
29494 ac_wxgtk26=0
29495
29496 fi
29497
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29499 fi
29500
29501 CFLAGS="$save_CFLAGS"
29502 LIBS="$save_LIBS"
29503 else
29504 if test "$wxUSE_UNICODE" = "yes"; then
29505 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29506 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29507 wxUSE_UNICODE=no
29508 fi
29509
29510 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29511 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29512 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29515 ac_check_lib_save_LIBS=$LIBS
29516 LIBS="-lgdk $LIBS"
29517 cat >conftest.$ac_ext <<_ACEOF
29518 /* confdefs.h. */
29519 _ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523
29524 /* Override any GCC internal prototype to avoid an error.
29525 Use char because int might match the return type of a GCC
29526 builtin and then its argument prototype would still apply. */
29527 #ifdef __cplusplus
29528 extern "C"
29529 #endif
29530 char gdk_im_open ();
29531 int
29532 main ()
29533 {
29534 return gdk_im_open ();
29535 ;
29536 return 0;
29537 }
29538 _ACEOF
29539 rm -f conftest.$ac_objext conftest$ac_exeext
29540 if { (ac_try="$ac_link"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29544 esac
29545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_link") 2>conftest.er1
29547 ac_status=$?
29548 grep -v '^ *+' conftest.er1 >conftest.err
29549 rm -f conftest.er1
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest$ac_exeext &&
29556 $as_test_x conftest$ac_exeext; then
29557 ac_cv_lib_gdk_gdk_im_open=yes
29558 else
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.$ac_ext >&5
29561
29562 ac_cv_lib_gdk_gdk_im_open=no
29563 fi
29564
29565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29566 conftest$ac_exeext conftest.$ac_ext
29567 LIBS=$ac_check_lib_save_LIBS
29568 fi
29569 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29570 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29571 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29572 cat >>confdefs.h <<\_ACEOF
29573 #define HAVE_XIM 1
29574 _ACEOF
29575
29576 fi
29577
29578
29579 if test "$USE_DARWIN" != 1; then
29580
29581 for ac_func in poll
29582 do
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 else
29589 cat >conftest.$ac_ext <<_ACEOF
29590 /* confdefs.h. */
29591 _ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29597 #define $ac_func innocuous_$ac_func
29598
29599 /* System header to define __stub macros and hopefully few prototypes,
29600 which can conflict with char $ac_func (); below.
29601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29602 <limits.h> exists even on freestanding compilers. */
29603
29604 #ifdef __STDC__
29605 # include <limits.h>
29606 #else
29607 # include <assert.h>
29608 #endif
29609
29610 #undef $ac_func
29611
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29615 #ifdef __cplusplus
29616 extern "C"
29617 #endif
29618 char $ac_func ();
29619 /* The GNU C library defines this for functions which it implements
29620 to always fail with ENOSYS. Some functions are actually named
29621 something starting with __ and the normal name is an alias. */
29622 #if defined __stub_$ac_func || defined __stub___$ac_func
29623 choke me
29624 #endif
29625
29626 int
29627 main ()
29628 {
29629 return $ac_func ();
29630 ;
29631 return 0;
29632 }
29633 _ACEOF
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (ac_try="$ac_link"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29639 esac
29640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_link") 2>conftest.er1
29642 ac_status=$?
29643 grep -v '^ *+' conftest.er1 >conftest.err
29644 rm -f conftest.er1
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest$ac_exeext &&
29651 $as_test_x conftest$ac_exeext; then
29652 eval "$as_ac_var=yes"
29653 else
29654 echo "$as_me: failed program was:" >&5
29655 sed 's/^/| /' conftest.$ac_ext >&5
29656
29657 eval "$as_ac_var=no"
29658 fi
29659
29660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29661 conftest$ac_exeext conftest.$ac_ext
29662 fi
29663 ac_res=`eval echo '${'$as_ac_var'}'`
29664 { echo "$as_me:$LINENO: result: $ac_res" >&5
29665 echo "${ECHO_T}$ac_res" >&6; }
29666 if test `eval echo '${'$as_ac_var'}'` = yes; then
29667 cat >>confdefs.h <<_ACEOF
29668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29669 _ACEOF
29670
29671 fi
29672 done
29673
29674 fi
29675 fi
29676
29677 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29678 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29679
29680 AFMINSTALL=afminstall
29681 TOOLKIT=GTK
29682 GUIDIST=GTK_DIST
29683
29684 if test "$wxUSE_GPE" = "yes"; then
29685 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29686 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29687
29688 ac_find_libraries=
29689 for ac_dir in $SEARCH_LIB;
29690 do
29691 for ac_extension in a so sl dylib dll.a; do
29692 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29693 ac_find_libraries=$ac_dir
29694 break 2
29695 fi
29696 done
29697 done
29698
29699 if test "$ac_find_libraries" != "" ; then
29700
29701 if test "$ac_find_libraries" = "default location"; then
29702 ac_path_to_link=""
29703 else
29704 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29705 result=$?
29706 if test $result = 0; then
29707 ac_path_to_link=""
29708 else
29709 ac_path_to_link=" -L$ac_find_libraries"
29710 fi
29711 fi
29712
29713 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29714 WXGPE=1
29715 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29716 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29717 else
29718 { echo "$as_me:$LINENO: result: not found" >&5
29719 echo "${ECHO_T}not found" >&6; }
29720 fi
29721
29722 fi
29723 fi
29724
29725 if test "$wxUSE_MGL" = 1; then
29726 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29728 if test "x$MGL_ROOT" = x ; then
29729 { echo "$as_me:$LINENO: result: not found" >&5
29730 echo "${ECHO_T}not found" >&6; }
29731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29733 { (exit 1); exit 1; }; }
29734 else
29735 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29736 echo "${ECHO_T}$MGL_ROOT" >&6; }
29737 fi
29738
29739 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29741 case "${host}" in
29742 *-*-linux* )
29743 if test "x$wxUSE_SHARED" = xyes ; then
29744 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29745 else
29746 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29747 fi
29748 ;;
29749 *-pc-msdosdjgpp )
29750 mgl_os_candidates="dos32/dj2"
29751 ;;
29752 *)
29753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29755 { (exit 1); exit 1; }; }
29756 esac
29757
29758 mgl_lib_type=""
29759 mgl_os=""
29760
29761 for mgl_os_i in $mgl_os_candidates ; do
29762 if test "x$mgl_os" = x ; then
29763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29764 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29765 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29766 mgl_lib_type=debug
29767 mgl_os=$mgl_os_i
29768 fi
29769 fi
29770 if test "x$mgl_lib_type" = x ; then
29771 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29772 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29773 mgl_lib_type=release
29774 mgl_os=$mgl_os_i
29775 fi
29776 fi
29777 fi
29778 done
29779
29780 if test "x$mgl_os" = x ; then
29781 { echo "$as_me:$LINENO: result: not found" >&5
29782 echo "${ECHO_T}not found" >&6; }
29783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29785 { (exit 1); exit 1; }; }
29786 fi
29787 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29789
29790 wxUSE_UNIVERSAL="yes"
29791
29792 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29793 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29794
29795 AFMINSTALL=afminstall
29796 TOOLKIT=MGL
29797 GUIDIST=MGL_DIST
29798 fi
29799
29800 if test "$wxUSE_DFB" = 1; then
29801
29802
29803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29804 if test -n "$ac_tool_prefix"; then
29805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 else
29812 case $PKG_CONFIG in
29813 [\\/]* | ?:[\\/]*)
29814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29815 ;;
29816 *)
29817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29818 for as_dir in $PATH
29819 do
29820 IFS=$as_save_IFS
29821 test -z "$as_dir" && as_dir=.
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29826 break 2
29827 fi
29828 done
29829 done
29830 IFS=$as_save_IFS
29831
29832 ;;
29833 esac
29834 fi
29835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29836 if test -n "$PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29839 else
29840 { echo "$as_me:$LINENO: result: no" >&5
29841 echo "${ECHO_T}no" >&6; }
29842 fi
29843
29844
29845 fi
29846 if test -z "$ac_cv_path_PKG_CONFIG"; then
29847 ac_pt_PKG_CONFIG=$PKG_CONFIG
29848 # Extract the first word of "pkg-config", so it can be a program name with args.
29849 set dummy pkg-config; ac_word=$2
29850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29853 echo $ECHO_N "(cached) $ECHO_C" >&6
29854 else
29855 case $ac_pt_PKG_CONFIG in
29856 [\\/]* | ?:[\\/]*)
29857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29858 ;;
29859 *)
29860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29861 for as_dir in $PATH
29862 do
29863 IFS=$as_save_IFS
29864 test -z "$as_dir" && as_dir=.
29865 for ac_exec_ext in '' $ac_executable_extensions; do
29866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29869 break 2
29870 fi
29871 done
29872 done
29873 IFS=$as_save_IFS
29874
29875 ;;
29876 esac
29877 fi
29878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29879 if test -n "$ac_pt_PKG_CONFIG"; then
29880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29882 else
29883 { echo "$as_me:$LINENO: result: no" >&5
29884 echo "${ECHO_T}no" >&6; }
29885 fi
29886
29887 if test "x$ac_pt_PKG_CONFIG" = x; then
29888 PKG_CONFIG=""
29889 else
29890 case $cross_compiling:$ac_tool_warned in
29891 yes:)
29892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&5
29895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29896 whose name does not start with the host triplet. If you think this
29897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29898 ac_tool_warned=yes ;;
29899 esac
29900 PKG_CONFIG=$ac_pt_PKG_CONFIG
29901 fi
29902 else
29903 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29904 fi
29905
29906 fi
29907 if test -n "$PKG_CONFIG"; then
29908 _pkg_min_version=0.9.0
29909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29912 { echo "$as_me:$LINENO: result: yes" >&5
29913 echo "${ECHO_T}yes" >&6; }
29914 else
29915 { echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6; }
29917 PKG_CONFIG=""
29918 fi
29919
29920 fi
29921
29922
29923 pkg_failed=no
29924 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29925 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29926
29927 if test -n "$PKG_CONFIG"; then
29928 if test -n "$DIRECTFB_CFLAGS"; then
29929 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29930 else
29931 if test -n "$PKG_CONFIG" && \
29932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29933 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29934 ac_status=$?
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; then
29937 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29938 else
29939 pkg_failed=yes
29940 fi
29941 fi
29942 else
29943 pkg_failed=untried
29944 fi
29945 if test -n "$PKG_CONFIG"; then
29946 if test -n "$DIRECTFB_LIBS"; then
29947 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29948 else
29949 if test -n "$PKG_CONFIG" && \
29950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29951 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; then
29955 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29956 else
29957 pkg_failed=yes
29958 fi
29959 fi
29960 else
29961 pkg_failed=untried
29962 fi
29963
29964
29965
29966 if test $pkg_failed = yes; then
29967
29968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29969 _pkg_short_errors_supported=yes
29970 else
29971 _pkg_short_errors_supported=no
29972 fi
29973 if test $_pkg_short_errors_supported = yes; then
29974 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29975 else
29976 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29977 fi
29978 # Put the nasty error message in config.log where it belongs
29979 echo "$DIRECTFB_PKG_ERRORS" >&5
29980
29981
29982 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29983 echo "$as_me: error: DirectFB not found." >&2;}
29984 { (exit 1); exit 1; }; }
29985
29986
29987 elif test $pkg_failed = untried; then
29988
29989 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29990 echo "$as_me: error: DirectFB not found." >&2;}
29991 { (exit 1); exit 1; }; }
29992
29993
29994 else
29995 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29996 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29997 { echo "$as_me:$LINENO: result: yes" >&5
29998 echo "${ECHO_T}yes" >&6; }
29999
30000 wxUSE_UNIVERSAL="yes"
30001 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30002 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30003 TOOLKIT=DFB
30004 GUIDIST=DFB_DIST
30005
30006 fi
30007 fi
30008
30009 if test "$wxUSE_MICROWIN" = 1; then
30010 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30011 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30012 if test "x$MICROWINDOWS" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30017 { (exit 1); exit 1; }; }
30018 else
30019 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30020 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30021 fi
30022
30023 if test -f $MICROWINDOWS/lib/libmwin.a; then
30024 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30025 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30026 else
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30028 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30029 { (exit 1); exit 1; }; }
30030 fi
30031
30032 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30033 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30034
30035 wxUSE_UNIVERSAL="yes"
30036
30037 AFMINSTALL=afminstall
30038 TOOLKIT=MICROWIN
30039 GUIDIST=MICROWIN_DIST
30040
30041 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30042 fi
30043
30044 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30045 { echo "$as_me:$LINENO: checking for X" >&5
30046 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30047
30048
30049 # Check whether --with-x was given.
30050 if test "${with_x+set}" = set; then
30051 withval=$with_x;
30052 fi
30053
30054 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30055 if test "x$with_x" = xno; then
30056 # The user explicitly disabled X.
30057 have_x=disabled
30058 else
30059 case $x_includes,$x_libraries in #(
30060 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30061 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30062 { (exit 1); exit 1; }; };; #(
30063 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30065 else
30066 # One or both of the vars are not set, and there is no cached value.
30067 ac_x_includes=no ac_x_libraries=no
30068 rm -f -r conftest.dir
30069 if mkdir conftest.dir; then
30070 cd conftest.dir
30071 cat >Imakefile <<'_ACEOF'
30072 incroot:
30073 @echo incroot='${INCROOT}'
30074 usrlibdir:
30075 @echo usrlibdir='${USRLIBDIR}'
30076 libdir:
30077 @echo libdir='${LIBDIR}'
30078 _ACEOF
30079 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30081 for ac_var in incroot usrlibdir libdir; do
30082 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30083 done
30084 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30085 for ac_extension in a so sl; do
30086 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30087 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30088 ac_im_usrlibdir=$ac_im_libdir; break
30089 fi
30090 done
30091 # Screen out bogus values from the imake configuration. They are
30092 # bogus both because they are the default anyway, and because
30093 # using them would break gcc on systems where it needs fixed includes.
30094 case $ac_im_incroot in
30095 /usr/include) ac_x_includes= ;;
30096 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30097 esac
30098 case $ac_im_usrlibdir in
30099 /usr/lib | /lib) ;;
30100 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30101 esac
30102 fi
30103 cd ..
30104 rm -f -r conftest.dir
30105 fi
30106
30107 # Standard set of common directories for X headers.
30108 # Check X11 before X11Rn because it is often a symlink to the current release.
30109 ac_x_header_dirs='
30110 /usr/X11/include
30111 /usr/X11R6/include
30112 /usr/X11R5/include
30113 /usr/X11R4/include
30114
30115 /usr/include/X11
30116 /usr/include/X11R6
30117 /usr/include/X11R5
30118 /usr/include/X11R4
30119
30120 /usr/local/X11/include
30121 /usr/local/X11R6/include
30122 /usr/local/X11R5/include
30123 /usr/local/X11R4/include
30124
30125 /usr/local/include/X11
30126 /usr/local/include/X11R6
30127 /usr/local/include/X11R5
30128 /usr/local/include/X11R4
30129
30130 /usr/X386/include
30131 /usr/x386/include
30132 /usr/XFree86/include/X11
30133
30134 /usr/include
30135 /usr/local/include
30136 /usr/unsupported/include
30137 /usr/athena/include
30138 /usr/local/x11r5/include
30139 /usr/lpp/Xamples/include
30140
30141 /usr/openwin/include
30142 /usr/openwin/share/include'
30143
30144 if test "$ac_x_includes" = no; then
30145 # Guess where to find include files, by looking for Xlib.h.
30146 # First, try using that file with no special directory specified.
30147 cat >conftest.$ac_ext <<_ACEOF
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30154 _ACEOF
30155 if { (ac_try="$ac_cpp conftest.$ac_ext"
30156 case "(($ac_try" in
30157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30158 *) ac_try_echo=$ac_try;;
30159 esac
30160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30162 ac_status=$?
30163 grep -v '^ *+' conftest.er1 >conftest.err
30164 rm -f conftest.er1
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } >/dev/null && {
30168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30169 test ! -s conftest.err
30170 }; then
30171 # We can compile using X headers with no special include directory.
30172 ac_x_includes=
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30176
30177 for ac_dir in $ac_x_header_dirs; do
30178 if test -r "$ac_dir/X11/Xlib.h"; then
30179 ac_x_includes=$ac_dir
30180 break
30181 fi
30182 done
30183 fi
30184
30185 rm -f conftest.err conftest.$ac_ext
30186 fi # $ac_x_includes = no
30187
30188 if test "$ac_x_libraries" = no; then
30189 # Check for the libraries.
30190 # See if we find them without any special options.
30191 # Don't add to $LIBS permanently.
30192 ac_save_LIBS=$LIBS
30193 LIBS="-lX11 $LIBS"
30194 cat >conftest.$ac_ext <<_ACEOF
30195 /* confdefs.h. */
30196 _ACEOF
30197 cat confdefs.h >>conftest.$ac_ext
30198 cat >>conftest.$ac_ext <<_ACEOF
30199 /* end confdefs.h. */
30200 #include <X11/Xlib.h>
30201 int
30202 main ()
30203 {
30204 XrmInitialize ()
30205 ;
30206 return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (ac_try="$ac_link"
30211 case "(($ac_try" in
30212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30214 esac
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_link") 2>conftest.er1
30217 ac_status=$?
30218 grep -v '^ *+' conftest.er1 >conftest.err
30219 rm -f conftest.er1
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } && {
30223 test -z "$ac_c_werror_flag" ||
30224 test ! -s conftest.err
30225 } && test -s conftest$ac_exeext &&
30226 $as_test_x conftest$ac_exeext; then
30227 LIBS=$ac_save_LIBS
30228 # We can link X programs with no special library path.
30229 ac_x_libraries=
30230 else
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30233
30234 LIBS=$ac_save_LIBS
30235 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30236 do
30237 # Don't even attempt the hair of trying to link an X program!
30238 for ac_extension in a so sl; do
30239 if test -r "$ac_dir/libX11.$ac_extension"; then
30240 ac_x_libraries=$ac_dir
30241 break 2
30242 fi
30243 done
30244 done
30245 fi
30246
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 fi # $ac_x_libraries = no
30250
30251 case $ac_x_includes,$ac_x_libraries in #(
30252 no,* | *,no | *\'*)
30253 # Didn't find X, or a directory has "'" in its name.
30254 ac_cv_have_x="have_x=no";; #(
30255 *)
30256 # Record where we found X for the cache.
30257 ac_cv_have_x="have_x=yes\
30258 ac_x_includes='$ac_x_includes'\
30259 ac_x_libraries='$ac_x_libraries'"
30260 esac
30261 fi
30262 ;; #(
30263 *) have_x=yes;;
30264 esac
30265 eval "$ac_cv_have_x"
30266 fi # $with_x != no
30267
30268 if test "$have_x" != yes; then
30269 { echo "$as_me:$LINENO: result: $have_x" >&5
30270 echo "${ECHO_T}$have_x" >&6; }
30271 no_x=yes
30272 else
30273 # If each of the values was on the command line, it overrides each guess.
30274 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30275 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30276 # Update the cache value to reflect the command line values.
30277 ac_cv_have_x="have_x=yes\
30278 ac_x_includes='$x_includes'\
30279 ac_x_libraries='$x_libraries'"
30280 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30281 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30282 fi
30283
30284 if test "$no_x" = yes; then
30285 # Not all programs may use this symbol, but it does not hurt to define it.
30286
30287 cat >>confdefs.h <<\_ACEOF
30288 #define X_DISPLAY_MISSING 1
30289 _ACEOF
30290
30291 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30292 else
30293 if test -n "$x_includes"; then
30294 X_CFLAGS="$X_CFLAGS -I$x_includes"
30295 fi
30296
30297 # It would also be nice to do this for all -L options, not just this one.
30298 if test -n "$x_libraries"; then
30299 X_LIBS="$X_LIBS -L$x_libraries"
30300 # For Solaris; some versions of Sun CC require a space after -R and
30301 # others require no space. Words are not sufficient . . . .
30302 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30303 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30304 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30305 ac_xsave_c_werror_flag=$ac_c_werror_flag
30306 ac_c_werror_flag=yes
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313
30314 int
30315 main ()
30316 {
30317
30318 ;
30319 return 0;
30320 }
30321 _ACEOF
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30327 esac
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest$ac_exeext &&
30339 $as_test_x conftest$ac_exeext; then
30340 { echo "$as_me:$LINENO: result: no" >&5
30341 echo "${ECHO_T}no" >&6; }
30342 X_LIBS="$X_LIBS -R$x_libraries"
30343 else
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.$ac_ext >&5
30346
30347 LIBS="$ac_xsave_LIBS -R $x_libraries"
30348 cat >conftest.$ac_ext <<_ACEOF
30349 /* confdefs.h. */
30350 _ACEOF
30351 cat confdefs.h >>conftest.$ac_ext
30352 cat >>conftest.$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30354
30355 int
30356 main ()
30357 {
30358
30359 ;
30360 return 0;
30361 }
30362 _ACEOF
30363 rm -f conftest.$ac_objext conftest$ac_exeext
30364 if { (ac_try="$ac_link"
30365 case "(($ac_try" in
30366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30367 *) ac_try_echo=$ac_try;;
30368 esac
30369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370 (eval "$ac_link") 2>conftest.er1
30371 ac_status=$?
30372 grep -v '^ *+' conftest.er1 >conftest.err
30373 rm -f conftest.er1
30374 cat conftest.err >&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } && {
30377 test -z "$ac_c_werror_flag" ||
30378 test ! -s conftest.err
30379 } && test -s conftest$ac_exeext &&
30380 $as_test_x conftest$ac_exeext; then
30381 { echo "$as_me:$LINENO: result: yes" >&5
30382 echo "${ECHO_T}yes" >&6; }
30383 X_LIBS="$X_LIBS -R $x_libraries"
30384 else
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30387
30388 { echo "$as_me:$LINENO: result: neither works" >&5
30389 echo "${ECHO_T}neither works" >&6; }
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 fi
30395
30396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30397 conftest$ac_exeext conftest.$ac_ext
30398 ac_c_werror_flag=$ac_xsave_c_werror_flag
30399 LIBS=$ac_xsave_LIBS
30400 fi
30401
30402 # Check for system-dependent libraries X programs must link with.
30403 # Do this before checking for the system-independent R6 libraries
30404 # (-lICE), since we may need -lsocket or whatever for X linking.
30405
30406 if test "$ISC" = yes; then
30407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30408 else
30409 # Martyn Johnson says this is needed for Ultrix, if the X
30410 # libraries were built with DECnet support. And Karl Berry says
30411 # the Alpha needs dnet_stub (dnet does not exist).
30412 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30423 #ifdef __cplusplus
30424 extern "C"
30425 #endif
30426 char XOpenDisplay ();
30427 int
30428 main ()
30429 {
30430 return XOpenDisplay ();
30431 ;
30432 return 0;
30433 }
30434 _ACEOF
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30439 *) ac_try_echo=$ac_try;;
30440 esac
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30443 ac_status=$?
30444 grep -v '^ *+' conftest.er1 >conftest.err
30445 rm -f conftest.er1
30446 cat conftest.err >&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } && {
30449 test -z "$ac_c_werror_flag" ||
30450 test ! -s conftest.err
30451 } && test -s conftest$ac_exeext &&
30452 $as_test_x conftest$ac_exeext; then
30453 :
30454 else
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.$ac_ext >&5
30457
30458 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30459 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 ac_check_lib_save_LIBS=$LIBS
30464 LIBS="-ldnet $LIBS"
30465 cat >conftest.$ac_ext <<_ACEOF
30466 /* confdefs.h. */
30467 _ACEOF
30468 cat confdefs.h >>conftest.$ac_ext
30469 cat >>conftest.$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30471
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 char dnet_ntoa ();
30479 int
30480 main ()
30481 {
30482 return dnet_ntoa ();
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (ac_try="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30492 esac
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_dnet_dnet_ntoa=yes
30506 else
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 ac_cv_lib_dnet_dnet_ntoa=no
30511 fi
30512
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30516 fi
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30518 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30519 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30520 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30521 fi
30522
30523 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30524 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30525 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30526 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 else
30529 ac_check_lib_save_LIBS=$LIBS
30530 LIBS="-ldnet_stub $LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30532 /* confdefs.h. */
30533 _ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537
30538 /* Override any GCC internal prototype to avoid an error.
30539 Use char because int might match the return type of a GCC
30540 builtin and then its argument prototype would still apply. */
30541 #ifdef __cplusplus
30542 extern "C"
30543 #endif
30544 char dnet_ntoa ();
30545 int
30546 main ()
30547 {
30548 return dnet_ntoa ();
30549 ;
30550 return 0;
30551 }
30552 _ACEOF
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30557 *) ac_try_echo=$ac_try;;
30558 esac
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30561 ac_status=$?
30562 grep -v '^ *+' conftest.er1 >conftest.err
30563 rm -f conftest.er1
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest$ac_exeext &&
30570 $as_test_x conftest$ac_exeext; then
30571 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 ac_cv_lib_dnet_stub_dnet_ntoa=no
30577 fi
30578
30579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30580 conftest$ac_exeext conftest.$ac_ext
30581 LIBS=$ac_check_lib_save_LIBS
30582 fi
30583 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30584 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30585 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30586 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30587 fi
30588
30589 fi
30590 fi
30591
30592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30593 conftest$ac_exeext conftest.$ac_ext
30594 LIBS="$ac_xsave_LIBS"
30595
30596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30597 # to get the SysV transport functions.
30598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30599 # needs -lnsl.
30600 # The nsl library prevents programs from opening the X display
30601 # on Irix 5.2, according to T.E. Dickey.
30602 # The functions gethostbyname, getservbyname, and inet_addr are
30603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30604 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30606 if test "${ac_cv_func_gethostbyname+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 else
30609 cat >conftest.$ac_ext <<_ACEOF
30610 /* confdefs.h. */
30611 _ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define gethostbyname innocuous_gethostbyname
30618
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char gethostbyname (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30623
30624 #ifdef __STDC__
30625 # include <limits.h>
30626 #else
30627 # include <assert.h>
30628 #endif
30629
30630 #undef gethostbyname
30631
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30635 #ifdef __cplusplus
30636 extern "C"
30637 #endif
30638 char gethostbyname ();
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30643 choke me
30644 #endif
30645
30646 int
30647 main ()
30648 {
30649 return gethostbyname ();
30650 ;
30651 return 0;
30652 }
30653 _ACEOF
30654 rm -f conftest.$ac_objext conftest$ac_exeext
30655 if { (ac_try="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30659 esac
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30662 ac_status=$?
30663 grep -v '^ *+' conftest.er1 >conftest.err
30664 rm -f conftest.er1
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 ac_cv_func_gethostbyname=yes
30673 else
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30676
30677 ac_cv_func_gethostbyname=no
30678 fi
30679
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30682 fi
30683 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30685
30686 if test $ac_cv_func_gethostbyname = no; then
30687 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30688 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30689 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30692 ac_check_lib_save_LIBS=$LIBS
30693 LIBS="-lnsl $LIBS"
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 /* Override any GCC internal prototype to avoid an error.
30702 Use char because int might match the return type of a GCC
30703 builtin and then its argument prototype would still apply. */
30704 #ifdef __cplusplus
30705 extern "C"
30706 #endif
30707 char gethostbyname ();
30708 int
30709 main ()
30710 {
30711 return gethostbyname ();
30712 ;
30713 return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (ac_try="$ac_link"
30718 case "(($ac_try" in
30719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30720 *) ac_try_echo=$ac_try;;
30721 esac
30722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30723 (eval "$ac_link") 2>conftest.er1
30724 ac_status=$?
30725 grep -v '^ *+' conftest.er1 >conftest.err
30726 rm -f conftest.er1
30727 cat conftest.err >&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } && {
30730 test -z "$ac_c_werror_flag" ||
30731 test ! -s conftest.err
30732 } && test -s conftest$ac_exeext &&
30733 $as_test_x conftest$ac_exeext; then
30734 ac_cv_lib_nsl_gethostbyname=yes
30735 else
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.$ac_ext >&5
30738
30739 ac_cv_lib_nsl_gethostbyname=no
30740 fi
30741
30742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30743 conftest$ac_exeext conftest.$ac_ext
30744 LIBS=$ac_check_lib_save_LIBS
30745 fi
30746 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30747 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30748 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30749 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30750 fi
30751
30752 if test $ac_cv_lib_nsl_gethostbyname = no; then
30753 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30754 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 else
30758 ac_check_lib_save_LIBS=$LIBS
30759 LIBS="-lbsd $LIBS"
30760 cat >conftest.$ac_ext <<_ACEOF
30761 /* confdefs.h. */
30762 _ACEOF
30763 cat confdefs.h >>conftest.$ac_ext
30764 cat >>conftest.$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30766
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30770 #ifdef __cplusplus
30771 extern "C"
30772 #endif
30773 char gethostbyname ();
30774 int
30775 main ()
30776 {
30777 return gethostbyname ();
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30787 esac
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_bsd_gethostbyname=yes
30801 else
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30804
30805 ac_cv_lib_bsd_gethostbyname=no
30806 fi
30807
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30811 fi
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30813 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30814 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30816 fi
30817
30818 fi
30819 fi
30820
30821 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30822 # socket/setsockopt and other routines are undefined under SCO ODT
30823 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30824 # on later versions), says Simon Leinen: it contains gethostby*
30825 # variants that don't use the name server (or something). -lsocket
30826 # must be given before -lnsl if both are needed. We assume that
30827 # if connect needs -lnsl, so does gethostbyname.
30828 { echo "$as_me:$LINENO: checking for connect" >&5
30829 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30830 if test "${ac_cv_func_connect+set}" = set; then
30831 echo $ECHO_N "(cached) $ECHO_C" >&6
30832 else
30833 cat >conftest.$ac_ext <<_ACEOF
30834 /* confdefs.h. */
30835 _ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30841 #define connect innocuous_connect
30842
30843 /* System header to define __stub macros and hopefully few prototypes,
30844 which can conflict with char connect (); below.
30845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30846 <limits.h> exists even on freestanding compilers. */
30847
30848 #ifdef __STDC__
30849 # include <limits.h>
30850 #else
30851 # include <assert.h>
30852 #endif
30853
30854 #undef connect
30855
30856 /* Override any GCC internal prototype to avoid an error.
30857 Use char because int might match the return type of a GCC
30858 builtin and then its argument prototype would still apply. */
30859 #ifdef __cplusplus
30860 extern "C"
30861 #endif
30862 char connect ();
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined __stub_connect || defined __stub___connect
30867 choke me
30868 #endif
30869
30870 int
30871 main ()
30872 {
30873 return connect ();
30874 ;
30875 return 0;
30876 }
30877 _ACEOF
30878 rm -f conftest.$ac_objext conftest$ac_exeext
30879 if { (ac_try="$ac_link"
30880 case "(($ac_try" in
30881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30882 *) ac_try_echo=$ac_try;;
30883 esac
30884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30885 (eval "$ac_link") 2>conftest.er1
30886 ac_status=$?
30887 grep -v '^ *+' conftest.er1 >conftest.err
30888 rm -f conftest.er1
30889 cat conftest.err >&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } && {
30892 test -z "$ac_c_werror_flag" ||
30893 test ! -s conftest.err
30894 } && test -s conftest$ac_exeext &&
30895 $as_test_x conftest$ac_exeext; then
30896 ac_cv_func_connect=yes
30897 else
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.$ac_ext >&5
30900
30901 ac_cv_func_connect=no
30902 fi
30903
30904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30905 conftest$ac_exeext conftest.$ac_ext
30906 fi
30907 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30908 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30909
30910 if test $ac_cv_func_connect = no; then
30911 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30913 if test "${ac_cv_lib_socket_connect+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30915 else
30916 ac_check_lib_save_LIBS=$LIBS
30917 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30918 cat >conftest.$ac_ext <<_ACEOF
30919 /* confdefs.h. */
30920 _ACEOF
30921 cat confdefs.h >>conftest.$ac_ext
30922 cat >>conftest.$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30924
30925 /* Override any GCC internal prototype to avoid an error.
30926 Use char because int might match the return type of a GCC
30927 builtin and then its argument prototype would still apply. */
30928 #ifdef __cplusplus
30929 extern "C"
30930 #endif
30931 char connect ();
30932 int
30933 main ()
30934 {
30935 return connect ();
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30945 esac
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30948 ac_status=$?
30949 grep -v '^ *+' conftest.er1 >conftest.err
30950 rm -f conftest.er1
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 ac_cv_lib_socket_connect=yes
30959 else
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30962
30963 ac_cv_lib_socket_connect=no
30964 fi
30965
30966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30967 conftest$ac_exeext conftest.$ac_ext
30968 LIBS=$ac_check_lib_save_LIBS
30969 fi
30970 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30971 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30972 if test $ac_cv_lib_socket_connect = yes; then
30973 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30974 fi
30975
30976 fi
30977
30978 # Guillermo Gomez says -lposix is necessary on A/UX.
30979 { echo "$as_me:$LINENO: checking for remove" >&5
30980 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30981 if test "${ac_cv_func_remove+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 else
30984 cat >conftest.$ac_ext <<_ACEOF
30985 /* confdefs.h. */
30986 _ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30992 #define remove innocuous_remove
30993
30994 /* System header to define __stub macros and hopefully few prototypes,
30995 which can conflict with char remove (); below.
30996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30997 <limits.h> exists even on freestanding compilers. */
30998
30999 #ifdef __STDC__
31000 # include <limits.h>
31001 #else
31002 # include <assert.h>
31003 #endif
31004
31005 #undef remove
31006
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31010 #ifdef __cplusplus
31011 extern "C"
31012 #endif
31013 char remove ();
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined __stub_remove || defined __stub___remove
31018 choke me
31019 #endif
31020
31021 int
31022 main ()
31023 {
31024 return remove ();
31025 ;
31026 return 0;
31027 }
31028 _ACEOF
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31034 esac
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 ac_cv_func_remove=yes
31048 else
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.$ac_ext >&5
31051
31052 ac_cv_func_remove=no
31053 fi
31054
31055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31056 conftest$ac_exeext conftest.$ac_ext
31057 fi
31058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31060
31061 if test $ac_cv_func_remove = no; then
31062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_posix_remove+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 ac_check_lib_save_LIBS=$LIBS
31068 LIBS="-lposix $LIBS"
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31079 #ifdef __cplusplus
31080 extern "C"
31081 #endif
31082 char remove ();
31083 int
31084 main ()
31085 {
31086 return remove ();
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 rm -f conftest.$ac_objext conftest$ac_exeext
31092 if { (ac_try="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31096 esac
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_posix_remove=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31113
31114 ac_cv_lib_posix_remove=no
31115 fi
31116
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31120 fi
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31123 if test $ac_cv_lib_posix_remove = yes; then
31124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31125 fi
31126
31127 fi
31128
31129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31130 { echo "$as_me:$LINENO: checking for shmat" >&5
31131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31132 if test "${ac_cv_func_shmat+set}" = set; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 else
31135 cat >conftest.$ac_ext <<_ACEOF
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define shmat innocuous_shmat
31144
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char shmat (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31149
31150 #ifdef __STDC__
31151 # include <limits.h>
31152 #else
31153 # include <assert.h>
31154 #endif
31155
31156 #undef shmat
31157
31158 /* Override any GCC internal prototype to avoid an error.
31159 Use char because int might match the return type of a GCC
31160 builtin and then its argument prototype would still apply. */
31161 #ifdef __cplusplus
31162 extern "C"
31163 #endif
31164 char shmat ();
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined __stub_shmat || defined __stub___shmat
31169 choke me
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 return shmat ();
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (ac_try="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31184 *) ac_try_echo=$ac_try;;
31185 esac
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31188 ac_status=$?
31189 grep -v '^ *+' conftest.er1 >conftest.err
31190 rm -f conftest.er1
31191 cat conftest.err >&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest$ac_exeext &&
31197 $as_test_x conftest$ac_exeext; then
31198 ac_cv_func_shmat=yes
31199 else
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.$ac_ext >&5
31202
31203 ac_cv_func_shmat=no
31204 fi
31205
31206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31207 conftest$ac_exeext conftest.$ac_ext
31208 fi
31209 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31210 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31211
31212 if test $ac_cv_func_shmat = no; then
31213 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31214 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31215 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 else
31218 ac_check_lib_save_LIBS=$LIBS
31219 LIBS="-lipc $LIBS"
31220 cat >conftest.$ac_ext <<_ACEOF
31221 /* confdefs.h. */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226
31227 /* Override any GCC internal prototype to avoid an error.
31228 Use char because int might match the return type of a GCC
31229 builtin and then its argument prototype would still apply. */
31230 #ifdef __cplusplus
31231 extern "C"
31232 #endif
31233 char shmat ();
31234 int
31235 main ()
31236 {
31237 return shmat ();
31238 ;
31239 return 0;
31240 }
31241 _ACEOF
31242 rm -f conftest.$ac_objext conftest$ac_exeext
31243 if { (ac_try="$ac_link"
31244 case "(($ac_try" in
31245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31246 *) ac_try_echo=$ac_try;;
31247 esac
31248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31249 (eval "$ac_link") 2>conftest.er1
31250 ac_status=$?
31251 grep -v '^ *+' conftest.er1 >conftest.err
31252 rm -f conftest.er1
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } && {
31256 test -z "$ac_c_werror_flag" ||
31257 test ! -s conftest.err
31258 } && test -s conftest$ac_exeext &&
31259 $as_test_x conftest$ac_exeext; then
31260 ac_cv_lib_ipc_shmat=yes
31261 else
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 ac_cv_lib_ipc_shmat=no
31266 fi
31267
31268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31269 conftest$ac_exeext conftest.$ac_ext
31270 LIBS=$ac_check_lib_save_LIBS
31271 fi
31272 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31273 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31274 if test $ac_cv_lib_ipc_shmat = yes; then
31275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31276 fi
31277
31278 fi
31279 fi
31280
31281 # Check for libraries that X11R6 Xt/Xaw programs need.
31282 ac_save_LDFLAGS=$LDFLAGS
31283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31285 # check for ICE first), but we must link in the order -lSM -lICE or
31286 # we get undefined symbols. So assume we have SM if we have ICE.
31287 # These have to be linked with before -lX11, unlike the other
31288 # libraries we check for below, so use a different variable.
31289 # John Interrante, Karl Berry
31290 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31291 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31292 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 ac_check_lib_save_LIBS=$LIBS
31296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31297 cat >conftest.$ac_ext <<_ACEOF
31298 /* confdefs.h. */
31299 _ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31303
31304 /* Override any GCC internal prototype to avoid an error.
31305 Use char because int might match the return type of a GCC
31306 builtin and then its argument prototype would still apply. */
31307 #ifdef __cplusplus
31308 extern "C"
31309 #endif
31310 char IceConnectionNumber ();
31311 int
31312 main ()
31313 {
31314 return IceConnectionNumber ();
31315 ;
31316 return 0;
31317 }
31318 _ACEOF
31319 rm -f conftest.$ac_objext conftest$ac_exeext
31320 if { (ac_try="$ac_link"
31321 case "(($ac_try" in
31322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31323 *) ac_try_echo=$ac_try;;
31324 esac
31325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31326 (eval "$ac_link") 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } && {
31333 test -z "$ac_c_werror_flag" ||
31334 test ! -s conftest.err
31335 } && test -s conftest$ac_exeext &&
31336 $as_test_x conftest$ac_exeext; then
31337 ac_cv_lib_ICE_IceConnectionNumber=yes
31338 else
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31341
31342 ac_cv_lib_ICE_IceConnectionNumber=no
31343 fi
31344
31345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31346 conftest$ac_exeext conftest.$ac_ext
31347 LIBS=$ac_check_lib_save_LIBS
31348 fi
31349 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31350 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31351 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31352 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31353 fi
31354
31355 LDFLAGS=$ac_save_LDFLAGS
31356
31357 fi
31358
31359
31360 if test "$no_x" = "yes"; then
31361 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31362 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31363 { (exit 1); exit 1; }; }
31364 fi
31365
31366 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31367 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31368 AFMINSTALL=afminstall
31369 COMPILED_X_PROGRAM=0
31370
31371 fi
31372
31373 if test "$wxUSE_X11" = 1; then
31374 if test "$wxUSE_NANOX" = "yes"; then
31375 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31376 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31377 if test "x$MICROWIN" = x ; then
31378 { echo "$as_me:$LINENO: result: not found" >&5
31379 echo "${ECHO_T}not found" >&6; }
31380 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31381 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31382 { (exit 1); exit 1; }; }
31383 else
31384 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31385 echo "${ECHO_T}$MICROWIN" >&6; }
31386 cat >>confdefs.h <<\_ACEOF
31387 #define wxUSE_NANOX 1
31388 _ACEOF
31389
31390 fi
31391 fi
31392
31393 if test "$wxUSE_UNICODE" = "yes"; then
31394
31395
31396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31397 if test -n "$ac_tool_prefix"; then
31398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31399 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 else
31405 case $PKG_CONFIG in
31406 [\\/]* | ?:[\\/]*)
31407 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31408 ;;
31409 *)
31410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31411 for as_dir in $PATH
31412 do
31413 IFS=$as_save_IFS
31414 test -z "$as_dir" && as_dir=.
31415 for ac_exec_ext in '' $ac_executable_extensions; do
31416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31417 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31419 break 2
31420 fi
31421 done
31422 done
31423 IFS=$as_save_IFS
31424
31425 ;;
31426 esac
31427 fi
31428 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31429 if test -n "$PKG_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31432 else
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31435 fi
31436
31437
31438 fi
31439 if test -z "$ac_cv_path_PKG_CONFIG"; then
31440 ac_pt_PKG_CONFIG=$PKG_CONFIG
31441 # Extract the first word of "pkg-config", so it can be a program name with args.
31442 set dummy pkg-config; ac_word=$2
31443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448 case $ac_pt_PKG_CONFIG in
31449 [\\/]* | ?:[\\/]*)
31450 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31451 ;;
31452 *)
31453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31454 for as_dir in $PATH
31455 do
31456 IFS=$as_save_IFS
31457 test -z "$as_dir" && as_dir=.
31458 for ac_exec_ext in '' $ac_executable_extensions; do
31459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31460 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31462 break 2
31463 fi
31464 done
31465 done
31466 IFS=$as_save_IFS
31467
31468 ;;
31469 esac
31470 fi
31471 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31472 if test -n "$ac_pt_PKG_CONFIG"; then
31473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31475 else
31476 { echo "$as_me:$LINENO: result: no" >&5
31477 echo "${ECHO_T}no" >&6; }
31478 fi
31479
31480 if test "x$ac_pt_PKG_CONFIG" = x; then
31481 PKG_CONFIG=""
31482 else
31483 case $cross_compiling:$ac_tool_warned in
31484 yes:)
31485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&5
31488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31489 whose name does not start with the host triplet. If you think this
31490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31491 ac_tool_warned=yes ;;
31492 esac
31493 PKG_CONFIG=$ac_pt_PKG_CONFIG
31494 fi
31495 else
31496 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31497 fi
31498
31499 fi
31500 if test -n "$PKG_CONFIG"; then
31501 _pkg_min_version=0.9.0
31502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31505 { echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6; }
31507 else
31508 { echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6; }
31510 PKG_CONFIG=""
31511 fi
31512
31513 fi
31514
31515
31516 pkg_failed=no
31517 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31518 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31519
31520 if test -n "$PKG_CONFIG"; then
31521 if test -n "$PANGOX_CFLAGS"; then
31522 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31523 else
31524 if test -n "$PKG_CONFIG" && \
31525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31526 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; then
31530 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31531 else
31532 pkg_failed=yes
31533 fi
31534 fi
31535 else
31536 pkg_failed=untried
31537 fi
31538 if test -n "$PKG_CONFIG"; then
31539 if test -n "$PANGOX_LIBS"; then
31540 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31541 else
31542 if test -n "$PKG_CONFIG" && \
31543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31544 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31545 ac_status=$?
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; then
31548 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31549 else
31550 pkg_failed=yes
31551 fi
31552 fi
31553 else
31554 pkg_failed=untried
31555 fi
31556
31557
31558
31559 if test $pkg_failed = yes; then
31560
31561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31562 _pkg_short_errors_supported=yes
31563 else
31564 _pkg_short_errors_supported=no
31565 fi
31566 if test $_pkg_short_errors_supported = yes; then
31567 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31568 else
31569 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31570 fi
31571 # Put the nasty error message in config.log where it belongs
31572 echo "$PANGOX_PKG_ERRORS" >&5
31573
31574
31575 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31576 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31577 { (exit 1); exit 1; }; }
31578
31579
31580 elif test $pkg_failed = untried; then
31581
31582 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31583 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31584 { (exit 1); exit 1; }; }
31585
31586
31587 else
31588 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31589 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31590 { echo "$as_me:$LINENO: result: yes" >&5
31591 echo "${ECHO_T}yes" >&6; }
31592
31593 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31594 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31595 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31596
31597 fi
31598
31599 pkg_failed=no
31600 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31601 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31602
31603 if test -n "$PKG_CONFIG"; then
31604 if test -n "$PANGOFT2_CFLAGS"; then
31605 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31606 else
31607 if test -n "$PKG_CONFIG" && \
31608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31609 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31610 ac_status=$?
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; then
31613 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31614 else
31615 pkg_failed=yes
31616 fi
31617 fi
31618 else
31619 pkg_failed=untried
31620 fi
31621 if test -n "$PKG_CONFIG"; then
31622 if test -n "$PANGOFT2_LIBS"; then
31623 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31624 else
31625 if test -n "$PKG_CONFIG" && \
31626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31627 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; then
31631 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31632 else
31633 pkg_failed=yes
31634 fi
31635 fi
31636 else
31637 pkg_failed=untried
31638 fi
31639
31640
31641
31642 if test $pkg_failed = yes; then
31643
31644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31645 _pkg_short_errors_supported=yes
31646 else
31647 _pkg_short_errors_supported=no
31648 fi
31649 if test $_pkg_short_errors_supported = yes; then
31650 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31651 else
31652 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31653 fi
31654 # Put the nasty error message in config.log where it belongs
31655 echo "$PANGOFT2_PKG_ERRORS" >&5
31656
31657
31658 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31659 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31660 wxUSE_PRINTING_ARCHITECTURE="no"
31661
31662
31663 elif test $pkg_failed = untried; then
31664
31665 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31666 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31667 wxUSE_PRINTING_ARCHITECTURE="no"
31668
31669
31670 else
31671 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31672 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31673 { echo "$as_me:$LINENO: result: yes" >&5
31674 echo "${ECHO_T}yes" >&6; }
31675
31676 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31677 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31679
31680 fi
31681
31682 pkg_failed=no
31683 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31684 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31685
31686 if test -n "$PKG_CONFIG"; then
31687 if test -n "$PANGOXFT_CFLAGS"; then
31688 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31689 else
31690 if test -n "$PKG_CONFIG" && \
31691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31692 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; then
31696 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31697 else
31698 pkg_failed=yes
31699 fi
31700 fi
31701 else
31702 pkg_failed=untried
31703 fi
31704 if test -n "$PKG_CONFIG"; then
31705 if test -n "$PANGOXFT_LIBS"; then
31706 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31707 else
31708 if test -n "$PKG_CONFIG" && \
31709 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31710 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31711 ac_status=$?
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; then
31714 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31715 else
31716 pkg_failed=yes
31717 fi
31718 fi
31719 else
31720 pkg_failed=untried
31721 fi
31722
31723
31724
31725 if test $pkg_failed = yes; then
31726
31727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31728 _pkg_short_errors_supported=yes
31729 else
31730 _pkg_short_errors_supported=no
31731 fi
31732 if test $_pkg_short_errors_supported = yes; then
31733 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31734 else
31735 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31736 fi
31737 # Put the nasty error message in config.log where it belongs
31738 echo "$PANGOXFT_PKG_ERRORS" >&5
31739
31740
31741 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31742 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31743
31744
31745 elif test $pkg_failed = untried; then
31746
31747 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31748 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31749
31750
31751 else
31752 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31753 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31756
31757 cat >>confdefs.h <<\_ACEOF
31758 #define HAVE_PANGO_XFT 1
31759 _ACEOF
31760
31761 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31762 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31763 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31764
31765 fi
31766 save_LIBS="$LIBS"
31767 LIBS="$LIBS $PANGOX_LIBS"
31768
31769 for ac_func in pango_font_family_is_monospace
31770 do
31771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31775 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 else
31777 cat >conftest.$ac_ext <<_ACEOF
31778 /* confdefs.h. */
31779 _ACEOF
31780 cat confdefs.h >>conftest.$ac_ext
31781 cat >>conftest.$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31785 #define $ac_func innocuous_$ac_func
31786
31787 /* System header to define __stub macros and hopefully few prototypes,
31788 which can conflict with char $ac_func (); below.
31789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31790 <limits.h> exists even on freestanding compilers. */
31791
31792 #ifdef __STDC__
31793 # include <limits.h>
31794 #else
31795 # include <assert.h>
31796 #endif
31797
31798 #undef $ac_func
31799
31800 /* Override any GCC internal prototype to avoid an error.
31801 Use char because int might match the return type of a GCC
31802 builtin and then its argument prototype would still apply. */
31803 #ifdef __cplusplus
31804 extern "C"
31805 #endif
31806 char $ac_func ();
31807 /* The GNU C library defines this for functions which it implements
31808 to always fail with ENOSYS. Some functions are actually named
31809 something starting with __ and the normal name is an alias. */
31810 #if defined __stub_$ac_func || defined __stub___$ac_func
31811 choke me
31812 #endif
31813
31814 int
31815 main ()
31816 {
31817 return $ac_func ();
31818 ;
31819 return 0;
31820 }
31821 _ACEOF
31822 rm -f conftest.$ac_objext conftest$ac_exeext
31823 if { (ac_try="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31827 esac
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31830 ac_status=$?
31831 grep -v '^ *+' conftest.er1 >conftest.err
31832 rm -f conftest.er1
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 eval "$as_ac_var=yes"
31841 else
31842 echo "$as_me: failed program was:" >&5
31843 sed 's/^/| /' conftest.$ac_ext >&5
31844
31845 eval "$as_ac_var=no"
31846 fi
31847
31848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31849 conftest$ac_exeext conftest.$ac_ext
31850 fi
31851 ac_res=`eval echo '${'$as_ac_var'}'`
31852 { echo "$as_me:$LINENO: result: $ac_res" >&5
31853 echo "${ECHO_T}$ac_res" >&6; }
31854 if test `eval echo '${'$as_ac_var'}'` = yes; then
31855 cat >>confdefs.h <<_ACEOF
31856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31857 _ACEOF
31858
31859 fi
31860 done
31861
31862 LIBS="$save_LIBS"
31863 fi
31864
31865 wxUSE_UNIVERSAL="yes"
31866
31867 if test "$wxUSE_NANOX" = "yes"; then
31868 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31869 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"
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31871 else
31872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31873 fi
31874
31875 TOOLKIT=X11
31876 GUIDIST=X11_DIST
31877 fi
31878
31879 if test "$wxUSE_MOTIF" = 1; then
31880 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31881 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31882
31883 ac_find_includes=
31884 for ac_dir in $SEARCH_INCLUDE /usr/include;
31885 do
31886 if test -f "$ac_dir/Xm/Xm.h"; then
31887 ac_find_includes=$ac_dir
31888 break
31889 fi
31890 done
31891
31892 if test "$ac_find_includes" != "" ; then
31893 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31894 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31895
31896 if test "x$ac_find_includes" = "x/usr/include"; then
31897 ac_path_to_include=""
31898 else
31899 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31900 result=$?
31901 if test $result = 0; then
31902 ac_path_to_include=""
31903 else
31904 ac_path_to_include=" -I$ac_find_includes"
31905 fi
31906 fi
31907
31908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31909 else
31910 save_CFLAGS=$CFLAGS
31911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31912
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919
31920 #include <Xm/Xm.h>
31921
31922 int
31923 main ()
31924 {
31925
31926 int version;
31927 version = xmUseVersion;
31928
31929 ;
31930 return 0;
31931 }
31932 _ACEOF
31933 rm -f conftest.$ac_objext
31934 if { (ac_try="$ac_compile"
31935 case "(($ac_try" in
31936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31937 *) ac_try_echo=$ac_try;;
31938 esac
31939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31940 (eval "$ac_compile") 2>conftest.er1
31941 ac_status=$?
31942 grep -v '^ *+' conftest.er1 >conftest.err
31943 rm -f conftest.er1
31944 cat conftest.err >&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } && {
31947 test -z "$ac_c_werror_flag" ||
31948 test ! -s conftest.err
31949 } && test -s conftest.$ac_objext; then
31950
31951 { echo "$as_me:$LINENO: result: found in default search path" >&5
31952 echo "${ECHO_T}found in default search path" >&6; }
31953 COMPILED_X_PROGRAM=1
31954
31955 else
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31958
31959
31960 { echo "$as_me:$LINENO: result: no" >&5
31961 echo "${ECHO_T}no" >&6; }
31962 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31963 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31964 { (exit 1); exit 1; }; }
31965
31966
31967 fi
31968
31969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970
31971 CFLAGS=$save_CFLAGS
31972 fi
31973
31974
31975 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31976 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31977
31978 ac_find_libraries=
31979 for ac_dir in $SEARCH_LIB;
31980 do
31981 for ac_extension in a so sl dylib dll.a; do
31982 if test -f "$ac_dir/libXm.$ac_extension"; then
31983 ac_find_libraries=$ac_dir
31984 break 2
31985 fi
31986 done
31987 done
31988
31989
31990 if test "x$ac_find_libraries" != "x" ; then
31991 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31992 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31993
31994
31995 if test "$ac_find_libraries" = "default location"; then
31996 ac_path_to_link=""
31997 else
31998 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31999 result=$?
32000 if test $result = 0; then
32001 ac_path_to_link=""
32002 else
32003 ac_path_to_link=" -L$ac_find_libraries"
32004 fi
32005 fi
32006
32007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32008 else
32009 save_CFLAGS=$CFLAGS
32010 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32011 save_LIBS="$LIBS"
32012 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32013
32014 cat >conftest.$ac_ext <<_ACEOF
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020
32021 #include <Xm/Xm.h>
32022
32023 int
32024 main ()
32025 {
32026
32027 int version;
32028 version = xmUseVersion;
32029
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 rm -f conftest.$ac_objext conftest$ac_exeext
32035 if { (ac_try="$ac_link"
32036 case "(($ac_try" in
32037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32038 *) ac_try_echo=$ac_try;;
32039 esac
32040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32041 (eval "$ac_link") 2>conftest.er1
32042 ac_status=$?
32043 grep -v '^ *+' conftest.er1 >conftest.err
32044 rm -f conftest.er1
32045 cat conftest.err >&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); } && {
32048 test -z "$ac_c_werror_flag" ||
32049 test ! -s conftest.err
32050 } && test -s conftest$ac_exeext &&
32051 $as_test_x conftest$ac_exeext; then
32052
32053 { echo "$as_me:$LINENO: result: found in default search path" >&5
32054 echo "${ECHO_T}found in default search path" >&6; }
32055 COMPILED_X_PROGRAM=1
32056
32057 else
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32060
32061
32062 { echo "$as_me:$LINENO: result: no" >&5
32063 echo "${ECHO_T}no" >&6; }
32064 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32065 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32066 { (exit 1); exit 1; }; }
32067
32068
32069 fi
32070
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32073
32074 CFLAGS=$save_CFLAGS
32075 LIBS="$save_LIBS"
32076 fi
32077
32078 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32079 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32080 libp_link=""
32081 libsm_ice_link=""
32082 libs_found=0
32083 for libp in "" " -lXp"; do
32084 if test "$libs_found" = 0; then
32085 for libsm_ice in "" " -lSM -lICE"; do
32086 if test "$libs_found" = 0; then
32087 save_LIBS="$LIBS"
32088 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32089 save_CFLAGS=$CFLAGS
32090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32091
32092 cat >conftest.$ac_ext <<_ACEOF
32093 /* confdefs.h. */
32094 _ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32098
32099 #include <Xm/Xm.h>
32100 #include <Xm/List.h>
32101
32102 int
32103 main ()
32104 {
32105
32106 XmString string = NULL;
32107 Widget w = NULL;
32108 int position = 0;
32109 XmListAddItem(w, string, position);
32110
32111 ;
32112 return 0;
32113 }
32114 _ACEOF
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (ac_try="$ac_link"
32117 case "(($ac_try" in
32118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32119 *) ac_try_echo=$ac_try;;
32120 esac
32121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32122 (eval "$ac_link") 2>conftest.er1
32123 ac_status=$?
32124 grep -v '^ *+' conftest.er1 >conftest.err
32125 rm -f conftest.er1
32126 cat conftest.err >&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } && {
32129 test -z "$ac_c_werror_flag" ||
32130 test ! -s conftest.err
32131 } && test -s conftest$ac_exeext &&
32132 $as_test_x conftest$ac_exeext; then
32133
32134 libp_link="$libp"
32135 libsm_ice_link="$libsm_ice"
32136 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32137 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32138 libs_found=1
32139
32140 else
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.$ac_ext >&5
32143
32144
32145
32146 fi
32147
32148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32149 conftest$ac_exeext conftest.$ac_ext
32150
32151 LIBS="$save_LIBS"
32152 CFLAGS=$save_CFLAGS
32153 fi
32154 done
32155 fi
32156 done
32157
32158 if test "$libs_found" = 0; then
32159 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32160 echo "${ECHO_T}can't find the right libraries" >&6; }
32161 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32162 echo "$as_me: error: can't link a simple motif program" >&2;}
32163 { (exit 1); exit 1; }; }
32164 fi
32165
32166 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32167 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171 ac_check_lib_save_LIBS=$LIBS
32172 LIBS="-lSgm $LIBS"
32173 cat >conftest.$ac_ext <<_ACEOF
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32183 #ifdef __cplusplus
32184 extern "C"
32185 #endif
32186 char SgCreateList ();
32187 int
32188 main ()
32189 {
32190 return SgCreateList ();
32191 ;
32192 return 0;
32193 }
32194 _ACEOF
32195 rm -f conftest.$ac_objext conftest$ac_exeext
32196 if { (ac_try="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32200 esac
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32203 ac_status=$?
32204 grep -v '^ *+' conftest.er1 >conftest.err
32205 rm -f conftest.er1
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } && {
32209 test -z "$ac_c_werror_flag" ||
32210 test ! -s conftest.err
32211 } && test -s conftest$ac_exeext &&
32212 $as_test_x conftest$ac_exeext; then
32213 ac_cv_lib_Sgm_SgCreateList=yes
32214 else
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.$ac_ext >&5
32217
32218 ac_cv_lib_Sgm_SgCreateList=no
32219 fi
32220
32221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32224 fi
32225 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32226 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32227 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32228 libsgm_link=" -lSgm"
32229 fi
32230
32231
32232 save_CFLAGS=$CFLAGS
32233 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32234
32235 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32236 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32237 if test "${wx_cv_lib_motif2+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246
32247 #include <Xm/Xm.h>
32248
32249 int
32250 main ()
32251 {
32252
32253 #if XmVersion < 2000
32254 Not Motif 2
32255 #endif
32256
32257 ;
32258 return 0;
32259 }
32260 _ACEOF
32261 rm -f conftest.$ac_objext
32262 if { (ac_try="$ac_compile"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32265 *) ac_try_echo=$ac_try;;
32266 esac
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_compile") 2>conftest.er1
32269 ac_status=$?
32270 grep -v '^ *+' conftest.er1 >conftest.err
32271 rm -f conftest.er1
32272 cat conftest.err >&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } && {
32275 test -z "$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 } && test -s conftest.$ac_objext; then
32278 wx_cv_lib_motif2="yes"
32279 else
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 wx_cv_lib_motif2="no"
32284 fi
32285
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 fi
32288 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32289 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32290 if test "$wx_cv_lib_motif2" = "yes"; then
32291 cat >>confdefs.h <<\_ACEOF
32292 #define __WXMOTIF20__ 1
32293 _ACEOF
32294
32295 else
32296 cat >>confdefs.h <<\_ACEOF
32297 #define __WXMOTIF20__ 0
32298 _ACEOF
32299
32300 fi
32301
32302 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32303 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32304 if test "${wx_cv_lib_lesstif+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 else
32307 cat >conftest.$ac_ext <<_ACEOF
32308 /* confdefs.h. */
32309 _ACEOF
32310 cat confdefs.h >>conftest.$ac_ext
32311 cat >>conftest.$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32313
32314 #include <Xm/Xm.h>
32315
32316 int
32317 main ()
32318 {
32319
32320 #if !defined(LesstifVersion) || LesstifVersion <= 0
32321 Not Lesstif
32322 #endif
32323
32324 ;
32325 return 0;
32326 }
32327 _ACEOF
32328 rm -f conftest.$ac_objext
32329 if { (ac_try="$ac_compile"
32330 case "(($ac_try" in
32331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32332 *) ac_try_echo=$ac_try;;
32333 esac
32334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32335 (eval "$ac_compile") 2>conftest.er1
32336 ac_status=$?
32337 grep -v '^ *+' conftest.er1 >conftest.err
32338 rm -f conftest.er1
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } && {
32342 test -z "$ac_c_werror_flag" ||
32343 test ! -s conftest.err
32344 } && test -s conftest.$ac_objext; then
32345 wx_cv_lib_lesstif="yes"
32346 else
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32349
32350 wx_cv_lib_lesstif="no"
32351 fi
32352
32353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32354
32355 fi
32356 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32357 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32358 if test "$wx_cv_lib_lesstif" = "yes"; then
32359 cat >>confdefs.h <<\_ACEOF
32360 #define __WXLESSTIF__ 1
32361 _ACEOF
32362
32363 else
32364 cat >>confdefs.h <<\_ACEOF
32365 #define __WXLESSTIF__ 0
32366 _ACEOF
32367
32368 fi
32369
32370 CFLAGS=$save_CFLAGS
32371
32372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32373 TOOLKIT=MOTIF
32374 GUIDIST=MOTIF_DIST
32375 fi
32376
32377 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32378 if test "$wxUSE_LIBXPM" = "sys"; then
32379 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32380 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32381
32382 ac_find_libraries=
32383 for ac_dir in $SEARCH_LIB;
32384 do
32385 for ac_extension in a so sl dylib dll.a; do
32386 if test -f "$ac_dir/libXpm.$ac_extension"; then
32387 ac_find_libraries=$ac_dir
32388 break 2
32389 fi
32390 done
32391 done
32392
32393 if test "$ac_find_libraries" != "" ; then
32394
32395 if test "$ac_find_libraries" = "default location"; then
32396 ac_path_to_link=""
32397 else
32398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32399 result=$?
32400 if test $result = 0; then
32401 ac_path_to_link=""
32402 else
32403 ac_path_to_link=" -L$ac_find_libraries"
32404 fi
32405 fi
32406
32407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32408 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32409 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32410
32411 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32412 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32413 if test "${wx_cv_x11_xpm_h+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32415 else
32416
32417 save_CFLAGS=$CFLAGS
32418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32419
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426
32427 #include <X11/xpm.h>
32428
32429 int
32430 main ()
32431 {
32432
32433 int version;
32434 version = XpmLibraryVersion();
32435
32436 ;
32437 return 0;
32438 }
32439 _ACEOF
32440 rm -f conftest.$ac_objext
32441 if { (ac_try="$ac_compile"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32445 esac
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_compile") 2>conftest.er1
32448 ac_status=$?
32449 grep -v '^ *+' conftest.er1 >conftest.err
32450 rm -f conftest.er1
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest.$ac_objext; then
32457 wx_cv_x11_xpm_h=yes
32458 else
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.$ac_ext >&5
32461
32462 wx_cv_x11_xpm_h=no
32463
32464 fi
32465
32466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32467
32468 CFLAGS=$save_CFLAGS
32469
32470
32471 fi
32472 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32473 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32474
32475 if test $wx_cv_x11_xpm_h = "yes"; then
32476 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32477 cat >>confdefs.h <<\_ACEOF
32478 #define wxHAVE_LIB_XPM 1
32479 _ACEOF
32480
32481 else
32482 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32483 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32484 fi
32485 fi
32486
32487 fi
32488
32489 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32490 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 ac_check_lib_save_LIBS=$LIBS
32495 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32496 cat >conftest.$ac_ext <<_ACEOF
32497 /* confdefs.h. */
32498 _ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32506 #ifdef __cplusplus
32507 extern "C"
32508 #endif
32509 char XShapeQueryExtension ();
32510 int
32511 main ()
32512 {
32513 return XShapeQueryExtension ();
32514 ;
32515 return 0;
32516 }
32517 _ACEOF
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (ac_try="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32523 esac
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest$ac_exeext &&
32535 $as_test_x conftest$ac_exeext; then
32536 ac_cv_lib_Xext_XShapeQueryExtension=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 ac_cv_lib_Xext_XShapeQueryExtension=no
32542 fi
32543
32544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32545 conftest$ac_exeext conftest.$ac_ext
32546 LIBS=$ac_check_lib_save_LIBS
32547 fi
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32549 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32550 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32551
32552 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32553 wxHAVE_XEXT_LIB=1
32554
32555 fi
32556
32557
32558 if test "$wxHAVE_XEXT_LIB" = 1; then
32559 save_CFLAGS="$CFLAGS"
32560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32561
32562 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32563 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32564 cat >conftest.$ac_ext <<_ACEOF
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570
32571 #include <X11/Xlib.h>
32572 #include <X11/extensions/shape.h>
32573
32574 int
32575 main ()
32576 {
32577
32578 int dummy1, dummy2;
32579 XShapeQueryExtension((Display*)NULL,
32580 (int*)NULL, (int*)NULL);
32581
32582 ;
32583 return 0;
32584 }
32585 _ACEOF
32586 rm -f conftest.$ac_objext
32587 if { (ac_try="$ac_compile"
32588 case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32590 *) ac_try_echo=$ac_try;;
32591 esac
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_compile") 2>conftest.er1
32594 ac_status=$?
32595 grep -v '^ *+' conftest.er1 >conftest.err
32596 rm -f conftest.er1
32597 cat conftest.err >&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest.$ac_objext; then
32603
32604 cat >>confdefs.h <<\_ACEOF
32605 #define HAVE_XSHAPE 1
32606 _ACEOF
32607
32608 { echo "$as_me:$LINENO: result: found" >&5
32609 echo "${ECHO_T}found" >&6; }
32610
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32614
32615
32616 { echo "$as_me:$LINENO: result: not found" >&5
32617 echo "${ECHO_T}not found" >&6; }
32618
32619 fi
32620
32621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32622 CFLAGS="$save_CFLAGS"
32623
32624 fi
32625 fi
32626
32627 if test "$wxUSE_OSX_CARBON" = 1; then
32628 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32629 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32630 if test "$GCC" = yes; then
32631 { echo "$as_me:$LINENO: result: gcc" >&5
32632 echo "${ECHO_T}gcc" >&6; }
32633 CPPFLAGS_PASCAL="-fpascal-strings"
32634 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32635 { echo "$as_me:$LINENO: result: xlc" >&5
32636 echo "${ECHO_T}xlc" >&6; }
32637 CPPFLAGS_PASCAL="-qmacpstr"
32638 else
32639 { echo "$as_me:$LINENO: result: none" >&5
32640 echo "${ECHO_T}none" >&6; }
32641 fi
32642
32643 if test "x$wxUSE_UNIX" = "xyes"; then
32644 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32645 else
32646 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32647 fi
32648
32649 TOOLKIT=OSX_CARBON
32650 GUIDIST=OSX_CARBON_DIST
32651 WXBASEPORT="_carbon"
32652 fi
32653
32654 if test "$wxUSE_OSX_COCOA" = 1; then
32655 TOOLKIT=OSX_COCOA
32656 GUIDIST=OSX_COCOA_DIST
32657 fi
32658
32659 if test "$wxUSE_COCOA" = 1; then
32660 TOOLKIT=COCOA
32661 GUIDIST=COCOA_DIST
32662 fi
32663
32664 if test "$wxUSE_PM" = 1; then
32665 TOOLKIT=PM
32666 GUIDIST=PM_DIST
32667 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32668 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32669 if test "${wx_cv_spbcdata+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 else
32672
32673 cat >conftest.$ac_ext <<_ACEOF
32674 /* confdefs.h. */
32675 _ACEOF
32676 cat confdefs.h >>conftest.$ac_ext
32677 cat >>conftest.$ac_ext <<_ACEOF
32678 /* end confdefs.h. */
32679
32680 #define INCL_PM
32681 #include <os2.h>
32682
32683 int
32684 main ()
32685 {
32686
32687 SPBCDATA test;
32688
32689 ;
32690 return 0;
32691 }
32692 _ACEOF
32693 rm -f conftest.$ac_objext
32694 if { (ac_try="$ac_compile"
32695 case "(($ac_try" in
32696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32697 *) ac_try_echo=$ac_try;;
32698 esac
32699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32700 (eval "$ac_compile") 2>conftest.er1
32701 ac_status=$?
32702 grep -v '^ *+' conftest.er1 >conftest.err
32703 rm -f conftest.er1
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } && {
32707 test -z "$ac_c_werror_flag" ||
32708 test ! -s conftest.err
32709 } && test -s conftest.$ac_objext; then
32710 wx_cv_spbcdata=yes
32711 else
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32714
32715 wx_cv_spbcdata=no
32716
32717 fi
32718
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32720
32721
32722 fi
32723 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32724 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32725
32726 if test $wx_cv_spbcdata = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define HAVE_SPBCDATA 1
32729 _ACEOF
32730
32731 fi
32732 fi
32733
32734 if test "$TOOLKIT" = "PM" ; then
32735 TOOLKIT_DIR="os2"
32736 else
32737 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32738 fi
32739
32740 if test "$wxUSE_UNIVERSAL" = "yes"; then
32741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32742 WIDGET_SET=univ
32743 fi
32744
32745 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32746 DISTDIR="wx\$(TOOLKIT)"
32747 else
32748 USE_GUI=0
32749
32750 TOOLKIT_DIR="base"
32751
32752 if test "$USE_WIN32" = 1 ; then
32753 TOOLKIT="MSW"
32754 fi
32755
32756 GUIDIST="BASE_DIST"
32757 DISTDIR="wxBase"
32758 fi
32759
32760
32761
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32763 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32764 wxUSE_UNICODE_UTF8=yes
32765 elif test "$USE_OS2" = 1 ; then
32766 wxUSE_UNICODE_UTF8=yes
32767 else
32768 wxUSE_UNICODE_UTF8=no
32769 fi
32770 fi
32771
32772
32773 if test "$wxUSE_GUI" = "yes"; then
32774 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32775
32776 for ac_header in X11/Xlib.h
32777 do
32778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32783 else
32784 cat >conftest.$ac_ext <<_ACEOF
32785 /* confdefs.h. */
32786 _ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32790
32791
32792 #include <$ac_header>
32793 _ACEOF
32794 rm -f conftest.$ac_objext
32795 if { (ac_try="$ac_compile"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32798 *) ac_try_echo=$ac_try;;
32799 esac
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_compile") 2>conftest.er1
32802 ac_status=$?
32803 grep -v '^ *+' conftest.er1 >conftest.err
32804 rm -f conftest.er1
32805 cat conftest.err >&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest.$ac_objext; then
32811 eval "$as_ac_Header=yes"
32812 else
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32815
32816 eval "$as_ac_Header=no"
32817 fi
32818
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820 fi
32821 ac_res=`eval echo '${'$as_ac_Header'}'`
32822 { echo "$as_me:$LINENO: result: $ac_res" >&5
32823 echo "${ECHO_T}$ac_res" >&6; }
32824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32825 cat >>confdefs.h <<_ACEOF
32826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32827 _ACEOF
32828
32829 fi
32830
32831 done
32832
32833
32834 for ac_header in X11/XKBlib.h
32835 do
32836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 else
32842 cat >conftest.$ac_ext <<_ACEOF
32843 /* confdefs.h. */
32844 _ACEOF
32845 cat confdefs.h >>conftest.$ac_ext
32846 cat >>conftest.$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848
32849 #if HAVE_X11_XLIB_H
32850 #include <X11/Xlib.h>
32851 #endif
32852
32853
32854 #include <$ac_header>
32855 _ACEOF
32856 rm -f conftest.$ac_objext
32857 if { (ac_try="$ac_compile"
32858 case "(($ac_try" in
32859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32860 *) ac_try_echo=$ac_try;;
32861 esac
32862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32863 (eval "$ac_compile") 2>conftest.er1
32864 ac_status=$?
32865 grep -v '^ *+' conftest.er1 >conftest.err
32866 rm -f conftest.er1
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } && {
32870 test -z "$ac_c_werror_flag" ||
32871 test ! -s conftest.err
32872 } && test -s conftest.$ac_objext; then
32873 eval "$as_ac_Header=yes"
32874 else
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32877
32878 eval "$as_ac_Header=no"
32879 fi
32880
32881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32882 fi
32883 ac_res=`eval echo '${'$as_ac_Header'}'`
32884 { echo "$as_me:$LINENO: result: $ac_res" >&5
32885 echo "${ECHO_T}$ac_res" >&6; }
32886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32887 cat >>confdefs.h <<_ACEOF
32888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32889 _ACEOF
32890
32891 fi
32892
32893 done
32894
32895 fi
32896 fi
32897
32898
32899
32900 if test "$wxUSE_DISPLAY" = "yes"; then
32901 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32902 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32903 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32904
32905 ac_find_libraries=
32906 for ac_dir in $SEARCH_LIB;
32907 do
32908 for ac_extension in a so sl dylib dll.a; do
32909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32910 ac_find_libraries=$ac_dir
32911 break 2
32912 fi
32913 done
32914 done
32915
32916 if test "$ac_find_libraries" != "" ; then
32917
32918 if test "$ac_find_libraries" = "default location"; then
32919 ac_path_to_link=""
32920 else
32921 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32922 result=$?
32923 if test $result = 0; then
32924 ac_path_to_link=""
32925 else
32926 ac_path_to_link=" -L$ac_find_libraries"
32927 fi
32928 fi
32929
32930 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32931 LDFLAGS="$LDFLAGS $ac_path_to_link"
32932 fi
32933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32934 { echo "$as_me:$LINENO: result: yes" >&5
32935 echo "${ECHO_T}yes" >&6; }
32936
32937 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32938 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32939
32940 ac_find_libraries=
32941 for ac_dir in $SEARCH_LIB;
32942 do
32943 for ac_extension in a so sl dylib dll.a; do
32944 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32945 ac_find_libraries=$ac_dir
32946 break 2
32947 fi
32948 done
32949 done
32950
32951 if test "$ac_find_libraries" != "" ; then
32952 { echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6; }
32954
32955 for ac_header in X11/extensions/xf86vmode.h
32956 do
32957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 else
32963 cat >conftest.$ac_ext <<_ACEOF
32964 /* confdefs.h. */
32965 _ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32969
32970 #if HAVE_X11_XLIB_H
32971 #include <X11/Xlib.h>
32972 #endif
32973
32974
32975 #include <$ac_header>
32976 _ACEOF
32977 rm -f conftest.$ac_objext
32978 if { (ac_try="$ac_compile"
32979 case "(($ac_try" in
32980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32981 *) ac_try_echo=$ac_try;;
32982 esac
32983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32984 (eval "$ac_compile") 2>conftest.er1
32985 ac_status=$?
32986 grep -v '^ *+' conftest.er1 >conftest.err
32987 rm -f conftest.er1
32988 cat conftest.err >&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); } && {
32991 test -z "$ac_c_werror_flag" ||
32992 test ! -s conftest.err
32993 } && test -s conftest.$ac_objext; then
32994 eval "$as_ac_Header=yes"
32995 else
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.$ac_ext >&5
32998
32999 eval "$as_ac_Header=no"
33000 fi
33001
33002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33003 fi
33004 ac_res=`eval echo '${'$as_ac_Header'}'`
33005 { echo "$as_me:$LINENO: result: $ac_res" >&5
33006 echo "${ECHO_T}$ac_res" >&6; }
33007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33008 cat >>confdefs.h <<_ACEOF
33009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33010 _ACEOF
33011
33012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33013
33014 fi
33015
33016 done
33017
33018 else
33019 { echo "$as_me:$LINENO: result: no" >&5
33020 echo "${ECHO_T}no" >&6; }
33021 fi
33022
33023 else
33024 { echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6; }
33026 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33027 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33028 wxUSE_DISPLAY="no"
33029 fi
33030 elif test "$wxUSE_MSW" = 1; then
33031 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33032 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33033 if test "${ac_cv_header_ddraw_h+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 else
33036 cat >conftest.$ac_ext <<_ACEOF
33037 /* confdefs.h. */
33038 _ACEOF
33039 cat confdefs.h >>conftest.$ac_ext
33040 cat >>conftest.$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042 #include <windows.h>
33043
33044 #include <ddraw.h>
33045 _ACEOF
33046 rm -f conftest.$ac_objext
33047 if { (ac_try="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33051 esac
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33054 ac_status=$?
33055 grep -v '^ *+' conftest.er1 >conftest.err
33056 rm -f conftest.er1
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33063 ac_cv_header_ddraw_h=yes
33064 else
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33067
33068 ac_cv_header_ddraw_h=no
33069 fi
33070
33071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072 fi
33073 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33074 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33075
33076
33077 fi
33078 fi
33079
33080 if test "$wxUSE_DETECT_SM" = "yes"; then
33081 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33082 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33083 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33084
33085 ac_find_libraries=
33086 for ac_dir in $SEARCH_LIB;
33087 do
33088 for ac_extension in a so sl dylib dll.a; do
33089 if test -f "$ac_dir/libSM.$ac_extension"; then
33090 ac_find_libraries=$ac_dir
33091 break 2
33092 fi
33093 done
33094 done
33095
33096 if test "$ac_find_libraries" != "" ; then
33097
33098 if test "$ac_find_libraries" = "default location"; then
33099 ac_path_to_link=""
33100 else
33101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33102 result=$?
33103 if test $result = 0; then
33104 ac_path_to_link=""
33105 else
33106 ac_path_to_link=" -L$ac_find_libraries"
33107 fi
33108 fi
33109
33110 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33111 LDFLAGS="$LDFLAGS $ac_path_to_link"
33112 fi
33113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33114 { echo "$as_me:$LINENO: result: yes" >&5
33115 echo "${ECHO_T}yes" >&6; }
33116 else
33117 { echo "$as_me:$LINENO: result: no" >&5
33118 echo "${ECHO_T}no" >&6; }
33119 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33120 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33121 wxUSE_DETECT_SM="no"
33122 fi
33123 else
33124 wxUSE_DETECT_SM="no"
33125 fi
33126 fi
33127
33128
33129
33130 USE_OPENGL=0
33131 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33132
33133
33134 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33135 OPENGL_LIBS="-framework OpenGL -framework AGL"
33136 elif test "$wxUSE_MSW" = 1; then
33137 OPENGL_LIBS="-lopengl32 -lglu32"
33138 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33139
33140 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33141 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33142
33143 ac_find_includes=
33144 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33145 do
33146 if test -f "$ac_dir/GL/gl.h"; then
33147 ac_find_includes=$ac_dir
33148 break
33149 fi
33150 done
33151
33152 if test "$ac_find_includes" != "" ; then
33153 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33154 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33155
33156 if test "x$ac_find_includes" = "x/usr/include"; then
33157 ac_path_to_include=""
33158 else
33159 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33160 result=$?
33161 if test $result = 0; then
33162 ac_path_to_include=""
33163 else
33164 ac_path_to_include=" -I$ac_find_includes"
33165 fi
33166 fi
33167
33168 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33169 else
33170 { echo "$as_me:$LINENO: result: not found" >&5
33171 echo "${ECHO_T}not found" >&6; }
33172 fi
33173
33174 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33175 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33176 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185
33186
33187 #include <GL/gl.h>
33188 _ACEOF
33189 rm -f conftest.$ac_objext
33190 if { (ac_try="$ac_compile"
33191 case "(($ac_try" in
33192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33193 *) ac_try_echo=$ac_try;;
33194 esac
33195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33196 (eval "$ac_compile") 2>conftest.er1
33197 ac_status=$?
33198 grep -v '^ *+' conftest.er1 >conftest.err
33199 rm -f conftest.er1
33200 cat conftest.err >&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } && {
33203 test -z "$ac_c_werror_flag" ||
33204 test ! -s conftest.err
33205 } && test -s conftest.$ac_objext; then
33206 ac_cv_header_GL_gl_h=yes
33207 else
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.$ac_ext >&5
33210
33211 ac_cv_header_GL_gl_h=no
33212 fi
33213
33214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 fi
33216 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33217 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33218 if test $ac_cv_header_GL_gl_h = yes; then
33219
33220 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33221 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33222 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33223 echo $ECHO_N "(cached) $ECHO_C" >&6
33224 else
33225 cat >conftest.$ac_ext <<_ACEOF
33226 /* confdefs.h. */
33227 _ACEOF
33228 cat confdefs.h >>conftest.$ac_ext
33229 cat >>conftest.$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33231
33232
33233 #include <GL/glu.h>
33234 _ACEOF
33235 rm -f conftest.$ac_objext
33236 if { (ac_try="$ac_compile"
33237 case "(($ac_try" in
33238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33239 *) ac_try_echo=$ac_try;;
33240 esac
33241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33242 (eval "$ac_compile") 2>conftest.er1
33243 ac_status=$?
33244 grep -v '^ *+' conftest.er1 >conftest.err
33245 rm -f conftest.er1
33246 cat conftest.err >&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } && {
33249 test -z "$ac_c_werror_flag" ||
33250 test ! -s conftest.err
33251 } && test -s conftest.$ac_objext; then
33252 ac_cv_header_GL_glu_h=yes
33253 else
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33256
33257 ac_cv_header_GL_glu_h=no
33258 fi
33259
33260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33261 fi
33262 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33263 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33264 if test $ac_cv_header_GL_glu_h = yes; then
33265
33266 found_gl=0
33267
33268 { echo "$as_me:$LINENO: checking for -lGL" >&5
33269 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33270
33271 ac_find_libraries=
33272 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33273 do
33274 for ac_extension in a so sl dylib dll.a; do
33275 if test -f "$ac_dir/libGL.$ac_extension"; then
33276 ac_find_libraries=$ac_dir
33277 break 2
33278 fi
33279 done
33280 done
33281
33282 if test "$ac_find_libraries" != "" ; then
33283 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33284 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33285
33286
33287 if test "$ac_find_libraries" = "default location"; then
33288 ac_path_to_link=""
33289 else
33290 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33291 result=$?
33292 if test $result = 0; then
33293 ac_path_to_link=""
33294 else
33295 ac_path_to_link=" -L$ac_find_libraries"
33296 fi
33297 fi
33298
33299 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33300 LDFLAGS_GL="$ac_path_to_link"
33301 fi
33302
33303 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33304 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33305
33306 ac_find_libraries=
33307 for ac_dir in $SEARCH_LIB;
33308 do
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libGLU.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33312 break 2
33313 fi
33314 done
33315 done
33316
33317 if test "$ac_find_libraries" != "" ; then
33318
33319 if test "$ac_find_libraries" = "default location"; then
33320 ac_path_to_link=""
33321 else
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33323 result=$?
33324 if test $result = 0; then
33325 ac_path_to_link=""
33326 else
33327 ac_path_to_link=" -L$ac_find_libraries"
33328 fi
33329 fi
33330
33331 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33332 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33333 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33334 fi
33335
33336 found_gl=1
33337 OPENGL_LIBS="-lGL -lGLU"
33338 { echo "$as_me:$LINENO: result: yes" >&5
33339 echo "${ECHO_T}yes" >&6; }
33340 else
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33343 fi
33344 else
33345 { echo "$as_me:$LINENO: result: no" >&5
33346 echo "${ECHO_T}no" >&6; }
33347 fi
33348
33349 if test "$found_gl" != 1; then
33350 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33351 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33352
33353 ac_find_libraries=
33354 for ac_dir in $SEARCH_LIB;
33355 do
33356 for ac_extension in a so sl dylib dll.a; do
33357 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33358 ac_find_libraries=$ac_dir
33359 break 2
33360 fi
33361 done
33362 done
33363
33364 if test "$ac_find_libraries" != "" ; then
33365
33366 if test "$ac_find_libraries" = "default location"; then
33367 ac_path_to_link=""
33368 else
33369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33370 result=$?
33371 if test $result = 0; then
33372 ac_path_to_link=""
33373 else
33374 ac_path_to_link=" -L$ac_find_libraries"
33375 fi
33376 fi
33377
33378 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33379 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33380 { echo "$as_me:$LINENO: result: yes" >&5
33381 echo "${ECHO_T}yes" >&6; }
33382 else
33383 { echo "$as_me:$LINENO: result: no" >&5
33384 echo "${ECHO_T}no" >&6; }
33385 fi
33386 fi
33387
33388 fi
33389
33390
33391
33392 fi
33393
33394
33395
33396 if test "x$OPENGL_LIBS" = "x"; then
33397 if test "$wxUSE_OPENGL" = "yes"; then
33398 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33399 echo "$as_me: error: OpenGL libraries not available" >&2;}
33400 { (exit 1); exit 1; }; }
33401 else
33402 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33403 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33404 wxUSE_OPENGL=no
33405 USE_OPENGL=0
33406 fi
33407 else
33408 wxUSE_OPENGL=yes
33409 fi
33410 else
33411 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33412 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33413 wxUSE_OPENGL="no"
33414 fi
33415
33416 if test "$wxUSE_OPENGL" = "yes"; then
33417 USE_OPENGL=1
33418 cat >>confdefs.h <<\_ACEOF
33419 #define wxUSE_OPENGL 1
33420 _ACEOF
33421
33422 cat >>confdefs.h <<\_ACEOF
33423 #define wxUSE_GLCANVAS 1
33424 _ACEOF
33425
33426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33427 fi
33428 fi
33429
33430
33431 if test -n "$TOOLKIT" ; then
33432 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33433 fi
33434
33435
33436
33437 if test "$wxUSE_SHARED" = "yes"; then
33438 case "${host}" in
33439 *-pc-msdosdjgpp )
33440 wxUSE_SHARED=no
33441 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33442 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33443 ;;
33444 esac
33445 fi
33446
33447 if test "$wxUSE_SHARED" = "yes"; then
33448
33449
33450 case "${host}" in
33451 *-*-cygwin* | *-*-mingw* )
33452 wx_cv_version_script=no
33453 ;;
33454
33455 *)
33456 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33457 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33458 if test "${wx_cv_version_script+set}" = set; then
33459 echo $ECHO_N "(cached) $ECHO_C" >&6
33460 else
33461
33462 echo "VER_1 { *; };" >conftest.sym
33463 echo "int main() { return 0; }" >conftest.cpp
33464
33465 if { ac_try='
33466 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33467 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; } ; then
33473 if test -s conftest.stderr ; then
33474 wx_cv_version_script=no
33475 else
33476 wx_cv_version_script=yes
33477 fi
33478 else
33479 wx_cv_version_script=no
33480 fi
33481
33482 if test $wx_cv_version_script = yes
33483 then
33484 echo "struct B { virtual ~B() { } }; \
33485 struct D : public B { }; \
33486 void F() { D d; }" > conftest.cpp
33487
33488 if { ac_try='
33489 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33490 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33493 ac_status=$?
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; } &&
33496 { ac_try='
33497 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33498 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33501 ac_status=$?
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; }
33504 then
33505 if { ac_try='
33506 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33507 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33510 ac_status=$?
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; }
33513 then
33514 wx_cv_version_script=yes
33515 else
33516 wx_cv_version_script=no
33517 fi
33518 fi
33519 fi
33520
33521 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33522 rm -f conftest1.output conftest2.output conftest3.output
33523
33524 fi
33525 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33526 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33527
33528 if test $wx_cv_version_script = yes ; then
33529 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33530 fi
33531 ;;
33532 esac
33533
33534
33535 if test "$wxUSE_VISIBILITY" != "no"; then
33536
33537
33538 if test -n "$GCC"; then
33539 CFLAGS_VISIBILITY="-fvisibility=hidden"
33540 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33541 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33542 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33543 if test "${wx_cv_cc_visibility+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33545 else
33546
33547 wx_save_CXXFLAGS="$CXXFLAGS"
33548 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33549 ac_ext=cpp
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33554
33555 cat >conftest.$ac_ext <<_ACEOF
33556 /* confdefs.h. */
33557 _ACEOF
33558 cat confdefs.h >>conftest.$ac_ext
33559 cat >>conftest.$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33561
33562 /* we need gcc >= 4.0, older versions with visibility support
33563 didn't have class visibility: */
33564 #if defined(__GNUC__) && __GNUC__ < 4
33565 error this gcc is too old;
33566 #endif
33567
33568 /* visibility only makes sense for ELF shared libs: */
33569 #if !defined(__ELF__) && !defined(__APPLE__)
33570 error this platform has no visibility;
33571 #endif
33572
33573 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33574 extern __attribute__((__visibility__("default"))) int exportedvar;
33575 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33576 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33577 class __attribute__((__visibility__("default"))) Foo {
33578 Foo() {}
33579 };
33580
33581 int
33582 main ()
33583 {
33584
33585 ;
33586 return 0;
33587 }
33588 _ACEOF
33589 rm -f conftest.$ac_objext
33590 if { (ac_try="$ac_compile"
33591 case "(($ac_try" in
33592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33593 *) ac_try_echo=$ac_try;;
33594 esac
33595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33596 (eval "$ac_compile") 2>conftest.er1
33597 ac_status=$?
33598 grep -v '^ *+' conftest.er1 >conftest.err
33599 rm -f conftest.er1
33600 cat conftest.err >&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } && {
33603 test -z "$ac_cxx_werror_flag" ||
33604 test ! -s conftest.err
33605 } && test -s conftest.$ac_objext; then
33606 wx_cv_cc_visibility=yes
33607 else
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33610
33611 wx_cv_cc_visibility=no
33612 fi
33613
33614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33615 ac_ext=c
33616 ac_cpp='$CPP $CPPFLAGS'
33617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33620
33621 CXXFLAGS="$wx_save_CXXFLAGS"
33622 fi
33623
33624 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33625 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33626 if test $wx_cv_cc_visibility = yes; then
33627 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33628 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33629 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 else
33632
33633 wx_save_CXXFLAGS="$CXXFLAGS"
33634 wx_save_LDFLAGS="$LDFLAGS"
33635 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33636 LDFLAGS="$LDFLAGS -shared -fPIC"
33637 ac_ext=cpp
33638 ac_cpp='$CXXCPP $CPPFLAGS'
33639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33642
33643 cat >conftest.$ac_ext <<_ACEOF
33644 /* confdefs.h. */
33645 _ACEOF
33646 cat confdefs.h >>conftest.$ac_ext
33647 cat >>conftest.$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33649
33650 #include <string>
33651
33652 int
33653 main ()
33654 {
33655
33656 std::string s("hello");
33657 return s.length();
33658
33659 ;
33660 return 0;
33661 }
33662 _ACEOF
33663 rm -f conftest.$ac_objext conftest$ac_exeext
33664 if { (ac_try="$ac_link"
33665 case "(($ac_try" in
33666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33667 *) ac_try_echo=$ac_try;;
33668 esac
33669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33670 (eval "$ac_link") 2>conftest.er1
33671 ac_status=$?
33672 grep -v '^ *+' conftest.er1 >conftest.err
33673 rm -f conftest.er1
33674 cat conftest.err >&5
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); } && {
33677 test -z "$ac_cxx_werror_flag" ||
33678 test ! -s conftest.err
33679 } && test -s conftest$ac_exeext &&
33680 $as_test_x conftest$ac_exeext; then
33681 wx_cv_cc_broken_libstdcxx_visibility=no
33682 else
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33685
33686 wx_cv_cc_broken_libstdcxx_visibility=yes
33687 fi
33688
33689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33690 conftest$ac_exeext conftest.$ac_ext
33691 ac_ext=c
33692 ac_cpp='$CPP $CPPFLAGS'
33693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696
33697 CXXFLAGS="$wx_save_CXXFLAGS"
33698 LDFLAGS="$wx_save_LDFLAGS"
33699 fi
33700
33701 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33702 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33703
33704 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33705 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33706 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33707 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33708 echo $ECHO_N "(cached) $ECHO_C" >&6
33709 else
33710
33711 ac_ext=cpp
33712 ac_cpp='$CXXCPP $CPPFLAGS'
33713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33716
33717 cat >conftest.$ac_ext <<_ACEOF
33718 /* confdefs.h. */
33719 _ACEOF
33720 cat confdefs.h >>conftest.$ac_ext
33721 cat >>conftest.$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33723
33724 #pragma GCC visibility push(default)
33725 #include <string>
33726 #pragma GCC visibility pop
33727
33728 int
33729 main ()
33730 {
33731
33732 std::string s("hello");
33733 return s.length();
33734
33735 ;
33736 return 0;
33737 }
33738 _ACEOF
33739 rm -f conftest.$ac_objext conftest$ac_exeext
33740 if { (ac_try="$ac_link"
33741 case "(($ac_try" in
33742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33743 *) ac_try_echo=$ac_try;;
33744 esac
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_link") 2>conftest.er1
33747 ac_status=$?
33748 grep -v '^ *+' conftest.er1 >conftest.err
33749 rm -f conftest.er1
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_cxx_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest$ac_exeext &&
33756 $as_test_x conftest$ac_exeext; then
33757 wx_cv_cc_visibility_workaround=no
33758 else
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33761
33762 wx_cv_cc_visibility_workaround=yes
33763 fi
33764
33765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33766 conftest$ac_exeext conftest.$ac_ext
33767 ac_ext=c
33768 ac_cpp='$CPP $CPPFLAGS'
33769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33772
33773
33774 fi
33775
33776 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33777 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33778
33779 if test $wx_cv_cc_visibility_workaround = no; then
33780 wx_cv_cc_visibility=no
33781 fi
33782 fi
33783 fi
33784
33785 if test $wx_cv_cc_visibility = yes; then
33786 cat >>confdefs.h <<\_ACEOF
33787 #define HAVE_VISIBILITY 1
33788 _ACEOF
33789
33790 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33791 cat >>confdefs.h <<\_ACEOF
33792 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33793 _ACEOF
33794
33795 fi
33796 else
33797 CFLAGS_VISIBILITY=""
33798 CXXFLAGS_VISIBILITY=""
33799 fi
33800
33801
33802 fi
33803
33804 fi
33805
33806 if test "x$SUNCXX" = xyes; then
33807 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33808 WXCONFIG_RPATH="-R\$libdir"
33809 else
33810 case "${host}" in
33811 *-*-linux* | *-*-gnu* )
33812 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33813 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33814 ;;
33815
33816 *-*-solaris2* )
33817
33818 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33819
33820 saveLdflags="$LDFLAGS"
33821 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33822 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33823 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h. */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33830
33831 int
33832 main ()
33833 {
33834
33835 ;
33836 return 0;
33837 }
33838 _ACEOF
33839 rm -f conftest.$ac_objext conftest$ac_exeext
33840 if { (ac_try="$ac_link"
33841 case "(($ac_try" in
33842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33843 *) ac_try_echo=$ac_try;;
33844 esac
33845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33846 (eval "$ac_link") 2>conftest.er1
33847 ac_status=$?
33848 grep -v '^ *+' conftest.er1 >conftest.err
33849 rm -f conftest.er1
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } && {
33853 test -z "$ac_c_werror_flag" ||
33854 test ! -s conftest.err
33855 } && test -s conftest$ac_exeext &&
33856 $as_test_x conftest$ac_exeext; then
33857
33858 { echo "$as_me:$LINENO: result: yes" >&5
33859 echo "${ECHO_T}yes" >&6; }
33860 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33861 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33862
33863 else
33864 echo "$as_me: failed program was:" >&5
33865 sed 's/^/| /' conftest.$ac_ext >&5
33866
33867
33868 { echo "$as_me:$LINENO: result: no" >&5
33869 echo "${ECHO_T}no" >&6; }
33870 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33871 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33872 LDFLAGS="$saveLdflags -Wl,-R,/"
33873 cat >conftest.$ac_ext <<_ACEOF
33874 /* confdefs.h. */
33875 _ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879
33880 int
33881 main ()
33882 {
33883
33884 ;
33885 return 0;
33886 }
33887 _ACEOF
33888 rm -f conftest.$ac_objext conftest$ac_exeext
33889 if { (ac_try="$ac_link"
33890 case "(($ac_try" in
33891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33892 *) ac_try_echo=$ac_try;;
33893 esac
33894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33895 (eval "$ac_link") 2>conftest.er1
33896 ac_status=$?
33897 grep -v '^ *+' conftest.er1 >conftest.err
33898 rm -f conftest.er1
33899 cat conftest.err >&5
33900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901 (exit $ac_status); } && {
33902 test -z "$ac_c_werror_flag" ||
33903 test ! -s conftest.err
33904 } && test -s conftest$ac_exeext &&
33905 $as_test_x conftest$ac_exeext; then
33906
33907 { echo "$as_me:$LINENO: result: yes" >&5
33908 echo "${ECHO_T}yes" >&6; }
33909 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33910 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33911
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916
33917 { echo "$as_me:$LINENO: result: no" >&5
33918 echo "${ECHO_T}no" >&6; }
33919
33920 fi
33921
33922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33923 conftest$ac_exeext conftest.$ac_ext
33924
33925 fi
33926
33927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33928 conftest$ac_exeext conftest.$ac_ext
33929 LDFLAGS="$saveLdflags"
33930 ;;
33931
33932 *-*-darwin* )
33933 install_name_tool=`which install_name_tool`
33934 if test "$install_name_tool" -a -x "$install_name_tool"; then
33935 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33936 cat <<EOF >change-install-names
33937 #!/bin/sh
33938 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33939 inst_cmd="install_name_tool "
33940 for i in \${libnames} ; do
33941 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33942 done
33943 \${inst_cmd} \${3}
33944 EOF
33945 chmod +x change-install-names
33946 fi
33947 ;;
33948
33949 *-*-cygwin* | *-*-mingw32* )
33950 ;;
33951
33952 *-*-hpux* )
33953 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33954 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33955 ;;
33956
33957 esac
33958 fi
33959
33960 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33961
33962 if test $wxUSE_RPATH = "no"; then
33963 SAMPLES_RPATH_FLAG=''
33964 SAMPLES_RPATH_POSTLINK=''
33965 WXCONFIG_RPATH=''
33966 fi
33967
33968 SHARED=1
33969
33970 else
33971
33972 config_linkage_component="-static"
33973 SHARED=0
33974
33975 fi
33976
33977
33978 UNICODE=0
33979 lib_unicode_suffix=
33980 WX_CHARTYPE="ansi"
33981 if test "$wxUSE_UNICODE" = "yes"; then
33982 lib_unicode_suffix=u
33983 WX_CHARTYPE="unicode"
33984 UNICODE=1
33985 fi
33986
33987 lib_debug_suffix=
33988 WX_DEBUGTYPE="release"
33989 DEBUG_FLAG=0
33990 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33991 lib_debug_suffix=d
33992 WX_DEBUGTYPE="debug"
33993 DEBUG_FLAG=1
33994 fi
33995
33996 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33997 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33998
33999 DEBUG_INFO=0
34000 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34001 DEBUG_INFO=1
34002 fi
34003
34004 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34005
34006 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34007
34008 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34009
34010 if test "$cross_compiling" = "yes"; then
34011 HOST_SUFFIX="-$host_alias"
34012 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34013 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34014 fi
34015
34016 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34017 if test "${TOOLKIT_DIR}" = "os2"; then
34018 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34019 else
34020 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34021 fi
34022
34023
34024
34025 if test "$wxUSE_COCOA" = 1; then
34026
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34032
34033 ac_ext=m
34034
34035 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34036 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #include <AppKit/NSEvent.h>
34044 #include <CoreFoundation/CoreFoundation.h>
34045
34046 int
34047 main ()
34048 {
34049
34050 ;
34051 return 0;
34052 }
34053 _ACEOF
34054 rm -f conftest.$ac_objext
34055 if { (ac_try="$ac_compile"
34056 case "(($ac_try" in
34057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34058 *) ac_try_echo=$ac_try;;
34059 esac
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061 (eval "$ac_compile") 2>conftest.er1
34062 ac_status=$?
34063 grep -v '^ *+' conftest.er1 >conftest.err
34064 rm -f conftest.er1
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } && {
34068 test -z "$ac_c_werror_flag" ||
34069 test ! -s conftest.err
34070 } && test -s conftest.$ac_objext; then
34071 { echo "$as_me:$LINENO: result: no" >&5
34072 echo "${ECHO_T}no" >&6; }
34073 else
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34076
34077 { echo "$as_me:$LINENO: result: yes" >&5
34078 echo "${ECHO_T}yes" >&6; }
34079 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34080 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34081 cat >conftest.$ac_ext <<_ACEOF
34082 /* confdefs.h. */
34083 _ACEOF
34084 cat confdefs.h >>conftest.$ac_ext
34085 cat >>conftest.$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34087 #define __Point__ 1
34088 #include <AppKit/NSEvent.h>
34089 #include <CoreFoundation/CoreFoundation.h>
34090
34091 int
34092 main ()
34093 {
34094
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (ac_try="$ac_compile"
34101 case "(($ac_try" in
34102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34103 *) ac_try_echo=$ac_try;;
34104 esac
34105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34106 (eval "$ac_compile") 2>conftest.er1
34107 ac_status=$?
34108 grep -v '^ *+' conftest.er1 >conftest.err
34109 rm -f conftest.er1
34110 cat conftest.err >&5
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); } && {
34113 test -z "$ac_c_werror_flag" ||
34114 test ! -s conftest.err
34115 } && test -s conftest.$ac_objext; then
34116 { echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6; }
34118 cat >>confdefs.h <<\_ACEOF
34119 #define __Point__ 1
34120 _ACEOF
34121
34122
34123 else
34124 echo "$as_me: failed program was:" >&5
34125 sed 's/^/| /' conftest.$ac_ext >&5
34126
34127 { { echo "$as_me:$LINENO: error: no
34128 See \`config.log' for more details." >&5
34129 echo "$as_me: error: no
34130 See \`config.log' for more details." >&2;}
34131 { (exit 1); exit 1; }; }
34132
34133 fi
34134
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136
34137 fi
34138
34139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34140 ac_ext=c
34141 ac_cpp='$CPP $CPPFLAGS'
34142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34145
34146 fi
34147
34148
34149 { echo "$as_me:$LINENO: checking for mode_t" >&5
34150 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34151 if test "${ac_cv_type_mode_t+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34153 else
34154 cat >conftest.$ac_ext <<_ACEOF
34155 /* confdefs.h. */
34156 _ACEOF
34157 cat confdefs.h >>conftest.$ac_ext
34158 cat >>conftest.$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 $ac_includes_default
34161 typedef mode_t ac__type_new_;
34162 int
34163 main ()
34164 {
34165 if ((ac__type_new_ *) 0)
34166 return 0;
34167 if (sizeof (ac__type_new_))
34168 return 0;
34169 ;
34170 return 0;
34171 }
34172 _ACEOF
34173 rm -f conftest.$ac_objext
34174 if { (ac_try="$ac_compile"
34175 case "(($ac_try" in
34176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34177 *) ac_try_echo=$ac_try;;
34178 esac
34179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34180 (eval "$ac_compile") 2>conftest.er1
34181 ac_status=$?
34182 grep -v '^ *+' conftest.er1 >conftest.err
34183 rm -f conftest.er1
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } && {
34187 test -z "$ac_c_werror_flag" ||
34188 test ! -s conftest.err
34189 } && test -s conftest.$ac_objext; then
34190 ac_cv_type_mode_t=yes
34191 else
34192 echo "$as_me: failed program was:" >&5
34193 sed 's/^/| /' conftest.$ac_ext >&5
34194
34195 ac_cv_type_mode_t=no
34196 fi
34197
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 fi
34200 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34201 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34202 if test $ac_cv_type_mode_t = yes; then
34203 :
34204 else
34205
34206 cat >>confdefs.h <<_ACEOF
34207 #define mode_t int
34208 _ACEOF
34209
34210 fi
34211
34212 { echo "$as_me:$LINENO: checking for off_t" >&5
34213 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34214 if test "${ac_cv_type_off_t+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34216 else
34217 cat >conftest.$ac_ext <<_ACEOF
34218 /* confdefs.h. */
34219 _ACEOF
34220 cat confdefs.h >>conftest.$ac_ext
34221 cat >>conftest.$ac_ext <<_ACEOF
34222 /* end confdefs.h. */
34223 $ac_includes_default
34224 typedef off_t ac__type_new_;
34225 int
34226 main ()
34227 {
34228 if ((ac__type_new_ *) 0)
34229 return 0;
34230 if (sizeof (ac__type_new_))
34231 return 0;
34232 ;
34233 return 0;
34234 }
34235 _ACEOF
34236 rm -f conftest.$ac_objext
34237 if { (ac_try="$ac_compile"
34238 case "(($ac_try" in
34239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34240 *) ac_try_echo=$ac_try;;
34241 esac
34242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34243 (eval "$ac_compile") 2>conftest.er1
34244 ac_status=$?
34245 grep -v '^ *+' conftest.er1 >conftest.err
34246 rm -f conftest.er1
34247 cat conftest.err >&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } && {
34250 test -z "$ac_c_werror_flag" ||
34251 test ! -s conftest.err
34252 } && test -s conftest.$ac_objext; then
34253 ac_cv_type_off_t=yes
34254 else
34255 echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34257
34258 ac_cv_type_off_t=no
34259 fi
34260
34261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34262 fi
34263 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34264 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34265 if test $ac_cv_type_off_t = yes; then
34266 :
34267 else
34268
34269 cat >>confdefs.h <<_ACEOF
34270 #define off_t long int
34271 _ACEOF
34272
34273 fi
34274
34275 { echo "$as_me:$LINENO: checking for pid_t" >&5
34276 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34277 if test "${ac_cv_type_pid_t+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34279 else
34280 cat >conftest.$ac_ext <<_ACEOF
34281 /* confdefs.h. */
34282 _ACEOF
34283 cat confdefs.h >>conftest.$ac_ext
34284 cat >>conftest.$ac_ext <<_ACEOF
34285 /* end confdefs.h. */
34286 $ac_includes_default
34287 typedef pid_t ac__type_new_;
34288 int
34289 main ()
34290 {
34291 if ((ac__type_new_ *) 0)
34292 return 0;
34293 if (sizeof (ac__type_new_))
34294 return 0;
34295 ;
34296 return 0;
34297 }
34298 _ACEOF
34299 rm -f conftest.$ac_objext
34300 if { (ac_try="$ac_compile"
34301 case "(($ac_try" in
34302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34303 *) ac_try_echo=$ac_try;;
34304 esac
34305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34306 (eval "$ac_compile") 2>conftest.er1
34307 ac_status=$?
34308 grep -v '^ *+' conftest.er1 >conftest.err
34309 rm -f conftest.er1
34310 cat conftest.err >&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); } && {
34313 test -z "$ac_c_werror_flag" ||
34314 test ! -s conftest.err
34315 } && test -s conftest.$ac_objext; then
34316 ac_cv_type_pid_t=yes
34317 else
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34320
34321 ac_cv_type_pid_t=no
34322 fi
34323
34324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325 fi
34326 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34327 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34328 if test $ac_cv_type_pid_t = yes; then
34329 :
34330 else
34331
34332 cat >>confdefs.h <<_ACEOF
34333 #define pid_t int
34334 _ACEOF
34335
34336 fi
34337
34338 { echo "$as_me:$LINENO: checking for size_t" >&5
34339 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34340 if test "${ac_cv_type_size_t+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 cat >conftest.$ac_ext <<_ACEOF
34344 /* confdefs.h. */
34345 _ACEOF
34346 cat confdefs.h >>conftest.$ac_ext
34347 cat >>conftest.$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349 $ac_includes_default
34350 typedef size_t ac__type_new_;
34351 int
34352 main ()
34353 {
34354 if ((ac__type_new_ *) 0)
34355 return 0;
34356 if (sizeof (ac__type_new_))
34357 return 0;
34358 ;
34359 return 0;
34360 }
34361 _ACEOF
34362 rm -f conftest.$ac_objext
34363 if { (ac_try="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34366 *) ac_try_echo=$ac_try;;
34367 esac
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34370 ac_status=$?
34371 grep -v '^ *+' conftest.er1 >conftest.err
34372 rm -f conftest.er1
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.$ac_objext; then
34379 ac_cv_type_size_t=yes
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34383
34384 ac_cv_type_size_t=no
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388 fi
34389 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34390 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34391 if test $ac_cv_type_size_t = yes; then
34392 :
34393 else
34394
34395 cat >>confdefs.h <<_ACEOF
34396 #define size_t unsigned int
34397 _ACEOF
34398
34399 fi
34400
34401
34402 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34403 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34404 if test "${ac_cv_type_ssize_t+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34406 else
34407 cat >conftest.$ac_ext <<_ACEOF
34408 /* confdefs.h. */
34409 _ACEOF
34410 cat confdefs.h >>conftest.$ac_ext
34411 cat >>conftest.$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413 $ac_includes_default
34414 typedef ssize_t ac__type_new_;
34415 int
34416 main ()
34417 {
34418 if ((ac__type_new_ *) 0)
34419 return 0;
34420 if (sizeof (ac__type_new_))
34421 return 0;
34422 ;
34423 return 0;
34424 }
34425 _ACEOF
34426 rm -f conftest.$ac_objext
34427 if { (ac_try="$ac_compile"
34428 case "(($ac_try" in
34429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34430 *) ac_try_echo=$ac_try;;
34431 esac
34432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34433 (eval "$ac_compile") 2>conftest.er1
34434 ac_status=$?
34435 grep -v '^ *+' conftest.er1 >conftest.err
34436 rm -f conftest.er1
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } && {
34440 test -z "$ac_c_werror_flag" ||
34441 test ! -s conftest.err
34442 } && test -s conftest.$ac_objext; then
34443 ac_cv_type_ssize_t=yes
34444 else
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34447
34448 ac_cv_type_ssize_t=no
34449 fi
34450
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452 fi
34453 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34454 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34455 if test $ac_cv_type_ssize_t = yes; then
34456
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE_SSIZE_T 1
34459 _ACEOF
34460
34461
34462 fi
34463
34464
34465 ac_ext=cpp
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34471 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34472 if test "${wx_cv_size_t_is_uint+set}" = set; then
34473 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 else
34475
34476 cat >conftest.$ac_ext <<_ACEOF
34477 /* confdefs.h. */
34478 _ACEOF
34479 cat confdefs.h >>conftest.$ac_ext
34480 cat >>conftest.$ac_ext <<_ACEOF
34481 /* end confdefs.h. */
34482 #include <stddef.h>
34483 int
34484 main ()
34485 {
34486
34487 return 0; }
34488
34489 struct Foo { void foo(size_t); void foo(unsigned int); };
34490
34491 int bar() {
34492
34493 ;
34494 return 0;
34495 }
34496 _ACEOF
34497 rm -f conftest.$ac_objext
34498 if { (ac_try="$ac_compile"
34499 case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34501 *) ac_try_echo=$ac_try;;
34502 esac
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_compile") 2>conftest.er1
34505 ac_status=$?
34506 grep -v '^ *+' conftest.er1 >conftest.err
34507 rm -f conftest.er1
34508 cat conftest.err >&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } && {
34511 test -z "$ac_cxx_werror_flag" ||
34512 test ! -s conftest.err
34513 } && test -s conftest.$ac_objext; then
34514 wx_cv_size_t_is_uint=no
34515 else
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 wx_cv_size_t_is_uint=yes
34520
34521 fi
34522
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524
34525
34526 fi
34527 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34528 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34529
34530 if test "$wx_cv_size_t_is_uint" = "yes"; then
34531 cat >>confdefs.h <<\_ACEOF
34532 #define wxSIZE_T_IS_UINT 1
34533 _ACEOF
34534
34535 else
34536 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34537 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34538 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 cat >conftest.$ac_ext <<_ACEOF
34542 /* confdefs.h. */
34543 _ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547 #include <stddef.h>
34548 int
34549 main ()
34550 {
34551
34552 return 0; }
34553
34554 struct Foo { void foo(size_t); void foo(unsigned long); };
34555
34556 int bar() {
34557
34558 ;
34559 return 0;
34560 }
34561 _ACEOF
34562 rm -f conftest.$ac_objext
34563 if { (ac_try="$ac_compile"
34564 case "(($ac_try" in
34565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34566 *) ac_try_echo=$ac_try;;
34567 esac
34568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 (eval "$ac_compile") 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } && {
34576 test -z "$ac_cxx_werror_flag" ||
34577 test ! -s conftest.err
34578 } && test -s conftest.$ac_objext; then
34579 wx_cv_size_t_is_ulong=no
34580 else
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.$ac_ext >&5
34583
34584 wx_cv_size_t_is_ulong=yes
34585
34586 fi
34587
34588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34589
34590 fi
34591 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34592 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34593
34594 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34595 cat >>confdefs.h <<\_ACEOF
34596 #define wxSIZE_T_IS_ULONG 1
34597 _ACEOF
34598
34599 fi
34600 fi
34601
34602 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34603 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34604 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 else
34607 cat >conftest.$ac_ext <<_ACEOF
34608 /* confdefs.h. */
34609 _ACEOF
34610 cat confdefs.h >>conftest.$ac_ext
34611 cat >>conftest.$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34613 #include <wchar.h>
34614 int
34615 main ()
34616 {
34617
34618 return 0; }
34619
34620 struct Foo { void foo(wchar_t);
34621 void foo(unsigned short);
34622 void foo(unsigned int);
34623 void foo(unsigned long); };
34624
34625 int bar() {
34626
34627 ;
34628 return 0;
34629 }
34630 _ACEOF
34631 rm -f conftest.$ac_objext
34632 if { (ac_try="$ac_compile"
34633 case "(($ac_try" in
34634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34635 *) ac_try_echo=$ac_try;;
34636 esac
34637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34638 (eval "$ac_compile") 2>conftest.er1
34639 ac_status=$?
34640 grep -v '^ *+' conftest.er1 >conftest.err
34641 rm -f conftest.er1
34642 cat conftest.err >&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } && {
34645 test -z "$ac_cxx_werror_flag" ||
34646 test ! -s conftest.err
34647 } && test -s conftest.$ac_objext; then
34648 wx_cv_wchar_t_is_separate_type=yes
34649 else
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.$ac_ext >&5
34652
34653 wx_cv_wchar_t_is_separate_type=no
34654
34655 fi
34656
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658
34659 fi
34660 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34661 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34662
34663 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34664 cat >>confdefs.h <<\_ACEOF
34665 #define wxWCHAR_T_IS_REAL_TYPE 1
34666 _ACEOF
34667
34668 else
34669 cat >>confdefs.h <<\_ACEOF
34670 #define wxWCHAR_T_IS_REAL_TYPE 0
34671 _ACEOF
34672
34673 fi
34674
34675 ac_ext=c
34676 ac_cpp='$CPP $CPPFLAGS'
34677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34680
34681
34682 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34683 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34684 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34686 else
34687
34688 cat >conftest.$ac_ext <<_ACEOF
34689 /* confdefs.h. */
34690 _ACEOF
34691 cat confdefs.h >>conftest.$ac_ext
34692 cat >>conftest.$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34694 #include <pwd.h>
34695 int
34696 main ()
34697 {
34698
34699 char *p;
34700 struct passwd *pw;
34701 p = pw->pw_gecos;
34702
34703 ;
34704 return 0;
34705 }
34706 _ACEOF
34707 rm -f conftest.$ac_objext
34708 if { (ac_try="$ac_compile"
34709 case "(($ac_try" in
34710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34711 *) ac_try_echo=$ac_try;;
34712 esac
34713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34714 (eval "$ac_compile") 2>conftest.er1
34715 ac_status=$?
34716 grep -v '^ *+' conftest.er1 >conftest.err
34717 rm -f conftest.er1
34718 cat conftest.err >&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); } && {
34721 test -z "$ac_c_werror_flag" ||
34722 test ! -s conftest.err
34723 } && test -s conftest.$ac_objext; then
34724
34725 wx_cv_struct_pw_gecos=yes
34726
34727 else
34728 echo "$as_me: failed program was:" >&5
34729 sed 's/^/| /' conftest.$ac_ext >&5
34730
34731
34732 wx_cv_struct_pw_gecos=no
34733
34734
34735 fi
34736
34737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34738
34739
34740 fi
34741 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34742 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34743
34744 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34745 cat >>confdefs.h <<\_ACEOF
34746 #define HAVE_PW_GECOS 1
34747 _ACEOF
34748
34749 fi
34750
34751
34752 if test "$wxUSE_WCHAR_T" = "yes"; then
34753 cat >>confdefs.h <<\_ACEOF
34754 #define wxUSE_WCHAR_T 1
34755 _ACEOF
34756
34757
34758 WCSLEN_FOUND=0
34759 WCHAR_LINK=
34760
34761 for ac_func in wcslen
34762 do
34763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 else
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34777 #define $ac_func innocuous_$ac_func
34778
34779 /* System header to define __stub macros and hopefully few prototypes,
34780 which can conflict with char $ac_func (); below.
34781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34782 <limits.h> exists even on freestanding compilers. */
34783
34784 #ifdef __STDC__
34785 # include <limits.h>
34786 #else
34787 # include <assert.h>
34788 #endif
34789
34790 #undef $ac_func
34791
34792 /* Override any GCC internal prototype to avoid an error.
34793 Use char because int might match the return type of a GCC
34794 builtin and then its argument prototype would still apply. */
34795 #ifdef __cplusplus
34796 extern "C"
34797 #endif
34798 char $ac_func ();
34799 /* The GNU C library defines this for functions which it implements
34800 to always fail with ENOSYS. Some functions are actually named
34801 something starting with __ and the normal name is an alias. */
34802 #if defined __stub_$ac_func || defined __stub___$ac_func
34803 choke me
34804 #endif
34805
34806 int
34807 main ()
34808 {
34809 return $ac_func ();
34810 ;
34811 return 0;
34812 }
34813 _ACEOF
34814 rm -f conftest.$ac_objext conftest$ac_exeext
34815 if { (ac_try="$ac_link"
34816 case "(($ac_try" in
34817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34818 *) ac_try_echo=$ac_try;;
34819 esac
34820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34821 (eval "$ac_link") 2>conftest.er1
34822 ac_status=$?
34823 grep -v '^ *+' conftest.er1 >conftest.err
34824 rm -f conftest.er1
34825 cat conftest.err >&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } && {
34828 test -z "$ac_c_werror_flag" ||
34829 test ! -s conftest.err
34830 } && test -s conftest$ac_exeext &&
34831 $as_test_x conftest$ac_exeext; then
34832 eval "$as_ac_var=yes"
34833 else
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34836
34837 eval "$as_ac_var=no"
34838 fi
34839
34840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34841 conftest$ac_exeext conftest.$ac_ext
34842 fi
34843 ac_res=`eval echo '${'$as_ac_var'}'`
34844 { echo "$as_me:$LINENO: result: $ac_res" >&5
34845 echo "${ECHO_T}$ac_res" >&6; }
34846 if test `eval echo '${'$as_ac_var'}'` = yes; then
34847 cat >>confdefs.h <<_ACEOF
34848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34849 _ACEOF
34850 WCSLEN_FOUND=1
34851 fi
34852 done
34853
34854
34855 if test "$WCSLEN_FOUND" = 0; then
34856 if test "$TOOLKIT" = "MSW"; then
34857 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34858 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34859 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34860 echo $ECHO_N "(cached) $ECHO_C" >&6
34861 else
34862 ac_check_lib_save_LIBS=$LIBS
34863 LIBS="-lmsvcrt $LIBS"
34864 cat >conftest.$ac_ext <<_ACEOF
34865 /* confdefs.h. */
34866 _ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34870
34871 /* Override any GCC internal prototype to avoid an error.
34872 Use char because int might match the return type of a GCC
34873 builtin and then its argument prototype would still apply. */
34874 #ifdef __cplusplus
34875 extern "C"
34876 #endif
34877 char wcslen ();
34878 int
34879 main ()
34880 {
34881 return wcslen ();
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext conftest$ac_exeext
34887 if { (ac_try="$ac_link"
34888 case "(($ac_try" in
34889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34890 *) ac_try_echo=$ac_try;;
34891 esac
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_link") 2>conftest.er1
34894 ac_status=$?
34895 grep -v '^ *+' conftest.er1 >conftest.err
34896 rm -f conftest.er1
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest$ac_exeext &&
34903 $as_test_x conftest$ac_exeext; then
34904 ac_cv_lib_msvcrt_wcslen=yes
34905 else
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34908
34909 ac_cv_lib_msvcrt_wcslen=no
34910 fi
34911
34912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34913 conftest$ac_exeext conftest.$ac_ext
34914 LIBS=$ac_check_lib_save_LIBS
34915 fi
34916 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34917 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34918 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34919 WCHAR_OK=1
34920 fi
34921
34922 else
34923 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34924 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34925 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34927 else
34928 ac_check_lib_save_LIBS=$LIBS
34929 LIBS="-lw $LIBS"
34930 cat >conftest.$ac_ext <<_ACEOF
34931 /* confdefs.h. */
34932 _ACEOF
34933 cat confdefs.h >>conftest.$ac_ext
34934 cat >>conftest.$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34936
34937 /* Override any GCC internal prototype to avoid an error.
34938 Use char because int might match the return type of a GCC
34939 builtin and then its argument prototype would still apply. */
34940 #ifdef __cplusplus
34941 extern "C"
34942 #endif
34943 char wcslen ();
34944 int
34945 main ()
34946 {
34947 return wcslen ();
34948 ;
34949 return 0;
34950 }
34951 _ACEOF
34952 rm -f conftest.$ac_objext conftest$ac_exeext
34953 if { (ac_try="$ac_link"
34954 case "(($ac_try" in
34955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34956 *) ac_try_echo=$ac_try;;
34957 esac
34958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34959 (eval "$ac_link") 2>conftest.er1
34960 ac_status=$?
34961 grep -v '^ *+' conftest.er1 >conftest.err
34962 rm -f conftest.er1
34963 cat conftest.err >&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } && {
34966 test -z "$ac_c_werror_flag" ||
34967 test ! -s conftest.err
34968 } && test -s conftest$ac_exeext &&
34969 $as_test_x conftest$ac_exeext; then
34970 ac_cv_lib_w_wcslen=yes
34971 else
34972 echo "$as_me: failed program was:" >&5
34973 sed 's/^/| /' conftest.$ac_ext >&5
34974
34975 ac_cv_lib_w_wcslen=no
34976 fi
34977
34978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34979 conftest$ac_exeext conftest.$ac_ext
34980 LIBS=$ac_check_lib_save_LIBS
34981 fi
34982 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34983 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34984 if test $ac_cv_lib_w_wcslen = yes; then
34985
34986 WCHAR_LINK=" -lw"
34987 WCSLEN_FOUND=1
34988
34989 fi
34990
34991 fi
34992 fi
34993
34994 if test "$WCSLEN_FOUND" = 1; then
34995 cat >>confdefs.h <<\_ACEOF
34996 #define HAVE_WCSLEN 1
34997 _ACEOF
34998
34999 fi
35000
35001
35002 for ac_func in wcsdup
35003 do
35004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35008 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 else
35010 cat >conftest.$ac_ext <<_ACEOF
35011 /* confdefs.h. */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35018 #define $ac_func innocuous_$ac_func
35019
35020 /* System header to define __stub macros and hopefully few prototypes,
35021 which can conflict with char $ac_func (); below.
35022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35023 <limits.h> exists even on freestanding compilers. */
35024
35025 #ifdef __STDC__
35026 # include <limits.h>
35027 #else
35028 # include <assert.h>
35029 #endif
35030
35031 #undef $ac_func
35032
35033 /* Override any GCC internal prototype to avoid an error.
35034 Use char because int might match the return type of a GCC
35035 builtin and then its argument prototype would still apply. */
35036 #ifdef __cplusplus
35037 extern "C"
35038 #endif
35039 char $ac_func ();
35040 /* The GNU C library defines this for functions which it implements
35041 to always fail with ENOSYS. Some functions are actually named
35042 something starting with __ and the normal name is an alias. */
35043 #if defined __stub_$ac_func || defined __stub___$ac_func
35044 choke me
35045 #endif
35046
35047 int
35048 main ()
35049 {
35050 return $ac_func ();
35051 ;
35052 return 0;
35053 }
35054 _ACEOF
35055 rm -f conftest.$ac_objext conftest$ac_exeext
35056 if { (ac_try="$ac_link"
35057 case "(($ac_try" in
35058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35059 *) ac_try_echo=$ac_try;;
35060 esac
35061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35062 (eval "$ac_link") 2>conftest.er1
35063 ac_status=$?
35064 grep -v '^ *+' conftest.er1 >conftest.err
35065 rm -f conftest.er1
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } && {
35069 test -z "$ac_c_werror_flag" ||
35070 test ! -s conftest.err
35071 } && test -s conftest$ac_exeext &&
35072 $as_test_x conftest$ac_exeext; then
35073 eval "$as_ac_var=yes"
35074 else
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35077
35078 eval "$as_ac_var=no"
35079 fi
35080
35081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35082 conftest$ac_exeext conftest.$ac_ext
35083 fi
35084 ac_res=`eval echo '${'$as_ac_var'}'`
35085 { echo "$as_me:$LINENO: result: $ac_res" >&5
35086 echo "${ECHO_T}$ac_res" >&6; }
35087 if test `eval echo '${'$as_ac_var'}'` = yes; then
35088 cat >>confdefs.h <<_ACEOF
35089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35090 _ACEOF
35091
35092 fi
35093 done
35094
35095
35096 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35097 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35098 fi
35099
35100 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35101 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35102 if test "${ac_cv_type_mbstate_t+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105 cat >conftest.$ac_ext <<_ACEOF
35106 /* confdefs.h. */
35107 _ACEOF
35108 cat confdefs.h >>conftest.$ac_ext
35109 cat >>conftest.$ac_ext <<_ACEOF
35110 /* end confdefs.h. */
35111 #include <wchar.h>
35112
35113 typedef mbstate_t ac__type_new_;
35114 int
35115 main ()
35116 {
35117 if ((ac__type_new_ *) 0)
35118 return 0;
35119 if (sizeof (ac__type_new_))
35120 return 0;
35121 ;
35122 return 0;
35123 }
35124 _ACEOF
35125 rm -f conftest.$ac_objext
35126 if { (ac_try="$ac_compile"
35127 case "(($ac_try" in
35128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35129 *) ac_try_echo=$ac_try;;
35130 esac
35131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35132 (eval "$ac_compile") 2>conftest.er1
35133 ac_status=$?
35134 grep -v '^ *+' conftest.er1 >conftest.err
35135 rm -f conftest.er1
35136 cat conftest.err >&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); } && {
35139 test -z "$ac_c_werror_flag" ||
35140 test ! -s conftest.err
35141 } && test -s conftest.$ac_objext; then
35142 ac_cv_type_mbstate_t=yes
35143 else
35144 echo "$as_me: failed program was:" >&5
35145 sed 's/^/| /' conftest.$ac_ext >&5
35146
35147 ac_cv_type_mbstate_t=no
35148 fi
35149
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 fi
35152 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35153 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35154 if test $ac_cv_type_mbstate_t = yes; then
35155
35156 cat >>confdefs.h <<_ACEOF
35157 #define HAVE_MBSTATE_T 1
35158 _ACEOF
35159
35160
35161 for ac_func in wcsrtombs
35162 do
35163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35166 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35177 #define $ac_func innocuous_$ac_func
35178
35179 /* System header to define __stub macros and hopefully few prototypes,
35180 which can conflict with char $ac_func (); below.
35181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35182 <limits.h> exists even on freestanding compilers. */
35183
35184 #ifdef __STDC__
35185 # include <limits.h>
35186 #else
35187 # include <assert.h>
35188 #endif
35189
35190 #undef $ac_func
35191
35192 /* Override any GCC internal prototype to avoid an error.
35193 Use char because int might match the return type of a GCC
35194 builtin and then its argument prototype would still apply. */
35195 #ifdef __cplusplus
35196 extern "C"
35197 #endif
35198 char $ac_func ();
35199 /* The GNU C library defines this for functions which it implements
35200 to always fail with ENOSYS. Some functions are actually named
35201 something starting with __ and the normal name is an alias. */
35202 #if defined __stub_$ac_func || defined __stub___$ac_func
35203 choke me
35204 #endif
35205
35206 int
35207 main ()
35208 {
35209 return $ac_func ();
35210 ;
35211 return 0;
35212 }
35213 _ACEOF
35214 rm -f conftest.$ac_objext conftest$ac_exeext
35215 if { (ac_try="$ac_link"
35216 case "(($ac_try" in
35217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35219 esac
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_link") 2>conftest.er1
35222 ac_status=$?
35223 grep -v '^ *+' conftest.er1 >conftest.err
35224 rm -f conftest.er1
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest$ac_exeext &&
35231 $as_test_x conftest$ac_exeext; then
35232 eval "$as_ac_var=yes"
35233 else
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 eval "$as_ac_var=no"
35238 fi
35239
35240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35241 conftest$ac_exeext conftest.$ac_ext
35242 fi
35243 ac_res=`eval echo '${'$as_ac_var'}'`
35244 { echo "$as_me:$LINENO: result: $ac_res" >&5
35245 echo "${ECHO_T}$ac_res" >&6; }
35246 if test `eval echo '${'$as_ac_var'}'` = yes; then
35247 cat >>confdefs.h <<_ACEOF
35248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35249 _ACEOF
35250
35251 fi
35252 done
35253
35254 fi
35255
35256 else
35257 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35258 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35259 fi
35260
35261
35262
35263
35264 for ac_func in snprintf vsnprintf vsscanf
35265 do
35266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35270 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 else
35272 cat >conftest.$ac_ext <<_ACEOF
35273 /* confdefs.h. */
35274 _ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35280 #define $ac_func innocuous_$ac_func
35281
35282 /* System header to define __stub macros and hopefully few prototypes,
35283 which can conflict with char $ac_func (); below.
35284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35285 <limits.h> exists even on freestanding compilers. */
35286
35287 #ifdef __STDC__
35288 # include <limits.h>
35289 #else
35290 # include <assert.h>
35291 #endif
35292
35293 #undef $ac_func
35294
35295 /* Override any GCC internal prototype to avoid an error.
35296 Use char because int might match the return type of a GCC
35297 builtin and then its argument prototype would still apply. */
35298 #ifdef __cplusplus
35299 extern "C"
35300 #endif
35301 char $ac_func ();
35302 /* The GNU C library defines this for functions which it implements
35303 to always fail with ENOSYS. Some functions are actually named
35304 something starting with __ and the normal name is an alias. */
35305 #if defined __stub_$ac_func || defined __stub___$ac_func
35306 choke me
35307 #endif
35308
35309 int
35310 main ()
35311 {
35312 return $ac_func ();
35313 ;
35314 return 0;
35315 }
35316 _ACEOF
35317 rm -f conftest.$ac_objext conftest$ac_exeext
35318 if { (ac_try="$ac_link"
35319 case "(($ac_try" in
35320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35321 *) ac_try_echo=$ac_try;;
35322 esac
35323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35324 (eval "$ac_link") 2>conftest.er1
35325 ac_status=$?
35326 grep -v '^ *+' conftest.er1 >conftest.err
35327 rm -f conftest.er1
35328 cat conftest.err >&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); } && {
35331 test -z "$ac_c_werror_flag" ||
35332 test ! -s conftest.err
35333 } && test -s conftest$ac_exeext &&
35334 $as_test_x conftest$ac_exeext; then
35335 eval "$as_ac_var=yes"
35336 else
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.$ac_ext >&5
35339
35340 eval "$as_ac_var=no"
35341 fi
35342
35343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35344 conftest$ac_exeext conftest.$ac_ext
35345 fi
35346 ac_res=`eval echo '${'$as_ac_var'}'`
35347 { echo "$as_me:$LINENO: result: $ac_res" >&5
35348 echo "${ECHO_T}$ac_res" >&6; }
35349 if test `eval echo '${'$as_ac_var'}'` = yes; then
35350 cat >>confdefs.h <<_ACEOF
35351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35352 _ACEOF
35353
35354 fi
35355 done
35356
35357
35358 ac_ext=cpp
35359 ac_cpp='$CXXCPP $CPPFLAGS'
35360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35363
35364 if test "$ac_cv_func_vsnprintf" = "yes"; then
35365 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35366 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35367 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 else
35370
35371 cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h. */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35377
35378 #include <stdio.h>
35379 #include <stdarg.h>
35380 #ifdef __MSL__
35381 #if __MSL__ >= 0x6000
35382 namespace std {}
35383 using namespace std;
35384 #endif
35385 #endif
35386
35387 int
35388 main ()
35389 {
35390
35391 char *buf;
35392 va_list ap;
35393 vsnprintf(buf, 10u, "%s", ap);
35394
35395 ;
35396 return 0;
35397 }
35398 _ACEOF
35399 rm -f conftest.$ac_objext
35400 if { (ac_try="$ac_compile"
35401 case "(($ac_try" in
35402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35403 *) ac_try_echo=$ac_try;;
35404 esac
35405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35406 (eval "$ac_compile") 2>conftest.er1
35407 ac_status=$?
35408 grep -v '^ *+' conftest.er1 >conftest.err
35409 rm -f conftest.er1
35410 cat conftest.err >&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } && {
35413 test -z "$ac_cxx_werror_flag" ||
35414 test ! -s conftest.err
35415 } && test -s conftest.$ac_objext; then
35416 wx_cv_func_vsnprintf_decl=yes
35417 else
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.$ac_ext >&5
35420
35421 wx_cv_func_vsnprintf_decl=no
35422
35423 fi
35424
35425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35426
35427
35428 fi
35429 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35430 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35431
35432 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35433 cat >>confdefs.h <<\_ACEOF
35434 #define HAVE_VSNPRINTF_DECL 1
35435 _ACEOF
35436
35437
35438 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35439 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35440 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 else
35443
35444 cat >conftest.$ac_ext <<_ACEOF
35445 /* confdefs.h. */
35446 _ACEOF
35447 cat confdefs.h >>conftest.$ac_ext
35448 cat >>conftest.$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35450
35451 #include <stdio.h>
35452 #include <stdarg.h>
35453 #ifdef __MSL__
35454 #if __MSL__ >= 0x6000
35455 namespace std {}
35456 using namespace std;
35457 #endif
35458 #endif
35459
35460 int
35461 main ()
35462 {
35463
35464 char *buf;
35465 va_list ap;
35466 const char *fmt = "%s";
35467 vsnprintf(buf, 10u, fmt, ap);
35468
35469 ;
35470 return 0;
35471 }
35472 _ACEOF
35473 rm -f conftest.$ac_objext
35474 if { (ac_try="$ac_compile"
35475 case "(($ac_try" in
35476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35477 *) ac_try_echo=$ac_try;;
35478 esac
35479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35480 (eval "$ac_compile") 2>conftest.er1
35481 ac_status=$?
35482 grep -v '^ *+' conftest.er1 >conftest.err
35483 rm -f conftest.er1
35484 cat conftest.err >&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } && {
35487 test -z "$ac_cxx_werror_flag" ||
35488 test ! -s conftest.err
35489 } && test -s conftest.$ac_objext; then
35490 wx_cv_func_broken_vsnprintf_decl=no
35491 else
35492 echo "$as_me: failed program was:" >&5
35493 sed 's/^/| /' conftest.$ac_ext >&5
35494
35495 wx_cv_func_broken_vsnprintf_decl=yes
35496
35497 fi
35498
35499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35500
35501
35502 fi
35503 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35504 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35505
35506 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35507 cat >>confdefs.h <<\_ACEOF
35508 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35509 _ACEOF
35510
35511 fi
35512 fi
35513 fi
35514
35515 if test "$ac_cv_func_snprintf" = "yes"; then
35516 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35517 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35518 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 else
35521
35522 cat >conftest.$ac_ext <<_ACEOF
35523 /* confdefs.h. */
35524 _ACEOF
35525 cat confdefs.h >>conftest.$ac_ext
35526 cat >>conftest.$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35528
35529 #include <stdio.h>
35530 #include <stdarg.h>
35531 #ifdef __MSL__
35532 #if __MSL__ >= 0x6000
35533 namespace std {}
35534 using namespace std;
35535 #endif
35536 #endif
35537
35538 int
35539 main ()
35540 {
35541
35542 char *buf;
35543 snprintf(buf, 10u, "%s", "wx");
35544
35545 ;
35546 return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (ac_try="$ac_compile"
35551 case "(($ac_try" in
35552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35554 esac
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_compile") 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_cxx_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest.$ac_objext; then
35566 wx_cv_func_snprintf_decl=yes
35567 else
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35570
35571 wx_cv_func_snprintf_decl=no
35572
35573 fi
35574
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576
35577
35578 fi
35579 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35580 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35581
35582 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35583 cat >>confdefs.h <<\_ACEOF
35584 #define HAVE_SNPRINTF_DECL 1
35585 _ACEOF
35586
35587 fi
35588
35589 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35590
35591 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35592 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35593 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35594 echo $ECHO_N "(cached) $ECHO_C" >&6
35595 else
35596
35597 if test "$cross_compiling" = yes; then
35598
35599 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35600 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35601 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35602 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35603 wx_cv_func_snprintf_pos_params=no
35604
35605
35606 else
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h. */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613
35614 #include <stdio.h>
35615
35616 int main (void)
35617 {
35618 char buffer[128];
35619 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35620 if (strcmp ("2 3 1", buffer) == 0)
35621 exit (0);
35622 exit (1);
35623 }
35624
35625 _ACEOF
35626 rm -f conftest$ac_exeext
35627 if { (ac_try="$ac_link"
35628 case "(($ac_try" in
35629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35630 *) ac_try_echo=$ac_try;;
35631 esac
35632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35633 (eval "$ac_link") 2>&5
35634 ac_status=$?
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35637 { (case "(($ac_try" in
35638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35639 *) ac_try_echo=$ac_try;;
35640 esac
35641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35642 (eval "$ac_try") 2>&5
35643 ac_status=$?
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; }; then
35646 wx_cv_func_snprintf_pos_params=no
35647 else
35648 echo "$as_me: program exited with status $ac_status" >&5
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35651
35652 ( exit $ac_status )
35653 wx_cv_func_snprintf_pos_params=yes
35654 fi
35655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35656 fi
35657
35658
35659
35660
35661 fi
35662 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35663 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35664
35665 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35666 cat >>confdefs.h <<\_ACEOF
35667 #define HAVE_UNIX98_PRINTF 1
35668 _ACEOF
35669
35670 fi
35671 fi
35672 fi
35673
35674 if test "$ac_cv_func_vsscanf" = "yes"; then
35675 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35676 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35677 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35678 echo $ECHO_N "(cached) $ECHO_C" >&6
35679 else
35680
35681 cat >conftest.$ac_ext <<_ACEOF
35682 /* confdefs.h. */
35683 _ACEOF
35684 cat confdefs.h >>conftest.$ac_ext
35685 cat >>conftest.$ac_ext <<_ACEOF
35686 /* end confdefs.h. */
35687
35688 #include <stdio.h>
35689 #include <stdarg.h>
35690 #ifdef __MSL__
35691 #if __MSL__ >= 0x6000
35692 namespace std {}
35693 using namespace std;
35694 #endif
35695 #endif
35696
35697 int
35698 main ()
35699 {
35700
35701 char *buf;
35702 va_list args;
35703 vsscanf(buf, "%s", args);
35704
35705 ;
35706 return 0;
35707 }
35708 _ACEOF
35709 rm -f conftest.$ac_objext
35710 if { (ac_try="$ac_compile"
35711 case "(($ac_try" in
35712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35713 *) ac_try_echo=$ac_try;;
35714 esac
35715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35716 (eval "$ac_compile") 2>conftest.er1
35717 ac_status=$?
35718 grep -v '^ *+' conftest.er1 >conftest.err
35719 rm -f conftest.er1
35720 cat conftest.err >&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } && {
35723 test -z "$ac_cxx_werror_flag" ||
35724 test ! -s conftest.err
35725 } && test -s conftest.$ac_objext; then
35726 wx_cv_func_vsscanf_decl=yes
35727 else
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731 wx_cv_func_vsscanf_decl=no
35732
35733 fi
35734
35735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35736
35737
35738 fi
35739 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35740 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35741
35742 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35743 cat >>confdefs.h <<\_ACEOF
35744 #define HAVE_VSSCANF_DECL 1
35745 _ACEOF
35746
35747 fi
35748 fi
35749 ac_ext=c
35750 ac_cpp='$CPP $CPPFLAGS'
35751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754
35755
35756 if test "$wxUSE_UNICODE" = yes; then
35757
35758 wchar_headers="#include <stdio.h>
35759 #include <wchar.h>"
35760 case "${host}" in
35761 *-*-solaris2* )
35762
35763 for ac_header in widec.h
35764 do
35765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35766 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35769 echo $ECHO_N "(cached) $ECHO_C" >&6
35770 else
35771 cat >conftest.$ac_ext <<_ACEOF
35772 /* confdefs.h. */
35773 _ACEOF
35774 cat confdefs.h >>conftest.$ac_ext
35775 cat >>conftest.$ac_ext <<_ACEOF
35776 /* end confdefs.h. */
35777 $ac_includes_default
35778
35779 #include <$ac_header>
35780 _ACEOF
35781 rm -f conftest.$ac_objext
35782 if { (ac_try="$ac_compile"
35783 case "(($ac_try" in
35784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35785 *) ac_try_echo=$ac_try;;
35786 esac
35787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35788 (eval "$ac_compile") 2>conftest.er1
35789 ac_status=$?
35790 grep -v '^ *+' conftest.er1 >conftest.err
35791 rm -f conftest.er1
35792 cat conftest.err >&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } && {
35795 test -z "$ac_c_werror_flag" ||
35796 test ! -s conftest.err
35797 } && test -s conftest.$ac_objext; then
35798 eval "$as_ac_Header=yes"
35799 else
35800 echo "$as_me: failed program was:" >&5
35801 sed 's/^/| /' conftest.$ac_ext >&5
35802
35803 eval "$as_ac_Header=no"
35804 fi
35805
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807 fi
35808 ac_res=`eval echo '${'$as_ac_Header'}'`
35809 { echo "$as_me:$LINENO: result: $ac_res" >&5
35810 echo "${ECHO_T}$ac_res" >&6; }
35811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35812 cat >>confdefs.h <<_ACEOF
35813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35814 _ACEOF
35815
35816 fi
35817
35818 done
35819
35820 if test "$ac_cv_header_widec_h" = "yes"; then
35821 wchar_headers="$wchar_headers
35822 #include <widec.h>"
35823 fi
35824 esac
35825
35826
35827 for wx_func in putws fputws wprintf vswprintf vswscanf
35828 do
35829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35833 else
35834
35835 cat >conftest.$ac_ext <<_ACEOF
35836
35837 /* confdefs.h. */
35838 _ACEOF
35839 cat confdefs.h >>conftest.$ac_ext
35840 cat >>conftest.$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35842
35843 $wchar_headers
35844 $ac_includes_default
35845
35846 int
35847 main ()
35848 {
35849
35850 #ifndef $wx_func
35851 &$wx_func;
35852 #endif
35853
35854
35855 ;
35856 return 0;
35857 }
35858
35859 _ACEOF
35860 rm -f conftest.$ac_objext conftest$ac_exeext
35861 if { (ac_try="$ac_link"
35862 case "(($ac_try" in
35863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35864 *) ac_try_echo=$ac_try;;
35865 esac
35866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35867 (eval "$ac_link") 2>conftest.er1
35868 ac_status=$?
35869 grep -v '^ *+' conftest.er1 >conftest.err
35870 rm -f conftest.er1
35871 cat conftest.err >&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } && {
35874 test -z "$ac_c_werror_flag" ||
35875 test ! -s conftest.err
35876 } && test -s conftest$ac_exeext &&
35877 $as_test_x conftest$ac_exeext; then
35878 eval wx_cv_func_$wx_func=yes
35879 else
35880 echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.$ac_ext >&5
35882
35883 eval wx_cv_func_$wx_func=no
35884 fi
35885
35886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35887 conftest$ac_exeext conftest.$ac_ext
35888
35889 fi
35890 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35891 { echo "$as_me:$LINENO: result: $ac_res" >&5
35892 echo "${ECHO_T}$ac_res" >&6; }
35893
35894 if eval test \$wx_cv_func_$wx_func = yes
35895 then
35896 cat >>confdefs.h <<_ACEOF
35897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35898 _ACEOF
35899
35900
35901 else
35902 :
35903
35904 fi
35905 done
35906
35907
35908 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35909 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35910 cat >conftest.$ac_ext <<_ACEOF
35911 /* confdefs.h. */
35912 _ACEOF
35913 cat confdefs.h >>conftest.$ac_ext
35914 cat >>conftest.$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35916 #include <wchar.h>
35917 int
35918 main ()
35919 {
35920 &_vsnwprintf;
35921 ;
35922 return 0;
35923 }
35924 _ACEOF
35925 rm -f conftest.$ac_objext
35926 if { (ac_try="$ac_compile"
35927 case "(($ac_try" in
35928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35929 *) ac_try_echo=$ac_try;;
35930 esac
35931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35932 (eval "$ac_compile") 2>conftest.er1
35933 ac_status=$?
35934 grep -v '^ *+' conftest.er1 >conftest.err
35935 rm -f conftest.er1
35936 cat conftest.err >&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } && {
35939 test -z "$ac_c_werror_flag" ||
35940 test ! -s conftest.err
35941 } && test -s conftest.$ac_objext; then
35942 { echo "$as_me:$LINENO: result: yes" >&5
35943 echo "${ECHO_T}yes" >&6; }
35944 cat >>confdefs.h <<\_ACEOF
35945 #define HAVE__VSNWPRINTF 1
35946 _ACEOF
35947
35948 else
35949 echo "$as_me: failed program was:" >&5
35950 sed 's/^/| /' conftest.$ac_ext >&5
35951
35952 { echo "$as_me:$LINENO: result: no" >&5
35953 echo "${ECHO_T}no" >&6; }
35954 fi
35955
35956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35957 fi
35958
35959 if test "$wxUSE_FILE" = "yes"; then
35960
35961 for wx_func in fsync
35962 do
35963 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35964 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35965 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 else
35968
35969 cat >conftest.$ac_ext <<_ACEOF
35970
35971 /* confdefs.h. */
35972 _ACEOF
35973 cat confdefs.h >>conftest.$ac_ext
35974 cat >>conftest.$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35976
35977
35978 $ac_includes_default
35979
35980 int
35981 main ()
35982 {
35983
35984 #ifndef $wx_func
35985 &$wx_func;
35986 #endif
35987
35988
35989 ;
35990 return 0;
35991 }
35992
35993 _ACEOF
35994 rm -f conftest.$ac_objext conftest$ac_exeext
35995 if { (ac_try="$ac_link"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35998 *) ac_try_echo=$ac_try;;
35999 esac
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_link") 2>conftest.er1
36002 ac_status=$?
36003 grep -v '^ *+' conftest.er1 >conftest.err
36004 rm -f conftest.er1
36005 cat conftest.err >&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_c_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest$ac_exeext &&
36011 $as_test_x conftest$ac_exeext; then
36012 eval wx_cv_func_$wx_func=yes
36013 else
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017 eval wx_cv_func_$wx_func=no
36018 fi
36019
36020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36021 conftest$ac_exeext conftest.$ac_ext
36022
36023 fi
36024 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36025 { echo "$as_me:$LINENO: result: $ac_res" >&5
36026 echo "${ECHO_T}$ac_res" >&6; }
36027
36028 if eval test \$wx_cv_func_$wx_func = yes
36029 then
36030 cat >>confdefs.h <<_ACEOF
36031 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36032 _ACEOF
36033
36034
36035 else
36036 :
36037
36038 fi
36039 done
36040
36041 fi
36042
36043 ac_ext=cpp
36044 ac_cpp='$CXXCPP $CPPFLAGS'
36045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048
36049
36050 for wx_func in round
36051 do
36052 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36053 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36054 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 else
36057
36058 cat >conftest.$ac_ext <<_ACEOF
36059
36060 /* confdefs.h. */
36061 _ACEOF
36062 cat confdefs.h >>conftest.$ac_ext
36063 cat >>conftest.$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36065
36066 #include <math.h>
36067 $ac_includes_default
36068
36069 int
36070 main ()
36071 {
36072
36073 #ifndef $wx_func
36074 &$wx_func;
36075 #endif
36076
36077
36078 ;
36079 return 0;
36080 }
36081
36082 _ACEOF
36083 rm -f conftest.$ac_objext conftest$ac_exeext
36084 if { (ac_try="$ac_link"
36085 case "(($ac_try" in
36086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36087 *) ac_try_echo=$ac_try;;
36088 esac
36089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36090 (eval "$ac_link") 2>conftest.er1
36091 ac_status=$?
36092 grep -v '^ *+' conftest.er1 >conftest.err
36093 rm -f conftest.er1
36094 cat conftest.err >&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } && {
36097 test -z "$ac_cxx_werror_flag" ||
36098 test ! -s conftest.err
36099 } && test -s conftest$ac_exeext &&
36100 $as_test_x conftest$ac_exeext; then
36101 eval wx_cv_func_$wx_func=yes
36102 else
36103 echo "$as_me: failed program was:" >&5
36104 sed 's/^/| /' conftest.$ac_ext >&5
36105
36106 eval wx_cv_func_$wx_func=no
36107 fi
36108
36109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36110 conftest$ac_exeext conftest.$ac_ext
36111
36112 fi
36113 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36114 { echo "$as_me:$LINENO: result: $ac_res" >&5
36115 echo "${ECHO_T}$ac_res" >&6; }
36116
36117 if eval test \$wx_cv_func_$wx_func = yes
36118 then
36119 cat >>confdefs.h <<_ACEOF
36120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36121 _ACEOF
36122
36123
36124 else
36125 :
36126
36127 fi
36128 done
36129
36130 ac_ext=c
36131 ac_cpp='$CPP $CPPFLAGS'
36132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36135
36136
36137 if test "$TOOLKIT" != "MSW"; then
36138
36139 if test "$wxUSE_LIBICONV" != "no" ; then
36140
36141
36142
36143 # Check whether --with-libiconv-prefix was given.
36144 if test "${with_libiconv_prefix+set}" = set; then
36145 withval=$with_libiconv_prefix;
36146 for dir in `echo "$withval" | tr : ' '`; do
36147 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36148 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36149 done
36150
36151 fi
36152
36153
36154 { echo "$as_me:$LINENO: checking for iconv" >&5
36155 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36156 if test "${am_cv_func_iconv+set}" = set; then
36157 echo $ECHO_N "(cached) $ECHO_C" >&6
36158 else
36159
36160 am_cv_func_iconv="no, consider installing GNU libiconv"
36161 am_cv_lib_iconv=no
36162 cat >conftest.$ac_ext <<_ACEOF
36163 /* confdefs.h. */
36164 _ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <stdlib.h>
36169 #include <iconv.h>
36170 int
36171 main ()
36172 {
36173 iconv_t cd = iconv_open("","");
36174 iconv(cd,NULL,NULL,NULL,NULL);
36175 iconv_close(cd);
36176 ;
36177 return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (ac_try="$ac_link"
36182 case "(($ac_try" in
36183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36184 *) ac_try_echo=$ac_try;;
36185 esac
36186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36187 (eval "$ac_link") 2>conftest.er1
36188 ac_status=$?
36189 grep -v '^ *+' conftest.er1 >conftest.err
36190 rm -f conftest.er1
36191 cat conftest.err >&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } && {
36194 test -z "$ac_c_werror_flag" ||
36195 test ! -s conftest.err
36196 } && test -s conftest$ac_exeext &&
36197 $as_test_x conftest$ac_exeext; then
36198 am_cv_func_iconv=yes
36199 else
36200 echo "$as_me: failed program was:" >&5
36201 sed 's/^/| /' conftest.$ac_ext >&5
36202
36203
36204 fi
36205
36206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36207 conftest$ac_exeext conftest.$ac_ext
36208 if test "$am_cv_func_iconv" != yes; then
36209 am_save_LIBS="$LIBS"
36210 LIBS="$LIBS -liconv"
36211 cat >conftest.$ac_ext <<_ACEOF
36212 /* confdefs.h. */
36213 _ACEOF
36214 cat confdefs.h >>conftest.$ac_ext
36215 cat >>conftest.$ac_ext <<_ACEOF
36216 /* end confdefs.h. */
36217 #include <stdlib.h>
36218 #include <iconv.h>
36219 int
36220 main ()
36221 {
36222 iconv_t cd = iconv_open("","");
36223 iconv(cd,NULL,NULL,NULL,NULL);
36224 iconv_close(cd);
36225 ;
36226 return 0;
36227 }
36228 _ACEOF
36229 rm -f conftest.$ac_objext conftest$ac_exeext
36230 if { (ac_try="$ac_link"
36231 case "(($ac_try" in
36232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36233 *) ac_try_echo=$ac_try;;
36234 esac
36235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36236 (eval "$ac_link") 2>conftest.er1
36237 ac_status=$?
36238 grep -v '^ *+' conftest.er1 >conftest.err
36239 rm -f conftest.er1
36240 cat conftest.err >&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } && {
36243 test -z "$ac_c_werror_flag" ||
36244 test ! -s conftest.err
36245 } && test -s conftest$ac_exeext &&
36246 $as_test_x conftest$ac_exeext; then
36247 am_cv_lib_iconv=yes
36248 am_cv_func_iconv=yes
36249 else
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.$ac_ext >&5
36252
36253
36254 fi
36255
36256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36257 conftest$ac_exeext conftest.$ac_ext
36258 LIBS="$am_save_LIBS"
36259 fi
36260
36261 fi
36262 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36263 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36264 if test "$am_cv_func_iconv" = yes; then
36265
36266 cat >>confdefs.h <<\_ACEOF
36267 #define HAVE_ICONV 1
36268 _ACEOF
36269
36270 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36271 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36272 if test "${wx_cv_func_iconv_const+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36274 else
36275 cat >conftest.$ac_ext <<_ACEOF
36276 /* confdefs.h. */
36277 _ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281
36282 #include <stdlib.h>
36283 #include <iconv.h>
36284 extern
36285 #ifdef __cplusplus
36286 "C"
36287 #endif
36288 #if defined(__STDC__) || defined(__cplusplus)
36289 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36290 #else
36291 size_t iconv();
36292 #endif
36293
36294 int
36295 main ()
36296 {
36297
36298 ;
36299 return 0;
36300 }
36301 _ACEOF
36302 rm -f conftest.$ac_objext
36303 if { (ac_try="$ac_compile"
36304 case "(($ac_try" in
36305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36306 *) ac_try_echo=$ac_try;;
36307 esac
36308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36309 (eval "$ac_compile") 2>conftest.er1
36310 ac_status=$?
36311 grep -v '^ *+' conftest.er1 >conftest.err
36312 rm -f conftest.er1
36313 cat conftest.err >&5
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); } && {
36316 test -z "$ac_c_werror_flag" ||
36317 test ! -s conftest.err
36318 } && test -s conftest.$ac_objext; then
36319 wx_cv_func_iconv_const="no"
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 wx_cv_func_iconv_const="yes"
36325
36326 fi
36327
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329
36330 fi
36331 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36332 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36333
36334 iconv_const=
36335 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36336 iconv_const="const"
36337 fi
36338
36339
36340 cat >>confdefs.h <<_ACEOF
36341 #define ICONV_CONST $iconv_const
36342 _ACEOF
36343
36344 fi
36345 LIBICONV=
36346 if test "$am_cv_lib_iconv" = yes; then
36347 LIBICONV="-liconv"
36348 fi
36349
36350
36351 LIBS="$LIBICONV $LIBS"
36352 fi
36353
36354 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36355
36356 for ac_func in sigaction
36357 do
36358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36363 else
36364 cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h. */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36373
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36378
36379 #ifdef __STDC__
36380 # include <limits.h>
36381 #else
36382 # include <assert.h>
36383 #endif
36384
36385 #undef $ac_func
36386
36387 /* Override any GCC internal prototype to avoid an error.
36388 Use char because int might match the return type of a GCC
36389 builtin and then its argument prototype would still apply. */
36390 #ifdef __cplusplus
36391 extern "C"
36392 #endif
36393 char $ac_func ();
36394 /* The GNU C library defines this for functions which it implements
36395 to always fail with ENOSYS. Some functions are actually named
36396 something starting with __ and the normal name is an alias. */
36397 #if defined __stub_$ac_func || defined __stub___$ac_func
36398 choke me
36399 #endif
36400
36401 int
36402 main ()
36403 {
36404 return $ac_func ();
36405 ;
36406 return 0;
36407 }
36408 _ACEOF
36409 rm -f conftest.$ac_objext conftest$ac_exeext
36410 if { (ac_try="$ac_link"
36411 case "(($ac_try" in
36412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36413 *) ac_try_echo=$ac_try;;
36414 esac
36415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36416 (eval "$ac_link") 2>conftest.er1
36417 ac_status=$?
36418 grep -v '^ *+' conftest.er1 >conftest.err
36419 rm -f conftest.er1
36420 cat conftest.err >&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); } && {
36423 test -z "$ac_c_werror_flag" ||
36424 test ! -s conftest.err
36425 } && test -s conftest$ac_exeext &&
36426 $as_test_x conftest$ac_exeext; then
36427 eval "$as_ac_var=yes"
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 eval "$as_ac_var=no"
36433 fi
36434
36435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36436 conftest$ac_exeext conftest.$ac_ext
36437 fi
36438 ac_res=`eval echo '${'$as_ac_var'}'`
36439 { echo "$as_me:$LINENO: result: $ac_res" >&5
36440 echo "${ECHO_T}$ac_res" >&6; }
36441 if test `eval echo '${'$as_ac_var'}'` = yes; then
36442 cat >>confdefs.h <<_ACEOF
36443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36444 _ACEOF
36445
36446 fi
36447 done
36448
36449
36450 if test "$ac_cv_func_sigaction" = "no"; then
36451 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36452 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36453 wxUSE_ON_FATAL_EXCEPTION=no
36454 fi
36455
36456 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36457 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36458 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36459 if test "${wx_cv_type_sa_handler+set}" = set; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36461 else
36462
36463 ac_ext=cpp
36464 ac_cpp='$CXXCPP $CPPFLAGS'
36465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36468
36469 cat >conftest.$ac_ext <<_ACEOF
36470 /* confdefs.h. */
36471 _ACEOF
36472 cat confdefs.h >>conftest.$ac_ext
36473 cat >>conftest.$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36475 #include <signal.h>
36476 int
36477 main ()
36478 {
36479
36480 extern void testSigHandler(int);
36481
36482 struct sigaction sa;
36483 sa.sa_handler = testSigHandler;
36484
36485 ;
36486 return 0;
36487 }
36488 _ACEOF
36489 rm -f conftest.$ac_objext
36490 if { (ac_try="$ac_compile"
36491 case "(($ac_try" in
36492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36493 *) ac_try_echo=$ac_try;;
36494 esac
36495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36496 (eval "$ac_compile") 2>conftest.er1
36497 ac_status=$?
36498 grep -v '^ *+' conftest.er1 >conftest.err
36499 rm -f conftest.er1
36500 cat conftest.err >&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); } && {
36503 test -z "$ac_cxx_werror_flag" ||
36504 test ! -s conftest.err
36505 } && test -s conftest.$ac_objext; then
36506
36507 wx_cv_type_sa_handler=int
36508
36509 else
36510 echo "$as_me: failed program was:" >&5
36511 sed 's/^/| /' conftest.$ac_ext >&5
36512
36513
36514 wx_cv_type_sa_handler=void
36515
36516 fi
36517
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36519 ac_ext=c
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36524
36525
36526 fi
36527 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36528 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36529
36530 cat >>confdefs.h <<_ACEOF
36531 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36532 _ACEOF
36533
36534 fi
36535 fi
36536
36537 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36538 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36539 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36540 if test "${wx_cv_func_backtrace+set}" = set; then
36541 echo $ECHO_N "(cached) $ECHO_C" >&6
36542 else
36543
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549
36550 cat >conftest.$ac_ext <<_ACEOF
36551 /* confdefs.h. */
36552 _ACEOF
36553 cat confdefs.h >>conftest.$ac_ext
36554 cat >>conftest.$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36556 #include <execinfo.h>
36557 int
36558 main ()
36559 {
36560
36561 void *trace[1];
36562 char **messages;
36563
36564 backtrace(trace, 1);
36565 messages = backtrace_symbols(trace, 1);
36566
36567 ;
36568 return 0;
36569 }
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (ac_try="$ac_compile"
36573 case "(($ac_try" in
36574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36575 *) ac_try_echo=$ac_try;;
36576 esac
36577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36578 (eval "$ac_compile") 2>conftest.er1
36579 ac_status=$?
36580 grep -v '^ *+' conftest.er1 >conftest.err
36581 rm -f conftest.er1
36582 cat conftest.err >&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); } && {
36585 test -z "$ac_cxx_werror_flag" ||
36586 test ! -s conftest.err
36587 } && test -s conftest.$ac_objext; then
36588 wx_cv_func_backtrace=yes
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 wx_cv_func_backtrace=no
36594
36595 fi
36596
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36598 ac_ext=c
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36603
36604
36605
36606 fi
36607 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36608 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36609
36610
36611 if test "$wx_cv_func_backtrace" = "no"; then
36612 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36613 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36614 wxUSE_STACKWALKER=no
36615 else
36616 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36617 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36618 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36619 echo $ECHO_N "(cached) $ECHO_C" >&6
36620 else
36621
36622 ac_ext=cpp
36623 ac_cpp='$CXXCPP $CPPFLAGS'
36624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <cxxabi.h>
36635 int
36636 main ()
36637 {
36638
36639 int rc;
36640 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36641
36642 ;
36643 return 0;
36644 }
36645 _ACEOF
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36650 *) ac_try_echo=$ac_try;;
36651 esac
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36654 ac_status=$?
36655 grep -v '^ *+' conftest.er1 >conftest.err
36656 rm -f conftest.er1
36657 cat conftest.err >&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_cxx_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest$ac_exeext &&
36663 $as_test_x conftest$ac_exeext; then
36664 wx_cv_func_cxa_demangle=yes
36665 else
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 wx_cv_func_cxa_demangle=no
36670
36671 fi
36672
36673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36674 conftest$ac_exeext conftest.$ac_ext
36675 ac_ext=c
36676 ac_cpp='$CPP $CPPFLAGS'
36677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36680
36681
36682
36683 fi
36684 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36685 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36686
36687 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36688 cat >>confdefs.h <<\_ACEOF
36689 #define HAVE_CXA_DEMANGLE 1
36690 _ACEOF
36691
36692 fi
36693 fi
36694 fi
36695
36696 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36697 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36698 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36699 wxUSE_STACKWALKER=no
36700 fi
36701
36702
36703
36704
36705 for ac_func in mkstemp mktemp
36706 do
36707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36711 echo $ECHO_N "(cached) $ECHO_C" >&6
36712 else
36713 cat >conftest.$ac_ext <<_ACEOF
36714 /* confdefs.h. */
36715 _ACEOF
36716 cat confdefs.h >>conftest.$ac_ext
36717 cat >>conftest.$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36721 #define $ac_func innocuous_$ac_func
36722
36723 /* System header to define __stub macros and hopefully few prototypes,
36724 which can conflict with char $ac_func (); below.
36725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36726 <limits.h> exists even on freestanding compilers. */
36727
36728 #ifdef __STDC__
36729 # include <limits.h>
36730 #else
36731 # include <assert.h>
36732 #endif
36733
36734 #undef $ac_func
36735
36736 /* Override any GCC internal prototype to avoid an error.
36737 Use char because int might match the return type of a GCC
36738 builtin and then its argument prototype would still apply. */
36739 #ifdef __cplusplus
36740 extern "C"
36741 #endif
36742 char $ac_func ();
36743 /* The GNU C library defines this for functions which it implements
36744 to always fail with ENOSYS. Some functions are actually named
36745 something starting with __ and the normal name is an alias. */
36746 #if defined __stub_$ac_func || defined __stub___$ac_func
36747 choke me
36748 #endif
36749
36750 int
36751 main ()
36752 {
36753 return $ac_func ();
36754 ;
36755 return 0;
36756 }
36757 _ACEOF
36758 rm -f conftest.$ac_objext conftest$ac_exeext
36759 if { (ac_try="$ac_link"
36760 case "(($ac_try" in
36761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36762 *) ac_try_echo=$ac_try;;
36763 esac
36764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36765 (eval "$ac_link") 2>conftest.er1
36766 ac_status=$?
36767 grep -v '^ *+' conftest.er1 >conftest.err
36768 rm -f conftest.er1
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } && {
36772 test -z "$ac_c_werror_flag" ||
36773 test ! -s conftest.err
36774 } && test -s conftest$ac_exeext &&
36775 $as_test_x conftest$ac_exeext; then
36776 eval "$as_ac_var=yes"
36777 else
36778 echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36780
36781 eval "$as_ac_var=no"
36782 fi
36783
36784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36785 conftest$ac_exeext conftest.$ac_ext
36786 fi
36787 ac_res=`eval echo '${'$as_ac_var'}'`
36788 { echo "$as_me:$LINENO: result: $ac_res" >&5
36789 echo "${ECHO_T}$ac_res" >&6; }
36790 if test `eval echo '${'$as_ac_var'}'` = yes; then
36791 cat >>confdefs.h <<_ACEOF
36792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36793 _ACEOF
36794 break
36795 fi
36796 done
36797
36798
36799 { echo "$as_me:$LINENO: checking for statfs" >&5
36800 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36801 if test "${wx_cv_func_statfs+set}" = set; then
36802 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 else
36804 cat >conftest.$ac_ext <<_ACEOF
36805 /* confdefs.h. */
36806 _ACEOF
36807 cat confdefs.h >>conftest.$ac_ext
36808 cat >>conftest.$ac_ext <<_ACEOF
36809 /* end confdefs.h. */
36810
36811 #if defined(__BSD__)
36812 #include <sys/param.h>
36813 #include <sys/mount.h>
36814 #else
36815 #include <sys/vfs.h>
36816 #endif
36817
36818 int
36819 main ()
36820 {
36821
36822 long l;
36823 struct statfs fs;
36824 statfs("/", &fs);
36825 l = fs.f_bsize;
36826 l += fs.f_blocks;
36827 l += fs.f_bavail;
36828
36829 ;
36830 return 0;
36831 }
36832 _ACEOF
36833 rm -f conftest.$ac_objext
36834 if { (ac_try="$ac_compile"
36835 case "(($ac_try" in
36836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36837 *) ac_try_echo=$ac_try;;
36838 esac
36839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36840 (eval "$ac_compile") 2>conftest.er1
36841 ac_status=$?
36842 grep -v '^ *+' conftest.er1 >conftest.err
36843 rm -f conftest.er1
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } && {
36847 test -z "$ac_c_werror_flag" ||
36848 test ! -s conftest.err
36849 } && test -s conftest.$ac_objext; then
36850 wx_cv_func_statfs=yes
36851 else
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36854
36855 wx_cv_func_statfs=no
36856
36857 fi
36858
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860
36861 fi
36862 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36863 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36864
36865 if test "$wx_cv_func_statfs" = "yes"; then
36866 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36867 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36868 if test "${wx_cv_func_statfs_decl+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 else
36871 ac_ext=cpp
36872 ac_cpp='$CXXCPP $CPPFLAGS'
36873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876
36877 cat >conftest.$ac_ext <<_ACEOF
36878 /* confdefs.h. */
36879 _ACEOF
36880 cat confdefs.h >>conftest.$ac_ext
36881 cat >>conftest.$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36883
36884 #if defined(__BSD__)
36885 #include <sys/param.h>
36886 #include <sys/mount.h>
36887 #else
36888 #include <sys/vfs.h>
36889 #endif
36890
36891 int
36892 main ()
36893 {
36894
36895 struct statfs fs;
36896 statfs("", &fs);
36897
36898 ;
36899 return 0;
36900 }
36901 _ACEOF
36902 rm -f conftest.$ac_objext
36903 if { (ac_try="$ac_compile"
36904 case "(($ac_try" in
36905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36906 *) ac_try_echo=$ac_try;;
36907 esac
36908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36909 (eval "$ac_compile") 2>conftest.er1
36910 ac_status=$?
36911 grep -v '^ *+' conftest.er1 >conftest.err
36912 rm -f conftest.er1
36913 cat conftest.err >&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); } && {
36916 test -z "$ac_cxx_werror_flag" ||
36917 test ! -s conftest.err
36918 } && test -s conftest.$ac_objext; then
36919 wx_cv_func_statfs_decl=yes
36920 else
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 wx_cv_func_statfs_decl=no
36925
36926 fi
36927
36928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36929 ac_ext=c
36930 ac_cpp='$CPP $CPPFLAGS'
36931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36934
36935
36936 fi
36937 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36938 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36939
36940 if test "$wx_cv_func_statfs_decl" = "yes"; then
36941 cat >>confdefs.h <<\_ACEOF
36942 #define HAVE_STATFS_DECL 1
36943 _ACEOF
36944
36945 fi
36946
36947 wx_cv_type_statvfs_t="struct statfs"
36948 cat >>confdefs.h <<\_ACEOF
36949 #define HAVE_STATFS 1
36950 _ACEOF
36951
36952 else
36953 { echo "$as_me:$LINENO: checking for statvfs" >&5
36954 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36955 if test "${wx_cv_func_statvfs+set}" = set; then
36956 echo $ECHO_N "(cached) $ECHO_C" >&6
36957 else
36958 cat >conftest.$ac_ext <<_ACEOF
36959 /* confdefs.h. */
36960 _ACEOF
36961 cat confdefs.h >>conftest.$ac_ext
36962 cat >>conftest.$ac_ext <<_ACEOF
36963 /* end confdefs.h. */
36964
36965 #include <stddef.h>
36966 #include <sys/statvfs.h>
36967
36968 int
36969 main ()
36970 {
36971
36972 statvfs("/", NULL);
36973
36974 ;
36975 return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext
36979 if { (ac_try="$ac_compile"
36980 case "(($ac_try" in
36981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36982 *) ac_try_echo=$ac_try;;
36983 esac
36984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36985 (eval "$ac_compile") 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } && {
36992 test -z "$ac_c_werror_flag" ||
36993 test ! -s conftest.err
36994 } && test -s conftest.$ac_objext; then
36995 wx_cv_func_statvfs=yes
36996 else
36997 echo "$as_me: failed program was:" >&5
36998 sed 's/^/| /' conftest.$ac_ext >&5
36999
37000 wx_cv_func_statvfs=no
37001
37002 fi
37003
37004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37005
37006 fi
37007 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37008 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37009
37010 if test "$wx_cv_func_statvfs" = "yes"; then
37011 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37012 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37013 if test "${wx_cv_type_statvfs_t+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016 ac_ext=cpp
37017 ac_cpp='$CXXCPP $CPPFLAGS'
37018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37021
37022 cat >conftest.$ac_ext <<_ACEOF
37023 /* confdefs.h. */
37024 _ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37028
37029 #include <sys/statvfs.h>
37030
37031 int
37032 main ()
37033 {
37034
37035 long l;
37036 statvfs_t fs;
37037 statvfs("/", &fs);
37038 l = fs.f_bsize;
37039 l += fs.f_blocks;
37040 l += fs.f_bavail;
37041
37042 ;
37043 return 0;
37044 }
37045 _ACEOF
37046 rm -f conftest.$ac_objext
37047 if { (ac_try="$ac_compile"
37048 case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37051 esac
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_compile") 2>conftest.er1
37054 ac_status=$?
37055 grep -v '^ *+' conftest.er1 >conftest.err
37056 rm -f conftest.er1
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } && {
37060 test -z "$ac_cxx_werror_flag" ||
37061 test ! -s conftest.err
37062 } && test -s conftest.$ac_objext; then
37063 wx_cv_type_statvfs_t=statvfs_t
37064 else
37065 echo "$as_me: failed program was:" >&5
37066 sed 's/^/| /' conftest.$ac_ext >&5
37067
37068
37069 cat >conftest.$ac_ext <<_ACEOF
37070 /* confdefs.h. */
37071 _ACEOF
37072 cat confdefs.h >>conftest.$ac_ext
37073 cat >>conftest.$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37075
37076 #include <sys/statvfs.h>
37077
37078 int
37079 main ()
37080 {
37081
37082 long l;
37083 struct statvfs fs;
37084 statvfs("/", &fs);
37085 l = fs.f_bsize;
37086 l += fs.f_blocks;
37087 l += fs.f_bavail;
37088
37089 ;
37090 return 0;
37091 }
37092 _ACEOF
37093 rm -f conftest.$ac_objext
37094 if { (ac_try="$ac_compile"
37095 case "(($ac_try" in
37096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37097 *) ac_try_echo=$ac_try;;
37098 esac
37099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37100 (eval "$ac_compile") 2>conftest.er1
37101 ac_status=$?
37102 grep -v '^ *+' conftest.er1 >conftest.err
37103 rm -f conftest.er1
37104 cat conftest.err >&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); } && {
37107 test -z "$ac_cxx_werror_flag" ||
37108 test ! -s conftest.err
37109 } && test -s conftest.$ac_objext; then
37110 wx_cv_type_statvfs_t="struct statvfs"
37111 else
37112 echo "$as_me: failed program was:" >&5
37113 sed 's/^/| /' conftest.$ac_ext >&5
37114
37115 wx_cv_type_statvfs_t="unknown"
37116
37117 fi
37118
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120
37121
37122 fi
37123
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 ac_ext=c
37126 ac_cpp='$CPP $CPPFLAGS'
37127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130
37131
37132 fi
37133 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37134 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37135
37136 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37137 cat >>confdefs.h <<\_ACEOF
37138 #define HAVE_STATVFS 1
37139 _ACEOF
37140
37141 fi
37142 else
37143 wx_cv_type_statvfs_t="unknown"
37144 fi
37145 fi
37146
37147 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37148 cat >>confdefs.h <<_ACEOF
37149 #define WX_STATFS_T $wx_cv_type_statvfs_t
37150 _ACEOF
37151
37152 else
37153 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37154 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37155 fi
37156
37157 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37158
37159
37160 for ac_func in fcntl flock
37161 do
37162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37163 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37165 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37166 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 else
37168 cat >conftest.$ac_ext <<_ACEOF
37169 /* confdefs.h. */
37170 _ACEOF
37171 cat confdefs.h >>conftest.$ac_ext
37172 cat >>conftest.$ac_ext <<_ACEOF
37173 /* end confdefs.h. */
37174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37176 #define $ac_func innocuous_$ac_func
37177
37178 /* System header to define __stub macros and hopefully few prototypes,
37179 which can conflict with char $ac_func (); below.
37180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37181 <limits.h> exists even on freestanding compilers. */
37182
37183 #ifdef __STDC__
37184 # include <limits.h>
37185 #else
37186 # include <assert.h>
37187 #endif
37188
37189 #undef $ac_func
37190
37191 /* Override any GCC internal prototype to avoid an error.
37192 Use char because int might match the return type of a GCC
37193 builtin and then its argument prototype would still apply. */
37194 #ifdef __cplusplus
37195 extern "C"
37196 #endif
37197 char $ac_func ();
37198 /* The GNU C library defines this for functions which it implements
37199 to always fail with ENOSYS. Some functions are actually named
37200 something starting with __ and the normal name is an alias. */
37201 #if defined __stub_$ac_func || defined __stub___$ac_func
37202 choke me
37203 #endif
37204
37205 int
37206 main ()
37207 {
37208 return $ac_func ();
37209 ;
37210 return 0;
37211 }
37212 _ACEOF
37213 rm -f conftest.$ac_objext conftest$ac_exeext
37214 if { (ac_try="$ac_link"
37215 case "(($ac_try" in
37216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37217 *) ac_try_echo=$ac_try;;
37218 esac
37219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37220 (eval "$ac_link") 2>conftest.er1
37221 ac_status=$?
37222 grep -v '^ *+' conftest.er1 >conftest.err
37223 rm -f conftest.er1
37224 cat conftest.err >&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); } && {
37227 test -z "$ac_c_werror_flag" ||
37228 test ! -s conftest.err
37229 } && test -s conftest$ac_exeext &&
37230 $as_test_x conftest$ac_exeext; then
37231 eval "$as_ac_var=yes"
37232 else
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37235
37236 eval "$as_ac_var=no"
37237 fi
37238
37239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37240 conftest$ac_exeext conftest.$ac_ext
37241 fi
37242 ac_res=`eval echo '${'$as_ac_var'}'`
37243 { echo "$as_me:$LINENO: result: $ac_res" >&5
37244 echo "${ECHO_T}$ac_res" >&6; }
37245 if test `eval echo '${'$as_ac_var'}'` = yes; then
37246 cat >>confdefs.h <<_ACEOF
37247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37248 _ACEOF
37249 break
37250 fi
37251 done
37252
37253
37254 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37255 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37256 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37257 wxUSE_SNGLINST_CHECKER=no
37258 fi
37259 fi
37260
37261
37262
37263 for ac_func in setenv putenv
37264 do
37265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37269 echo $ECHO_N "(cached) $ECHO_C" >&6
37270 else
37271 cat >conftest.$ac_ext <<_ACEOF
37272 /* confdefs.h. */
37273 _ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37279 #define $ac_func innocuous_$ac_func
37280
37281 /* System header to define __stub macros and hopefully few prototypes,
37282 which can conflict with char $ac_func (); below.
37283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37284 <limits.h> exists even on freestanding compilers. */
37285
37286 #ifdef __STDC__
37287 # include <limits.h>
37288 #else
37289 # include <assert.h>
37290 #endif
37291
37292 #undef $ac_func
37293
37294 /* Override any GCC internal prototype to avoid an error.
37295 Use char because int might match the return type of a GCC
37296 builtin and then its argument prototype would still apply. */
37297 #ifdef __cplusplus
37298 extern "C"
37299 #endif
37300 char $ac_func ();
37301 /* The GNU C library defines this for functions which it implements
37302 to always fail with ENOSYS. Some functions are actually named
37303 something starting with __ and the normal name is an alias. */
37304 #if defined __stub_$ac_func || defined __stub___$ac_func
37305 choke me
37306 #endif
37307
37308 int
37309 main ()
37310 {
37311 return $ac_func ();
37312 ;
37313 return 0;
37314 }
37315 _ACEOF
37316 rm -f conftest.$ac_objext conftest$ac_exeext
37317 if { (ac_try="$ac_link"
37318 case "(($ac_try" in
37319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37320 *) ac_try_echo=$ac_try;;
37321 esac
37322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37323 (eval "$ac_link") 2>conftest.er1
37324 ac_status=$?
37325 grep -v '^ *+' conftest.er1 >conftest.err
37326 rm -f conftest.er1
37327 cat conftest.err >&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } && {
37330 test -z "$ac_c_werror_flag" ||
37331 test ! -s conftest.err
37332 } && test -s conftest$ac_exeext &&
37333 $as_test_x conftest$ac_exeext; then
37334 eval "$as_ac_var=yes"
37335 else
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.$ac_ext >&5
37338
37339 eval "$as_ac_var=no"
37340 fi
37341
37342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37343 conftest$ac_exeext conftest.$ac_ext
37344 fi
37345 ac_res=`eval echo '${'$as_ac_var'}'`
37346 { echo "$as_me:$LINENO: result: $ac_res" >&5
37347 echo "${ECHO_T}$ac_res" >&6; }
37348 if test `eval echo '${'$as_ac_var'}'` = yes; then
37349 cat >>confdefs.h <<_ACEOF
37350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37351 _ACEOF
37352 break
37353 fi
37354 done
37355
37356 if test "$ac_cv_func_setenv" = "yes"; then
37357
37358 for ac_func in unsetenv
37359 do
37360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37364 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 else
37366 cat >conftest.$ac_ext <<_ACEOF
37367 /* confdefs.h. */
37368 _ACEOF
37369 cat confdefs.h >>conftest.$ac_ext
37370 cat >>conftest.$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37374 #define $ac_func innocuous_$ac_func
37375
37376 /* System header to define __stub macros and hopefully few prototypes,
37377 which can conflict with char $ac_func (); below.
37378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37379 <limits.h> exists even on freestanding compilers. */
37380
37381 #ifdef __STDC__
37382 # include <limits.h>
37383 #else
37384 # include <assert.h>
37385 #endif
37386
37387 #undef $ac_func
37388
37389 /* Override any GCC internal prototype to avoid an error.
37390 Use char because int might match the return type of a GCC
37391 builtin and then its argument prototype would still apply. */
37392 #ifdef __cplusplus
37393 extern "C"
37394 #endif
37395 char $ac_func ();
37396 /* The GNU C library defines this for functions which it implements
37397 to always fail with ENOSYS. Some functions are actually named
37398 something starting with __ and the normal name is an alias. */
37399 #if defined __stub_$ac_func || defined __stub___$ac_func
37400 choke me
37401 #endif
37402
37403 int
37404 main ()
37405 {
37406 return $ac_func ();
37407 ;
37408 return 0;
37409 }
37410 _ACEOF
37411 rm -f conftest.$ac_objext conftest$ac_exeext
37412 if { (ac_try="$ac_link"
37413 case "(($ac_try" in
37414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37415 *) ac_try_echo=$ac_try;;
37416 esac
37417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37418 (eval "$ac_link") 2>conftest.er1
37419 ac_status=$?
37420 grep -v '^ *+' conftest.er1 >conftest.err
37421 rm -f conftest.er1
37422 cat conftest.err >&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } && {
37425 test -z "$ac_c_werror_flag" ||
37426 test ! -s conftest.err
37427 } && test -s conftest$ac_exeext &&
37428 $as_test_x conftest$ac_exeext; then
37429 eval "$as_ac_var=yes"
37430 else
37431 echo "$as_me: failed program was:" >&5
37432 sed 's/^/| /' conftest.$ac_ext >&5
37433
37434 eval "$as_ac_var=no"
37435 fi
37436
37437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37438 conftest$ac_exeext conftest.$ac_ext
37439 fi
37440 ac_res=`eval echo '${'$as_ac_var'}'`
37441 { echo "$as_me:$LINENO: result: $ac_res" >&5
37442 echo "${ECHO_T}$ac_res" >&6; }
37443 if test `eval echo '${'$as_ac_var'}'` = yes; then
37444 cat >>confdefs.h <<_ACEOF
37445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37446 _ACEOF
37447
37448 fi
37449 done
37450
37451 fi
37452
37453 HAVE_SOME_SLEEP_FUNC=0
37454 if test "$USE_BEOS" = 1; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define HAVE_SLEEP 1
37457 _ACEOF
37458
37459 HAVE_SOME_SLEEP_FUNC=1
37460 fi
37461
37462 if test "$USE_DARWIN" = 1; then
37463 cat >>confdefs.h <<\_ACEOF
37464 #define HAVE_USLEEP 1
37465 _ACEOF
37466
37467 HAVE_SOME_SLEEP_FUNC=1
37468 fi
37469
37470 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37471 POSIX4_LINK=
37472
37473 for ac_func in nanosleep
37474 do
37475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37481 cat >conftest.$ac_ext <<_ACEOF
37482 /* confdefs.h. */
37483 _ACEOF
37484 cat confdefs.h >>conftest.$ac_ext
37485 cat >>conftest.$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37490
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37495
37496 #ifdef __STDC__
37497 # include <limits.h>
37498 #else
37499 # include <assert.h>
37500 #endif
37501
37502 #undef $ac_func
37503
37504 /* Override any GCC internal prototype to avoid an error.
37505 Use char because int might match the return type of a GCC
37506 builtin and then its argument prototype would still apply. */
37507 #ifdef __cplusplus
37508 extern "C"
37509 #endif
37510 char $ac_func ();
37511 /* The GNU C library defines this for functions which it implements
37512 to always fail with ENOSYS. Some functions are actually named
37513 something starting with __ and the normal name is an alias. */
37514 #if defined __stub_$ac_func || defined __stub___$ac_func
37515 choke me
37516 #endif
37517
37518 int
37519 main ()
37520 {
37521 return $ac_func ();
37522 ;
37523 return 0;
37524 }
37525 _ACEOF
37526 rm -f conftest.$ac_objext conftest$ac_exeext
37527 if { (ac_try="$ac_link"
37528 case "(($ac_try" in
37529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37530 *) ac_try_echo=$ac_try;;
37531 esac
37532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37533 (eval "$ac_link") 2>conftest.er1
37534 ac_status=$?
37535 grep -v '^ *+' conftest.er1 >conftest.err
37536 rm -f conftest.er1
37537 cat conftest.err >&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } && {
37540 test -z "$ac_c_werror_flag" ||
37541 test ! -s conftest.err
37542 } && test -s conftest$ac_exeext &&
37543 $as_test_x conftest$ac_exeext; then
37544 eval "$as_ac_var=yes"
37545 else
37546 echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.$ac_ext >&5
37548
37549 eval "$as_ac_var=no"
37550 fi
37551
37552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37553 conftest$ac_exeext conftest.$ac_ext
37554 fi
37555 ac_res=`eval echo '${'$as_ac_var'}'`
37556 { echo "$as_me:$LINENO: result: $ac_res" >&5
37557 echo "${ECHO_T}$ac_res" >&6; }
37558 if test `eval echo '${'$as_ac_var'}'` = yes; then
37559 cat >>confdefs.h <<_ACEOF
37560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37561 _ACEOF
37562 cat >>confdefs.h <<\_ACEOF
37563 #define HAVE_NANOSLEEP 1
37564 _ACEOF
37565
37566 else
37567
37568 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37569 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37570 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37572 else
37573 ac_check_lib_save_LIBS=$LIBS
37574 LIBS="-lposix4 $LIBS"
37575 cat >conftest.$ac_ext <<_ACEOF
37576 /* confdefs.h. */
37577 _ACEOF
37578 cat confdefs.h >>conftest.$ac_ext
37579 cat >>conftest.$ac_ext <<_ACEOF
37580 /* end confdefs.h. */
37581
37582 /* Override any GCC internal prototype to avoid an error.
37583 Use char because int might match the return type of a GCC
37584 builtin and then its argument prototype would still apply. */
37585 #ifdef __cplusplus
37586 extern "C"
37587 #endif
37588 char nanosleep ();
37589 int
37590 main ()
37591 {
37592 return nanosleep ();
37593 ;
37594 return 0;
37595 }
37596 _ACEOF
37597 rm -f conftest.$ac_objext conftest$ac_exeext
37598 if { (ac_try="$ac_link"
37599 case "(($ac_try" in
37600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37601 *) ac_try_echo=$ac_try;;
37602 esac
37603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37604 (eval "$ac_link") 2>conftest.er1
37605 ac_status=$?
37606 grep -v '^ *+' conftest.er1 >conftest.err
37607 rm -f conftest.er1
37608 cat conftest.err >&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } && {
37611 test -z "$ac_c_werror_flag" ||
37612 test ! -s conftest.err
37613 } && test -s conftest$ac_exeext &&
37614 $as_test_x conftest$ac_exeext; then
37615 ac_cv_lib_posix4_nanosleep=yes
37616 else
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37619
37620 ac_cv_lib_posix4_nanosleep=no
37621 fi
37622
37623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37624 conftest$ac_exeext conftest.$ac_ext
37625 LIBS=$ac_check_lib_save_LIBS
37626 fi
37627 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37628 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37629 if test $ac_cv_lib_posix4_nanosleep = yes; then
37630
37631 cat >>confdefs.h <<\_ACEOF
37632 #define HAVE_NANOSLEEP 1
37633 _ACEOF
37634
37635 POSIX4_LINK=" -lposix4"
37636
37637 else
37638
37639
37640 for wx_func in usleep
37641 do
37642 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37643 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37644 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37646 else
37647
37648 cat >conftest.$ac_ext <<_ACEOF
37649
37650 /* confdefs.h. */
37651 _ACEOF
37652 cat confdefs.h >>conftest.$ac_ext
37653 cat >>conftest.$ac_ext <<_ACEOF
37654 /* end confdefs.h. */
37655
37656
37657 $ac_includes_default
37658
37659 int
37660 main ()
37661 {
37662
37663 #ifndef $wx_func
37664 &$wx_func;
37665 #endif
37666
37667
37668 ;
37669 return 0;
37670 }
37671
37672 _ACEOF
37673 rm -f conftest.$ac_objext conftest$ac_exeext
37674 if { (ac_try="$ac_link"
37675 case "(($ac_try" in
37676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37677 *) ac_try_echo=$ac_try;;
37678 esac
37679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37680 (eval "$ac_link") 2>conftest.er1
37681 ac_status=$?
37682 grep -v '^ *+' conftest.er1 >conftest.err
37683 rm -f conftest.er1
37684 cat conftest.err >&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); } && {
37687 test -z "$ac_c_werror_flag" ||
37688 test ! -s conftest.err
37689 } && test -s conftest$ac_exeext &&
37690 $as_test_x conftest$ac_exeext; then
37691 eval wx_cv_func_$wx_func=yes
37692 else
37693 echo "$as_me: failed program was:" >&5
37694 sed 's/^/| /' conftest.$ac_ext >&5
37695
37696 eval wx_cv_func_$wx_func=no
37697 fi
37698
37699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37700 conftest$ac_exeext conftest.$ac_ext
37701
37702 fi
37703 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37704 { echo "$as_me:$LINENO: result: $ac_res" >&5
37705 echo "${ECHO_T}$ac_res" >&6; }
37706
37707 if eval test \$wx_cv_func_$wx_func = yes
37708 then
37709 cat >>confdefs.h <<_ACEOF
37710 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37711 _ACEOF
37712
37713
37714 else
37715 :
37716 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37717 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37718
37719 fi
37720 done
37721
37722
37723
37724 fi
37725
37726
37727
37728 fi
37729 done
37730
37731 fi
37732
37733
37734 for wx_func in uname
37735 do
37736 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37737 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37738 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37739 echo $ECHO_N "(cached) $ECHO_C" >&6
37740 else
37741
37742 cat >conftest.$ac_ext <<_ACEOF
37743
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749
37750 #include <sys/utsname.h>
37751 $ac_includes_default
37752
37753 int
37754 main ()
37755 {
37756
37757 #ifndef $wx_func
37758 &$wx_func;
37759 #endif
37760
37761
37762 ;
37763 return 0;
37764 }
37765
37766 _ACEOF
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (ac_try="$ac_link"
37769 case "(($ac_try" in
37770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37771 *) ac_try_echo=$ac_try;;
37772 esac
37773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37774 (eval "$ac_link") 2>conftest.er1
37775 ac_status=$?
37776 grep -v '^ *+' conftest.er1 >conftest.err
37777 rm -f conftest.er1
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } && {
37781 test -z "$ac_c_werror_flag" ||
37782 test ! -s conftest.err
37783 } && test -s conftest$ac_exeext &&
37784 $as_test_x conftest$ac_exeext; then
37785 eval wx_cv_func_$wx_func=yes
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790 eval wx_cv_func_$wx_func=no
37791 fi
37792
37793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37794 conftest$ac_exeext conftest.$ac_ext
37795
37796 fi
37797 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37798 { echo "$as_me:$LINENO: result: $ac_res" >&5
37799 echo "${ECHO_T}$ac_res" >&6; }
37800
37801 if eval test \$wx_cv_func_$wx_func = yes
37802 then
37803 cat >>confdefs.h <<_ACEOF
37804 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37805 _ACEOF
37806
37807
37808 else
37809 :
37810
37811 fi
37812 done
37813
37814 if test "$wx_cv_func_uname" != yes; then
37815
37816 for wx_func in gethostname
37817 do
37818 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37819 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37820 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 else
37823
37824 cat >conftest.$ac_ext <<_ACEOF
37825
37826 /* confdefs.h. */
37827 _ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831
37832
37833 $ac_includes_default
37834
37835 int
37836 main ()
37837 {
37838
37839 #ifndef $wx_func
37840 &$wx_func;
37841 #endif
37842
37843
37844 ;
37845 return 0;
37846 }
37847
37848 _ACEOF
37849 rm -f conftest.$ac_objext conftest$ac_exeext
37850 if { (ac_try="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37853 *) ac_try_echo=$ac_try;;
37854 esac
37855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37857 ac_status=$?
37858 grep -v '^ *+' conftest.er1 >conftest.err
37859 rm -f conftest.er1
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest$ac_exeext &&
37866 $as_test_x conftest$ac_exeext; then
37867 eval wx_cv_func_$wx_func=yes
37868 else
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37871
37872 eval wx_cv_func_$wx_func=no
37873 fi
37874
37875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37876 conftest$ac_exeext conftest.$ac_ext
37877
37878 fi
37879 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37880 { echo "$as_me:$LINENO: result: $ac_res" >&5
37881 echo "${ECHO_T}$ac_res" >&6; }
37882
37883 if eval test \$wx_cv_func_$wx_func = yes
37884 then
37885 cat >>confdefs.h <<_ACEOF
37886 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37887 _ACEOF
37888
37889
37890 else
37891 :
37892
37893 fi
37894 done
37895
37896 fi
37897
37898
37899 for wx_func in strtok_r
37900 do
37901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 else
37906
37907 cat >conftest.$ac_ext <<_ACEOF
37908
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914
37915 #define _REENTRANT
37916 $ac_includes_default
37917
37918 int
37919 main ()
37920 {
37921
37922 #ifndef $wx_func
37923 &$wx_func;
37924 #endif
37925
37926
37927 ;
37928 return 0;
37929 }
37930
37931 _ACEOF
37932 rm -f conftest.$ac_objext conftest$ac_exeext
37933 if { (ac_try="$ac_link"
37934 case "(($ac_try" in
37935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37937 esac
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_link") 2>conftest.er1
37940 ac_status=$?
37941 grep -v '^ *+' conftest.er1 >conftest.err
37942 rm -f conftest.er1
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest$ac_exeext &&
37949 $as_test_x conftest$ac_exeext; then
37950 eval wx_cv_func_$wx_func=yes
37951 else
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37954
37955 eval wx_cv_func_$wx_func=no
37956 fi
37957
37958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37959 conftest$ac_exeext conftest.$ac_ext
37960
37961 fi
37962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37963 { echo "$as_me:$LINENO: result: $ac_res" >&5
37964 echo "${ECHO_T}$ac_res" >&6; }
37965
37966 if eval test \$wx_cv_func_$wx_func = yes
37967 then
37968 cat >>confdefs.h <<_ACEOF
37969 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37970 _ACEOF
37971
37972
37973 else
37974 :
37975
37976 fi
37977 done
37978
37979
37980 INET_LINK=
37981
37982 for ac_func in inet_addr
37983 do
37984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990 cat >conftest.$ac_ext <<_ACEOF
37991 /* confdefs.h. */
37992 _ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37998 #define $ac_func innocuous_$ac_func
37999
38000 /* System header to define __stub macros and hopefully few prototypes,
38001 which can conflict with char $ac_func (); below.
38002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38003 <limits.h> exists even on freestanding compilers. */
38004
38005 #ifdef __STDC__
38006 # include <limits.h>
38007 #else
38008 # include <assert.h>
38009 #endif
38010
38011 #undef $ac_func
38012
38013 /* Override any GCC internal prototype to avoid an error.
38014 Use char because int might match the return type of a GCC
38015 builtin and then its argument prototype would still apply. */
38016 #ifdef __cplusplus
38017 extern "C"
38018 #endif
38019 char $ac_func ();
38020 /* The GNU C library defines this for functions which it implements
38021 to always fail with ENOSYS. Some functions are actually named
38022 something starting with __ and the normal name is an alias. */
38023 #if defined __stub_$ac_func || defined __stub___$ac_func
38024 choke me
38025 #endif
38026
38027 int
38028 main ()
38029 {
38030 return $ac_func ();
38031 ;
38032 return 0;
38033 }
38034 _ACEOF
38035 rm -f conftest.$ac_objext conftest$ac_exeext
38036 if { (ac_try="$ac_link"
38037 case "(($ac_try" in
38038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38039 *) ac_try_echo=$ac_try;;
38040 esac
38041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38042 (eval "$ac_link") 2>conftest.er1
38043 ac_status=$?
38044 grep -v '^ *+' conftest.er1 >conftest.err
38045 rm -f conftest.er1
38046 cat conftest.err >&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); } && {
38049 test -z "$ac_c_werror_flag" ||
38050 test ! -s conftest.err
38051 } && test -s conftest$ac_exeext &&
38052 $as_test_x conftest$ac_exeext; then
38053 eval "$as_ac_var=yes"
38054 else
38055 echo "$as_me: failed program was:" >&5
38056 sed 's/^/| /' conftest.$ac_ext >&5
38057
38058 eval "$as_ac_var=no"
38059 fi
38060
38061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38062 conftest$ac_exeext conftest.$ac_ext
38063 fi
38064 ac_res=`eval echo '${'$as_ac_var'}'`
38065 { echo "$as_me:$LINENO: result: $ac_res" >&5
38066 echo "${ECHO_T}$ac_res" >&6; }
38067 if test `eval echo '${'$as_ac_var'}'` = yes; then
38068 cat >>confdefs.h <<_ACEOF
38069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38070 _ACEOF
38071 cat >>confdefs.h <<\_ACEOF
38072 #define HAVE_INET_ADDR 1
38073 _ACEOF
38074
38075 else
38076
38077 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38078 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38079 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 else
38082 ac_check_lib_save_LIBS=$LIBS
38083 LIBS="-lnsl $LIBS"
38084 cat >conftest.$ac_ext <<_ACEOF
38085 /* confdefs.h. */
38086 _ACEOF
38087 cat confdefs.h >>conftest.$ac_ext
38088 cat >>conftest.$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38090
38091 /* Override any GCC internal prototype to avoid an error.
38092 Use char because int might match the return type of a GCC
38093 builtin and then its argument prototype would still apply. */
38094 #ifdef __cplusplus
38095 extern "C"
38096 #endif
38097 char inet_addr ();
38098 int
38099 main ()
38100 {
38101 return inet_addr ();
38102 ;
38103 return 0;
38104 }
38105 _ACEOF
38106 rm -f conftest.$ac_objext conftest$ac_exeext
38107 if { (ac_try="$ac_link"
38108 case "(($ac_try" in
38109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38110 *) ac_try_echo=$ac_try;;
38111 esac
38112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38113 (eval "$ac_link") 2>conftest.er1
38114 ac_status=$?
38115 grep -v '^ *+' conftest.er1 >conftest.err
38116 rm -f conftest.er1
38117 cat conftest.err >&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } && {
38120 test -z "$ac_c_werror_flag" ||
38121 test ! -s conftest.err
38122 } && test -s conftest$ac_exeext &&
38123 $as_test_x conftest$ac_exeext; then
38124 ac_cv_lib_nsl_inet_addr=yes
38125 else
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38128
38129 ac_cv_lib_nsl_inet_addr=no
38130 fi
38131
38132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38133 conftest$ac_exeext conftest.$ac_ext
38134 LIBS=$ac_check_lib_save_LIBS
38135 fi
38136 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38137 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38138 if test $ac_cv_lib_nsl_inet_addr = yes; then
38139 INET_LINK="nsl"
38140 else
38141
38142 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38143 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38144 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 else
38147 ac_check_lib_save_LIBS=$LIBS
38148 LIBS="-lresolv $LIBS"
38149 cat >conftest.$ac_ext <<_ACEOF
38150 /* confdefs.h. */
38151 _ACEOF
38152 cat confdefs.h >>conftest.$ac_ext
38153 cat >>conftest.$ac_ext <<_ACEOF
38154 /* end confdefs.h. */
38155
38156 /* Override any GCC internal prototype to avoid an error.
38157 Use char because int might match the return type of a GCC
38158 builtin and then its argument prototype would still apply. */
38159 #ifdef __cplusplus
38160 extern "C"
38161 #endif
38162 char inet_addr ();
38163 int
38164 main ()
38165 {
38166 return inet_addr ();
38167 ;
38168 return 0;
38169 }
38170 _ACEOF
38171 rm -f conftest.$ac_objext conftest$ac_exeext
38172 if { (ac_try="$ac_link"
38173 case "(($ac_try" in
38174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38175 *) ac_try_echo=$ac_try;;
38176 esac
38177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38178 (eval "$ac_link") 2>conftest.er1
38179 ac_status=$?
38180 grep -v '^ *+' conftest.er1 >conftest.err
38181 rm -f conftest.er1
38182 cat conftest.err >&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); } && {
38185 test -z "$ac_c_werror_flag" ||
38186 test ! -s conftest.err
38187 } && test -s conftest$ac_exeext &&
38188 $as_test_x conftest$ac_exeext; then
38189 ac_cv_lib_resolv_inet_addr=yes
38190 else
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.$ac_ext >&5
38193
38194 ac_cv_lib_resolv_inet_addr=no
38195 fi
38196
38197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38198 conftest$ac_exeext conftest.$ac_ext
38199 LIBS=$ac_check_lib_save_LIBS
38200 fi
38201 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38202 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38203 if test $ac_cv_lib_resolv_inet_addr = yes; then
38204 INET_LINK="resolv"
38205 else
38206
38207 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38208 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38209 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 else
38212 ac_check_lib_save_LIBS=$LIBS
38213 LIBS="-lsocket $LIBS"
38214 cat >conftest.$ac_ext <<_ACEOF
38215 /* confdefs.h. */
38216 _ACEOF
38217 cat confdefs.h >>conftest.$ac_ext
38218 cat >>conftest.$ac_ext <<_ACEOF
38219 /* end confdefs.h. */
38220
38221 /* Override any GCC internal prototype to avoid an error.
38222 Use char because int might match the return type of a GCC
38223 builtin and then its argument prototype would still apply. */
38224 #ifdef __cplusplus
38225 extern "C"
38226 #endif
38227 char inet_addr ();
38228 int
38229 main ()
38230 {
38231 return inet_addr ();
38232 ;
38233 return 0;
38234 }
38235 _ACEOF
38236 rm -f conftest.$ac_objext conftest$ac_exeext
38237 if { (ac_try="$ac_link"
38238 case "(($ac_try" in
38239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38240 *) ac_try_echo=$ac_try;;
38241 esac
38242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38243 (eval "$ac_link") 2>conftest.er1
38244 ac_status=$?
38245 grep -v '^ *+' conftest.er1 >conftest.err
38246 rm -f conftest.er1
38247 cat conftest.err >&5
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); } && {
38250 test -z "$ac_c_werror_flag" ||
38251 test ! -s conftest.err
38252 } && test -s conftest$ac_exeext &&
38253 $as_test_x conftest$ac_exeext; then
38254 ac_cv_lib_socket_inet_addr=yes
38255 else
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.$ac_ext >&5
38258
38259 ac_cv_lib_socket_inet_addr=no
38260 fi
38261
38262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38263 conftest$ac_exeext conftest.$ac_ext
38264 LIBS=$ac_check_lib_save_LIBS
38265 fi
38266 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38267 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38268 if test $ac_cv_lib_socket_inet_addr = yes; then
38269 INET_LINK="socket"
38270
38271 fi
38272
38273
38274
38275 fi
38276
38277
38278
38279 fi
38280
38281
38282
38283 fi
38284 done
38285
38286
38287
38288 for ac_func in inet_aton
38289 do
38290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38295 else
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38304 #define $ac_func innocuous_$ac_func
38305
38306 /* System header to define __stub macros and hopefully few prototypes,
38307 which can conflict with char $ac_func (); below.
38308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38309 <limits.h> exists even on freestanding compilers. */
38310
38311 #ifdef __STDC__
38312 # include <limits.h>
38313 #else
38314 # include <assert.h>
38315 #endif
38316
38317 #undef $ac_func
38318
38319 /* Override any GCC internal prototype to avoid an error.
38320 Use char because int might match the return type of a GCC
38321 builtin and then its argument prototype would still apply. */
38322 #ifdef __cplusplus
38323 extern "C"
38324 #endif
38325 char $ac_func ();
38326 /* The GNU C library defines this for functions which it implements
38327 to always fail with ENOSYS. Some functions are actually named
38328 something starting with __ and the normal name is an alias. */
38329 #if defined __stub_$ac_func || defined __stub___$ac_func
38330 choke me
38331 #endif
38332
38333 int
38334 main ()
38335 {
38336 return $ac_func ();
38337 ;
38338 return 0;
38339 }
38340 _ACEOF
38341 rm -f conftest.$ac_objext conftest$ac_exeext
38342 if { (ac_try="$ac_link"
38343 case "(($ac_try" in
38344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38345 *) ac_try_echo=$ac_try;;
38346 esac
38347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38348 (eval "$ac_link") 2>conftest.er1
38349 ac_status=$?
38350 grep -v '^ *+' conftest.er1 >conftest.err
38351 rm -f conftest.er1
38352 cat conftest.err >&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); } && {
38355 test -z "$ac_c_werror_flag" ||
38356 test ! -s conftest.err
38357 } && test -s conftest$ac_exeext &&
38358 $as_test_x conftest$ac_exeext; then
38359 eval "$as_ac_var=yes"
38360 else
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.$ac_ext >&5
38363
38364 eval "$as_ac_var=no"
38365 fi
38366
38367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38368 conftest$ac_exeext conftest.$ac_ext
38369 fi
38370 ac_res=`eval echo '${'$as_ac_var'}'`
38371 { echo "$as_me:$LINENO: result: $ac_res" >&5
38372 echo "${ECHO_T}$ac_res" >&6; }
38373 if test `eval echo '${'$as_ac_var'}'` = yes; then
38374 cat >>confdefs.h <<_ACEOF
38375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38376 _ACEOF
38377 cat >>confdefs.h <<\_ACEOF
38378 #define HAVE_INET_ATON 1
38379 _ACEOF
38380
38381 else
38382
38383 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38384 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38385 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38386 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 else
38389 ac_check_lib_save_LIBS=$LIBS
38390 LIBS="-l$INET_LINK $LIBS"
38391 cat >conftest.$ac_ext <<_ACEOF
38392 /* confdefs.h. */
38393 _ACEOF
38394 cat confdefs.h >>conftest.$ac_ext
38395 cat >>conftest.$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38397
38398 /* Override any GCC internal prototype to avoid an error.
38399 Use char because int might match the return type of a GCC
38400 builtin and then its argument prototype would still apply. */
38401 #ifdef __cplusplus
38402 extern "C"
38403 #endif
38404 char inet_aton ();
38405 int
38406 main ()
38407 {
38408 return inet_aton ();
38409 ;
38410 return 0;
38411 }
38412 _ACEOF
38413 rm -f conftest.$ac_objext conftest$ac_exeext
38414 if { (ac_try="$ac_link"
38415 case "(($ac_try" in
38416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38417 *) ac_try_echo=$ac_try;;
38418 esac
38419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38420 (eval "$ac_link") 2>conftest.er1
38421 ac_status=$?
38422 grep -v '^ *+' conftest.er1 >conftest.err
38423 rm -f conftest.er1
38424 cat conftest.err >&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } && {
38427 test -z "$ac_c_werror_flag" ||
38428 test ! -s conftest.err
38429 } && test -s conftest$ac_exeext &&
38430 $as_test_x conftest$ac_exeext; then
38431 eval "$as_ac_Lib=yes"
38432 else
38433 echo "$as_me: failed program was:" >&5
38434 sed 's/^/| /' conftest.$ac_ext >&5
38435
38436 eval "$as_ac_Lib=no"
38437 fi
38438
38439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38440 conftest$ac_exeext conftest.$ac_ext
38441 LIBS=$ac_check_lib_save_LIBS
38442 fi
38443 ac_res=`eval echo '${'$as_ac_Lib'}'`
38444 { echo "$as_me:$LINENO: result: $ac_res" >&5
38445 echo "${ECHO_T}$ac_res" >&6; }
38446 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38447 cat >>confdefs.h <<\_ACEOF
38448 #define HAVE_INET_ATON 1
38449 _ACEOF
38450
38451 fi
38452
38453
38454 fi
38455 done
38456
38457
38458 if test "x$INET_LINK" != "x"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define HAVE_INET_ADDR 1
38461 _ACEOF
38462
38463 INET_LINK=" -l$INET_LINK"
38464 fi
38465
38466
38467 for wx_func in fdopen
38468 do
38469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38473 else
38474
38475 cat >conftest.$ac_ext <<_ACEOF
38476
38477 /* confdefs.h. */
38478 _ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38482
38483
38484 $ac_includes_default
38485
38486 int
38487 main ()
38488 {
38489
38490 #ifndef $wx_func
38491 &$wx_func;
38492 #endif
38493
38494
38495 ;
38496 return 0;
38497 }
38498
38499 _ACEOF
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (ac_try="$ac_link"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38504 *) ac_try_echo=$ac_try;;
38505 esac
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_link") 2>conftest.er1
38508 ac_status=$?
38509 grep -v '^ *+' conftest.er1 >conftest.err
38510 rm -f conftest.er1
38511 cat conftest.err >&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest$ac_exeext &&
38517 $as_test_x conftest$ac_exeext; then
38518 eval wx_cv_func_$wx_func=yes
38519 else
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.$ac_ext >&5
38522
38523 eval wx_cv_func_$wx_func=no
38524 fi
38525
38526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38527 conftest$ac_exeext conftest.$ac_ext
38528
38529 fi
38530 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38531 { echo "$as_me:$LINENO: result: $ac_res" >&5
38532 echo "${ECHO_T}$ac_res" >&6; }
38533
38534 if eval test \$wx_cv_func_$wx_func = yes
38535 then
38536 cat >>confdefs.h <<_ACEOF
38537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38538 _ACEOF
38539
38540
38541 else
38542 :
38543
38544 fi
38545 done
38546
38547
38548 if test "$wxUSE_TARSTREAM" = "yes"; then
38549
38550 for wx_func in sysconf
38551 do
38552 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38553 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38554 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38556 else
38557
38558 cat >conftest.$ac_ext <<_ACEOF
38559
38560 /* confdefs.h. */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565
38566
38567 $ac_includes_default
38568
38569 int
38570 main ()
38571 {
38572
38573 #ifndef $wx_func
38574 &$wx_func;
38575 #endif
38576
38577
38578 ;
38579 return 0;
38580 }
38581
38582 _ACEOF
38583 rm -f conftest.$ac_objext conftest$ac_exeext
38584 if { (ac_try="$ac_link"
38585 case "(($ac_try" in
38586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38587 *) ac_try_echo=$ac_try;;
38588 esac
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_link") 2>conftest.er1
38591 ac_status=$?
38592 grep -v '^ *+' conftest.er1 >conftest.err
38593 rm -f conftest.er1
38594 cat conftest.err >&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); } && {
38597 test -z "$ac_c_werror_flag" ||
38598 test ! -s conftest.err
38599 } && test -s conftest$ac_exeext &&
38600 $as_test_x conftest$ac_exeext; then
38601 eval wx_cv_func_$wx_func=yes
38602 else
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38605
38606 eval wx_cv_func_$wx_func=no
38607 fi
38608
38609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38610 conftest$ac_exeext conftest.$ac_ext
38611
38612 fi
38613 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38614 { echo "$as_me:$LINENO: result: $ac_res" >&5
38615 echo "${ECHO_T}$ac_res" >&6; }
38616
38617 if eval test \$wx_cv_func_$wx_func = yes
38618 then
38619 cat >>confdefs.h <<_ACEOF
38620 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38621 _ACEOF
38622
38623
38624 else
38625 :
38626
38627 fi
38628 done
38629
38630
38631
38632 for wx_func in getpwuid_r
38633 do
38634 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38635 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38636 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 else
38639
38640 cat >conftest.$ac_ext <<_ACEOF
38641
38642 /* confdefs.h. */
38643 _ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38647
38648
38649 #define _REENTRANT
38650 #include <pwd.h>
38651
38652 $ac_includes_default
38653
38654 int
38655 main ()
38656 {
38657
38658 #ifndef $wx_func
38659 &$wx_func;
38660 #endif
38661
38662 struct passwd pw, *ppw;
38663 char buf[1024];
38664 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38665
38666
38667 ;
38668 return 0;
38669 }
38670
38671 _ACEOF
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38676 *) ac_try_echo=$ac_try;;
38677 esac
38678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38680 ac_status=$?
38681 grep -v '^ *+' conftest.er1 >conftest.err
38682 rm -f conftest.er1
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest$ac_exeext &&
38689 $as_test_x conftest$ac_exeext; then
38690 eval wx_cv_func_$wx_func=yes
38691 else
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38694
38695 eval wx_cv_func_$wx_func=no
38696 fi
38697
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38700
38701 fi
38702 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38703 { echo "$as_me:$LINENO: result: $ac_res" >&5
38704 echo "${ECHO_T}$ac_res" >&6; }
38705
38706 if eval test \$wx_cv_func_$wx_func = yes
38707 then
38708 cat >>confdefs.h <<_ACEOF
38709 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38710 _ACEOF
38711
38712
38713 else
38714 :
38715
38716 fi
38717 done
38718
38719
38720
38721 for wx_func in getgrgid_r
38722 do
38723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38725 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38726 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 else
38728
38729 cat >conftest.$ac_ext <<_ACEOF
38730
38731 /* confdefs.h. */
38732 _ACEOF
38733 cat confdefs.h >>conftest.$ac_ext
38734 cat >>conftest.$ac_ext <<_ACEOF
38735 /* end confdefs.h. */
38736
38737
38738 #define _REENTRANT
38739 #include <grp.h>
38740
38741 $ac_includes_default
38742
38743 int
38744 main ()
38745 {
38746
38747 #ifndef $wx_func
38748 &$wx_func;
38749 #endif
38750
38751 struct group grp, *pgrp;
38752 char buf[1024];
38753 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38754
38755
38756 ;
38757 return 0;
38758 }
38759
38760 _ACEOF
38761 rm -f conftest.$ac_objext conftest$ac_exeext
38762 if { (ac_try="$ac_link"
38763 case "(($ac_try" in
38764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38765 *) ac_try_echo=$ac_try;;
38766 esac
38767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38768 (eval "$ac_link") 2>conftest.er1
38769 ac_status=$?
38770 grep -v '^ *+' conftest.er1 >conftest.err
38771 rm -f conftest.er1
38772 cat conftest.err >&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } && {
38775 test -z "$ac_c_werror_flag" ||
38776 test ! -s conftest.err
38777 } && test -s conftest$ac_exeext &&
38778 $as_test_x conftest$ac_exeext; then
38779 eval wx_cv_func_$wx_func=yes
38780 else
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.$ac_ext >&5
38783
38784 eval wx_cv_func_$wx_func=no
38785 fi
38786
38787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38788 conftest$ac_exeext conftest.$ac_ext
38789
38790 fi
38791 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38792 { echo "$as_me:$LINENO: result: $ac_res" >&5
38793 echo "${ECHO_T}$ac_res" >&6; }
38794
38795 if eval test \$wx_cv_func_$wx_func = yes
38796 then
38797 cat >>confdefs.h <<_ACEOF
38798 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38799 _ACEOF
38800
38801
38802 else
38803 :
38804
38805 fi
38806 done
38807
38808 fi
38809
38810 fi
38811
38812
38813
38814 cat >confcache <<\_ACEOF
38815 # This file is a shell script that caches the results of configure
38816 # tests run on this system so they can be shared between configure
38817 # scripts and configure runs, see configure's option --config-cache.
38818 # It is not useful on other systems. If it contains results you don't
38819 # want to keep, you may remove or edit it.
38820 #
38821 # config.status only pays attention to the cache file if you give it
38822 # the --recheck option to rerun configure.
38823 #
38824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38826 # following values.
38827
38828 _ACEOF
38829
38830 # The following way of writing the cache mishandles newlines in values,
38831 # but we know of no workaround that is simple, portable, and efficient.
38832 # So, we kill variables containing newlines.
38833 # Ultrix sh set writes to stderr and can't be redirected directly,
38834 # and sets the high bit in the cache file unless we assign to the vars.
38835 (
38836 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38837 eval ac_val=\$$ac_var
38838 case $ac_val in #(
38839 *${as_nl}*)
38840 case $ac_var in #(
38841 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38842 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38843 esac
38844 case $ac_var in #(
38845 _ | IFS | as_nl) ;; #(
38846 *) $as_unset $ac_var ;;
38847 esac ;;
38848 esac
38849 done
38850
38851 (set) 2>&1 |
38852 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38853 *${as_nl}ac_space=\ *)
38854 # `set' does not quote correctly, so add quotes (double-quote
38855 # substitution turns \\\\ into \\, and sed turns \\ into \).
38856 sed -n \
38857 "s/'/'\\\\''/g;
38858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38859 ;; #(
38860 *)
38861 # `set' quotes correctly as required by POSIX, so do not add quotes.
38862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38863 ;;
38864 esac |
38865 sort
38866 ) |
38867 sed '
38868 /^ac_cv_env_/b end
38869 t clear
38870 :clear
38871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38872 t end
38873 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38874 :end' >>confcache
38875 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38876 if test -w "$cache_file"; then
38877 test "x$cache_file" != "x/dev/null" &&
38878 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38879 echo "$as_me: updating cache $cache_file" >&6;}
38880 cat confcache >$cache_file
38881 else
38882 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38883 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38884 fi
38885 fi
38886 rm -f confcache
38887
38888
38889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38890
38891
38892 THREADS_LINK=
38893 THREADS_CFLAGS=
38894
38895 if test "$wxUSE_THREADS" = "yes" ; then
38896 if test "$USE_BEOS" = 1; then
38897 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38898 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38899 wxUSE_THREADS="no"
38900 fi
38901 fi
38902
38903 if test "$wxUSE_THREADS" = "yes" ; then
38904
38905
38906 THREAD_OPTS="-pthread"
38907 if test "x$SUNCXX" = xyes; then
38908 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38909 fi
38910
38911 case "${host}" in
38912 *-*-solaris2* | *-*-sunos4* )
38913 if test "x$GCC" = "xyes"; then
38914 THREAD_OPTS="-pthreads $THREAD_OPTS"
38915 fi
38916 ;;
38917 *-*-freebsd*)
38918 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38919 ;;
38920 *-*-darwin* | *-*-cygwin* )
38921 THREAD_OPTS=""
38922 ;;
38923 *-*-aix*)
38924 THREAD_OPTS="pthreads"
38925 ;;
38926 *-hp-hpux* )
38927 if test "x$GCC" = "xyes"; then
38928 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38929 THREAD_OPTS=""
38930 else
38931 THREAD_OPTS="-mt"
38932 fi
38933 ;;
38934
38935 *-*-irix* )
38936 if test "x$GCC" = "xyes"; then
38937 THREAD_OPTS=""
38938 fi
38939 ;;
38940
38941 *-*-*UnixWare*)
38942 if test "x$GCC" != "xyes"; then
38943 THREAD_OPTS="-Ethread"
38944 fi
38945 ;;
38946 esac
38947
38948 THREAD_OPTS="$THREAD_OPTS pthread none"
38949
38950 THREADS_OK=no
38951 for flag in $THREAD_OPTS; do
38952 case $flag in
38953 none)
38954 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38955 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38956 ;;
38957
38958 -*)
38959 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38960 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38961 THREADS_CFLAGS="$flag"
38962 ;;
38963
38964 *)
38965 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38966 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38967 THREADS_LINK="-l$flag"
38968 ;;
38969 esac
38970
38971 save_LIBS="$LIBS"
38972 save_CFLAGS="$CFLAGS"
38973 LIBS="$THREADS_LINK $LIBS"
38974 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38975
38976 cat >conftest.$ac_ext <<_ACEOF
38977 /* confdefs.h. */
38978 _ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982 #include <pthread.h>
38983 int
38984 main ()
38985 {
38986 pthread_create(0,0,0,0);
38987 ;
38988 return 0;
38989 }
38990 _ACEOF
38991 rm -f conftest.$ac_objext conftest$ac_exeext
38992 if { (ac_try="$ac_link"
38993 case "(($ac_try" in
38994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38995 *) ac_try_echo=$ac_try;;
38996 esac
38997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38998 (eval "$ac_link") 2>conftest.er1
38999 ac_status=$?
39000 grep -v '^ *+' conftest.er1 >conftest.err
39001 rm -f conftest.er1
39002 cat conftest.err >&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } && {
39005 test -z "$ac_c_werror_flag" ||
39006 test ! -s conftest.err
39007 } && test -s conftest$ac_exeext &&
39008 $as_test_x conftest$ac_exeext; then
39009 THREADS_OK=yes
39010 else
39011 echo "$as_me: failed program was:" >&5
39012 sed 's/^/| /' conftest.$ac_ext >&5
39013
39014
39015 fi
39016
39017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39018 conftest$ac_exeext conftest.$ac_ext
39019
39020 LIBS="$save_LIBS"
39021 CFLAGS="$save_CFLAGS"
39022
39023 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39024 echo "${ECHO_T}$THREADS_OK" >&6; }
39025 if test "x$THREADS_OK" = "xyes"; then
39026 break;
39027 fi
39028
39029 THREADS_LINK=""
39030 THREADS_CFLAGS=""
39031 done
39032
39033 if test "x$THREADS_OK" != "xyes"; then
39034 wxUSE_THREADS=no
39035 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39036 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39037 else
39038 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39039 LIBS="$THREADS_LINK $LIBS"
39040
39041 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39042 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39043 flag=no
39044 case "${host}" in
39045 *-aix*)
39046 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39047 flag="-D_THREAD_SAFE"
39048 ;;
39049 *-freebsd*)
39050 flag="-D_THREAD_SAFE"
39051 ;;
39052 *-hp-hpux* )
39053 flag="-D_REENTRANT"
39054 if test "x$GCC" != "xyes"; then
39055 flag="$flag -D_RWSTD_MULTI_THREAD"
39056 fi
39057 ;;
39058 *solaris* | alpha*-osf*)
39059 flag="-D_REENTRANT"
39060 ;;
39061 esac
39062 { echo "$as_me:$LINENO: result: ${flag}" >&5
39063 echo "${ECHO_T}${flag}" >&6; }
39064 if test "x$flag" != xno; then
39065 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39066 fi
39067
39068 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39069 fi
39070 fi
39071
39072 if test "$wxUSE_THREADS" = "yes" ; then
39073
39074 for ac_func in thr_setconcurrency
39075 do
39076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39077 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 else
39082 cat >conftest.$ac_ext <<_ACEOF
39083 /* confdefs.h. */
39084 _ACEOF
39085 cat confdefs.h >>conftest.$ac_ext
39086 cat >>conftest.$ac_ext <<_ACEOF
39087 /* end confdefs.h. */
39088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39090 #define $ac_func innocuous_$ac_func
39091
39092 /* System header to define __stub macros and hopefully few prototypes,
39093 which can conflict with char $ac_func (); below.
39094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39095 <limits.h> exists even on freestanding compilers. */
39096
39097 #ifdef __STDC__
39098 # include <limits.h>
39099 #else
39100 # include <assert.h>
39101 #endif
39102
39103 #undef $ac_func
39104
39105 /* Override any GCC internal prototype to avoid an error.
39106 Use char because int might match the return type of a GCC
39107 builtin and then its argument prototype would still apply. */
39108 #ifdef __cplusplus
39109 extern "C"
39110 #endif
39111 char $ac_func ();
39112 /* The GNU C library defines this for functions which it implements
39113 to always fail with ENOSYS. Some functions are actually named
39114 something starting with __ and the normal name is an alias. */
39115 #if defined __stub_$ac_func || defined __stub___$ac_func
39116 choke me
39117 #endif
39118
39119 int
39120 main ()
39121 {
39122 return $ac_func ();
39123 ;
39124 return 0;
39125 }
39126 _ACEOF
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (ac_try="$ac_link"
39129 case "(($ac_try" in
39130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39131 *) ac_try_echo=$ac_try;;
39132 esac
39133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39134 (eval "$ac_link") 2>conftest.er1
39135 ac_status=$?
39136 grep -v '^ *+' conftest.er1 >conftest.err
39137 rm -f conftest.er1
39138 cat conftest.err >&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); } && {
39141 test -z "$ac_c_werror_flag" ||
39142 test ! -s conftest.err
39143 } && test -s conftest$ac_exeext &&
39144 $as_test_x conftest$ac_exeext; then
39145 eval "$as_ac_var=yes"
39146 else
39147 echo "$as_me: failed program was:" >&5
39148 sed 's/^/| /' conftest.$ac_ext >&5
39149
39150 eval "$as_ac_var=no"
39151 fi
39152
39153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39154 conftest$ac_exeext conftest.$ac_ext
39155 fi
39156 ac_res=`eval echo '${'$as_ac_var'}'`
39157 { echo "$as_me:$LINENO: result: $ac_res" >&5
39158 echo "${ECHO_T}$ac_res" >&6; }
39159 if test `eval echo '${'$as_ac_var'}'` = yes; then
39160 cat >>confdefs.h <<_ACEOF
39161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39162 _ACEOF
39163
39164 fi
39165 done
39166
39167
39168 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39169 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39170 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39172 else
39173
39174 ac_ext=cpp
39175 ac_cpp='$CXXCPP $CPPFLAGS'
39176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39179
39180 cat >conftest.$ac_ext <<_ACEOF
39181 /* confdefs.h. */
39182 _ACEOF
39183 cat confdefs.h >>conftest.$ac_ext
39184 cat >>conftest.$ac_ext <<_ACEOF
39185 /* end confdefs.h. */
39186 #include <pthread.h>
39187 void ThreadCleanupFunc(void *p);
39188
39189 int
39190 main ()
39191 {
39192
39193 void *p;
39194 pthread_cleanup_push(ThreadCleanupFunc, p);
39195 pthread_cleanup_pop(0);
39196
39197 ;
39198 return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext
39202 if { (ac_try="$ac_compile"
39203 case "(($ac_try" in
39204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39205 *) ac_try_echo=$ac_try;;
39206 esac
39207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39208 (eval "$ac_compile") 2>conftest.er1
39209 ac_status=$?
39210 grep -v '^ *+' conftest.er1 >conftest.err
39211 rm -f conftest.er1
39212 cat conftest.err >&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } && {
39215 test -z "$ac_cxx_werror_flag" ||
39216 test ! -s conftest.err
39217 } && test -s conftest.$ac_objext; then
39218
39219 wx_cv_func_pthread_cleanup=yes
39220
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39224
39225
39226 wx_cv_func_pthread_cleanup=no
39227
39228
39229 fi
39230
39231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39232 ac_ext=c
39233 ac_cpp='$CPP $CPPFLAGS'
39234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39237
39238
39239 fi
39240 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39241 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39242 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39243 cat >>confdefs.h <<\_ACEOF
39244 #define wxHAVE_PTHREAD_CLEANUP 1
39245 _ACEOF
39246
39247 fi
39248
39249
39250 for ac_header in sched.h
39251 do
39252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39257 else
39258 cat >conftest.$ac_ext <<_ACEOF
39259 /* confdefs.h. */
39260 _ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 $ac_includes_default
39265
39266 #include <$ac_header>
39267 _ACEOF
39268 rm -f conftest.$ac_objext
39269 if { (ac_try="$ac_compile"
39270 case "(($ac_try" in
39271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39272 *) ac_try_echo=$ac_try;;
39273 esac
39274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39275 (eval "$ac_compile") 2>conftest.er1
39276 ac_status=$?
39277 grep -v '^ *+' conftest.er1 >conftest.err
39278 rm -f conftest.er1
39279 cat conftest.err >&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); } && {
39282 test -z "$ac_c_werror_flag" ||
39283 test ! -s conftest.err
39284 } && test -s conftest.$ac_objext; then
39285 eval "$as_ac_Header=yes"
39286 else
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39289
39290 eval "$as_ac_Header=no"
39291 fi
39292
39293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39294 fi
39295 ac_res=`eval echo '${'$as_ac_Header'}'`
39296 { echo "$as_me:$LINENO: result: $ac_res" >&5
39297 echo "${ECHO_T}$ac_res" >&6; }
39298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39299 cat >>confdefs.h <<_ACEOF
39300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39301 _ACEOF
39302
39303 fi
39304
39305 done
39306
39307 if test "$ac_cv_header_sched_h" = "yes"; then
39308 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39309 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39310 if test "${ac_cv_func_sched_yield+set}" = set; then
39311 echo $ECHO_N "(cached) $ECHO_C" >&6
39312 else
39313 cat >conftest.$ac_ext <<_ACEOF
39314 /* confdefs.h. */
39315 _ACEOF
39316 cat confdefs.h >>conftest.$ac_ext
39317 cat >>conftest.$ac_ext <<_ACEOF
39318 /* end confdefs.h. */
39319 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39321 #define sched_yield innocuous_sched_yield
39322
39323 /* System header to define __stub macros and hopefully few prototypes,
39324 which can conflict with char sched_yield (); below.
39325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39326 <limits.h> exists even on freestanding compilers. */
39327
39328 #ifdef __STDC__
39329 # include <limits.h>
39330 #else
39331 # include <assert.h>
39332 #endif
39333
39334 #undef sched_yield
39335
39336 /* Override any GCC internal prototype to avoid an error.
39337 Use char because int might match the return type of a GCC
39338 builtin and then its argument prototype would still apply. */
39339 #ifdef __cplusplus
39340 extern "C"
39341 #endif
39342 char sched_yield ();
39343 /* The GNU C library defines this for functions which it implements
39344 to always fail with ENOSYS. Some functions are actually named
39345 something starting with __ and the normal name is an alias. */
39346 #if defined __stub_sched_yield || defined __stub___sched_yield
39347 choke me
39348 #endif
39349
39350 int
39351 main ()
39352 {
39353 return sched_yield ();
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (ac_try="$ac_link"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39363 esac
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_link") 2>conftest.er1
39366 ac_status=$?
39367 grep -v '^ *+' conftest.er1 >conftest.err
39368 rm -f conftest.er1
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest$ac_exeext &&
39375 $as_test_x conftest$ac_exeext; then
39376 ac_cv_func_sched_yield=yes
39377 else
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 ac_cv_func_sched_yield=no
39382 fi
39383
39384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39385 conftest$ac_exeext conftest.$ac_ext
39386 fi
39387 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39388 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39389 if test $ac_cv_func_sched_yield = yes; then
39390 cat >>confdefs.h <<\_ACEOF
39391 #define HAVE_SCHED_YIELD 1
39392 _ACEOF
39393
39394 else
39395
39396 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39397 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39398 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401 ac_check_lib_save_LIBS=$LIBS
39402 LIBS="-lposix4 $LIBS"
39403 cat >conftest.$ac_ext <<_ACEOF
39404 /* confdefs.h. */
39405 _ACEOF
39406 cat confdefs.h >>conftest.$ac_ext
39407 cat >>conftest.$ac_ext <<_ACEOF
39408 /* end confdefs.h. */
39409
39410 /* Override any GCC internal prototype to avoid an error.
39411 Use char because int might match the return type of a GCC
39412 builtin and then its argument prototype would still apply. */
39413 #ifdef __cplusplus
39414 extern "C"
39415 #endif
39416 char sched_yield ();
39417 int
39418 main ()
39419 {
39420 return sched_yield ();
39421 ;
39422 return 0;
39423 }
39424 _ACEOF
39425 rm -f conftest.$ac_objext conftest$ac_exeext
39426 if { (ac_try="$ac_link"
39427 case "(($ac_try" in
39428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39429 *) ac_try_echo=$ac_try;;
39430 esac
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_link") 2>conftest.er1
39433 ac_status=$?
39434 grep -v '^ *+' conftest.er1 >conftest.err
39435 rm -f conftest.er1
39436 cat conftest.err >&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest$ac_exeext &&
39442 $as_test_x conftest$ac_exeext; then
39443 ac_cv_lib_posix4_sched_yield=yes
39444 else
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.$ac_ext >&5
39447
39448 ac_cv_lib_posix4_sched_yield=no
39449 fi
39450
39451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39452 conftest$ac_exeext conftest.$ac_ext
39453 LIBS=$ac_check_lib_save_LIBS
39454 fi
39455 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39456 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39457 if test $ac_cv_lib_posix4_sched_yield = yes; then
39458 cat >>confdefs.h <<\_ACEOF
39459 #define HAVE_SCHED_YIELD 1
39460 _ACEOF
39461 POSIX4_LINK=" -lposix4"
39462 else
39463 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39464 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39465
39466 fi
39467
39468
39469
39470 fi
39471
39472 fi
39473
39474 HAVE_PRIOR_FUNCS=0
39475 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39476 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39477 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 else
39480 cat >conftest.$ac_ext <<_ACEOF
39481 /* confdefs.h. */
39482 _ACEOF
39483 cat confdefs.h >>conftest.$ac_ext
39484 cat >>conftest.$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39489
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char pthread_attr_getschedpolicy (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39494
39495 #ifdef __STDC__
39496 # include <limits.h>
39497 #else
39498 # include <assert.h>
39499 #endif
39500
39501 #undef pthread_attr_getschedpolicy
39502
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39506 #ifdef __cplusplus
39507 extern "C"
39508 #endif
39509 char pthread_attr_getschedpolicy ();
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39514 choke me
39515 #endif
39516
39517 int
39518 main ()
39519 {
39520 return pthread_attr_getschedpolicy ();
39521 ;
39522 return 0;
39523 }
39524 _ACEOF
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (ac_try="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39529 *) ac_try_echo=$ac_try;;
39530 esac
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39533 ac_status=$?
39534 grep -v '^ *+' conftest.er1 >conftest.err
39535 rm -f conftest.er1
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest$ac_exeext &&
39542 $as_test_x conftest$ac_exeext; then
39543 ac_cv_func_pthread_attr_getschedpolicy=yes
39544 else
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39547
39548 ac_cv_func_pthread_attr_getschedpolicy=no
39549 fi
39550
39551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39552 conftest$ac_exeext conftest.$ac_ext
39553 fi
39554 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39555 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39556 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39557 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39558 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39559 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39560 echo $ECHO_N "(cached) $ECHO_C" >&6
39561 else
39562 cat >conftest.$ac_ext <<_ACEOF
39563 /* confdefs.h. */
39564 _ACEOF
39565 cat confdefs.h >>conftest.$ac_ext
39566 cat >>conftest.$ac_ext <<_ACEOF
39567 /* end confdefs.h. */
39568 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39570 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39571
39572 /* System header to define __stub macros and hopefully few prototypes,
39573 which can conflict with char pthread_attr_setschedparam (); below.
39574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39575 <limits.h> exists even on freestanding compilers. */
39576
39577 #ifdef __STDC__
39578 # include <limits.h>
39579 #else
39580 # include <assert.h>
39581 #endif
39582
39583 #undef pthread_attr_setschedparam
39584
39585 /* Override any GCC internal prototype to avoid an error.
39586 Use char because int might match the return type of a GCC
39587 builtin and then its argument prototype would still apply. */
39588 #ifdef __cplusplus
39589 extern "C"
39590 #endif
39591 char pthread_attr_setschedparam ();
39592 /* The GNU C library defines this for functions which it implements
39593 to always fail with ENOSYS. Some functions are actually named
39594 something starting with __ and the normal name is an alias. */
39595 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39596 choke me
39597 #endif
39598
39599 int
39600 main ()
39601 {
39602 return pthread_attr_setschedparam ();
39603 ;
39604 return 0;
39605 }
39606 _ACEOF
39607 rm -f conftest.$ac_objext conftest$ac_exeext
39608 if { (ac_try="$ac_link"
39609 case "(($ac_try" in
39610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39611 *) ac_try_echo=$ac_try;;
39612 esac
39613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39614 (eval "$ac_link") 2>conftest.er1
39615 ac_status=$?
39616 grep -v '^ *+' conftest.er1 >conftest.err
39617 rm -f conftest.er1
39618 cat conftest.err >&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); } && {
39621 test -z "$ac_c_werror_flag" ||
39622 test ! -s conftest.err
39623 } && test -s conftest$ac_exeext &&
39624 $as_test_x conftest$ac_exeext; then
39625 ac_cv_func_pthread_attr_setschedparam=yes
39626 else
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.$ac_ext >&5
39629
39630 ac_cv_func_pthread_attr_setschedparam=no
39631 fi
39632
39633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39634 conftest$ac_exeext conftest.$ac_ext
39635 fi
39636 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39637 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39638 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39639 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39640 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39641 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39642 echo $ECHO_N "(cached) $ECHO_C" >&6
39643 else
39644 cat >conftest.$ac_ext <<_ACEOF
39645 /* confdefs.h. */
39646 _ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39650 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39652 #define sched_get_priority_max innocuous_sched_get_priority_max
39653
39654 /* System header to define __stub macros and hopefully few prototypes,
39655 which can conflict with char sched_get_priority_max (); below.
39656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39657 <limits.h> exists even on freestanding compilers. */
39658
39659 #ifdef __STDC__
39660 # include <limits.h>
39661 #else
39662 # include <assert.h>
39663 #endif
39664
39665 #undef sched_get_priority_max
39666
39667 /* Override any GCC internal prototype to avoid an error.
39668 Use char because int might match the return type of a GCC
39669 builtin and then its argument prototype would still apply. */
39670 #ifdef __cplusplus
39671 extern "C"
39672 #endif
39673 char sched_get_priority_max ();
39674 /* The GNU C library defines this for functions which it implements
39675 to always fail with ENOSYS. Some functions are actually named
39676 something starting with __ and the normal name is an alias. */
39677 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39678 choke me
39679 #endif
39680
39681 int
39682 main ()
39683 {
39684 return sched_get_priority_max ();
39685 ;
39686 return 0;
39687 }
39688 _ACEOF
39689 rm -f conftest.$ac_objext conftest$ac_exeext
39690 if { (ac_try="$ac_link"
39691 case "(($ac_try" in
39692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39693 *) ac_try_echo=$ac_try;;
39694 esac
39695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39696 (eval "$ac_link") 2>conftest.er1
39697 ac_status=$?
39698 grep -v '^ *+' conftest.er1 >conftest.err
39699 rm -f conftest.er1
39700 cat conftest.err >&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } && {
39703 test -z "$ac_c_werror_flag" ||
39704 test ! -s conftest.err
39705 } && test -s conftest$ac_exeext &&
39706 $as_test_x conftest$ac_exeext; then
39707 ac_cv_func_sched_get_priority_max=yes
39708 else
39709 echo "$as_me: failed program was:" >&5
39710 sed 's/^/| /' conftest.$ac_ext >&5
39711
39712 ac_cv_func_sched_get_priority_max=no
39713 fi
39714
39715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39716 conftest$ac_exeext conftest.$ac_ext
39717 fi
39718 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39719 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39720 if test $ac_cv_func_sched_get_priority_max = yes; then
39721 HAVE_PRIOR_FUNCS=1
39722 else
39723 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39724 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39725 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728 ac_check_lib_save_LIBS=$LIBS
39729 LIBS="-lposix4 $LIBS"
39730 cat >conftest.$ac_ext <<_ACEOF
39731 /* confdefs.h. */
39732 _ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39736
39737 /* Override any GCC internal prototype to avoid an error.
39738 Use char because int might match the return type of a GCC
39739 builtin and then its argument prototype would still apply. */
39740 #ifdef __cplusplus
39741 extern "C"
39742 #endif
39743 char sched_get_priority_max ();
39744 int
39745 main ()
39746 {
39747 return sched_get_priority_max ();
39748 ;
39749 return 0;
39750 }
39751 _ACEOF
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (ac_try="$ac_link"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39756 *) ac_try_echo=$ac_try;;
39757 esac
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_link") 2>conftest.er1
39760 ac_status=$?
39761 grep -v '^ *+' conftest.er1 >conftest.err
39762 rm -f conftest.er1
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest$ac_exeext &&
39769 $as_test_x conftest$ac_exeext; then
39770 ac_cv_lib_posix4_sched_get_priority_max=yes
39771 else
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39774
39775 ac_cv_lib_posix4_sched_get_priority_max=no
39776 fi
39777
39778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39779 conftest$ac_exeext conftest.$ac_ext
39780 LIBS=$ac_check_lib_save_LIBS
39781 fi
39782 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39783 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39784 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39785
39786 HAVE_PRIOR_FUNCS=1
39787 POSIX4_LINK=" -lposix4"
39788
39789 fi
39790
39791
39792 fi
39793
39794
39795 fi
39796
39797
39798 fi
39799
39800
39801 if test "$HAVE_PRIOR_FUNCS" = 1; then
39802 cat >>confdefs.h <<\_ACEOF
39803 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39804 _ACEOF
39805
39806 else
39807 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39808 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39809 fi
39810
39811 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39812 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39813 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 else
39816 cat >conftest.$ac_ext <<_ACEOF
39817 /* confdefs.h. */
39818 _ACEOF
39819 cat confdefs.h >>conftest.$ac_ext
39820 cat >>conftest.$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39822 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39824 #define pthread_cancel innocuous_pthread_cancel
39825
39826 /* System header to define __stub macros and hopefully few prototypes,
39827 which can conflict with char pthread_cancel (); below.
39828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39829 <limits.h> exists even on freestanding compilers. */
39830
39831 #ifdef __STDC__
39832 # include <limits.h>
39833 #else
39834 # include <assert.h>
39835 #endif
39836
39837 #undef pthread_cancel
39838
39839 /* Override any GCC internal prototype to avoid an error.
39840 Use char because int might match the return type of a GCC
39841 builtin and then its argument prototype would still apply. */
39842 #ifdef __cplusplus
39843 extern "C"
39844 #endif
39845 char pthread_cancel ();
39846 /* The GNU C library defines this for functions which it implements
39847 to always fail with ENOSYS. Some functions are actually named
39848 something starting with __ and the normal name is an alias. */
39849 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39850 choke me
39851 #endif
39852
39853 int
39854 main ()
39855 {
39856 return pthread_cancel ();
39857 ;
39858 return 0;
39859 }
39860 _ACEOF
39861 rm -f conftest.$ac_objext conftest$ac_exeext
39862 if { (ac_try="$ac_link"
39863 case "(($ac_try" in
39864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39866 esac
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_link") 2>conftest.er1
39869 ac_status=$?
39870 grep -v '^ *+' conftest.er1 >conftest.err
39871 rm -f conftest.er1
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_c_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest$ac_exeext &&
39878 $as_test_x conftest$ac_exeext; then
39879 ac_cv_func_pthread_cancel=yes
39880 else
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39883
39884 ac_cv_func_pthread_cancel=no
39885 fi
39886
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888 conftest$ac_exeext conftest.$ac_ext
39889 fi
39890 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39891 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39892 if test $ac_cv_func_pthread_cancel = yes; then
39893 cat >>confdefs.h <<\_ACEOF
39894 #define HAVE_PTHREAD_CANCEL 1
39895 _ACEOF
39896
39897 else
39898 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39899 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39900 fi
39901
39902
39903 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39904 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39905 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39906 echo $ECHO_N "(cached) $ECHO_C" >&6
39907 else
39908 cat >conftest.$ac_ext <<_ACEOF
39909 /* confdefs.h. */
39910 _ACEOF
39911 cat confdefs.h >>conftest.$ac_ext
39912 cat >>conftest.$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39914 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39916 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39917
39918 /* System header to define __stub macros and hopefully few prototypes,
39919 which can conflict with char pthread_mutex_timedlock (); below.
39920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39921 <limits.h> exists even on freestanding compilers. */
39922
39923 #ifdef __STDC__
39924 # include <limits.h>
39925 #else
39926 # include <assert.h>
39927 #endif
39928
39929 #undef pthread_mutex_timedlock
39930
39931 /* Override any GCC internal prototype to avoid an error.
39932 Use char because int might match the return type of a GCC
39933 builtin and then its argument prototype would still apply. */
39934 #ifdef __cplusplus
39935 extern "C"
39936 #endif
39937 char pthread_mutex_timedlock ();
39938 /* The GNU C library defines this for functions which it implements
39939 to always fail with ENOSYS. Some functions are actually named
39940 something starting with __ and the normal name is an alias. */
39941 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39942 choke me
39943 #endif
39944
39945 int
39946 main ()
39947 {
39948 return pthread_mutex_timedlock ();
39949 ;
39950 return 0;
39951 }
39952 _ACEOF
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (ac_try="$ac_link"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39958 esac
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_link") 2>conftest.er1
39961 ac_status=$?
39962 grep -v '^ *+' conftest.er1 >conftest.err
39963 rm -f conftest.er1
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest$ac_exeext &&
39970 $as_test_x conftest$ac_exeext; then
39971 ac_cv_func_pthread_mutex_timedlock=yes
39972 else
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39975
39976 ac_cv_func_pthread_mutex_timedlock=no
39977 fi
39978
39979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39980 conftest$ac_exeext conftest.$ac_ext
39981 fi
39982 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39983 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39984 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39985 cat >>confdefs.h <<\_ACEOF
39986 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39987 _ACEOF
39988
39989 else
39990 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39991 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39992 fi
39993
39994
39995 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39996 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39997 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39998 echo $ECHO_N "(cached) $ECHO_C" >&6
39999 else
40000 cat >conftest.$ac_ext <<_ACEOF
40001 /* confdefs.h. */
40002 _ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40008 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40009
40010 /* System header to define __stub macros and hopefully few prototypes,
40011 which can conflict with char pthread_attr_setstacksize (); below.
40012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40013 <limits.h> exists even on freestanding compilers. */
40014
40015 #ifdef __STDC__
40016 # include <limits.h>
40017 #else
40018 # include <assert.h>
40019 #endif
40020
40021 #undef pthread_attr_setstacksize
40022
40023 /* Override any GCC internal prototype to avoid an error.
40024 Use char because int might match the return type of a GCC
40025 builtin and then its argument prototype would still apply. */
40026 #ifdef __cplusplus
40027 extern "C"
40028 #endif
40029 char pthread_attr_setstacksize ();
40030 /* The GNU C library defines this for functions which it implements
40031 to always fail with ENOSYS. Some functions are actually named
40032 something starting with __ and the normal name is an alias. */
40033 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40034 choke me
40035 #endif
40036
40037 int
40038 main ()
40039 {
40040 return pthread_attr_setstacksize ();
40041 ;
40042 return 0;
40043 }
40044 _ACEOF
40045 rm -f conftest.$ac_objext conftest$ac_exeext
40046 if { (ac_try="$ac_link"
40047 case "(($ac_try" in
40048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40049 *) ac_try_echo=$ac_try;;
40050 esac
40051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40052 (eval "$ac_link") 2>conftest.er1
40053 ac_status=$?
40054 grep -v '^ *+' conftest.er1 >conftest.err
40055 rm -f conftest.er1
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } && {
40059 test -z "$ac_c_werror_flag" ||
40060 test ! -s conftest.err
40061 } && test -s conftest$ac_exeext &&
40062 $as_test_x conftest$ac_exeext; then
40063 ac_cv_func_pthread_attr_setstacksize=yes
40064 else
40065 echo "$as_me: failed program was:" >&5
40066 sed 's/^/| /' conftest.$ac_ext >&5
40067
40068 ac_cv_func_pthread_attr_setstacksize=no
40069 fi
40070
40071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40072 conftest$ac_exeext conftest.$ac_ext
40073 fi
40074 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40075 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40076 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40077 cat >>confdefs.h <<\_ACEOF
40078 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40079 _ACEOF
40080
40081 fi
40082
40083
40084
40085 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40086 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40087 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40089 else
40090
40091 cat >conftest.$ac_ext <<_ACEOF
40092 /* confdefs.h. */
40093 _ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 #include <pthread.h>
40098 int
40099 main ()
40100 {
40101
40102 pthread_mutexattr_t attr;
40103 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40104
40105 ;
40106 return 0;
40107 }
40108 _ACEOF
40109 rm -f conftest.$ac_objext
40110 if { (ac_try="$ac_compile"
40111 case "(($ac_try" in
40112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40113 *) ac_try_echo=$ac_try;;
40114 esac
40115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40116 (eval "$ac_compile") 2>conftest.er1
40117 ac_status=$?
40118 grep -v '^ *+' conftest.er1 >conftest.err
40119 rm -f conftest.er1
40120 cat conftest.err >&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); } && {
40123 test -z "$ac_c_werror_flag" ||
40124 test ! -s conftest.err
40125 } && test -s conftest.$ac_objext; then
40126 wx_cv_type_pthread_mutexattr_t=yes
40127 else
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.$ac_ext >&5
40130
40131 wx_cv_type_pthread_mutexattr_t=no
40132
40133 fi
40134
40135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40136
40137 fi
40138 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40139 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40140
40141 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40142 cat >>confdefs.h <<\_ACEOF
40143 #define HAVE_PTHREAD_MUTEXATTR_T 1
40144 _ACEOF
40145
40146
40147 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40148 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40149 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40150 echo $ECHO_N "(cached) $ECHO_C" >&6
40151 else
40152
40153 cat >conftest.$ac_ext <<_ACEOF
40154 /* confdefs.h. */
40155 _ACEOF
40156 cat confdefs.h >>conftest.$ac_ext
40157 cat >>conftest.$ac_ext <<_ACEOF
40158 /* end confdefs.h. */
40159 #include <pthread.h>
40160 int
40161 main ()
40162 {
40163
40164 pthread_mutexattr_t attr;
40165 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40166
40167 ;
40168 return 0;
40169 }
40170 _ACEOF
40171 rm -f conftest.$ac_objext
40172 if { (ac_try="$ac_compile"
40173 case "(($ac_try" in
40174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40175 *) ac_try_echo=$ac_try;;
40176 esac
40177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40178 (eval "$ac_compile") 2>conftest.er1
40179 ac_status=$?
40180 grep -v '^ *+' conftest.er1 >conftest.err
40181 rm -f conftest.er1
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } && {
40185 test -z "$ac_c_werror_flag" ||
40186 test ! -s conftest.err
40187 } && test -s conftest.$ac_objext; then
40188 wx_cv_func_pthread_mutexattr_settype_decl=yes
40189 else
40190 echo "$as_me: failed program was:" >&5
40191 sed 's/^/| /' conftest.$ac_ext >&5
40192
40193 wx_cv_func_pthread_mutexattr_settype_decl=no
40194
40195 fi
40196
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40198
40199 fi
40200 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40201 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40202 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40203 cat >>confdefs.h <<\_ACEOF
40204 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40205 _ACEOF
40206
40207 fi
40208 else
40209 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40210 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40211 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 else
40214
40215 cat >conftest.$ac_ext <<_ACEOF
40216 /* confdefs.h. */
40217 _ACEOF
40218 cat confdefs.h >>conftest.$ac_ext
40219 cat >>conftest.$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40221 #include <pthread.h>
40222 int
40223 main ()
40224 {
40225
40226 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40227
40228 ;
40229 return 0;
40230 }
40231 _ACEOF
40232 rm -f conftest.$ac_objext
40233 if { (ac_try="$ac_compile"
40234 case "(($ac_try" in
40235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40236 *) ac_try_echo=$ac_try;;
40237 esac
40238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40239 (eval "$ac_compile") 2>conftest.er1
40240 ac_status=$?
40241 grep -v '^ *+' conftest.er1 >conftest.err
40242 rm -f conftest.er1
40243 cat conftest.err >&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); } && {
40246 test -z "$ac_c_werror_flag" ||
40247 test ! -s conftest.err
40248 } && test -s conftest.$ac_objext; then
40249
40250 wx_cv_type_pthread_rec_mutex_init=yes
40251
40252 else
40253 echo "$as_me: failed program was:" >&5
40254 sed 's/^/| /' conftest.$ac_ext >&5
40255
40256
40257 wx_cv_type_pthread_rec_mutex_init=no
40258
40259
40260 fi
40261
40262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40263
40264 fi
40265 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40266 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40267 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40268 cat >>confdefs.h <<\_ACEOF
40269 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40270 _ACEOF
40271
40272 else
40273 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40274 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40275 fi
40276 fi
40277
40278 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40279 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40280 if test "${wx_cv_cc___thread+set}" = set; then
40281 echo $ECHO_N "(cached) $ECHO_C" >&6
40282 else
40283
40284 cat >conftest.$ac_ext <<_ACEOF
40285 /* confdefs.h. */
40286 _ACEOF
40287 cat confdefs.h >>conftest.$ac_ext
40288 cat >>conftest.$ac_ext <<_ACEOF
40289 /* end confdefs.h. */
40290 #include <pthread.h>
40291 int
40292 main ()
40293 {
40294
40295 static __thread int n = 0;
40296 static __thread int *p = 0;
40297
40298 ;
40299 return 0;
40300 }
40301 _ACEOF
40302 rm -f conftest.$ac_objext
40303 if { (ac_try="$ac_compile"
40304 case "(($ac_try" in
40305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40306 *) ac_try_echo=$ac_try;;
40307 esac
40308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40309 (eval "$ac_compile") 2>conftest.er1
40310 ac_status=$?
40311 grep -v '^ *+' conftest.er1 >conftest.err
40312 rm -f conftest.er1
40313 cat conftest.err >&5
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); } && {
40316 test -z "$ac_c_werror_flag" ||
40317 test ! -s conftest.err
40318 } && test -s conftest.$ac_objext; then
40319 wx_cv_cc___thread=yes
40320 else
40321 echo "$as_me: failed program was:" >&5
40322 sed 's/^/| /' conftest.$ac_ext >&5
40323
40324 wx_cv_cc___thread=no
40325
40326 fi
40327
40328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40329
40330
40331 fi
40332 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40333 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40334
40335 if test "$wx_cv_cc___thread" = "yes"; then
40336
40337 GXX_VERSION=""
40338
40339
40340
40341 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40342 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40343
40344 if test "x$GCC" = "xyes" ; then
40345
40346 if test -z "" ; then
40347
40348 ax_gcc_option_test="int main()
40349 {
40350 return 0;
40351 }"
40352
40353 else
40354
40355 ax_gcc_option_test=""
40356
40357 fi
40358
40359
40360 # Dump the test program to file
40361 cat <<EOF > conftest.c
40362 $ax_gcc_option_test
40363 EOF
40364
40365 # Dump back the file to the log, useful for debugging purposes
40366 { ac_try='cat conftest.c 1>&5'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40369 ac_status=$?
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; }
40372
40373 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; } ; then
40379
40380 { echo "$as_me:$LINENO: result: yes" >&5
40381 echo "${ECHO_T}yes" >&6; }
40382
40383 ax_gcc_version_option=yes
40384
40385
40386 else
40387
40388 { echo "$as_me:$LINENO: result: no" >&5
40389 echo "${ECHO_T}no" >&6; }
40390
40391 ax_gcc_version_option=no
40392
40393
40394 fi
40395
40396
40397 else
40398
40399 { echo "$as_me:$LINENO: result: no gcc available" >&5
40400 echo "${ECHO_T}no gcc available" >&6; }
40401
40402 fi
40403
40404
40405 if test "x$GXX" = "xyes"; then
40406
40407 if test "x$ax_gxx_version_option" != "no"; then
40408
40409 { echo "$as_me:$LINENO: checking gxx version" >&5
40410 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40411 if test "${ax_cv_gxx_version+set}" = set; then
40412 echo $ECHO_N "(cached) $ECHO_C" >&6
40413 else
40414
40415 ax_cv_gxx_version="`$CXX -dumpversion`"
40416 if test "x$ax_cv_gxx_version" = "x"; then
40417
40418 ax_cv_gxx_version=""
40419
40420 fi
40421
40422
40423 fi
40424 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40425 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40426 GXX_VERSION=$ax_cv_gxx_version
40427
40428 fi
40429
40430
40431 fi
40432
40433
40434
40435 if test -n "$ax_cv_gxx_version"; then
40436 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40437 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40438 case "$ax_cv_gxx_version" in
40439 1.* | 2.* | 3.* )
40440 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40441 echo "${ECHO_T}no, it's broken" >&6; }
40442 wx_cv_cc___thread=no
40443 ;;
40444 *)
40445 { echo "$as_me:$LINENO: result: yes, it works" >&5
40446 echo "${ECHO_T}yes, it works" >&6; }
40447 ;;
40448 esac
40449 fi
40450 fi
40451
40452 if test "$wx_cv_cc___thread" = "yes"; then
40453 cat >>confdefs.h <<\_ACEOF
40454 #define HAVE___THREAD_KEYWORD 1
40455 _ACEOF
40456
40457 fi
40458 fi
40459
40460 else
40461 if test "$wxUSE_THREADS" = "yes" ; then
40462 case "${host}" in
40463 x86_64-*-mingw32* )
40464 ;;
40465 *-*-mingw32* )
40466 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40467 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40468 if test "${wx_cv_cflags_mthread+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 else
40471
40472 CFLAGS_OLD="$CFLAGS"
40473 CFLAGS="-mthreads $CFLAGS"
40474 cat >conftest.$ac_ext <<_ACEOF
40475 /* confdefs.h. */
40476 _ACEOF
40477 cat confdefs.h >>conftest.$ac_ext
40478 cat >>conftest.$ac_ext <<_ACEOF
40479 /* end confdefs.h. */
40480
40481 int
40482 main ()
40483 {
40484
40485 ;
40486 return 0;
40487 }
40488 _ACEOF
40489 rm -f conftest.$ac_objext
40490 if { (ac_try="$ac_compile"
40491 case "(($ac_try" in
40492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40493 *) ac_try_echo=$ac_try;;
40494 esac
40495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40496 (eval "$ac_compile") 2>conftest.er1
40497 ac_status=$?
40498 grep -v '^ *+' conftest.er1 >conftest.err
40499 rm -f conftest.er1
40500 cat conftest.err >&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); } && {
40503 test -z "$ac_c_werror_flag" ||
40504 test ! -s conftest.err
40505 } && test -s conftest.$ac_objext; then
40506 wx_cv_cflags_mthread=yes
40507 else
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.$ac_ext >&5
40510
40511 wx_cv_cflags_mthread=no
40512
40513 fi
40514
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517
40518 fi
40519 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40520 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40521
40522 if test "$wx_cv_cflags_mthread" = "yes"; then
40523 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40524 LDFLAGS="$LDFLAGS -mthreads"
40525 else
40526 CFLAGS="$CFLAGS_OLD"
40527 fi
40528 ;;
40529 *-pc-os2*emx )
40530 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40531 LDFLAGS="$LDFLAGS -Zmt"
40532 ;;
40533 esac
40534 fi
40535 fi
40536
40537 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40538 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40539 if test "${ac_cv_func_localtime_r+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 cat >conftest.$ac_ext <<_ACEOF
40543 /* confdefs.h. */
40544 _ACEOF
40545 cat confdefs.h >>conftest.$ac_ext
40546 cat >>conftest.$ac_ext <<_ACEOF
40547 /* end confdefs.h. */
40548 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40550 #define localtime_r innocuous_localtime_r
40551
40552 /* System header to define __stub macros and hopefully few prototypes,
40553 which can conflict with char localtime_r (); below.
40554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40555 <limits.h> exists even on freestanding compilers. */
40556
40557 #ifdef __STDC__
40558 # include <limits.h>
40559 #else
40560 # include <assert.h>
40561 #endif
40562
40563 #undef localtime_r
40564
40565 /* Override any GCC internal prototype to avoid an error.
40566 Use char because int might match the return type of a GCC
40567 builtin and then its argument prototype would still apply. */
40568 #ifdef __cplusplus
40569 extern "C"
40570 #endif
40571 char localtime_r ();
40572 /* The GNU C library defines this for functions which it implements
40573 to always fail with ENOSYS. Some functions are actually named
40574 something starting with __ and the normal name is an alias. */
40575 #if defined __stub_localtime_r || defined __stub___localtime_r
40576 choke me
40577 #endif
40578
40579 int
40580 main ()
40581 {
40582 return localtime_r ();
40583 ;
40584 return 0;
40585 }
40586 _ACEOF
40587 rm -f conftest.$ac_objext conftest$ac_exeext
40588 if { (ac_try="$ac_link"
40589 case "(($ac_try" in
40590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40591 *) ac_try_echo=$ac_try;;
40592 esac
40593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40594 (eval "$ac_link") 2>conftest.er1
40595 ac_status=$?
40596 grep -v '^ *+' conftest.er1 >conftest.err
40597 rm -f conftest.er1
40598 cat conftest.err >&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); } && {
40601 test -z "$ac_c_werror_flag" ||
40602 test ! -s conftest.err
40603 } && test -s conftest$ac_exeext &&
40604 $as_test_x conftest$ac_exeext; then
40605 ac_cv_func_localtime_r=yes
40606 else
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40609
40610 ac_cv_func_localtime_r=no
40611 fi
40612
40613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40614 conftest$ac_exeext conftest.$ac_ext
40615 fi
40616 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40617 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40618 if test $ac_cv_func_localtime_r = yes; then
40619 cat >>confdefs.h <<\_ACEOF
40620 #define HAVE_LOCALTIME_R 1
40621 _ACEOF
40622
40623 fi
40624
40625 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40626 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40627 if test "${ac_cv_func_gmtime_r+set}" = set; then
40628 echo $ECHO_N "(cached) $ECHO_C" >&6
40629 else
40630 cat >conftest.$ac_ext <<_ACEOF
40631 /* confdefs.h. */
40632 _ACEOF
40633 cat confdefs.h >>conftest.$ac_ext
40634 cat >>conftest.$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40636 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40638 #define gmtime_r innocuous_gmtime_r
40639
40640 /* System header to define __stub macros and hopefully few prototypes,
40641 which can conflict with char gmtime_r (); below.
40642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40643 <limits.h> exists even on freestanding compilers. */
40644
40645 #ifdef __STDC__
40646 # include <limits.h>
40647 #else
40648 # include <assert.h>
40649 #endif
40650
40651 #undef gmtime_r
40652
40653 /* Override any GCC internal prototype to avoid an error.
40654 Use char because int might match the return type of a GCC
40655 builtin and then its argument prototype would still apply. */
40656 #ifdef __cplusplus
40657 extern "C"
40658 #endif
40659 char gmtime_r ();
40660 /* The GNU C library defines this for functions which it implements
40661 to always fail with ENOSYS. Some functions are actually named
40662 something starting with __ and the normal name is an alias. */
40663 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40664 choke me
40665 #endif
40666
40667 int
40668 main ()
40669 {
40670 return gmtime_r ();
40671 ;
40672 return 0;
40673 }
40674 _ACEOF
40675 rm -f conftest.$ac_objext conftest$ac_exeext
40676 if { (ac_try="$ac_link"
40677 case "(($ac_try" in
40678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40679 *) ac_try_echo=$ac_try;;
40680 esac
40681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40682 (eval "$ac_link") 2>conftest.er1
40683 ac_status=$?
40684 grep -v '^ *+' conftest.er1 >conftest.err
40685 rm -f conftest.er1
40686 cat conftest.err >&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); } && {
40689 test -z "$ac_c_werror_flag" ||
40690 test ! -s conftest.err
40691 } && test -s conftest$ac_exeext &&
40692 $as_test_x conftest$ac_exeext; then
40693 ac_cv_func_gmtime_r=yes
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40697
40698 ac_cv_func_gmtime_r=no
40699 fi
40700
40701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40702 conftest$ac_exeext conftest.$ac_ext
40703 fi
40704 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40705 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40706 if test $ac_cv_func_gmtime_r = yes; then
40707 cat >>confdefs.h <<\_ACEOF
40708 #define HAVE_GMTIME_R 1
40709 _ACEOF
40710
40711 fi
40712
40713
40714
40715
40716 ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721
40722 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40723 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40724
40725 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40727 else
40728
40729
40730 ################################################################
40731
40732 ac_cv_func_which_gethostbyname_r=unknown
40733
40734 #
40735 # ONE ARGUMENT (sanity check)
40736 #
40737
40738 # This should fail, as there is no variant of gethostbyname_r() that takes
40739 # a single argument. If it actually compiles, then we can assume that
40740 # netdb.h is not declaring the function, and the compiler is thereby
40741 # assuming an implicit prototype. In which case, we're out of luck.
40742 #
40743 cat >conftest.$ac_ext <<_ACEOF
40744 /* confdefs.h. */
40745 _ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 #include <netdb.h>
40750 int
40751 main ()
40752 {
40753
40754 char *name = "www.gnu.org";
40755 (void)gethostbyname_r(name) /* ; */
40756
40757 ;
40758 return 0;
40759 }
40760 _ACEOF
40761 rm -f conftest.$ac_objext
40762 if { (ac_try="$ac_compile"
40763 case "(($ac_try" in
40764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40765 *) ac_try_echo=$ac_try;;
40766 esac
40767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40768 (eval "$ac_compile") 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } && {
40775 test -z "$ac_c_werror_flag" ||
40776 test ! -s conftest.err
40777 } && test -s conftest.$ac_objext; then
40778 ac_cv_func_which_gethostbyname_r=no
40779 else
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40782
40783
40784 fi
40785
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787
40788 #
40789 # SIX ARGUMENTS
40790 # (e.g. Linux)
40791 #
40792
40793 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40794
40795 cat >conftest.$ac_ext <<_ACEOF
40796 /* confdefs.h. */
40797 _ACEOF
40798 cat confdefs.h >>conftest.$ac_ext
40799 cat >>conftest.$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40801 #include <netdb.h>
40802 int
40803 main ()
40804 {
40805
40806 char *name = "www.gnu.org";
40807 struct hostent ret, *retp;
40808 char buf[1024];
40809 int buflen = 1024;
40810 int my_h_errno;
40811 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40812
40813 ;
40814 return 0;
40815 }
40816 _ACEOF
40817 rm -f conftest.$ac_objext
40818 if { (ac_try="$ac_compile"
40819 case "(($ac_try" in
40820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40821 *) ac_try_echo=$ac_try;;
40822 esac
40823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40824 (eval "$ac_compile") 2>conftest.er1
40825 ac_status=$?
40826 grep -v '^ *+' conftest.er1 >conftest.err
40827 rm -f conftest.er1
40828 cat conftest.err >&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); } && {
40831 test -z "$ac_c_werror_flag" ||
40832 test ! -s conftest.err
40833 } && test -s conftest.$ac_objext; then
40834 ac_cv_func_which_gethostbyname_r=six
40835 else
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40838
40839
40840 fi
40841
40842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40843
40844 fi
40845
40846 #
40847 # FIVE ARGUMENTS
40848 # (e.g. Solaris)
40849 #
40850
40851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40852
40853 cat >conftest.$ac_ext <<_ACEOF
40854 /* confdefs.h. */
40855 _ACEOF
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40859 #include <netdb.h>
40860 int
40861 main ()
40862 {
40863
40864 char *name = "www.gnu.org";
40865 struct hostent ret;
40866 char buf[1024];
40867 int buflen = 1024;
40868 int my_h_errno;
40869 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40870
40871 ;
40872 return 0;
40873 }
40874 _ACEOF
40875 rm -f conftest.$ac_objext
40876 if { (ac_try="$ac_compile"
40877 case "(($ac_try" in
40878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40880 esac
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_compile") 2>conftest.er1
40883 ac_status=$?
40884 grep -v '^ *+' conftest.er1 >conftest.err
40885 rm -f conftest.er1
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest.$ac_objext; then
40892 ac_cv_func_which_gethostbyname_r=five
40893 else
40894 echo "$as_me: failed program was:" >&5
40895 sed 's/^/| /' conftest.$ac_ext >&5
40896
40897
40898 fi
40899
40900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40901
40902 fi
40903
40904 #
40905 # THREE ARGUMENTS
40906 # (e.g. AIX, HP-UX, Tru64)
40907 #
40908
40909 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40910
40911 cat >conftest.$ac_ext <<_ACEOF
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917 #include <netdb.h>
40918 int
40919 main ()
40920 {
40921
40922 char *name = "www.gnu.org";
40923 struct hostent ret;
40924 struct hostent_data data;
40925 (void)gethostbyname_r(name, &ret, &data) /* ; */
40926
40927 ;
40928 return 0;
40929 }
40930 _ACEOF
40931 rm -f conftest.$ac_objext
40932 if { (ac_try="$ac_compile"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40935 *) ac_try_echo=$ac_try;;
40936 esac
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_compile") 2>conftest.er1
40939 ac_status=$?
40940 grep -v '^ *+' conftest.er1 >conftest.err
40941 rm -f conftest.er1
40942 cat conftest.err >&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } && {
40945 test -z "$ac_c_werror_flag" ||
40946 test ! -s conftest.err
40947 } && test -s conftest.$ac_objext; then
40948 ac_cv_func_which_gethostbyname_r=three
40949 else
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.$ac_ext >&5
40952
40953
40954 fi
40955
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957
40958 fi
40959
40960 ################################################################
40961
40962
40963 fi
40964
40965 case "$ac_cv_func_which_gethostbyname_r" in
40966 three)
40967 { echo "$as_me:$LINENO: result: three" >&5
40968 echo "${ECHO_T}three" >&6; }
40969 cat >>confdefs.h <<\_ACEOF
40970 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40971 _ACEOF
40972
40973 ;;
40974
40975 five)
40976 { echo "$as_me:$LINENO: result: five" >&5
40977 echo "${ECHO_T}five" >&6; }
40978 cat >>confdefs.h <<\_ACEOF
40979 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40980 _ACEOF
40981
40982 ;;
40983
40984 six)
40985 { echo "$as_me:$LINENO: result: six" >&5
40986 echo "${ECHO_T}six" >&6; }
40987 cat >>confdefs.h <<\_ACEOF
40988 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40989 _ACEOF
40990
40991 ;;
40992
40993 no)
40994 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40995 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40996 ;;
40997
40998 unknown)
40999 { echo "$as_me:$LINENO: result: can't tell" >&5
41000 echo "${ECHO_T}can't tell" >&6; }
41001 ;;
41002
41003 *)
41004 { { echo "$as_me:$LINENO: error: internal error" >&5
41005 echo "$as_me: error: internal error" >&2;}
41006 { (exit 1); exit 1; }; }
41007 ;;
41008 esac
41009
41010 ac_ext=c
41011 ac_cpp='$CPP $CPPFLAGS'
41012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41015
41016
41017
41018 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41019 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41020 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41021 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41022 if test "${ac_cv_func_gethostbyname+set}" = set; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 else
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h. */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41033 #define gethostbyname innocuous_gethostbyname
41034
41035 /* System header to define __stub macros and hopefully few prototypes,
41036 which can conflict with char gethostbyname (); below.
41037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41038 <limits.h> exists even on freestanding compilers. */
41039
41040 #ifdef __STDC__
41041 # include <limits.h>
41042 #else
41043 # include <assert.h>
41044 #endif
41045
41046 #undef gethostbyname
41047
41048 /* Override any GCC internal prototype to avoid an error.
41049 Use char because int might match the return type of a GCC
41050 builtin and then its argument prototype would still apply. */
41051 #ifdef __cplusplus
41052 extern "C"
41053 #endif
41054 char gethostbyname ();
41055 /* The GNU C library defines this for functions which it implements
41056 to always fail with ENOSYS. Some functions are actually named
41057 something starting with __ and the normal name is an alias. */
41058 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41059 choke me
41060 #endif
41061
41062 int
41063 main ()
41064 {
41065 return gethostbyname ();
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (ac_try="$ac_link"
41072 case "(($ac_try" in
41073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41075 esac
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_link") 2>conftest.er1
41078 ac_status=$?
41079 grep -v '^ *+' conftest.er1 >conftest.err
41080 rm -f conftest.er1
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest$ac_exeext &&
41087 $as_test_x conftest$ac_exeext; then
41088 ac_cv_func_gethostbyname=yes
41089 else
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.$ac_ext >&5
41092
41093 ac_cv_func_gethostbyname=no
41094 fi
41095
41096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41097 conftest$ac_exeext conftest.$ac_ext
41098 fi
41099 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41100 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41101 if test $ac_cv_func_gethostbyname = yes; then
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_GETHOSTBYNAME 1
41104 _ACEOF
41105
41106 fi
41107
41108 fi
41109
41110 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41111 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41112 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 else
41115
41116 ac_ext=cpp
41117 ac_cpp='$CXXCPP $CPPFLAGS'
41118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41121
41122
41123 cat >conftest.$ac_ext <<_ACEOF
41124 /* confdefs.h. */
41125 _ACEOF
41126 cat confdefs.h >>conftest.$ac_ext
41127 cat >>conftest.$ac_ext <<_ACEOF
41128 /* end confdefs.h. */
41129 #include <netdb.h>
41130 int
41131 main ()
41132 {
41133
41134 char *name;
41135 char *proto;
41136 struct servent *se, *res;
41137 char buffer[2048];
41138 int buflen = 2048;
41139 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41140
41141 ;
41142 return 0;
41143 }
41144 _ACEOF
41145 rm -f conftest.$ac_objext
41146 if { (ac_try="$ac_compile"
41147 case "(($ac_try" in
41148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41149 *) ac_try_echo=$ac_try;;
41150 esac
41151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41152 (eval "$ac_compile") 2>conftest.er1
41153 ac_status=$?
41154 grep -v '^ *+' conftest.er1 >conftest.err
41155 rm -f conftest.er1
41156 cat conftest.err >&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); } && {
41159 test -z "$ac_cxx_werror_flag" ||
41160 test ! -s conftest.err
41161 } && test -s conftest.$ac_objext; then
41162 ac_cv_func_which_getservbyname_r=six
41163 else
41164 echo "$as_me: failed program was:" >&5
41165 sed 's/^/| /' conftest.$ac_ext >&5
41166
41167
41168 cat >conftest.$ac_ext <<_ACEOF
41169 /* confdefs.h. */
41170 _ACEOF
41171 cat confdefs.h >>conftest.$ac_ext
41172 cat >>conftest.$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41174 #include <netdb.h>
41175 int
41176 main ()
41177 {
41178
41179 char *name;
41180 char *proto;
41181 struct servent *se;
41182 char buffer[2048];
41183 int buflen = 2048;
41184 (void) getservbyname_r(name, proto, se, buffer, buflen)
41185
41186 ;
41187 return 0;
41188 }
41189 _ACEOF
41190 rm -f conftest.$ac_objext
41191 if { (ac_try="$ac_compile"
41192 case "(($ac_try" in
41193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41195 esac
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_compile") 2>conftest.er1
41198 ac_status=$?
41199 grep -v '^ *+' conftest.er1 >conftest.err
41200 rm -f conftest.er1
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_cxx_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest.$ac_objext; then
41207 ac_cv_func_which_getservbyname_r=five
41208 else
41209 echo "$as_me: failed program was:" >&5
41210 sed 's/^/| /' conftest.$ac_ext >&5
41211
41212
41213 cat >conftest.$ac_ext <<_ACEOF
41214 /* confdefs.h. */
41215 _ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41219 #include <netdb.h>
41220 int
41221 main ()
41222 {
41223
41224 char *name;
41225 char *proto;
41226 struct servent *se;
41227 struct servent_data data;
41228 (void) getservbyname_r(name, proto, se, &data);
41229
41230 ;
41231 return 0;
41232 }
41233 _ACEOF
41234 rm -f conftest.$ac_objext
41235 if { (ac_try="$ac_compile"
41236 case "(($ac_try" in
41237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41238 *) ac_try_echo=$ac_try;;
41239 esac
41240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41241 (eval "$ac_compile") 2>conftest.er1
41242 ac_status=$?
41243 grep -v '^ *+' conftest.er1 >conftest.err
41244 rm -f conftest.er1
41245 cat conftest.err >&5
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); } && {
41248 test -z "$ac_cxx_werror_flag" ||
41249 test ! -s conftest.err
41250 } && test -s conftest.$ac_objext; then
41251 ac_cv_func_which_getservbyname_r=four
41252 else
41253 echo "$as_me: failed program was:" >&5
41254 sed 's/^/| /' conftest.$ac_ext >&5
41255
41256 ac_cv_func_which_getservbyname_r=no
41257
41258 fi
41259
41260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41261
41262
41263 fi
41264
41265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41266
41267
41268 fi
41269
41270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41271 ac_ext=c
41272 ac_cpp='$CPP $CPPFLAGS'
41273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41276
41277
41278
41279 fi
41280 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41281 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41282
41283 if test $ac_cv_func_which_getservbyname_r = six; then
41284 cat >>confdefs.h <<\_ACEOF
41285 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41286 _ACEOF
41287
41288 elif test $ac_cv_func_which_getservbyname_r = five; then
41289 cat >>confdefs.h <<\_ACEOF
41290 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41291 _ACEOF
41292
41293 elif test $ac_cv_func_which_getservbyname_r = four; then
41294 cat >>confdefs.h <<\_ACEOF
41295 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41296 _ACEOF
41297
41298 fi
41299
41300
41301 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41302 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41303
41304 for ac_func in getservbyname
41305 do
41306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41309 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41310 echo $ECHO_N "(cached) $ECHO_C" >&6
41311 else
41312 cat >conftest.$ac_ext <<_ACEOF
41313 /* confdefs.h. */
41314 _ACEOF
41315 cat confdefs.h >>conftest.$ac_ext
41316 cat >>conftest.$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41320 #define $ac_func innocuous_$ac_func
41321
41322 /* System header to define __stub macros and hopefully few prototypes,
41323 which can conflict with char $ac_func (); below.
41324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41325 <limits.h> exists even on freestanding compilers. */
41326
41327 #ifdef __STDC__
41328 # include <limits.h>
41329 #else
41330 # include <assert.h>
41331 #endif
41332
41333 #undef $ac_func
41334
41335 /* Override any GCC internal prototype to avoid an error.
41336 Use char because int might match the return type of a GCC
41337 builtin and then its argument prototype would still apply. */
41338 #ifdef __cplusplus
41339 extern "C"
41340 #endif
41341 char $ac_func ();
41342 /* The GNU C library defines this for functions which it implements
41343 to always fail with ENOSYS. Some functions are actually named
41344 something starting with __ and the normal name is an alias. */
41345 #if defined __stub_$ac_func || defined __stub___$ac_func
41346 choke me
41347 #endif
41348
41349 int
41350 main ()
41351 {
41352 return $ac_func ();
41353 ;
41354 return 0;
41355 }
41356 _ACEOF
41357 rm -f conftest.$ac_objext conftest$ac_exeext
41358 if { (ac_try="$ac_link"
41359 case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41362 esac
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_link") 2>conftest.er1
41365 ac_status=$?
41366 grep -v '^ *+' conftest.er1 >conftest.err
41367 rm -f conftest.er1
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest$ac_exeext &&
41374 $as_test_x conftest$ac_exeext; then
41375 eval "$as_ac_var=yes"
41376 else
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41379
41380 eval "$as_ac_var=no"
41381 fi
41382
41383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41384 conftest$ac_exeext conftest.$ac_ext
41385 fi
41386 ac_res=`eval echo '${'$as_ac_var'}'`
41387 { echo "$as_me:$LINENO: result: $ac_res" >&5
41388 echo "${ECHO_T}$ac_res" >&6; }
41389 if test `eval echo '${'$as_ac_var'}'` = yes; then
41390 cat >>confdefs.h <<_ACEOF
41391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41392 _ACEOF
41393 cat >>confdefs.h <<\_ACEOF
41394 #define HAVE_GETSERVBYNAME 1
41395 _ACEOF
41396
41397 fi
41398 done
41399
41400 fi
41401
41402 if test "$wxUSE_THREADS" = "yes"; then
41403 cat >>confdefs.h <<\_ACEOF
41404 #define wxUSE_THREADS 1
41405 _ACEOF
41406
41407
41408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41409 else
41410 if test "$wx_cv_func_strtok_r" = "yes"; then
41411 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41412 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41413 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41414 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41415 { echo "$as_me:$LINENO: result: yes" >&5
41416 echo "${ECHO_T}yes" >&6; }
41417 else
41418 { echo "$as_me:$LINENO: result: no" >&5
41419 echo "${ECHO_T}no" >&6; }
41420 fi
41421 fi
41422 fi
41423
41424 if test "$WXGTK2" = 1 ; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define __WXGTK20__ $WXGTK2
41427 _ACEOF
41428
41429 WXGTK12=1
41430 fi
41431
41432 if test "$WXGTK12" = 1 ; then
41433 cat >>confdefs.h <<_ACEOF
41434 #define __WXGTK12__ $WXGTK12
41435 _ACEOF
41436
41437 fi
41438
41439 if test "$WXGTK127" = 1 ; then
41440 cat >>confdefs.h <<_ACEOF
41441 #define __WXGTK127__ $WXGTK127
41442 _ACEOF
41443
41444 fi
41445
41446 if test "$WXGPE" = 1 ; then
41447 cat >>confdefs.h <<_ACEOF
41448 #define __WXGPE__ $WXGPE
41449 _ACEOF
41450
41451 fi
41452
41453 DEBUG_CFLAGS=
41454 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41455 DEBUG_CFLAGS="-g"
41456 fi
41457
41458 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41459 wxUSE_DEBUG_INFO=yes
41460 if test "$GCC" = yes; then
41461 DEBUG_CFLAGS="-ggdb"
41462 fi
41463 fi
41464
41465 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41466 cat >>confdefs.h <<\_ACEOF
41467 #define WXDEBUG 1
41468 _ACEOF
41469
41470 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41471 else
41472 if test "$wxUSE_GTK" = 1 ; then
41473 if test "x$wxGTK_VERSION" = "x1" ; then
41474 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41475 fi
41476 fi
41477 fi
41478
41479 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41480 cat >>confdefs.h <<\_ACEOF
41481 #define wxUSE_MEMORY_TRACING 1
41482 _ACEOF
41483
41484 cat >>confdefs.h <<\_ACEOF
41485 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41486 _ACEOF
41487
41488 cat >>confdefs.h <<\_ACEOF
41489 #define wxUSE_DEBUG_NEW_ALWAYS 1
41490 _ACEOF
41491
41492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41493 fi
41494
41495 if test "$wxUSE_DMALLOC" = "yes" ; then
41496 DMALLOC_LIBS="-ldmallocthcxx"
41497 fi
41498
41499 PROFILE_FLAGS=
41500 if test "$wxUSE_PROFILE" = "yes" ; then
41501 PROFILE_FLAGS=" -pg"
41502 fi
41503
41504 if test "$GCC" = "yes" ; then
41505 if test "$wxUSE_NO_RTTI" = "yes" ; then
41506 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41507 fi
41508 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41509 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41510 fi
41511 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41512 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41513 fi
41514
41515 case "${host}" in
41516 powerpc*-*-aix* )
41517 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41518 ;;
41519 *-hppa* )
41520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41521 ;;
41522 esac
41523 fi
41524
41525 OPTIMISE_CFLAGS=
41526 if test "$wxUSE_OPTIMISE" = "no" ; then
41527 if test "$GCC" = yes ; then
41528 OPTIMISE_CFLAGS="-O0"
41529 fi
41530 else
41531 if test "$GCC" = yes ; then
41532 case "${host}" in
41533 *-pc-os2_emx | *-pc-os2-emx )
41534 OPTIMISE_CFLAGS="-O2"
41535 ;;
41536 *)
41537 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41538 ;;
41539 esac
41540 else
41541 OPTIMISE_CFLAGS="-O"
41542 fi
41543 fi
41544
41545
41546 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41547 cat >>confdefs.h <<\_ACEOF
41548 #define WXWIN_COMPATIBILITY_2_6 1
41549 _ACEOF
41550
41551
41552 WXWIN_COMPATIBILITY_2_8="yes"
41553 fi
41554
41555 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41556 cat >>confdefs.h <<\_ACEOF
41557 #define WXWIN_COMPATIBILITY_2_8 1
41558 _ACEOF
41559
41560 fi
41561
41562
41563 if test "$wxUSE_GUI" = "yes"; then
41564 cat >>confdefs.h <<\_ACEOF
41565 #define wxUSE_GUI 1
41566 _ACEOF
41567
41568
41569 fi
41570
41571
41572 if test "$wxUSE_UNIX" = "yes"; then
41573 cat >>confdefs.h <<\_ACEOF
41574 #define wxUSE_UNIX 1
41575 _ACEOF
41576
41577 fi
41578
41579
41580 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41581
41582 HAVE_DL_FUNCS=0
41583 HAVE_SHL_FUNCS=0
41584 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41585 if test "$USE_DOS" = 1; then
41586 HAVE_DL_FUNCS=0
41587 else
41588
41589 for ac_func in dlopen
41590 do
41591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41595 echo $ECHO_N "(cached) $ECHO_C" >&6
41596 else
41597 cat >conftest.$ac_ext <<_ACEOF
41598 /* confdefs.h. */
41599 _ACEOF
41600 cat confdefs.h >>conftest.$ac_ext
41601 cat >>conftest.$ac_ext <<_ACEOF
41602 /* end confdefs.h. */
41603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41605 #define $ac_func innocuous_$ac_func
41606
41607 /* System header to define __stub macros and hopefully few prototypes,
41608 which can conflict with char $ac_func (); below.
41609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41610 <limits.h> exists even on freestanding compilers. */
41611
41612 #ifdef __STDC__
41613 # include <limits.h>
41614 #else
41615 # include <assert.h>
41616 #endif
41617
41618 #undef $ac_func
41619
41620 /* Override any GCC internal prototype to avoid an error.
41621 Use char because int might match the return type of a GCC
41622 builtin and then its argument prototype would still apply. */
41623 #ifdef __cplusplus
41624 extern "C"
41625 #endif
41626 char $ac_func ();
41627 /* The GNU C library defines this for functions which it implements
41628 to always fail with ENOSYS. Some functions are actually named
41629 something starting with __ and the normal name is an alias. */
41630 #if defined __stub_$ac_func || defined __stub___$ac_func
41631 choke me
41632 #endif
41633
41634 int
41635 main ()
41636 {
41637 return $ac_func ();
41638 ;
41639 return 0;
41640 }
41641 _ACEOF
41642 rm -f conftest.$ac_objext conftest$ac_exeext
41643 if { (ac_try="$ac_link"
41644 case "(($ac_try" in
41645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41646 *) ac_try_echo=$ac_try;;
41647 esac
41648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41649 (eval "$ac_link") 2>conftest.er1
41650 ac_status=$?
41651 grep -v '^ *+' conftest.er1 >conftest.err
41652 rm -f conftest.er1
41653 cat conftest.err >&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } && {
41656 test -z "$ac_c_werror_flag" ||
41657 test ! -s conftest.err
41658 } && test -s conftest$ac_exeext &&
41659 $as_test_x conftest$ac_exeext; then
41660 eval "$as_ac_var=yes"
41661 else
41662 echo "$as_me: failed program was:" >&5
41663 sed 's/^/| /' conftest.$ac_ext >&5
41664
41665 eval "$as_ac_var=no"
41666 fi
41667
41668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41669 conftest$ac_exeext conftest.$ac_ext
41670 fi
41671 ac_res=`eval echo '${'$as_ac_var'}'`
41672 { echo "$as_me:$LINENO: result: $ac_res" >&5
41673 echo "${ECHO_T}$ac_res" >&6; }
41674 if test `eval echo '${'$as_ac_var'}'` = yes; then
41675 cat >>confdefs.h <<_ACEOF
41676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41677 _ACEOF
41678
41679 cat >>confdefs.h <<\_ACEOF
41680 #define HAVE_DLOPEN 1
41681 _ACEOF
41682
41683 HAVE_DL_FUNCS=1
41684
41685 else
41686
41687 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41688 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41689 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41691 else
41692 ac_check_lib_save_LIBS=$LIBS
41693 LIBS="-ldl $LIBS"
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700
41701 /* Override any GCC internal prototype to avoid an error.
41702 Use char because int might match the return type of a GCC
41703 builtin and then its argument prototype would still apply. */
41704 #ifdef __cplusplus
41705 extern "C"
41706 #endif
41707 char dlopen ();
41708 int
41709 main ()
41710 {
41711 return dlopen ();
41712 ;
41713 return 0;
41714 }
41715 _ACEOF
41716 rm -f conftest.$ac_objext conftest$ac_exeext
41717 if { (ac_try="$ac_link"
41718 case "(($ac_try" in
41719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41720 *) ac_try_echo=$ac_try;;
41721 esac
41722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41723 (eval "$ac_link") 2>conftest.er1
41724 ac_status=$?
41725 grep -v '^ *+' conftest.er1 >conftest.err
41726 rm -f conftest.er1
41727 cat conftest.err >&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); } && {
41730 test -z "$ac_c_werror_flag" ||
41731 test ! -s conftest.err
41732 } && test -s conftest$ac_exeext &&
41733 $as_test_x conftest$ac_exeext; then
41734 ac_cv_lib_dl_dlopen=yes
41735 else
41736 echo "$as_me: failed program was:" >&5
41737 sed 's/^/| /' conftest.$ac_ext >&5
41738
41739 ac_cv_lib_dl_dlopen=no
41740 fi
41741
41742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41743 conftest$ac_exeext conftest.$ac_ext
41744 LIBS=$ac_check_lib_save_LIBS
41745 fi
41746 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41747 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41748 if test $ac_cv_lib_dl_dlopen = yes; then
41749
41750 cat >>confdefs.h <<\_ACEOF
41751 #define HAVE_DLOPEN 1
41752 _ACEOF
41753
41754 HAVE_DL_FUNCS=1
41755 DL_LINK=" -ldl$DL_LINK"
41756
41757 else
41758
41759
41760 for ac_func in shl_load
41761 do
41762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768 cat >conftest.$ac_ext <<_ACEOF
41769 /* confdefs.h. */
41770 _ACEOF
41771 cat confdefs.h >>conftest.$ac_ext
41772 cat >>conftest.$ac_ext <<_ACEOF
41773 /* end confdefs.h. */
41774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41776 #define $ac_func innocuous_$ac_func
41777
41778 /* System header to define __stub macros and hopefully few prototypes,
41779 which can conflict with char $ac_func (); below.
41780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41781 <limits.h> exists even on freestanding compilers. */
41782
41783 #ifdef __STDC__
41784 # include <limits.h>
41785 #else
41786 # include <assert.h>
41787 #endif
41788
41789 #undef $ac_func
41790
41791 /* Override any GCC internal prototype to avoid an error.
41792 Use char because int might match the return type of a GCC
41793 builtin and then its argument prototype would still apply. */
41794 #ifdef __cplusplus
41795 extern "C"
41796 #endif
41797 char $ac_func ();
41798 /* The GNU C library defines this for functions which it implements
41799 to always fail with ENOSYS. Some functions are actually named
41800 something starting with __ and the normal name is an alias. */
41801 #if defined __stub_$ac_func || defined __stub___$ac_func
41802 choke me
41803 #endif
41804
41805 int
41806 main ()
41807 {
41808 return $ac_func ();
41809 ;
41810 return 0;
41811 }
41812 _ACEOF
41813 rm -f conftest.$ac_objext conftest$ac_exeext
41814 if { (ac_try="$ac_link"
41815 case "(($ac_try" in
41816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41817 *) ac_try_echo=$ac_try;;
41818 esac
41819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41820 (eval "$ac_link") 2>conftest.er1
41821 ac_status=$?
41822 grep -v '^ *+' conftest.er1 >conftest.err
41823 rm -f conftest.er1
41824 cat conftest.err >&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } && {
41827 test -z "$ac_c_werror_flag" ||
41828 test ! -s conftest.err
41829 } && test -s conftest$ac_exeext &&
41830 $as_test_x conftest$ac_exeext; then
41831 eval "$as_ac_var=yes"
41832 else
41833 echo "$as_me: failed program was:" >&5
41834 sed 's/^/| /' conftest.$ac_ext >&5
41835
41836 eval "$as_ac_var=no"
41837 fi
41838
41839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41840 conftest$ac_exeext conftest.$ac_ext
41841 fi
41842 ac_res=`eval echo '${'$as_ac_var'}'`
41843 { echo "$as_me:$LINENO: result: $ac_res" >&5
41844 echo "${ECHO_T}$ac_res" >&6; }
41845 if test `eval echo '${'$as_ac_var'}'` = yes; then
41846 cat >>confdefs.h <<_ACEOF
41847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41848 _ACEOF
41849
41850 cat >>confdefs.h <<\_ACEOF
41851 #define HAVE_SHL_LOAD 1
41852 _ACEOF
41853
41854 HAVE_SHL_FUNCS=1
41855
41856 else
41857
41858 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41859 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41860 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41861 echo $ECHO_N "(cached) $ECHO_C" >&6
41862 else
41863 ac_check_lib_save_LIBS=$LIBS
41864 LIBS="-lshl_load $LIBS"
41865 cat >conftest.$ac_ext <<_ACEOF
41866 /* confdefs.h. */
41867 _ACEOF
41868 cat confdefs.h >>conftest.$ac_ext
41869 cat >>conftest.$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41871
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41875 #ifdef __cplusplus
41876 extern "C"
41877 #endif
41878 char dld ();
41879 int
41880 main ()
41881 {
41882 return dld ();
41883 ;
41884 return 0;
41885 }
41886 _ACEOF
41887 rm -f conftest.$ac_objext conftest$ac_exeext
41888 if { (ac_try="$ac_link"
41889 case "(($ac_try" in
41890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41892 esac
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_link") 2>conftest.er1
41895 ac_status=$?
41896 grep -v '^ *+' conftest.er1 >conftest.err
41897 rm -f conftest.er1
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest$ac_exeext &&
41904 $as_test_x conftest$ac_exeext; then
41905 ac_cv_lib_shl_load_dld=yes
41906 else
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.$ac_ext >&5
41909
41910 ac_cv_lib_shl_load_dld=no
41911 fi
41912
41913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41914 conftest$ac_exeext conftest.$ac_ext
41915 LIBS=$ac_check_lib_save_LIBS
41916 fi
41917 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41918 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41919 if test $ac_cv_lib_shl_load_dld = yes; then
41920
41921 HAVE_SHL_FUNCS=1
41922 DL_LINK=" -ldld$DL_LINK"
41923
41924 fi
41925
41926
41927 fi
41928 done
41929
41930
41931 fi
41932
41933
41934 fi
41935 done
41936
41937
41938 if test "$HAVE_DL_FUNCS" = 1; then
41939
41940 for ac_func in dlerror
41941 do
41942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41947 else
41948 cat >conftest.$ac_ext <<_ACEOF
41949 /* confdefs.h. */
41950 _ACEOF
41951 cat confdefs.h >>conftest.$ac_ext
41952 cat >>conftest.$ac_ext <<_ACEOF
41953 /* end confdefs.h. */
41954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41956 #define $ac_func innocuous_$ac_func
41957
41958 /* System header to define __stub macros and hopefully few prototypes,
41959 which can conflict with char $ac_func (); below.
41960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41961 <limits.h> exists even on freestanding compilers. */
41962
41963 #ifdef __STDC__
41964 # include <limits.h>
41965 #else
41966 # include <assert.h>
41967 #endif
41968
41969 #undef $ac_func
41970
41971 /* Override any GCC internal prototype to avoid an error.
41972 Use char because int might match the return type of a GCC
41973 builtin and then its argument prototype would still apply. */
41974 #ifdef __cplusplus
41975 extern "C"
41976 #endif
41977 char $ac_func ();
41978 /* The GNU C library defines this for functions which it implements
41979 to always fail with ENOSYS. Some functions are actually named
41980 something starting with __ and the normal name is an alias. */
41981 #if defined __stub_$ac_func || defined __stub___$ac_func
41982 choke me
41983 #endif
41984
41985 int
41986 main ()
41987 {
41988 return $ac_func ();
41989 ;
41990 return 0;
41991 }
41992 _ACEOF
41993 rm -f conftest.$ac_objext conftest$ac_exeext
41994 if { (ac_try="$ac_link"
41995 case "(($ac_try" in
41996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41997 *) ac_try_echo=$ac_try;;
41998 esac
41999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42000 (eval "$ac_link") 2>conftest.er1
42001 ac_status=$?
42002 grep -v '^ *+' conftest.er1 >conftest.err
42003 rm -f conftest.er1
42004 cat conftest.err >&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } && {
42007 test -z "$ac_c_werror_flag" ||
42008 test ! -s conftest.err
42009 } && test -s conftest$ac_exeext &&
42010 $as_test_x conftest$ac_exeext; then
42011 eval "$as_ac_var=yes"
42012 else
42013 echo "$as_me: failed program was:" >&5
42014 sed 's/^/| /' conftest.$ac_ext >&5
42015
42016 eval "$as_ac_var=no"
42017 fi
42018
42019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42020 conftest$ac_exeext conftest.$ac_ext
42021 fi
42022 ac_res=`eval echo '${'$as_ac_var'}'`
42023 { echo "$as_me:$LINENO: result: $ac_res" >&5
42024 echo "${ECHO_T}$ac_res" >&6; }
42025 if test `eval echo '${'$as_ac_var'}'` = yes; then
42026 cat >>confdefs.h <<_ACEOF
42027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42028 _ACEOF
42029 cat >>confdefs.h <<\_ACEOF
42030 #define HAVE_DLERROR 1
42031 _ACEOF
42032
42033 else
42034
42035 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42036 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42037 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42038 echo $ECHO_N "(cached) $ECHO_C" >&6
42039 else
42040 ac_check_lib_save_LIBS=$LIBS
42041 LIBS="-ldl $LIBS"
42042 cat >conftest.$ac_ext <<_ACEOF
42043 /* confdefs.h. */
42044 _ACEOF
42045 cat confdefs.h >>conftest.$ac_ext
42046 cat >>conftest.$ac_ext <<_ACEOF
42047 /* end confdefs.h. */
42048
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42052 #ifdef __cplusplus
42053 extern "C"
42054 #endif
42055 char dlerror ();
42056 int
42057 main ()
42058 {
42059 return dlerror ();
42060 ;
42061 return 0;
42062 }
42063 _ACEOF
42064 rm -f conftest.$ac_objext conftest$ac_exeext
42065 if { (ac_try="$ac_link"
42066 case "(($ac_try" in
42067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42068 *) ac_try_echo=$ac_try;;
42069 esac
42070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42071 (eval "$ac_link") 2>conftest.er1
42072 ac_status=$?
42073 grep -v '^ *+' conftest.er1 >conftest.err
42074 rm -f conftest.er1
42075 cat conftest.err >&5
42076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077 (exit $ac_status); } && {
42078 test -z "$ac_c_werror_flag" ||
42079 test ! -s conftest.err
42080 } && test -s conftest$ac_exeext &&
42081 $as_test_x conftest$ac_exeext; then
42082 ac_cv_lib_dl_dlerror=yes
42083 else
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42086
42087 ac_cv_lib_dl_dlerror=no
42088 fi
42089
42090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42091 conftest$ac_exeext conftest.$ac_ext
42092 LIBS=$ac_check_lib_save_LIBS
42093 fi
42094 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42095 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42096 if test $ac_cv_lib_dl_dlerror = yes; then
42097 cat >>confdefs.h <<\_ACEOF
42098 #define HAVE_DLERROR 1
42099 _ACEOF
42100
42101 fi
42102
42103
42104
42105 fi
42106 done
42107
42108 fi
42109 fi
42110
42111 if test "$USE_DARWIN" = 1; then
42112 HAVE_DL_FUNCS=1
42113 fi
42114
42115 if test "$HAVE_DL_FUNCS" = 0; then
42116 if test "$HAVE_SHL_FUNCS" = 0; then
42117 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42118 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42119 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42120 wxUSE_DYNAMIC_LOADER=no
42121 wxUSE_DYNLIB_CLASS=no
42122 else
42123 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42124 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42125 fi
42126 fi
42127 fi
42128 fi
42129 fi
42130
42131 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42132 cat >>confdefs.h <<\_ACEOF
42133 #define wxUSE_DYNAMIC_LOADER 1
42134 _ACEOF
42135
42136 fi
42137 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42138 cat >>confdefs.h <<\_ACEOF
42139 #define wxUSE_DYNLIB_CLASS 1
42140 _ACEOF
42141
42142 fi
42143
42144
42145
42146 if test "$wxUSE_PLUGINS" = "yes" ; then
42147 if test "$wxUSE_SHARED" = "no" ; then
42148 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42149 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42150 wxUSE_PLUGINS=no
42151 fi
42152 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42153 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42154 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42155 wxUSE_PLUGINS=no
42156 fi
42157 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42158 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42159 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42160 wxUSE_PLUGINS=no
42161 fi
42162 if test "$wxUSE_PLUGINS" = "yes" ; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_PLUGINS 1
42165 _ACEOF
42166
42167 fi
42168 fi
42169
42170
42171 if test "$wxUSE_STL" = "yes"; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define wxUSE_STL 1
42174 _ACEOF
42175
42176 fi
42177
42178 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_EXTENDED_RTTI 1
42181 _ACEOF
42182
42183 fi
42184
42185 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define wxUSE_APPLE_IEEE 1
42188 _ACEOF
42189
42190 fi
42191
42192 if test "$wxUSE_TIMER" = "yes"; then
42193 cat >>confdefs.h <<\_ACEOF
42194 #define wxUSE_TIMER 1
42195 _ACEOF
42196
42197 fi
42198
42199 if test "$USE_UNIX" = 1 ; then
42200 if test "$wxUSE_MGL" != 1; then
42201 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42202 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42203 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42204 echo $ECHO_N "(cached) $ECHO_C" >&6
42205 else
42206
42207 cat >conftest.$ac_ext <<_ACEOF
42208 /* confdefs.h. */
42209 _ACEOF
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h. */
42213
42214 #include <sys/ioctl.h>
42215 #include <sys/soundcard.h>
42216
42217 int
42218 main ()
42219 {
42220
42221 ioctl(0, SNDCTL_DSP_SPEED, 0);
42222
42223 ;
42224 return 0;
42225 }
42226 _ACEOF
42227 rm -f conftest.$ac_objext conftest$ac_exeext
42228 if { (ac_try="$ac_link"
42229 case "(($ac_try" in
42230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42231 *) ac_try_echo=$ac_try;;
42232 esac
42233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42234 (eval "$ac_link") 2>conftest.er1
42235 ac_status=$?
42236 grep -v '^ *+' conftest.er1 >conftest.err
42237 rm -f conftest.er1
42238 cat conftest.err >&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } && {
42241 test -z "$ac_c_werror_flag" ||
42242 test ! -s conftest.err
42243 } && test -s conftest$ac_exeext &&
42244 $as_test_x conftest$ac_exeext; then
42245 ac_cv_header_sys_soundcard=yes
42246 else
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42249
42250
42251 saveLibs="$LIBS"
42252 LIBS="$saveLibs -lossaudio"
42253 cat >conftest.$ac_ext <<_ACEOF
42254 /* confdefs.h. */
42255 _ACEOF
42256 cat confdefs.h >>conftest.$ac_ext
42257 cat >>conftest.$ac_ext <<_ACEOF
42258 /* end confdefs.h. */
42259
42260 #include <sys/ioctl.h>
42261 #include <sys/soundcard.h>
42262
42263 int
42264 main ()
42265 {
42266
42267 ioctl(0, SNDCTL_DSP_SPEED, 0);
42268
42269 ;
42270 return 0;
42271 }
42272 _ACEOF
42273 rm -f conftest.$ac_objext conftest$ac_exeext
42274 if { (ac_try="$ac_link"
42275 case "(($ac_try" in
42276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42278 esac
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_link") 2>conftest.er1
42281 ac_status=$?
42282 grep -v '^ *+' conftest.er1 >conftest.err
42283 rm -f conftest.er1
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest$ac_exeext &&
42290 $as_test_x conftest$ac_exeext; then
42291 ac_cv_header_sys_soundcard=yes
42292 else
42293 echo "$as_me: failed program was:" >&5
42294 sed 's/^/| /' conftest.$ac_ext >&5
42295
42296
42297 LIBS="$saveLibs"
42298 ac_cv_header_sys_soundcard=no
42299
42300
42301 fi
42302
42303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42304 conftest$ac_exeext conftest.$ac_ext
42305
42306
42307 fi
42308
42309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42310 conftest$ac_exeext conftest.$ac_ext
42311
42312 fi
42313 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42314 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42315 fi
42316
42317 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define HAVE_SYS_SOUNDCARD_H 1
42320 _ACEOF
42321
42322 fi
42323 fi
42324
42325 WITH_PLUGIN_SDL=0
42326 if test "$wxUSE_SOUND" = "yes"; then
42327 if test "$USE_UNIX" = 1 ; then
42328 if test "$wxUSE_LIBSDL" != "no"; then
42329
42330 # Check whether --with-sdl-prefix was given.
42331 if test "${with_sdl_prefix+set}" = set; then
42332 withval=$with_sdl_prefix; sdl_prefix="$withval"
42333 else
42334 sdl_prefix=""
42335 fi
42336
42337
42338 # Check whether --with-sdl-exec-prefix was given.
42339 if test "${with_sdl_exec_prefix+set}" = set; then
42340 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42341 else
42342 sdl_exec_prefix=""
42343 fi
42344
42345 # Check whether --enable-sdltest was given.
42346 if test "${enable_sdltest+set}" = set; then
42347 enableval=$enable_sdltest;
42348 else
42349 enable_sdltest=yes
42350 fi
42351
42352
42353 if test x$sdl_exec_prefix != x ; then
42354 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42355 if test x${SDL_CONFIG+set} != xset ; then
42356 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42357 fi
42358 fi
42359 if test x$sdl_prefix != x ; then
42360 sdl_args="$sdl_args --prefix=$sdl_prefix"
42361 if test x${SDL_CONFIG+set} != xset ; then
42362 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42363 fi
42364 fi
42365
42366 if test "x$prefix" != xNONE; then
42367 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42368 fi
42369 # Extract the first word of "sdl-config", so it can be a program name with args.
42370 set dummy sdl-config; ac_word=$2
42371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42373 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42374 echo $ECHO_N "(cached) $ECHO_C" >&6
42375 else
42376 case $SDL_CONFIG in
42377 [\\/]* | ?:[\\/]*)
42378 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42379 ;;
42380 *)
42381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42382 for as_dir in $PATH
42383 do
42384 IFS=$as_save_IFS
42385 test -z "$as_dir" && as_dir=.
42386 for ac_exec_ext in '' $ac_executable_extensions; do
42387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42388 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42390 break 2
42391 fi
42392 done
42393 done
42394 IFS=$as_save_IFS
42395
42396 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42397 ;;
42398 esac
42399 fi
42400 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42401 if test -n "$SDL_CONFIG"; then
42402 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42403 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42404 else
42405 { echo "$as_me:$LINENO: result: no" >&5
42406 echo "${ECHO_T}no" >&6; }
42407 fi
42408
42409
42410 min_sdl_version=1.2.0
42411 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42412 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42413 no_sdl=""
42414 if test "$SDL_CONFIG" = "no" ; then
42415 no_sdl=yes
42416 else
42417 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42418 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42419
42420 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42421 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42422 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42424 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42426 if test "x$enable_sdltest" = "xyes" ; then
42427 ac_save_CFLAGS="$CFLAGS"
42428 ac_save_CXXFLAGS="$CXXFLAGS"
42429 ac_save_LIBS="$LIBS"
42430 CFLAGS="$CFLAGS $SDL_CFLAGS"
42431 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42432 LIBS="$LIBS $SDL_LIBS"
42433 rm -f conf.sdltest
42434 if test "$cross_compiling" = yes; then
42435 echo $ac_n "cross compiling; assumed OK... $ac_c"
42436 else
42437 cat >conftest.$ac_ext <<_ACEOF
42438 /* confdefs.h. */
42439 _ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42443
42444 #include <stdio.h>
42445 #include <stdlib.h>
42446 #include <string.h>
42447 #include "SDL.h"
42448
42449 char*
42450 my_strdup (char *str)
42451 {
42452 char *new_str;
42453
42454 if (str)
42455 {
42456 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42457 strcpy (new_str, str);
42458 }
42459 else
42460 new_str = NULL;
42461
42462 return new_str;
42463 }
42464
42465 int main (int argc, char *argv[])
42466 {
42467 int major, minor, micro;
42468 char *tmp_version;
42469
42470 /* This hangs on some systems (?)
42471 system ("touch conf.sdltest");
42472 */
42473 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42474
42475 /* HP/UX 9 (%@#!) writes to sscanf strings */
42476 tmp_version = my_strdup("$min_sdl_version");
42477 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42478 printf("%s, bad version string\n", "$min_sdl_version");
42479 exit(1);
42480 }
42481
42482 if (($sdl_major_version > major) ||
42483 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42484 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42485 {
42486 return 0;
42487 }
42488 else
42489 {
42490 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42491 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42492 printf("*** best to upgrade to the required version.\n");
42493 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42494 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42495 printf("*** config.cache before re-running configure\n");
42496 return 1;
42497 }
42498 }
42499
42500
42501 _ACEOF
42502 rm -f conftest$ac_exeext
42503 if { (ac_try="$ac_link"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42506 *) ac_try_echo=$ac_try;;
42507 esac
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_link") 2>&5
42510 ac_status=$?
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42513 { (case "(($ac_try" in
42514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42516 esac
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_try") 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42522 :
42523 else
42524 echo "$as_me: program exited with status $ac_status" >&5
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.$ac_ext >&5
42527
42528 ( exit $ac_status )
42529 no_sdl=yes
42530 fi
42531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42532 fi
42533
42534
42535 CFLAGS="$ac_save_CFLAGS"
42536 CXXFLAGS="$ac_save_CXXFLAGS"
42537 LIBS="$ac_save_LIBS"
42538 fi
42539 fi
42540 if test "x$no_sdl" = x ; then
42541 { echo "$as_me:$LINENO: result: yes" >&5
42542 echo "${ECHO_T}yes" >&6; }
42543
42544 EXTRALIBS_SDL="$SDL_LIBS"
42545 CFLAGS="$SDL_CFLAGS $CFLAGS"
42546 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_LIBSDL 1
42549 _ACEOF
42550
42551
42552 else
42553 { echo "$as_me:$LINENO: result: no" >&5
42554 echo "${ECHO_T}no" >&6; }
42555 if test "$SDL_CONFIG" = "no" ; then
42556 echo "*** The sdl-config script installed by SDL could not be found"
42557 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42558 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42559 echo "*** full path to sdl-config."
42560 else
42561 if test -f conf.sdltest ; then
42562 :
42563 else
42564 echo "*** Could not run SDL test program, checking why..."
42565 CFLAGS="$CFLAGS $SDL_CFLAGS"
42566 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42567 LIBS="$LIBS $SDL_LIBS"
42568 cat >conftest.$ac_ext <<_ACEOF
42569 /* confdefs.h. */
42570 _ACEOF
42571 cat confdefs.h >>conftest.$ac_ext
42572 cat >>conftest.$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42574
42575 #include <stdio.h>
42576 #include "SDL.h"
42577
42578 int main(int argc, char *argv[])
42579 { return 0; }
42580 #undef main
42581 #define main K_and_R_C_main
42582
42583 int
42584 main ()
42585 {
42586 return 0;
42587 ;
42588 return 0;
42589 }
42590 _ACEOF
42591 rm -f conftest.$ac_objext conftest$ac_exeext
42592 if { (ac_try="$ac_link"
42593 case "(($ac_try" in
42594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42595 *) ac_try_echo=$ac_try;;
42596 esac
42597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42598 (eval "$ac_link") 2>conftest.er1
42599 ac_status=$?
42600 grep -v '^ *+' conftest.er1 >conftest.err
42601 rm -f conftest.er1
42602 cat conftest.err >&5
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); } && {
42605 test -z "$ac_c_werror_flag" ||
42606 test ! -s conftest.err
42607 } && test -s conftest$ac_exeext &&
42608 $as_test_x conftest$ac_exeext; then
42609 echo "*** The test program compiled, but did not run. This usually means"
42610 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42611 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42614 echo "*** is required on your system"
42615 echo "***"
42616 echo "*** If you have an old version installed, it is best to remove it, although"
42617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42618 else
42619 echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.$ac_ext >&5
42621
42622 echo "*** The test program failed to compile or link. See the file config.log for the"
42623 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42624 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42625 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42626 fi
42627
42628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42629 conftest$ac_exeext conftest.$ac_ext
42630 CFLAGS="$ac_save_CFLAGS"
42631 CXXFLAGS="$ac_save_CXXFLAGS"
42632 LIBS="$ac_save_LIBS"
42633 fi
42634 fi
42635 SDL_CFLAGS=""
42636 SDL_LIBS=""
42637 wxUSE_LIBSDL="no"
42638 fi
42639
42640
42641 rm -f conf.sdltest
42642
42643 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42644 WITH_PLUGIN_SDL=1
42645 fi
42646 fi
42647 else
42648 if test "$wxUSE_MGL" = 1; then
42649 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42650 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42651 wxUSE_SOUND="no"
42652 fi
42653 fi
42654 fi
42655
42656 if test "$wxUSE_SOUND" = "yes"; then
42657 cat >>confdefs.h <<\_ACEOF
42658 #define wxUSE_SOUND 1
42659 _ACEOF
42660
42661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42662 fi
42663
42664 if test "$WXGTK2" = 1; then
42665
42666
42667 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42668 if test -n "$ac_tool_prefix"; then
42669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42670 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676 case $PKG_CONFIG in
42677 [\\/]* | ?:[\\/]*)
42678 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42679 ;;
42680 *)
42681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42682 for as_dir in $PATH
42683 do
42684 IFS=$as_save_IFS
42685 test -z "$as_dir" && as_dir=.
42686 for ac_exec_ext in '' $ac_executable_extensions; do
42687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42688 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42690 break 2
42691 fi
42692 done
42693 done
42694 IFS=$as_save_IFS
42695
42696 ;;
42697 esac
42698 fi
42699 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42700 if test -n "$PKG_CONFIG"; then
42701 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42702 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42703 else
42704 { echo "$as_me:$LINENO: result: no" >&5
42705 echo "${ECHO_T}no" >&6; }
42706 fi
42707
42708
42709 fi
42710 if test -z "$ac_cv_path_PKG_CONFIG"; then
42711 ac_pt_PKG_CONFIG=$PKG_CONFIG
42712 # Extract the first word of "pkg-config", so it can be a program name with args.
42713 set dummy pkg-config; ac_word=$2
42714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42716 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42717 echo $ECHO_N "(cached) $ECHO_C" >&6
42718 else
42719 case $ac_pt_PKG_CONFIG in
42720 [\\/]* | ?:[\\/]*)
42721 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42722 ;;
42723 *)
42724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42725 for as_dir in $PATH
42726 do
42727 IFS=$as_save_IFS
42728 test -z "$as_dir" && as_dir=.
42729 for ac_exec_ext in '' $ac_executable_extensions; do
42730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42731 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42733 break 2
42734 fi
42735 done
42736 done
42737 IFS=$as_save_IFS
42738
42739 ;;
42740 esac
42741 fi
42742 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42743 if test -n "$ac_pt_PKG_CONFIG"; then
42744 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42745 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42746 else
42747 { echo "$as_me:$LINENO: result: no" >&5
42748 echo "${ECHO_T}no" >&6; }
42749 fi
42750
42751 if test "x$ac_pt_PKG_CONFIG" = x; then
42752 PKG_CONFIG=""
42753 else
42754 case $cross_compiling:$ac_tool_warned in
42755 yes:)
42756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42757 whose name does not start with the host triplet. If you think this
42758 configuration is useful to you, please write to autoconf@gnu.org." >&5
42759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42760 whose name does not start with the host triplet. If you think this
42761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42762 ac_tool_warned=yes ;;
42763 esac
42764 PKG_CONFIG=$ac_pt_PKG_CONFIG
42765 fi
42766 else
42767 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42768 fi
42769
42770 fi
42771 if test -n "$PKG_CONFIG"; then
42772 _pkg_min_version=0.9.0
42773 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42774 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42775 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42776 { echo "$as_me:$LINENO: result: yes" >&5
42777 echo "${ECHO_T}yes" >&6; }
42778 else
42779 { echo "$as_me:$LINENO: result: no" >&5
42780 echo "${ECHO_T}no" >&6; }
42781 PKG_CONFIG=""
42782 fi
42783
42784 fi
42785
42786 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42787
42788 if test "$wxUSE_GTKPRINT" = "yes" ; then
42789
42790
42791 pkg_failed=no
42792 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42793 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42794
42795 if test -n "$PKG_CONFIG"; then
42796 if test -n "$GTKPRINT_CFLAGS"; then
42797 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42798 else
42799 if test -n "$PKG_CONFIG" && \
42800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42801 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42802 ac_status=$?
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); }; then
42805 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42806 else
42807 pkg_failed=yes
42808 fi
42809 fi
42810 else
42811 pkg_failed=untried
42812 fi
42813 if test -n "$PKG_CONFIG"; then
42814 if test -n "$GTKPRINT_LIBS"; then
42815 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42816 else
42817 if test -n "$PKG_CONFIG" && \
42818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42819 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; then
42823 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42824 else
42825 pkg_failed=yes
42826 fi
42827 fi
42828 else
42829 pkg_failed=untried
42830 fi
42831
42832
42833
42834 if test $pkg_failed = yes; then
42835
42836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42837 _pkg_short_errors_supported=yes
42838 else
42839 _pkg_short_errors_supported=no
42840 fi
42841 if test $_pkg_short_errors_supported = yes; then
42842 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42843 else
42844 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42845 fi
42846 # Put the nasty error message in config.log where it belongs
42847 echo "$GTKPRINT_PKG_ERRORS" >&5
42848
42849
42850 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42851 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42852 wxUSE_GTKPRINT="no"
42853
42854
42855 elif test $pkg_failed = untried; then
42856
42857 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42858 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42859 wxUSE_GTKPRINT="no"
42860
42861
42862 else
42863 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42864 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42865 { echo "$as_me:$LINENO: result: yes" >&5
42866 echo "${ECHO_T}yes" >&6; }
42867
42868 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42869 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42870 cat >>confdefs.h <<\_ACEOF
42871 #define wxUSE_GTKPRINT 1
42872 _ACEOF
42873
42874
42875 fi
42876 fi
42877
42878 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42879
42880
42881 pkg_failed=no
42882 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42883 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42884
42885 if test -n "$PKG_CONFIG"; then
42886 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42887 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42888 else
42889 if test -n "$PKG_CONFIG" && \
42890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42891 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42892 ac_status=$?
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); }; then
42895 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42896 else
42897 pkg_failed=yes
42898 fi
42899 fi
42900 else
42901 pkg_failed=untried
42902 fi
42903 if test -n "$PKG_CONFIG"; then
42904 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42905 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42906 else
42907 if test -n "$PKG_CONFIG" && \
42908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42909 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42910 ac_status=$?
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); }; then
42913 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42914 else
42915 pkg_failed=yes
42916 fi
42917 fi
42918 else
42919 pkg_failed=untried
42920 fi
42921
42922
42923
42924 if test $pkg_failed = yes; then
42925
42926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42927 _pkg_short_errors_supported=yes
42928 else
42929 _pkg_short_errors_supported=no
42930 fi
42931 if test $_pkg_short_errors_supported = yes; then
42932 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42933 else
42934 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42935 fi
42936 # Put the nasty error message in config.log where it belongs
42937 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42938
42939
42940 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42941 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42942 wxUSE_LIBGNOMEPRINT="no"
42943
42944
42945 elif test $pkg_failed = untried; then
42946
42947 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42948 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42949 wxUSE_LIBGNOMEPRINT="no"
42950
42951
42952 else
42953 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42954 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42955 { echo "$as_me:$LINENO: result: yes" >&5
42956 echo "${ECHO_T}yes" >&6; }
42957
42958 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42959 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42960 cat >>confdefs.h <<\_ACEOF
42961 #define wxUSE_LIBGNOMEPRINT 1
42962 _ACEOF
42963
42964
42965 fi
42966 fi
42967 fi
42968
42969 if test "$wxUSE_MIMETYPE" = "yes" ; then
42970 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42971
42972
42973 pkg_failed=no
42974 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42975 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42976
42977 if test -n "$PKG_CONFIG"; then
42978 if test -n "$GNOMEVFS_CFLAGS"; then
42979 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42980 else
42981 if test -n "$PKG_CONFIG" && \
42982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42983 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42984 ac_status=$?
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); }; then
42987 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42988 else
42989 pkg_failed=yes
42990 fi
42991 fi
42992 else
42993 pkg_failed=untried
42994 fi
42995 if test -n "$PKG_CONFIG"; then
42996 if test -n "$GNOMEVFS_LIBS"; then
42997 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42998 else
42999 if test -n "$PKG_CONFIG" && \
43000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43001 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43002 ac_status=$?
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; then
43005 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43006 else
43007 pkg_failed=yes
43008 fi
43009 fi
43010 else
43011 pkg_failed=untried
43012 fi
43013
43014
43015
43016 if test $pkg_failed = yes; then
43017
43018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43019 _pkg_short_errors_supported=yes
43020 else
43021 _pkg_short_errors_supported=no
43022 fi
43023 if test $_pkg_short_errors_supported = yes; then
43024 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43025 else
43026 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43027 fi
43028 # Put the nasty error message in config.log where it belongs
43029 echo "$GNOMEVFS_PKG_ERRORS" >&5
43030
43031
43032 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43033 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43034 wxUSE_LIBGNOMEVFS="no"
43035
43036
43037 elif test $pkg_failed = untried; then
43038
43039 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43040 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43041 wxUSE_LIBGNOMEVFS="no"
43042
43043
43044 else
43045 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43046 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43047 { echo "$as_me:$LINENO: result: yes" >&5
43048 echo "${ECHO_T}yes" >&6; }
43049
43050 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43051 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_LIBGNOMEVFS 1
43054 _ACEOF
43055
43056
43057 fi
43058 fi
43059 fi
43060
43061 if test "$wxUSE_LIBHILDON" = "yes" ; then
43062
43063 pkg_failed=no
43064 { echo "$as_me:$LINENO: checking for HILDON" >&5
43065 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43066
43067 if test -n "$PKG_CONFIG"; then
43068 if test -n "$HILDON_CFLAGS"; then
43069 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43070 else
43071 if test -n "$PKG_CONFIG" && \
43072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43073 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43074 ac_status=$?
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); }; then
43077 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43078 else
43079 pkg_failed=yes
43080 fi
43081 fi
43082 else
43083 pkg_failed=untried
43084 fi
43085 if test -n "$PKG_CONFIG"; then
43086 if test -n "$HILDON_LIBS"; then
43087 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43088 else
43089 if test -n "$PKG_CONFIG" && \
43090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43091 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43092 ac_status=$?
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; then
43095 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43096 else
43097 pkg_failed=yes
43098 fi
43099 fi
43100 else
43101 pkg_failed=untried
43102 fi
43103
43104
43105
43106 if test $pkg_failed = yes; then
43107
43108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43109 _pkg_short_errors_supported=yes
43110 else
43111 _pkg_short_errors_supported=no
43112 fi
43113 if test $_pkg_short_errors_supported = yes; then
43114 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43115 else
43116 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43117 fi
43118 # Put the nasty error message in config.log where it belongs
43119 echo "$HILDON_PKG_ERRORS" >&5
43120
43121
43122 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43123 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43124 wxUSE_LIBHILDON="no"
43125
43126
43127 elif test $pkg_failed = untried; then
43128
43129 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43130 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43131 wxUSE_LIBHILDON="no"
43132
43133
43134 else
43135 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43136 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43137 { echo "$as_me:$LINENO: result: yes" >&5
43138 echo "${ECHO_T}yes" >&6; }
43139
43140 EXTRALIBS_HILDON="$HILDON_LIBS"
43141 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43142 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43143 cat >>confdefs.h <<\_ACEOF
43144 #define wxUSE_LIBHILDON 1
43145 _ACEOF
43146
43147
43148 fi
43149 fi
43150 fi
43151
43152 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_CMDLINE_PARSER 1
43155 _ACEOF
43156
43157 fi
43158
43159 if test "$wxUSE_STOPWATCH" = "yes"; then
43160 cat >>confdefs.h <<\_ACEOF
43161 #define wxUSE_STOPWATCH 1
43162 _ACEOF
43163
43164 fi
43165
43166 if test "$wxUSE_DATETIME" = "yes"; then
43167 cat >>confdefs.h <<\_ACEOF
43168 #define wxUSE_DATETIME 1
43169 _ACEOF
43170
43171 fi
43172
43173 if test "$wxUSE_FILE" = "yes"; then
43174 cat >>confdefs.h <<\_ACEOF
43175 #define wxUSE_FILE 1
43176 _ACEOF
43177
43178 fi
43179
43180 if test "$wxUSE_FFILE" = "yes"; then
43181 cat >>confdefs.h <<\_ACEOF
43182 #define wxUSE_FFILE 1
43183 _ACEOF
43184
43185 fi
43186
43187 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43188 if test "$wxUSE_STREAMS" != yes; then
43189 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43190 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43191 wxUSE_ARCHIVE_STREAMS=no
43192 else
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_ARCHIVE_STREAMS 1
43195 _ACEOF
43196
43197 fi
43198 fi
43199
43200 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43201 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43202 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43203 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43204 elif test "$wxUSE_ZLIB" = "no"; then
43205 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43206 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43207 else
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_ZIPSTREAM 1
43210 _ACEOF
43211
43212 fi
43213 fi
43214
43215 if test "$wxUSE_TARSTREAM" = "yes"; then
43216 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43217 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43218 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43219 else
43220 cat >>confdefs.h <<\_ACEOF
43221 #define wxUSE_TARSTREAM 1
43222 _ACEOF
43223
43224 fi
43225 fi
43226
43227 if test "$wxUSE_FILESYSTEM" = "yes"; then
43228 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43229 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43230 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43231 wxUSE_FILESYSTEM=no
43232 else
43233 cat >>confdefs.h <<\_ACEOF
43234 #define wxUSE_FILESYSTEM 1
43235 _ACEOF
43236
43237 fi
43238 fi
43239
43240 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43241 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43242 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43243 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43244 else
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_FS_ARCHIVE 1
43247 _ACEOF
43248
43249 fi
43250 fi
43251
43252 if test "$wxUSE_FS_ZIP" = "yes"; then
43253 if test "$wxUSE_FS_ARCHIVE" != yes; then
43254 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43255 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43256 else
43257 cat >>confdefs.h <<\_ACEOF
43258 #define wxUSE_FS_ZIP 1
43259 _ACEOF
43260
43261 fi
43262 fi
43263
43264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43265 if test "$USE_UNIX" != 1; then
43266 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43267 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43268 wxUSE_ON_FATAL_EXCEPTION=no
43269 else
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_ON_FATAL_EXCEPTION 1
43272 _ACEOF
43273
43274 fi
43275 fi
43276
43277 if test "$wxUSE_STACKWALKER" = "yes"; then
43278 cat >>confdefs.h <<\_ACEOF
43279 #define wxUSE_STACKWALKER 1
43280 _ACEOF
43281
43282 fi
43283
43284 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43285 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43286 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43287 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43288 wxUSE_DEBUGREPORT=no
43289 else
43290 cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_DEBUGREPORT 1
43292 _ACEOF
43293
43294 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43296 fi
43297 fi
43298 fi
43299
43300 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_SNGLINST_CHECKER 1
43303 _ACEOF
43304
43305 fi
43306
43307 if test "$wxUSE_BUSYINFO" = "yes"; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_BUSYINFO 1
43310 _ACEOF
43311
43312 fi
43313
43314 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43315 cat >>confdefs.h <<\_ACEOF
43316 #define wxUSE_STD_IOSTREAM 1
43317 _ACEOF
43318
43319 fi
43320
43321 if test "$wxUSE_STD_STRING" = "yes"; then
43322 cat >>confdefs.h <<\_ACEOF
43323 #define wxUSE_STD_STRING 1
43324 _ACEOF
43325
43326 fi
43327
43328 if test "$wxUSE_STDPATHS" = "yes"; then
43329 cat >>confdefs.h <<\_ACEOF
43330 #define wxUSE_STDPATHS 1
43331 _ACEOF
43332
43333 fi
43334
43335 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43336 cat >>confdefs.h <<\_ACEOF
43337 #define wxUSE_TEXTBUFFER 1
43338 _ACEOF
43339
43340 fi
43341
43342 if test "$wxUSE_TEXTFILE" = "yes"; then
43343 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43344 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43345 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43346 else
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_TEXTFILE 1
43349 _ACEOF
43350
43351 fi
43352 fi
43353
43354 if test "$wxUSE_CONFIG" = "yes" ; then
43355 if test "$wxUSE_TEXTFILE" != "yes"; then
43356 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43357 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43358 else
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_CONFIG 1
43361 _ACEOF
43362
43363 cat >>confdefs.h <<\_ACEOF
43364 #define wxUSE_CONFIG_NATIVE 1
43365 _ACEOF
43366
43367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43368 fi
43369 fi
43370
43371 if test "$wxUSE_INTL" = "yes" ; then
43372 if test "$wxUSE_FILE" != "yes"; then
43373 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43374 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43375 else
43376 cat >>confdefs.h <<\_ACEOF
43377 #define wxUSE_INTL 1
43378 _ACEOF
43379
43380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43381 GUIDIST="$GUIDIST INTL_DIST"
43382 fi
43383 fi
43384
43385 if test "$wxUSE_XLOCALE" = "yes" ; then
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_XLOCALE 1
43388 _ACEOF
43389
43390 { echo "$as_me:$LINENO: checking for locale_t" >&5
43391 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43392 if test "${ac_cv_type_locale_t+set}" = set; then
43393 echo $ECHO_N "(cached) $ECHO_C" >&6
43394 else
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401 #include <xlocale.h>
43402 #include <locale.h>
43403
43404 typedef locale_t ac__type_new_;
43405 int
43406 main ()
43407 {
43408 if ((ac__type_new_ *) 0)
43409 return 0;
43410 if (sizeof (ac__type_new_))
43411 return 0;
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 rm -f conftest.$ac_objext
43417 if { (ac_try="$ac_compile"
43418 case "(($ac_try" in
43419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43420 *) ac_try_echo=$ac_try;;
43421 esac
43422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43423 (eval "$ac_compile") 2>conftest.er1
43424 ac_status=$?
43425 grep -v '^ *+' conftest.er1 >conftest.err
43426 rm -f conftest.er1
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } && {
43430 test -z "$ac_c_werror_flag" ||
43431 test ! -s conftest.err
43432 } && test -s conftest.$ac_objext; then
43433 ac_cv_type_locale_t=yes
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43437
43438 ac_cv_type_locale_t=no
43439 fi
43440
43441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43442 fi
43443 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43444 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43445 if test $ac_cv_type_locale_t = yes; then
43446
43447 cat >>confdefs.h <<_ACEOF
43448 #define HAVE_LOCALE_T 1
43449 _ACEOF
43450
43451
43452 fi
43453
43454 fi
43455
43456 if test "$wxUSE_LOG" = "yes"; then
43457 cat >>confdefs.h <<\_ACEOF
43458 #define wxUSE_LOG 1
43459 _ACEOF
43460
43461
43462 if test "$wxUSE_LOGGUI" = "yes"; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_LOGGUI 1
43465 _ACEOF
43466
43467 fi
43468
43469 if test "$wxUSE_LOGWINDOW" = "yes"; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_LOGWINDOW 1
43472 _ACEOF
43473
43474 fi
43475
43476 if test "$wxUSE_LOGDIALOG" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_LOG_DIALOG 1
43479 _ACEOF
43480
43481 fi
43482
43483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43484 fi
43485
43486 if test "$wxUSE_LONGLONG" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_LONGLONG 1
43489 _ACEOF
43490
43491 fi
43492
43493 if test "$wxUSE_GEOMETRY" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_GEOMETRY 1
43496 _ACEOF
43497
43498 fi
43499
43500 if test "$wxUSE_BASE64" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_BASE64 1
43503 _ACEOF
43504
43505 fi
43506
43507 if test "$wxUSE_STREAMS" = "yes" ; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_STREAMS 1
43510 _ACEOF
43511
43512 fi
43513
43514 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43515 cat >>confdefs.h <<\_ACEOF
43516 #define wxUSE_PRINTF_POS_PARAMS 1
43517 _ACEOF
43518
43519 fi
43520
43521 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43522 cat >>confdefs.h <<\_ACEOF
43523 #define wxUSE_OBJC_UNIQUIFYING 1
43524 _ACEOF
43525
43526 fi
43527
43528
43529 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define wxUSE_CONSOLE_EVENTLOOP 1
43532 _ACEOF
43533
43534
43535 if test "$wxUSE_UNIX" = "yes"; then
43536 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_SELECT_DISPATCHER 1
43539 _ACEOF
43540
43541 fi
43542
43543 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43544
43545 for ac_header in sys/epoll.h
43546 do
43547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43551 echo $ECHO_N "(cached) $ECHO_C" >&6
43552 else
43553 cat >conftest.$ac_ext <<_ACEOF
43554 /* confdefs.h. */
43555 _ACEOF
43556 cat confdefs.h >>conftest.$ac_ext
43557 cat >>conftest.$ac_ext <<_ACEOF
43558 /* end confdefs.h. */
43559 $ac_includes_default
43560
43561 #include <$ac_header>
43562 _ACEOF
43563 rm -f conftest.$ac_objext
43564 if { (ac_try="$ac_compile"
43565 case "(($ac_try" in
43566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43567 *) ac_try_echo=$ac_try;;
43568 esac
43569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43570 (eval "$ac_compile") 2>conftest.er1
43571 ac_status=$?
43572 grep -v '^ *+' conftest.er1 >conftest.err
43573 rm -f conftest.er1
43574 cat conftest.err >&5
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); } && {
43577 test -z "$ac_c_werror_flag" ||
43578 test ! -s conftest.err
43579 } && test -s conftest.$ac_objext; then
43580 eval "$as_ac_Header=yes"
43581 else
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.$ac_ext >&5
43584
43585 eval "$as_ac_Header=no"
43586 fi
43587
43588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43589 fi
43590 ac_res=`eval echo '${'$as_ac_Header'}'`
43591 { echo "$as_me:$LINENO: result: $ac_res" >&5
43592 echo "${ECHO_T}$ac_res" >&6; }
43593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43594 cat >>confdefs.h <<_ACEOF
43595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43596 _ACEOF
43597
43598 fi
43599
43600 done
43601
43602 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define wxUSE_EPOLL_DISPATCHER 1
43605 _ACEOF
43606
43607 else
43608 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43609 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43610 fi
43611 fi
43612 fi
43613 fi
43614
43615
43616
43617
43618 for ac_func in gettimeofday ftime
43619 do
43620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43624 echo $ECHO_N "(cached) $ECHO_C" >&6
43625 else
43626 cat >conftest.$ac_ext <<_ACEOF
43627 /* confdefs.h. */
43628 _ACEOF
43629 cat confdefs.h >>conftest.$ac_ext
43630 cat >>conftest.$ac_ext <<_ACEOF
43631 /* end confdefs.h. */
43632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43634 #define $ac_func innocuous_$ac_func
43635
43636 /* System header to define __stub macros and hopefully few prototypes,
43637 which can conflict with char $ac_func (); below.
43638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43639 <limits.h> exists even on freestanding compilers. */
43640
43641 #ifdef __STDC__
43642 # include <limits.h>
43643 #else
43644 # include <assert.h>
43645 #endif
43646
43647 #undef $ac_func
43648
43649 /* Override any GCC internal prototype to avoid an error.
43650 Use char because int might match the return type of a GCC
43651 builtin and then its argument prototype would still apply. */
43652 #ifdef __cplusplus
43653 extern "C"
43654 #endif
43655 char $ac_func ();
43656 /* The GNU C library defines this for functions which it implements
43657 to always fail with ENOSYS. Some functions are actually named
43658 something starting with __ and the normal name is an alias. */
43659 #if defined __stub_$ac_func || defined __stub___$ac_func
43660 choke me
43661 #endif
43662
43663 int
43664 main ()
43665 {
43666 return $ac_func ();
43667 ;
43668 return 0;
43669 }
43670 _ACEOF
43671 rm -f conftest.$ac_objext conftest$ac_exeext
43672 if { (ac_try="$ac_link"
43673 case "(($ac_try" in
43674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43675 *) ac_try_echo=$ac_try;;
43676 esac
43677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43678 (eval "$ac_link") 2>conftest.er1
43679 ac_status=$?
43680 grep -v '^ *+' conftest.er1 >conftest.err
43681 rm -f conftest.er1
43682 cat conftest.err >&5
43683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684 (exit $ac_status); } && {
43685 test -z "$ac_c_werror_flag" ||
43686 test ! -s conftest.err
43687 } && test -s conftest$ac_exeext &&
43688 $as_test_x conftest$ac_exeext; then
43689 eval "$as_ac_var=yes"
43690 else
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43693
43694 eval "$as_ac_var=no"
43695 fi
43696
43697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43698 conftest$ac_exeext conftest.$ac_ext
43699 fi
43700 ac_res=`eval echo '${'$as_ac_var'}'`
43701 { echo "$as_me:$LINENO: result: $ac_res" >&5
43702 echo "${ECHO_T}$ac_res" >&6; }
43703 if test `eval echo '${'$as_ac_var'}'` = yes; then
43704 cat >>confdefs.h <<_ACEOF
43705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43706 _ACEOF
43707 break
43708 fi
43709 done
43710
43711
43712 if test "$ac_cv_func_gettimeofday" = "yes"; then
43713 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43714 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43715 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43717 else
43718
43719 cat >conftest.$ac_ext <<_ACEOF
43720 /* confdefs.h. */
43721 _ACEOF
43722 cat confdefs.h >>conftest.$ac_ext
43723 cat >>conftest.$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43725
43726 #include <sys/time.h>
43727 #include <unistd.h>
43728
43729 int
43730 main ()
43731 {
43732
43733 struct timeval tv;
43734 gettimeofday(&tv, NULL);
43735
43736 ;
43737 return 0;
43738 }
43739 _ACEOF
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43745 esac
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43748 ac_status=$?
43749 grep -v '^ *+' conftest.er1 >conftest.err
43750 rm -f conftest.er1
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_c_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.$ac_objext; then
43757 wx_cv_func_gettimeofday_has_2_args=yes
43758 else
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43761
43762 cat >conftest.$ac_ext <<_ACEOF
43763 /* confdefs.h. */
43764 _ACEOF
43765 cat confdefs.h >>conftest.$ac_ext
43766 cat >>conftest.$ac_ext <<_ACEOF
43767 /* end confdefs.h. */
43768
43769 #include <sys/time.h>
43770 #include <unistd.h>
43771
43772 int
43773 main ()
43774 {
43775
43776 struct timeval tv;
43777 gettimeofday(&tv);
43778
43779 ;
43780 return 0;
43781 }
43782 _ACEOF
43783 rm -f conftest.$ac_objext
43784 if { (ac_try="$ac_compile"
43785 case "(($ac_try" in
43786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43787 *) ac_try_echo=$ac_try;;
43788 esac
43789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43790 (eval "$ac_compile") 2>conftest.er1
43791 ac_status=$?
43792 grep -v '^ *+' conftest.er1 >conftest.err
43793 rm -f conftest.er1
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } && {
43797 test -z "$ac_c_werror_flag" ||
43798 test ! -s conftest.err
43799 } && test -s conftest.$ac_objext; then
43800 wx_cv_func_gettimeofday_has_2_args=no
43801 else
43802 echo "$as_me: failed program was:" >&5
43803 sed 's/^/| /' conftest.$ac_ext >&5
43804
43805
43806 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43807 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43808 wx_cv_func_gettimeofday_has_2_args=unknown
43809
43810
43811 fi
43812
43813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43814
43815 fi
43816
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818
43819 fi
43820 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43821 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43822
43823 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43824 cat >>confdefs.h <<\_ACEOF
43825 #define WX_GETTIMEOFDAY_NO_TZ 1
43826 _ACEOF
43827
43828 fi
43829 fi
43830
43831 if test "$wxUSE_DATETIME" = "yes"; then
43832 { echo "$as_me:$LINENO: checking for strptime" >&5
43833 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43834 if test "${ac_cv_func_strptime+set}" = set; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43836 else
43837 cat >conftest.$ac_ext <<_ACEOF
43838 /* confdefs.h. */
43839 _ACEOF
43840 cat confdefs.h >>conftest.$ac_ext
43841 cat >>conftest.$ac_ext <<_ACEOF
43842 /* end confdefs.h. */
43843 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43845 #define strptime innocuous_strptime
43846
43847 /* System header to define __stub macros and hopefully few prototypes,
43848 which can conflict with char strptime (); below.
43849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43850 <limits.h> exists even on freestanding compilers. */
43851
43852 #ifdef __STDC__
43853 # include <limits.h>
43854 #else
43855 # include <assert.h>
43856 #endif
43857
43858 #undef strptime
43859
43860 /* Override any GCC internal prototype to avoid an error.
43861 Use char because int might match the return type of a GCC
43862 builtin and then its argument prototype would still apply. */
43863 #ifdef __cplusplus
43864 extern "C"
43865 #endif
43866 char strptime ();
43867 /* The GNU C library defines this for functions which it implements
43868 to always fail with ENOSYS. Some functions are actually named
43869 something starting with __ and the normal name is an alias. */
43870 #if defined __stub_strptime || defined __stub___strptime
43871 choke me
43872 #endif
43873
43874 int
43875 main ()
43876 {
43877 return strptime ();
43878 ;
43879 return 0;
43880 }
43881 _ACEOF
43882 rm -f conftest.$ac_objext conftest$ac_exeext
43883 if { (ac_try="$ac_link"
43884 case "(($ac_try" in
43885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43886 *) ac_try_echo=$ac_try;;
43887 esac
43888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43889 (eval "$ac_link") 2>conftest.er1
43890 ac_status=$?
43891 grep -v '^ *+' conftest.er1 >conftest.err
43892 rm -f conftest.er1
43893 cat conftest.err >&5
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); } && {
43896 test -z "$ac_c_werror_flag" ||
43897 test ! -s conftest.err
43898 } && test -s conftest$ac_exeext &&
43899 $as_test_x conftest$ac_exeext; then
43900 ac_cv_func_strptime=yes
43901 else
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.$ac_ext >&5
43904
43905 ac_cv_func_strptime=no
43906 fi
43907
43908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43909 conftest$ac_exeext conftest.$ac_ext
43910 fi
43911 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43912 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43913
43914 if test "$ac_cv_func_strptime" = "yes"; then
43915 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43916 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43917 if test "${wx_cv_func_strptime_decl+set}" = set; then
43918 echo $ECHO_N "(cached) $ECHO_C" >&6
43919 else
43920
43921 ac_ext=cpp
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43926
43927 cat >conftest.$ac_ext <<_ACEOF
43928 /* confdefs.h. */
43929 _ACEOF
43930 cat confdefs.h >>conftest.$ac_ext
43931 cat >>conftest.$ac_ext <<_ACEOF
43932 /* end confdefs.h. */
43933
43934 #include <time.h>
43935
43936 int
43937 main ()
43938 {
43939
43940 struct tm t;
43941 strptime("foo", "bar", &t);
43942
43943 ;
43944 return 0;
43945 }
43946 _ACEOF
43947 rm -f conftest.$ac_objext
43948 if { (ac_try="$ac_compile"
43949 case "(($ac_try" in
43950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43952 esac
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_compile") 2>conftest.er1
43955 ac_status=$?
43956 grep -v '^ *+' conftest.er1 >conftest.err
43957 rm -f conftest.er1
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_cxx_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest.$ac_objext; then
43964 wx_cv_func_strptime_decl=yes
43965 else
43966 echo "$as_me: failed program was:" >&5
43967 sed 's/^/| /' conftest.$ac_ext >&5
43968
43969 wx_cv_func_strptime_decl=no
43970
43971 fi
43972
43973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43974 ac_ext=c
43975 ac_cpp='$CPP $CPPFLAGS'
43976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43979
43980
43981
43982 fi
43983 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43984 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43985 fi
43986 if test "$wx_cv_func_strptime_decl" = "yes"; then
43987 cat >>confdefs.h <<\_ACEOF
43988 #define HAVE_STRPTIME_DECL 1
43989 _ACEOF
43990
43991 else
43992 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43993 fi
43994 if test "$ac_cv_func_strptime" = "yes"; then
43995 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43996 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43997 if test "${wx_cv_func_strptime_ok+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
43999 else
44000 if test "$cross_compiling" = yes; then
44001 wx_cv_func_strptime_ok=no
44002
44003 else
44004 cat >conftest.$ac_ext <<_ACEOF
44005
44006 #include <stdlib.h>
44007 #include <time.h>
44008 #include "confdefs.h"
44009
44010 $wx_strptime_decl
44011
44012 int main()
44013 {
44014 struct tm t;
44015 return !!strptime("", "%x", &t);
44016 }
44017
44018 _ACEOF
44019 rm -f conftest$ac_exeext
44020 if { (ac_try="$ac_link"
44021 case "(($ac_try" in
44022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44023 *) ac_try_echo=$ac_try;;
44024 esac
44025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44026 (eval "$ac_link") 2>&5
44027 ac_status=$?
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44030 { (case "(($ac_try" in
44031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44032 *) ac_try_echo=$ac_try;;
44033 esac
44034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44035 (eval "$ac_try") 2>&5
44036 ac_status=$?
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); }; }; then
44039 wx_cv_func_strptime_ok=yes
44040 else
44041 echo "$as_me: program exited with status $ac_status" >&5
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 ( exit $ac_status )
44046 wx_cv_func_strptime_ok=no
44047 fi
44048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44049 fi
44050
44051
44052
44053 fi
44054 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44055 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44056
44057 if test "$wx_cv_func_strptime_ok" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define HAVE_STRPTIME 1
44060 _ACEOF
44061
44062 fi
44063 fi
44064
44065 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44066 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44067 if test "${wx_cv_var_timezone+set}" = set; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 else
44070
44071 ac_ext=cpp
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h. */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44083
44084 #include <time.h>
44085
44086 int
44087 main ()
44088 {
44089
44090 int tz;
44091 tz = timezone;
44092
44093 ;
44094 return 0;
44095 }
44096 _ACEOF
44097 rm -f conftest.$ac_objext
44098 if { (ac_try="$ac_compile"
44099 case "(($ac_try" in
44100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44101 *) ac_try_echo=$ac_try;;
44102 esac
44103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44104 (eval "$ac_compile") 2>conftest.er1
44105 ac_status=$?
44106 grep -v '^ *+' conftest.er1 >conftest.err
44107 rm -f conftest.er1
44108 cat conftest.err >&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); } && {
44111 test -z "$ac_cxx_werror_flag" ||
44112 test ! -s conftest.err
44113 } && test -s conftest.$ac_objext; then
44114
44115 wx_cv_var_timezone=timezone
44116
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44120
44121
44122 cat >conftest.$ac_ext <<_ACEOF
44123 /* confdefs.h. */
44124 _ACEOF
44125 cat confdefs.h >>conftest.$ac_ext
44126 cat >>conftest.$ac_ext <<_ACEOF
44127 /* end confdefs.h. */
44128
44129 #include <time.h>
44130
44131 int
44132 main ()
44133 {
44134
44135 int tz;
44136 tz = _timezone;
44137
44138 ;
44139 return 0;
44140 }
44141 _ACEOF
44142 rm -f conftest.$ac_objext
44143 if { (ac_try="$ac_compile"
44144 case "(($ac_try" in
44145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44146 *) ac_try_echo=$ac_try;;
44147 esac
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149 (eval "$ac_compile") 2>conftest.er1
44150 ac_status=$?
44151 grep -v '^ *+' conftest.er1 >conftest.err
44152 rm -f conftest.er1
44153 cat conftest.err >&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } && {
44156 test -z "$ac_cxx_werror_flag" ||
44157 test ! -s conftest.err
44158 } && test -s conftest.$ac_objext; then
44159
44160 wx_cv_var_timezone=_timezone
44161
44162 else
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44165
44166
44167 cat >conftest.$ac_ext <<_ACEOF
44168 /* confdefs.h. */
44169 _ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44173
44174 #include <time.h>
44175
44176 int
44177 main ()
44178 {
44179
44180 int tz;
44181 tz = __timezone;
44182
44183 ;
44184 return 0;
44185 }
44186 _ACEOF
44187 rm -f conftest.$ac_objext
44188 if { (ac_try="$ac_compile"
44189 case "(($ac_try" in
44190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44191 *) ac_try_echo=$ac_try;;
44192 esac
44193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44194 (eval "$ac_compile") 2>conftest.er1
44195 ac_status=$?
44196 grep -v '^ *+' conftest.er1 >conftest.err
44197 rm -f conftest.er1
44198 cat conftest.err >&5
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); } && {
44201 test -z "$ac_cxx_werror_flag" ||
44202 test ! -s conftest.err
44203 } && test -s conftest.$ac_objext; then
44204
44205 wx_cv_var_timezone=__timezone
44206
44207 else
44208 echo "$as_me: failed program was:" >&5
44209 sed 's/^/| /' conftest.$ac_ext >&5
44210
44211
44212 if test "$USE_DOS" = 0 ; then
44213 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44214 echo "$as_me: WARNING: no timezone variable" >&2;}
44215 fi
44216
44217
44218 fi
44219
44220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44221
44222
44223 fi
44224
44225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44226
44227
44228 fi
44229
44230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44231 ac_ext=c
44232 ac_cpp='$CPP $CPPFLAGS'
44233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44236
44237
44238
44239 fi
44240 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44241 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44242
44243 if test "x$wx_cv_var_timezone" != x ; then
44244 cat >>confdefs.h <<_ACEOF
44245 #define WX_TIMEZONE $wx_cv_var_timezone
44246 _ACEOF
44247
44248 fi
44249
44250
44251 for ac_func in localtime
44252 do
44253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44257 echo $ECHO_N "(cached) $ECHO_C" >&6
44258 else
44259 cat >conftest.$ac_ext <<_ACEOF
44260 /* confdefs.h. */
44261 _ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44267 #define $ac_func innocuous_$ac_func
44268
44269 /* System header to define __stub macros and hopefully few prototypes,
44270 which can conflict with char $ac_func (); below.
44271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44272 <limits.h> exists even on freestanding compilers. */
44273
44274 #ifdef __STDC__
44275 # include <limits.h>
44276 #else
44277 # include <assert.h>
44278 #endif
44279
44280 #undef $ac_func
44281
44282 /* Override any GCC internal prototype to avoid an error.
44283 Use char because int might match the return type of a GCC
44284 builtin and then its argument prototype would still apply. */
44285 #ifdef __cplusplus
44286 extern "C"
44287 #endif
44288 char $ac_func ();
44289 /* The GNU C library defines this for functions which it implements
44290 to always fail with ENOSYS. Some functions are actually named
44291 something starting with __ and the normal name is an alias. */
44292 #if defined __stub_$ac_func || defined __stub___$ac_func
44293 choke me
44294 #endif
44295
44296 int
44297 main ()
44298 {
44299 return $ac_func ();
44300 ;
44301 return 0;
44302 }
44303 _ACEOF
44304 rm -f conftest.$ac_objext conftest$ac_exeext
44305 if { (ac_try="$ac_link"
44306 case "(($ac_try" in
44307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44308 *) ac_try_echo=$ac_try;;
44309 esac
44310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44311 (eval "$ac_link") 2>conftest.er1
44312 ac_status=$?
44313 grep -v '^ *+' conftest.er1 >conftest.err
44314 rm -f conftest.er1
44315 cat conftest.err >&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); } && {
44318 test -z "$ac_c_werror_flag" ||
44319 test ! -s conftest.err
44320 } && test -s conftest$ac_exeext &&
44321 $as_test_x conftest$ac_exeext; then
44322 eval "$as_ac_var=yes"
44323 else
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44326
44327 eval "$as_ac_var=no"
44328 fi
44329
44330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44331 conftest$ac_exeext conftest.$ac_ext
44332 fi
44333 ac_res=`eval echo '${'$as_ac_var'}'`
44334 { echo "$as_me:$LINENO: result: $ac_res" >&5
44335 echo "${ECHO_T}$ac_res" >&6; }
44336 if test `eval echo '${'$as_ac_var'}'` = yes; then
44337 cat >>confdefs.h <<_ACEOF
44338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44339 _ACEOF
44340
44341 fi
44342 done
44343
44344
44345 if test "$ac_cv_func_localtime" = "yes"; then
44346 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44347 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44348 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44349 echo $ECHO_N "(cached) $ECHO_C" >&6
44350 else
44351
44352 cat >conftest.$ac_ext <<_ACEOF
44353 /* confdefs.h. */
44354 _ACEOF
44355 cat confdefs.h >>conftest.$ac_ext
44356 cat >>conftest.$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44358
44359 #include <time.h>
44360
44361 int
44362 main ()
44363 {
44364
44365 struct tm tm;
44366 tm.tm_gmtoff++;
44367
44368 ;
44369 return 0;
44370 }
44371 _ACEOF
44372 rm -f conftest.$ac_objext
44373 if { (ac_try="$ac_compile"
44374 case "(($ac_try" in
44375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44376 *) ac_try_echo=$ac_try;;
44377 esac
44378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44379 (eval "$ac_compile") 2>conftest.er1
44380 ac_status=$?
44381 grep -v '^ *+' conftest.er1 >conftest.err
44382 rm -f conftest.er1
44383 cat conftest.err >&5
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); } && {
44386 test -z "$ac_c_werror_flag" ||
44387 test ! -s conftest.err
44388 } && test -s conftest.$ac_objext; then
44389
44390 wx_cv_struct_tm_has_gmtoff=yes
44391
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396 wx_cv_struct_tm_has_gmtoff=no
44397
44398 fi
44399
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401
44402 fi
44403 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44404 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44405 fi
44406
44407 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44408 cat >>confdefs.h <<\_ACEOF
44409 #define WX_GMTOFF_IN_TM 1
44410 _ACEOF
44411
44412 fi
44413
44414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44415 fi
44416
44417
44418 if test "$wxUSE_SOCKETS" = "yes"; then
44419 if test "$wxUSE_MGL" = 1; then
44420 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44421 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44422 wxUSE_SOCKETS="no"
44423 fi
44424 fi
44425
44426 if test "$wxUSE_SOCKETS" = "yes"; then
44427 if test "$TOOLKIT" != "MSW"; then
44428 { echo "$as_me:$LINENO: checking for socket" >&5
44429 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44430 if test "${ac_cv_func_socket+set}" = set; then
44431 echo $ECHO_N "(cached) $ECHO_C" >&6
44432 else
44433 cat >conftest.$ac_ext <<_ACEOF
44434 /* confdefs.h. */
44435 _ACEOF
44436 cat confdefs.h >>conftest.$ac_ext
44437 cat >>conftest.$ac_ext <<_ACEOF
44438 /* end confdefs.h. */
44439 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44441 #define socket innocuous_socket
44442
44443 /* System header to define __stub macros and hopefully few prototypes,
44444 which can conflict with char socket (); below.
44445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44446 <limits.h> exists even on freestanding compilers. */
44447
44448 #ifdef __STDC__
44449 # include <limits.h>
44450 #else
44451 # include <assert.h>
44452 #endif
44453
44454 #undef socket
44455
44456 /* Override any GCC internal prototype to avoid an error.
44457 Use char because int might match the return type of a GCC
44458 builtin and then its argument prototype would still apply. */
44459 #ifdef __cplusplus
44460 extern "C"
44461 #endif
44462 char socket ();
44463 /* The GNU C library defines this for functions which it implements
44464 to always fail with ENOSYS. Some functions are actually named
44465 something starting with __ and the normal name is an alias. */
44466 #if defined __stub_socket || defined __stub___socket
44467 choke me
44468 #endif
44469
44470 int
44471 main ()
44472 {
44473 return socket ();
44474 ;
44475 return 0;
44476 }
44477 _ACEOF
44478 rm -f conftest.$ac_objext conftest$ac_exeext
44479 if { (ac_try="$ac_link"
44480 case "(($ac_try" in
44481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44482 *) ac_try_echo=$ac_try;;
44483 esac
44484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44485 (eval "$ac_link") 2>conftest.er1
44486 ac_status=$?
44487 grep -v '^ *+' conftest.er1 >conftest.err
44488 rm -f conftest.er1
44489 cat conftest.err >&5
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); } && {
44492 test -z "$ac_c_werror_flag" ||
44493 test ! -s conftest.err
44494 } && test -s conftest$ac_exeext &&
44495 $as_test_x conftest$ac_exeext; then
44496 ac_cv_func_socket=yes
44497 else
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.$ac_ext >&5
44500
44501 ac_cv_func_socket=no
44502 fi
44503
44504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44505 conftest$ac_exeext conftest.$ac_ext
44506 fi
44507 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44508 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44509 if test $ac_cv_func_socket = yes; then
44510 :
44511 else
44512
44513 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44514 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44515 if test "${ac_cv_lib_socket_socket+set}" = set; then
44516 echo $ECHO_N "(cached) $ECHO_C" >&6
44517 else
44518 ac_check_lib_save_LIBS=$LIBS
44519 LIBS="-lsocket $LIBS"
44520 cat >conftest.$ac_ext <<_ACEOF
44521 /* confdefs.h. */
44522 _ACEOF
44523 cat confdefs.h >>conftest.$ac_ext
44524 cat >>conftest.$ac_ext <<_ACEOF
44525 /* end confdefs.h. */
44526
44527 /* Override any GCC internal prototype to avoid an error.
44528 Use char because int might match the return type of a GCC
44529 builtin and then its argument prototype would still apply. */
44530 #ifdef __cplusplus
44531 extern "C"
44532 #endif
44533 char socket ();
44534 int
44535 main ()
44536 {
44537 return socket ();
44538 ;
44539 return 0;
44540 }
44541 _ACEOF
44542 rm -f conftest.$ac_objext conftest$ac_exeext
44543 if { (ac_try="$ac_link"
44544 case "(($ac_try" in
44545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44546 *) ac_try_echo=$ac_try;;
44547 esac
44548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44549 (eval "$ac_link") 2>conftest.er1
44550 ac_status=$?
44551 grep -v '^ *+' conftest.er1 >conftest.err
44552 rm -f conftest.er1
44553 cat conftest.err >&5
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); } && {
44556 test -z "$ac_c_werror_flag" ||
44557 test ! -s conftest.err
44558 } && test -s conftest$ac_exeext &&
44559 $as_test_x conftest$ac_exeext; then
44560 ac_cv_lib_socket_socket=yes
44561 else
44562 echo "$as_me: failed program was:" >&5
44563 sed 's/^/| /' conftest.$ac_ext >&5
44564
44565 ac_cv_lib_socket_socket=no
44566 fi
44567
44568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44569 conftest$ac_exeext conftest.$ac_ext
44570 LIBS=$ac_check_lib_save_LIBS
44571 fi
44572 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44573 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44574 if test $ac_cv_lib_socket_socket = yes; then
44575 if test "$INET_LINK" != " -lsocket"; then
44576 INET_LINK="$INET_LINK -lsocket"
44577 fi
44578 else
44579
44580 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44581 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44582 wxUSE_SOCKETS=no
44583
44584
44585 fi
44586
44587
44588
44589 fi
44590
44591 fi
44592 fi
44593
44594 if test "$wxUSE_SOCKETS" = "yes" ; then
44595 if test "$TOOLKIT" != "MSW"; then
44596 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44597 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44598 if test "${wx_cv_type_getsockname3+set}" = set; then
44599 echo $ECHO_N "(cached) $ECHO_C" >&6
44600 else
44601
44602 ac_ext=cpp
44603 ac_cpp='$CXXCPP $CPPFLAGS'
44604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44607
44608 cat >conftest.$ac_ext <<_ACEOF
44609 /* confdefs.h. */
44610 _ACEOF
44611 cat confdefs.h >>conftest.$ac_ext
44612 cat >>conftest.$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44614
44615 #include <sys/types.h>
44616 #include <sys/socket.h>
44617
44618 int
44619 main ()
44620 {
44621
44622 socklen_t len;
44623 getsockname(0, 0, &len);
44624
44625 ;
44626 return 0;
44627 }
44628 _ACEOF
44629 rm -f conftest.$ac_objext
44630 if { (ac_try="$ac_compile"
44631 case "(($ac_try" in
44632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44633 *) ac_try_echo=$ac_try;;
44634 esac
44635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44636 (eval "$ac_compile") 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } && {
44643 test -z "$ac_cxx_werror_flag" ||
44644 test ! -s conftest.err
44645 } && test -s conftest.$ac_objext; then
44646 wx_cv_type_getsockname3=socklen_t
44647 else
44648 echo "$as_me: failed program was:" >&5
44649 sed 's/^/| /' conftest.$ac_ext >&5
44650
44651
44652 CFLAGS_OLD="$CFLAGS"
44653 if test "$GCC" = yes ; then
44654 CFLAGS="-Werror $CFLAGS"
44655 fi
44656
44657 cat >conftest.$ac_ext <<_ACEOF
44658 /* confdefs.h. */
44659 _ACEOF
44660 cat confdefs.h >>conftest.$ac_ext
44661 cat >>conftest.$ac_ext <<_ACEOF
44662 /* end confdefs.h. */
44663
44664 #include <sys/types.h>
44665 #include <sys/socket.h>
44666
44667 int
44668 main ()
44669 {
44670
44671 size_t len;
44672 getsockname(0, 0, &len);
44673
44674 ;
44675 return 0;
44676 }
44677 _ACEOF
44678 rm -f conftest.$ac_objext
44679 if { (ac_try="$ac_compile"
44680 case "(($ac_try" in
44681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44682 *) ac_try_echo=$ac_try;;
44683 esac
44684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44685 (eval "$ac_compile") 2>conftest.er1
44686 ac_status=$?
44687 grep -v '^ *+' conftest.er1 >conftest.err
44688 rm -f conftest.er1
44689 cat conftest.err >&5
44690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691 (exit $ac_status); } && {
44692 test -z "$ac_cxx_werror_flag" ||
44693 test ! -s conftest.err
44694 } && test -s conftest.$ac_objext; then
44695 wx_cv_type_getsockname3=size_t
44696 else
44697 echo "$as_me: failed program was:" >&5
44698 sed 's/^/| /' conftest.$ac_ext >&5
44699
44700 cat >conftest.$ac_ext <<_ACEOF
44701 /* confdefs.h. */
44702 _ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44706
44707 #include <sys/types.h>
44708 #include <sys/socket.h>
44709
44710 int
44711 main ()
44712 {
44713
44714 int len;
44715 getsockname(0, 0, &len);
44716
44717 ;
44718 return 0;
44719 }
44720 _ACEOF
44721 rm -f conftest.$ac_objext
44722 if { (ac_try="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44725 *) ac_try_echo=$ac_try;;
44726 esac
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44729 ac_status=$?
44730 grep -v '^ *+' conftest.er1 >conftest.err
44731 rm -f conftest.er1
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_cxx_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.$ac_objext; then
44738 wx_cv_type_getsockname3=int
44739 else
44740 echo "$as_me: failed program was:" >&5
44741 sed 's/^/| /' conftest.$ac_ext >&5
44742
44743 wx_cv_type_getsockname3=unknown
44744
44745 fi
44746
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748
44749 fi
44750
44751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752
44753 CFLAGS="$CFLAGS_OLD"
44754
44755
44756 fi
44757
44758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44759 ac_ext=c
44760 ac_cpp='$CPP $CPPFLAGS'
44761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44764
44765
44766 fi
44767 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44768 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44769
44770 if test "$wx_cv_type_getsockname3" = "unknown"; then
44771 wxUSE_SOCKETS=no
44772 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44773 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44774 else
44775 cat >>confdefs.h <<_ACEOF
44776 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44777 _ACEOF
44778
44779 fi
44780 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44781 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44782 if test "${wx_cv_type_getsockopt5+set}" = set; then
44783 echo $ECHO_N "(cached) $ECHO_C" >&6
44784 else
44785
44786 ac_ext=cpp
44787 ac_cpp='$CXXCPP $CPPFLAGS'
44788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44791
44792 cat >conftest.$ac_ext <<_ACEOF
44793 /* confdefs.h. */
44794 _ACEOF
44795 cat confdefs.h >>conftest.$ac_ext
44796 cat >>conftest.$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798
44799 #include <sys/types.h>
44800 #include <sys/socket.h>
44801
44802 int
44803 main ()
44804 {
44805
44806 socklen_t len;
44807 getsockopt(0, 0, 0, 0, &len);
44808
44809 ;
44810 return 0;
44811 }
44812 _ACEOF
44813 rm -f conftest.$ac_objext
44814 if { (ac_try="$ac_compile"
44815 case "(($ac_try" in
44816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44817 *) ac_try_echo=$ac_try;;
44818 esac
44819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44820 (eval "$ac_compile") 2>conftest.er1
44821 ac_status=$?
44822 grep -v '^ *+' conftest.er1 >conftest.err
44823 rm -f conftest.er1
44824 cat conftest.err >&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); } && {
44827 test -z "$ac_cxx_werror_flag" ||
44828 test ! -s conftest.err
44829 } && test -s conftest.$ac_objext; then
44830 wx_cv_type_getsockopt5=socklen_t
44831 else
44832 echo "$as_me: failed program was:" >&5
44833 sed 's/^/| /' conftest.$ac_ext >&5
44834
44835
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842
44843 #include <sys/types.h>
44844 #include <sys/socket.h>
44845
44846 int
44847 main ()
44848 {
44849
44850 size_t len;
44851 getsockopt(0, 0, 0, 0, &len);
44852
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 rm -f conftest.$ac_objext
44858 if { (ac_try="$ac_compile"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44862 esac
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_compile") 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_cxx_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest.$ac_objext; then
44874 wx_cv_type_getsockopt5=size_t
44875 else
44876 echo "$as_me: failed program was:" >&5
44877 sed 's/^/| /' conftest.$ac_ext >&5
44878
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h. */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44885
44886 #include <sys/types.h>
44887 #include <sys/socket.h>
44888
44889 int
44890 main ()
44891 {
44892
44893 int len;
44894 getsockopt(0, 0, 0, 0, &len);
44895
44896 ;
44897 return 0;
44898 }
44899 _ACEOF
44900 rm -f conftest.$ac_objext
44901 if { (ac_try="$ac_compile"
44902 case "(($ac_try" in
44903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44904 *) ac_try_echo=$ac_try;;
44905 esac
44906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44907 (eval "$ac_compile") 2>conftest.er1
44908 ac_status=$?
44909 grep -v '^ *+' conftest.er1 >conftest.err
44910 rm -f conftest.er1
44911 cat conftest.err >&5
44912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913 (exit $ac_status); } && {
44914 test -z "$ac_cxx_werror_flag" ||
44915 test ! -s conftest.err
44916 } && test -s conftest.$ac_objext; then
44917 wx_cv_type_getsockopt5=int
44918 else
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.$ac_ext >&5
44921
44922 wx_cv_type_getsockopt5=unknown
44923
44924 fi
44925
44926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44927
44928 fi
44929
44930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44931
44932
44933 fi
44934
44935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44936 ac_ext=c
44937 ac_cpp='$CPP $CPPFLAGS'
44938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44941
44942
44943 fi
44944 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44945 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44946
44947 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44948 wxUSE_SOCKETS=no
44949 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44950 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44951 else
44952 cat >>confdefs.h <<_ACEOF
44953 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44954 _ACEOF
44955
44956 fi
44957 fi
44958 fi
44959
44960 if test "$wxUSE_SOCKETS" = "yes" ; then
44961 if test "$wxUSE_IPV6" = "yes"; then
44962 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44963 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44964 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44965 echo $ECHO_N "(cached) $ECHO_C" >&6
44966 else
44967
44968 cat >conftest.$ac_ext <<_ACEOF
44969 /* confdefs.h. */
44970 _ACEOF
44971 cat confdefs.h >>conftest.$ac_ext
44972 cat >>conftest.$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974
44975 #include <sys/types.h>
44976 #include <sys/socket.h>
44977 #include <netinet/in.h>
44978
44979 int
44980 main ()
44981 {
44982
44983 struct sockaddr_in6 sa6;
44984
44985 ;
44986 return 0;
44987 }
44988 _ACEOF
44989 rm -f conftest.$ac_objext
44990 if { (ac_try="$ac_compile"
44991 case "(($ac_try" in
44992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44993 *) ac_try_echo=$ac_try;;
44994 esac
44995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44996 (eval "$ac_compile") 2>conftest.er1
44997 ac_status=$?
44998 grep -v '^ *+' conftest.er1 >conftest.err
44999 rm -f conftest.er1
45000 cat conftest.err >&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); } && {
45003 test -z "$ac_c_werror_flag" ||
45004 test ! -s conftest.err
45005 } && test -s conftest.$ac_objext; then
45006 wx_cv_type_sockaddr_in6=yes
45007 else
45008 echo "$as_me: failed program was:" >&5
45009 sed 's/^/| /' conftest.$ac_ext >&5
45010
45011 wx_cv_type_sockaddr_in6=no
45012
45013 fi
45014
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45016
45017
45018 fi
45019 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45020 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45021
45022 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_IPV6 1
45025 _ACEOF
45026
45027 else
45028 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45029 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45030 fi
45031 fi
45032
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_SOCKETS 1
45035 _ACEOF
45036
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45038 fi
45039
45040 if test "$wxUSE_PROTOCOL" = "yes"; then
45041 if test "$wxUSE_SOCKETS" != "yes"; then
45042 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45043 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45044 wxUSE_PROTOCOL=no
45045 fi
45046 fi
45047
45048 if test "$wxUSE_PROTOCOL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_PROTOCOL 1
45051 _ACEOF
45052
45053
45054 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_PROTOCOL_HTTP 1
45057 _ACEOF
45058
45059 fi
45060 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_PROTOCOL_FTP 1
45063 _ACEOF
45064
45065 fi
45066 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_PROTOCOL_FILE 1
45069 _ACEOF
45070
45071 fi
45072 else
45073 if test "$wxUSE_FS_INET" = "yes"; then
45074 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45075 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45076 wxUSE_FS_INET="no"
45077 fi
45078 fi
45079
45080 if test "$wxUSE_URL" = "yes"; then
45081 if test "$wxUSE_PROTOCOL" != "yes"; then
45082 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45083 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45084 wxUSE_URL=no
45085 fi
45086 if test "$wxUSE_URL" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_URL 1
45089 _ACEOF
45090
45091 fi
45092 fi
45093
45094 if test "$wxUSE_VARIANT" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_VARIANT 1
45097 _ACEOF
45098
45099 fi
45100
45101 if test "$wxUSE_FS_INET" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_FS_INET 1
45104 _ACEOF
45105
45106 fi
45107
45108
45109 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45110 wxUSE_JOYSTICK=no
45111
45112 if test "$TOOLKIT" = "MSW"; then
45113 wxUSE_JOYSTICK=yes
45114
45115 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45116 if test "$USE_DARWIN" = 1; then
45117 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45118 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45119 ac_ext=cpp
45120 ac_cpp='$CXXCPP $CPPFLAGS'
45121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45124
45125 cat >conftest.$ac_ext <<_ACEOF
45126 /* confdefs.h. */
45127 _ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h. */
45131 #include <IOKit/hid/IOHIDLib.h>
45132 int
45133 main ()
45134 {
45135 IOHIDQueueInterface *qi = NULL;
45136 IOHIDCallbackFunction cb = NULL;
45137 qi->setEventCallout(NULL, cb, NULL, NULL);
45138 ;
45139 return 0;
45140 }
45141 _ACEOF
45142 rm -f conftest.$ac_objext
45143 if { (ac_try="$ac_compile"
45144 case "(($ac_try" in
45145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45146 *) ac_try_echo=$ac_try;;
45147 esac
45148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45149 (eval "$ac_compile") 2>conftest.er1
45150 ac_status=$?
45151 grep -v '^ *+' conftest.er1 >conftest.err
45152 rm -f conftest.er1
45153 cat conftest.err >&5
45154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155 (exit $ac_status); } && {
45156 test -z "$ac_cxx_werror_flag" ||
45157 test ! -s conftest.err
45158 } && test -s conftest.$ac_objext; then
45159 wxUSE_JOYSTICK=yes
45160
45161 else
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45164
45165
45166 fi
45167
45168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45169 ac_ext=c
45170 ac_cpp='$CPP $CPPFLAGS'
45171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45174
45175 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45176 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45177 fi
45178
45179 else
45180 if test "$wxUSE_MGL" != 1; then
45181
45182 for ac_header in linux/joystick.h
45183 do
45184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45188 echo $ECHO_N "(cached) $ECHO_C" >&6
45189 else
45190 cat >conftest.$ac_ext <<_ACEOF
45191 /* confdefs.h. */
45192 _ACEOF
45193 cat confdefs.h >>conftest.$ac_ext
45194 cat >>conftest.$ac_ext <<_ACEOF
45195 /* end confdefs.h. */
45196 $ac_includes_default
45197
45198 #include <$ac_header>
45199 _ACEOF
45200 rm -f conftest.$ac_objext
45201 if { (ac_try="$ac_compile"
45202 case "(($ac_try" in
45203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45204 *) ac_try_echo=$ac_try;;
45205 esac
45206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45207 (eval "$ac_compile") 2>conftest.er1
45208 ac_status=$?
45209 grep -v '^ *+' conftest.er1 >conftest.err
45210 rm -f conftest.er1
45211 cat conftest.err >&5
45212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45213 (exit $ac_status); } && {
45214 test -z "$ac_c_werror_flag" ||
45215 test ! -s conftest.err
45216 } && test -s conftest.$ac_objext; then
45217 eval "$as_ac_Header=yes"
45218 else
45219 echo "$as_me: failed program was:" >&5
45220 sed 's/^/| /' conftest.$ac_ext >&5
45221
45222 eval "$as_ac_Header=no"
45223 fi
45224
45225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45226 fi
45227 ac_res=`eval echo '${'$as_ac_Header'}'`
45228 { echo "$as_me:$LINENO: result: $ac_res" >&5
45229 echo "${ECHO_T}$ac_res" >&6; }
45230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45231 cat >>confdefs.h <<_ACEOF
45232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45233 _ACEOF
45234 wxUSE_JOYSTICK=yes
45235 fi
45236
45237 done
45238
45239 fi
45240 fi
45241
45242 if test "$wxUSE_JOYSTICK" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_JOYSTICK 1
45245 _ACEOF
45246
45247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45248 else
45249 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45250 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45251 fi
45252 fi
45253
45254
45255
45256 if test "$wxUSE_FONTENUM" = "yes" ; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_FONTENUM 1
45259 _ACEOF
45260
45261 fi
45262
45263 if test "$wxUSE_FONTMAP" = "yes" ; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_FONTMAP 1
45266 _ACEOF
45267
45268 fi
45269
45270 if test "$wxUSE_UNICODE" = "yes" ; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_UNICODE 1
45273 _ACEOF
45274
45275
45276 if test "$USE_WIN32" != 1; then
45277 wxUSE_UNICODE_MSLU=no
45278 fi
45279
45280 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45281 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45282 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45283 if test "${ac_cv_lib_unicows_main+set}" = set; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45285 else
45286 ac_check_lib_save_LIBS=$LIBS
45287 LIBS="-lunicows $LIBS"
45288 cat >conftest.$ac_ext <<_ACEOF
45289 /* confdefs.h. */
45290 _ACEOF
45291 cat confdefs.h >>conftest.$ac_ext
45292 cat >>conftest.$ac_ext <<_ACEOF
45293 /* end confdefs.h. */
45294
45295
45296 int
45297 main ()
45298 {
45299 return main ();
45300 ;
45301 return 0;
45302 }
45303 _ACEOF
45304 rm -f conftest.$ac_objext conftest$ac_exeext
45305 if { (ac_try="$ac_link"
45306 case "(($ac_try" in
45307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45308 *) ac_try_echo=$ac_try;;
45309 esac
45310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45311 (eval "$ac_link") 2>conftest.er1
45312 ac_status=$?
45313 grep -v '^ *+' conftest.er1 >conftest.err
45314 rm -f conftest.er1
45315 cat conftest.err >&5
45316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45317 (exit $ac_status); } && {
45318 test -z "$ac_c_werror_flag" ||
45319 test ! -s conftest.err
45320 } && test -s conftest$ac_exeext &&
45321 $as_test_x conftest$ac_exeext; then
45322 ac_cv_lib_unicows_main=yes
45323 else
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45326
45327 ac_cv_lib_unicows_main=no
45328 fi
45329
45330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45331 conftest$ac_exeext conftest.$ac_ext
45332 LIBS=$ac_check_lib_save_LIBS
45333 fi
45334 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45335 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45336 if test $ac_cv_lib_unicows_main = yes; then
45337
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_UNICODE_MSLU 1
45340 _ACEOF
45341
45342
45343 else
45344
45345 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45346 Applications will only run on Windows NT/2000/XP!" >&5
45347 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45348 Applications will only run on Windows NT/2000/XP!" >&2;}
45349 wxUSE_UNICODE_MSLU=no
45350
45351 fi
45352
45353 fi
45354 fi
45355
45356 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_UNICODE_UTF8 1
45359 _ACEOF
45360
45361
45362 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_UTF8_LOCALE_ONLY 1
45365 _ACEOF
45366
45367 fi
45368 fi
45369
45370
45371 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_CONSTRAINTS 1
45374 _ACEOF
45375
45376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45377 fi
45378
45379 if test "$wxUSE_MDI" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_MDI 1
45382 _ACEOF
45383
45384
45385 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_MDI_ARCHITECTURE 1
45388 _ACEOF
45389
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45391 fi
45392 fi
45393
45394 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45397 _ACEOF
45398
45399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45400 fi
45401
45402 if test "$wxUSE_HELP" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_HELP 1
45405 _ACEOF
45406
45407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45408
45409 if test "$wxUSE_MSW" = 1; then
45410 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_MS_HTML_HELP 1
45413 _ACEOF
45414
45415 fi
45416 fi
45417
45418 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45419 if test "$wxUSE_HTML" = "yes"; then
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_WXHTML_HELP 1
45422 _ACEOF
45423
45424 else
45425 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45426 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45427 wxUSE_WXHTML_HELP=no
45428 fi
45429 fi
45430 fi
45431
45432 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_PRINTING_ARCHITECTURE 1
45435 _ACEOF
45436
45437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45438 fi
45439
45440 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45441 cat >>confdefs.h <<\_ACEOF
45442 #define wxUSE_POSTSCRIPT 1
45443 _ACEOF
45444
45445 fi
45446
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45449 _ACEOF
45450
45451
45452 if test "$wxUSE_SVG" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_SVG 1
45455 _ACEOF
45456
45457 fi
45458
45459
45460 if test "$wxUSE_METAFILE" = "yes"; then
45461 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45462 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45463 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45464 wxUSE_METAFILE=no
45465 fi
45466 fi
45467
45468
45469 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45470 -o "$wxUSE_CLIPBOARD" = "yes" \
45471 -o "$wxUSE_OLE" = "yes" \
45472 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45473 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45474 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45475 if test "${ac_cv_header_ole2_h+set}" = set; then
45476 echo $ECHO_N "(cached) $ECHO_C" >&6
45477 else
45478 cat >conftest.$ac_ext <<_ACEOF
45479 /* confdefs.h. */
45480 _ACEOF
45481 cat confdefs.h >>conftest.$ac_ext
45482 cat >>conftest.$ac_ext <<_ACEOF
45483 /* end confdefs.h. */
45484
45485
45486 #include <ole2.h>
45487 _ACEOF
45488 rm -f conftest.$ac_objext
45489 if { (ac_try="$ac_compile"
45490 case "(($ac_try" in
45491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45492 *) ac_try_echo=$ac_try;;
45493 esac
45494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45495 (eval "$ac_compile") 2>conftest.er1
45496 ac_status=$?
45497 grep -v '^ *+' conftest.er1 >conftest.err
45498 rm -f conftest.er1
45499 cat conftest.err >&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); } && {
45502 test -z "$ac_c_werror_flag" ||
45503 test ! -s conftest.err
45504 } && test -s conftest.$ac_objext; then
45505 ac_cv_header_ole2_h=yes
45506 else
45507 echo "$as_me: failed program was:" >&5
45508 sed 's/^/| /' conftest.$ac_ext >&5
45509
45510 ac_cv_header_ole2_h=no
45511 fi
45512
45513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45514 fi
45515 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45516 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45517
45518
45519
45520 if test "$ac_cv_header_ole2_h" = "yes" ; then
45521 if test "$GCC" = yes ; then
45522 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45523 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45524 cat >conftest.$ac_ext <<_ACEOF
45525 /* confdefs.h. */
45526 _ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530 #include <windows.h>
45531 #include <ole2.h>
45532 int
45533 main ()
45534 {
45535
45536 ;
45537 return 0;
45538 }
45539 _ACEOF
45540 rm -f conftest.$ac_objext
45541 if { (ac_try="$ac_compile"
45542 case "(($ac_try" in
45543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45544 *) ac_try_echo=$ac_try;;
45545 esac
45546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45547 (eval "$ac_compile") 2>conftest.er1
45548 ac_status=$?
45549 grep -v '^ *+' conftest.er1 >conftest.err
45550 rm -f conftest.er1
45551 cat conftest.err >&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } && {
45554 test -z "$ac_c_werror_flag" ||
45555 test ! -s conftest.err
45556 } && test -s conftest.$ac_objext; then
45557 { echo "$as_me:$LINENO: result: no" >&5
45558 echo "${ECHO_T}no" >&6; }
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45562
45563 { echo "$as_me:$LINENO: result: yes" >&5
45564 echo "${ECHO_T}yes" >&6; }
45565 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45566 fi
45567
45568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45569 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45570 if test "$wxUSE_OLE" = "yes" ; then
45571 cat >>confdefs.h <<\_ACEOF
45572 #define wxUSE_OLE 1
45573 _ACEOF
45574
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_OLE_AUTOMATION 1
45577 _ACEOF
45578
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_ACTIVEX 1
45581 _ACEOF
45582
45583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45584 fi
45585 fi
45586
45587 if test "$wxUSE_DATAOBJ" = "yes" ; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_DATAOBJ 1
45590 _ACEOF
45591
45592 fi
45593 else
45594 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45595 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45596
45597 wxUSE_CLIPBOARD=no
45598 wxUSE_DRAG_AND_DROP=no
45599 wxUSE_DATAOBJ=no
45600 wxUSE_OLE=no
45601 fi
45602
45603 if test "$wxUSE_METAFILE" = "yes"; then
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_METAFILE 1
45606 _ACEOF
45607
45608
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_ENH_METAFILE 1
45611 _ACEOF
45612
45613 fi
45614 fi
45615
45616 if test "$wxUSE_IPC" = "yes"; then
45617 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45618 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45619 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45620 wxUSE_IPC=no
45621 fi
45622
45623 if test "$wxUSE_IPC" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_IPC 1
45626 _ACEOF
45627
45628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45629 fi
45630 fi
45631
45632 if test "$wxUSE_DATAOBJ" = "yes"; then
45633 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45634 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45635 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45636 wxUSE_DATAOBJ=no
45637 else
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_DATAOBJ 1
45640 _ACEOF
45641
45642 fi
45643 else
45644 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45645 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45646 wxUSE_CLIPBOARD=no
45647 wxUSE_DRAG_AND_DROP=no
45648 fi
45649
45650 if test "$wxUSE_CLIPBOARD" = "yes"; then
45651 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45652 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45653 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45654 wxUSE_CLIPBOARD=no
45655 fi
45656
45657 if test "$wxUSE_CLIPBOARD" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_CLIPBOARD 1
45660 _ACEOF
45661
45662 fi
45663 fi
45664
45665 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45666 if test "$wxUSE_GTK" = 1; then
45667 if test "$WXGTK12" != 1; then
45668 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45669 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45670 wxUSE_DRAG_AND_DROP=no
45671 fi
45672 fi
45673
45674 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45675 "$wxUSE_DFB" = 1; then
45676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45677 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45678 wxUSE_DRAG_AND_DROP=no
45679 fi
45680
45681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_DRAG_AND_DROP 1
45684 _ACEOF
45685
45686 fi
45687
45688 fi
45689
45690 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45692 fi
45693
45694 if test "$wxUSE_SPLINES" = "yes" ; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_SPLINES 1
45697 _ACEOF
45698
45699 fi
45700
45701 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_MOUSEWHEEL 1
45704 _ACEOF
45705
45706 fi
45707
45708
45709 USES_CONTROLS=0
45710 if test "$wxUSE_CONTROLS" = "yes"; then
45711 USES_CONTROLS=1
45712 fi
45713
45714 if test "$wxUSE_ACCEL" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_ACCEL 1
45717 _ACEOF
45718
45719 USES_CONTROLS=1
45720 fi
45721
45722 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_ANIMATIONCTRL 1
45725 _ACEOF
45726
45727 USES_CONTROLS=1
45728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45729 fi
45730
45731 if test "$wxUSE_BUTTON" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_BUTTON 1
45734 _ACEOF
45735
45736 USES_CONTROLS=1
45737 fi
45738
45739 if test "$wxUSE_BMPBUTTON" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_BMPBUTTON 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 fi
45746
45747 if test "$wxUSE_CALCTRL" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_CALENDARCTRL 1
45750 _ACEOF
45751
45752 USES_CONTROLS=1
45753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45754 fi
45755
45756 if test "$wxUSE_CARET" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_CARET 1
45759 _ACEOF
45760
45761 USES_CONTROLS=1
45762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45763 fi
45764
45765 if test "$wxUSE_COLLPANE" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_COLLPANE 1
45768 _ACEOF
45769
45770 USES_CONTROLS=1
45771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45772 fi
45773
45774 if test "$wxUSE_COMBOBOX" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_COMBOBOX 1
45777 _ACEOF
45778
45779 USES_CONTROLS=1
45780 fi
45781
45782 if test "$wxUSE_COMBOCTRL" = "yes"; then
45783 cat >>confdefs.h <<\_ACEOF
45784 #define wxUSE_COMBOCTRL 1
45785 _ACEOF
45786
45787 USES_CONTROLS=1
45788 fi
45789
45790 if test "$wxUSE_CHOICE" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_CHOICE 1
45793 _ACEOF
45794
45795 USES_CONTROLS=1
45796 fi
45797
45798 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_CHOICEBOOK 1
45801 _ACEOF
45802
45803 USES_CONTROLS=1
45804 fi
45805
45806 if test "$wxUSE_CHECKBOX" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_CHECKBOX 1
45809 _ACEOF
45810
45811 USES_CONTROLS=1
45812 fi
45813
45814 if test "$wxUSE_CHECKLST" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_CHECKLISTBOX 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 fi
45821
45822 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45823 cat >>confdefs.h <<\_ACEOF
45824 #define wxUSE_COLOURPICKERCTRL 1
45825 _ACEOF
45826
45827 USES_CONTROLS=1
45828 fi
45829
45830 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_DATEPICKCTRL 1
45833 _ACEOF
45834
45835 USES_CONTROLS=1
45836 fi
45837
45838 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_DIRPICKERCTRL 1
45841 _ACEOF
45842
45843 USES_CONTROLS=1
45844 fi
45845
45846 if test "$wxUSE_FILECTRL" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_FILECTRL 1
45849 _ACEOF
45850
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_FILEPICKERCTRL 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 fi
45861
45862 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_FONTPICKERCTRL 1
45865 _ACEOF
45866
45867 USES_CONTROLS=1
45868 fi
45869
45870 if test "$wxUSE_DISPLAY" = "yes"; then
45871 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45872 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45873 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45874 wxUSE_DISPLAY=no
45875 else
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_DISPLAY 1
45878 _ACEOF
45879
45880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45881 fi
45882 fi
45883
45884 if test "$wxUSE_DETECT_SM" = "yes"; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_DETECT_SM 1
45887 _ACEOF
45888
45889 fi
45890
45891 if test "$wxUSE_GAUGE" = "yes"; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_GAUGE 1
45894 _ACEOF
45895
45896 USES_CONTROLS=1
45897 fi
45898
45899 if test "$wxUSE_GRID" = "yes"; then
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_GRID 1
45902 _ACEOF
45903
45904 USES_CONTROLS=1
45905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45906 fi
45907
45908 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_HYPERLINKCTRL 1
45911 _ACEOF
45912
45913 USES_CONTROLS=1
45914 fi
45915
45916 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_BITMAPCOMBOBOX 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_DATAVIEWCTRL 1
45927 _ACEOF
45928
45929 USES_CONTROLS=1
45930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45931 fi
45932
45933 if test "$wxUSE_IMAGLIST" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_IMAGLIST 1
45936 _ACEOF
45937
45938 fi
45939
45940 if test "$wxUSE_LISTBOOK" = "yes"; then
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_LISTBOOK 1
45943 _ACEOF
45944
45945 USES_CONTROLS=1
45946 fi
45947
45948 if test "$wxUSE_LISTBOX" = "yes"; then
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_LISTBOX 1
45951 _ACEOF
45952
45953 USES_CONTROLS=1
45954 fi
45955
45956 if test "$wxUSE_LISTCTRL" = "yes"; then
45957 if test "$wxUSE_IMAGLIST" = "yes"; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_LISTCTRL 1
45960 _ACEOF
45961
45962 USES_CONTROLS=1
45963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45964 else
45965 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45966 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45967 fi
45968 fi
45969
45970 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_EDITABLELISTBOX 1
45973 _ACEOF
45974
45975 USES_CONTROLS=1
45976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45977 fi
45978
45979 if test "$wxUSE_NOTEBOOK" = "yes"; then
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_NOTEBOOK 1
45982 _ACEOF
45983
45984 USES_CONTROLS=1
45985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45986 fi
45987
45988 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_NOTIFICATION_MESSAGE 1
45991 _ACEOF
45992
45993 fi
45994
45995 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45996 cat >>confdefs.h <<\_ACEOF
45997 #define wxUSE_ODCOMBOBOX 1
45998 _ACEOF
45999
46000 USES_CONTROLS=1
46001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46002 fi
46003
46004 if test "$wxUSE_RADIOBOX" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_RADIOBOX 1
46007 _ACEOF
46008
46009 USES_CONTROLS=1
46010 fi
46011
46012 if test "$wxUSE_RADIOBTN" = "yes"; then
46013 cat >>confdefs.h <<\_ACEOF
46014 #define wxUSE_RADIOBTN 1
46015 _ACEOF
46016
46017 USES_CONTROLS=1
46018 fi
46019
46020 if test "$wxUSE_SASH" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_SASH 1
46023 _ACEOF
46024
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46026 fi
46027
46028 if test "$wxUSE_SCROLLBAR" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_SCROLLBAR 1
46031 _ACEOF
46032
46033 USES_CONTROLS=1
46034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46035 fi
46036
46037 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_SEARCHCTRL 1
46040 _ACEOF
46041
46042 USES_CONTROLS=1
46043 fi
46044
46045 if test "$wxUSE_SLIDER" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_SLIDER 1
46048 _ACEOF
46049
46050 USES_CONTROLS=1
46051 fi
46052
46053 if test "$wxUSE_SPINBTN" = "yes"; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_SPINBTN 1
46056 _ACEOF
46057
46058 USES_CONTROLS=1
46059 fi
46060
46061 if test "$wxUSE_SPINCTRL" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_SPINCTRL 1
46064 _ACEOF
46065
46066 USES_CONTROLS=1
46067 fi
46068
46069 if test "$wxUSE_SPLITTER" = "yes"; then
46070 cat >>confdefs.h <<\_ACEOF
46071 #define wxUSE_SPLITTER 1
46072 _ACEOF
46073
46074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46075 fi
46076
46077 if test "$wxUSE_STATBMP" = "yes"; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_STATBMP 1
46080 _ACEOF
46081
46082 USES_CONTROLS=1
46083 fi
46084
46085 if test "$wxUSE_STATBOX" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_STATBOX 1
46088 _ACEOF
46089
46090 USES_CONTROLS=1
46091 fi
46092
46093 if test "$wxUSE_STATTEXT" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_STATTEXT 1
46096 _ACEOF
46097
46098 USES_CONTROLS=1
46099 fi
46100
46101 if test "$wxUSE_STATLINE" = "yes"; then
46102 cat >>confdefs.h <<\_ACEOF
46103 #define wxUSE_STATLINE 1
46104 _ACEOF
46105
46106 USES_CONTROLS=1
46107 fi
46108
46109 if test "$wxUSE_STATUSBAR" = "yes"; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_NATIVE_STATUSBAR 1
46112 _ACEOF
46113
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_STATUSBAR 1
46116 _ACEOF
46117
46118 USES_CONTROLS=1
46119
46120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46121 fi
46122
46123 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46124 cat >>confdefs.h <<\_ACEOF
46125 #define wxUSE_TAB_DIALOG 1
46126 _ACEOF
46127
46128 fi
46129
46130 if test "$wxUSE_TEXTCTRL" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_TEXTCTRL 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46137
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_RICHEDIT 1
46140 _ACEOF
46141
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_RICHEDIT2 1
46144 _ACEOF
46145
46146 fi
46147
46148 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46149 if test "$wxUSE_COCOA" = 1 ; then
46150 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46151 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46152 wxUSE_TOGGLEBTN=no
46153 fi
46154
46155 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_TOGGLEBTN 1
46158 _ACEOF
46159
46160 USES_CONTROLS=1
46161 fi
46162 fi
46163
46164 if test "$wxUSE_TOOLBAR" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_TOOLBAR 1
46167 _ACEOF
46168
46169 USES_CONTROLS=1
46170
46171 if test "$wxUSE_UNIVERSAL" = "yes"; then
46172 wxUSE_TOOLBAR_NATIVE="no"
46173 else
46174 wxUSE_TOOLBAR_NATIVE="yes"
46175 cat >>confdefs.h <<\_ACEOF
46176 #define wxUSE_TOOLBAR_NATIVE 1
46177 _ACEOF
46178
46179 fi
46180
46181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46182 fi
46183
46184 if test "$wxUSE_TOOLTIPS" = "yes"; then
46185 if test "$wxUSE_MOTIF" = 1; then
46186 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46187 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46188 else
46189 if test "$wxUSE_UNIVERSAL" = "yes"; then
46190 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46191 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46192 else
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_TOOLTIPS 1
46195 _ACEOF
46196
46197 fi
46198 fi
46199 fi
46200
46201 if test "$wxUSE_TREEBOOK" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_TREEBOOK 1
46204 _ACEOF
46205
46206 USES_CONTROLS=1
46207 fi
46208
46209 if test "$wxUSE_TOOLBOOK" = "yes"; then
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_TOOLBOOK 1
46212 _ACEOF
46213
46214 USES_CONTROLS=1
46215 fi
46216
46217 if test "$wxUSE_TREECTRL" = "yes"; then
46218 if test "$wxUSE_IMAGLIST" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_TREECTRL 1
46221 _ACEOF
46222
46223 USES_CONTROLS=1
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46225 else
46226 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46227 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46228 fi
46229 fi
46230
46231 if test "$wxUSE_POPUPWIN" = "yes"; then
46232 if test "$wxUSE_COCOA" = 1 ; then
46233 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46234 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46235 else
46236 if test "$wxUSE_PM" = 1; then
46237 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46238 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46239 else
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_POPUPWIN 1
46242 _ACEOF
46243
46244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46245
46246 USES_CONTROLS=1
46247 fi
46248 fi
46249 fi
46250
46251 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46252 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46253 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46254 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46255 else
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_DIALUP_MANAGER 1
46258 _ACEOF
46259
46260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46261 fi
46262 fi
46263
46264 if test "$wxUSE_TIPWINDOW" = "yes"; then
46265 if test "$wxUSE_PM" = 1; then
46266 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46267 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46268 else
46269 cat >>confdefs.h <<\_ACEOF
46270 #define wxUSE_TIPWINDOW 1
46271 _ACEOF
46272
46273 fi
46274 fi
46275
46276 if test "$USES_CONTROLS" = 1; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_CONTROLS 1
46279 _ACEOF
46280
46281 fi
46282
46283
46284 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_ACCESSIBILITY 1
46287 _ACEOF
46288
46289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46290 fi
46291
46292 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46293 cat >>confdefs.h <<\_ACEOF
46294 #define wxUSE_DRAGIMAGE 1
46295 _ACEOF
46296
46297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46298 fi
46299
46300 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46301 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46302 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46303 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46304 else
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_EXCEPTIONS 1
46307 _ACEOF
46308
46309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46310 fi
46311 fi
46312
46313 USE_HTML=0
46314 if test "$wxUSE_HTML" = "yes"; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_HTML 1
46317 _ACEOF
46318
46319 USE_HTML=1
46320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46321 fi
46322 if test "$wxUSE_WEBKIT" = "yes"; then
46323 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46324 old_CPPFLAGS="$CPPFLAGS"
46325 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46326 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46327 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46328 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46329 echo $ECHO_N "(cached) $ECHO_C" >&6
46330 else
46331 cat >conftest.$ac_ext <<_ACEOF
46332 /* confdefs.h. */
46333 _ACEOF
46334 cat confdefs.h >>conftest.$ac_ext
46335 cat >>conftest.$ac_ext <<_ACEOF
46336 /* end confdefs.h. */
46337
46338 #include <Carbon/Carbon.h>
46339 #include <WebKit/WebKit.h>
46340
46341
46342 #include <WebKit/HIWebView.h>
46343 _ACEOF
46344 rm -f conftest.$ac_objext
46345 if { (ac_try="$ac_compile"
46346 case "(($ac_try" in
46347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46348 *) ac_try_echo=$ac_try;;
46349 esac
46350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46351 (eval "$ac_compile") 2>conftest.er1
46352 ac_status=$?
46353 grep -v '^ *+' conftest.er1 >conftest.err
46354 rm -f conftest.er1
46355 cat conftest.err >&5
46356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46357 (exit $ac_status); } && {
46358 test -z "$ac_c_werror_flag" ||
46359 test ! -s conftest.err
46360 } && test -s conftest.$ac_objext; then
46361 ac_cv_header_WebKit_HIWebView_h=yes
46362 else
46363 echo "$as_me: failed program was:" >&5
46364 sed 's/^/| /' conftest.$ac_ext >&5
46365
46366 ac_cv_header_WebKit_HIWebView_h=no
46367 fi
46368
46369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46370 fi
46371 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46372 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46373 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46374
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_WEBKIT 1
46377 _ACEOF
46378
46379 WEBKIT_LINK="-framework WebKit"
46380
46381 else
46382
46383 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46384 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46385 wxUSE_WEBKIT=no
46386
46387 fi
46388
46389
46390 CPPFLAGS="$old_CPPFLAGS"
46391 elif test "$wxUSE_COCOA" = 1; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_WEBKIT 1
46394 _ACEOF
46395
46396 else
46397 wxUSE_WEBKIT=no
46398 fi
46399 if test "$wxUSE_WEBKIT" = "yes"; then
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46401 fi
46402 fi
46403
46404 USE_XRC=0
46405 if test "$wxUSE_XRC" = "yes"; then
46406 if test "$wxUSE_XML" != "yes"; then
46407 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46408 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46409 wxUSE_XRC=no
46410 else
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_XRC 1
46413 _ACEOF
46414
46415 USE_XRC=1
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46417 fi
46418 fi
46419
46420 USE_AUI=0
46421 if test "$wxUSE_AUI" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_AUI 1
46424 _ACEOF
46425
46426 USE_AUI=1
46427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46428 fi
46429
46430 USE_PROPGRID=0
46431 if test "$wxUSE_PROPGRID" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_PROPGRID 1
46434 _ACEOF
46435
46436 USE_PROPGRID=1
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46438 fi
46439
46440 USE_STC=0
46441 if test "$wxUSE_STC" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_STC 1
46444 _ACEOF
46445
46446 USE_STC=1
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46448 fi
46449
46450 if test "$wxUSE_MENUS" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_MENUS 1
46453 _ACEOF
46454
46455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46456 fi
46457
46458 if test "$wxUSE_METAFILE" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_METAFILE 1
46461 _ACEOF
46462
46463 fi
46464
46465 if test "$wxUSE_MIMETYPE" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_MIMETYPE 1
46468 _ACEOF
46469
46470 fi
46471
46472 if test "$wxUSE_MINIFRAME" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_MINIFRAME 1
46475 _ACEOF
46476
46477 fi
46478
46479 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_SYSTEM_OPTIONS 1
46482 _ACEOF
46483
46484 fi
46485
46486 if test "$wxUSE_TASKBARICON" = "yes"; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_TASKBARICON 1
46489 _ACEOF
46490
46491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46492 fi
46493
46494
46495 if test "$wxUSE_VALIDATORS" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_VALIDATORS 1
46498 _ACEOF
46499
46500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46501 fi
46502
46503 if test "$wxUSE_PALETTE" = "yes" ; then
46504 if test "$wxUSE_DFB" = 1; then
46505 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46506 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46507 wxUSE_PALETTE=no
46508 else
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_PALETTE 1
46511 _ACEOF
46512
46513 fi
46514 fi
46515
46516 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46517 LIBS=" -lunicows $LIBS"
46518 fi
46519
46520 USE_RICHTEXT=0
46521 if test "$wxUSE_RICHTEXT" = "yes"; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_RICHTEXT 1
46524 _ACEOF
46525
46526 USE_RICHTEXT=1
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46528 fi
46529
46530
46531 if test "$wxUSE_IMAGE" = "yes" ; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_IMAGE 1
46534 _ACEOF
46535
46536
46537 if test "$wxUSE_GIF" = "yes" ; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_GIF 1
46540 _ACEOF
46541
46542 fi
46543
46544 if test "$wxUSE_PCX" = "yes" ; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_PCX 1
46547 _ACEOF
46548
46549 fi
46550
46551 if test "$wxUSE_TGA" = "yes" ; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_TGA 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_IFF" = "yes" ; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_IFF 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_PNM" = "yes" ; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_PNM 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_XPM" = "yes" ; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_XPM 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_ICO_CUR" = "yes" ; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_ICO_CUR 1
46582 _ACEOF
46583
46584 fi
46585 fi
46586
46587
46588 if test "$wxUSE_ABOUTDLG" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_ABOUTDLG 1
46591 _ACEOF
46592
46593 fi
46594
46595 if test "$wxUSE_CHOICEDLG" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_CHOICEDLG 1
46598 _ACEOF
46599
46600 fi
46601
46602 if test "$wxUSE_COLOURDLG" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_COLOURDLG 1
46605 _ACEOF
46606
46607 fi
46608
46609 if test "$wxUSE_FILEDLG" = "yes"; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_FILEDLG 1
46612 _ACEOF
46613
46614 fi
46615
46616 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_FINDREPLDLG 1
46619 _ACEOF
46620
46621 fi
46622
46623 if test "$wxUSE_FONTDLG" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_FONTDLG 1
46626 _ACEOF
46627
46628 fi
46629
46630 if test "$wxUSE_DIRDLG" = "yes"; then
46631 if test "$wxUSE_TREECTRL" != "yes"; then
46632 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46633 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46634 else
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_DIRDLG 1
46637 _ACEOF
46638
46639 fi
46640 fi
46641
46642 if test "$wxUSE_MSGDLG" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_MSGDLG 1
46645 _ACEOF
46646
46647 fi
46648
46649 if test "$wxUSE_NUMBERDLG" = "yes"; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_NUMBERDLG 1
46652 _ACEOF
46653
46654 fi
46655
46656 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_PROGRESSDLG 1
46659 _ACEOF
46660
46661 fi
46662
46663 if test "$wxUSE_SPLASH" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_SPLASH 1
46666 _ACEOF
46667
46668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46669 fi
46670
46671 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_STARTUP_TIPS 1
46674 _ACEOF
46675
46676 fi
46677
46678 if test "$wxUSE_TEXTDLG" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_TEXTDLG 1
46681 _ACEOF
46682
46683 fi
46684
46685 if test "$wxUSE_WIZARDDLG" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_WIZARDDLG 1
46688 _ACEOF
46689
46690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46691 fi
46692
46693
46694 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46695 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_OWNER_DRAWN 1
46698 _ACEOF
46699
46700 fi
46701 fi
46702
46703
46704 if test "$wxUSE_MSW" = 1 ; then
46705
46706 if test "$wxUSE_DC_CACHEING" = "yes"; then
46707 cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_DC_CACHEING 1
46709 _ACEOF
46710
46711 fi
46712
46713 if test "$wxUSE_DIB" = "yes"; then
46714 cat >>confdefs.h <<\_ACEOF
46715 #define wxUSE_WXDIB 1
46716 _ACEOF
46717
46718 fi
46719
46720 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46723 _ACEOF
46724
46725 fi
46726
46727 if test "$wxUSE_UXTHEME" = "yes"; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_UXTHEME 1
46730 _ACEOF
46731
46732 fi
46733
46734 fi
46735
46736 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_AUTOID_MANAGEMENT 1
46739 _ACEOF
46740
46741 fi
46742
46743 if test "$USE_WIN32" = 1 ; then
46744 if test "$wxUSE_INICONF" = "yes"; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_INICONF 1
46747 _ACEOF
46748
46749 fi
46750
46751 if test "$wxUSE_REGKEY" = "yes"; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_REGKEY 1
46754 _ACEOF
46755
46756 fi
46757 fi
46758
46759
46760 if test "$wxUSE_MAC" = 1; then
46761 wxUSE_GRAPHICS_CONTEXT="yes"
46762 fi
46763
46764 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46765 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46766 cat >>confdefs.h <<\_ACEOF
46767 #define wxUSE_GRAPHICS_CONTEXT 1
46768 _ACEOF
46769
46770 elif test "$wxUSE_GTK" != 1; then
46771 cat >>confdefs.h <<\_ACEOF
46772 #define wxUSE_GRAPHICS_CONTEXT 1
46773 _ACEOF
46774
46775 else
46776
46777 pkg_failed=no
46778 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46779 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46780
46781 if test -n "$PKG_CONFIG"; then
46782 if test -n "$CAIRO_CFLAGS"; then
46783 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46784 else
46785 if test -n "$PKG_CONFIG" && \
46786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46787 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46788 ac_status=$?
46789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46790 (exit $ac_status); }; then
46791 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46792 else
46793 pkg_failed=yes
46794 fi
46795 fi
46796 else
46797 pkg_failed=untried
46798 fi
46799 if test -n "$PKG_CONFIG"; then
46800 if test -n "$CAIRO_LIBS"; then
46801 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46802 else
46803 if test -n "$PKG_CONFIG" && \
46804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46805 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46806 ac_status=$?
46807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46808 (exit $ac_status); }; then
46809 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46810 else
46811 pkg_failed=yes
46812 fi
46813 fi
46814 else
46815 pkg_failed=untried
46816 fi
46817
46818
46819
46820 if test $pkg_failed = yes; then
46821
46822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46823 _pkg_short_errors_supported=yes
46824 else
46825 _pkg_short_errors_supported=no
46826 fi
46827 if test $_pkg_short_errors_supported = yes; then
46828 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46829 else
46830 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46831 fi
46832 # Put the nasty error message in config.log where it belongs
46833 echo "$CAIRO_PKG_ERRORS" >&5
46834
46835 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46836 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46837
46838 elif test $pkg_failed = untried; then
46839 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46840 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46841
46842 else
46843 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46844 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46845 { echo "$as_me:$LINENO: result: yes" >&5
46846 echo "${ECHO_T}yes" >&6; }
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_GRAPHICS_CONTEXT 1
46849 _ACEOF
46850
46851 fi
46852 fi
46853 fi
46854
46855
46856 USE_MEDIA=0
46857
46858 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46859 USE_MEDIA=1
46860
46861 if test "$wxUSE_GTK" = 1; then
46862 wxUSE_GSTREAMER="no"
46863
46864 GST_VERSION_MAJOR=0
46865 GST_VERSION_MINOR=10
46866 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46867
46868 if test "$wxUSE_GSTREAMER8" = "no"; then
46869
46870 pkg_failed=no
46871 { echo "$as_me:$LINENO: checking for GST" >&5
46872 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46873
46874 if test -n "$PKG_CONFIG"; then
46875 if test -n "$GST_CFLAGS"; then
46876 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46877 else
46878 if test -n "$PKG_CONFIG" && \
46879 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46880 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46881 ac_status=$?
46882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46883 (exit $ac_status); }; then
46884 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46885 else
46886 pkg_failed=yes
46887 fi
46888 fi
46889 else
46890 pkg_failed=untried
46891 fi
46892 if test -n "$PKG_CONFIG"; then
46893 if test -n "$GST_LIBS"; then
46894 pkg_cv_GST_LIBS="$GST_LIBS"
46895 else
46896 if test -n "$PKG_CONFIG" && \
46897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46898 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46899 ac_status=$?
46900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901 (exit $ac_status); }; then
46902 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46903 else
46904 pkg_failed=yes
46905 fi
46906 fi
46907 else
46908 pkg_failed=untried
46909 fi
46910
46911
46912
46913 if test $pkg_failed = yes; then
46914
46915 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46916 _pkg_short_errors_supported=yes
46917 else
46918 _pkg_short_errors_supported=no
46919 fi
46920 if test $_pkg_short_errors_supported = yes; then
46921 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46922 else
46923 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46924 fi
46925 # Put the nasty error message in config.log where it belongs
46926 echo "$GST_PKG_ERRORS" >&5
46927
46928
46929 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46930 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46931 GST_VERSION_MINOR=8
46932
46933
46934 elif test $pkg_failed = untried; then
46935
46936 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46937 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46938 GST_VERSION_MINOR=8
46939
46940
46941 else
46942 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46943 GST_LIBS=$pkg_cv_GST_LIBS
46944 { echo "$as_me:$LINENO: result: yes" >&5
46945 echo "${ECHO_T}yes" >&6; }
46946
46947 wxUSE_GSTREAMER="yes"
46948 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46949
46950 fi
46951 else
46952 GST_VERSION_MINOR=8
46953 fi
46954
46955 if test $GST_VERSION_MINOR = "8"; then
46956 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46957
46958 pkg_failed=no
46959 { echo "$as_me:$LINENO: checking for GST" >&5
46960 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46961
46962 if test -n "$PKG_CONFIG"; then
46963 if test -n "$GST_CFLAGS"; then
46964 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46965 else
46966 if test -n "$PKG_CONFIG" && \
46967 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46968 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46969 ac_status=$?
46970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46971 (exit $ac_status); }; then
46972 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46973 else
46974 pkg_failed=yes
46975 fi
46976 fi
46977 else
46978 pkg_failed=untried
46979 fi
46980 if test -n "$PKG_CONFIG"; then
46981 if test -n "$GST_LIBS"; then
46982 pkg_cv_GST_LIBS="$GST_LIBS"
46983 else
46984 if test -n "$PKG_CONFIG" && \
46985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46986 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46987 ac_status=$?
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; then
46990 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46991 else
46992 pkg_failed=yes
46993 fi
46994 fi
46995 else
46996 pkg_failed=untried
46997 fi
46998
46999
47000
47001 if test $pkg_failed = yes; then
47002
47003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47004 _pkg_short_errors_supported=yes
47005 else
47006 _pkg_short_errors_supported=no
47007 fi
47008 if test $_pkg_short_errors_supported = yes; then
47009 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47010 else
47011 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47012 fi
47013 # Put the nasty error message in config.log where it belongs
47014 echo "$GST_PKG_ERRORS" >&5
47015
47016
47017 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47018 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47019
47020 elif test $pkg_failed = untried; then
47021
47022 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47023 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47024
47025 else
47026 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47027 GST_LIBS=$pkg_cv_GST_LIBS
47028 { echo "$as_me:$LINENO: result: yes" >&5
47029 echo "${ECHO_T}yes" >&6; }
47030 wxUSE_GSTREAMER="yes"
47031 fi
47032 fi
47033
47034
47035 if test "$wxUSE_GSTREAMER" = "yes"; then
47036 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47037 EXTRALIBS_MEDIA="$GST_LIBS"
47038
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_GSTREAMER 1
47041 _ACEOF
47042
47043 else
47044 USE_MEDIA=0
47045 fi
47046 fi
47047
47048 if test $USE_MEDIA = 1; then
47049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_MEDIACTRL 1
47052 _ACEOF
47053
47054 else
47055 if test "$wxUSE_MEDIACTRL" = "yes"; then
47056 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47057 echo "$as_me: error: GStreamer not available" >&2;}
47058 { (exit 1); exit 1; }; }
47059 else
47060 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47061 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47062 fi
47063 fi
47064 fi
47065
47066
47067 if test "$cross_compiling" = "yes"; then
47068 OSINFO="\"$host\""
47069 else
47070 OSINFO=`uname -s -r -m`
47071 OSINFO="\"$OSINFO\""
47072 fi
47073
47074 cat >>confdefs.h <<_ACEOF
47075 #define WXWIN_OS_DESCRIPTION $OSINFO
47076 _ACEOF
47077
47078
47079
47080 if test "x$prefix" != "xNONE"; then
47081 wxPREFIX=$prefix
47082 else
47083 wxPREFIX=$ac_default_prefix
47084 fi
47085
47086 cat >>confdefs.h <<_ACEOF
47087 #define wxINSTALL_PREFIX "$wxPREFIX"
47088 _ACEOF
47089
47090
47091
47092
47093 STD_BASE_LIBS="base"
47094 STD_GUI_LIBS=""
47095 BUILT_WX_LIBS="base"
47096 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47097
47098 if test "$wxUSE_SOCKETS" = "yes" ; then
47099 STD_BASE_LIBS="net $STD_BASE_LIBS"
47100 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47101 fi
47102 if test "$wxUSE_XML" = "yes" ; then
47103 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47104 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47105 fi
47106
47107 if test "$wxUSE_GUI" = "yes"; then
47108 STD_GUI_LIBS="adv core"
47109 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47110
47111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47112 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47113 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47114 fi
47115 if test "$wxUSE_HTML" = "yes" ; then
47116 STD_GUI_LIBS="html $STD_GUI_LIBS"
47117 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47118 fi
47119 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47120 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47121 fi
47122 if test "$wxUSE_OPENGL" = "yes" ; then
47123 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47124 fi
47125 if test "$wxUSE_AUI" = "yes" ; then
47126 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47127 fi
47128 if test "$wxUSE_PROPGRID" = "yes" ; then
47129 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47130 fi
47131 if test "$wxUSE_RICHTEXT" = "yes" ; then
47132 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47133 fi
47134 if test "$wxUSE_STC" = "yes" ; then
47135 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47136 fi
47137 if test "$wxUSE_XRC" = "yes" ; then
47138 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47139 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47140 fi
47141 fi
47142
47143
47144
47145
47146
47147
47148
47149
47150 if test "$wxUSE_MAC" = 1 ; then
47151 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47152 if test "$USE_DARWIN" = 1; then
47153 LDFLAGS="$LDFLAGS -framework QuickTime"
47154 fi
47155 fi
47156 if test "$USE_DARWIN" = 1; then
47157 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47158 fi
47159 fi
47160 if test "$wxUSE_COCOA" = 1 ; then
47161 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47162 if test "$wxUSE_MEDIACTRL" = "yes"; then
47163 LDFLAGS="$LDFLAGS -framework QuickTime"
47164 fi
47165 fi
47166 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47167 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47168 fi
47169
47170 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47171
47172 if test "$wxUSE_GUI" = "yes"; then
47173
47174
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47176 erase event exec font image minimal mobile \
47177 mobile/wxedit mobile/styles render \
47178 shaped svg taborder vscroll widgets"
47179
47180 if test "$wxUSE_MONOLITHIC" != "yes"; then
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47182 fi
47183 if test "$TOOLKIT" = "MSW"; then
47184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47185 if test "$wxUSE_UNIVERSAL" != "yes"; then
47186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47187 fi
47188 fi
47189 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47191 fi
47192 else
47193 SAMPLES_SUBDIRS="console"
47194 if test "$wxUSE_SOCKETS" = "yes" ; then
47195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47196 fi
47197 if test "$wxUSE_IPC" = "yes" ; then
47198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47199 fi
47200 fi
47201
47202
47203 if test "x$INTELCC" = "xyes" ; then
47204 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47205 elif test "$GCC" = yes ; then
47206 CWARNINGS="-Wall -Wundef"
47207 fi
47208
47209 if test "x$INTELCXX" = "xyes" ; then
47210 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47211 elif test "$GXX" = yes ; then
47212 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47213 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47214 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47215 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47216 echo $ECHO_N "(cached) $ECHO_C" >&6
47217 else
47218 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47219
47220 ac_ext=cpp
47221 ac_cpp='$CXXCPP $CPPFLAGS'
47222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47225
47226 ac_save_CXXFLAGS="$CXXFLAGS"
47227 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47228 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47229 cat >conftest.$ac_ext <<_ACEOF
47230 /* confdefs.h. */
47231 _ACEOF
47232 cat confdefs.h >>conftest.$ac_ext
47233 cat >>conftest.$ac_ext <<_ACEOF
47234 /* end confdefs.h. */
47235
47236 int
47237 main ()
47238 {
47239 return 0;
47240 ;
47241 return 0;
47242 }
47243 _ACEOF
47244 rm -f conftest.$ac_objext
47245 if { (ac_try="$ac_compile"
47246 case "(($ac_try" in
47247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47248 *) ac_try_echo=$ac_try;;
47249 esac
47250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47251 (eval "$ac_compile") 2>conftest.er1
47252 ac_status=$?
47253 grep -v '^ *+' conftest.er1 >conftest.err
47254 rm -f conftest.er1
47255 cat conftest.err >&5
47256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47257 (exit $ac_status); } && {
47258 test -z "$ac_cxx_werror_flag" ||
47259 test ! -s conftest.err
47260 } && test -s conftest.$ac_objext; then
47261 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47262 else
47263 echo "$as_me: failed program was:" >&5
47264 sed 's/^/| /' conftest.$ac_ext >&5
47265
47266
47267 fi
47268
47269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47270 done
47271 CXXFLAGS="$ac_save_CXXFLAGS"
47272 ac_ext=c
47273 ac_cpp='$CPP $CPPFLAGS'
47274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47277
47278
47279 fi
47280 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47281 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47282 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47283 .ok|.ok,*) ;;
47284 .|.no|.no,*) ;;
47285 *)
47286 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47287 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47288 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47289 ac_status=$?
47290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291 (exit $ac_status); }
47292 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47293 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47294 ac_status=$?
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); }
47297 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47298 fi
47299 ;;
47300 esac
47301
47302 fi
47303
47304
47305 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47306 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47307
47308
47309 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47310 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47311 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47312 $CPPFLAGS `
47313
47314 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47315 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47316 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47317 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47318 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47319
47320 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47321
47322
47323 if test "x$MWCC" = "xyes"; then
47324
47325 CC="$CC -cwd source -I-"
47326 CXX="$CXX -cwd source -I-"
47327 fi
47328
47329
47330 LIBS=`echo $LIBS`
47331 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47332 EXTRALIBS_XML="$EXPAT_LINK"
47333 EXTRALIBS_HTML="$MSPACK_LINK"
47334 EXTRALIBS_MEDIA="$GST_LIBS"
47335 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47336 if test "$wxUSE_GUI" = "yes"; then
47337 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47338 fi
47339 if test "$wxUSE_OPENGL" = "yes"; then
47340 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47341 fi
47342
47343 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47344
47345 WXCONFIG_LIBS="$LIBS"
47346
47347 if test "$wxUSE_REGEX" = "builtin" ; then
47348 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47349 fi
47350 if test "$wxUSE_EXPAT" = "builtin" ; then
47351 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47352 fi
47353 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47354 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47355 fi
47356 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47357 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47358 fi
47359 if test "$wxUSE_LIBPNG" = "builtin" ; then
47360 wxconfig_3rdparty="png $wxconfig_3rdparty"
47361 fi
47362 if test "$wxUSE_ZLIB" = "builtin" ; then
47363 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47364 fi
47365
47366 for i in $wxconfig_3rdparty ; do
47367 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47368 done
47369
47370
47371 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47372 WXUNIV=1
47373
47374 case "$wxUNIV_THEMES" in
47375 ''|all)
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_ALL_THEMES 1
47378 _ACEOF
47379
47380 ;;
47381
47382 *)
47383 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47384 cat >>confdefs.h <<_ACEOF
47385 #define wxUSE_THEME_$t 1
47386 _ACEOF
47387
47388 done
47389 esac
47390 else
47391 WXUNIV=0
47392 fi
47393
47394
47395
47396
47397
47398
47399
47400
47401 if test $wxUSE_MONOLITHIC = "yes" ; then
47402 MONOLITHIC=1
47403 else
47404 MONOLITHIC=0
47405 fi
47406
47407 if test $wxUSE_PLUGINS = "yes" ; then
47408 USE_PLUGINS=1
47409 else
47410 USE_PLUGINS=0
47411 fi
47412
47413 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47414 USE_QA=1
47415 else
47416 USE_QA=0
47417 fi
47418
47419 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47420 OFFICIAL_BUILD=1
47421 else
47422 OFFICIAL_BUILD=0
47423 fi
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452 TOOLKIT_LOWERCASE=xxx
47453 if test "$TOOLKIT" = "MAC"; then
47454 TOOLKIT_LOWERCASE=osx_carbon
47455 fi
47456 if test "$TOOLKIT" = "OSX_CARBON"; then
47457 TOOLKIT_LOWERCASE=osx_carbon
47458 fi
47459 if test "$TOOLKIT" = "OSX_COCOA"; then
47460 TOOLKIT_LOWERCASE=osx_cocoa
47461 fi
47462 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47463 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47464 fi
47465
47466
47467
47468
47469
47470
47471
47472
47473 case "$TOOLKIT" in
47474 GTK)
47475 TOOLKIT_DESC="GTK+"
47476 if test "$WXGTK2" = 1; then
47477 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47478 if test "$wxUSE_GTKPRINT" = "yes" ; then
47479 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47480 fi
47481 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47482 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47483 fi
47484 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47485 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47486 fi
47487 if test "$wxUSE_LIBHILDON" = "yes"; then
47488 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47489 fi
47490
47491 if test "$TOOLKIT_EXTRA" != ""; then
47492 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47493 fi
47494 fi
47495 ;;
47496
47497 ?*)
47498 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47499 ;;
47500
47501 *)
47502 TOOLKIT_DESC="base only"
47503 ;;
47504 esac
47505
47506 if test "$wxUSE_WINE" = "yes"; then
47507 BAKEFILE_FORCE_PLATFORM=win32
47508 fi
47509
47510 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47511 then
47512 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47513 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47514 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47515 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 else
47517
47518 echo '#include <stdio.h>
47519 const wchar_t test_var[] = L"awidetest";' > conftest.h
47520
47521 echo '#include "conftest.h"
47522 int main()
47523 {
47524 printf("%ls", test_var);
47525 return 0;
47526 }' > conftest.cpp
47527
47528 wx_cv_gcc_pch_bug="pch not supported"
47529
47530 if $CXX conftest.h >/dev/null 2>&1
47531 then
47532 wx_cv_gcc_pch_bug=
47533
47534 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47535 then
47536 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47537 grep awidetest >/dev/null
47538 then
47539 wx_cv_gcc_pch_bug=no
47540 else
47541 wx_cv_gcc_pch_bug=yes
47542 fi
47543 fi
47544 fi
47545
47546 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47547
47548 fi
47549 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47550 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47551
47552 if test "$wx_cv_gcc_pch_bug" = yes; then
47553 bk_use_pch=no
47554 fi
47555 fi
47556
47557
47558
47559
47560
47561
47562
47563 if test "x$BAKEFILE_HOST" = "x"; then
47564 if test "x${host}" = "x" ; then
47565 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47566 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47567 { (exit 1); exit 1; }; }
47568 fi
47569
47570 BAKEFILE_HOST="${host}"
47571 fi
47572
47573 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47574
47575 if test -n "$ac_tool_prefix"; then
47576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47577 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47580 if test "${ac_cv_prog_RANLIB+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47582 else
47583 if test -n "$RANLIB"; then
47584 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47585 else
47586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47587 for as_dir in $PATH
47588 do
47589 IFS=$as_save_IFS
47590 test -z "$as_dir" && as_dir=.
47591 for ac_exec_ext in '' $ac_executable_extensions; do
47592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47595 break 2
47596 fi
47597 done
47598 done
47599 IFS=$as_save_IFS
47600
47601 fi
47602 fi
47603 RANLIB=$ac_cv_prog_RANLIB
47604 if test -n "$RANLIB"; then
47605 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47606 echo "${ECHO_T}$RANLIB" >&6; }
47607 else
47608 { echo "$as_me:$LINENO: result: no" >&5
47609 echo "${ECHO_T}no" >&6; }
47610 fi
47611
47612
47613 fi
47614 if test -z "$ac_cv_prog_RANLIB"; then
47615 ac_ct_RANLIB=$RANLIB
47616 # Extract the first word of "ranlib", so it can be a program name with args.
47617 set dummy ranlib; ac_word=$2
47618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47620 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623 if test -n "$ac_ct_RANLIB"; then
47624 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47625 else
47626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47627 for as_dir in $PATH
47628 do
47629 IFS=$as_save_IFS
47630 test -z "$as_dir" && as_dir=.
47631 for ac_exec_ext in '' $ac_executable_extensions; do
47632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47633 ac_cv_prog_ac_ct_RANLIB="ranlib"
47634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47635 break 2
47636 fi
47637 done
47638 done
47639 IFS=$as_save_IFS
47640
47641 fi
47642 fi
47643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47644 if test -n "$ac_ct_RANLIB"; then
47645 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47646 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47647 else
47648 { echo "$as_me:$LINENO: result: no" >&5
47649 echo "${ECHO_T}no" >&6; }
47650 fi
47651
47652 if test "x$ac_ct_RANLIB" = x; then
47653 RANLIB=":"
47654 else
47655 case $cross_compiling:$ac_tool_warned in
47656 yes:)
47657 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47658 whose name does not start with the host triplet. If you think this
47659 configuration is useful to you, please write to autoconf@gnu.org." >&5
47660 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47661 whose name does not start with the host triplet. If you think this
47662 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47663 ac_tool_warned=yes ;;
47664 esac
47665 RANLIB=$ac_ct_RANLIB
47666 fi
47667 else
47668 RANLIB="$ac_cv_prog_RANLIB"
47669 fi
47670
47671 # Find a good install program. We prefer a C program (faster),
47672 # so one script is as good as another. But avoid the broken or
47673 # incompatible versions:
47674 # SysV /etc/install, /usr/sbin/install
47675 # SunOS /usr/etc/install
47676 # IRIX /sbin/install
47677 # AIX /bin/install
47678 # AmigaOS /C/install, which installs bootblocks on floppy discs
47679 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47680 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47681 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47682 # OS/2's system install, which has a completely different semantic
47683 # ./install, which can be erroneously created by make from ./install.sh.
47684 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47685 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47686 if test -z "$INSTALL"; then
47687 if test "${ac_cv_path_install+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47689 else
47690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47691 for as_dir in $PATH
47692 do
47693 IFS=$as_save_IFS
47694 test -z "$as_dir" && as_dir=.
47695 # Account for people who put trailing slashes in PATH elements.
47696 case $as_dir/ in
47697 ./ | .// | /cC/* | \
47698 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47699 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47700 /usr/ucb/* ) ;;
47701 *)
47702 # OSF1 and SCO ODT 3.0 have their own names for install.
47703 # Don't use installbsd from OSF since it installs stuff as root
47704 # by default.
47705 for ac_prog in ginstall scoinst install; do
47706 for ac_exec_ext in '' $ac_executable_extensions; do
47707 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47708 if test $ac_prog = install &&
47709 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47710 # AIX install. It has an incompatible calling convention.
47711 :
47712 elif test $ac_prog = install &&
47713 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47714 # program-specific install script used by HP pwplus--don't use.
47715 :
47716 else
47717 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47718 break 3
47719 fi
47720 fi
47721 done
47722 done
47723 ;;
47724 esac
47725 done
47726 IFS=$as_save_IFS
47727
47728
47729 fi
47730 if test "${ac_cv_path_install+set}" = set; then
47731 INSTALL=$ac_cv_path_install
47732 else
47733 # As a last resort, use the slow shell script. Don't cache a
47734 # value for INSTALL within a source directory, because that will
47735 # break other packages using the cache if that directory is
47736 # removed, or if the value is a relative name.
47737 INSTALL=$ac_install_sh
47738 fi
47739 fi
47740 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47741 echo "${ECHO_T}$INSTALL" >&6; }
47742
47743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47744 # It thinks the first close brace ends the variable substitution.
47745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47746
47747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47748
47749 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47750
47751 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47752 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47753 LN_S=$as_ln_s
47754 if test "$LN_S" = "ln -s"; then
47755 { echo "$as_me:$LINENO: result: yes" >&5
47756 echo "${ECHO_T}yes" >&6; }
47757 else
47758 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47759 echo "${ECHO_T}no, using $LN_S" >&6; }
47760 fi
47761
47762
47763 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47764 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47765 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47766 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47767 echo $ECHO_N "(cached) $ECHO_C" >&6
47768 else
47769 cat >conftest.make <<\_ACEOF
47770 SHELL = /bin/sh
47771 all:
47772 @echo '@@@%%%=$(MAKE)=@@@%%%'
47773 _ACEOF
47774 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47775 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47776 *@@@%%%=?*=@@@%%%*)
47777 eval ac_cv_prog_make_${ac_make}_set=yes;;
47778 *)
47779 eval ac_cv_prog_make_${ac_make}_set=no;;
47780 esac
47781 rm -f conftest.make
47782 fi
47783 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47784 { echo "$as_me:$LINENO: result: yes" >&5
47785 echo "${ECHO_T}yes" >&6; }
47786 SET_MAKE=
47787 else
47788 { echo "$as_me:$LINENO: result: no" >&5
47789 echo "${ECHO_T}no" >&6; }
47790 SET_MAKE="MAKE=${MAKE-make}"
47791 fi
47792
47793
47794
47795 if test "x$SUNCXX" = "xyes"; then
47796 AR=$CXX
47797 AROPTIONS="-xar -o"
47798
47799 elif test "x$SGICC" = "xyes"; then
47800 AR=$CXX
47801 AROPTIONS="-ar -o"
47802
47803 else
47804 if test -n "$ac_tool_prefix"; then
47805 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47806 set dummy ${ac_tool_prefix}ar; ac_word=$2
47807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47809 if test "${ac_cv_prog_AR+set}" = set; then
47810 echo $ECHO_N "(cached) $ECHO_C" >&6
47811 else
47812 if test -n "$AR"; then
47813 ac_cv_prog_AR="$AR" # Let the user override the test.
47814 else
47815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47816 for as_dir in $PATH
47817 do
47818 IFS=$as_save_IFS
47819 test -z "$as_dir" && as_dir=.
47820 for ac_exec_ext in '' $ac_executable_extensions; do
47821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47822 ac_cv_prog_AR="${ac_tool_prefix}ar"
47823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47824 break 2
47825 fi
47826 done
47827 done
47828 IFS=$as_save_IFS
47829
47830 fi
47831 fi
47832 AR=$ac_cv_prog_AR
47833 if test -n "$AR"; then
47834 { echo "$as_me:$LINENO: result: $AR" >&5
47835 echo "${ECHO_T}$AR" >&6; }
47836 else
47837 { echo "$as_me:$LINENO: result: no" >&5
47838 echo "${ECHO_T}no" >&6; }
47839 fi
47840
47841
47842 fi
47843 if test -z "$ac_cv_prog_AR"; then
47844 ac_ct_AR=$AR
47845 # Extract the first word of "ar", so it can be a program name with args.
47846 set dummy ar; ac_word=$2
47847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47849 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47850 echo $ECHO_N "(cached) $ECHO_C" >&6
47851 else
47852 if test -n "$ac_ct_AR"; then
47853 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47854 else
47855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47856 for as_dir in $PATH
47857 do
47858 IFS=$as_save_IFS
47859 test -z "$as_dir" && as_dir=.
47860 for ac_exec_ext in '' $ac_executable_extensions; do
47861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47862 ac_cv_prog_ac_ct_AR="ar"
47863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47864 break 2
47865 fi
47866 done
47867 done
47868 IFS=$as_save_IFS
47869
47870 fi
47871 fi
47872 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47873 if test -n "$ac_ct_AR"; then
47874 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47875 echo "${ECHO_T}$ac_ct_AR" >&6; }
47876 else
47877 { echo "$as_me:$LINENO: result: no" >&5
47878 echo "${ECHO_T}no" >&6; }
47879 fi
47880
47881 if test "x$ac_ct_AR" = x; then
47882 AR="ar"
47883 else
47884 case $cross_compiling:$ac_tool_warned in
47885 yes:)
47886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47887 whose name does not start with the host triplet. If you think this
47888 configuration is useful to you, please write to autoconf@gnu.org." >&5
47889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47890 whose name does not start with the host triplet. If you think this
47891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47892 ac_tool_warned=yes ;;
47893 esac
47894 AR=$ac_ct_AR
47895 fi
47896 else
47897 AR="$ac_cv_prog_AR"
47898 fi
47899
47900 AROPTIONS=rcu
47901 fi
47902
47903
47904 if test -n "$ac_tool_prefix"; then
47905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47906 set dummy ${ac_tool_prefix}strip; ac_word=$2
47907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47909 if test "${ac_cv_prog_STRIP+set}" = set; then
47910 echo $ECHO_N "(cached) $ECHO_C" >&6
47911 else
47912 if test -n "$STRIP"; then
47913 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47914 else
47915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47916 for as_dir in $PATH
47917 do
47918 IFS=$as_save_IFS
47919 test -z "$as_dir" && as_dir=.
47920 for ac_exec_ext in '' $ac_executable_extensions; do
47921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47922 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47924 break 2
47925 fi
47926 done
47927 done
47928 IFS=$as_save_IFS
47929
47930 fi
47931 fi
47932 STRIP=$ac_cv_prog_STRIP
47933 if test -n "$STRIP"; then
47934 { echo "$as_me:$LINENO: result: $STRIP" >&5
47935 echo "${ECHO_T}$STRIP" >&6; }
47936 else
47937 { echo "$as_me:$LINENO: result: no" >&5
47938 echo "${ECHO_T}no" >&6; }
47939 fi
47940
47941
47942 fi
47943 if test -z "$ac_cv_prog_STRIP"; then
47944 ac_ct_STRIP=$STRIP
47945 # Extract the first word of "strip", so it can be a program name with args.
47946 set dummy strip; ac_word=$2
47947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47949 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47950 echo $ECHO_N "(cached) $ECHO_C" >&6
47951 else
47952 if test -n "$ac_ct_STRIP"; then
47953 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47954 else
47955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47956 for as_dir in $PATH
47957 do
47958 IFS=$as_save_IFS
47959 test -z "$as_dir" && as_dir=.
47960 for ac_exec_ext in '' $ac_executable_extensions; do
47961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47962 ac_cv_prog_ac_ct_STRIP="strip"
47963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47964 break 2
47965 fi
47966 done
47967 done
47968 IFS=$as_save_IFS
47969
47970 fi
47971 fi
47972 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47973 if test -n "$ac_ct_STRIP"; then
47974 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47975 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47976 else
47977 { echo "$as_me:$LINENO: result: no" >&5
47978 echo "${ECHO_T}no" >&6; }
47979 fi
47980
47981 if test "x$ac_ct_STRIP" = x; then
47982 STRIP=":"
47983 else
47984 case $cross_compiling:$ac_tool_warned in
47985 yes:)
47986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47987 whose name does not start with the host triplet. If you think this
47988 configuration is useful to you, please write to autoconf@gnu.org." >&5
47989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47990 whose name does not start with the host triplet. If you think this
47991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47992 ac_tool_warned=yes ;;
47993 esac
47994 STRIP=$ac_ct_STRIP
47995 fi
47996 else
47997 STRIP="$ac_cv_prog_STRIP"
47998 fi
47999
48000 if test -n "$ac_tool_prefix"; then
48001 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48002 set dummy ${ac_tool_prefix}nm; ac_word=$2
48003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48005 if test "${ac_cv_prog_NM+set}" = set; then
48006 echo $ECHO_N "(cached) $ECHO_C" >&6
48007 else
48008 if test -n "$NM"; then
48009 ac_cv_prog_NM="$NM" # Let the user override the test.
48010 else
48011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48012 for as_dir in $PATH
48013 do
48014 IFS=$as_save_IFS
48015 test -z "$as_dir" && as_dir=.
48016 for ac_exec_ext in '' $ac_executable_extensions; do
48017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48018 ac_cv_prog_NM="${ac_tool_prefix}nm"
48019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48020 break 2
48021 fi
48022 done
48023 done
48024 IFS=$as_save_IFS
48025
48026 fi
48027 fi
48028 NM=$ac_cv_prog_NM
48029 if test -n "$NM"; then
48030 { echo "$as_me:$LINENO: result: $NM" >&5
48031 echo "${ECHO_T}$NM" >&6; }
48032 else
48033 { echo "$as_me:$LINENO: result: no" >&5
48034 echo "${ECHO_T}no" >&6; }
48035 fi
48036
48037
48038 fi
48039 if test -z "$ac_cv_prog_NM"; then
48040 ac_ct_NM=$NM
48041 # Extract the first word of "nm", so it can be a program name with args.
48042 set dummy nm; ac_word=$2
48043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48045 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48046 echo $ECHO_N "(cached) $ECHO_C" >&6
48047 else
48048 if test -n "$ac_ct_NM"; then
48049 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48050 else
48051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48052 for as_dir in $PATH
48053 do
48054 IFS=$as_save_IFS
48055 test -z "$as_dir" && as_dir=.
48056 for ac_exec_ext in '' $ac_executable_extensions; do
48057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48058 ac_cv_prog_ac_ct_NM="nm"
48059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48060 break 2
48061 fi
48062 done
48063 done
48064 IFS=$as_save_IFS
48065
48066 fi
48067 fi
48068 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48069 if test -n "$ac_ct_NM"; then
48070 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48071 echo "${ECHO_T}$ac_ct_NM" >&6; }
48072 else
48073 { echo "$as_me:$LINENO: result: no" >&5
48074 echo "${ECHO_T}no" >&6; }
48075 fi
48076
48077 if test "x$ac_ct_NM" = x; then
48078 NM=":"
48079 else
48080 case $cross_compiling:$ac_tool_warned in
48081 yes:)
48082 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48083 whose name does not start with the host triplet. If you think this
48084 configuration is useful to you, please write to autoconf@gnu.org." >&5
48085 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48086 whose name does not start with the host triplet. If you think this
48087 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48088 ac_tool_warned=yes ;;
48089 esac
48090 NM=$ac_ct_NM
48091 fi
48092 else
48093 NM="$ac_cv_prog_NM"
48094 fi
48095
48096
48097 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48098 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48099 INSTALL_TEST_DIR=acbftest$$
48100 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48101 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48102 rmdir $INSTALL_TEST_DIR
48103 INSTALL_DIR='$(INSTALL) -d'
48104 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48105 echo "${ECHO_T}$INSTALL -d" >&6; }
48106 else
48107 INSTALL_DIR="mkdir -p"
48108 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48109 echo "${ECHO_T}mkdir -p" >&6; }
48110 fi
48111
48112
48113 LDFLAGS_GUI=
48114 case ${BAKEFILE_HOST} in
48115 *-*-cygwin* | *-*-mingw32* )
48116 LDFLAGS_GUI="-mwindows"
48117 esac
48118
48119
48120 fi
48121
48122 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48123 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48124 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48125 echo $ECHO_N "(cached) $ECHO_C" >&6
48126 else
48127
48128 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48129 egrep -s GNU > /dev/null); then
48130 bakefile_cv_prog_makeisgnu="yes"
48131 else
48132 bakefile_cv_prog_makeisgnu="no"
48133 fi
48134
48135 fi
48136 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48137 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48138
48139 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48140 IF_GNU_MAKE=""
48141 else
48142 IF_GNU_MAKE="#"
48143 fi
48144
48145
48146
48147 PLATFORM_UNIX=0
48148 PLATFORM_WIN32=0
48149 PLATFORM_MSDOS=0
48150 PLATFORM_MAC=0
48151 PLATFORM_MACOS=0
48152 PLATFORM_MACOSX=0
48153 PLATFORM_OS2=0
48154 PLATFORM_BEOS=0
48155
48156 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48157 case "${BAKEFILE_HOST}" in
48158 *-*-mingw32* )
48159 PLATFORM_WIN32=1
48160 ;;
48161 *-pc-msdosdjgpp )
48162 PLATFORM_MSDOS=1
48163 ;;
48164 *-pc-os2_emx | *-pc-os2-emx )
48165 PLATFORM_OS2=1
48166 ;;
48167 *-*-darwin* )
48168 PLATFORM_MAC=1
48169 PLATFORM_MACOSX=1
48170 ;;
48171 *-*-beos* )
48172 PLATFORM_BEOS=1
48173 ;;
48174 powerpc-apple-macos* )
48175 PLATFORM_MAC=1
48176 PLATFORM_MACOS=1
48177 ;;
48178 * )
48179 PLATFORM_UNIX=1
48180 ;;
48181 esac
48182 else
48183 case "$BAKEFILE_FORCE_PLATFORM" in
48184 win32 )
48185 PLATFORM_WIN32=1
48186 ;;
48187 msdos )
48188 PLATFORM_MSDOS=1
48189 ;;
48190 os2 )
48191 PLATFORM_OS2=1
48192 ;;
48193 darwin )
48194 PLATFORM_MAC=1
48195 PLATFORM_MACOSX=1
48196 ;;
48197 unix )
48198 PLATFORM_UNIX=1
48199 ;;
48200 beos )
48201 PLATFORM_BEOS=1
48202 ;;
48203 * )
48204 ;;
48205 esac
48206 fi
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218 # Check whether --enable-omf was given.
48219 if test "${enable_omf+set}" = set; then
48220 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48221 fi
48222
48223
48224 case "${BAKEFILE_HOST}" in
48225 *-*-darwin* )
48226 if test "x$GCC" = "xyes"; then
48227 CFLAGS="$CFLAGS -fno-common"
48228 CXXFLAGS="$CXXFLAGS -fno-common"
48229 fi
48230 if test "x$XLCC" = "xyes"; then
48231 CFLAGS="$CFLAGS -qnocommon"
48232 CXXFLAGS="$CXXFLAGS -qnocommon"
48233 fi
48234 ;;
48235
48236 *-pc-os2_emx | *-pc-os2-emx )
48237 if test "x$bk_os2_use_omf" = "xyes" ; then
48238 AR=emxomfar
48239 RANLIB=:
48240 LDFLAGS="-Zomf $LDFLAGS"
48241 CFLAGS="-Zomf $CFLAGS"
48242 CXXFLAGS="-Zomf $CXXFLAGS"
48243 OS2_LIBEXT="lib"
48244 else
48245 OS2_LIBEXT="a"
48246 fi
48247 ;;
48248
48249 i*86-*-beos* )
48250 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48251 ;;
48252 esac
48253
48254
48255 SO_SUFFIX="so"
48256 SO_SUFFIX_MODULE="so"
48257 EXEEXT=""
48258 LIBPREFIX="lib"
48259 LIBEXT=".a"
48260 DLLPREFIX="lib"
48261 DLLPREFIX_MODULE=""
48262 DLLIMP_SUFFIX=""
48263 dlldir="$libdir"
48264
48265 case "${BAKEFILE_HOST}" in
48266 ia64-hp-hpux* )
48267 ;;
48268 *-hp-hpux* )
48269 SO_SUFFIX="sl"
48270 SO_SUFFIX_MODULE="sl"
48271 ;;
48272 *-*-aix* )
48273 SO_SUFFIX="a"
48274 SO_SUFFIX_MODULE="a"
48275 ;;
48276 *-*-cygwin* )
48277 SO_SUFFIX="dll"
48278 SO_SUFFIX_MODULE="dll"
48279 DLLIMP_SUFFIX="dll.a"
48280 EXEEXT=".exe"
48281 DLLPREFIX="cyg"
48282 dlldir="$bindir"
48283 ;;
48284 *-*-mingw32* )
48285 SO_SUFFIX="dll"
48286 SO_SUFFIX_MODULE="dll"
48287 DLLIMP_SUFFIX="dll.a"
48288 EXEEXT=".exe"
48289 DLLPREFIX=""
48290 dlldir="$bindir"
48291 ;;
48292 *-pc-msdosdjgpp )
48293 EXEEXT=".exe"
48294 DLLPREFIX=""
48295 dlldir="$bindir"
48296 ;;
48297 *-pc-os2_emx | *-pc-os2-emx )
48298 SO_SUFFIX="dll"
48299 SO_SUFFIX_MODULE="dll"
48300 DLLIMP_SUFFIX=$OS2_LIBEXT
48301 EXEEXT=".exe"
48302 DLLPREFIX=""
48303 LIBPREFIX=""
48304 LIBEXT=".$OS2_LIBEXT"
48305 dlldir="$bindir"
48306 ;;
48307 *-*-darwin* )
48308 SO_SUFFIX="dylib"
48309 SO_SUFFIX_MODULE="bundle"
48310 ;;
48311 esac
48312
48313 if test "x$DLLIMP_SUFFIX" = "x" ; then
48314 DLLIMP_SUFFIX="$SO_SUFFIX"
48315 fi
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328 PIC_FLAG=""
48329 if test "x$GCC" = "xyes"; then
48330 PIC_FLAG="-fPIC"
48331 fi
48332
48333 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48334 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48335 WINDOWS_IMPLIB=0
48336
48337 case "${BAKEFILE_HOST}" in
48338 *-hp-hpux* )
48339 if test "x$GCC" != "xyes"; then
48340 LDFLAGS="$LDFLAGS -L/usr/lib"
48341
48342 SHARED_LD_CC="${CC} -b -o"
48343 SHARED_LD_CXX="${CXX} -b -o"
48344 PIC_FLAG="+Z"
48345 fi
48346 ;;
48347
48348 *-*-linux* )
48349 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48350 PIC_FLAG="-KPIC"
48351 elif test "x$SUNCXX" = "xyes"; then
48352 SHARED_LD_CC="${CC} -G -o"
48353 SHARED_LD_CXX="${CXX} -G -o"
48354 PIC_FLAG="-KPIC"
48355 fi
48356 ;;
48357
48358 *-*-solaris2* )
48359 if test "x$SUNCXX" = xyes ; then
48360 SHARED_LD_CC="${CC} -G -o"
48361 SHARED_LD_CXX="${CXX} -G -o"
48362 PIC_FLAG="-KPIC"
48363 fi
48364 ;;
48365
48366 *-*-darwin* )
48367
48368 D='$'
48369 cat <<EOF >shared-ld-sh
48370 #!/bin/sh
48371 #-----------------------------------------------------------------------------
48372 #-- Name: distrib/mac/shared-ld-sh
48373 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48374 #-- Author: Gilles Depeyrot
48375 #-- Copyright: (c) 2002 Gilles Depeyrot
48376 #-- Licence: any use permitted
48377 #-----------------------------------------------------------------------------
48378
48379 verbose=0
48380 args=""
48381 objects=""
48382 linking_flag="-dynamiclib"
48383 ldargs="-r -keep_private_externs -nostdlib"
48384
48385 if test "x${D}CXX" = "x"; then
48386 CXX="c++"
48387 fi
48388
48389 while test ${D}# -gt 0; do
48390 case ${D}1 in
48391
48392 -v)
48393 verbose=1
48394 ;;
48395
48396 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48397 # collect these options and values
48398 args="${D}{args} ${D}1 ${D}2"
48399 shift
48400 ;;
48401
48402 -arch|-isysroot)
48403 # collect these options and values
48404 ldargs="${D}{ldargs} ${D}1 ${D}2"
48405 shift
48406 ;;
48407
48408 -s|-Wl,*)
48409 # collect these load args
48410 ldargs="${D}{ldargs} ${D}1"
48411 ;;
48412
48413 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48414 # collect these options
48415 args="${D}{args} ${D}1"
48416 ;;
48417
48418 -dynamiclib|-bundle)
48419 linking_flag="${D}1"
48420 ;;
48421
48422 -*)
48423 echo "shared-ld: unhandled option '${D}1'"
48424 exit 1
48425 ;;
48426
48427 *.o | *.a | *.dylib)
48428 # collect object files
48429 objects="${D}{objects} ${D}1"
48430 ;;
48431
48432 *)
48433 echo "shared-ld: unhandled argument '${D}1'"
48434 exit 1
48435 ;;
48436
48437 esac
48438 shift
48439 done
48440
48441 status=0
48442
48443 #
48444 # Link one module containing all the others
48445 #
48446 if test ${D}{verbose} = 1; then
48447 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48448 fi
48449 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48450 status=${D}?
48451
48452 #
48453 # Link the shared library from the single module created, but only if the
48454 # previous command didn't fail:
48455 #
48456 if test ${D}{status} = 0; then
48457 if test ${D}{verbose} = 1; then
48458 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48459 fi
48460 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48461 status=${D}?
48462 fi
48463
48464 #
48465 # Remove intermediate module
48466 #
48467 rm -f master.${D}${D}.o
48468
48469 exit ${D}status
48470 EOF
48471
48472 chmod +x shared-ld-sh
48473
48474 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48475 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48476
48477
48478 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48479 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48480 if test "${bakefile_cv_gcc31+set}" = set; then
48481 echo $ECHO_N "(cached) $ECHO_C" >&6
48482 else
48483
48484 cat >conftest.$ac_ext <<_ACEOF
48485 /* confdefs.h. */
48486 _ACEOF
48487 cat confdefs.h >>conftest.$ac_ext
48488 cat >>conftest.$ac_ext <<_ACEOF
48489 /* end confdefs.h. */
48490
48491 int
48492 main ()
48493 {
48494
48495 #if (__GNUC__ < 3) || \
48496 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48497 This is old gcc
48498 #endif
48499
48500 ;
48501 return 0;
48502 }
48503 _ACEOF
48504 rm -f conftest.$ac_objext
48505 if { (ac_try="$ac_compile"
48506 case "(($ac_try" in
48507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48508 *) ac_try_echo=$ac_try;;
48509 esac
48510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48511 (eval "$ac_compile") 2>conftest.er1
48512 ac_status=$?
48513 grep -v '^ *+' conftest.er1 >conftest.err
48514 rm -f conftest.er1
48515 cat conftest.err >&5
48516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48517 (exit $ac_status); } && {
48518 test -z "$ac_c_werror_flag" ||
48519 test ! -s conftest.err
48520 } && test -s conftest.$ac_objext; then
48521
48522 bakefile_cv_gcc31=yes
48523
48524 else
48525 echo "$as_me: failed program was:" >&5
48526 sed 's/^/| /' conftest.$ac_ext >&5
48527
48528
48529 bakefile_cv_gcc31=no
48530
48531
48532 fi
48533
48534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48535
48536 fi
48537 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48538 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48539 if test "$bakefile_cv_gcc31" = "no"; then
48540 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48541 SHARED_LD_CXX="$SHARED_LD_CC"
48542 else
48543 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48544 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48545 fi
48546
48547 if test "x$GCC" == "xyes"; then
48548 PIC_FLAG="-dynamic -fPIC"
48549 fi
48550 if test "x$XLCC" = "xyes"; then
48551 PIC_FLAG="-dynamic -DPIC"
48552 fi
48553 ;;
48554
48555 *-*-aix* )
48556 if test "x$GCC" = "xyes"; then
48557 PIC_FLAG=""
48558
48559 case "${BAKEFILE_HOST}" in
48560 *-*-aix5* )
48561 LD_EXPFULL="-Wl,-bexpfull"
48562 ;;
48563 esac
48564
48565 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48566 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48567 else
48568 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48569 set dummy makeC++SharedLib; ac_word=$2
48570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48572 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48573 echo $ECHO_N "(cached) $ECHO_C" >&6
48574 else
48575 if test -n "$AIX_CXX_LD"; then
48576 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48577 else
48578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48579 for as_dir in $PATH
48580 do
48581 IFS=$as_save_IFS
48582 test -z "$as_dir" && as_dir=.
48583 for ac_exec_ext in '' $ac_executable_extensions; do
48584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48585 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48587 break 2
48588 fi
48589 done
48590 done
48591 IFS=$as_save_IFS
48592
48593 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48594 fi
48595 fi
48596 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48597 if test -n "$AIX_CXX_LD"; then
48598 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48599 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48600 else
48601 { echo "$as_me:$LINENO: result: no" >&5
48602 echo "${ECHO_T}no" >&6; }
48603 fi
48604
48605
48606 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48607 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48608 fi
48609 ;;
48610
48611 *-*-beos* )
48612 SHARED_LD_CC="${LD} -nostart -o"
48613 SHARED_LD_CXX="${LD} -nostart -o"
48614 ;;
48615
48616 *-*-irix* )
48617 if test "x$GCC" != "xyes"; then
48618 PIC_FLAG="-KPIC"
48619 fi
48620 ;;
48621
48622 *-*-cygwin* | *-*-mingw32* )
48623 PIC_FLAG=""
48624 SHARED_LD_CC="\$(CC) -shared -o"
48625 SHARED_LD_CXX="\$(CXX) -shared -o"
48626 WINDOWS_IMPLIB=1
48627 ;;
48628
48629 *-pc-os2_emx | *-pc-os2-emx )
48630 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48631 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48632 PIC_FLAG=""
48633
48634 D='$'
48635 cat <<EOF >dllar.sh
48636 #!/bin/sh
48637 #
48638 # dllar - a tool to build both a .dll and an .a file
48639 # from a set of object (.o) files for EMX/OS2.
48640 #
48641 # Written by Andrew Zabolotny, bit@freya.etu.ru
48642 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48643 #
48644 # This script will accept a set of files on the command line.
48645 # All the public symbols from the .o files will be exported into
48646 # a .DEF file, then linker will be run (through gcc) against them to
48647 # build a shared library consisting of all given .o files. All libraries
48648 # (.a) will be first decompressed into component .o files then act as
48649 # described above. You can optionally give a description (-d "description")
48650 # which will be put into .DLL. To see the list of accepted options (as well
48651 # as command-line format) simply run this program without options. The .DLL
48652 # is built to be imported by name (there is no guarantee that new versions
48653 # of the library you build will have same ordinals for same symbols).
48654 #
48655 # dllar is free software; you can redistribute it and/or modify
48656 # it under the terms of the GNU General Public License as published by
48657 # the Free Software Foundation; either version 2, or (at your option)
48658 # any later version.
48659 #
48660 # dllar is distributed in the hope that it will be useful,
48661 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48663 # GNU General Public License for more details.
48664 #
48665 # You should have received a copy of the GNU General Public License
48666 # along with dllar; see the file COPYING. If not, write to the Free
48667 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48668 # 02111-1307, USA.
48669
48670 # To successfuly run this program you will need:
48671 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48672 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48673 # - gcc
48674 # (used to build the .dll)
48675 # - emxexp
48676 # (used to create .def file from .o files)
48677 # - emximp
48678 # (used to create .a file from .def file)
48679 # - GNU text utilites (cat, sort, uniq)
48680 # used to process emxexp output
48681 # - GNU file utilities (mv, rm)
48682 # - GNU sed
48683 # - lxlite (optional, see flag below)
48684 # (used for general .dll cleanup)
48685 #
48686
48687 flag_USE_LXLITE=1;
48688
48689 #
48690 # helper functions
48691 # basnam, variant of basename, which does _not_ remove the path, _iff_
48692 # second argument (suffix to remove) is given
48693 basnam(){
48694 case ${D}# in
48695 1)
48696 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48697 ;;
48698 2)
48699 echo ${D}1 | sed 's/'${D}2'${D}//'
48700 ;;
48701 *)
48702 echo "error in basnam ${D}*"
48703 exit 8
48704 ;;
48705 esac
48706 }
48707
48708 # Cleanup temporary files and output
48709 CleanUp() {
48710 cd ${D}curDir
48711 for i in ${D}inputFiles ; do
48712 case ${D}i in
48713 *!)
48714 rm -rf \`basnam ${D}i !\`
48715 ;;
48716 *)
48717 ;;
48718 esac
48719 done
48720
48721 # Kill result in case of failure as there is just to many stupid make/nmake
48722 # things out there which doesn't do this.
48723 if [ ${D}# -eq 0 ]; then
48724 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48725 fi
48726 }
48727
48728 # Print usage and exit script with rc=1.
48729 PrintHelp() {
48730 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48731 echo ' [-name-mangler-script script.sh]'
48732 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48733 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48734 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48735 echo ' [*.o] [*.a]'
48736 echo '*> "output_file" should have no extension.'
48737 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48738 echo ' The import library name is derived from this and is set to "name".a,'
48739 echo ' unless overridden by -import'
48740 echo '*> "importlib_name" should have no extension.'
48741 echo ' If it has the .o, or .a extension, it is automatically removed.'
48742 echo ' This name is used as the import library name and may be longer and'
48743 echo ' more descriptive than the DLL name which has to follow the old '
48744 echo ' 8.3 convention of FAT.'
48745 echo '*> "script.sh may be given to override the output_file name by a'
48746 echo ' different name. It is mainly useful if the regular make process'
48747 echo ' of some package does not take into account OS/2 restriction of'
48748 echo ' DLL name lengths. It takes the importlib name as input and is'
48749 echo ' supposed to procude a shorter name as output. The script should'
48750 echo ' expect to get importlib_name without extension and should produce'
48751 echo ' a (max.) 8 letter name without extension.'
48752 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48753 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48754 echo ' These flags will be put at the start of GCC command line.'
48755 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48756 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48757 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48758 echo ' If the last character of a symbol is "*", all symbols beginning'
48759 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48760 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48761 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48762 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48763 echo ' C runtime DLLs.'
48764 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48765 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48766 echo ' unchanged to GCC at the end of command line.'
48767 echo '*> If you create a DLL from a library and you do not specify -o,'
48768 echo ' the basename for DLL and import library will be set to library name,'
48769 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48770 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48771 echo ' library will be renamed into gcc_s.a.'
48772 echo '--------'
48773 echo 'Example:'
48774 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48775 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48776 CleanUp
48777 exit 1
48778 }
48779
48780 # Execute a command.
48781 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48782 # @Uses Whatever CleanUp() uses.
48783 doCommand() {
48784 echo "${D}*"
48785 eval ${D}*
48786 rcCmd=${D}?
48787
48788 if [ ${D}rcCmd -ne 0 ]; then
48789 echo "command failed, exit code="${D}rcCmd
48790 CleanUp
48791 exit ${D}rcCmd
48792 fi
48793 }
48794
48795 # main routine
48796 # setup globals
48797 cmdLine=${D}*
48798 outFile=""
48799 outimpFile=""
48800 inputFiles=""
48801 renameScript=""
48802 description=""
48803 CC=gcc.exe
48804 CFLAGS="-s -Zcrtdll"
48805 EXTRA_CFLAGS=""
48806 EXPORT_BY_ORDINALS=0
48807 exclude_symbols=""
48808 library_flags=""
48809 curDir=\`pwd\`
48810 curDirS=curDir
48811 case ${D}curDirS in
48812 */)
48813 ;;
48814 *)
48815 curDirS=${D}{curDirS}"/"
48816 ;;
48817 esac
48818 # Parse commandline
48819 libsToLink=0
48820 omfLinking=0
48821 while [ ${D}1 ]; do
48822 case ${D}1 in
48823 -ord*)
48824 EXPORT_BY_ORDINALS=1;
48825 ;;
48826 -o*)
48827 shift
48828 outFile=${D}1
48829 ;;
48830 -i*)
48831 shift
48832 outimpFile=${D}1
48833 ;;
48834 -name-mangler-script)
48835 shift
48836 renameScript=${D}1
48837 ;;
48838 -d*)
48839 shift
48840 description=${D}1
48841 ;;
48842 -f*)
48843 shift
48844 CFLAGS=${D}1
48845 ;;
48846 -c*)
48847 shift
48848 CC=${D}1
48849 ;;
48850 -h*)
48851 PrintHelp
48852 ;;
48853 -ex*)
48854 shift
48855 exclude_symbols=${D}{exclude_symbols}${D}1" "
48856 ;;
48857 -libf*)
48858 shift
48859 library_flags=${D}{library_flags}${D}1" "
48860 ;;
48861 -nocrt*)
48862 CFLAGS="-s"
48863 ;;
48864 -nolxl*)
48865 flag_USE_LXLITE=0
48866 ;;
48867 -* | /*)
48868 case ${D}1 in
48869 -L* | -l*)
48870 libsToLink=1
48871 ;;
48872 -Zomf)
48873 omfLinking=1
48874 ;;
48875 *)
48876 ;;
48877 esac
48878 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48879 ;;
48880 *.dll)
48881 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48882 if [ ${D}omfLinking -eq 1 ]; then
48883 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48884 else
48885 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48886 fi
48887 ;;
48888 *)
48889 found=0;
48890 if [ ${D}libsToLink -ne 0 ]; then
48891 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48892 else
48893 for file in ${D}1 ; do
48894 if [ -f ${D}file ]; then
48895 inputFiles="${D}{inputFiles} ${D}file"
48896 found=1
48897 fi
48898 done
48899 if [ ${D}found -eq 0 ]; then
48900 echo "ERROR: No file(s) found: "${D}1
48901 exit 8
48902 fi
48903 fi
48904 ;;
48905 esac
48906 shift
48907 done # iterate cmdline words
48908
48909 #
48910 if [ -z "${D}inputFiles" ]; then
48911 echo "dllar: no input files"
48912 PrintHelp
48913 fi
48914
48915 # Now extract all .o files from .a files
48916 newInputFiles=""
48917 for file in ${D}inputFiles ; do
48918 case ${D}file in
48919 *.a | *.lib)
48920 case ${D}file in
48921 *.a)
48922 suffix=".a"
48923 AR="ar"
48924 ;;
48925 *.lib)
48926 suffix=".lib"
48927 AR="emxomfar"
48928 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48929 ;;
48930 *)
48931 ;;
48932 esac
48933 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48934 mkdir ${D}dirname
48935 if [ ${D}? -ne 0 ]; then
48936 echo "Failed to create subdirectory ./${D}dirname"
48937 CleanUp
48938 exit 8;
48939 fi
48940 # Append '!' to indicate archive
48941 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48942 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48943 cd ${D}curDir
48944 found=0;
48945 for subfile in ${D}dirname/*.o* ; do
48946 if [ -f ${D}subfile ]; then
48947 found=1
48948 if [ -s ${D}subfile ]; then
48949 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48950 newInputFiles="${D}newInputFiles ${D}subfile"
48951 fi
48952 fi
48953 done
48954 if [ ${D}found -eq 0 ]; then
48955 echo "WARNING: there are no files in archive \\'${D}file\\'"
48956 fi
48957 ;;
48958 *)
48959 newInputFiles="${D}{newInputFiles} ${D}file"
48960 ;;
48961 esac
48962 done
48963 inputFiles="${D}newInputFiles"
48964
48965 # Output filename(s).
48966 do_backup=0;
48967 if [ -z ${D}outFile ]; then
48968 do_backup=1;
48969 set outFile ${D}inputFiles; outFile=${D}2
48970 fi
48971
48972 # If it is an archive, remove the '!' and the '_%' suffixes
48973 case ${D}outFile in
48974 *_%!)
48975 outFile=\`basnam ${D}outFile _%!\`
48976 ;;
48977 *)
48978 ;;
48979 esac
48980 case ${D}outFile in
48981 *.dll)
48982 outFile=\`basnam ${D}outFile .dll\`
48983 ;;
48984 *.DLL)
48985 outFile=\`basnam ${D}outFile .DLL\`
48986 ;;
48987 *.o)
48988 outFile=\`basnam ${D}outFile .o\`
48989 ;;
48990 *.obj)
48991 outFile=\`basnam ${D}outFile .obj\`
48992 ;;
48993 *.a)
48994 outFile=\`basnam ${D}outFile .a\`
48995 ;;
48996 *.lib)
48997 outFile=\`basnam ${D}outFile .lib\`
48998 ;;
48999 *)
49000 ;;
49001 esac
49002 case ${D}outimpFile in
49003 *.a)
49004 outimpFile=\`basnam ${D}outimpFile .a\`
49005 ;;
49006 *.lib)
49007 outimpFile=\`basnam ${D}outimpFile .lib\`
49008 ;;
49009 *)
49010 ;;
49011 esac
49012 if [ -z ${D}outimpFile ]; then
49013 outimpFile=${D}outFile
49014 fi
49015 defFile="${D}{outFile}.def"
49016 arcFile="${D}{outimpFile}.a"
49017 arcFile2="${D}{outimpFile}.lib"
49018
49019 #create ${D}dllFile as something matching 8.3 restrictions,
49020 if [ -z ${D}renameScript ] ; then
49021 dllFile="${D}outFile"
49022 else
49023 dllFile=\`${D}renameScript ${D}outimpFile\`
49024 fi
49025
49026 if [ ${D}do_backup -ne 0 ] ; then
49027 if [ -f ${D}arcFile ] ; then
49028 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49029 fi
49030 if [ -f ${D}arcFile2 ] ; then
49031 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49032 fi
49033 fi
49034
49035 # Extract public symbols from all the object files.
49036 tmpdefFile=${D}{defFile}_%
49037 rm -f ${D}tmpdefFile
49038 for file in ${D}inputFiles ; do
49039 case ${D}file in
49040 *!)
49041 ;;
49042 *)
49043 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49044 ;;
49045 esac
49046 done
49047
49048 # Create the def file.
49049 rm -f ${D}defFile
49050 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49051 dllFile="${D}{dllFile}.dll"
49052 if [ ! -z ${D}description ]; then
49053 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49054 fi
49055 echo "EXPORTS" >> ${D}defFile
49056
49057 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49058 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49059
49060 # Checks if the export is ok or not.
49061 for word in ${D}exclude_symbols; do
49062 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49063 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49064 done
49065
49066
49067 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49068 sed "=" < ${D}tmpdefFile | \\
49069 sed '
49070 N
49071 : loop
49072 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49073 t loop
49074 ' > ${D}{tmpdefFile}%
49075 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49076 else
49077 rm -f ${D}{tmpdefFile}%
49078 fi
49079 cat ${D}tmpdefFile >> ${D}defFile
49080 rm -f ${D}tmpdefFile
49081
49082 # Do linking, create implib, and apply lxlite.
49083 gccCmdl="";
49084 for file in ${D}inputFiles ; do
49085 case ${D}file in
49086 *!)
49087 ;;
49088 *)
49089 gccCmdl="${D}gccCmdl ${D}file"
49090 ;;
49091 esac
49092 done
49093 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49094 touch "${D}{outFile}.dll"
49095
49096 doCommand "emximp -o ${D}arcFile ${D}defFile"
49097 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49098 add_flags="";
49099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49100 add_flags="-ynd"
49101 fi
49102 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49103 fi
49104 doCommand "emxomf -s -l ${D}arcFile"
49105
49106 # Successful exit.
49107 CleanUp 1
49108 exit 0
49109 EOF
49110
49111 chmod +x dllar.sh
49112 ;;
49113
49114 powerpc-apple-macos* | \
49115 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49116 *-*-mirbsd* | \
49117 *-*-sunos4* | \
49118 *-*-osf* | \
49119 *-*-dgux5* | \
49120 *-*-sysv5* | \
49121 *-pc-msdosdjgpp )
49122 ;;
49123
49124 *)
49125 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49126 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49127 { (exit 1); exit 1; }; }
49128 esac
49129
49130 if test "x$PIC_FLAG" != "x" ; then
49131 PIC_FLAG="$PIC_FLAG -DPIC"
49132 fi
49133
49134 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49135 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49136 fi
49137 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49138 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49139 fi
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149 USE_SOVERSION=0
49150 USE_SOVERLINUX=0
49151 USE_SOVERSOLARIS=0
49152 USE_SOVERCYGWIN=0
49153 USE_SOSYMLINKS=0
49154 USE_MACVERSION=0
49155 SONAME_FLAG=
49156
49157 case "${BAKEFILE_HOST}" in
49158 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49159 *-*-k*bsd*-gnu | *-*-mirbsd* )
49160 if test "x$SUNCXX" = "xyes"; then
49161 SONAME_FLAG="-h "
49162 else
49163 SONAME_FLAG="-Wl,-soname,"
49164 fi
49165 USE_SOVERSION=1
49166 USE_SOVERLINUX=1
49167 USE_SOSYMLINKS=1
49168 ;;
49169
49170 *-*-solaris2* )
49171 SONAME_FLAG="-h "
49172 USE_SOVERSION=1
49173 USE_SOVERSOLARIS=1
49174 USE_SOSYMLINKS=1
49175 ;;
49176
49177 *-*-darwin* )
49178 USE_MACVERSION=1
49179 USE_SOVERSION=1
49180 USE_SOSYMLINKS=1
49181 ;;
49182
49183 *-*-cygwin* )
49184 USE_SOVERSION=1
49185 USE_SOVERCYGWIN=1
49186 ;;
49187 esac
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198 # Check whether --enable-dependency-tracking was given.
49199 if test "${enable_dependency_tracking+set}" = set; then
49200 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49201 fi
49202
49203
49204 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49205 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49206
49207 BK_DEPS=""
49208 if test "x$bk_use_trackdeps" = "xno" ; then
49209 DEPS_TRACKING=0
49210 { echo "$as_me:$LINENO: result: disabled" >&5
49211 echo "${ECHO_T}disabled" >&6; }
49212 else
49213 DEPS_TRACKING=1
49214
49215 if test "x$GCC" = "xyes"; then
49216 DEPSMODE=gcc
49217 case "${BAKEFILE_HOST}" in
49218 *-*-darwin* )
49219 DEPSFLAG="-no-cpp-precomp -MMD"
49220 ;;
49221 * )
49222 DEPSFLAG="-MMD"
49223 ;;
49224 esac
49225 { echo "$as_me:$LINENO: result: gcc" >&5
49226 echo "${ECHO_T}gcc" >&6; }
49227 elif test "x$MWCC" = "xyes"; then
49228 DEPSMODE=mwcc
49229 DEPSFLAG="-MM"
49230 { echo "$as_me:$LINENO: result: mwcc" >&5
49231 echo "${ECHO_T}mwcc" >&6; }
49232 elif test "x$SUNCC" = "xyes"; then
49233 DEPSMODE=unixcc
49234 DEPSFLAG="-xM1"
49235 { echo "$as_me:$LINENO: result: Sun cc" >&5
49236 echo "${ECHO_T}Sun cc" >&6; }
49237 elif test "x$SGICC" = "xyes"; then
49238 DEPSMODE=unixcc
49239 DEPSFLAG="-M"
49240 { echo "$as_me:$LINENO: result: SGI cc" >&5
49241 echo "${ECHO_T}SGI cc" >&6; }
49242 elif test "x$HPCC" = "xyes"; then
49243 DEPSMODE=unixcc
49244 DEPSFLAG="+make"
49245 { echo "$as_me:$LINENO: result: HP cc" >&5
49246 echo "${ECHO_T}HP cc" >&6; }
49247 elif test "x$COMPAQCC" = "xyes"; then
49248 DEPSMODE=gcc
49249 DEPSFLAG="-MD"
49250 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49251 echo "${ECHO_T}Compaq cc" >&6; }
49252 else
49253 DEPS_TRACKING=0
49254 { echo "$as_me:$LINENO: result: none" >&5
49255 echo "${ECHO_T}none" >&6; }
49256 fi
49257
49258 if test $DEPS_TRACKING = 1 ; then
49259
49260 D='$'
49261 cat <<EOF >bk-deps
49262 #!/bin/sh
49263
49264 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49265 # script. It is used to track C/C++ files dependencies in portable way.
49266 #
49267 # Permission is given to use this file in any way.
49268
49269 DEPSMODE=${DEPSMODE}
49270 DEPSFLAG="${DEPSFLAG}"
49271 DEPSDIRBASE=.deps
49272
49273 if test ${D}DEPSMODE = gcc ; then
49274 ${D}* ${D}{DEPSFLAG}
49275 status=${D}?
49276
49277 # determine location of created files:
49278 while test ${D}# -gt 0; do
49279 case "${D}1" in
49280 -o )
49281 shift
49282 objfile=${D}1
49283 ;;
49284 -* )
49285 ;;
49286 * )
49287 srcfile=${D}1
49288 ;;
49289 esac
49290 shift
49291 done
49292 objfilebase=\`basename ${D}objfile\`
49293 builddir=\`dirname ${D}objfile\`
49294 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49295 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49296 depsdir=${D}builddir/${D}DEPSDIRBASE
49297 mkdir -p ${D}depsdir
49298
49299 # if the compiler failed, we're done:
49300 if test ${D}{status} != 0 ; then
49301 rm -f ${D}depfile
49302 exit ${D}{status}
49303 fi
49304
49305 # move created file to the location we want it in:
49306 if test -f ${D}depfile ; then
49307 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49308 rm -f ${D}depfile
49309 else
49310 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49311 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49312 if test ! -f ${D}depfile ; then
49313 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49314 depfile="${D}objfile.d"
49315 fi
49316 if test -f ${D}depfile ; then
49317 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49318 rm -f ${D}depfile
49319 fi
49320 fi
49321 exit 0
49322
49323 elif test ${D}DEPSMODE = mwcc ; then
49324 ${D}* || exit ${D}?
49325 # Run mwcc again with -MM and redirect into the dep file we want
49326 # NOTE: We can't use shift here because we need ${D}* to be valid
49327 prevarg=
49328 for arg in ${D}* ; do
49329 if test "${D}prevarg" = "-o"; then
49330 objfile=${D}arg
49331 else
49332 case "${D}arg" in
49333 -* )
49334 ;;
49335 * )
49336 srcfile=${D}arg
49337 ;;
49338 esac
49339 fi
49340 prevarg="${D}arg"
49341 done
49342
49343 objfilebase=\`basename ${D}objfile\`
49344 builddir=\`dirname ${D}objfile\`
49345 depsdir=${D}builddir/${D}DEPSDIRBASE
49346 mkdir -p ${D}depsdir
49347
49348 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49349 exit 0
49350
49351 elif test ${D}DEPSMODE = unixcc; then
49352 ${D}* || exit ${D}?
49353 # Run compiler again with deps flag and redirect into the dep file.
49354 # It doesn't work if the '-o FILE' option is used, but without it the
49355 # dependency file will contain the wrong name for the object. So it is
49356 # removed from the command line, and the dep file is fixed with sed.
49357 cmd=""
49358 while test ${D}# -gt 0; do
49359 case "${D}1" in
49360 -o )
49361 shift
49362 objfile=${D}1
49363 ;;
49364 * )
49365 eval arg${D}#=\\${D}1
49366 cmd="${D}cmd \\${D}arg${D}#"
49367 ;;
49368 esac
49369 shift
49370 done
49371
49372 objfilebase=\`basename ${D}objfile\`
49373 builddir=\`dirname ${D}objfile\`
49374 depsdir=${D}builddir/${D}DEPSDIRBASE
49375 mkdir -p ${D}depsdir
49376
49377 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49378 exit 0
49379
49380 else
49381 ${D}*
49382 exit ${D}?
49383 fi
49384 EOF
49385
49386 chmod +x bk-deps
49387 BK_DEPS="`pwd`/bk-deps"
49388 fi
49389 fi
49390
49391
49392
49393
49394
49395 case ${BAKEFILE_HOST} in
49396 *-*-cygwin* | *-*-mingw32* )
49397 if test -n "$ac_tool_prefix"; then
49398 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49399 set dummy ${ac_tool_prefix}windres; ac_word=$2
49400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49402 if test "${ac_cv_prog_WINDRES+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49404 else
49405 if test -n "$WINDRES"; then
49406 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49407 else
49408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49409 for as_dir in $PATH
49410 do
49411 IFS=$as_save_IFS
49412 test -z "$as_dir" && as_dir=.
49413 for ac_exec_ext in '' $ac_executable_extensions; do
49414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49415 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49417 break 2
49418 fi
49419 done
49420 done
49421 IFS=$as_save_IFS
49422
49423 fi
49424 fi
49425 WINDRES=$ac_cv_prog_WINDRES
49426 if test -n "$WINDRES"; then
49427 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49428 echo "${ECHO_T}$WINDRES" >&6; }
49429 else
49430 { echo "$as_me:$LINENO: result: no" >&5
49431 echo "${ECHO_T}no" >&6; }
49432 fi
49433
49434
49435 fi
49436 if test -z "$ac_cv_prog_WINDRES"; then
49437 ac_ct_WINDRES=$WINDRES
49438 # Extract the first word of "windres", so it can be a program name with args.
49439 set dummy windres; ac_word=$2
49440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49442 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49444 else
49445 if test -n "$ac_ct_WINDRES"; then
49446 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49447 else
49448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49449 for as_dir in $PATH
49450 do
49451 IFS=$as_save_IFS
49452 test -z "$as_dir" && as_dir=.
49453 for ac_exec_ext in '' $ac_executable_extensions; do
49454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49455 ac_cv_prog_ac_ct_WINDRES="windres"
49456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49457 break 2
49458 fi
49459 done
49460 done
49461 IFS=$as_save_IFS
49462
49463 fi
49464 fi
49465 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49466 if test -n "$ac_ct_WINDRES"; then
49467 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49468 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49469 else
49470 { echo "$as_me:$LINENO: result: no" >&5
49471 echo "${ECHO_T}no" >&6; }
49472 fi
49473
49474 if test "x$ac_ct_WINDRES" = x; then
49475 WINDRES=""
49476 else
49477 case $cross_compiling:$ac_tool_warned in
49478 yes:)
49479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49480 whose name does not start with the host triplet. If you think this
49481 configuration is useful to you, please write to autoconf@gnu.org." >&5
49482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49483 whose name does not start with the host triplet. If you think this
49484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49485 ac_tool_warned=yes ;;
49486 esac
49487 WINDRES=$ac_ct_WINDRES
49488 fi
49489 else
49490 WINDRES="$ac_cv_prog_WINDRES"
49491 fi
49492
49493 ;;
49494
49495 *-*-darwin* | powerpc-apple-macos* )
49496 # Extract the first word of "Rez", so it can be a program name with args.
49497 set dummy Rez; ac_word=$2
49498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49500 if test "${ac_cv_prog_REZ+set}" = set; then
49501 echo $ECHO_N "(cached) $ECHO_C" >&6
49502 else
49503 if test -n "$REZ"; then
49504 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49505 else
49506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49507 for as_dir in $PATH
49508 do
49509 IFS=$as_save_IFS
49510 test -z "$as_dir" && as_dir=.
49511 for ac_exec_ext in '' $ac_executable_extensions; do
49512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49513 ac_cv_prog_REZ="Rez"
49514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49515 break 2
49516 fi
49517 done
49518 done
49519 IFS=$as_save_IFS
49520
49521 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49522 fi
49523 fi
49524 REZ=$ac_cv_prog_REZ
49525 if test -n "$REZ"; then
49526 { echo "$as_me:$LINENO: result: $REZ" >&5
49527 echo "${ECHO_T}$REZ" >&6; }
49528 else
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49531 fi
49532
49533
49534 # Extract the first word of "SetFile", so it can be a program name with args.
49535 set dummy SetFile; ac_word=$2
49536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49538 if test "${ac_cv_prog_SETFILE+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49540 else
49541 if test -n "$SETFILE"; then
49542 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49543 else
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49546 do
49547 IFS=$as_save_IFS
49548 test -z "$as_dir" && as_dir=.
49549 for ac_exec_ext in '' $ac_executable_extensions; do
49550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49551 ac_cv_prog_SETFILE="SetFile"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49553 break 2
49554 fi
49555 done
49556 done
49557 IFS=$as_save_IFS
49558
49559 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49560 fi
49561 fi
49562 SETFILE=$ac_cv_prog_SETFILE
49563 if test -n "$SETFILE"; then
49564 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49565 echo "${ECHO_T}$SETFILE" >&6; }
49566 else
49567 { echo "$as_me:$LINENO: result: no" >&5
49568 echo "${ECHO_T}no" >&6; }
49569 fi
49570
49571
49572 ;;
49573 esac
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49584
49585
49586 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49587
49588
49589
49590 # Check whether --enable-precomp-headers was given.
49591 if test "${enable_precomp_headers+set}" = set; then
49592 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49593 fi
49594
49595
49596 GCC_PCH=0
49597 ICC_PCH=0
49598 USE_PCH=0
49599 BK_MAKE_PCH=""
49600
49601 case ${BAKEFILE_HOST} in
49602 *-*-cygwin* )
49603 bk_use_pch="no"
49604 ;;
49605 esac
49606
49607 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49608 if test "x$GCC" = "xyes"; then
49609 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49610 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49611 cat >conftest.$ac_ext <<_ACEOF
49612 /* confdefs.h. */
49613 _ACEOF
49614 cat confdefs.h >>conftest.$ac_ext
49615 cat >>conftest.$ac_ext <<_ACEOF
49616 /* end confdefs.h. */
49617
49618 int
49619 main ()
49620 {
49621
49622 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49623 There is no PCH support
49624 #endif
49625 #if (__GNUC__ < 3)
49626 There is no PCH support
49627 #endif
49628 #if (__GNUC__ == 3) && \
49629 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49630 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49631 ( defined(__INTEL_COMPILER) )
49632 There is no PCH support
49633 #endif
49634
49635 ;
49636 return 0;
49637 }
49638 _ACEOF
49639 rm -f conftest.$ac_objext
49640 if { (ac_try="$ac_compile"
49641 case "(($ac_try" in
49642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49643 *) ac_try_echo=$ac_try;;
49644 esac
49645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49646 (eval "$ac_compile") 2>conftest.er1
49647 ac_status=$?
49648 grep -v '^ *+' conftest.er1 >conftest.err
49649 rm -f conftest.er1
49650 cat conftest.err >&5
49651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49652 (exit $ac_status); } && {
49653 test -z "$ac_c_werror_flag" ||
49654 test ! -s conftest.err
49655 } && test -s conftest.$ac_objext; then
49656
49657 { echo "$as_me:$LINENO: result: yes" >&5
49658 echo "${ECHO_T}yes" >&6; }
49659 GCC_PCH=1
49660
49661 else
49662 echo "$as_me: failed program was:" >&5
49663 sed 's/^/| /' conftest.$ac_ext >&5
49664
49665
49666 if test "$INTELCXX8" = "yes"; then
49667 { echo "$as_me:$LINENO: result: yes" >&5
49668 echo "${ECHO_T}yes" >&6; }
49669 ICC_PCH=1
49670 if test "$INTELCXX10" = "yes"; then
49671 ICC_PCH_CREATE_SWITCH="-pch-create"
49672 ICC_PCH_USE_SWITCH="-pch-use"
49673 else
49674 ICC_PCH_CREATE_SWITCH="-create-pch"
49675 ICC_PCH_USE_SWITCH="-use-pch"
49676 fi
49677 else
49678 { echo "$as_me:$LINENO: result: no" >&5
49679 echo "${ECHO_T}no" >&6; }
49680 fi
49681
49682 fi
49683
49684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49685 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49686 USE_PCH=1
49687
49688 D='$'
49689 cat <<EOF >bk-make-pch
49690 #!/bin/sh
49691
49692 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49693 # script. It is used to generated precompiled headers.
49694 #
49695 # Permission is given to use this file in any way.
49696
49697 outfile="${D}{1}"
49698 header="${D}{2}"
49699 shift
49700 shift
49701
49702 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49703
49704 compiler=""
49705 headerfile=""
49706
49707 while test ${D}{#} -gt 0; do
49708 add_to_cmdline=1
49709 case "${D}{1}" in
49710 -I* )
49711 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49712 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49713 headerfile="${D}{incdir}/${D}{header}"
49714 fi
49715 ;;
49716 -use-pch|-use_pch|-pch-use )
49717 shift
49718 add_to_cmdline=0
49719 ;;
49720 esac
49721 if test ${D}add_to_cmdline = 1 ; then
49722 compiler="${D}{compiler} ${D}{1}"
49723 fi
49724 shift
49725 done
49726
49727 if test "x${D}{headerfile}" = "x" ; then
49728 echo "error: can't find header ${D}{header} in include paths" >&2
49729 else
49730 if test -f ${D}{outfile} ; then
49731 rm -f ${D}{outfile}
49732 else
49733 mkdir -p \`dirname ${D}{outfile}\`
49734 fi
49735 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49736 mkdir -p ${D}{builddir}/.deps
49737 if test "x${GCC_PCH}" = "x1" ; then
49738 # can do this because gcc is >= 3.4:
49739 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49740 elif test "x${ICC_PCH}" = "x1" ; then
49741 filename=pch_gen-${D}${D}
49742 file=${D}{filename}.c
49743 dfile=${D}{filename}.d
49744 cat > ${D}file <<EOT
49745 #include "${D}header"
49746 EOT
49747 # using -MF icc complains about differing command lines in creation/use
49748 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49749 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49750 rm -f ${D}file ${D}dfile ${D}{filename}.o
49751 fi
49752 exit ${D}{?}
49753 fi
49754 EOF
49755
49756 chmod +x bk-make-pch
49757 BK_MAKE_PCH="`pwd`/bk-make-pch"
49758 fi
49759 fi
49760 fi
49761
49762
49763
49764
49765
49766
49767
49768 COND_BUILD_DEBUG="#"
49769 if test "x$BUILD" = "xdebug" ; then
49770 COND_BUILD_DEBUG=""
49771 fi
49772
49773 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49774 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49775 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49776 fi
49777
49778 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49779 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49780 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49781 fi
49782
49783 COND_BUILD_DEBUG_UNICODE_0="#"
49784 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49785 COND_BUILD_DEBUG_UNICODE_0=""
49786 fi
49787
49788 COND_BUILD_DEBUG_UNICODE_1="#"
49789 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49790 COND_BUILD_DEBUG_UNICODE_1=""
49791 fi
49792
49793 COND_BUILD_RELEASE="#"
49794 if test "x$BUILD" = "xrelease" ; then
49795 COND_BUILD_RELEASE=""
49796 fi
49797
49798 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49799 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49800 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49801 fi
49802
49803 COND_BUILD_RELEASE_UNICODE_0="#"
49804 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49805 COND_BUILD_RELEASE_UNICODE_0=""
49806 fi
49807
49808 COND_BUILD_RELEASE_UNICODE_1="#"
49809 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49810 COND_BUILD_RELEASE_UNICODE_1=""
49811 fi
49812
49813 COND_BUILD_debug="#"
49814 if test "x$BUILD" = "xdebug" ; then
49815 COND_BUILD_debug=""
49816 fi
49817
49818 COND_BUILD_debug_DEBUG_FLAG_default="#"
49819 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49820 COND_BUILD_debug_DEBUG_FLAG_default=""
49821 fi
49822
49823 COND_BUILD_debug_DEBUG_INFO_default="#"
49824 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49825 COND_BUILD_debug_DEBUG_INFO_default=""
49826 fi
49827
49828 COND_BUILD_debug_UNICODE_0="#"
49829 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49830 COND_BUILD_debug_UNICODE_0=""
49831 fi
49832
49833 COND_BUILD_debug_UNICODE_1="#"
49834 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49835 COND_BUILD_debug_UNICODE_1=""
49836 fi
49837
49838 COND_BUILD_release="#"
49839 if test "x$BUILD" = "xrelease" ; then
49840 COND_BUILD_release=""
49841 fi
49842
49843 COND_BUILD_release_DEBUG_INFO_default="#"
49844 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49845 COND_BUILD_release_DEBUG_INFO_default=""
49846 fi
49847
49848 COND_BUILD_release_UNICODE_0="#"
49849 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49850 COND_BUILD_release_UNICODE_0=""
49851 fi
49852
49853 COND_BUILD_release_UNICODE_1="#"
49854 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49855 COND_BUILD_release_UNICODE_1=""
49856 fi
49857
49858 COND_DEBUG_FLAG_1="#"
49859 if test "x$DEBUG_FLAG" = "x1" ; then
49860 COND_DEBUG_FLAG_1=""
49861 fi
49862
49863 COND_DEBUG_INFO_0="#"
49864 if test "x$DEBUG_INFO" = "x0" ; then
49865 COND_DEBUG_INFO_0=""
49866 fi
49867
49868 COND_DEBUG_INFO_1="#"
49869 if test "x$DEBUG_INFO" = "x1" ; then
49870 COND_DEBUG_INFO_1=""
49871 fi
49872
49873 COND_DEPS_TRACKING_0="#"
49874 if test "x$DEPS_TRACKING" = "x0" ; then
49875 COND_DEPS_TRACKING_0=""
49876 fi
49877
49878 COND_DEPS_TRACKING_1="#"
49879 if test "x$DEPS_TRACKING" = "x1" ; then
49880 COND_DEPS_TRACKING_1=""
49881 fi
49882
49883 COND_GCC_PCH_1="#"
49884 if test "x$GCC_PCH" = "x1" ; then
49885 COND_GCC_PCH_1=""
49886 fi
49887
49888 COND_ICC_PCH_1="#"
49889 if test "x$ICC_PCH" = "x1" ; then
49890 COND_ICC_PCH_1=""
49891 fi
49892
49893 COND_MONOLITHIC_0="#"
49894 if test "x$MONOLITHIC" = "x0" ; then
49895 COND_MONOLITHIC_0=""
49896 fi
49897
49898 COND_MONOLITHIC_0_SHARED_0="#"
49899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49900 COND_MONOLITHIC_0_SHARED_0=""
49901 fi
49902
49903 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49905 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49906 fi
49907
49908 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49911 fi
49912
49913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49916 fi
49917
49918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49921 fi
49922
49923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49926 fi
49927
49928 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49930 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49931 fi
49932
49933 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49935 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49936 fi
49937
49938 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49940 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49941 fi
49942
49943 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49945 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49946 fi
49947
49948 COND_MONOLITHIC_0_SHARED_1="#"
49949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49950 COND_MONOLITHIC_0_SHARED_1=""
49951 fi
49952
49953 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49955 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49956 fi
49957
49958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49961 fi
49962
49963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49966 fi
49967
49968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49971 fi
49972
49973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49976 fi
49977
49978 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49980 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49981 fi
49982
49983 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49985 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49986 fi
49987
49988 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49990 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49991 fi
49992
49993 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49995 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49996 fi
49997
49998 COND_MONOLITHIC_0_USE_AUI_1="#"
49999 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50000 COND_MONOLITHIC_0_USE_AUI_1=""
50001 fi
50002
50003 COND_MONOLITHIC_0_USE_GUI_1="#"
50004 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50005 COND_MONOLITHIC_0_USE_GUI_1=""
50006 fi
50007
50008 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50009 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50010 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50011 fi
50012
50013 COND_MONOLITHIC_0_USE_HTML_1="#"
50014 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50015 COND_MONOLITHIC_0_USE_HTML_1=""
50016 fi
50017
50018 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50019 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50020 COND_MONOLITHIC_0_USE_MEDIA_1=""
50021 fi
50022
50023 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50024 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50025 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50026 fi
50027
50028 COND_MONOLITHIC_0_USE_QA_1="#"
50029 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50030 COND_MONOLITHIC_0_USE_QA_1=""
50031 fi
50032
50033 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50034 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50035 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50036 fi
50037
50038 COND_MONOLITHIC_0_USE_STC_1="#"
50039 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50040 COND_MONOLITHIC_0_USE_STC_1=""
50041 fi
50042
50043 COND_MONOLITHIC_0_USE_XRC_1="#"
50044 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50045 COND_MONOLITHIC_0_USE_XRC_1=""
50046 fi
50047
50048 COND_MONOLITHIC_1="#"
50049 if test "x$MONOLITHIC" = "x1" ; then
50050 COND_MONOLITHIC_1=""
50051 fi
50052
50053 COND_MONOLITHIC_1_SHARED_0="#"
50054 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50055 COND_MONOLITHIC_1_SHARED_0=""
50056 fi
50057
50058 COND_MONOLITHIC_1_SHARED_1="#"
50059 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50060 COND_MONOLITHIC_1_SHARED_1=""
50061 fi
50062
50063 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50064 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50065 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50066 fi
50067
50068 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50069 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50070 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50071 fi
50072
50073 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50074 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50075 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50076 fi
50077
50078 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50079 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50080 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50081 fi
50082
50083 COND_PLATFORM_MACOSX_1="#"
50084 if test "x$PLATFORM_MACOSX" = "x1" ; then
50085 COND_PLATFORM_MACOSX_1=""
50086 fi
50087
50088 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50090 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50091 fi
50092
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50096 fi
50097
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50101 fi
50102
50103 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50105 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50106 fi
50107
50108 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50110 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50111 fi
50112
50113 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50115 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50116 fi
50117
50118 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50120 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50121 fi
50122
50123 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50125 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50126 fi
50127
50128 COND_PLATFORM_MACOS_1="#"
50129 if test "x$PLATFORM_MACOS" = "x1" ; then
50130 COND_PLATFORM_MACOS_1=""
50131 fi
50132
50133 COND_PLATFORM_MAC_0="#"
50134 if test "x$PLATFORM_MAC" = "x0" ; then
50135 COND_PLATFORM_MAC_0=""
50136 fi
50137
50138 COND_PLATFORM_MAC_1="#"
50139 if test "x$PLATFORM_MAC" = "x1" ; then
50140 COND_PLATFORM_MAC_1=""
50141 fi
50142
50143 COND_PLATFORM_MSDOS_0="#"
50144 if test "x$PLATFORM_MSDOS" = "x0" ; then
50145 COND_PLATFORM_MSDOS_0=""
50146 fi
50147
50148 COND_PLATFORM_MSDOS_1="#"
50149 if test "x$PLATFORM_MSDOS" = "x1" ; then
50150 COND_PLATFORM_MSDOS_1=""
50151 fi
50152
50153 COND_PLATFORM_OS2_1="#"
50154 if test "x$PLATFORM_OS2" = "x1" ; then
50155 COND_PLATFORM_OS2_1=""
50156 fi
50157
50158 COND_PLATFORM_UNIX_0="#"
50159 if test "x$PLATFORM_UNIX" = "x0" ; then
50160 COND_PLATFORM_UNIX_0=""
50161 fi
50162
50163 COND_PLATFORM_UNIX_1="#"
50164 if test "x$PLATFORM_UNIX" = "x1" ; then
50165 COND_PLATFORM_UNIX_1=""
50166 fi
50167
50168 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50169 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50170 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50171 fi
50172
50173 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50174 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50175 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50176 fi
50177
50178 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50179 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50180 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50181 fi
50182
50183 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50184 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50185 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50186 fi
50187
50188 COND_PLATFORM_WIN32_0="#"
50189 if test "x$PLATFORM_WIN32" = "x0" ; then
50190 COND_PLATFORM_WIN32_0=""
50191 fi
50192
50193 COND_PLATFORM_WIN32_1="#"
50194 if test "x$PLATFORM_WIN32" = "x1" ; then
50195 COND_PLATFORM_WIN32_1=""
50196 fi
50197
50198 COND_SHARED_0="#"
50199 if test "x$SHARED" = "x0" ; then
50200 COND_SHARED_0=""
50201 fi
50202
50203 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50204 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50205 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50206 fi
50207
50208 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50209 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50210 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50211 fi
50212
50213 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50214 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50215 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50216 fi
50217
50218 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50220 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50221 fi
50222
50223 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50225 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50226 fi
50227
50228 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50230 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50231 fi
50232
50233 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50234 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50235 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50236 fi
50237
50238 COND_SHARED_0_USE_STC_1="#"
50239 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50240 COND_SHARED_0_USE_STC_1=""
50241 fi
50242
50243 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50244 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50245 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50246 fi
50247
50248 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50249 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50250 COND_SHARED_0_wxUSE_REGEX_builtin=""
50251 fi
50252
50253 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50254 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50255 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50256 fi
50257
50258 COND_SHARED_1="#"
50259 if test "x$SHARED" = "x1" ; then
50260 COND_SHARED_1=""
50261 fi
50262
50263 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50264 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50265 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50266 fi
50267
50268 COND_TOOLKIT_="#"
50269 if test "x$TOOLKIT" = "x" ; then
50270 COND_TOOLKIT_=""
50271 fi
50272
50273 COND_TOOLKIT_COCOA="#"
50274 if test "x$TOOLKIT" = "xCOCOA" ; then
50275 COND_TOOLKIT_COCOA=""
50276 fi
50277
50278 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50279 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50280 COND_TOOLKIT_COCOA_USE_GUI_1=""
50281 fi
50282
50283 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50284 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50285 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50286 fi
50287
50288 COND_TOOLKIT_DFB="#"
50289 if test "x$TOOLKIT" = "xDFB" ; then
50290 COND_TOOLKIT_DFB=""
50291 fi
50292
50293 COND_TOOLKIT_DFB_USE_GUI_1="#"
50294 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50295 COND_TOOLKIT_DFB_USE_GUI_1=""
50296 fi
50297
50298 COND_TOOLKIT_GTK="#"
50299 if test "x$TOOLKIT" = "xGTK" ; then
50300 COND_TOOLKIT_GTK=""
50301 fi
50302
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50304 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50306 fi
50307
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50309 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50311 fi
50312
50313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50314 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50315 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50316 fi
50317
50318 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50319 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50320 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50321 fi
50322
50323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50325 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50326 fi
50327
50328 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50329 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50330 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50331 fi
50332
50333 COND_TOOLKIT_GTK_USE_GUI_1="#"
50334 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50335 COND_TOOLKIT_GTK_USE_GUI_1=""
50336 fi
50337
50338 COND_TOOLKIT_MAC="#"
50339 if test "x$TOOLKIT" = "xMAC" ; then
50340 COND_TOOLKIT_MAC=""
50341 fi
50342
50343 COND_TOOLKIT_MGL="#"
50344 if test "x$TOOLKIT" = "xMGL" ; then
50345 COND_TOOLKIT_MGL=""
50346 fi
50347
50348 COND_TOOLKIT_MGL_USE_GUI_1="#"
50349 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50350 COND_TOOLKIT_MGL_USE_GUI_1=""
50351 fi
50352
50353 COND_TOOLKIT_MOTIF="#"
50354 if test "x$TOOLKIT" = "xMOTIF" ; then
50355 COND_TOOLKIT_MOTIF=""
50356 fi
50357
50358 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50359 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50360 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50361 fi
50362
50363 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50364 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50365 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50366 fi
50367
50368 COND_TOOLKIT_MSW="#"
50369 if test "x$TOOLKIT" = "xMSW" ; then
50370 COND_TOOLKIT_MSW=""
50371 fi
50372
50373 COND_TOOLKIT_MSW_USE_GUI_1="#"
50374 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50375 COND_TOOLKIT_MSW_USE_GUI_1=""
50376 fi
50377
50378 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50379 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50380 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50381 fi
50382
50383 COND_TOOLKIT_MSW_WXUNIV_0="#"
50384 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50385 COND_TOOLKIT_MSW_WXUNIV_0=""
50386 fi
50387
50388 COND_TOOLKIT_OSX_CARBON="#"
50389 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50390 COND_TOOLKIT_OSX_CARBON=""
50391 fi
50392
50393 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50394 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50395 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50396 fi
50397
50398 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50399 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50400 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50401 fi
50402
50403 COND_TOOLKIT_OSX_COCOA="#"
50404 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50405 COND_TOOLKIT_OSX_COCOA=""
50406 fi
50407
50408 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50409 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50410 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50411 fi
50412
50413 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50414 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50415 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50416 fi
50417
50418 COND_TOOLKIT_OSX_IPHONE="#"
50419 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50420 COND_TOOLKIT_OSX_IPHONE=""
50421 fi
50422
50423 COND_TOOLKIT_PM="#"
50424 if test "x$TOOLKIT" = "xPM" ; then
50425 COND_TOOLKIT_PM=""
50426 fi
50427
50428 COND_TOOLKIT_PM_USE_GUI_1="#"
50429 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50430 COND_TOOLKIT_PM_USE_GUI_1=""
50431 fi
50432
50433 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50434 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50435 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50436 fi
50437
50438 COND_TOOLKIT_WINCE="#"
50439 if test "x$TOOLKIT" = "xWINCE" ; then
50440 COND_TOOLKIT_WINCE=""
50441 fi
50442
50443 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50444 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50445 COND_TOOLKIT_WINCE_USE_GUI_1=""
50446 fi
50447
50448 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50449 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50450 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50451 fi
50452
50453 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50454 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50455 COND_TOOLKIT_WINCE_WXUNIV_0=""
50456 fi
50457
50458 COND_TOOLKIT_X11="#"
50459 if test "x$TOOLKIT" = "xX11" ; then
50460 COND_TOOLKIT_X11=""
50461 fi
50462
50463 COND_TOOLKIT_X11_USE_GUI_1="#"
50464 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50465 COND_TOOLKIT_X11_USE_GUI_1=""
50466 fi
50467
50468 COND_UNICODE_1="#"
50469 if test "x$UNICODE" = "x1" ; then
50470 COND_UNICODE_1=""
50471 fi
50472
50473 COND_USE_EXCEPTIONS_0="#"
50474 if test "x$USE_EXCEPTIONS" = "x0" ; then
50475 COND_USE_EXCEPTIONS_0=""
50476 fi
50477
50478 COND_USE_EXCEPTIONS_1="#"
50479 if test "x$USE_EXCEPTIONS" = "x1" ; then
50480 COND_USE_EXCEPTIONS_1=""
50481 fi
50482
50483 COND_USE_GUI_0="#"
50484 if test "x$USE_GUI" = "x0" ; then
50485 COND_USE_GUI_0=""
50486 fi
50487
50488 COND_USE_GUI_1="#"
50489 if test "x$USE_GUI" = "x1" ; then
50490 COND_USE_GUI_1=""
50491 fi
50492
50493 COND_USE_GUI_1_USE_OPENGL_1="#"
50494 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50495 COND_USE_GUI_1_USE_OPENGL_1=""
50496 fi
50497
50498 COND_USE_GUI_1_WXUNIV_0="#"
50499 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50500 COND_USE_GUI_1_WXUNIV_0=""
50501 fi
50502
50503 COND_USE_GUI_1_WXUNIV_1="#"
50504 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50505 COND_USE_GUI_1_WXUNIV_1=""
50506 fi
50507
50508 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50510 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50511 fi
50512
50513 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50514 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50515 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50516 fi
50517
50518 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50520 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50521 fi
50522
50523 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50525 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50526 fi
50527
50528 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50530 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50531 fi
50532
50533 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50534 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50535 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50536 fi
50537
50538 COND_USE_OPENGL_1="#"
50539 if test "x$USE_OPENGL" = "x1" ; then
50540 COND_USE_OPENGL_1=""
50541 fi
50542
50543 COND_USE_PCH_1="#"
50544 if test "x$USE_PCH" = "x1" ; then
50545 COND_USE_PCH_1=""
50546 fi
50547
50548 COND_USE_PLUGINS_0="#"
50549 if test "x$USE_PLUGINS" = "x0" ; then
50550 COND_USE_PLUGINS_0=""
50551 fi
50552
50553 COND_USE_RTTI_0="#"
50554 if test "x$USE_RTTI" = "x0" ; then
50555 COND_USE_RTTI_0=""
50556 fi
50557
50558 COND_USE_RTTI_1="#"
50559 if test "x$USE_RTTI" = "x1" ; then
50560 COND_USE_RTTI_1=""
50561 fi
50562
50563 COND_USE_SOSYMLINKS_1="#"
50564 if test "x$USE_SOSYMLINKS" = "x1" ; then
50565 COND_USE_SOSYMLINKS_1=""
50566 fi
50567
50568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50571 fi
50572
50573 COND_USE_SOVERLINUX_1="#"
50574 if test "x$USE_SOVERLINUX" = "x1" ; then
50575 COND_USE_SOVERLINUX_1=""
50576 fi
50577
50578 COND_USE_SOVERSION_0="#"
50579 if test "x$USE_SOVERSION" = "x0" ; then
50580 COND_USE_SOVERSION_0=""
50581 fi
50582
50583 COND_USE_SOVERSOLARIS_1="#"
50584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50585 COND_USE_SOVERSOLARIS_1=""
50586 fi
50587
50588 COND_USE_STC_1="#"
50589 if test "x$USE_STC" = "x1" ; then
50590 COND_USE_STC_1=""
50591 fi
50592
50593 COND_USE_THREADS_0="#"
50594 if test "x$USE_THREADS" = "x0" ; then
50595 COND_USE_THREADS_0=""
50596 fi
50597
50598 COND_USE_THREADS_1="#"
50599 if test "x$USE_THREADS" = "x1" ; then
50600 COND_USE_THREADS_1=""
50601 fi
50602
50603 COND_USE_XRC_1="#"
50604 if test "x$USE_XRC" = "x1" ; then
50605 COND_USE_XRC_1=""
50606 fi
50607
50608 COND_WINDOWS_IMPLIB_1="#"
50609 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50610 COND_WINDOWS_IMPLIB_1=""
50611 fi
50612
50613 COND_WITH_PLUGIN_SDL_1="#"
50614 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50615 COND_WITH_PLUGIN_SDL_1=""
50616 fi
50617
50618 COND_WXUNIV_0="#"
50619 if test "x$WXUNIV" = "x0" ; then
50620 COND_WXUNIV_0=""
50621 fi
50622
50623 COND_WXUNIV_1="#"
50624 if test "x$WXUNIV" = "x1" ; then
50625 COND_WXUNIV_1=""
50626 fi
50627
50628 COND_WXUSE_EXPAT_BUILTIN="#"
50629 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50630 COND_WXUSE_EXPAT_BUILTIN=""
50631 fi
50632
50633 COND_WXUSE_LIBJPEG_BUILTIN="#"
50634 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50635 COND_WXUSE_LIBJPEG_BUILTIN=""
50636 fi
50637
50638 COND_WXUSE_LIBPNG_BUILTIN="#"
50639 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50640 COND_WXUSE_LIBPNG_BUILTIN=""
50641 fi
50642
50643 COND_WXUSE_LIBTIFF_BUILTIN="#"
50644 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50645 COND_WXUSE_LIBTIFF_BUILTIN=""
50646 fi
50647
50648 COND_WXUSE_REGEX_BUILTIN="#"
50649 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50650 COND_WXUSE_REGEX_BUILTIN=""
50651 fi
50652
50653 COND_WXUSE_ZLIB_BUILTIN="#"
50654 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50655 COND_WXUSE_ZLIB_BUILTIN=""
50656 fi
50657
50658 COND_wxUSE_EXPAT_builtin="#"
50659 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50660 COND_wxUSE_EXPAT_builtin=""
50661 fi
50662
50663 COND_wxUSE_LIBJPEG_builtin="#"
50664 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50665 COND_wxUSE_LIBJPEG_builtin=""
50666 fi
50667
50668 COND_wxUSE_LIBPNG_builtin="#"
50669 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50670 COND_wxUSE_LIBPNG_builtin=""
50671 fi
50672
50673 COND_wxUSE_LIBTIFF_builtin="#"
50674 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50675 COND_wxUSE_LIBTIFF_builtin=""
50676 fi
50677
50678 COND_wxUSE_REGEX_builtin="#"
50679 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50680 COND_wxUSE_REGEX_builtin=""
50681 fi
50682
50683 COND_wxUSE_ZLIB_builtin="#"
50684 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50685 COND_wxUSE_ZLIB_builtin=""
50686 fi
50687
50688
50689
50690 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50691 { { 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
50692 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;}
50693 { (exit 1); exit 1; }; }
50694 fi
50695
50696 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50697 { { 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
50698 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;}
50699 { (exit 1); exit 1; }; }
50700 fi
50701
50702
50703 case ${INSTALL} in
50704 /* ) # Absolute
50705 ;;
50706 ?:* ) # Drive letter, considered as absolute.
50707 ;;
50708 *)
50709 INSTALL=`pwd`/${INSTALL} ;;
50710 esac
50711
50712 if test "$wxUSE_GUI" = "yes"; then
50713
50714 if test "$wxUSE_MSW" = 1 ; then
50715 if test "x$WINDRES" = "x"; then
50716 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50717 echo "$as_me: error: Required windres program not found" >&2;}
50718 { (exit 1); exit 1; }; }
50719 fi
50720
50721 RESCOMP="$WINDRES"
50722 fi
50723
50724 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50725 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50726 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50727
50728 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50729
50730 # Extract the first word of "DeRez", so it can be a program name with args.
50731 set dummy DeRez; ac_word=$2
50732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50734 if test "${ac_cv_prog_DEREZ+set}" = set; then
50735 echo $ECHO_N "(cached) $ECHO_C" >&6
50736 else
50737 if test -n "$DEREZ"; then
50738 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50739 else
50740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50741 for as_dir in $PATH
50742 do
50743 IFS=$as_save_IFS
50744 test -z "$as_dir" && as_dir=.
50745 for ac_exec_ext in '' $ac_executable_extensions; do
50746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50747 ac_cv_prog_DEREZ="DeRez"
50748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50749 break 2
50750 fi
50751 done
50752 done
50753 IFS=$as_save_IFS
50754
50755 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50756 fi
50757 fi
50758 DEREZ=$ac_cv_prog_DEREZ
50759 if test -n "$DEREZ"; then
50760 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50761 echo "${ECHO_T}$DEREZ" >&6; }
50762 else
50763 { echo "$as_me:$LINENO: result: no" >&5
50764 echo "${ECHO_T}no" >&6; }
50765 fi
50766
50767
50768
50769 MACSETFILE="\$(SETFILE)"
50770
50771 if test "$wxUSE_OSX_CARBON" = 1; then
50772 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50773 RESCOMP="$REZ"
50774 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50775 else
50776 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50777 RESCOMP="cat /dev/null \| $REZ"
50778 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50779 fi
50780
50781 else
50782 MACSETFILE="@true"
50783
50784 if test "$wxUSE_PM" = 1; then
50785 RESCOMP="emxbind"
50786 WXCONFIG_RESFLAGS="-ep"
50787
50788 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50789 else
50790 POSTLINK_COMMAND="@true"
50791 fi
50792 fi
50793
50794 fi
50795
50796
50797 if test $GCC_PCH = 1
50798 then
50799 if test "$wx_cv_gcc_pch_bug" = yes; then
50800 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50801 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50802 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50803 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50804 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50805 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50806 fi
50807
50808 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50809 # the headers that benefit from precompilation are mostly C++ headers.
50810 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50811 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50812 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50813 fi
50814
50815
50816 if test "$wxUSE_MAC" = 1 ; then
50817 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50818 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50819 mv temp bk-deps
50820 chmod +x bk-deps
50821 fi
50822 fi
50823
50824 if test "$wxUSE_SHARED" = "yes"; then
50825 case "${host}" in
50826 *-pc-os2_emx | *-pc-os2-emx )
50827 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50828 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50829 cp -p ${srcdir}/src/os2/dllnames.sh .
50830 cp -p ${srcdir}/src/os2/dllar.sh .
50831 ;;
50832 esac
50833 fi
50834 if test "$wxUSE_OMF" = "yes"; then
50835 case "${host}" in
50836 *-pc-os2_emx | *-pc-os2-emx )
50837 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50838 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50839 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50840 ;;
50841 esac
50842 fi
50843
50844 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50845
50846
50847 case "${host}" in
50848 *-*-solaris2* )
50849 if test "$GCC" = yes; then
50850 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50851 LIBS=`echo $LIBS | sed 's/-mt//'`
50852 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50853 fi
50854 ;;
50855
50856 *-*-linux* )
50857 if test "x$SUNCXX" = xyes; then
50858 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50859 LIBS=`echo $LIBS | sed 's/-pthread//'`
50860 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50861 fi
50862 ;;
50863 esac
50864
50865 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50866 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50867 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50868 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50869
50870 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50932 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50933 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50934 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50935 echo $ECHO_N "(cached) $ECHO_C" >&6
50936 else
50937 cat >conftest.make <<\_ACEOF
50938 SHELL = /bin/sh
50939 all:
50940 @echo '@@@%%%=$(MAKE)=@@@%%%'
50941 _ACEOF
50942 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50943 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50944 *@@@%%%=?*=@@@%%%*)
50945 eval ac_cv_prog_make_${ac_make}_set=yes;;
50946 *)
50947 eval ac_cv_prog_make_${ac_make}_set=no;;
50948 esac
50949 rm -f conftest.make
50950 fi
50951 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50952 { echo "$as_me:$LINENO: result: yes" >&5
50953 echo "${ECHO_T}yes" >&6; }
50954 SET_MAKE=
50955 else
50956 { echo "$as_me:$LINENO: result: no" >&5
50957 echo "${ECHO_T}no" >&6; }
50958 SET_MAKE="MAKE=${MAKE-make}"
50959 fi
50960
50961
50962
50963 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50964
50965
50966 if test "$USE_WIN32" = 1; then
50967 ac_config_commands="$ac_config_commands
50968 rcdefs.h
50969 "
50970
50971 fi
50972
50973 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50974
50975
50976 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50977
50978
50979 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50980
50981
50982 if test "$wx_cv_version_script" = "yes"; then
50983 ac_config_files="$ac_config_files version-script"
50984
50985 fi
50986 ac_config_files="$ac_config_files Makefile"
50987
50988
50989 ac_config_commands="$ac_config_commands wx-config"
50990
50991
50992
50993 if test "$wxWITH_SUBDIRS" != "no"; then
50994 if test "$wxUSE_GUI" = "yes"; then
50995 SUBDIRS="samples demos utils"
50996 else
50997 SUBDIRS="samples utils"
50998 fi
50999
51000
51001
51002 # Check whether --with-cppunit-prefix was given.
51003 if test "${with_cppunit_prefix+set}" = set; then
51004 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51005 else
51006 cppunit_config_prefix=""
51007 fi
51008
51009
51010 # Check whether --with-cppunit-exec-prefix was given.
51011 if test "${with_cppunit_exec_prefix+set}" = set; then
51012 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51013 else
51014 cppunit_config_exec_prefix=""
51015 fi
51016
51017
51018 if test x$cppunit_config_exec_prefix != x ; then
51019 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51020 if test x${CPPUNIT_CONFIG+set} != xset ; then
51021 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51022 fi
51023 fi
51024 if test x$cppunit_config_prefix != x ; then
51025 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51026 if test x${CPPUNIT_CONFIG+set} != xset ; then
51027 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51028 fi
51029 fi
51030
51031 # Extract the first word of "cppunit-config", so it can be a program name with args.
51032 set dummy cppunit-config; ac_word=$2
51033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51035 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51036 echo $ECHO_N "(cached) $ECHO_C" >&6
51037 else
51038 case $CPPUNIT_CONFIG in
51039 [\\/]* | ?:[\\/]*)
51040 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51041 ;;
51042 *)
51043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51044 for as_dir in $PATH
51045 do
51046 IFS=$as_save_IFS
51047 test -z "$as_dir" && as_dir=.
51048 for ac_exec_ext in '' $ac_executable_extensions; do
51049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51050 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51052 break 2
51053 fi
51054 done
51055 done
51056 IFS=$as_save_IFS
51057
51058 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51059 ;;
51060 esac
51061 fi
51062 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51063 if test -n "$CPPUNIT_CONFIG"; then
51064 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51065 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51066 else
51067 { echo "$as_me:$LINENO: result: no" >&5
51068 echo "${ECHO_T}no" >&6; }
51069 fi
51070
51071
51072 cppunit_version_min=1.8.0
51073
51074 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51075 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51076 no_cppunit=""
51077 if test "$CPPUNIT_CONFIG" = "no" ; then
51078 { echo "$as_me:$LINENO: result: no" >&5
51079 echo "${ECHO_T}no" >&6; }
51080 no_cppunit=yes
51081 else
51082 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51083 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51084 cppunit_version=`$CPPUNIT_CONFIG --version`
51085
51086 cppunit_major_version=`echo $cppunit_version | \
51087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51088 cppunit_minor_version=`echo $cppunit_version | \
51089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51090 cppunit_micro_version=`echo $cppunit_version | \
51091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51092
51093 cppunit_major_min=`echo $cppunit_version_min | \
51094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51095 cppunit_minor_min=`echo $cppunit_version_min | \
51096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51097 cppunit_micro_min=`echo $cppunit_version_min | \
51098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51099
51100 cppunit_version_proper=`expr \
51101 $cppunit_major_version \> $cppunit_major_min \| \
51102 $cppunit_major_version \= $cppunit_major_min \& \
51103 $cppunit_minor_version \> $cppunit_minor_min \| \
51104 $cppunit_major_version \= $cppunit_major_min \& \
51105 $cppunit_minor_version \= $cppunit_minor_min \& \
51106 $cppunit_micro_version \>= $cppunit_micro_min `
51107
51108 if test "$cppunit_version_proper" = "1" ; then
51109 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51110 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51111 else
51112 { echo "$as_me:$LINENO: result: no" >&5
51113 echo "${ECHO_T}no" >&6; }
51114 no_cppunit=yes
51115 fi
51116 fi
51117
51118 if test "x$no_cppunit" = x ; then
51119 SUBDIRS="$SUBDIRS tests"
51120 else
51121 CPPUNIT_CFLAGS=""
51122 CPPUNIT_LIBS=""
51123 :
51124 fi
51125
51126
51127
51128
51129
51130 for subdir in $SUBDIRS; do
51131 if test -d ${srcdir}/${subdir} ; then
51132 if test "$wxUSE_GUI" = "yes"; then
51133 if test ${subdir} = "samples"; then
51134 makefiles="samples/Makefile.in $makefiles"
51135 for sample in $SAMPLES_SUBDIRS; do
51136 if test -d $srcdir/samples/$sample; then
51137 makefiles="samples/$sample/Makefile.in $makefiles"
51138 fi
51139 done
51140 else
51141 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51142 eval "disabled=\$$disabled_var"
51143 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51144 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51145 fi
51146 else
51147 if test ${subdir} = "samples"; then
51148 makefiles="samples/Makefile.in $makefiles"
51149 for sample in `echo $SAMPLES_SUBDIRS`; do
51150 if test -d $srcdir/samples/$sample; then
51151 makefiles="samples/$sample/Makefile.in $makefiles"
51152 fi
51153 done
51154 elif test ${subdir} = "utils"; then
51155 makefiles=""
51156 for util in ifacecheck ; do
51157 if test -d $srcdir/utils/$util ; then
51158 makefiles="utils/$util/src/Makefile.in \
51159 $makefiles"
51160 fi
51161 done
51162 else
51163 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51164 fi
51165 fi
51166
51167 for mkin in $makefiles ; do
51168 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51169 ac_config_files="$ac_config_files $mk"
51170
51171 done
51172 fi
51173 done
51174 fi
51175 cat >confcache <<\_ACEOF
51176 # This file is a shell script that caches the results of configure
51177 # tests run on this system so they can be shared between configure
51178 # scripts and configure runs, see configure's option --config-cache.
51179 # It is not useful on other systems. If it contains results you don't
51180 # want to keep, you may remove or edit it.
51181 #
51182 # config.status only pays attention to the cache file if you give it
51183 # the --recheck option to rerun configure.
51184 #
51185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51187 # following values.
51188
51189 _ACEOF
51190
51191 # The following way of writing the cache mishandles newlines in values,
51192 # but we know of no workaround that is simple, portable, and efficient.
51193 # So, we kill variables containing newlines.
51194 # Ultrix sh set writes to stderr and can't be redirected directly,
51195 # and sets the high bit in the cache file unless we assign to the vars.
51196 (
51197 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51198 eval ac_val=\$$ac_var
51199 case $ac_val in #(
51200 *${as_nl}*)
51201 case $ac_var in #(
51202 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51203 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51204 esac
51205 case $ac_var in #(
51206 _ | IFS | as_nl) ;; #(
51207 *) $as_unset $ac_var ;;
51208 esac ;;
51209 esac
51210 done
51211
51212 (set) 2>&1 |
51213 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51214 *${as_nl}ac_space=\ *)
51215 # `set' does not quote correctly, so add quotes (double-quote
51216 # substitution turns \\\\ into \\, and sed turns \\ into \).
51217 sed -n \
51218 "s/'/'\\\\''/g;
51219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51220 ;; #(
51221 *)
51222 # `set' quotes correctly as required by POSIX, so do not add quotes.
51223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51224 ;;
51225 esac |
51226 sort
51227 ) |
51228 sed '
51229 /^ac_cv_env_/b end
51230 t clear
51231 :clear
51232 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51233 t end
51234 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51235 :end' >>confcache
51236 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51237 if test -w "$cache_file"; then
51238 test "x$cache_file" != "x/dev/null" &&
51239 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51240 echo "$as_me: updating cache $cache_file" >&6;}
51241 cat confcache >$cache_file
51242 else
51243 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51244 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51245 fi
51246 fi
51247 rm -f confcache
51248
51249 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51250 # Let make expand exec_prefix.
51251 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51252
51253 DEFS=-DHAVE_CONFIG_H
51254
51255 ac_libobjs=
51256 ac_ltlibobjs=
51257 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51258 # 1. Remove the extension, and $U if already installed.
51259 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51260 ac_i=`echo "$ac_i" | sed "$ac_script"`
51261 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51262 # will be set to the directory where LIBOBJS objects are built.
51263 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51264 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51265 done
51266 LIBOBJS=$ac_libobjs
51267
51268 LTLIBOBJS=$ac_ltlibobjs
51269
51270
51271
51272 : ${CONFIG_STATUS=./config.status}
51273 ac_clean_files_save=$ac_clean_files
51274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51275 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51276 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51277 cat >$CONFIG_STATUS <<_ACEOF
51278 #! $SHELL
51279 # Generated by $as_me.
51280 # Run this file to recreate the current configuration.
51281 # Compiler output produced by configure, useful for debugging
51282 # configure, is in config.log if it exists.
51283
51284 debug=false
51285 ac_cs_recheck=false
51286 ac_cs_silent=false
51287 SHELL=\${CONFIG_SHELL-$SHELL}
51288 _ACEOF
51289
51290 cat >>$CONFIG_STATUS <<\_ACEOF
51291 ## --------------------- ##
51292 ## M4sh Initialization. ##
51293 ## --------------------- ##
51294
51295 # Be more Bourne compatible
51296 DUALCASE=1; export DUALCASE # for MKS sh
51297 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51298 emulate sh
51299 NULLCMD=:
51300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51301 # is contrary to our usage. Disable this feature.
51302 alias -g '${1+"$@"}'='"$@"'
51303 setopt NO_GLOB_SUBST
51304 else
51305 case `(set -o) 2>/dev/null` in
51306 *posix*) set -o posix ;;
51307 esac
51308
51309 fi
51310
51311
51312
51313
51314 # PATH needs CR
51315 # Avoid depending upon Character Ranges.
51316 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51319 as_cr_digits='0123456789'
51320 as_cr_alnum=$as_cr_Letters$as_cr_digits
51321
51322 # The user is always right.
51323 if test "${PATH_SEPARATOR+set}" != set; then
51324 echo "#! /bin/sh" >conf$$.sh
51325 echo "exit 0" >>conf$$.sh
51326 chmod +x conf$$.sh
51327 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51328 PATH_SEPARATOR=';'
51329 else
51330 PATH_SEPARATOR=:
51331 fi
51332 rm -f conf$$.sh
51333 fi
51334
51335 # Support unset when possible.
51336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51337 as_unset=unset
51338 else
51339 as_unset=false
51340 fi
51341
51342
51343 # IFS
51344 # We need space, tab and new line, in precisely that order. Quoting is
51345 # there to prevent editors from complaining about space-tab.
51346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51347 # splitting by setting IFS to empty value.)
51348 as_nl='
51349 '
51350 IFS=" "" $as_nl"
51351
51352 # Find who we are. Look in the path if we contain no directory separator.
51353 case $0 in
51354 *[\\/]* ) as_myself=$0 ;;
51355 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51356 for as_dir in $PATH
51357 do
51358 IFS=$as_save_IFS
51359 test -z "$as_dir" && as_dir=.
51360 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51361 done
51362 IFS=$as_save_IFS
51363
51364 ;;
51365 esac
51366 # We did not find ourselves, most probably we were run as `sh COMMAND'
51367 # in which case we are not to be found in the path.
51368 if test "x$as_myself" = x; then
51369 as_myself=$0
51370 fi
51371 if test ! -f "$as_myself"; then
51372 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51373 { (exit 1); exit 1; }
51374 fi
51375
51376 # Work around bugs in pre-3.0 UWIN ksh.
51377 for as_var in ENV MAIL MAILPATH
51378 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51379 done
51380 PS1='$ '
51381 PS2='> '
51382 PS4='+ '
51383
51384 # NLS nuisances.
51385 for as_var in \
51386 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51387 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51388 LC_TELEPHONE LC_TIME
51389 do
51390 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51391 eval $as_var=C; export $as_var
51392 else
51393 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51394 fi
51395 done
51396
51397 # Required to use basename.
51398 if expr a : '\(a\)' >/dev/null 2>&1 &&
51399 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51400 as_expr=expr
51401 else
51402 as_expr=false
51403 fi
51404
51405 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51406 as_basename=basename
51407 else
51408 as_basename=false
51409 fi
51410
51411
51412 # Name of the executable.
51413 as_me=`$as_basename -- "$0" ||
51414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51415 X"$0" : 'X\(//\)$' \| \
51416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51417 echo X/"$0" |
51418 sed '/^.*\/\([^/][^/]*\)\/*$/{
51419 s//\1/
51420 q
51421 }
51422 /^X\/\(\/\/\)$/{
51423 s//\1/
51424 q
51425 }
51426 /^X\/\(\/\).*/{
51427 s//\1/
51428 q
51429 }
51430 s/.*/./; q'`
51431
51432 # CDPATH.
51433 $as_unset CDPATH
51434
51435
51436
51437 as_lineno_1=$LINENO
51438 as_lineno_2=$LINENO
51439 test "x$as_lineno_1" != "x$as_lineno_2" &&
51440 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51441
51442 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51443 # uniformly replaced by the line number. The first 'sed' inserts a
51444 # line-number line after each line using $LINENO; the second 'sed'
51445 # does the real work. The second script uses 'N' to pair each
51446 # line-number line with the line containing $LINENO, and appends
51447 # trailing '-' during substitution so that $LINENO is not a special
51448 # case at line end.
51449 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51450 # scripts with optimization help from Paolo Bonzini. Blame Lee
51451 # E. McMahon (1931-1989) for sed's syntax. :-)
51452 sed -n '
51453 p
51454 /[$]LINENO/=
51455 ' <$as_myself |
51456 sed '
51457 s/[$]LINENO.*/&-/
51458 t lineno
51459 b
51460 :lineno
51461 N
51462 :loop
51463 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51464 t loop
51465 s/-\n.*//
51466 ' >$as_me.lineno &&
51467 chmod +x "$as_me.lineno" ||
51468 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51469 { (exit 1); exit 1; }; }
51470
51471 # Don't try to exec as it changes $[0], causing all sort of problems
51472 # (the dirname of $[0] is not the place where we might find the
51473 # original and so on. Autoconf is especially sensitive to this).
51474 . "./$as_me.lineno"
51475 # Exit status is that of the last command.
51476 exit
51477 }
51478
51479
51480 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51481 as_dirname=dirname
51482 else
51483 as_dirname=false
51484 fi
51485
51486 ECHO_C= ECHO_N= ECHO_T=
51487 case `echo -n x` in
51488 -n*)
51489 case `echo 'x\c'` in
51490 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51491 *) ECHO_C='\c';;
51492 esac;;
51493 *)
51494 ECHO_N='-n';;
51495 esac
51496
51497 if expr a : '\(a\)' >/dev/null 2>&1 &&
51498 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51499 as_expr=expr
51500 else
51501 as_expr=false
51502 fi
51503
51504 rm -f conf$$ conf$$.exe conf$$.file
51505 if test -d conf$$.dir; then
51506 rm -f conf$$.dir/conf$$.file
51507 else
51508 rm -f conf$$.dir
51509 mkdir conf$$.dir
51510 fi
51511 echo >conf$$.file
51512 if ln -s conf$$.file conf$$ 2>/dev/null; then
51513 as_ln_s='ln -s'
51514 # ... but there are two gotchas:
51515 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51516 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51517 # In both cases, we have to default to `cp -p'.
51518 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51519 as_ln_s='cp -p'
51520 elif ln conf$$.file conf$$ 2>/dev/null; then
51521 as_ln_s=ln
51522 else
51523 as_ln_s='cp -p'
51524 fi
51525 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51526 rmdir conf$$.dir 2>/dev/null
51527
51528 if mkdir -p . 2>/dev/null; then
51529 as_mkdir_p=:
51530 else
51531 test -d ./-p && rmdir ./-p
51532 as_mkdir_p=false
51533 fi
51534
51535 if test -x / >/dev/null 2>&1; then
51536 as_test_x='test -x'
51537 else
51538 if ls -dL / >/dev/null 2>&1; then
51539 as_ls_L_option=L
51540 else
51541 as_ls_L_option=
51542 fi
51543 as_test_x='
51544 eval sh -c '\''
51545 if test -d "$1"; then
51546 test -d "$1/.";
51547 else
51548 case $1 in
51549 -*)set "./$1";;
51550 esac;
51551 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51552 ???[sx]*):;;*)false;;esac;fi
51553 '\'' sh
51554 '
51555 fi
51556 as_executable_p=$as_test_x
51557
51558 # Sed expression to map a string onto a valid CPP name.
51559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51560
51561 # Sed expression to map a string onto a valid variable name.
51562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51563
51564
51565 exec 6>&1
51566
51567 # Save the log message, to keep $[0] and so on meaningful, and to
51568 # report actual input values of CONFIG_FILES etc. instead of their
51569 # values after options handling.
51570 ac_log="
51571 This file was extended by wxWidgets $as_me 2.9.0, which was
51572 generated by GNU Autoconf 2.61. Invocation command line was
51573
51574 CONFIG_FILES = $CONFIG_FILES
51575 CONFIG_HEADERS = $CONFIG_HEADERS
51576 CONFIG_LINKS = $CONFIG_LINKS
51577 CONFIG_COMMANDS = $CONFIG_COMMANDS
51578 $ $0 $@
51579
51580 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51581 "
51582
51583 _ACEOF
51584
51585 cat >>$CONFIG_STATUS <<_ACEOF
51586 # Files that config.status was made for.
51587 config_files="$ac_config_files"
51588 config_headers="$ac_config_headers"
51589 config_commands="$ac_config_commands"
51590
51591 _ACEOF
51592
51593 cat >>$CONFIG_STATUS <<\_ACEOF
51594 ac_cs_usage="\
51595 \`$as_me' instantiates files from templates according to the
51596 current configuration.
51597
51598 Usage: $0 [OPTIONS] [FILE]...
51599
51600 -h, --help print this help, then exit
51601 -V, --version print version number and configuration settings, then exit
51602 -q, --quiet do not print progress messages
51603 -d, --debug don't remove temporary files
51604 --recheck update $as_me by reconfiguring in the same conditions
51605 --file=FILE[:TEMPLATE]
51606 instantiate the configuration file FILE
51607 --header=FILE[:TEMPLATE]
51608 instantiate the configuration header FILE
51609
51610 Configuration files:
51611 $config_files
51612
51613 Configuration headers:
51614 $config_headers
51615
51616 Configuration commands:
51617 $config_commands
51618
51619 Report bugs to <bug-autoconf@gnu.org>."
51620
51621 _ACEOF
51622 cat >>$CONFIG_STATUS <<_ACEOF
51623 ac_cs_version="\\
51624 wxWidgets config.status 2.9.0
51625 configured by $0, generated by GNU Autoconf 2.61,
51626 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51627
51628 Copyright (C) 2006 Free Software Foundation, Inc.
51629 This config.status script is free software; the Free Software Foundation
51630 gives unlimited permission to copy, distribute and modify it."
51631
51632 ac_pwd='$ac_pwd'
51633 srcdir='$srcdir'
51634 INSTALL='$INSTALL'
51635 _ACEOF
51636
51637 cat >>$CONFIG_STATUS <<\_ACEOF
51638 # If no file are specified by the user, then we need to provide default
51639 # value. By we need to know if files were specified by the user.
51640 ac_need_defaults=:
51641 while test $# != 0
51642 do
51643 case $1 in
51644 --*=*)
51645 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51646 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51647 ac_shift=:
51648 ;;
51649 *)
51650 ac_option=$1
51651 ac_optarg=$2
51652 ac_shift=shift
51653 ;;
51654 esac
51655
51656 case $ac_option in
51657 # Handling of the options.
51658 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51659 ac_cs_recheck=: ;;
51660 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51661 echo "$ac_cs_version"; exit ;;
51662 --debug | --debu | --deb | --de | --d | -d )
51663 debug=: ;;
51664 --file | --fil | --fi | --f )
51665 $ac_shift
51666 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51667 ac_need_defaults=false;;
51668 --header | --heade | --head | --hea )
51669 $ac_shift
51670 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51671 ac_need_defaults=false;;
51672 --he | --h)
51673 # Conflict between --help and --header
51674 { echo "$as_me: error: ambiguous option: $1
51675 Try \`$0 --help' for more information." >&2
51676 { (exit 1); exit 1; }; };;
51677 --help | --hel | -h )
51678 echo "$ac_cs_usage"; exit ;;
51679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51680 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51681 ac_cs_silent=: ;;
51682
51683 # This is an error.
51684 -*) { echo "$as_me: error: unrecognized option: $1
51685 Try \`$0 --help' for more information." >&2
51686 { (exit 1); exit 1; }; } ;;
51687
51688 *) ac_config_targets="$ac_config_targets $1"
51689 ac_need_defaults=false ;;
51690
51691 esac
51692 shift
51693 done
51694
51695 ac_configure_extra_args=
51696
51697 if $ac_cs_silent; then
51698 exec 6>/dev/null
51699 ac_configure_extra_args="$ac_configure_extra_args --silent"
51700 fi
51701
51702 _ACEOF
51703 cat >>$CONFIG_STATUS <<_ACEOF
51704 if \$ac_cs_recheck; then
51705 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51706 CONFIG_SHELL=$SHELL
51707 export CONFIG_SHELL
51708 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51709 fi
51710
51711 _ACEOF
51712 cat >>$CONFIG_STATUS <<\_ACEOF
51713 exec 5>>config.log
51714 {
51715 echo
51716 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51717 ## Running $as_me. ##
51718 _ASBOX
51719 echo "$ac_log"
51720 } >&5
51721
51722 _ACEOF
51723 cat >>$CONFIG_STATUS <<_ACEOF
51724 #
51725 # INIT-COMMANDS
51726 #
51727
51728 CPP="$CPP"
51729 infile="$srcdir/include/wx/msw/genrcdefs.h"
51730 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51731
51732
51733 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51734 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51735 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51736 LN_S="${LN_S}"
51737
51738
51739 _ACEOF
51740
51741 cat >>$CONFIG_STATUS <<\_ACEOF
51742
51743 # Handling of arguments.
51744 for ac_config_target in $ac_config_targets
51745 do
51746 case $ac_config_target in
51747 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51748 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51749 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51750 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51751 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51752 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51753 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51754 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51755 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51756
51757 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51758 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51759 { (exit 1); exit 1; }; };;
51760 esac
51761 done
51762
51763
51764 # If the user did not use the arguments to specify the items to instantiate,
51765 # then the envvar interface is used. Set only those that are not.
51766 # We use the long form for the default assignment because of an extremely
51767 # bizarre bug on SunOS 4.1.3.
51768 if $ac_need_defaults; then
51769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51772 fi
51773
51774 # Have a temporary directory for convenience. Make it in the build tree
51775 # simply because there is no reason against having it here, and in addition,
51776 # creating and moving files from /tmp can sometimes cause problems.
51777 # Hook for its removal unless debugging.
51778 # Note that there is a small window in which the directory will not be cleaned:
51779 # after its creation but before its name has been assigned to `$tmp'.
51780 $debug ||
51781 {
51782 tmp=
51783 trap 'exit_status=$?
51784 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51785 ' 0
51786 trap '{ (exit 1); exit 1; }' 1 2 13 15
51787 }
51788 # Create a (secure) tmp directory for tmp files.
51789
51790 {
51791 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51792 test -n "$tmp" && test -d "$tmp"
51793 } ||
51794 {
51795 tmp=./conf$$-$RANDOM
51796 (umask 077 && mkdir "$tmp")
51797 } ||
51798 {
51799 echo "$me: cannot create a temporary directory in ." >&2
51800 { (exit 1); exit 1; }
51801 }
51802
51803 #
51804 # Set up the sed scripts for CONFIG_FILES section.
51805 #
51806
51807 # No need to generate the scripts if there are no CONFIG_FILES.
51808 # This happens for instance when ./config.status config.h
51809 if test -n "$CONFIG_FILES"; then
51810
51811 _ACEOF
51812
51813
51814
51815 ac_delim='%!_!# '
51816 for ac_last_try in false false false false false :; do
51817 cat >conf$$subs.sed <<_ACEOF
51818 SHELL!$SHELL$ac_delim
51819 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51820 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51821 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51822 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51823 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51824 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51825 exec_prefix!$exec_prefix$ac_delim
51826 prefix!$prefix$ac_delim
51827 program_transform_name!$program_transform_name$ac_delim
51828 bindir!$bindir$ac_delim
51829 sbindir!$sbindir$ac_delim
51830 libexecdir!$libexecdir$ac_delim
51831 datarootdir!$datarootdir$ac_delim
51832 datadir!$datadir$ac_delim
51833 sysconfdir!$sysconfdir$ac_delim
51834 sharedstatedir!$sharedstatedir$ac_delim
51835 localstatedir!$localstatedir$ac_delim
51836 includedir!$includedir$ac_delim
51837 oldincludedir!$oldincludedir$ac_delim
51838 docdir!$docdir$ac_delim
51839 infodir!$infodir$ac_delim
51840 htmldir!$htmldir$ac_delim
51841 dvidir!$dvidir$ac_delim
51842 pdfdir!$pdfdir$ac_delim
51843 psdir!$psdir$ac_delim
51844 libdir!$libdir$ac_delim
51845 localedir!$localedir$ac_delim
51846 mandir!$mandir$ac_delim
51847 DEFS!$DEFS$ac_delim
51848 ECHO_C!$ECHO_C$ac_delim
51849 ECHO_N!$ECHO_N$ac_delim
51850 ECHO_T!$ECHO_T$ac_delim
51851 LIBS!$LIBS$ac_delim
51852 build_alias!$build_alias$ac_delim
51853 host_alias!$host_alias$ac_delim
51854 target_alias!$target_alias$ac_delim
51855 build!$build$ac_delim
51856 build_cpu!$build_cpu$ac_delim
51857 build_vendor!$build_vendor$ac_delim
51858 build_os!$build_os$ac_delim
51859 host!$host$ac_delim
51860 host_cpu!$host_cpu$ac_delim
51861 host_vendor!$host_vendor$ac_delim
51862 host_os!$host_os$ac_delim
51863 target!$target$ac_delim
51864 target_cpu!$target_cpu$ac_delim
51865 target_vendor!$target_vendor$ac_delim
51866 target_os!$target_os$ac_delim
51867 wx_top_builddir!$wx_top_builddir$ac_delim
51868 CC!$CC$ac_delim
51869 CFLAGS!$CFLAGS$ac_delim
51870 LDFLAGS!$LDFLAGS$ac_delim
51871 CPPFLAGS!$CPPFLAGS$ac_delim
51872 ac_ct_CC!$ac_ct_CC$ac_delim
51873 EXEEXT!$EXEEXT$ac_delim
51874 OBJEXT!$OBJEXT$ac_delim
51875 CPP!$CPP$ac_delim
51876 GREP!$GREP$ac_delim
51877 EGREP!$EGREP$ac_delim
51878 CXX!$CXX$ac_delim
51879 CXXFLAGS!$CXXFLAGS$ac_delim
51880 ac_ct_CXX!$ac_ct_CXX$ac_delim
51881 AR!$AR$ac_delim
51882 subdirs!$subdirs$ac_delim
51883 PKG_CONFIG!$PKG_CONFIG$ac_delim
51884 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51885 GTK_LIBS!$GTK_LIBS$ac_delim
51886 GTK_CONFIG!$GTK_CONFIG$ac_delim
51887 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51888 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51889 XMKMF!$XMKMF$ac_delim
51890 X_CFLAGS!$X_CFLAGS$ac_delim
51891 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51892 X_LIBS!$X_LIBS$ac_delim
51893 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51894 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51895 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51896 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51897 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51898 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51899 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51900 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51901 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51902 LIBICONV!$LIBICONV$ac_delim
51903 GXX_VERSION!$GXX_VERSION$ac_delim
51904 SDL_CONFIG!$SDL_CONFIG$ac_delim
51905 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51906 SDL_LIBS!$SDL_LIBS$ac_delim
51907 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51908 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51909 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51910 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51911 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51912 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51913 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51914 HILDON_LIBS!$HILDON_LIBS$ac_delim
51915 _ACEOF
51916
51917 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51918 break
51919 elif $ac_last_try; then
51920 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51921 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51922 { (exit 1); exit 1; }; }
51923 else
51924 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51925 fi
51926 done
51927
51928 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51929 if test -n "$ac_eof"; then
51930 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51931 ac_eof=`expr $ac_eof + 1`
51932 fi
51933
51934 cat >>$CONFIG_STATUS <<_ACEOF
51935 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51937 _ACEOF
51938 sed '
51939 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51940 s/^/s,@/; s/!/@,|#_!!_#|/
51941 :n
51942 t n
51943 s/'"$ac_delim"'$/,g/; t
51944 s/$/\\/; p
51945 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51946 ' >>$CONFIG_STATUS <conf$$subs.sed
51947 rm -f conf$$subs.sed
51948 cat >>$CONFIG_STATUS <<_ACEOF
51949 CEOF$ac_eof
51950 _ACEOF
51951
51952
51953 ac_delim='%!_!# '
51954 for ac_last_try in false false false false false :; do
51955 cat >conf$$subs.sed <<_ACEOF
51956 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51957 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51958 GST_CFLAGS!$GST_CFLAGS$ac_delim
51959 GST_LIBS!$GST_LIBS$ac_delim
51960 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51961 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51962 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51963 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51964 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51965 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51966 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51967 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51968 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51969 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51970 VENDOR!$VENDOR$ac_delim
51971 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51972 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51973 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51974 WXUNIV!$WXUNIV$ac_delim
51975 MONOLITHIC!$MONOLITHIC$ac_delim
51976 USE_PLUGINS!$USE_PLUGINS$ac_delim
51977 CXXWARNINGS!$CXXWARNINGS$ac_delim
51978 EXTRALIBS!$EXTRALIBS$ac_delim
51979 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51980 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51981 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51982 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51983 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51984 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51985 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51986 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51987 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51988 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51989 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51990 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51991 UNICODE!$UNICODE$ac_delim
51992 BUILD!$BUILD$ac_delim
51993 DEBUG_INFO!$DEBUG_INFO$ac_delim
51994 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51995 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51996 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51997 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51998 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51999 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52000 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52001 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52002 RANLIB!$RANLIB$ac_delim
52003 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52004 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52005 INSTALL_DATA!$INSTALL_DATA$ac_delim
52006 LN_S!$LN_S$ac_delim
52007 SET_MAKE!$SET_MAKE$ac_delim
52008 MAKE_SET!$MAKE_SET$ac_delim
52009 AROPTIONS!$AROPTIONS$ac_delim
52010 STRIP!$STRIP$ac_delim
52011 NM!$NM$ac_delim
52012 INSTALL_DIR!$INSTALL_DIR$ac_delim
52013 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52014 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52015 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52016 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52017 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52018 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52019 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52020 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52021 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52022 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52023 SO_SUFFIX!$SO_SUFFIX$ac_delim
52024 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52025 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52026 LIBPREFIX!$LIBPREFIX$ac_delim
52027 LIBEXT!$LIBEXT$ac_delim
52028 DLLPREFIX!$DLLPREFIX$ac_delim
52029 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52030 dlldir!$dlldir$ac_delim
52031 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52032 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52033 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52034 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52035 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52036 PIC_FLAG!$PIC_FLAG$ac_delim
52037 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52038 USE_SOVERSION!$USE_SOVERSION$ac_delim
52039 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52040 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52041 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52042 USE_MACVERSION!$USE_MACVERSION$ac_delim
52043 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52044 SONAME_FLAG!$SONAME_FLAG$ac_delim
52045 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52046 BK_DEPS!$BK_DEPS$ac_delim
52047 WINDRES!$WINDRES$ac_delim
52048 REZ!$REZ$ac_delim
52049 SETFILE!$SETFILE$ac_delim
52050 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52051 GCC_PCH!$GCC_PCH$ac_delim
52052 ICC_PCH!$ICC_PCH$ac_delim
52053 _ACEOF
52054
52055 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52056 break
52057 elif $ac_last_try; then
52058 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52059 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52060 { (exit 1); exit 1; }; }
52061 else
52062 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52063 fi
52064 done
52065
52066 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52067 if test -n "$ac_eof"; then
52068 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52069 ac_eof=`expr $ac_eof + 1`
52070 fi
52071
52072 cat >>$CONFIG_STATUS <<_ACEOF
52073 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52074 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52075 _ACEOF
52076 sed '
52077 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52078 s/^/s,@/; s/!/@,|#_!!_#|/
52079 :n
52080 t n
52081 s/'"$ac_delim"'$/,g/; t
52082 s/$/\\/; p
52083 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52084 ' >>$CONFIG_STATUS <conf$$subs.sed
52085 rm -f conf$$subs.sed
52086 cat >>$CONFIG_STATUS <<_ACEOF
52087 CEOF$ac_eof
52088 _ACEOF
52089
52090
52091 ac_delim='%!_!# '
52092 for ac_last_try in false false false false false :; do
52093 cat >conf$$subs.sed <<_ACEOF
52094 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52095 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52096 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52097 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52098 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52099 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52100 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52101 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52102 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52104 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52105 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52106 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52107 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52108 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52109 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52110 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52111 COND_BUILD_release!$COND_BUILD_release$ac_delim
52112 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52113 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52114 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52115 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52116 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52117 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52118 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52119 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52120 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52121 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52122 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52123 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52124 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52129 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52130 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52131 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52132 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52133 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52134 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52135 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52136 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52138 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52139 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52140 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52141 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52142 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52143 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52144 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52145 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52146 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52147 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52148 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52149 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52150 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52151 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52152 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52153 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52154 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52155 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52156 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52157 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52158 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52159 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52160 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52161 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52162 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52163 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
52164 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52165 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
52166 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52167 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52168 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52169 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52170 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52171 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52172 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52173 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52174 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52175 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52176 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52177 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52178 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52179 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52180 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52181 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52182 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52183 COND_SHARED_0!$COND_SHARED_0$ac_delim
52184 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52185 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52186 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52187 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52188 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52189 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52190 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52191 _ACEOF
52192
52193 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52194 break
52195 elif $ac_last_try; then
52196 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52197 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52198 { (exit 1); exit 1; }; }
52199 else
52200 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52201 fi
52202 done
52203
52204 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52205 if test -n "$ac_eof"; then
52206 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52207 ac_eof=`expr $ac_eof + 1`
52208 fi
52209
52210 cat >>$CONFIG_STATUS <<_ACEOF
52211 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52213 _ACEOF
52214 sed '
52215 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52216 s/^/s,@/; s/!/@,|#_!!_#|/
52217 :n
52218 t n
52219 s/'"$ac_delim"'$/,g/; t
52220 s/$/\\/; p
52221 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52222 ' >>$CONFIG_STATUS <conf$$subs.sed
52223 rm -f conf$$subs.sed
52224 cat >>$CONFIG_STATUS <<_ACEOF
52225 CEOF$ac_eof
52226 _ACEOF
52227
52228
52229 ac_delim='%!_!# '
52230 for ac_last_try in false false false false false :; do
52231 cat >conf$$subs.sed <<_ACEOF
52232 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52233 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52234 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52235 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52236 COND_SHARED_1!$COND_SHARED_1$ac_delim
52237 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52238 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52239 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52240 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52243 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52246 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52250 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52251 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52253 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52254 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52255 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52256 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52257 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52258 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52259 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52260 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52261 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52262 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52263 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52264 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52265 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52266 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52267 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52268 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52269 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52270 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52271 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52272 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52273 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52274 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52275 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52276 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52277 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52278 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52279 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52280 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52281 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52282 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52283 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52284 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52285 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52286 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52287 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52288 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52289 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52290 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52291 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52292 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52293 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52294 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52295 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52296 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52297 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52298 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52299 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52300 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52301 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52302 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52303 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52304 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52305 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52306 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52307 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52308 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52309 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52310 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52311 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52312 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52313 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52314 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52315 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52316 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52317 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52318 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52319 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52320 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52321 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52322 DEREZ!$DEREZ$ac_delim
52323 SHARED!$SHARED$ac_delim
52324 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52325 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52326 USE_GUI!$USE_GUI$ac_delim
52327 AFMINSTALL!$AFMINSTALL$ac_delim
52328 WIN32INSTALL!$WIN32INSTALL$ac_delim
52329 _ACEOF
52330
52331 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52332 break
52333 elif $ac_last_try; then
52334 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52335 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52336 { (exit 1); exit 1; }; }
52337 else
52338 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52339 fi
52340 done
52341
52342 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52343 if test -n "$ac_eof"; then
52344 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52345 ac_eof=`expr $ac_eof + 1`
52346 fi
52347
52348 cat >>$CONFIG_STATUS <<_ACEOF
52349 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52351 _ACEOF
52352 sed '
52353 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52354 s/^/s,@/; s/!/@,|#_!!_#|/
52355 :n
52356 t n
52357 s/'"$ac_delim"'$/,g/; t
52358 s/$/\\/; p
52359 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52360 ' >>$CONFIG_STATUS <conf$$subs.sed
52361 rm -f conf$$subs.sed
52362 cat >>$CONFIG_STATUS <<_ACEOF
52363 CEOF$ac_eof
52364 _ACEOF
52365
52366
52367 ac_delim='%!_!# '
52368 for ac_last_try in false false false false false :; do
52369 cat >conf$$subs.sed <<_ACEOF
52370 TOOLKIT!$TOOLKIT$ac_delim
52371 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52372 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52373 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52374 cross_compiling!$cross_compiling$ac_delim
52375 WIDGET_SET!$WIDGET_SET$ac_delim
52376 WX_RELEASE!$WX_RELEASE$ac_delim
52377 WX_VERSION!$WX_VERSION$ac_delim
52378 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52379 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52380 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52381 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52382 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52383 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52384 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52385 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52386 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52387 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52388 GUIDIST!$GUIDIST$ac_delim
52389 DISTDIR!$DISTDIR$ac_delim
52390 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52391 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52392 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52393 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52394 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52395 RESCOMP!$RESCOMP$ac_delim
52396 RESFLAGS!$RESFLAGS$ac_delim
52397 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52398 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52399 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52400 LIBWXMACRES!$LIBWXMACRES$ac_delim
52401 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52402 MACSETFILE!$MACSETFILE$ac_delim
52403 GCC!$GCC$ac_delim
52404 DLLTOOL!$DLLTOOL$ac_delim
52405 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52406 LIBOBJS!$LIBOBJS$ac_delim
52407 LTLIBOBJS!$LTLIBOBJS$ac_delim
52408 _ACEOF
52409
52410 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52411 break
52412 elif $ac_last_try; then
52413 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52414 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52415 { (exit 1); exit 1; }; }
52416 else
52417 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52418 fi
52419 done
52420
52421 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52422 if test -n "$ac_eof"; then
52423 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52424 ac_eof=`expr $ac_eof + 1`
52425 fi
52426
52427 cat >>$CONFIG_STATUS <<_ACEOF
52428 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52430 _ACEOF
52431 sed '
52432 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52433 s/^/s,@/; s/!/@,|#_!!_#|/
52434 :n
52435 t n
52436 s/'"$ac_delim"'$/,g/; t
52437 s/$/\\/; p
52438 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52439 ' >>$CONFIG_STATUS <conf$$subs.sed
52440 rm -f conf$$subs.sed
52441 cat >>$CONFIG_STATUS <<_ACEOF
52442 :end
52443 s/|#_!!_#|//g
52444 CEOF$ac_eof
52445 _ACEOF
52446
52447
52448 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52449 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52450 # trailing colons and then remove the whole line if VPATH becomes empty
52451 # (actually we leave an empty line to preserve line numbers).
52452 if test "x$srcdir" = x.; then
52453 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52454 s/:*\$(srcdir):*/:/
52455 s/:*\${srcdir}:*/:/
52456 s/:*@srcdir@:*/:/
52457 s/^\([^=]*=[ ]*\):*/\1/
52458 s/:*$//
52459 s/^[^=]*=[ ]*$//
52460 }'
52461 fi
52462
52463 cat >>$CONFIG_STATUS <<\_ACEOF
52464 fi # test -n "$CONFIG_FILES"
52465
52466
52467 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52468 do
52469 case $ac_tag in
52470 :[FHLC]) ac_mode=$ac_tag; continue;;
52471 esac
52472 case $ac_mode$ac_tag in
52473 :[FHL]*:*);;
52474 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52475 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52476 { (exit 1); exit 1; }; };;
52477 :[FH]-) ac_tag=-:-;;
52478 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52479 esac
52480 ac_save_IFS=$IFS
52481 IFS=:
52482 set x $ac_tag
52483 IFS=$ac_save_IFS
52484 shift
52485 ac_file=$1
52486 shift
52487
52488 case $ac_mode in
52489 :L) ac_source=$1;;
52490 :[FH])
52491 ac_file_inputs=
52492 for ac_f
52493 do
52494 case $ac_f in
52495 -) ac_f="$tmp/stdin";;
52496 *) # Look for the file first in the build tree, then in the source tree
52497 # (if the path is not absolute). The absolute path cannot be DOS-style,
52498 # because $ac_f cannot contain `:'.
52499 test -f "$ac_f" ||
52500 case $ac_f in
52501 [\\/$]*) false;;
52502 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52503 esac ||
52504 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52505 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52506 { (exit 1); exit 1; }; };;
52507 esac
52508 ac_file_inputs="$ac_file_inputs $ac_f"
52509 done
52510
52511 # Let's still pretend it is `configure' which instantiates (i.e., don't
52512 # use $as_me), people would be surprised to read:
52513 # /* config.h. Generated by config.status. */
52514 configure_input="Generated from "`IFS=:
52515 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52516 if test x"$ac_file" != x-; then
52517 configure_input="$ac_file. $configure_input"
52518 { echo "$as_me:$LINENO: creating $ac_file" >&5
52519 echo "$as_me: creating $ac_file" >&6;}
52520 fi
52521
52522 case $ac_tag in
52523 *:-:* | *:-) cat >"$tmp/stdin";;
52524 esac
52525 ;;
52526 esac
52527
52528 ac_dir=`$as_dirname -- "$ac_file" ||
52529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52530 X"$ac_file" : 'X\(//\)[^/]' \| \
52531 X"$ac_file" : 'X\(//\)$' \| \
52532 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52533 echo X"$ac_file" |
52534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52535 s//\1/
52536 q
52537 }
52538 /^X\(\/\/\)[^/].*/{
52539 s//\1/
52540 q
52541 }
52542 /^X\(\/\/\)$/{
52543 s//\1/
52544 q
52545 }
52546 /^X\(\/\).*/{
52547 s//\1/
52548 q
52549 }
52550 s/.*/./; q'`
52551 { as_dir="$ac_dir"
52552 case $as_dir in #(
52553 -*) as_dir=./$as_dir;;
52554 esac
52555 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52556 as_dirs=
52557 while :; do
52558 case $as_dir in #(
52559 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52560 *) as_qdir=$as_dir;;
52561 esac
52562 as_dirs="'$as_qdir' $as_dirs"
52563 as_dir=`$as_dirname -- "$as_dir" ||
52564 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52565 X"$as_dir" : 'X\(//\)[^/]' \| \
52566 X"$as_dir" : 'X\(//\)$' \| \
52567 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52568 echo X"$as_dir" |
52569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52570 s//\1/
52571 q
52572 }
52573 /^X\(\/\/\)[^/].*/{
52574 s//\1/
52575 q
52576 }
52577 /^X\(\/\/\)$/{
52578 s//\1/
52579 q
52580 }
52581 /^X\(\/\).*/{
52582 s//\1/
52583 q
52584 }
52585 s/.*/./; q'`
52586 test -d "$as_dir" && break
52587 done
52588 test -z "$as_dirs" || eval "mkdir $as_dirs"
52589 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52590 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52591 { (exit 1); exit 1; }; }; }
52592 ac_builddir=.
52593
52594 case "$ac_dir" in
52595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52596 *)
52597 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52598 # A ".." for each directory in $ac_dir_suffix.
52599 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52600 case $ac_top_builddir_sub in
52601 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52602 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52603 esac ;;
52604 esac
52605 ac_abs_top_builddir=$ac_pwd
52606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52607 # for backward compatibility:
52608 ac_top_builddir=$ac_top_build_prefix
52609
52610 case $srcdir in
52611 .) # We are building in place.
52612 ac_srcdir=.
52613 ac_top_srcdir=$ac_top_builddir_sub
52614 ac_abs_top_srcdir=$ac_pwd ;;
52615 [\\/]* | ?:[\\/]* ) # Absolute name.
52616 ac_srcdir=$srcdir$ac_dir_suffix;
52617 ac_top_srcdir=$srcdir
52618 ac_abs_top_srcdir=$srcdir ;;
52619 *) # Relative name.
52620 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52621 ac_top_srcdir=$ac_top_build_prefix$srcdir
52622 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52623 esac
52624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52625
52626
52627 case $ac_mode in
52628 :F)
52629 #
52630 # CONFIG_FILE
52631 #
52632
52633 case $INSTALL in
52634 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52635 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52636 esac
52637 _ACEOF
52638
52639 cat >>$CONFIG_STATUS <<\_ACEOF
52640 # If the template does not know about datarootdir, expand it.
52641 # FIXME: This hack should be removed a few years after 2.60.
52642 ac_datarootdir_hack=; ac_datarootdir_seen=
52643
52644 case `sed -n '/datarootdir/ {
52645 p
52646 q
52647 }
52648 /@datadir@/p
52649 /@docdir@/p
52650 /@infodir@/p
52651 /@localedir@/p
52652 /@mandir@/p
52653 ' $ac_file_inputs` in
52654 *datarootdir*) ac_datarootdir_seen=yes;;
52655 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52656 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52657 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52658 _ACEOF
52659 cat >>$CONFIG_STATUS <<_ACEOF
52660 ac_datarootdir_hack='
52661 s&@datadir@&$datadir&g
52662 s&@docdir@&$docdir&g
52663 s&@infodir@&$infodir&g
52664 s&@localedir@&$localedir&g
52665 s&@mandir@&$mandir&g
52666 s&\\\${datarootdir}&$datarootdir&g' ;;
52667 esac
52668 _ACEOF
52669
52670 # Neutralize VPATH when `$srcdir' = `.'.
52671 # Shell code in configure.ac might set extrasub.
52672 # FIXME: do we really want to maintain this feature?
52673 cat >>$CONFIG_STATUS <<_ACEOF
52674 sed "$ac_vpsub
52675 $extrasub
52676 _ACEOF
52677 cat >>$CONFIG_STATUS <<\_ACEOF
52678 :t
52679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52680 s&@configure_input@&$configure_input&;t t
52681 s&@top_builddir@&$ac_top_builddir_sub&;t t
52682 s&@srcdir@&$ac_srcdir&;t t
52683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52684 s&@top_srcdir@&$ac_top_srcdir&;t t
52685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52686 s&@builddir@&$ac_builddir&;t t
52687 s&@abs_builddir@&$ac_abs_builddir&;t t
52688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52689 s&@INSTALL@&$ac_INSTALL&;t t
52690 $ac_datarootdir_hack
52691 " $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
52692
52693 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52694 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52695 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52696 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52697 which seems to be undefined. Please make sure it is defined." >&5
52698 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52699 which seems to be undefined. Please make sure it is defined." >&2;}
52700
52701 rm -f "$tmp/stdin"
52702 case $ac_file in
52703 -) cat "$tmp/out"; rm -f "$tmp/out";;
52704 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52705 esac
52706 ;;
52707 :H)
52708 #
52709 # CONFIG_HEADER
52710 #
52711 _ACEOF
52712
52713 # Transform confdefs.h into a sed script `conftest.defines', that
52714 # substitutes the proper values into config.h.in to produce config.h.
52715 rm -f conftest.defines conftest.tail
52716 # First, append a space to every undef/define line, to ease matching.
52717 echo 's/$/ /' >conftest.defines
52718 # Then, protect against being on the right side of a sed subst, or in
52719 # an unquoted here document, in config.status. If some macros were
52720 # called several times there might be several #defines for the same
52721 # symbol, which is useless. But do not sort them, since the last
52722 # AC_DEFINE must be honored.
52723 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52724 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52725 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52726 # PARAMS is the parameter list in the macro definition--in most cases, it's
52727 # just an empty string.
52728 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52729 ac_dB='\\)[ (].*,\\1define\\2'
52730 ac_dC=' '
52731 ac_dD=' ,'
52732
52733 uniq confdefs.h |
52734 sed -n '
52735 t rset
52736 :rset
52737 s/^[ ]*#[ ]*define[ ][ ]*//
52738 t ok
52739 d
52740 :ok
52741 s/[\\&,]/\\&/g
52742 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52743 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52744 ' >>conftest.defines
52745
52746 # Remove the space that was appended to ease matching.
52747 # Then replace #undef with comments. This is necessary, for
52748 # example, in the case of _POSIX_SOURCE, which is predefined and required
52749 # on some systems where configure will not decide to define it.
52750 # (The regexp can be short, since the line contains either #define or #undef.)
52751 echo 's/ $//
52752 s,^[ #]*u.*,/* & */,' >>conftest.defines
52753
52754 # Break up conftest.defines:
52755 ac_max_sed_lines=50
52756
52757 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52758 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52759 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52760 # et cetera.
52761 ac_in='$ac_file_inputs'
52762 ac_out='"$tmp/out1"'
52763 ac_nxt='"$tmp/out2"'
52764
52765 while :
52766 do
52767 # Write a here document:
52768 cat >>$CONFIG_STATUS <<_ACEOF
52769 # First, check the format of the line:
52770 cat >"\$tmp/defines.sed" <<\\CEOF
52771 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52772 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52773 b
52774 :def
52775 _ACEOF
52776 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52777 echo 'CEOF
52778 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52779 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52780 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52781 grep . conftest.tail >/dev/null || break
52782 rm -f conftest.defines
52783 mv conftest.tail conftest.defines
52784 done
52785 rm -f conftest.defines conftest.tail
52786
52787 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52788 cat >>$CONFIG_STATUS <<\_ACEOF
52789 if test x"$ac_file" != x-; then
52790 echo "/* $configure_input */" >"$tmp/config.h"
52791 cat "$ac_result" >>"$tmp/config.h"
52792 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52793 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52794 echo "$as_me: $ac_file is unchanged" >&6;}
52795 else
52796 rm -f $ac_file
52797 mv "$tmp/config.h" $ac_file
52798 fi
52799 else
52800 echo "/* $configure_input */"
52801 cat "$ac_result"
52802 fi
52803 rm -f "$tmp/out12"
52804 ;;
52805
52806 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52807 echo "$as_me: executing $ac_file commands" >&6;}
52808 ;;
52809 esac
52810
52811
52812 case $ac_file$ac_mode in
52813 "rcdefs.h":C)
52814 mkdir -p $outdir &&
52815 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52816 ;;
52817 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52818 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52819 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52820 "wx-config":C) rm -f wx-config
52821 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52822 ;;
52823
52824 esac
52825 done # for ac_tag
52826
52827
52828 { (exit 0); exit 0; }
52829 _ACEOF
52830 chmod +x $CONFIG_STATUS
52831 ac_clean_files=$ac_clean_files_save
52832
52833
52834 # configure is writing to config.log, and then calls config.status.
52835 # config.status does its own redirection, appending to config.log.
52836 # Unfortunately, on DOS this fails, as config.log is still kept open
52837 # by configure, so config.status won't be able to write to it; its
52838 # output is simply discarded. So we exec the FD to /dev/null,
52839 # effectively closing config.log, so it can be properly (re)opened and
52840 # appended to by config.status. When coming back to configure, we
52841 # need to make the FD available again.
52842 if test "$no_create" != yes; then
52843 ac_cs_success=:
52844 ac_config_status_args=
52845 test "$silent" = yes &&
52846 ac_config_status_args="$ac_config_status_args --quiet"
52847 exec 5>/dev/null
52848 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52849 exec 5>>config.log
52850 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52851 # would make configure fail if this is the last instruction.
52852 $ac_cs_success || { (exit 1); exit 1; }
52853 fi
52854
52855 #
52856 # CONFIG_SUBDIRS section.
52857 #
52858 if test "$no_recursion" != yes; then
52859
52860 # Remove --cache-file and --srcdir arguments so they do not pile up.
52861 ac_sub_configure_args=
52862 ac_prev=
52863 eval "set x $ac_configure_args"
52864 shift
52865 for ac_arg
52866 do
52867 if test -n "$ac_prev"; then
52868 ac_prev=
52869 continue
52870 fi
52871 case $ac_arg in
52872 -cache-file | --cache-file | --cache-fil | --cache-fi \
52873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52874 ac_prev=cache_file ;;
52875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52877 | --c=*)
52878 ;;
52879 --config-cache | -C)
52880 ;;
52881 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52882 ac_prev=srcdir ;;
52883 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52884 ;;
52885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52886 ac_prev=prefix ;;
52887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52888 ;;
52889 *)
52890 case $ac_arg in
52891 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52892 esac
52893 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52894 esac
52895 done
52896
52897 # Always prepend --prefix to ensure using the same prefix
52898 # in subdir configurations.
52899 ac_arg="--prefix=$prefix"
52900 case $ac_arg in
52901 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52902 esac
52903 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52904
52905 # Pass --silent
52906 if test "$silent" = yes; then
52907 ac_sub_configure_args="--silent $ac_sub_configure_args"
52908 fi
52909
52910 ac_popdir=`pwd`
52911 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52912
52913 # Do not complain, so a configure script can configure whichever
52914 # parts of a large source tree are present.
52915 test -d "$srcdir/$ac_dir" || continue
52916
52917 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52918 echo "$as_me:$LINENO: $ac_msg" >&5
52919 echo "$ac_msg" >&6
52920 { as_dir="$ac_dir"
52921 case $as_dir in #(
52922 -*) as_dir=./$as_dir;;
52923 esac
52924 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52925 as_dirs=
52926 while :; do
52927 case $as_dir in #(
52928 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52929 *) as_qdir=$as_dir;;
52930 esac
52931 as_dirs="'$as_qdir' $as_dirs"
52932 as_dir=`$as_dirname -- "$as_dir" ||
52933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52934 X"$as_dir" : 'X\(//\)[^/]' \| \
52935 X"$as_dir" : 'X\(//\)$' \| \
52936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52937 echo X"$as_dir" |
52938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52939 s//\1/
52940 q
52941 }
52942 /^X\(\/\/\)[^/].*/{
52943 s//\1/
52944 q
52945 }
52946 /^X\(\/\/\)$/{
52947 s//\1/
52948 q
52949 }
52950 /^X\(\/\).*/{
52951 s//\1/
52952 q
52953 }
52954 s/.*/./; q'`
52955 test -d "$as_dir" && break
52956 done
52957 test -z "$as_dirs" || eval "mkdir $as_dirs"
52958 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52959 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52960 { (exit 1); exit 1; }; }; }
52961 ac_builddir=.
52962
52963 case "$ac_dir" in
52964 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52965 *)
52966 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52967 # A ".." for each directory in $ac_dir_suffix.
52968 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52969 case $ac_top_builddir_sub in
52970 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52971 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52972 esac ;;
52973 esac
52974 ac_abs_top_builddir=$ac_pwd
52975 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52976 # for backward compatibility:
52977 ac_top_builddir=$ac_top_build_prefix
52978
52979 case $srcdir in
52980 .) # We are building in place.
52981 ac_srcdir=.
52982 ac_top_srcdir=$ac_top_builddir_sub
52983 ac_abs_top_srcdir=$ac_pwd ;;
52984 [\\/]* | ?:[\\/]* ) # Absolute name.
52985 ac_srcdir=$srcdir$ac_dir_suffix;
52986 ac_top_srcdir=$srcdir
52987 ac_abs_top_srcdir=$srcdir ;;
52988 *) # Relative name.
52989 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52990 ac_top_srcdir=$ac_top_build_prefix$srcdir
52991 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52992 esac
52993 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52994
52995
52996 cd "$ac_dir"
52997
52998 # Check for guested configure; otherwise get Cygnus style configure.
52999 if test -f "$ac_srcdir/configure.gnu"; then
53000 ac_sub_configure=$ac_srcdir/configure.gnu
53001 elif test -f "$ac_srcdir/configure"; then
53002 ac_sub_configure=$ac_srcdir/configure
53003 elif test -f "$ac_srcdir/configure.in"; then
53004 # This should be Cygnus configure.
53005 ac_sub_configure=$ac_aux_dir/configure
53006 else
53007 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53009 ac_sub_configure=
53010 fi
53011
53012 # The recursion is here.
53013 if test -n "$ac_sub_configure"; then
53014 # Make the cache file name correct relative to the subdirectory.
53015 case $cache_file in
53016 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53017 *) # Relative name.
53018 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53019 esac
53020
53021 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53022 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53023 # The eval makes quoting arguments work.
53024 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53025 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53026 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53027 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53028 { (exit 1); exit 1; }; }
53029 fi
53030
53031 cd "$ac_popdir"
53032 done
53033 fi
53034
53035
53036 echo
53037 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53038 echo ""
53039 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53040 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53041
53042 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53043 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53044 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53045 if test "$wxUSE_UNICODE" = "yes"; then
53046 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53047 echo " (using UTF-8)"
53048 else
53049 echo " (using wchar_t)"
53050 fi
53051 else
53052 echo
53053 fi
53054
53055 echo " What level of wxWidgets compatibility should be enabled?"
53056 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53057 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53058
53059 echo " Which libraries should wxWidgets use?"
53060 echo " STL ${wxUSE_STL}"
53061 echo " jpeg ${wxUSE_LIBJPEG-none}"
53062 echo " png ${wxUSE_LIBPNG-none}"
53063 echo " regex ${wxUSE_REGEX}"
53064 echo " tiff ${wxUSE_LIBTIFF-none}"
53065 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53066 echo " xpm ${wxUSE_LIBXPM-none}"
53067 fi
53068 echo " zlib ${wxUSE_ZLIB}"
53069 echo " expat ${wxUSE_EXPAT}"
53070 echo " libmspack ${wxUSE_LIBMSPACK}"
53071 echo " sdl ${wxUSE_LIBSDL}"
53072
53073 echo ""
53074