]> git.saurik.com Git - wxWidgets.git/blob - configure
Ignore "%*" in the shell command strings in MSW registry.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 subdirs
681 PKG_CONFIG
682 GTK_CFLAGS
683 GTK_LIBS
684 GTK_CONFIG
685 DIRECTFB_CFLAGS
686 DIRECTFB_LIBS
687 XMKMF
688 X_CFLAGS
689 X_PRE_LIBS
690 X_LIBS
691 X_EXTRA_LIBS
692 PANGOX_CFLAGS
693 PANGOX_LIBS
694 PANGOFT2_CFLAGS
695 PANGOFT2_LIBS
696 PANGOXFT_CFLAGS
697 PANGOXFT_LIBS
698 CFLAGS_VISIBILITY
699 CXXFLAGS_VISIBILITY
700 LIBICONV
701 GXX_VERSION
702 SDL_CONFIG
703 SDL_CFLAGS
704 SDL_LIBS
705 GTKPRINT_CFLAGS
706 GTKPRINT_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 HILDON2_CFLAGS
714 HILDON2_LIBS
715 PYTHON
716 COND_PYTHON
717 CAIRO_CFLAGS
718 CAIRO_LIBS
719 GST_CFLAGS
720 GST_LIBS
721 ALL_WX_LIBS
722 BUILT_WX_LIBS
723 STD_BASE_LIBS
724 STD_GUI_LIBS
725 wxUSE_ZLIB
726 wxUSE_REGEX
727 wxUSE_EXPAT
728 wxUSE_LIBJPEG
729 wxUSE_LIBPNG
730 wxUSE_LIBTIFF
731 VENDOR
732 OFFICIAL_BUILD
733 WX_FLAVOUR
734 WX_LIB_FLAVOUR
735 WXUNIV
736 MONOLITHIC
737 USE_PLUGINS
738 CXXWARNINGS
739 EXTRALIBS
740 EXTRALIBS_XML
741 EXTRALIBS_HTML
742 EXTRALIBS_MEDIA
743 EXTRALIBS_GUI
744 EXTRALIBS_OPENGL
745 EXTRALIBS_SDL
746 EXTRALIBS_STC
747 WITH_PLUGIN_SDL
748 EXTRALIBS_GTKPRINT
749 EXTRALIBS_GNOMEPRINT
750 EXTRALIBS_GNOMEVFS
751 EXTRALIBS_HILDON
752 UNICODE
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 DYLIB_RPATH_INSTALL
758 DYLIB_RPATH_POSTLINK
759 SAMPLES_RPATH_FLAG
760 HEADER_PAD_OPTION
761 HOST_SUFFIX
762 CPPUNIT_CFLAGS
763 CPPUNIT_LIBS
764 RANLIB
765 INSTALL_PROGRAM
766 INSTALL_SCRIPT
767 INSTALL_DATA
768 LN_S
769 SET_MAKE
770 MAKE_SET
771 AROPTIONS
772 STRIP
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 IF_GNU_MAKE
777 PLATFORM_UNIX
778 PLATFORM_WIN32
779 PLATFORM_MSDOS
780 PLATFORM_MAC
781 PLATFORM_MACOS
782 PLATFORM_MACOSX
783 PLATFORM_OS2
784 PLATFORM_BEOS
785 SO_SUFFIX
786 SO_SUFFIX_MODULE
787 DLLIMP_SUFFIX
788 LIBPREFIX
789 LIBEXT
790 DLLPREFIX
791 DLLPREFIX_MODULE
792 dlldir
793 AIX_CXX_LD
794 SHARED_LD_CC
795 SHARED_LD_CXX
796 SHARED_LD_MODULE_CC
797 SHARED_LD_MODULE_CXX
798 PIC_FLAG
799 WINDOWS_IMPLIB
800 USE_SOVERSION
801 USE_SOVERLINUX
802 USE_SOVERSOLARIS
803 USE_SOVERCYGWIN
804 USE_MACVERSION
805 USE_SOTWOSYMLINKS
806 SONAME_FLAG
807 DEPS_TRACKING
808 BK_DEPS
809 WINDRES
810 REZ
811 SETFILE
812 OBJCXXFLAGS
813 GCC_PCH
814 ICC_PCH
815 ICC_PCH_CREATE_SWITCH
816 ICC_PCH_USE_SWITCH
817 BK_MAKE_PCH
818 COND_BUILD_DEBUG
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
836 COND_DEBUG_FLAG_0
837 COND_DEBUG_FLAG_1
838 COND_DEBUG_INFO_0
839 COND_DEBUG_INFO_1
840 COND_DEPS_TRACKING_0
841 COND_DEPS_TRACKING_1
842 COND_GCC_PCH_1
843 COND_ICC_PCH_1
844 COND_MONOLITHIC_0
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MAC_0
897 COND_PLATFORM_MAC_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
900 COND_PLATFORM_OS2_1
901 COND_PLATFORM_UNIX_0
902 COND_PLATFORM_UNIX_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
924 COND_TOOLKIT_
925 COND_TOOLKIT_COCOA
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB
929 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
938 COND_TOOLKIT_MAC
939 COND_TOOLKIT_MGL
940 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11
961 COND_TOOLKIT_X11_USE_GUI_1
962 COND_UNICODE_1
963 COND_USE_CAIRO_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
966 COND_USE_GUI_0
967 COND_USE_GUI_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
977 COND_USE_OPENGL_1
978 COND_USE_PCH_1
979 COND_USE_PLUGINS_0
980 COND_USE_RTTI_0
981 COND_USE_RTTI_1
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_0
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
988 COND_USE_STC_1
989 COND_USE_THREADS_0
990 COND_USE_THREADS_1
991 COND_USE_XRC_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
994 COND_WXUNIV_0
995 COND_WXUNIV_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1008 DEREZ
1009 SHARED
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1012 USE_GUI
1013 AFMINSTALL
1014 WIN32INSTALL
1015 TOOLKIT
1016 TOOLKIT_DIR
1017 TOOLCHAIN_NAME
1018 TOOLCHAIN_FULLNAME
1019 cross_compiling
1020 WIDGET_SET
1021 WX_RELEASE
1022 WX_VERSION
1023 WX_SUBVERSION
1024 WX_CHARTYPE
1025 WXCONFIG_CPPFLAGS
1026 WXCONFIG_CFLAGS
1027 WXCONFIG_CXXFLAGS
1028 WXCONFIG_LIBS
1029 WXCONFIG_RPATH
1030 WXCONFIG_LDFLAGS
1031 WXCONFIG_LDFLAGS_GUI
1032 WXCONFIG_RESFLAGS
1033 GUIDIST
1034 DISTDIR
1035 SAMPLES_SUBDIRS
1036 LDFLAGS_GL
1037 OPENGL_LIBS
1038 DMALLOC_LIBS
1039 WX_VERSION_TAG
1040 RESCOMP
1041 RESFLAGS
1042 RESPROGRAMOBJ
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1045 LIBWXMACRES
1046 POSTLINK_COMMAND
1047 MACSETFILE
1048 GCC
1049 DLLTOOL
1050 CPPUNIT_CONFIG
1051 LIBOBJS
1052 LTLIBOBJS'
1053 ac_subst_files=''
1054 ac_precious_vars='build_alias
1055 host_alias
1056 target_alias
1057 CC
1058 CFLAGS
1059 LDFLAGS
1060 LIBS
1061 CPPFLAGS
1062 CPP
1063 CXX
1064 CXXFLAGS
1065 CCC
1066 PKG_CONFIG
1067 DIRECTFB_CFLAGS
1068 DIRECTFB_LIBS
1069 XMKMF
1070 PANGOX_CFLAGS
1071 PANGOX_LIBS
1072 PANGOFT2_CFLAGS
1073 PANGOFT2_LIBS
1074 PANGOXFT_CFLAGS
1075 PANGOXFT_LIBS
1076 GTKPRINT_CFLAGS
1077 GTKPRINT_LIBS
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1080 GNOMEVFS_CFLAGS
1081 GNOMEVFS_LIBS
1082 HILDON_CFLAGS
1083 HILDON_LIBS
1084 HILDON2_CFLAGS
1085 HILDON2_LIBS
1086 CAIRO_CFLAGS
1087 CAIRO_LIBS
1088 GST_CFLAGS
1089 GST_LIBS'
1090 ac_subdirs_all='src/tiff
1091 src/expat'
1092
1093 # Initialize some variables set by options.
1094 ac_init_help=
1095 ac_init_version=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file=/dev/null
1099 exec_prefix=NONE
1100 no_create=
1101 no_recursion=
1102 prefix=NONE
1103 program_prefix=NONE
1104 program_suffix=NONE
1105 program_transform_name=s,x,x,
1106 silent=
1107 site=
1108 srcdir=
1109 verbose=
1110 x_includes=NONE
1111 x_libraries=NONE
1112
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir='${exec_prefix}/bin'
1120 sbindir='${exec_prefix}/sbin'
1121 libexecdir='${exec_prefix}/libexec'
1122 datarootdir='${prefix}/share'
1123 datadir='${datarootdir}'
1124 sysconfdir='${prefix}/etc'
1125 sharedstatedir='${prefix}/com'
1126 localstatedir='${prefix}/var'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir='${datarootdir}/info'
1131 htmldir='${docdir}'
1132 dvidir='${docdir}'
1133 pdfdir='${docdir}'
1134 psdir='${docdir}'
1135 libdir='${exec_prefix}/lib'
1136 localedir='${datarootdir}/locale'
1137 mandir='${datarootdir}/man'
1138
1139 ac_prev=
1140 ac_dashdash=
1141 for ac_option
1142 do
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\$ac_option
1146 ac_prev=
1147 continue
1148 fi
1149
1150 case $ac_option in
1151 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 *) ac_optarg=yes ;;
1153 esac
1154
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1156
1157 case $ac_dashdash$ac_option in
1158 --)
1159 ac_dashdash=yes ;;
1160
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 ac_prev=bindir ;;
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir=$ac_optarg ;;
1165
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev=build_alias ;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias=$ac_optarg ;;
1170
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev=cache_file ;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file=$ac_optarg ;;
1177
1178 --config-cache | -C)
1179 cache_file=config.cache ;;
1180
1181 -datadir | --datadir | --datadi | --datad)
1182 ac_prev=datadir ;;
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir=$ac_optarg ;;
1185
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev=datarootdir ;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir=$ac_optarg ;;
1192
1193 -disable-* | --disable-*)
1194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_$ac_feature=no ;;
1201
1202 -docdir | --docdir | --docdi | --doc | --do)
1203 ac_prev=docdir ;;
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir=$ac_optarg ;;
1206
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 ac_prev=dvidir ;;
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir=$ac_optarg ;;
1211
1212 -enable-* | --enable-*)
1213 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_$ac_feature=\$ac_optarg ;;
1220
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev=exec_prefix ;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix=$ac_optarg ;;
1229
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1232 with_gas=yes ;;
1233
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help=long ;;
1236 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1237 ac_init_help=recursive ;;
1238 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1239 ac_init_help=short ;;
1240
1241 -host | --host | --hos | --ho)
1242 ac_prev=host_alias ;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias=$ac_optarg ;;
1245
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 ac_prev=htmldir ;;
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 | --ht=*)
1250 htmldir=$ac_optarg ;;
1251
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev=includedir ;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir=$ac_optarg ;;
1258
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 ac_prev=infodir ;;
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir=$ac_optarg ;;
1263
1264 -libdir | --libdir | --libdi | --libd)
1265 ac_prev=libdir ;;
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir=$ac_optarg ;;
1268
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev=libexecdir ;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir=$ac_optarg ;;
1275
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev=localedir ;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir=$ac_optarg ;;
1280
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev=localstatedir ;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir=$ac_optarg ;;
1287
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 ac_prev=mandir ;;
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir=$ac_optarg ;;
1292
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1295 with_fp=no ;;
1296
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1299 no_create=yes ;;
1300
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1303 no_recursion=yes ;;
1304
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev=oldincludedir ;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir=$ac_optarg ;;
1313
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 ac_prev=prefix ;;
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix=$ac_optarg ;;
1318
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev=program_prefix ;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix=$ac_optarg ;;
1325
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev=program_suffix ;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix=$ac_optarg ;;
1332
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev=program_transform_name ;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name=$ac_optarg ;;
1349
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 ac_prev=pdfdir ;;
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir=$ac_optarg ;;
1354
1355 -psdir | --psdir | --psdi | --psd | --ps)
1356 ac_prev=psdir ;;
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1358 psdir=$ac_optarg ;;
1359
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 silent=yes ;;
1363
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 ac_prev=sbindir ;;
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 | --sbi=* | --sb=*)
1368 sbindir=$ac_optarg ;;
1369
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1373 | --sha | --sh)
1374 ac_prev=sharedstatedir ;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 | --sha=* | --sh=*)
1379 sharedstatedir=$ac_optarg ;;
1380
1381 -site | --site | --sit)
1382 ac_prev=site ;;
1383 -site=* | --site=* | --sit=*)
1384 site=$ac_optarg ;;
1385
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 ac_prev=srcdir ;;
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir=$ac_optarg ;;
1390
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev=sysconfdir ;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir=$ac_optarg ;;
1397
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev=target_alias ;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias=$ac_optarg ;;
1402
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1404 verbose=yes ;;
1405
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version=: ;;
1408
1409 -with-* | --with-*)
1410 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=\$ac_optarg ;;
1417
1418 -without-* | --without-*)
1419 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=no ;;
1426
1427 --x)
1428 # Obsolete; use --with-x.
1429 with_x=yes ;;
1430
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev=x_includes ;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes=$ac_optarg ;;
1437
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev=x_libraries ;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries=$ac_optarg ;;
1444
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1448 ;;
1449
1450 *=*)
1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\$ac_optarg
1457 export $ac_envvar ;;
1458
1459 *)
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 ;;
1466
1467 esac
1468 done
1469
1470 if test -n "$ac_prev"; then
1471 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1474 fi
1475
1476 # Be sure to have absolute directory names.
1477 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 [\\/$]* | ?:[\\/]* ) continue;;
1485 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1486 esac
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1489 done
1490
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1494 build=$build_alias
1495 host=$host_alias
1496 target=$target_alias
1497
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x; then
1500 if test "x$build_alias" = x; then
1501 cross_compiling=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1505 cross_compiling=yes
1506 fi
1507 fi
1508
1509 ac_tool_prefix=
1510 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1511
1512 test "$silent" = yes && exec 6>/dev/null
1513
1514
1515 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di=`ls -di .` &&
1517 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 echo X"$0" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)[^/].*/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\/\)$/{
1544 s//\1/
1545 q
1546 }
1547 /^X\(\/\).*/{
1548 s//\1/
1549 q
1550 }
1551 s/.*/./; q'`
1552 srcdir=$ac_confdir
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 srcdir=..
1555 fi
1556 else
1557 ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1568 pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1592 cat <<_ACEOF
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1646 _ACEOF
1647
1648 cat <<\_ACEOF
1649
1650 X features:
1651 --x-includes=DIR X include files are in DIR
1652 --x-libraries=DIR X library files are in DIR
1653
1654 System types:
1655 --build=BUILD configure for building on BUILD [guessed]
1656 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1657 _ACEOF
1658 fi
1659
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1663 esac
1664 cat <<\_ACEOF
1665
1666 Optional Features:
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --disable-gui don't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1684 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros, even if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets 2.6 compatibility
1704 --disable-compat28 disable wxWidgets 2.8 compatibility
1705 --disable-rpath disable use of rpath for uninstalled builds
1706 --enable-objc_uniquifying enable Objective-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x-locale support (requires wxLocale)
1711 --enable-config use wxConfig (and derived) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP (requires wxProtocol
1714 --enable-http use wxHTTP (requires wxProtocol
1715 --enable-fileproto use wxFileProto class (requires wxProtocol
1716 --enable-sockets use socket/network classes
1717 --enable-ipv6 enable IPv6 support in wxSocket
1718 --enable-ole use OLE classes (Win32 only)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication (wxSocket etc.)
1721 --enable-baseevtloop use event loop in console programs too
1722 --enable-epollloop use wxEpollDispatcher class (Linux only)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding/decoding functions
1728 --enable-backtrace use wxStackWalker class for getting backtraces
1729 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class for DLL loading
1735 --enable-dynamicloader use (new) wxDynamicLibrary class
1736 --enable-exceptions build exception-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filehistory use wxFileHistory class
1740 --enable-filesystem use virtual file systems classes
1741 --enable-fontenum use wxFontEnumerator class
1742 --enable-fontmap use font encodings conversion classes
1743 --enable-fs_archive use virtual archive filesystems
1744 --enable-fs_inet use virtual HTTP/FTP filesystems
1745 --enable-fs_zip now replaced by fs_archive
1746 --enable-fswatcher use wxFileSystemWatcher class
1747 --enable-geometry use geometry class
1748 --enable-log use logging system
1749 --enable-longlong use wxLongLong class
1750 --enable-mimetype use wxMimeTypesManager
1751 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1752 --enable-snglinst use wxSingleInstanceChecker class
1753 --enable-sound use wxSound class
1754 --enable-stdpaths use wxStandardPaths class
1755 --enable-stopwatch use wxStopWatch class
1756 --enable-streams use wxStream etc classes
1757 --enable-sysoptions use wxSystemOptions
1758 --enable-tarstream use wxTar streams
1759 --enable-textbuf use wxTextBuffer class
1760 --enable-textfile use wxTextFile class
1761 --enable-timer use wxTimer class
1762 --enable-variant use wxVariant class
1763 --enable-zipstream use wxZip streams
1764 --enable-url use wxURL class
1765 --enable-protocol use wxProtocol class
1766 --enable-protocol-http HTTP support in wxProtocol
1767 --enable-protocol-ftp FTP support in wxProtocol
1768 --enable-protocol-file FILE support in wxProtocol
1769 --enable-threads use threads
1770 --enable-iniconf use wxIniConfig (Win32 only)
1771 --enable-regkey use wxRegKey class (Win32 only)
1772 --enable-docview use document view architecture
1773 --enable-help use help subsystem
1774 --enable-mshtmlhelp use MS HTML Help (win32)
1775 --enable-html use wxHTML sub-library
1776 --enable-htmlhelp use wxHTML-based help
1777 --enable-xrc use XRC resources sub-library
1778 --enable-aui use AUI docking library
1779 --enable-propgrid use wxPropertyGrid library
1780 --enable-ribbon use wxRibbon library
1781 --enable-stc use wxStyledTextCtrl library
1782 --enable-constraints use layout-constraints system
1783 --enable-loggui use standard GUI logger
1784 --enable-logwin use wxLogWindow
1785 --enable-logdialog use wxLogDialog
1786 --enable-mdi use multiple document interface architecture
1787 --enable-mdidoc use docview architecture with MDI
1788 --enable-mediactrl use wxMediaCtrl class
1789 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1790 --enable-webkit use wxWebKitCtrl (Mac)
1791 --enable-richtext use wxRichTextCtrl
1792 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1793 --enable-printarch use printing architecture
1794 --enable-svg use wxSVGFileDC device context
1795 --enable-graphics_ctx use graphics context 2D drawing API
1796 --enable-clipboard use wxClipboard class
1797 --enable-dnd use Drag'n'Drop classes
1798 --enable-metafile use win32 metafiles
1799 --disable-controls disable compilation of all standard controls
1800 --enable-accel use accelerators
1801 --enable-animatectrl use wxAnimationCtrl class
1802 --enable-bmpbutton use wxBitmapButton class
1803 --enable-bmpcombobox use wxBitmapComboBox class
1804 --enable-button use wxButton class
1805 --enable-calendar use wxCalendarCtrl class
1806 --enable-caret use wxCaret class
1807 --enable-checkbox use wxCheckBox class
1808 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1809 --enable-choice use wxChoice class
1810 --enable-choicebook use wxChoicebook class
1811 --enable-collpane use wxCollapsiblePane class
1812 --enable-colourpicker use wxColourPickerCtrl class
1813 --enable-combobox use wxComboBox class
1814 --enable-comboctrl use wxComboCtrl class
1815 --enable-dataviewctrl use wxDataViewCtrl class
1816 --enable-datepick use wxDatePickerCtrl class
1817 --enable-detect_sm use code to detect X11 session manager
1818 --enable-dirpicker use wxDirPickerCtrl class
1819 --enable-display use wxDisplay class
1820 --enable-editablebox use wxEditableListBox class
1821 --enable-filectrl use wxFileCtrl class
1822 --enable-filepicker use wxFilePickerCtrl class
1823 --enable-fontpicker use wxFontPickerCtrl class
1824 --enable-gauge use wxGauge class
1825 --enable-grid use wxGrid class
1826 --enable-headerctrl use wxHeaderCtrl class
1827 --enable-hyperlink use wxHyperlinkCtrl class
1828 --enable-imaglist use wxImageList class
1829 --enable-infobar use wxInfoBar class
1830 --enable-listbook use wxListbook class
1831 --enable-listbox use wxListBox class
1832 --enable-listctrl use wxListCtrl class
1833 --enable-notebook use wxNotebook class
1834 --enable-notifmsg use wxNotificationMessage class
1835 --enable-odcombobox use wxOwnerDrawnComboBox class
1836 --enable-popupwin use wxPopUpWindow class
1837 --enable-radiobox use wxRadioBox class
1838 --enable-radiobtn use wxRadioButton class
1839 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1840 --enable-sash use wxSashWindow class
1841 --enable-scrollbar use wxScrollBar class and scrollable windows
1842 --enable-searchctrl use wxSearchCtrl class
1843 --enable-slider use wxSlider class
1844 --enable-spinbtn use wxSpinButton class
1845 --enable-spinctrl use wxSpinCtrl class
1846 --enable-splitter use wxSplitterWindow class
1847 --enable-statbmp use wxStaticBitmap class
1848 --enable-statbox use wxStaticBox class
1849 --enable-statline use wxStaticLine class
1850 --enable-stattext use wxStaticText class
1851 --enable-statusbar use wxStatusBar class
1852 --enable-taskbaricon use wxTaskBarIcon class
1853 --enable-tbarnative use native wxToolBar class
1854 --enable-textctrl use wxTextCtrl class
1855 --enable-tipwindow use wxTipWindow class
1856 --enable-togglebtn use wxToggleButton class
1857 --enable-toolbar use wxToolBar class
1858 --enable-toolbook use wxToolbook class
1859 --enable-treebook use wxTreebook class
1860 --enable-treectrl use wxTreeCtrl class
1861 --enable-commondlg use all common dialogs
1862 --enable-aboutdlg use wxAboutBox
1863 --enable-choicedlg use wxChoiceDialog
1864 --enable-coldlg use wxColourDialog
1865 --enable-filedlg use wxFileDialog
1866 --enable-finddlg use wxFindReplaceDialog
1867 --enable-fontdlg use wxFontDialog
1868 --enable-dirdlg use wxDirDialog
1869 --enable-msgdlg use wxMessageDialog
1870 --enable-numberdlg use wxNumberEntryDialog
1871 --enable-splash use wxSplashScreen
1872 --enable-textdlg use wxTextDialog
1873 --enable-tipdlg use startup tips
1874 --enable-progressdlg use wxProgressDialog
1875 --enable-wizarddlg use wxWizard
1876 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1877 --enable-miniframe use wxMiniFrame class
1878 --enable-tooltips use wxToolTip class
1879 --enable-splines use spline drawing code
1880 --enable-mousewheel use mousewheel
1881 --enable-validators use wxValidator and derived classes
1882 --enable-busyinfo use wxBusyInfo
1883 --enable-joystick use wxJoystick
1884 --enable-metafiles use wxMetaFile (Win32 only)
1885 --enable-dragimage use wxDragImage
1886 --enable-accessibility enable accessibility support
1887 --enable-uiactionsim use wxUIActionSimulator (experimental)
1888 --enable-palette use wxPalette class
1889 --enable-image use wxImage class
1890 --enable-gif use gif images (GIF file format)
1891 --enable-pcx use pcx images (PCX file format)
1892 --enable-tga use tga images (TGA file format)
1893 --enable-iff use iff images (IFF file format)
1894 --enable-pnm use pnm images (PNM file format)
1895 --enable-xpm use xpm images (XPM file format)
1896 --enable-ico_cur use Windows ICO and CUR formats
1897 --enable-dccache cache temporary wxDC objects (Win32 only)
1898 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1899 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1900 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1901 --enable-wxdib use wxDIB class (Win32 only)
1902 --enable-autoidman use automatic ids management
1903 --disable-largefile omit support for large files
1904 --disable-gtktest do not try to compile and run a test GTK+ program
1905 --disable-gtktest Do not try to compile and run a test GTK program
1906 --disable-sdltest Do not try to compile and run a test SDL program
1907 --enable-omf use OMF object format (OS/2)
1908 --disable-dependency-tracking
1909 don't use dependency tracking even if the compiler
1910 can
1911 --disable-precomp-headers
1912 don't use precompiled headers even if compiler can
1913
1914 Optional Packages:
1915 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1916 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1917 --without-subdirs don't generate makefiles for samples/demos/...
1918 --with-flavour=NAME specify a name to identify this build
1919 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1920 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1921 --with-motif use Motif/Lesstif
1922 --with-osx_carbon use Mac OS X (Carbon)
1923 --with-osx_cocoa use Mac OS X (Cocoa)
1924 --with-osx_iphone use iPhone OS X port
1925 --with-osx use Mac OS X (default port, currently Carbon)
1926 --with-carbon same as --with-osx_carbon
1927 --with-cocoa same as --with-osx_cocoa
1928 --with-iphone same as --with-osx_iphone
1929 --with-mac same as --with-osx
1930 --with-old_cocoa use old, deprecated, Cocoa port
1931 --with-wine use Wine
1932 --with-msw use MS-Windows
1933 --with-pm use OS/2 Presentation Manager
1934 --with-mgl use SciTech MGL
1935 --with-directfb use DirectFB
1936 --with-microwin use MicroWindows
1937 --with-x11 use X11
1938 --with-libpng use libpng (PNG image format)
1939 --with-libjpeg use libjpeg (JPEG file format)
1940 --with-libtiff use libtiff (TIFF file format)
1941 --with-libxpm use libxpm (XPM file format)
1942 --with-libiconv use libiconv (character conversion)
1943 --with-libmspack use libmspack (CHM help files loading)
1944 --without-gtkprint don't use GTK printing support
1945 --without-gnomeprint don't use GNOME printing libraries
1946 --with-gnomevfs use GNOME VFS for associating MIME types
1947 --with-hildon use Hildon framework for Nokia 770/800/810
1948 --with-opengl use OpenGL (or Mesa)
1949 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1950 --with-sdl use SDL for audio on Unix
1951 --with-regex enable support for wxRegEx class
1952 --with-zlib use zlib for LZW compression
1953 --with-expat enable XML support using expat parser
1954 --with-macosx-sdk=PATH use an OS X SDK at PATH
1955 --with-macosx-version-min=VER build binaries which require at least this OS X version
1956 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1957 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1958 --with-x use the X Window System
1959 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1960 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1961 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1962 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1963 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1964
1965 Some influential environment variables:
1966 CC C compiler command
1967 CFLAGS C compiler flags
1968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1969 nonstandard directory <lib dir>
1970 LIBS libraries to pass to the linker, e.g. -l<library>
1971 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1972 you have headers in a nonstandard directory <include dir>
1973 CPP C preprocessor
1974 CXX C++ compiler command
1975 CXXFLAGS C++ compiler flags
1976 PKG_CONFIG path to pkg-config utility
1977 DIRECTFB_CFLAGS
1978 C compiler flags for DIRECTFB, overriding pkg-config
1979 DIRECTFB_LIBS
1980 linker flags for DIRECTFB, overriding pkg-config
1981 XMKMF Path to xmkmf, Makefile generator for X Window System
1982 PANGOX_CFLAGS
1983 C compiler flags for PANGOX, overriding pkg-config
1984 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1985 PANGOFT2_CFLAGS
1986 C compiler flags for PANGOFT2, overriding pkg-config
1987 PANGOFT2_LIBS
1988 linker flags for PANGOFT2, overriding pkg-config
1989 PANGOXFT_CFLAGS
1990 C compiler flags for PANGOXFT, overriding pkg-config
1991 PANGOXFT_LIBS
1992 linker flags for PANGOXFT, overriding pkg-config
1993 GTKPRINT_CFLAGS
1994 C compiler flags for GTKPRINT, overriding pkg-config
1995 GTKPRINT_LIBS
1996 linker flags for GTKPRINT, overriding pkg-config
1997 LIBGNOMEPRINTUI_CFLAGS
1998 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 LIBGNOMEPRINTUI_LIBS
2000 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2001 GNOMEVFS_CFLAGS
2002 C compiler flags for GNOMEVFS, overriding pkg-config
2003 GNOMEVFS_LIBS
2004 linker flags for GNOMEVFS, overriding pkg-config
2005 HILDON_CFLAGS
2006 C compiler flags for HILDON, overriding pkg-config
2007 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2008 HILDON2_CFLAGS
2009 C compiler flags for HILDON2, overriding pkg-config
2010 HILDON2_LIBS
2011 linker flags for HILDON2, overriding pkg-config
2012 CAIRO_CFLAGS
2013 C compiler flags for CAIRO, overriding pkg-config
2014 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2015 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2016 GST_LIBS linker flags for GST, overriding pkg-config
2017
2018 Use these variables to override the choices made by `configure' or to help
2019 it to find libraries and programs with nonstandard names/locations.
2020
2021 Report bugs to <wx-dev@lists.wxwidgets.org>.
2022 _ACEOF
2023 ac_status=$?
2024 fi
2025
2026 if test "$ac_init_help" = "recursive"; then
2027 # If there are subdirs, report their specific --help.
2028 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2029 test -d "$ac_dir" || continue
2030 ac_builddir=.
2031
2032 case "$ac_dir" in
2033 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2034 *)
2035 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2036 # A ".." for each directory in $ac_dir_suffix.
2037 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2038 case $ac_top_builddir_sub in
2039 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2040 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2041 esac ;;
2042 esac
2043 ac_abs_top_builddir=$ac_pwd
2044 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2045 # for backward compatibility:
2046 ac_top_builddir=$ac_top_build_prefix
2047
2048 case $srcdir in
2049 .) # We are building in place.
2050 ac_srcdir=.
2051 ac_top_srcdir=$ac_top_builddir_sub
2052 ac_abs_top_srcdir=$ac_pwd ;;
2053 [\\/]* | ?:[\\/]* ) # Absolute name.
2054 ac_srcdir=$srcdir$ac_dir_suffix;
2055 ac_top_srcdir=$srcdir
2056 ac_abs_top_srcdir=$srcdir ;;
2057 *) # Relative name.
2058 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2059 ac_top_srcdir=$ac_top_build_prefix$srcdir
2060 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2061 esac
2062 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2063
2064 cd "$ac_dir" || { ac_status=$?; continue; }
2065 # Check for guested configure.
2066 if test -f "$ac_srcdir/configure.gnu"; then
2067 echo &&
2068 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2069 elif test -f "$ac_srcdir/configure"; then
2070 echo &&
2071 $SHELL "$ac_srcdir/configure" --help=recursive
2072 else
2073 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2074 fi || ac_status=$?
2075 cd "$ac_pwd" || { ac_status=$?; break; }
2076 done
2077 fi
2078
2079 test -n "$ac_init_help" && exit $ac_status
2080 if $ac_init_version; then
2081 cat <<\_ACEOF
2082 wxWidgets configure 2.9.1
2083 generated by GNU Autoconf 2.61
2084
2085 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2086 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2087 This configure script is free software; the Free Software Foundation
2088 gives unlimited permission to copy, distribute and modify it.
2089 _ACEOF
2090 exit
2091 fi
2092 cat >config.log <<_ACEOF
2093 This file contains any messages produced by compilers while
2094 running configure, to aid debugging if configure makes a mistake.
2095
2096 It was created by wxWidgets $as_me 2.9.1, which was
2097 generated by GNU Autoconf 2.61. Invocation command line was
2098
2099 $ $0 $@
2100
2101 _ACEOF
2102 exec 5>>config.log
2103 {
2104 cat <<_ASUNAME
2105 ## --------- ##
2106 ## Platform. ##
2107 ## --------- ##
2108
2109 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2110 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2111 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2112 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2113 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2114
2115 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2116 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2117
2118 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2119 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2120 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2121 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2122 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2123 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2124 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2125
2126 _ASUNAME
2127
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 echo "PATH: $as_dir"
2134 done
2135 IFS=$as_save_IFS
2136
2137 } >&5
2138
2139 cat >&5 <<_ACEOF
2140
2141
2142 ## ----------- ##
2143 ## Core tests. ##
2144 ## ----------- ##
2145
2146 _ACEOF
2147
2148
2149 # Keep a trace of the command line.
2150 # Strip out --no-create and --no-recursion so they do not pile up.
2151 # Strip out --silent because we don't want to record it for future runs.
2152 # Also quote any args containing shell meta-characters.
2153 # Make two passes to allow for proper duplicate-argument suppression.
2154 ac_configure_args=
2155 ac_configure_args0=
2156 ac_configure_args1=
2157 ac_must_keep_next=false
2158 for ac_pass in 1 2
2159 do
2160 for ac_arg
2161 do
2162 case $ac_arg in
2163 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2165 | -silent | --silent | --silen | --sile | --sil)
2166 continue ;;
2167 *\'*)
2168 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169 esac
2170 case $ac_pass in
2171 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2172 2)
2173 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2174 if test $ac_must_keep_next = true; then
2175 ac_must_keep_next=false # Got value, back to normal.
2176 else
2177 case $ac_arg in
2178 *=* | --config-cache | -C | -disable-* | --disable-* \
2179 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2180 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2181 | -with-* | --with-* | -without-* | --without-* | --x)
2182 case "$ac_configure_args0 " in
2183 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184 esac
2185 ;;
2186 -* ) ac_must_keep_next=true ;;
2187 esac
2188 fi
2189 ac_configure_args="$ac_configure_args '$ac_arg'"
2190 ;;
2191 esac
2192 done
2193 done
2194 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2195 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2196
2197 # When interrupted or exit'd, cleanup temporary files, and complete
2198 # config.log. We remove comments because anyway the quotes in there
2199 # would cause problems or look ugly.
2200 # WARNING: Use '\'' to represent an apostrophe within the trap.
2201 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2202 trap 'exit_status=$?
2203 # Save into config.log some information that might help in debugging.
2204 {
2205 echo
2206
2207 cat <<\_ASBOX
2208 ## ---------------- ##
2209 ## Cache variables. ##
2210 ## ---------------- ##
2211 _ASBOX
2212 echo
2213 # The following way of writing the cache mishandles newlines in values,
2214 (
2215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216 eval ac_val=\$$ac_var
2217 case $ac_val in #(
2218 *${as_nl}*)
2219 case $ac_var in #(
2220 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2221 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2222 esac
2223 case $ac_var in #(
2224 _ | IFS | as_nl) ;; #(
2225 *) $as_unset $ac_var ;;
2226 esac ;;
2227 esac
2228 done
2229 (set) 2>&1 |
2230 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2231 *${as_nl}ac_space=\ *)
2232 sed -n \
2233 "s/'\''/'\''\\\\'\'''\''/g;
2234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235 ;; #(
2236 *)
2237 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2238 ;;
2239 esac |
2240 sort
2241 )
2242 echo
2243
2244 cat <<\_ASBOX
2245 ## ----------------- ##
2246 ## Output variables. ##
2247 ## ----------------- ##
2248 _ASBOX
2249 echo
2250 for ac_var in $ac_subst_vars
2251 do
2252 eval ac_val=\$$ac_var
2253 case $ac_val in
2254 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255 esac
2256 echo "$ac_var='\''$ac_val'\''"
2257 done | sort
2258 echo
2259
2260 if test -n "$ac_subst_files"; then
2261 cat <<\_ASBOX
2262 ## ------------------- ##
2263 ## File substitutions. ##
2264 ## ------------------- ##
2265 _ASBOX
2266 echo
2267 for ac_var in $ac_subst_files
2268 do
2269 eval ac_val=\$$ac_var
2270 case $ac_val in
2271 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 esac
2273 echo "$ac_var='\''$ac_val'\''"
2274 done | sort
2275 echo
2276 fi
2277
2278 if test -s confdefs.h; then
2279 cat <<\_ASBOX
2280 ## ----------- ##
2281 ## confdefs.h. ##
2282 ## ----------- ##
2283 _ASBOX
2284 echo
2285 cat confdefs.h
2286 echo
2287 fi
2288 test "$ac_signal" != 0 &&
2289 echo "$as_me: caught signal $ac_signal"
2290 echo "$as_me: exit $exit_status"
2291 } >&5
2292 rm -f core *.core core.conftest.* &&
2293 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294 exit $exit_status
2295 ' 0
2296 for ac_signal in 1 2 13 15; do
2297 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2298 done
2299 ac_signal=0
2300
2301 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2302 rm -f -r conftest* confdefs.h
2303
2304 # Predefined preprocessor variables.
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_NAME "$PACKAGE_NAME"
2308 _ACEOF
2309
2310
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2313 _ACEOF
2314
2315
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2318 _ACEOF
2319
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_STRING "$PACKAGE_STRING"
2323 _ACEOF
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2328 _ACEOF
2329
2330
2331 # Let the site file select an alternate cache file if it wants to.
2332 # Prefer explicitly selected file to automatically selected ones.
2333 if test -n "$CONFIG_SITE"; then
2334 set x "$CONFIG_SITE"
2335 elif test "x$prefix" != xNONE; then
2336 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2337 else
2338 set x "$ac_default_prefix/share/config.site" \
2339 "$ac_default_prefix/etc/config.site"
2340 fi
2341 shift
2342 for ac_site_file
2343 do
2344 if test -r "$ac_site_file"; then
2345 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2346 echo "$as_me: loading site script $ac_site_file" >&6;}
2347 sed 's/^/| /' "$ac_site_file" >&5
2348 . "$ac_site_file"
2349 fi
2350 done
2351
2352 if test -r "$cache_file"; then
2353 # Some versions of bash will fail to source /dev/null (special
2354 # files actually), so we avoid doing that.
2355 if test -f "$cache_file"; then
2356 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2357 echo "$as_me: loading cache $cache_file" >&6;}
2358 case $cache_file in
2359 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2360 *) . "./$cache_file";;
2361 esac
2362 fi
2363 else
2364 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2365 echo "$as_me: creating cache $cache_file" >&6;}
2366 >$cache_file
2367 fi
2368
2369 # Check that the precious variables saved in the cache have kept the same
2370 # value.
2371 ac_cache_corrupted=false
2372 for ac_var in $ac_precious_vars; do
2373 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2374 eval ac_new_set=\$ac_env_${ac_var}_set
2375 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2376 eval ac_new_val=\$ac_env_${ac_var}_value
2377 case $ac_old_set,$ac_new_set in
2378 set,)
2379 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2380 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2381 ac_cache_corrupted=: ;;
2382 ,set)
2383 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2384 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2385 ac_cache_corrupted=: ;;
2386 ,);;
2387 *)
2388 if test "x$ac_old_val" != "x$ac_new_val"; then
2389 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2390 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2392 echo "$as_me: former value: $ac_old_val" >&2;}
2393 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2394 echo "$as_me: current value: $ac_new_val" >&2;}
2395 ac_cache_corrupted=:
2396 fi;;
2397 esac
2398 # Pass precious variables to config.status.
2399 if test "$ac_new_set" = set; then
2400 case $ac_new_val in
2401 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2402 *) ac_arg=$ac_var=$ac_new_val ;;
2403 esac
2404 case " $ac_configure_args " in
2405 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2406 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2407 esac
2408 fi
2409 done
2410 if $ac_cache_corrupted; then
2411 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2412 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2413 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2414 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2415 { (exit 1); exit 1; }; }
2416 fi
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442 ac_ext=c
2443 ac_cpp='$CPP $CPPFLAGS'
2444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2447
2448
2449
2450
2451
2452 ac_aux_dir=
2453 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2454 if test -f "$ac_dir/install-sh"; then
2455 ac_aux_dir=$ac_dir
2456 ac_install_sh="$ac_aux_dir/install-sh -c"
2457 break
2458 elif test -f "$ac_dir/install.sh"; then
2459 ac_aux_dir=$ac_dir
2460 ac_install_sh="$ac_aux_dir/install.sh -c"
2461 break
2462 elif test -f "$ac_dir/shtool"; then
2463 ac_aux_dir=$ac_dir
2464 ac_install_sh="$ac_aux_dir/shtool install -c"
2465 break
2466 fi
2467 done
2468 if test -z "$ac_aux_dir"; then
2469 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2470 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2471 { (exit 1); exit 1; }; }
2472 fi
2473
2474 # These three variables are undocumented and unsupported,
2475 # and are intended to be withdrawn in a future Autoconf release.
2476 # They can cause serious problems if a builder's source tree is in a directory
2477 # whose full name contains unusual characters.
2478 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2479 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2480 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2481
2482
2483 # Make sure we can run config.sub.
2484 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2485 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2486 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2487 { (exit 1); exit 1; }; }
2488
2489 { echo "$as_me:$LINENO: checking build system type" >&5
2490 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2491 if test "${ac_cv_build+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 ac_build_alias=$build_alias
2495 test "x$ac_build_alias" = x &&
2496 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2497 test "x$ac_build_alias" = x &&
2498 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2499 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2500 { (exit 1); exit 1; }; }
2501 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2502 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2503 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2504 { (exit 1); exit 1; }; }
2505
2506 fi
2507 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2508 echo "${ECHO_T}$ac_cv_build" >&6; }
2509 case $ac_cv_build in
2510 *-*-*) ;;
2511 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2512 echo "$as_me: error: invalid value of canonical build" >&2;}
2513 { (exit 1); exit 1; }; };;
2514 esac
2515 build=$ac_cv_build
2516 ac_save_IFS=$IFS; IFS='-'
2517 set x $ac_cv_build
2518 shift
2519 build_cpu=$1
2520 build_vendor=$2
2521 shift; shift
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2524 build_os=$*
2525 IFS=$ac_save_IFS
2526 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2527
2528
2529 { echo "$as_me:$LINENO: checking host system type" >&5
2530 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2531 if test "${ac_cv_host+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 else
2534 if test "x$host_alias" = x; then
2535 ac_cv_host=$ac_cv_build
2536 else
2537 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2538 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2539 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2540 { (exit 1); exit 1; }; }
2541 fi
2542
2543 fi
2544 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2545 echo "${ECHO_T}$ac_cv_host" >&6; }
2546 case $ac_cv_host in
2547 *-*-*) ;;
2548 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2549 echo "$as_me: error: invalid value of canonical host" >&2;}
2550 { (exit 1); exit 1; }; };;
2551 esac
2552 host=$ac_cv_host
2553 ac_save_IFS=$IFS; IFS='-'
2554 set x $ac_cv_host
2555 shift
2556 host_cpu=$1
2557 host_vendor=$2
2558 shift; shift
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2561 host_os=$*
2562 IFS=$ac_save_IFS
2563 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2564
2565
2566
2567 if test "$cross_compiling" != "no"; then
2568 HOST_PREFIX="${host_alias}-"
2569 HOST_SUFFIX="-$host_alias"
2570 else
2571 HOST_PREFIX=
2572 HOST_SUFFIX=
2573 fi
2574
2575
2576 wx_major_version_number=2
2577 wx_minor_version_number=9
2578 wx_release_number=1
2579 wx_subrelease_number=0
2580
2581 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2582 WX_VERSION=$WX_RELEASE.$wx_release_number
2583 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2584
2585 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2586
2587
2588 wx_top_builddir="`pwd`"
2589
2590
2591
2592
2593 USE_UNIX=1
2594 USE_OS2=0
2595 USE_WIN32=0
2596 USE_DOS=0
2597 USE_BEOS=0
2598 USE_MAC=0
2599
2600 USE_AIX=
2601 USE_BSD= USE_DARWIN= USE_FREEBSD=
2602 USE_GNU= USE_HPUX=
2603 USE_LINUX=
2604 USE_NETBSD=
2605 USE_OPENBSD=
2606 USE_OSF= USE_SGI=
2607 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2608 USE_ULTRIX=
2609 USE_UNIXWARE=
2610
2611 USE_ALPHA=
2612
2613 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2614
2615 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2616
2617 DEFAULT_wxUSE_OLD_COCOA=0
2618 DEFAULT_wxUSE_GTK=0
2619 DEFAULT_wxUSE_OSX_CARBON=0
2620 DEFAULT_wxUSE_OSX_COCOA=0
2621 DEFAULT_wxUSE_OSX_IPHONE=0
2622 DEFAULT_wxUSE_MGL=0
2623 DEFAULT_wxUSE_MICROWIN=0
2624 DEFAULT_wxUSE_MOTIF=0
2625 DEFAULT_wxUSE_MSW=0
2626 DEFAULT_wxUSE_PM=0
2627 DEFAULT_wxUSE_X11=0
2628 DEFAULT_wxUSE_DFB=0
2629
2630 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2631 DEFAULT_DEFAULT_wxUSE_GTK=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2633 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2634 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2635 DEFAULT_DEFAULT_wxUSE_MGL=0
2636 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2637 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2638 DEFAULT_DEFAULT_wxUSE_MSW=0
2639 DEFAULT_DEFAULT_wxUSE_PM=0
2640 DEFAULT_DEFAULT_wxUSE_X11=0
2641 DEFAULT_DEFAULT_wxUSE_DFB=0
2642
2643 PROGRAM_EXT=
2644 SAMPLES_RPATH_FLAG=
2645 DYLIB_RPATH_INSTALL=
2646 DYLIB_RPATH_POSTLINK=
2647
2648 DEFAULT_STD_FLAG=yes
2649
2650 case "${host}" in
2651 *-hp-hpux* )
2652 USE_HPUX=1
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __HPUX__ 1
2657 _ACEOF
2658
2659
2660 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2661 ;;
2662 *-*-linux* )
2663 USE_LINUX=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __LINUX__ 1
2666 _ACEOF
2667
2668 TMP=`uname -m`
2669 if test "x$TMP" = "xalpha"; then
2670 USE_ALPHA=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __ALPHA__ 1
2673 _ACEOF
2674
2675 fi
2676 DEFAULT_DEFAULT_wxUSE_GTK=1
2677 ;;
2678 *-*-gnu* | *-*-k*bsd*-gnu )
2679 USE_GNU=1
2680 TMP=`uname -m`
2681 if test "x$TMP" = "xalpha"; then
2682 USE_ALPHA=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __ALPHA__ 1
2685 _ACEOF
2686
2687 fi
2688 DEFAULT_DEFAULT_wxUSE_GTK=1
2689 ;;
2690 *-*-irix5* | *-*-irix6* )
2691 USE_SGI=1
2692 USE_SVR4=1
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SGI__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SVR4__ 1
2699 _ACEOF
2700
2701 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2702 ;;
2703 *-*-qnx*)
2704 USE_QNX=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __QNX__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_X11=1
2710 ;;
2711 *-*-solaris2* )
2712 USE_SUN=1
2713 USE_SOLARIS=1
2714 USE_SVR4=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __SUN__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __SOLARIS__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __SVR4__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2729 ;;
2730 *-*-sunos4* )
2731 USE_SUN=1
2732 USE_SUNOS=1
2733 USE_BSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SUN__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SUNOS__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 ;;
2748 *-*-freebsd*)
2749 USE_BSD=1
2750 USE_FREEBSD=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __FREEBSD__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __BSD__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_GTK=1
2760 ;;
2761 *-*-openbsd*|*-*-mirbsd*)
2762 USE_BSD=1
2763 USE_OPENBSD=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __OPENBSD__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __BSD__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_GTK=1
2773 ;;
2774 *-*-netbsd*)
2775 USE_BSD=1
2776 USE_NETBSD=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __NETBSD__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __BSD__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_GTK=1
2786 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2787
2788 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2789 ;;
2790 *-*-osf* )
2791 USE_ALPHA=1
2792 USE_OSF=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __ALPHA__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __OSF__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2803 ;;
2804 *-*-dgux5* )
2805 USE_ALPHA=1
2806 USE_SVR4=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __ALPHA__ 1
2809 _ACEOF
2810
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __SVR4__ 1
2813 _ACEOF
2814
2815 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2816 ;;
2817 *-*-sysv5* )
2818 USE_SYSV=1
2819 USE_SVR4=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __SYSV__ 1
2822 _ACEOF
2823
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __SVR4__ 1
2826 _ACEOF
2827
2828 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2829 ;;
2830 *-*-aix* )
2831 USE_AIX=1
2832 USE_SYSV=1
2833 USE_SVR4=1
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __AIX__ 1
2836 _ACEOF
2837
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __SYSV__ 1
2840 _ACEOF
2841
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __SVR4__ 1
2844 _ACEOF
2845
2846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2847 ;;
2848
2849 *-*-*UnixWare*)
2850 USE_SYSV=1
2851 USE_SVR4=1
2852 USE_UNIXWARE=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __UNIXWARE__ 1
2855 _ACEOF
2856
2857 ;;
2858
2859 *-*-cygwin* | *-*-mingw32* )
2860 PROGRAM_EXT=".exe"
2861 DEFAULT_DEFAULT_wxUSE_MSW=1
2862 ;;
2863
2864 *-pc-msdosdjgpp )
2865 USE_UNIX=0
2866 USE_DOS=1
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DOS__ 1
2869 _ACEOF
2870
2871 PROGRAM_EXT=".exe"
2872 DEFAULT_DEFAULT_wxUSE_MGL=1
2873 ;;
2874
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __EMX__ 1
2878 _ACEOF
2879
2880 USE_OS2=1
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __OS2__ 1
2883 _ACEOF
2884
2885 PROGRAM_EXT=".exe"
2886 DEFAULT_DEFAULT_wxUSE_PM=1
2887 CXX=gcc
2888 LDFLAGS="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions=".exe"
2890 export ac_executable_extensions
2891 ac_save_IFS="$IFS"
2892 IFS='\\'
2893 ac_TEMP_PATH=
2894 for ac_dir in $PATH; do
2895 IFS=$ac_save_IFS
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH="$ac_dir"
2898 else
2899 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2900 fi
2901 done
2902 export PATH="$ac_TEMP_PATH"
2903 unset ac_TEMP_PATH
2904 DEFAULT_STD_FLAG=no
2905 ;;
2906
2907 arm-apple-darwin*)
2908 USE_BSD=1
2909 USE_DARWIN=1
2910 cat >>confdefs.h <<\_ACEOF
2911 #define __BSD__ 1
2912 _ACEOF
2913
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __DARWIN__ 1
2916 _ACEOF
2917
2918 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2919 ;;
2920
2921 *-*-darwin* )
2922 USE_BSD=1
2923 USE_DARWIN=1
2924 cat >>confdefs.h <<\_ACEOF
2925 #define __BSD__ 1
2926 _ACEOF
2927
2928 cat >>confdefs.h <<\_ACEOF
2929 #define __DARWIN__ 1
2930 _ACEOF
2931
2932 cat >>confdefs.h <<\_ACEOF
2933 #define TARGET_CARBON 1
2934 _ACEOF
2935
2936 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2937 ;;
2938
2939 *-*-beos* )
2940 USE_BEOS=1
2941 cat >>confdefs.h <<\_ACEOF
2942 #define __BEOS__ 1
2943 _ACEOF
2944
2945 ;;
2946
2947 *)
2948 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2949 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2950 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2951 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2952
2953 DEFAULT_DEFAULT_wxUSE_X11=1
2954 DEFAULT_wxUSE_SHARED=no
2955 esac
2956
2957
2958
2959 DEFAULT_wxUSE_ALL_FEATURES=yes
2960
2961 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2962 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2963
2964 DEFAULT_wxUSE_DMALLOC=no
2965 DEFAULT_wxUSE_LIBGNOMEVFS=no
2966 DEFAULT_wxUSE_LIBHILDON=no
2967 DEFAULT_wxUSE_LIBHILDON2=no
2968 DEFAULT_wxUSE_LIBMSPACK=no
2969 DEFAULT_wxUSE_LIBSDL=no
2970
2971 DEFAULT_wxUSE_ACCESSIBILITY=no
2972 DEFAULT_wxUSE_IPV6=no
2973 DEFAULT_wxUSE_GSTREAMER8=no
2974 DEFAULT_wxUSE_UIACTIONSIMULATOR=no
2975
2976 DEFAULT_wxUSE_UNICODE_UTF8=auto
2977 DEFAULT_wxUSE_OPENGL=auto
2978 DEFAULT_wxUSE_MEDIACTRL=auto
2979 DEFAULT_wxUSE_COMPILER_TLS=auto
2980
2981 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2982
2983 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2984
2985 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2986
2987 DEFAULT_wxUSE_GTK2=yes
2988
2989 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2990
2991
2992
2993
2994
2995 enablestring=disable
2996 defaultval=
2997 if test -z "$defaultval"; then
2998 if test x"$enablestring" = xdisable; then
2999 defaultval=yes
3000 else
3001 defaultval=no
3002 fi
3003 fi
3004
3005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3006 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3007 # Check whether --enable-gui was given.
3008 if test "${enable_gui+set}" = set; then
3009 enableval=$enable_gui;
3010 if test "$enableval" = yes; then
3011 wx_cv_use_gui='wxUSE_GUI=yes'
3012 else
3013 wx_cv_use_gui='wxUSE_GUI=no'
3014 fi
3015
3016 else
3017
3018 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3019
3020 fi
3021
3022
3023 eval "$wx_cv_use_gui"
3024
3025 if test x"$enablestring" = xdisable; then
3026 if test $wxUSE_GUI = no; then
3027 result=yes
3028 else
3029 result=no
3030 fi
3031 else
3032 result=$wxUSE_GUI
3033 fi
3034
3035 { echo "$as_me:$LINENO: result: $result" >&5
3036 echo "${ECHO_T}$result" >&6; }
3037
3038
3039 enablestring=
3040 defaultval=
3041 if test -z "$defaultval"; then
3042 if test x"$enablestring" = xdisable; then
3043 defaultval=yes
3044 else
3045 defaultval=no
3046 fi
3047 fi
3048
3049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3050 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3051 # Check whether --enable-monolithic was given.
3052 if test "${enable_monolithic+set}" = set; then
3053 enableval=$enable_monolithic;
3054 if test "$enableval" = yes; then
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3056 else
3057 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3058 fi
3059
3060 else
3061
3062 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3063
3064 fi
3065
3066
3067 eval "$wx_cv_use_monolithic"
3068
3069 if test x"$enablestring" = xdisable; then
3070 if test $wxUSE_MONOLITHIC = no; then
3071 result=yes
3072 else
3073 result=no
3074 fi
3075 else
3076 result=$wxUSE_MONOLITHIC
3077 fi
3078
3079 { echo "$as_me:$LINENO: result: $result" >&5
3080 echo "${ECHO_T}$result" >&6; }
3081
3082
3083 enablestring=
3084 defaultval=
3085 if test -z "$defaultval"; then
3086 if test x"$enablestring" = xdisable; then
3087 defaultval=yes
3088 else
3089 defaultval=no
3090 fi
3091 fi
3092
3093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3094 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3095 # Check whether --enable-plugins was given.
3096 if test "${enable_plugins+set}" = set; then
3097 enableval=$enable_plugins;
3098 if test "$enableval" = yes; then
3099 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3100 else
3101 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3102 fi
3103
3104 else
3105
3106 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3107
3108 fi
3109
3110
3111 eval "$wx_cv_use_plugins"
3112
3113 if test x"$enablestring" = xdisable; then
3114 if test $wxUSE_PLUGINS = no; then
3115 result=yes
3116 else
3117 result=no
3118 fi
3119 else
3120 result=$wxUSE_PLUGINS
3121 fi
3122
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3125
3126
3127 withstring=without
3128 defaultval=$wxUSE_ALL_FEATURES
3129 if test -z "$defaultval"; then
3130 if test x"$withstring" = xwithout; then
3131 defaultval=yes
3132 else
3133 defaultval=no
3134 fi
3135 fi
3136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3138
3139 # Check whether --with-subdirs was given.
3140 if test "${with_subdirs+set}" = set; then
3141 withval=$with_subdirs;
3142 if test "$withval" = yes; then
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3144 else
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3146 fi
3147
3148 else
3149
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3151
3152 fi
3153
3154
3155 eval "$wx_cv_use_subdirs"
3156
3157 if test x"$withstring" = xwithout; then
3158 if test $wxWITH_SUBDIRS = yes; then
3159 result=no
3160 else
3161 result=yes
3162 fi
3163 else
3164 result=$wxWITH_SUBDIRS
3165 fi
3166
3167 { echo "$as_me:$LINENO: result: $result" >&5
3168 echo "${ECHO_T}$result" >&6; }
3169
3170
3171 # Check whether --with-flavour was given.
3172 if test "${with_flavour+set}" = set; then
3173 withval=$with_flavour; WX_FLAVOUR="$withval"
3174 fi
3175
3176
3177 enablestring=
3178 defaultval=
3179 if test -z "$defaultval"; then
3180 if test x"$enablestring" = xdisable; then
3181 defaultval=yes
3182 else
3183 defaultval=no
3184 fi
3185 fi
3186
3187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3188 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3189 # Check whether --enable-official_build was given.
3190 if test "${enable_official_build+set}" = set; then
3191 enableval=$enable_official_build;
3192 if test "$enableval" = yes; then
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3194 else
3195 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3196 fi
3197
3198 else
3199
3200 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3201
3202 fi
3203
3204
3205 eval "$wx_cv_use_official_build"
3206
3207 if test x"$enablestring" = xdisable; then
3208 if test $wxUSE_OFFICIAL_BUILD = no; then
3209 result=yes
3210 else
3211 result=no
3212 fi
3213 else
3214 result=$wxUSE_OFFICIAL_BUILD
3215 fi
3216
3217 { echo "$as_me:$LINENO: result: $result" >&5
3218 echo "${ECHO_T}$result" >&6; }
3219
3220 # Check whether --enable-vendor was given.
3221 if test "${enable_vendor+set}" = set; then
3222 enableval=$enable_vendor; VENDOR="$enableval"
3223 fi
3224
3225 if test "x$VENDOR" = "x"; then
3226 VENDOR="custom"
3227 fi
3228
3229
3230 enablestring=disable
3231 defaultval=
3232 if test -z "$defaultval"; then
3233 if test x"$enablestring" = xdisable; then
3234 defaultval=yes
3235 else
3236 defaultval=no
3237 fi
3238 fi
3239
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3242 # Check whether --enable-all-features was given.
3243 if test "${enable_all_features+set}" = set; then
3244 enableval=$enable_all_features;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3247 else
3248 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3249 fi
3250
3251 else
3252
3253 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3254
3255 fi
3256
3257
3258 eval "$wx_cv_use_all_features"
3259
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_ALL_FEATURES = no; then
3262 result=yes
3263 else
3264 result=no
3265 fi
3266 else
3267 result=$wxUSE_ALL_FEATURES
3268 fi
3269
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3272
3273
3274 if test "$wxUSE_ALL_FEATURES" = "no"; then
3275 DEFAULT_wxUSE_MEDIACTRL=no
3276 fi
3277
3278
3279 if test "$wxUSE_GUI" = "yes"; then
3280
3281
3282 enablestring=
3283 defaultval=
3284 if test -z "$defaultval"; then
3285 if test x"$enablestring" = xdisable; then
3286 defaultval=yes
3287 else
3288 defaultval=no
3289 fi
3290 fi
3291
3292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3293 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3294 # Check whether --enable-universal was given.
3295 if test "${enable_universal+set}" = set; then
3296 enableval=$enable_universal;
3297 if test "$enableval" = yes; then
3298 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3299 else
3300 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3301 fi
3302
3303 else
3304
3305 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3306
3307 fi
3308
3309
3310 eval "$wx_cv_use_universal"
3311
3312 if test x"$enablestring" = xdisable; then
3313 if test $wxUSE_UNIVERSAL = no; then
3314 result=yes
3315 else
3316 result=no
3317 fi
3318 else
3319 result=$wxUSE_UNIVERSAL
3320 fi
3321
3322 { echo "$as_me:$LINENO: result: $result" >&5
3323 echo "${ECHO_T}$result" >&6; }
3324
3325 if test "$wxUSE_UNIVERSAL" = "yes"; then
3326
3327 # Check whether --with-themes was given.
3328 if test "${with_themes+set}" = set; then
3329 withval=$with_themes; wxUNIV_THEMES="$withval"
3330 fi
3331
3332 fi
3333
3334
3335 # Check whether --with-gtk was given.
3336 if test "${with_gtk+set}" = set; then
3337 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-motif was given.
3342 if test "${with_motif+set}" = set; then
3343 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-osx_carbon was given.
3348 if test "${with_osx_carbon+set}" = set; then
3349 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 # Check whether --with-osx_cocoa was given.
3354 if test "${with_osx_cocoa+set}" = set; then
3355 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-osx_iphone was given.
3360 if test "${with_osx_iphone+set}" = set; then
3361 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365 # Check whether --with-osx was given.
3366 if test "${with_osx+set}" = set; then
3367 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-carbon was given.
3372 if test "${with_carbon+set}" = set; then
3373 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-cocoa was given.
3378 if test "${with_cocoa+set}" = set; then
3379 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-iphone was given.
3384 if test "${with_iphone+set}" = set; then
3385 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-mac was given.
3390 if test "${with_mac+set}" = set; then
3391 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-old_cocoa was given.
3396 if test "${with_old_cocoa+set}" = set; then
3397 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-wine was given.
3402 if test "${with_wine+set}" = set; then
3403 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3404 fi
3405
3406
3407 # Check whether --with-msw was given.
3408 if test "${with_msw+set}" = set; then
3409 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-pm was given.
3414 if test "${with_pm+set}" = set; then
3415 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-mgl was given.
3420 if test "${with_mgl+set}" = set; then
3421 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-directfb was given.
3426 if test "${with_directfb+set}" = set; then
3427 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-microwin was given.
3432 if test "${with_microwin+set}" = set; then
3433 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-x11 was given.
3438 if test "${with_x11+set}" = set; then
3439 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 enablestring=
3444 defaultval=
3445 if test -z "$defaultval"; then
3446 if test x"$enablestring" = xdisable; then
3447 defaultval=yes
3448 else
3449 defaultval=no
3450 fi
3451 fi
3452
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3455 # Check whether --enable-nanox was given.
3456 if test "${enable_nanox+set}" = set; then
3457 enableval=$enable_nanox;
3458 if test "$enableval" = yes; then
3459 wx_cv_use_nanox='wxUSE_NANOX=yes'
3460 else
3461 wx_cv_use_nanox='wxUSE_NANOX=no'
3462 fi
3463
3464 else
3465
3466 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3467
3468 fi
3469
3470
3471 eval "$wx_cv_use_nanox"
3472
3473 if test x"$enablestring" = xdisable; then
3474 if test $wxUSE_NANOX = no; then
3475 result=yes
3476 else
3477 result=no
3478 fi
3479 else
3480 result=$wxUSE_NANOX
3481 fi
3482
3483 { echo "$as_me:$LINENO: result: $result" >&5
3484 echo "${ECHO_T}$result" >&6; }
3485
3486
3487 # Check whether --enable-gtk2 was given.
3488 if test "${enable_gtk2+set}" = set; then
3489 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3490 fi
3491
3492
3493 enablestring=
3494 defaultval=
3495 if test -z "$defaultval"; then
3496 if test x"$enablestring" = xdisable; then
3497 defaultval=yes
3498 else
3499 defaultval=no
3500 fi
3501 fi
3502
3503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3504 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 else
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3512 fi
3513
3514 else
3515
3516 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3517
3518 fi
3519
3520
3521 eval "$wx_cv_use_gpe"
3522
3523 if test x"$enablestring" = xdisable; then
3524 if test $wxUSE_GPE = no; then
3525 result=yes
3526 else
3527 result=no
3528 fi
3529 else
3530 result=$wxUSE_GPE
3531 fi
3532
3533 { echo "$as_me:$LINENO: result: $result" >&5
3534 echo "${ECHO_T}$result" >&6; }
3535
3536
3537
3538 { echo "$as_me:$LINENO: checking for toolkit" >&5
3539 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3540
3541
3542
3543 # In Wine, we need to default to MSW, not GTK or MOTIF
3544 if test "$wxUSE_WINE" = "yes"; then
3545 DEFAULT_DEFAULT_wxUSE_GTK=0
3546 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3547 DEFAULT_DEFAULT_wxUSE_MSW=1
3548 wxUSE_SHARED=no
3549 CC=${CC:-winegcc}
3550 CXX=${CXX:-wineg++}
3551 fi
3552
3553
3554 if test "$wxUSE_GUI" = "yes"; then
3555
3556 if test "$USE_BEOS" = 1; then
3557 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3558 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3559 { (exit 1); exit 1; }; }
3560 fi
3561
3562 if test "$TOOLKIT_GIVEN" = 1; then
3563 for toolkit in $ALL_TOOLKITS; do
3564 var=wxUSE_$toolkit
3565 eval "value=\$${var}"
3566 if test "x$value" = "xno"; then
3567 eval "$var=0"
3568 elif test "x$value" != "x"; then
3569 eval "$var=1"
3570 fi
3571
3572 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3573 eval "wx${toolkit}_VERSION=$value"
3574 fi
3575 done
3576 else
3577 for toolkit in $ALL_TOOLKITS; do
3578 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3579 eval "wxUSE_$toolkit=\$${var}"
3580 done
3581 fi
3582
3583 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3584 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3585 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3586
3587 case "${host}" in
3588 *-pc-os2_emx | *-pc-os2-emx )
3589 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3590 esac
3591
3592 case "$NUM_TOOLKITS" in
3593 1)
3594 ;;
3595 0)
3596 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3597 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3598 { (exit 1); exit 1; }; }
3599 ;;
3600 *)
3601 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3602 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3603 { (exit 1); exit 1; }; }
3604 esac
3605
3606 # to be removed when --disable-gtk2 isn't needed
3607 if test "x$wxUSE_GTK2" = "xyes"; then
3608 wxGTK_VERSION=2
3609 wxUSE_GTK1=0
3610 elif test "x$wxUSE_GTK2" = "xno"; then
3611 wxGTK_VERSION=1
3612 wxUSE_GTK1=1
3613 fi
3614
3615 for toolkit in $ALL_TOOLKITS; do
3616 var=wxUSE_$toolkit
3617 eval "value=\$${var}"
3618 if test "$value" = 1; then
3619 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3620 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3621 echo "${ECHO_T}$toolkit_echo" >&6; }
3622 fi
3623 done
3624 else
3625 if test "x$host_alias" != "x"; then
3626 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3627 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3628 else
3629 { echo "$as_me:$LINENO: result: base only" >&5
3630 echo "${ECHO_T}base only" >&6; }
3631 fi
3632 fi
3633
3634 wxUSE_MAC=0
3635 if test "$wxUSE_OSX_CARBON" = 1 \
3636 -o "$wxUSE_OSX_COCOA" = 1 \
3637 -o "$wxUSE_OSX_IPHONE" = 1; then
3638 wxUSE_MAC=1
3639 fi
3640
3641
3642
3643 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3644 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3645
3646 # Check whether --with-libpng was given.
3647 if test "${with_libpng+set}" = set; then
3648 withval=$with_libpng;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3657 else
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libpng"
3671
3672 if test "$wxUSE_LIBPNG" = yes; then
3673 { echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBPNG" = no; then
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3678 elif test "$wxUSE_LIBPNG" = sys; then
3679 { echo "$as_me:$LINENO: result: system version" >&5
3680 echo "${ECHO_T}system version" >&6; }
3681 elif test "$wxUSE_LIBPNG" = builtin; then
3682 { echo "$as_me:$LINENO: result: builtin version" >&5
3683 echo "${ECHO_T}builtin version" >&6; }
3684 else
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3688 fi
3689
3690
3691 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3692 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3693
3694 # Check whether --with-libjpeg was given.
3695 if test "${with_libjpeg+set}" = set; then
3696 withval=$with_libjpeg;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3705 else
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3709 fi
3710
3711 else
3712
3713 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3714
3715 fi
3716
3717
3718 eval "$wx_cv_use_libjpeg"
3719
3720 if test "$wxUSE_LIBJPEG" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBJPEG" = no; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBJPEG" = sys; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBJPEG" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738
3739 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3740 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3741
3742 # Check whether --with-libtiff was given.
3743 if test "${with_libtiff+set}" = set; then
3744 withval=$with_libtiff;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3747 elif test "$withval" = no; then
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3749 elif test "$withval" = sys; then
3750 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759 else
3760
3761 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3762
3763 fi
3764
3765
3766 eval "$wx_cv_use_libtiff"
3767
3768 if test "$wxUSE_LIBTIFF" = yes; then
3769 { echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6; }
3771 elif test "$wxUSE_LIBTIFF" = no; then
3772 { echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6; }
3774 elif test "$wxUSE_LIBTIFF" = sys; then
3775 { echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6; }
3777 elif test "$wxUSE_LIBTIFF" = builtin; then
3778 { echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6; }
3780 else
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3784 fi
3785
3786
3787 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3788 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3789
3790 # Check whether --with-libxpm was given.
3791 if test "${with_libxpm+set}" = set; then
3792 withval=$with_libxpm;
3793 if test "$withval" = yes; then
3794 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3795 elif test "$withval" = no; then
3796 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3797 elif test "$withval" = sys; then
3798 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3799 elif test "$withval" = builtin; then
3800 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3801 else
3802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3803 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3804 { (exit 1); exit 1; }; }
3805 fi
3806
3807 else
3808
3809 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3810
3811 fi
3812
3813
3814 eval "$wx_cv_use_libxpm"
3815
3816 if test "$wxUSE_LIBXPM" = yes; then
3817 { echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6; }
3819 elif test "$wxUSE_LIBXPM" = no; then
3820 { echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6; }
3822 elif test "$wxUSE_LIBXPM" = sys; then
3823 { echo "$as_me:$LINENO: result: system version" >&5
3824 echo "${ECHO_T}system version" >&6; }
3825 elif test "$wxUSE_LIBXPM" = builtin; then
3826 { echo "$as_me:$LINENO: result: builtin version" >&5
3827 echo "${ECHO_T}builtin version" >&6; }
3828 else
3829 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3830 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3831 { (exit 1); exit 1; }; }
3832 fi
3833
3834
3835 withstring=
3836 defaultval=$wxUSE_ALL_FEATURES
3837 if test -z "$defaultval"; then
3838 if test x"$withstring" = xwithout; then
3839 defaultval=yes
3840 else
3841 defaultval=no
3842 fi
3843 fi
3844 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3845 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3846
3847 # Check whether --with-libiconv was given.
3848 if test "${with_libiconv+set}" = set; then
3849 withval=$with_libiconv;
3850 if test "$withval" = yes; then
3851 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3852 else
3853 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3854 fi
3855
3856 else
3857
3858 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3859
3860 fi
3861
3862
3863 eval "$wx_cv_use_libiconv"
3864
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBICONV = yes; then
3867 result=no
3868 else
3869 result=yes
3870 fi
3871 else
3872 result=$wxUSE_LIBICONV
3873 fi
3874
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3877
3878
3879 withstring=
3880 defaultval=$wxUSE_ALL_FEATURES
3881 if test -z "$defaultval"; then
3882 if test x"$withstring" = xwithout; then
3883 defaultval=yes
3884 else
3885 defaultval=no
3886 fi
3887 fi
3888 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3889 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3890
3891 # Check whether --with-libmspack was given.
3892 if test "${with_libmspack+set}" = set; then
3893 withval=$with_libmspack;
3894 if test "$withval" = yes; then
3895 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3896 else
3897 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3898 fi
3899
3900 else
3901
3902 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3903
3904 fi
3905
3906
3907 eval "$wx_cv_use_libmspack"
3908
3909 if test x"$withstring" = xwithout; then
3910 if test $wxUSE_LIBMSPACK = yes; then
3911 result=no
3912 else
3913 result=yes
3914 fi
3915 else
3916 result=$wxUSE_LIBMSPACK
3917 fi
3918
3919 { echo "$as_me:$LINENO: result: $result" >&5
3920 echo "${ECHO_T}$result" >&6; }
3921
3922
3923 withstring=without
3924 defaultval=$wxUSE_ALL_FEATURES
3925 if test -z "$defaultval"; then
3926 if test x"$withstring" = xwithout; then
3927 defaultval=yes
3928 else
3929 defaultval=no
3930 fi
3931 fi
3932 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3933 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3934
3935 # Check whether --with-gtkprint was given.
3936 if test "${with_gtkprint+set}" = set; then
3937 withval=$with_gtkprint;
3938 if test "$withval" = yes; then
3939 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3940 else
3941 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3942 fi
3943
3944 else
3945
3946 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3947
3948 fi
3949
3950
3951 eval "$wx_cv_use_gtkprint"
3952
3953 if test x"$withstring" = xwithout; then
3954 if test $wxUSE_GTKPRINT = yes; then
3955 result=no
3956 else
3957 result=yes
3958 fi
3959 else
3960 result=$wxUSE_GTKPRINT
3961 fi
3962
3963 { echo "$as_me:$LINENO: result: $result" >&5
3964 echo "${ECHO_T}$result" >&6; }
3965
3966
3967 withstring=without
3968 defaultval=$wxUSE_ALL_FEATURES
3969 if test -z "$defaultval"; then
3970 if test x"$withstring" = xwithout; then
3971 defaultval=yes
3972 else
3973 defaultval=no
3974 fi
3975 fi
3976 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3977 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3978
3979 # Check whether --with-gnomeprint was given.
3980 if test "${with_gnomeprint+set}" = set; then
3981 withval=$with_gnomeprint;
3982 if test "$withval" = yes; then
3983 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3984 else
3985 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3986 fi
3987
3988 else
3989
3990 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3991
3992 fi
3993
3994
3995 eval "$wx_cv_use_gnomeprint"
3996
3997 if test x"$withstring" = xwithout; then
3998 if test $wxUSE_LIBGNOMEPRINT = yes; then
3999 result=no
4000 else
4001 result=yes
4002 fi
4003 else
4004 result=$wxUSE_LIBGNOMEPRINT
4005 fi
4006
4007 { echo "$as_me:$LINENO: result: $result" >&5
4008 echo "${ECHO_T}$result" >&6; }
4009
4010
4011 withstring=
4012 defaultval=$wxUSE_ALL_FEATURES
4013 if test -z "$defaultval"; then
4014 if test x"$withstring" = xwithout; then
4015 defaultval=yes
4016 else
4017 defaultval=no
4018 fi
4019 fi
4020 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4021 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4022
4023 # Check whether --with-gnomevfs was given.
4024 if test "${with_gnomevfs+set}" = set; then
4025 withval=$with_gnomevfs;
4026 if test "$withval" = yes; then
4027 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4028 else
4029 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4030 fi
4031
4032 else
4033
4034 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4035
4036 fi
4037
4038
4039 eval "$wx_cv_use_gnomevfs"
4040
4041 if test x"$withstring" = xwithout; then
4042 if test $wxUSE_LIBGNOMEVFS = yes; then
4043 result=no
4044 else
4045 result=yes
4046 fi
4047 else
4048 result=$wxUSE_LIBGNOMEVFS
4049 fi
4050
4051 { echo "$as_me:$LINENO: result: $result" >&5
4052 echo "${ECHO_T}$result" >&6; }
4053
4054
4055 withstring=
4056 defaultval=$wxUSE_ALL_FEATURES
4057 if test -z "$defaultval"; then
4058 if test x"$withstring" = xwithout; then
4059 defaultval=yes
4060 else
4061 defaultval=no
4062 fi
4063 fi
4064 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4065 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4066
4067 # Check whether --with-hildon was given.
4068 if test "${with_hildon+set}" = set; then
4069 withval=$with_hildon;
4070 if test "$withval" = yes; then
4071 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4072 else
4073 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4074 fi
4075
4076 else
4077
4078 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4079
4080 fi
4081
4082
4083 eval "$wx_cv_use_hildon"
4084
4085 if test x"$withstring" = xwithout; then
4086 if test $wxUSE_LIBHILDON = yes; then
4087 result=no
4088 else
4089 result=yes
4090 fi
4091 else
4092 result=$wxUSE_LIBHILDON
4093 fi
4094
4095 { echo "$as_me:$LINENO: result: $result" >&5
4096 echo "${ECHO_T}$result" >&6; }
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}-opengl" >&5
4109 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4110
4111 # Check whether --with-opengl was given.
4112 if test "${with_opengl+set}" = set; then
4113 withval=$with_opengl;
4114 if test "$withval" = yes; then
4115 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4116 else
4117 wx_cv_use_opengl='wxUSE_OPENGL=no'
4118 fi
4119
4120 else
4121
4122 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4123
4124 fi
4125
4126
4127 eval "$wx_cv_use_opengl"
4128
4129 if test x"$withstring" = xwithout; then
4130 if test $wxUSE_OPENGL = yes; then
4131 result=no
4132 else
4133 result=yes
4134 fi
4135 else
4136 result=$wxUSE_OPENGL
4137 fi
4138
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4141
4142
4143 fi
4144
4145
4146 withstring=
4147 defaultval=$wxUSE_ALL_FEATURES
4148 if test -z "$defaultval"; then
4149 if test x"$withstring" = xwithout; then
4150 defaultval=yes
4151 else
4152 defaultval=no
4153 fi
4154 fi
4155 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4156 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4157
4158 # Check whether --with-dmalloc was given.
4159 if test "${with_dmalloc+set}" = set; then
4160 withval=$with_dmalloc;
4161 if test "$withval" = yes; then
4162 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4163 else
4164 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4165 fi
4166
4167 else
4168
4169 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4170
4171 fi
4172
4173
4174 eval "$wx_cv_use_dmalloc"
4175
4176 if test x"$withstring" = xwithout; then
4177 if test $wxUSE_DMALLOC = yes; then
4178 result=no
4179 else
4180 result=yes
4181 fi
4182 else
4183 result=$wxUSE_DMALLOC
4184 fi
4185
4186 { echo "$as_me:$LINENO: result: $result" >&5
4187 echo "${ECHO_T}$result" >&6; }
4188
4189
4190 withstring=
4191 defaultval=$wxUSE_ALL_FEATURES
4192 if test -z "$defaultval"; then
4193 if test x"$withstring" = xwithout; then
4194 defaultval=yes
4195 else
4196 defaultval=no
4197 fi
4198 fi
4199 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4200 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4201
4202 # Check whether --with-sdl was given.
4203 if test "${with_sdl+set}" = set; then
4204 withval=$with_sdl;
4205 if test "$withval" = yes; then
4206 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4207 else
4208 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4209 fi
4210
4211 else
4212
4213 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4214
4215 fi
4216
4217
4218 eval "$wx_cv_use_sdl"
4219
4220 if test x"$withstring" = xwithout; then
4221 if test $wxUSE_LIBSDL = yes; then
4222 result=no
4223 else
4224 result=yes
4225 fi
4226 else
4227 result=$wxUSE_LIBSDL
4228 fi
4229
4230 { echo "$as_me:$LINENO: result: $result" >&5
4231 echo "${ECHO_T}$result" >&6; }
4232
4233
4234 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4235 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4236
4237 # Check whether --with-regex was given.
4238 if test "${with_regex+set}" = set; then
4239 withval=$with_regex;
4240 if test "$withval" = yes; then
4241 wx_cv_use_regex='wxUSE_REGEX=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_regex='wxUSE_REGEX=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_regex='wxUSE_REGEX=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_regex='wxUSE_REGEX=builtin'
4248 else
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4252 fi
4253
4254 else
4255
4256 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4257
4258 fi
4259
4260
4261 eval "$wx_cv_use_regex"
4262
4263 if test "$wxUSE_REGEX" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_REGEX" = no; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_REGEX" = sys; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_REGEX" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280
4281
4282 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4283 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4284
4285 # Check whether --with-zlib was given.
4286 if test "${with_zlib+set}" = set; then
4287 withval=$with_zlib;
4288 if test "$withval" = yes; then
4289 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4290 elif test "$withval" = no; then
4291 wx_cv_use_zlib='wxUSE_ZLIB=no'
4292 elif test "$withval" = sys; then
4293 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4296 else
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi
4301
4302 else
4303
4304 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4305
4306 fi
4307
4308
4309 eval "$wx_cv_use_zlib"
4310
4311 if test "$wxUSE_ZLIB" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_ZLIB" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_ZLIB" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_ZLIB" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4323 else
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4327 fi
4328
4329
4330 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4331 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4332
4333 # Check whether --with-expat was given.
4334 if test "${with_expat+set}" = set; then
4335 withval=$with_expat;
4336 if test "$withval" = yes; then
4337 wx_cv_use_expat='wxUSE_EXPAT=yes'
4338 elif test "$withval" = no; then
4339 wx_cv_use_expat='wxUSE_EXPAT=no'
4340 elif test "$withval" = sys; then
4341 wx_cv_use_expat='wxUSE_EXPAT=sys'
4342 elif test "$withval" = builtin; then
4343 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4344 else
4345 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4346 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4347 { (exit 1); exit 1; }; }
4348 fi
4349
4350 else
4351
4352 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4353
4354 fi
4355
4356
4357 eval "$wx_cv_use_expat"
4358
4359 if test "$wxUSE_EXPAT" = yes; then
4360 { echo "$as_me:$LINENO: result: yes" >&5
4361 echo "${ECHO_T}yes" >&6; }
4362 elif test "$wxUSE_EXPAT" = no; then
4363 { echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6; }
4365 elif test "$wxUSE_EXPAT" = sys; then
4366 { echo "$as_me:$LINENO: result: system version" >&5
4367 echo "${ECHO_T}system version" >&6; }
4368 elif test "$wxUSE_EXPAT" = builtin; then
4369 { echo "$as_me:$LINENO: result: builtin version" >&5
4370 echo "${ECHO_T}builtin version" >&6; }
4371 else
4372 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4373 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4374 { (exit 1); exit 1; }; }
4375 fi
4376
4377
4378 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4379 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4380
4381 # Check whether --with-macosx-sdk was given.
4382 if test "${with_macosx_sdk+set}" = set; then
4383 withval=$with_macosx_sdk;
4384 wxUSE_MACOSX_SDK=$withval
4385 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4386
4387 fi
4388
4389 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4390 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4391
4392 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4393 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4394
4395 # Check whether --with-macosx-version-min was given.
4396 if test "${with_macosx_version_min+set}" = set; then
4397 withval=$with_macosx_version_min;
4398 wxUSE_MACOSX_VERSION_MIN=$withval
4399 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4400
4401 fi
4402
4403 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4404 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4405
4406
4407 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4408 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4409 # Check whether --enable-debug was given.
4410 if test "${enable_debug+set}" = set; then
4411 enableval=$enable_debug;
4412 if test "$enableval" = yes; then
4413 wxUSE_DEBUG=yes
4414 elif test "$enableval" = no; then
4415 wxUSE_DEBUG=no
4416 elif test "$enableval" = max; then
4417 wxUSE_DEBUG=yes
4418 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4419 else
4420 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4421 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4422 { (exit 1); exit 1; }; }
4423 fi
4424
4425 else
4426 wxUSE_DEBUG=default
4427
4428 fi
4429
4430
4431 case "$wxUSE_DEBUG" in
4432 yes)
4433 DEFAULT_wxUSE_DEBUG_FLAG=yes
4434 DEFAULT_wxUSE_DEBUG_INFO=yes
4435
4436 DEFAULT_wxUSE_OPTIMISE=no
4437 ;;
4438
4439 no)
4440 DEFAULT_wxUSE_DEBUG_FLAG=no
4441 DEFAULT_wxUSE_DEBUG_INFO=no
4442 ;;
4443
4444 default)
4445 DEFAULT_wxUSE_DEBUG_FLAG=yes
4446 DEFAULT_wxUSE_DEBUG_INFO=no
4447 ;;
4448 esac
4449
4450
4451 enablestring=disable
4452 defaultval=
4453 if test -z "$defaultval"; then
4454 if test x"$enablestring" = xdisable; then
4455 defaultval=yes
4456 else
4457 defaultval=no
4458 fi
4459 fi
4460
4461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4462 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4463 # Check whether --enable-debug_flag was given.
4464 if test "${enable_debug_flag+set}" = set; then
4465 enableval=$enable_debug_flag;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4468 else
4469 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4470 fi
4471
4472 else
4473
4474 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4475
4476 fi
4477
4478
4479 eval "$wx_cv_use_debug_flag"
4480
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_DEBUG_FLAG = no; then
4483 result=yes
4484 else
4485 result=no
4486 fi
4487 else
4488 result=$wxUSE_DEBUG_FLAG
4489 fi
4490
4491 { echo "$as_me:$LINENO: result: $result" >&5
4492 echo "${ECHO_T}$result" >&6; }
4493
4494
4495 enablestring=
4496 defaultval=
4497 if test -z "$defaultval"; then
4498 if test x"$enablestring" = xdisable; then
4499 defaultval=yes
4500 else
4501 defaultval=no
4502 fi
4503 fi
4504
4505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4507 # Check whether --enable-debug_info was given.
4508 if test "${enable_debug_info+set}" = set; then
4509 enableval=$enable_debug_info;
4510 if test "$enableval" = yes; then
4511 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4512 else
4513 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4514 fi
4515
4516 else
4517
4518 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4519
4520 fi
4521
4522
4523 eval "$wx_cv_use_debug_info"
4524
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_DEBUG_INFO = no; then
4527 result=yes
4528 else
4529 result=no
4530 fi
4531 else
4532 result=$wxUSE_DEBUG_INFO
4533 fi
4534
4535 { echo "$as_me:$LINENO: result: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4537
4538
4539
4540
4541 enablestring=
4542 defaultval=
4543 if test -z "$defaultval"; then
4544 if test x"$enablestring" = xdisable; then
4545 defaultval=yes
4546 else
4547 defaultval=no
4548 fi
4549 fi
4550
4551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4553 # Check whether --enable-debug_gdb was given.
4554 if test "${enable_debug_gdb+set}" = set; then
4555 enableval=$enable_debug_gdb;
4556 if test "$enableval" = yes; then
4557 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4558 else
4559 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4560 fi
4561
4562 else
4563
4564 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4565
4566 fi
4567
4568
4569 eval "$wx_cv_use_debug_gdb"
4570
4571 if test x"$enablestring" = xdisable; then
4572 if test $wxUSE_DEBUG_GDB = no; then
4573 result=yes
4574 else
4575 result=no
4576 fi
4577 else
4578 result=$wxUSE_DEBUG_GDB
4579 fi
4580
4581 { echo "$as_me:$LINENO: result: $result" >&5
4582 echo "${ECHO_T}$result" >&6; }
4583
4584
4585 enablestring=
4586 defaultval=
4587 if test -z "$defaultval"; then
4588 if test x"$enablestring" = xdisable; then
4589 defaultval=yes
4590 else
4591 defaultval=no
4592 fi
4593 fi
4594
4595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4597 # Check whether --enable-debug_cntxt was given.
4598 if test "${enable_debug_cntxt+set}" = set; then
4599 enableval=$enable_debug_cntxt;
4600 if test "$enableval" = yes; then
4601 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4602 else
4603 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4604 fi
4605
4606 else
4607
4608 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4609
4610 fi
4611
4612
4613 eval "$wx_cv_use_debug_cntxt"
4614
4615 if test x"$enablestring" = xdisable; then
4616 if test $wxUSE_DEBUG_CONTEXT = no; then
4617 result=yes
4618 else
4619 result=no
4620 fi
4621 else
4622 result=$wxUSE_DEBUG_CONTEXT
4623 fi
4624
4625 { echo "$as_me:$LINENO: result: $result" >&5
4626 echo "${ECHO_T}$result" >&6; }
4627
4628
4629 enablestring=
4630 defaultval=
4631 if test -z "$defaultval"; then
4632 if test x"$enablestring" = xdisable; then
4633 defaultval=yes
4634 else
4635 defaultval=no
4636 fi
4637 fi
4638
4639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4641 # Check whether --enable-mem_tracing was given.
4642 if test "${enable_mem_tracing+set}" = set; then
4643 enableval=$enable_mem_tracing;
4644 if test "$enableval" = yes; then
4645 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4646 else
4647 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4648 fi
4649
4650 else
4651
4652 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4653
4654 fi
4655
4656
4657 eval "$wx_cv_use_mem_tracing"
4658
4659 if test x"$enablestring" = xdisable; then
4660 if test $wxUSE_MEM_TRACING = no; then
4661 result=yes
4662 else
4663 result=no
4664 fi
4665 else
4666 result=$wxUSE_MEM_TRACING
4667 fi
4668
4669 { echo "$as_me:$LINENO: result: $result" >&5
4670 echo "${ECHO_T}$result" >&6; }
4671
4672
4673
4674
4675 enablestring=disable
4676 defaultval=
4677 if test -z "$defaultval"; then
4678 if test x"$enablestring" = xdisable; then
4679 defaultval=yes
4680 else
4681 defaultval=no
4682 fi
4683 fi
4684
4685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4687 # Check whether --enable-shared was given.
4688 if test "${enable_shared+set}" = set; then
4689 enableval=$enable_shared;
4690 if test "$enableval" = yes; then
4691 wx_cv_use_shared='wxUSE_SHARED=yes'
4692 else
4693 wx_cv_use_shared='wxUSE_SHARED=no'
4694 fi
4695
4696 else
4697
4698 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4699
4700 fi
4701
4702
4703 eval "$wx_cv_use_shared"
4704
4705 if test x"$enablestring" = xdisable; then
4706 if test $wxUSE_SHARED = no; then
4707 result=yes
4708 else
4709 result=no
4710 fi
4711 else
4712 result=$wxUSE_SHARED
4713 fi
4714
4715 { echo "$as_me:$LINENO: result: $result" >&5
4716 echo "${ECHO_T}$result" >&6; }
4717
4718
4719 enablestring=
4720 defaultval=
4721 if test -z "$defaultval"; then
4722 if test x"$enablestring" = xdisable; then
4723 defaultval=yes
4724 else
4725 defaultval=no
4726 fi
4727 fi
4728
4729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4731 # Check whether --enable-stl was given.
4732 if test "${enable_stl+set}" = set; then
4733 enableval=$enable_stl;
4734 if test "$enableval" = yes; then
4735 wx_cv_use_stl='wxUSE_STL=yes'
4736 else
4737 wx_cv_use_stl='wxUSE_STL=no'
4738 fi
4739
4740 else
4741
4742 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4743
4744 fi
4745
4746
4747 eval "$wx_cv_use_stl"
4748
4749 if test x"$enablestring" = xdisable; then
4750 if test $wxUSE_STL = no; then
4751 result=yes
4752 else
4753 result=no
4754 fi
4755 else
4756 result=$wxUSE_STL
4757 fi
4758
4759 { echo "$as_me:$LINENO: result: $result" >&5
4760 echo "${ECHO_T}$result" >&6; }
4761
4762
4763 enablestring=
4764 defaultval=
4765 if test -z "$defaultval"; then
4766 if test x"$enablestring" = xdisable; then
4767 defaultval=yes
4768 else
4769 defaultval=no
4770 fi
4771 fi
4772
4773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4775 # Check whether --enable-std_iostreams was given.
4776 if test "${enable_std_iostreams+set}" = set; then
4777 enableval=$enable_std_iostreams;
4778 if test "$enableval" = yes; then
4779 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4780 else
4781 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4782 fi
4783
4784 else
4785
4786 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4787
4788 fi
4789
4790
4791 eval "$wx_cv_use_std_iostreams"
4792
4793 if test x"$enablestring" = xdisable; then
4794 if test $wxUSE_STD_IOSTREAM = no; then
4795 result=yes
4796 else
4797 result=no
4798 fi
4799 else
4800 result=$wxUSE_STD_IOSTREAM
4801 fi
4802
4803 { echo "$as_me:$LINENO: result: $result" >&5
4804 echo "${ECHO_T}$result" >&6; }
4805
4806
4807 enablestring=
4808 defaultval=
4809 if test -z "$defaultval"; then
4810 if test x"$enablestring" = xdisable; then
4811 defaultval=yes
4812 else
4813 defaultval=no
4814 fi
4815 fi
4816
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4819 # Check whether --enable-std_string was given.
4820 if test "${enable_std_string+set}" = set; then
4821 enableval=$enable_std_string;
4822 if test "$enableval" = yes; then
4823 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4824 else
4825 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4826 fi
4827
4828 else
4829
4830 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4831
4832 fi
4833
4834
4835 eval "$wx_cv_use_std_string"
4836
4837 if test x"$enablestring" = xdisable; then
4838 if test $wxUSE_STD_STRING = no; then
4839 result=yes
4840 else
4841 result=no
4842 fi
4843 else
4844 result=$wxUSE_STD_STRING
4845 fi
4846
4847 { echo "$as_me:$LINENO: result: $result" >&5
4848 echo "${ECHO_T}$result" >&6; }
4849
4850
4851 enablestring=disable
4852 defaultval=
4853 if test -z "$defaultval"; then
4854 if test x"$enablestring" = xdisable; then
4855 defaultval=yes
4856 else
4857 defaultval=no
4858 fi
4859 fi
4860
4861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4863 # Check whether --enable-unicode was given.
4864 if test "${enable_unicode+set}" = set; then
4865 enableval=$enable_unicode;
4866 if test "$enableval" = yes; then
4867 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4868 else
4869 wx_cv_use_unicode='wxUSE_UNICODE=no'
4870 fi
4871
4872 else
4873
4874 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4875
4876 fi
4877
4878
4879 eval "$wx_cv_use_unicode"
4880
4881 if test x"$enablestring" = xdisable; then
4882 if test $wxUSE_UNICODE = no; then
4883 result=yes
4884 else
4885 result=no
4886 fi
4887 else
4888 result=$wxUSE_UNICODE
4889 fi
4890
4891 { echo "$as_me:$LINENO: result: $result" >&5
4892 echo "${ECHO_T}$result" >&6; }
4893
4894
4895 enablestring=
4896 defaultval=
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4899 defaultval=yes
4900 else
4901 defaultval=no
4902 fi
4903 fi
4904
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4907 # Check whether --enable-mslu was given.
4908 if test "${enable_mslu+set}" = set; then
4909 enableval=$enable_mslu;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4912 else
4913 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4914 fi
4915
4916 else
4917
4918 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4919
4920 fi
4921
4922
4923 eval "$wx_cv_use_mslu"
4924
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_UNICODE_MSLU = no; then
4927 result=yes
4928 else
4929 result=no
4930 fi
4931 else
4932 result=$wxUSE_UNICODE_MSLU
4933 fi
4934
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4937
4938
4939 enablestring=
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4942 # Check whether --enable-utf8 was given.
4943 if test "${enable_utf8+set}" = set; then
4944 enableval=$enable_utf8;
4945 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4946
4947 else
4948
4949 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4950
4951 fi
4952
4953
4954 eval "$wx_cv_use_utf8"
4955
4956 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4957 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4958
4959
4960 enablestring=
4961 defaultval=
4962 if test -z "$defaultval"; then
4963 if test x"$enablestring" = xdisable; then
4964 defaultval=yes
4965 else
4966 defaultval=no
4967 fi
4968 fi
4969
4970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4972 # Check whether --enable-utf8only was given.
4973 if test "${enable_utf8only+set}" = set; then
4974 enableval=$enable_utf8only;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4977 else
4978 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4979 fi
4980
4981 else
4982
4983 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4984
4985 fi
4986
4987
4988 eval "$wx_cv_use_utf8only"
4989
4990 if test x"$enablestring" = xdisable; then
4991 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4992 result=yes
4993 else
4994 result=no
4995 fi
4996 else
4997 result=$wxUSE_UNICODE_UTF8_LOCALE
4998 fi
4999
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5002
5003
5004 enablestring=
5005 defaultval=
5006 if test -z "$defaultval"; then
5007 if test x"$enablestring" = xdisable; then
5008 defaultval=yes
5009 else
5010 defaultval=no
5011 fi
5012 fi
5013
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5016 # Check whether --enable-extended_rtti was given.
5017 if test "${enable_extended_rtti+set}" = set; then
5018 enableval=$enable_extended_rtti;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5021 else
5022 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5023 fi
5024
5025 else
5026
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_extended_rtti"
5033
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_EXTENDED_RTTI = no; then
5036 result=yes
5037 else
5038 result=no
5039 fi
5040 else
5041 result=$wxUSE_EXTENDED_RTTI
5042 fi
5043
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5046
5047 if test "$USE_OS2" = 1; then
5048 DEFAULT_wxUSE_OMF=no
5049
5050 enablestring=
5051 defaultval=
5052 if test -z "$defaultval"; then
5053 if test x"$enablestring" = xdisable; then
5054 defaultval=yes
5055 else
5056 defaultval=no
5057 fi
5058 fi
5059
5060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5062 # Check whether --enable-omf was given.
5063 if test "${enable_omf+set}" = set; then
5064 enableval=$enable_omf;
5065 if test "$enableval" = yes; then
5066 wx_cv_use_omf='wxUSE_OMF=yes'
5067 else
5068 wx_cv_use_omf='wxUSE_OMF=no'
5069 fi
5070
5071 else
5072
5073 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5074
5075 fi
5076
5077
5078 eval "$wx_cv_use_omf"
5079
5080 if test x"$enablestring" = xdisable; then
5081 if test $wxUSE_OMF = no; then
5082 result=yes
5083 else
5084 result=no
5085 fi
5086 else
5087 result=$wxUSE_OMF
5088 fi
5089
5090 { echo "$as_me:$LINENO: result: $result" >&5
5091 echo "${ECHO_T}$result" >&6; }
5092
5093 fi
5094
5095
5096 enablestring=disable
5097 defaultval=
5098 if test -z "$defaultval"; then
5099 if test x"$enablestring" = xdisable; then
5100 defaultval=yes
5101 else
5102 defaultval=no
5103 fi
5104 fi
5105
5106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5108 # Check whether --enable-optimise was given.
5109 if test "${enable_optimise+set}" = set; then
5110 enableval=$enable_optimise;
5111 if test "$enableval" = yes; then
5112 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5113 else
5114 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5115 fi
5116
5117 else
5118
5119 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5120
5121 fi
5122
5123
5124 eval "$wx_cv_use_optimise"
5125
5126 if test x"$enablestring" = xdisable; then
5127 if test $wxUSE_OPTIMISE = no; then
5128 result=yes
5129 else
5130 result=no
5131 fi
5132 else
5133 result=$wxUSE_OPTIMISE
5134 fi
5135
5136 { echo "$as_me:$LINENO: result: $result" >&5
5137 echo "${ECHO_T}$result" >&6; }
5138
5139
5140
5141 enablestring=
5142 defaultval=
5143 if test -z "$defaultval"; then
5144 if test x"$enablestring" = xdisable; then
5145 defaultval=yes
5146 else
5147 defaultval=no
5148 fi
5149 fi
5150
5151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5153 # Check whether --enable-profile was given.
5154 if test "${enable_profile+set}" = set; then
5155 enableval=$enable_profile;
5156 if test "$enableval" = yes; then
5157 wx_cv_use_profile='wxUSE_PROFILE=yes'
5158 else
5159 wx_cv_use_profile='wxUSE_PROFILE=no'
5160 fi
5161
5162 else
5163
5164 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5165
5166 fi
5167
5168
5169 eval "$wx_cv_use_profile"
5170
5171 if test x"$enablestring" = xdisable; then
5172 if test $wxUSE_PROFILE = no; then
5173 result=yes
5174 else
5175 result=no
5176 fi
5177 else
5178 result=$wxUSE_PROFILE
5179 fi
5180
5181 { echo "$as_me:$LINENO: result: $result" >&5
5182 echo "${ECHO_T}$result" >&6; }
5183
5184
5185 enablestring=
5186 defaultval=
5187 if test -z "$defaultval"; then
5188 if test x"$enablestring" = xdisable; then
5189 defaultval=yes
5190 else
5191 defaultval=no
5192 fi
5193 fi
5194
5195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5197 # Check whether --enable-no_rtti was given.
5198 if test "${enable_no_rtti+set}" = set; then
5199 enableval=$enable_no_rtti;
5200 if test "$enableval" = yes; then
5201 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5202 else
5203 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5204 fi
5205
5206 else
5207
5208 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5209
5210 fi
5211
5212
5213 eval "$wx_cv_use_no_rtti"
5214
5215 if test x"$enablestring" = xdisable; then
5216 if test $wxUSE_NO_RTTI = no; then
5217 result=yes
5218 else
5219 result=no
5220 fi
5221 else
5222 result=$wxUSE_NO_RTTI
5223 fi
5224
5225 { echo "$as_me:$LINENO: result: $result" >&5
5226 echo "${ECHO_T}$result" >&6; }
5227
5228
5229 enablestring=
5230 defaultval=
5231 if test -z "$defaultval"; then
5232 if test x"$enablestring" = xdisable; then
5233 defaultval=yes
5234 else
5235 defaultval=no
5236 fi
5237 fi
5238
5239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5240 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5241 # Check whether --enable-no_exceptions was given.
5242 if test "${enable_no_exceptions+set}" = set; then
5243 enableval=$enable_no_exceptions;
5244 if test "$enableval" = yes; then
5245 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5246 else
5247 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5248 fi
5249
5250 else
5251
5252 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5253
5254 fi
5255
5256
5257 eval "$wx_cv_use_no_exceptions"
5258
5259 if test x"$enablestring" = xdisable; then
5260 if test $wxUSE_NO_EXCEPTIONS = no; then
5261 result=yes
5262 else
5263 result=no
5264 fi
5265 else
5266 result=$wxUSE_NO_EXCEPTIONS
5267 fi
5268
5269 { echo "$as_me:$LINENO: result: $result" >&5
5270 echo "${ECHO_T}$result" >&6; }
5271
5272
5273 enablestring=
5274 defaultval=
5275 if test -z "$defaultval"; then
5276 if test x"$enablestring" = xdisable; then
5277 defaultval=yes
5278 else
5279 defaultval=no
5280 fi
5281 fi
5282
5283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5284 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5285 # Check whether --enable-permissive was given.
5286 if test "${enable_permissive+set}" = set; then
5287 enableval=$enable_permissive;
5288 if test "$enableval" = yes; then
5289 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5290 else
5291 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5292 fi
5293
5294 else
5295
5296 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5297
5298 fi
5299
5300
5301 eval "$wx_cv_use_permissive"
5302
5303 if test x"$enablestring" = xdisable; then
5304 if test $wxUSE_PERMISSIVE = no; then
5305 result=yes
5306 else
5307 result=no
5308 fi
5309 else
5310 result=$wxUSE_PERMISSIVE
5311 fi
5312
5313 { echo "$as_me:$LINENO: result: $result" >&5
5314 echo "${ECHO_T}$result" >&6; }
5315
5316
5317 enablestring=
5318 defaultval=
5319 if test -z "$defaultval"; then
5320 if test x"$enablestring" = xdisable; then
5321 defaultval=yes
5322 else
5323 defaultval=no
5324 fi
5325 fi
5326
5327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5328 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5329 # Check whether --enable-no_deps was given.
5330 if test "${enable_no_deps+set}" = set; then
5331 enableval=$enable_no_deps;
5332 if test "$enableval" = yes; then
5333 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5334 else
5335 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5336 fi
5337
5338 else
5339
5340 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5341
5342 fi
5343
5344
5345 eval "$wx_cv_use_no_deps"
5346
5347 if test x"$enablestring" = xdisable; then
5348 if test $wxUSE_NO_DEPS = no; then
5349 result=yes
5350 else
5351 result=no
5352 fi
5353 else
5354 result=$wxUSE_NO_DEPS
5355 fi
5356
5357 { echo "$as_me:$LINENO: result: $result" >&5
5358 echo "${ECHO_T}$result" >&6; }
5359
5360
5361 enablestring=disable
5362 defaultval=
5363 if test -z "$defaultval"; then
5364 if test x"$enablestring" = xdisable; then
5365 defaultval=yes
5366 else
5367 defaultval=no
5368 fi
5369 fi
5370
5371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5372 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5373 # Check whether --enable-vararg_macros was given.
5374 if test "${enable_vararg_macros+set}" = set; then
5375 enableval=$enable_vararg_macros;
5376 if test "$enableval" = yes; then
5377 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5378 else
5379 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5380 fi
5381
5382 else
5383
5384 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5385
5386 fi
5387
5388
5389 eval "$wx_cv_use_vararg_macros"
5390
5391 if test x"$enablestring" = xdisable; then
5392 if test $wxUSE_VARARG_MACROS = no; then
5393 result=yes
5394 else
5395 result=no
5396 fi
5397 else
5398 result=$wxUSE_VARARG_MACROS
5399 fi
5400
5401 { echo "$as_me:$LINENO: result: $result" >&5
5402 echo "${ECHO_T}$result" >&6; }
5403
5404
5405 enablestring=
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5408 # Check whether --enable-universal_binary was given.
5409 if test "${enable_universal_binary+set}" = set; then
5410 enableval=$enable_universal_binary;
5411 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5412
5413 else
5414
5415 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5416
5417 fi
5418
5419
5420 eval "$wx_cv_use_universal_binary"
5421
5422 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5423 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5424
5425
5426
5427 enablestring=
5428 defaultval=
5429 if test -z "$defaultval"; then
5430 if test x"$enablestring" = xdisable; then
5431 defaultval=yes
5432 else
5433 defaultval=no
5434 fi
5435 fi
5436
5437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5439 # Check whether --enable-compat26 was given.
5440 if test "${enable_compat26+set}" = set; then
5441 enableval=$enable_compat26;
5442 if test "$enableval" = yes; then
5443 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5444 else
5445 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5446 fi
5447
5448 else
5449
5450 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5451
5452 fi
5453
5454
5455 eval "$wx_cv_use_compat26"
5456
5457 if test x"$enablestring" = xdisable; then
5458 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5459 result=yes
5460 else
5461 result=no
5462 fi
5463 else
5464 result=$WXWIN_COMPATIBILITY_2_6
5465 fi
5466
5467 { echo "$as_me:$LINENO: result: $result" >&5
5468 echo "${ECHO_T}$result" >&6; }
5469
5470
5471 enablestring=disable
5472 defaultval=
5473 if test -z "$defaultval"; then
5474 if test x"$enablestring" = xdisable; then
5475 defaultval=yes
5476 else
5477 defaultval=no
5478 fi
5479 fi
5480
5481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5482 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5483 # Check whether --enable-compat28 was given.
5484 if test "${enable_compat28+set}" = set; then
5485 enableval=$enable_compat28;
5486 if test "$enableval" = yes; then
5487 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5488 else
5489 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5490 fi
5491
5492 else
5493
5494 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5495
5496 fi
5497
5498
5499 eval "$wx_cv_use_compat28"
5500
5501 if test x"$enablestring" = xdisable; then
5502 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5503 result=yes
5504 else
5505 result=no
5506 fi
5507 else
5508 result=$WXWIN_COMPATIBILITY_2_8
5509 fi
5510
5511 { echo "$as_me:$LINENO: result: $result" >&5
5512 echo "${ECHO_T}$result" >&6; }
5513
5514
5515
5516 enablestring=disable
5517 defaultval=
5518 if test -z "$defaultval"; then
5519 if test x"$enablestring" = xdisable; then
5520 defaultval=yes
5521 else
5522 defaultval=no
5523 fi
5524 fi
5525
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5528 # Check whether --enable-rpath was given.
5529 if test "${enable_rpath+set}" = set; then
5530 enableval=$enable_rpath;
5531 if test "$enableval" = yes; then
5532 wx_cv_use_rpath='wxUSE_RPATH=yes'
5533 else
5534 wx_cv_use_rpath='wxUSE_RPATH=no'
5535 fi
5536
5537 else
5538
5539 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5540
5541 fi
5542
5543
5544 eval "$wx_cv_use_rpath"
5545
5546 if test x"$enablestring" = xdisable; then
5547 if test $wxUSE_RPATH = no; then
5548 result=yes
5549 else
5550 result=no
5551 fi
5552 else
5553 result=$wxUSE_RPATH
5554 fi
5555
5556 { echo "$as_me:$LINENO: result: $result" >&5
5557 echo "${ECHO_T}$result" >&6; }
5558
5559
5560
5561 enablestring=
5562 defaultval=
5563 if test -z "$defaultval"; then
5564 if test x"$enablestring" = xdisable; then
5565 defaultval=yes
5566 else
5567 defaultval=no
5568 fi
5569 fi
5570
5571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5573 # Check whether --enable-objc_uniquifying was given.
5574 if test "${enable_objc_uniquifying+set}" = set; then
5575 enableval=$enable_objc_uniquifying;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5578 else
5579 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5580 fi
5581
5582 else
5583
5584 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5585
5586 fi
5587
5588
5589 eval "$wx_cv_use_objc_uniquifying"
5590
5591 if test x"$enablestring" = xdisable; then
5592 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5593 result=yes
5594 else
5595 result=no
5596 fi
5597 else
5598 result=$wxUSE_OBJC_UNIQUIFYING
5599 fi
5600
5601 { echo "$as_me:$LINENO: result: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5603
5604
5605
5606 enablestring=disable
5607 defaultval=
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5610 defaultval=yes
5611 else
5612 defaultval=no
5613 fi
5614 fi
5615
5616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5618 # Check whether --enable-visibility was given.
5619 if test "${enable_visibility+set}" = set; then
5620 enableval=$enable_visibility;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5623 else
5624 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5625 fi
5626
5627 else
5628
5629 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5630
5631 fi
5632
5633
5634 eval "$wx_cv_use_visibility"
5635
5636 if test x"$enablestring" = xdisable; then
5637 if test $wxUSE_VISIBILITY = no; then
5638 result=yes
5639 else
5640 result=no
5641 fi
5642 else
5643 result=$wxUSE_VISIBILITY
5644 fi
5645
5646 { echo "$as_me:$LINENO: result: $result" >&5
5647 echo "${ECHO_T}$result" >&6; }
5648
5649
5650 enablestring=disable
5651 defaultval=
5652 if test -z "$defaultval"; then
5653 if test x"$enablestring" = xdisable; then
5654 defaultval=yes
5655 else
5656 defaultval=no
5657 fi
5658 fi
5659
5660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5662 # Check whether --enable-tls was given.
5663 if test "${enable_tls+set}" = set; then
5664 enableval=$enable_tls;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5667 else
5668 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5669 fi
5670
5671 else
5672
5673 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5674
5675 fi
5676
5677
5678 eval "$wx_cv_use_tls"
5679
5680 if test x"$enablestring" = xdisable; then
5681 if test $wxUSE_COMPILER_TLS = no; then
5682 result=yes
5683 else
5684 result=no
5685 fi
5686 else
5687 result=$wxUSE_COMPILER_TLS
5688 fi
5689
5690 { echo "$as_me:$LINENO: result: $result" >&5
5691 echo "${ECHO_T}$result" >&6; }
5692
5693
5694
5695
5696 enablestring=
5697 defaultval=$wxUSE_ALL_FEATURES
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5700 defaultval=yes
5701 else
5702 defaultval=no
5703 fi
5704 fi
5705
5706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5708 # Check whether --enable-intl was given.
5709 if test "${enable_intl+set}" = set; then
5710 enableval=$enable_intl;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_intl='wxUSE_INTL=yes'
5713 else
5714 wx_cv_use_intl='wxUSE_INTL=no'
5715 fi
5716
5717 else
5718
5719 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5720
5721 fi
5722
5723
5724 eval "$wx_cv_use_intl"
5725
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_INTL = no; then
5728 result=yes
5729 else
5730 result=no
5731 fi
5732 else
5733 result=$wxUSE_INTL
5734 fi
5735
5736 { echo "$as_me:$LINENO: result: $result" >&5
5737 echo "${ECHO_T}$result" >&6; }
5738
5739
5740 enablestring=
5741 defaultval=$wxUSE_ALL_FEATURES
5742 if test -z "$defaultval"; then
5743 if test x"$enablestring" = xdisable; then
5744 defaultval=yes
5745 else
5746 defaultval=no
5747 fi
5748 fi
5749
5750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5752 # Check whether --enable-xlocale was given.
5753 if test "${enable_xlocale+set}" = set; then
5754 enableval=$enable_xlocale;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5757 else
5758 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5759 fi
5760
5761 else
5762
5763 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5764
5765 fi
5766
5767
5768 eval "$wx_cv_use_xlocale"
5769
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_XLOCALE = no; then
5772 result=yes
5773 else
5774 result=no
5775 fi
5776 else
5777 result=$wxUSE_XLOCALE
5778 fi
5779
5780 { echo "$as_me:$LINENO: result: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5782
5783
5784 enablestring=
5785 defaultval=$wxUSE_ALL_FEATURES
5786 if test -z "$defaultval"; then
5787 if test x"$enablestring" = xdisable; then
5788 defaultval=yes
5789 else
5790 defaultval=no
5791 fi
5792 fi
5793
5794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5796 # Check whether --enable-config was given.
5797 if test "${enable_config+set}" = set; then
5798 enableval=$enable_config;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_config='wxUSE_CONFIG=yes'
5801 else
5802 wx_cv_use_config='wxUSE_CONFIG=no'
5803 fi
5804
5805 else
5806
5807 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5808
5809 fi
5810
5811
5812 eval "$wx_cv_use_config"
5813
5814 if test x"$enablestring" = xdisable; then
5815 if test $wxUSE_CONFIG = no; then
5816 result=yes
5817 else
5818 result=no
5819 fi
5820 else
5821 result=$wxUSE_CONFIG
5822 fi
5823
5824 { echo "$as_me:$LINENO: result: $result" >&5
5825 echo "${ECHO_T}$result" >&6; }
5826
5827
5828
5829 enablestring=
5830 defaultval=$wxUSE_ALL_FEATURES
5831 if test -z "$defaultval"; then
5832 if test x"$enablestring" = xdisable; then
5833 defaultval=yes
5834 else
5835 defaultval=no
5836 fi
5837 fi
5838
5839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5840 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5841 # Check whether --enable-protocols was given.
5842 if test "${enable_protocols+set}" = set; then
5843 enableval=$enable_protocols;
5844 if test "$enableval" = yes; then
5845 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5846 else
5847 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5848 fi
5849
5850 else
5851
5852 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5853
5854 fi
5855
5856
5857 eval "$wx_cv_use_protocols"
5858
5859 if test x"$enablestring" = xdisable; then
5860 if test $wxUSE_PROTOCOL = no; then
5861 result=yes
5862 else
5863 result=no
5864 fi
5865 else
5866 result=$wxUSE_PROTOCOL
5867 fi
5868
5869 { echo "$as_me:$LINENO: result: $result" >&5
5870 echo "${ECHO_T}$result" >&6; }
5871
5872
5873 enablestring=
5874 defaultval=$wxUSE_ALL_FEATURES
5875 if test -z "$defaultval"; then
5876 if test x"$enablestring" = xdisable; then
5877 defaultval=yes
5878 else
5879 defaultval=no
5880 fi
5881 fi
5882
5883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5884 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5885 # Check whether --enable-ftp was given.
5886 if test "${enable_ftp+set}" = set; then
5887 enableval=$enable_ftp;
5888 if test "$enableval" = yes; then
5889 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5890 else
5891 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5892 fi
5893
5894 else
5895
5896 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5897
5898 fi
5899
5900
5901 eval "$wx_cv_use_ftp"
5902
5903 if test x"$enablestring" = xdisable; then
5904 if test $wxUSE_PROTOCOL_FTP = no; then
5905 result=yes
5906 else
5907 result=no
5908 fi
5909 else
5910 result=$wxUSE_PROTOCOL_FTP
5911 fi
5912
5913 { echo "$as_me:$LINENO: result: $result" >&5
5914 echo "${ECHO_T}$result" >&6; }
5915
5916
5917 enablestring=
5918 defaultval=$wxUSE_ALL_FEATURES
5919 if test -z "$defaultval"; then
5920 if test x"$enablestring" = xdisable; then
5921 defaultval=yes
5922 else
5923 defaultval=no
5924 fi
5925 fi
5926
5927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5929 # Check whether --enable-http was given.
5930 if test "${enable_http+set}" = set; then
5931 enableval=$enable_http;
5932 if test "$enableval" = yes; then
5933 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5934 else
5935 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5936 fi
5937
5938 else
5939
5940 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5941
5942 fi
5943
5944
5945 eval "$wx_cv_use_http"
5946
5947 if test x"$enablestring" = xdisable; then
5948 if test $wxUSE_PROTOCOL_HTTP = no; then
5949 result=yes
5950 else
5951 result=no
5952 fi
5953 else
5954 result=$wxUSE_PROTOCOL_HTTP
5955 fi
5956
5957 { echo "$as_me:$LINENO: result: $result" >&5
5958 echo "${ECHO_T}$result" >&6; }
5959
5960
5961 enablestring=
5962 defaultval=$wxUSE_ALL_FEATURES
5963 if test -z "$defaultval"; then
5964 if test x"$enablestring" = xdisable; then
5965 defaultval=yes
5966 else
5967 defaultval=no
5968 fi
5969 fi
5970
5971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5973 # Check whether --enable-fileproto was given.
5974 if test "${enable_fileproto+set}" = set; then
5975 enableval=$enable_fileproto;
5976 if test "$enableval" = yes; then
5977 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5978 else
5979 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5980 fi
5981
5982 else
5983
5984 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5985
5986 fi
5987
5988
5989 eval "$wx_cv_use_fileproto"
5990
5991 if test x"$enablestring" = xdisable; then
5992 if test $wxUSE_PROTOCOL_FILE = no; then
5993 result=yes
5994 else
5995 result=no
5996 fi
5997 else
5998 result=$wxUSE_PROTOCOL_FILE
5999 fi
6000
6001 { echo "$as_me:$LINENO: result: $result" >&5
6002 echo "${ECHO_T}$result" >&6; }
6003
6004
6005 enablestring=
6006 defaultval=$wxUSE_ALL_FEATURES
6007 if test -z "$defaultval"; then
6008 if test x"$enablestring" = xdisable; then
6009 defaultval=yes
6010 else
6011 defaultval=no
6012 fi
6013 fi
6014
6015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6017 # Check whether --enable-sockets was given.
6018 if test "${enable_sockets+set}" = set; then
6019 enableval=$enable_sockets;
6020 if test "$enableval" = yes; then
6021 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6022 else
6023 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6024 fi
6025
6026 else
6027
6028 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6029
6030 fi
6031
6032
6033 eval "$wx_cv_use_sockets"
6034
6035 if test x"$enablestring" = xdisable; then
6036 if test $wxUSE_SOCKETS = no; then
6037 result=yes
6038 else
6039 result=no
6040 fi
6041 else
6042 result=$wxUSE_SOCKETS
6043 fi
6044
6045 { echo "$as_me:$LINENO: result: $result" >&5
6046 echo "${ECHO_T}$result" >&6; }
6047
6048
6049 enablestring=
6050 defaultval=$wxUSE_ALL_FEATURES
6051 if test -z "$defaultval"; then
6052 if test x"$enablestring" = xdisable; then
6053 defaultval=yes
6054 else
6055 defaultval=no
6056 fi
6057 fi
6058
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6061 # Check whether --enable-ipv6 was given.
6062 if test "${enable_ipv6+set}" = set; then
6063 enableval=$enable_ipv6;
6064 if test "$enableval" = yes; then
6065 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6066 else
6067 wx_cv_use_ipv6='wxUSE_IPV6=no'
6068 fi
6069
6070 else
6071
6072 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6073
6074 fi
6075
6076
6077 eval "$wx_cv_use_ipv6"
6078
6079 if test x"$enablestring" = xdisable; then
6080 if test $wxUSE_IPV6 = no; then
6081 result=yes
6082 else
6083 result=no
6084 fi
6085 else
6086 result=$wxUSE_IPV6
6087 fi
6088
6089 { echo "$as_me:$LINENO: result: $result" >&5
6090 echo "${ECHO_T}$result" >&6; }
6091
6092
6093 enablestring=
6094 defaultval=$wxUSE_ALL_FEATURES
6095 if test -z "$defaultval"; then
6096 if test x"$enablestring" = xdisable; then
6097 defaultval=yes
6098 else
6099 defaultval=no
6100 fi
6101 fi
6102
6103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6105 # Check whether --enable-ole was given.
6106 if test "${enable_ole+set}" = set; then
6107 enableval=$enable_ole;
6108 if test "$enableval" = yes; then
6109 wx_cv_use_ole='wxUSE_OLE=yes'
6110 else
6111 wx_cv_use_ole='wxUSE_OLE=no'
6112 fi
6113
6114 else
6115
6116 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6117
6118 fi
6119
6120
6121 eval "$wx_cv_use_ole"
6122
6123 if test x"$enablestring" = xdisable; then
6124 if test $wxUSE_OLE = no; then
6125 result=yes
6126 else
6127 result=no
6128 fi
6129 else
6130 result=$wxUSE_OLE
6131 fi
6132
6133 { echo "$as_me:$LINENO: result: $result" >&5
6134 echo "${ECHO_T}$result" >&6; }
6135
6136
6137 enablestring=
6138 defaultval=$wxUSE_ALL_FEATURES
6139 if test -z "$defaultval"; then
6140 if test x"$enablestring" = xdisable; then
6141 defaultval=yes
6142 else
6143 defaultval=no
6144 fi
6145 fi
6146
6147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6149 # Check whether --enable-dataobj was given.
6150 if test "${enable_dataobj+set}" = set; then
6151 enableval=$enable_dataobj;
6152 if test "$enableval" = yes; then
6153 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6154 else
6155 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6156 fi
6157
6158 else
6159
6160 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6161
6162 fi
6163
6164
6165 eval "$wx_cv_use_dataobj"
6166
6167 if test x"$enablestring" = xdisable; then
6168 if test $wxUSE_DATAOBJ = no; then
6169 result=yes
6170 else
6171 result=no
6172 fi
6173 else
6174 result=$wxUSE_DATAOBJ
6175 fi
6176
6177 { echo "$as_me:$LINENO: result: $result" >&5
6178 echo "${ECHO_T}$result" >&6; }
6179
6180
6181
6182 enablestring=
6183 defaultval=$wxUSE_ALL_FEATURES
6184 if test -z "$defaultval"; then
6185 if test x"$enablestring" = xdisable; then
6186 defaultval=yes
6187 else
6188 defaultval=no
6189 fi
6190 fi
6191
6192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6194 # Check whether --enable-ipc was given.
6195 if test "${enable_ipc+set}" = set; then
6196 enableval=$enable_ipc;
6197 if test "$enableval" = yes; then
6198 wx_cv_use_ipc='wxUSE_IPC=yes'
6199 else
6200 wx_cv_use_ipc='wxUSE_IPC=no'
6201 fi
6202
6203 else
6204
6205 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6206
6207 fi
6208
6209
6210 eval "$wx_cv_use_ipc"
6211
6212 if test x"$enablestring" = xdisable; then
6213 if test $wxUSE_IPC = no; then
6214 result=yes
6215 else
6216 result=no
6217 fi
6218 else
6219 result=$wxUSE_IPC
6220 fi
6221
6222 { echo "$as_me:$LINENO: result: $result" >&5
6223 echo "${ECHO_T}$result" >&6; }
6224
6225
6226
6227 enablestring=
6228 defaultval=$wxUSE_ALL_FEATURES
6229 if test -z "$defaultval"; then
6230 if test x"$enablestring" = xdisable; then
6231 defaultval=yes
6232 else
6233 defaultval=no
6234 fi
6235 fi
6236
6237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6239 # Check whether --enable-baseevtloop was given.
6240 if test "${enable_baseevtloop+set}" = set; then
6241 enableval=$enable_baseevtloop;
6242 if test "$enableval" = yes; then
6243 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6244 else
6245 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6246 fi
6247
6248 else
6249
6250 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6251
6252 fi
6253
6254
6255 eval "$wx_cv_use_baseevtloop"
6256
6257 if test x"$enablestring" = xdisable; then
6258 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6259 result=yes
6260 else
6261 result=no
6262 fi
6263 else
6264 result=$wxUSE_CONSOLE_EVENTLOOP
6265 fi
6266
6267 { echo "$as_me:$LINENO: result: $result" >&5
6268 echo "${ECHO_T}$result" >&6; }
6269
6270
6271 enablestring=
6272 defaultval=$wxUSE_ALL_FEATURES
6273 if test -z "$defaultval"; then
6274 if test x"$enablestring" = xdisable; then
6275 defaultval=yes
6276 else
6277 defaultval=no
6278 fi
6279 fi
6280
6281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6283 # Check whether --enable-epollloop was given.
6284 if test "${enable_epollloop+set}" = set; then
6285 enableval=$enable_epollloop;
6286 if test "$enableval" = yes; then
6287 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6288 else
6289 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6290 fi
6291
6292 else
6293
6294 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6295
6296 fi
6297
6298
6299 eval "$wx_cv_use_epollloop"
6300
6301 if test x"$enablestring" = xdisable; then
6302 if test $wxUSE_EPOLL_DISPATCHER = no; then
6303 result=yes
6304 else
6305 result=no
6306 fi
6307 else
6308 result=$wxUSE_EPOLL_DISPATCHER
6309 fi
6310
6311 { echo "$as_me:$LINENO: result: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6313
6314
6315 enablestring=
6316 defaultval=$wxUSE_ALL_FEATURES
6317 if test -z "$defaultval"; then
6318 if test x"$enablestring" = xdisable; then
6319 defaultval=yes
6320 else
6321 defaultval=no
6322 fi
6323 fi
6324
6325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6327 # Check whether --enable-selectloop was given.
6328 if test "${enable_selectloop+set}" = set; then
6329 enableval=$enable_selectloop;
6330 if test "$enableval" = yes; then
6331 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6332 else
6333 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6334 fi
6335
6336 else
6337
6338 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6339
6340 fi
6341
6342
6343 eval "$wx_cv_use_selectloop"
6344
6345 if test x"$enablestring" = xdisable; then
6346 if test $wxUSE_SELECT_DISPATCHER = no; then
6347 result=yes
6348 else
6349 result=no
6350 fi
6351 else
6352 result=$wxUSE_SELECT_DISPATCHER
6353 fi
6354
6355 { echo "$as_me:$LINENO: result: $result" >&5
6356 echo "${ECHO_T}$result" >&6; }
6357
6358
6359
6360 enablestring=
6361 defaultval=$wxUSE_ALL_FEATURES
6362 if test -z "$defaultval"; then
6363 if test x"$enablestring" = xdisable; then
6364 defaultval=yes
6365 else
6366 defaultval=no
6367 fi
6368 fi
6369
6370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6371 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6372 # Check whether --enable-any was given.
6373 if test "${enable_any+set}" = set; then
6374 enableval=$enable_any;
6375 if test "$enableval" = yes; then
6376 wx_cv_use_any='wxUSE_ANY=yes'
6377 else
6378 wx_cv_use_any='wxUSE_ANY=no'
6379 fi
6380
6381 else
6382
6383 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6384
6385 fi
6386
6387
6388 eval "$wx_cv_use_any"
6389
6390 if test x"$enablestring" = xdisable; then
6391 if test $wxUSE_ANY = no; then
6392 result=yes
6393 else
6394 result=no
6395 fi
6396 else
6397 result=$wxUSE_ANY
6398 fi
6399
6400 { echo "$as_me:$LINENO: result: $result" >&5
6401 echo "${ECHO_T}$result" >&6; }
6402
6403
6404 enablestring=
6405 defaultval=$wxUSE_ALL_FEATURES
6406 if test -z "$defaultval"; then
6407 if test x"$enablestring" = xdisable; then
6408 defaultval=yes
6409 else
6410 defaultval=no
6411 fi
6412 fi
6413
6414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6416 # Check whether --enable-apple_ieee was given.
6417 if test "${enable_apple_ieee+set}" = set; then
6418 enableval=$enable_apple_ieee;
6419 if test "$enableval" = yes; then
6420 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6421 else
6422 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6423 fi
6424
6425 else
6426
6427 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6428
6429 fi
6430
6431
6432 eval "$wx_cv_use_apple_ieee"
6433
6434 if test x"$enablestring" = xdisable; then
6435 if test $wxUSE_APPLE_IEEE = no; then
6436 result=yes
6437 else
6438 result=no
6439 fi
6440 else
6441 result=$wxUSE_APPLE_IEEE
6442 fi
6443
6444 { echo "$as_me:$LINENO: result: $result" >&5
6445 echo "${ECHO_T}$result" >&6; }
6446
6447
6448 enablestring=
6449 defaultval=$wxUSE_ALL_FEATURES
6450 if test -z "$defaultval"; then
6451 if test x"$enablestring" = xdisable; then
6452 defaultval=yes
6453 else
6454 defaultval=no
6455 fi
6456 fi
6457
6458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6460 # Check whether --enable-arcstream was given.
6461 if test "${enable_arcstream+set}" = set; then
6462 enableval=$enable_arcstream;
6463 if test "$enableval" = yes; then
6464 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6465 else
6466 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6467 fi
6468
6469 else
6470
6471 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6472
6473 fi
6474
6475
6476 eval "$wx_cv_use_arcstream"
6477
6478 if test x"$enablestring" = xdisable; then
6479 if test $wxUSE_ARCHIVE_STREAMS = no; then
6480 result=yes
6481 else
6482 result=no
6483 fi
6484 else
6485 result=$wxUSE_ARCHIVE_STREAMS
6486 fi
6487
6488 { echo "$as_me:$LINENO: result: $result" >&5
6489 echo "${ECHO_T}$result" >&6; }
6490
6491
6492 enablestring=
6493 defaultval=$wxUSE_ALL_FEATURES
6494 if test -z "$defaultval"; then
6495 if test x"$enablestring" = xdisable; then
6496 defaultval=yes
6497 else
6498 defaultval=no
6499 fi
6500 fi
6501
6502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6504 # Check whether --enable-base64 was given.
6505 if test "${enable_base64+set}" = set; then
6506 enableval=$enable_base64;
6507 if test "$enableval" = yes; then
6508 wx_cv_use_base64='wxUSE_BASE64=yes'
6509 else
6510 wx_cv_use_base64='wxUSE_BASE64=no'
6511 fi
6512
6513 else
6514
6515 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6516
6517 fi
6518
6519
6520 eval "$wx_cv_use_base64"
6521
6522 if test x"$enablestring" = xdisable; then
6523 if test $wxUSE_BASE64 = no; then
6524 result=yes
6525 else
6526 result=no
6527 fi
6528 else
6529 result=$wxUSE_BASE64
6530 fi
6531
6532 { echo "$as_me:$LINENO: result: $result" >&5
6533 echo "${ECHO_T}$result" >&6; }
6534
6535
6536 enablestring=
6537 defaultval=$wxUSE_ALL_FEATURES
6538 if test -z "$defaultval"; then
6539 if test x"$enablestring" = xdisable; then
6540 defaultval=yes
6541 else
6542 defaultval=no
6543 fi
6544 fi
6545
6546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6547 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6548 # Check whether --enable-backtrace was given.
6549 if test "${enable_backtrace+set}" = set; then
6550 enableval=$enable_backtrace;
6551 if test "$enableval" = yes; then
6552 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6553 else
6554 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6555 fi
6556
6557 else
6558
6559 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6560
6561 fi
6562
6563
6564 eval "$wx_cv_use_backtrace"
6565
6566 if test x"$enablestring" = xdisable; then
6567 if test $wxUSE_STACKWALKER = no; then
6568 result=yes
6569 else
6570 result=no
6571 fi
6572 else
6573 result=$wxUSE_STACKWALKER
6574 fi
6575
6576 { echo "$as_me:$LINENO: result: $result" >&5
6577 echo "${ECHO_T}$result" >&6; }
6578
6579
6580 enablestring=
6581 defaultval=$wxUSE_ALL_FEATURES
6582 if test -z "$defaultval"; then
6583 if test x"$enablestring" = xdisable; then
6584 defaultval=yes
6585 else
6586 defaultval=no
6587 fi
6588 fi
6589
6590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6592 # Check whether --enable-catch_segvs was given.
6593 if test "${enable_catch_segvs+set}" = set; then
6594 enableval=$enable_catch_segvs;
6595 if test "$enableval" = yes; then
6596 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6597 else
6598 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6599 fi
6600
6601 else
6602
6603 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6604
6605 fi
6606
6607
6608 eval "$wx_cv_use_catch_segvs"
6609
6610 if test x"$enablestring" = xdisable; then
6611 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6612 result=yes
6613 else
6614 result=no
6615 fi
6616 else
6617 result=$wxUSE_ON_FATAL_EXCEPTION
6618 fi
6619
6620 { echo "$as_me:$LINENO: result: $result" >&5
6621 echo "${ECHO_T}$result" >&6; }
6622
6623
6624 enablestring=
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6628 defaultval=yes
6629 else
6630 defaultval=no
6631 fi
6632 fi
6633
6634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6635 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6636 # Check whether --enable-cmdline was given.
6637 if test "${enable_cmdline+set}" = set; then
6638 enableval=$enable_cmdline;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6641 else
6642 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6643 fi
6644
6645 else
6646
6647 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6648
6649 fi
6650
6651
6652 eval "$wx_cv_use_cmdline"
6653
6654 if test x"$enablestring" = xdisable; then
6655 if test $wxUSE_CMDLINE_PARSER = no; then
6656 result=yes
6657 else
6658 result=no
6659 fi
6660 else
6661 result=$wxUSE_CMDLINE_PARSER
6662 fi
6663
6664 { echo "$as_me:$LINENO: result: $result" >&5
6665 echo "${ECHO_T}$result" >&6; }
6666
6667
6668 enablestring=
6669 defaultval=$wxUSE_ALL_FEATURES
6670 if test -z "$defaultval"; then
6671 if test x"$enablestring" = xdisable; then
6672 defaultval=yes
6673 else
6674 defaultval=no
6675 fi
6676 fi
6677
6678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6679 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6680 # Check whether --enable-datetime was given.
6681 if test "${enable_datetime+set}" = set; then
6682 enableval=$enable_datetime;
6683 if test "$enableval" = yes; then
6684 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6685 else
6686 wx_cv_use_datetime='wxUSE_DATETIME=no'
6687 fi
6688
6689 else
6690
6691 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6692
6693 fi
6694
6695
6696 eval "$wx_cv_use_datetime"
6697
6698 if test x"$enablestring" = xdisable; then
6699 if test $wxUSE_DATETIME = no; then
6700 result=yes
6701 else
6702 result=no
6703 fi
6704 else
6705 result=$wxUSE_DATETIME
6706 fi
6707
6708 { echo "$as_me:$LINENO: result: $result" >&5
6709 echo "${ECHO_T}$result" >&6; }
6710
6711
6712 enablestring=
6713 defaultval=$wxUSE_ALL_FEATURES
6714 if test -z "$defaultval"; then
6715 if test x"$enablestring" = xdisable; then
6716 defaultval=yes
6717 else
6718 defaultval=no
6719 fi
6720 fi
6721
6722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6724 # Check whether --enable-debugreport was given.
6725 if test "${enable_debugreport+set}" = set; then
6726 enableval=$enable_debugreport;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6729 else
6730 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6731 fi
6732
6733 else
6734
6735 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6736
6737 fi
6738
6739
6740 eval "$wx_cv_use_debugreport"
6741
6742 if test x"$enablestring" = xdisable; then
6743 if test $wxUSE_DEBUGREPORT = no; then
6744 result=yes
6745 else
6746 result=no
6747 fi
6748 else
6749 result=$wxUSE_DEBUGREPORT
6750 fi
6751
6752 { echo "$as_me:$LINENO: result: $result" >&5
6753 echo "${ECHO_T}$result" >&6; }
6754
6755
6756 enablestring=
6757 defaultval=$wxUSE_ALL_FEATURES
6758 if test -z "$defaultval"; then
6759 if test x"$enablestring" = xdisable; then
6760 defaultval=yes
6761 else
6762 defaultval=no
6763 fi
6764 fi
6765
6766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6768 # Check whether --enable-dialupman was given.
6769 if test "${enable_dialupman+set}" = set; then
6770 enableval=$enable_dialupman;
6771 if test "$enableval" = yes; then
6772 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6773 else
6774 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6775 fi
6776
6777 else
6778
6779 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6780
6781 fi
6782
6783
6784 eval "$wx_cv_use_dialupman"
6785
6786 if test x"$enablestring" = xdisable; then
6787 if test $wxUSE_DIALUP_MANAGER = no; then
6788 result=yes
6789 else
6790 result=no
6791 fi
6792 else
6793 result=$wxUSE_DIALUP_MANAGER
6794 fi
6795
6796 { echo "$as_me:$LINENO: result: $result" >&5
6797 echo "${ECHO_T}$result" >&6; }
6798
6799
6800 enablestring=
6801 defaultval=$wxUSE_ALL_FEATURES
6802 if test -z "$defaultval"; then
6803 if test x"$enablestring" = xdisable; then
6804 defaultval=yes
6805 else
6806 defaultval=no
6807 fi
6808 fi
6809
6810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6811 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6812 # Check whether --enable-dynlib was given.
6813 if test "${enable_dynlib+set}" = set; then
6814 enableval=$enable_dynlib;
6815 if test "$enableval" = yes; then
6816 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6817 else
6818 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6819 fi
6820
6821 else
6822
6823 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6824
6825 fi
6826
6827
6828 eval "$wx_cv_use_dynlib"
6829
6830 if test x"$enablestring" = xdisable; then
6831 if test $wxUSE_DYNLIB_CLASS = no; then
6832 result=yes
6833 else
6834 result=no
6835 fi
6836 else
6837 result=$wxUSE_DYNLIB_CLASS
6838 fi
6839
6840 { echo "$as_me:$LINENO: result: $result" >&5
6841 echo "${ECHO_T}$result" >&6; }
6842
6843
6844 enablestring=
6845 defaultval=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x"$enablestring" = xdisable; then
6848 defaultval=yes
6849 else
6850 defaultval=no
6851 fi
6852 fi
6853
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6856 # Check whether --enable-dynamicloader was given.
6857 if test "${enable_dynamicloader+set}" = set; then
6858 enableval=$enable_dynamicloader;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6861 else
6862 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6863 fi
6864
6865 else
6866
6867 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6868
6869 fi
6870
6871
6872 eval "$wx_cv_use_dynamicloader"
6873
6874 if test x"$enablestring" = xdisable; then
6875 if test $wxUSE_DYNAMIC_LOADER = no; then
6876 result=yes
6877 else
6878 result=no
6879 fi
6880 else
6881 result=$wxUSE_DYNAMIC_LOADER
6882 fi
6883
6884 { echo "$as_me:$LINENO: result: $result" >&5
6885 echo "${ECHO_T}$result" >&6; }
6886
6887
6888 enablestring=
6889 defaultval=$wxUSE_ALL_FEATURES
6890 if test -z "$defaultval"; then
6891 if test x"$enablestring" = xdisable; then
6892 defaultval=yes
6893 else
6894 defaultval=no
6895 fi
6896 fi
6897
6898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6900 # Check whether --enable-exceptions was given.
6901 if test "${enable_exceptions+set}" = set; then
6902 enableval=$enable_exceptions;
6903 if test "$enableval" = yes; then
6904 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6905 else
6906 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6907 fi
6908
6909 else
6910
6911 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6912
6913 fi
6914
6915
6916 eval "$wx_cv_use_exceptions"
6917
6918 if test x"$enablestring" = xdisable; then
6919 if test $wxUSE_EXCEPTIONS = no; then
6920 result=yes
6921 else
6922 result=no
6923 fi
6924 else
6925 result=$wxUSE_EXCEPTIONS
6926 fi
6927
6928 { echo "$as_me:$LINENO: result: $result" >&5
6929 echo "${ECHO_T}$result" >&6; }
6930
6931
6932 enablestring=
6933 defaultval=$wxUSE_ALL_FEATURES
6934 if test -z "$defaultval"; then
6935 if test x"$enablestring" = xdisable; then
6936 defaultval=yes
6937 else
6938 defaultval=no
6939 fi
6940 fi
6941
6942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6944 # Check whether --enable-ffile was given.
6945 if test "${enable_ffile+set}" = set; then
6946 enableval=$enable_ffile;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_ffile='wxUSE_FFILE=yes'
6949 else
6950 wx_cv_use_ffile='wxUSE_FFILE=no'
6951 fi
6952
6953 else
6954
6955 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6956
6957 fi
6958
6959
6960 eval "$wx_cv_use_ffile"
6961
6962 if test x"$enablestring" = xdisable; then
6963 if test $wxUSE_FFILE = no; then
6964 result=yes
6965 else
6966 result=no
6967 fi
6968 else
6969 result=$wxUSE_FFILE
6970 fi
6971
6972 { echo "$as_me:$LINENO: result: $result" >&5
6973 echo "${ECHO_T}$result" >&6; }
6974
6975
6976 enablestring=
6977 defaultval=$wxUSE_ALL_FEATURES
6978 if test -z "$defaultval"; then
6979 if test x"$enablestring" = xdisable; then
6980 defaultval=yes
6981 else
6982 defaultval=no
6983 fi
6984 fi
6985
6986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6988 # Check whether --enable-file was given.
6989 if test "${enable_file+set}" = set; then
6990 enableval=$enable_file;
6991 if test "$enableval" = yes; then
6992 wx_cv_use_file='wxUSE_FILE=yes'
6993 else
6994 wx_cv_use_file='wxUSE_FILE=no'
6995 fi
6996
6997 else
6998
6999 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7000
7001 fi
7002
7003
7004 eval "$wx_cv_use_file"
7005
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_FILE = no; then
7008 result=yes
7009 else
7010 result=no
7011 fi
7012 else
7013 result=$wxUSE_FILE
7014 fi
7015
7016 { echo "$as_me:$LINENO: result: $result" >&5
7017 echo "${ECHO_T}$result" >&6; }
7018
7019
7020 enablestring=
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7024 defaultval=yes
7025 else
7026 defaultval=no
7027 fi
7028 fi
7029
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7032 # Check whether --enable-filehistory was given.
7033 if test "${enable_filehistory+set}" = set; then
7034 enableval=$enable_filehistory;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7037 else
7038 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7039 fi
7040
7041 else
7042
7043 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7044
7045 fi
7046
7047
7048 eval "$wx_cv_use_filehistory"
7049
7050 if test x"$enablestring" = xdisable; then
7051 if test $wxUSE_FILE_HISTORY = no; then
7052 result=yes
7053 else
7054 result=no
7055 fi
7056 else
7057 result=$wxUSE_FILE_HISTORY
7058 fi
7059
7060 { echo "$as_me:$LINENO: result: $result" >&5
7061 echo "${ECHO_T}$result" >&6; }
7062
7063
7064 enablestring=
7065 defaultval=$wxUSE_ALL_FEATURES
7066 if test -z "$defaultval"; then
7067 if test x"$enablestring" = xdisable; then
7068 defaultval=yes
7069 else
7070 defaultval=no
7071 fi
7072 fi
7073
7074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7075 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7076 # Check whether --enable-filesystem was given.
7077 if test "${enable_filesystem+set}" = set; then
7078 enableval=$enable_filesystem;
7079 if test "$enableval" = yes; then
7080 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7081 else
7082 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7083 fi
7084
7085 else
7086
7087 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7088
7089 fi
7090
7091
7092 eval "$wx_cv_use_filesystem"
7093
7094 if test x"$enablestring" = xdisable; then
7095 if test $wxUSE_FILESYSTEM = no; then
7096 result=yes
7097 else
7098 result=no
7099 fi
7100 else
7101 result=$wxUSE_FILESYSTEM
7102 fi
7103
7104 { echo "$as_me:$LINENO: result: $result" >&5
7105 echo "${ECHO_T}$result" >&6; }
7106
7107
7108 enablestring=
7109 defaultval=$wxUSE_ALL_FEATURES
7110 if test -z "$defaultval"; then
7111 if test x"$enablestring" = xdisable; then
7112 defaultval=yes
7113 else
7114 defaultval=no
7115 fi
7116 fi
7117
7118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7119 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7120 # Check whether --enable-fontenum was given.
7121 if test "${enable_fontenum+set}" = set; then
7122 enableval=$enable_fontenum;
7123 if test "$enableval" = yes; then
7124 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7125 else
7126 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7127 fi
7128
7129 else
7130
7131 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7132
7133 fi
7134
7135
7136 eval "$wx_cv_use_fontenum"
7137
7138 if test x"$enablestring" = xdisable; then
7139 if test $wxUSE_FONTENUM = no; then
7140 result=yes
7141 else
7142 result=no
7143 fi
7144 else
7145 result=$wxUSE_FONTENUM
7146 fi
7147
7148 { echo "$as_me:$LINENO: result: $result" >&5
7149 echo "${ECHO_T}$result" >&6; }
7150
7151
7152 enablestring=
7153 defaultval=$wxUSE_ALL_FEATURES
7154 if test -z "$defaultval"; then
7155 if test x"$enablestring" = xdisable; then
7156 defaultval=yes
7157 else
7158 defaultval=no
7159 fi
7160 fi
7161
7162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7163 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7164 # Check whether --enable-fontmap was given.
7165 if test "${enable_fontmap+set}" = set; then
7166 enableval=$enable_fontmap;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7169 else
7170 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7171 fi
7172
7173 else
7174
7175 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7176
7177 fi
7178
7179
7180 eval "$wx_cv_use_fontmap"
7181
7182 if test x"$enablestring" = xdisable; then
7183 if test $wxUSE_FONTMAP = no; then
7184 result=yes
7185 else
7186 result=no
7187 fi
7188 else
7189 result=$wxUSE_FONTMAP
7190 fi
7191
7192 { echo "$as_me:$LINENO: result: $result" >&5
7193 echo "${ECHO_T}$result" >&6; }
7194
7195
7196 enablestring=
7197 defaultval=$wxUSE_ALL_FEATURES
7198 if test -z "$defaultval"; then
7199 if test x"$enablestring" = xdisable; then
7200 defaultval=yes
7201 else
7202 defaultval=no
7203 fi
7204 fi
7205
7206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7208 # Check whether --enable-fs_archive was given.
7209 if test "${enable_fs_archive+set}" = set; then
7210 enableval=$enable_fs_archive;
7211 if test "$enableval" = yes; then
7212 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7213 else
7214 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7215 fi
7216
7217 else
7218
7219 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7220
7221 fi
7222
7223
7224 eval "$wx_cv_use_fs_archive"
7225
7226 if test x"$enablestring" = xdisable; then
7227 if test $wxUSE_FS_ARCHIVE = no; then
7228 result=yes
7229 else
7230 result=no
7231 fi
7232 else
7233 result=$wxUSE_FS_ARCHIVE
7234 fi
7235
7236 { echo "$as_me:$LINENO: result: $result" >&5
7237 echo "${ECHO_T}$result" >&6; }
7238
7239
7240 enablestring=
7241 defaultval=$wxUSE_ALL_FEATURES
7242 if test -z "$defaultval"; then
7243 if test x"$enablestring" = xdisable; then
7244 defaultval=yes
7245 else
7246 defaultval=no
7247 fi
7248 fi
7249
7250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7252 # Check whether --enable-fs_inet was given.
7253 if test "${enable_fs_inet+set}" = set; then
7254 enableval=$enable_fs_inet;
7255 if test "$enableval" = yes; then
7256 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7257 else
7258 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7259 fi
7260
7261 else
7262
7263 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7264
7265 fi
7266
7267
7268 eval "$wx_cv_use_fs_inet"
7269
7270 if test x"$enablestring" = xdisable; then
7271 if test $wxUSE_FS_INET = no; then
7272 result=yes
7273 else
7274 result=no
7275 fi
7276 else
7277 result=$wxUSE_FS_INET
7278 fi
7279
7280 { echo "$as_me:$LINENO: result: $result" >&5
7281 echo "${ECHO_T}$result" >&6; }
7282
7283
7284 enablestring=
7285 defaultval=$wxUSE_ALL_FEATURES
7286 if test -z "$defaultval"; then
7287 if test x"$enablestring" = xdisable; then
7288 defaultval=yes
7289 else
7290 defaultval=no
7291 fi
7292 fi
7293
7294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7296 # Check whether --enable-fs_zip was given.
7297 if test "${enable_fs_zip+set}" = set; then
7298 enableval=$enable_fs_zip;
7299 if test "$enableval" = yes; then
7300 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7301 else
7302 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7303 fi
7304
7305 else
7306
7307 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7308
7309 fi
7310
7311
7312 eval "$wx_cv_use_fs_zip"
7313
7314 if test x"$enablestring" = xdisable; then
7315 if test $wxUSE_FS_ZIP = no; then
7316 result=yes
7317 else
7318 result=no
7319 fi
7320 else
7321 result=$wxUSE_FS_ZIP
7322 fi
7323
7324 { echo "$as_me:$LINENO: result: $result" >&5
7325 echo "${ECHO_T}$result" >&6; }
7326
7327
7328 enablestring=
7329 defaultval=$wxUSE_ALL_FEATURES
7330 if test -z "$defaultval"; then
7331 if test x"$enablestring" = xdisable; then
7332 defaultval=yes
7333 else
7334 defaultval=no
7335 fi
7336 fi
7337
7338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7340 # Check whether --enable-fswatcher was given.
7341 if test "${enable_fswatcher+set}" = set; then
7342 enableval=$enable_fswatcher;
7343 if test "$enableval" = yes; then
7344 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7345 else
7346 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7347 fi
7348
7349 else
7350
7351 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7352
7353 fi
7354
7355
7356 eval "$wx_cv_use_fswatcher"
7357
7358 if test x"$enablestring" = xdisable; then
7359 if test $wxUSE_FSWATCHER = no; then
7360 result=yes
7361 else
7362 result=no
7363 fi
7364 else
7365 result=$wxUSE_FSWATCHER
7366 fi
7367
7368 { echo "$as_me:$LINENO: result: $result" >&5
7369 echo "${ECHO_T}$result" >&6; }
7370
7371
7372 enablestring=
7373 defaultval=$wxUSE_ALL_FEATURES
7374 if test -z "$defaultval"; then
7375 if test x"$enablestring" = xdisable; then
7376 defaultval=yes
7377 else
7378 defaultval=no
7379 fi
7380 fi
7381
7382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7384 # Check whether --enable-geometry was given.
7385 if test "${enable_geometry+set}" = set; then
7386 enableval=$enable_geometry;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7389 else
7390 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7391 fi
7392
7393 else
7394
7395 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7396
7397 fi
7398
7399
7400 eval "$wx_cv_use_geometry"
7401
7402 if test x"$enablestring" = xdisable; then
7403 if test $wxUSE_GEOMETRY = no; then
7404 result=yes
7405 else
7406 result=no
7407 fi
7408 else
7409 result=$wxUSE_GEOMETRY
7410 fi
7411
7412 { echo "$as_me:$LINENO: result: $result" >&5
7413 echo "${ECHO_T}$result" >&6; }
7414
7415
7416 enablestring=
7417 defaultval=$wxUSE_ALL_FEATURES
7418 if test -z "$defaultval"; then
7419 if test x"$enablestring" = xdisable; then
7420 defaultval=yes
7421 else
7422 defaultval=no
7423 fi
7424 fi
7425
7426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7427 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7428 # Check whether --enable-log was given.
7429 if test "${enable_log+set}" = set; then
7430 enableval=$enable_log;
7431 if test "$enableval" = yes; then
7432 wx_cv_use_log='wxUSE_LOG=yes'
7433 else
7434 wx_cv_use_log='wxUSE_LOG=no'
7435 fi
7436
7437 else
7438
7439 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7440
7441 fi
7442
7443
7444 eval "$wx_cv_use_log"
7445
7446 if test x"$enablestring" = xdisable; then
7447 if test $wxUSE_LOG = no; then
7448 result=yes
7449 else
7450 result=no
7451 fi
7452 else
7453 result=$wxUSE_LOG
7454 fi
7455
7456 { echo "$as_me:$LINENO: result: $result" >&5
7457 echo "${ECHO_T}$result" >&6; }
7458
7459
7460 enablestring=
7461 defaultval=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x"$enablestring" = xdisable; then
7464 defaultval=yes
7465 else
7466 defaultval=no
7467 fi
7468 fi
7469
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7472 # Check whether --enable-longlong was given.
7473 if test "${enable_longlong+set}" = set; then
7474 enableval=$enable_longlong;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7477 else
7478 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7479 fi
7480
7481 else
7482
7483 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7484
7485 fi
7486
7487
7488 eval "$wx_cv_use_longlong"
7489
7490 if test x"$enablestring" = xdisable; then
7491 if test $wxUSE_LONGLONG = no; then
7492 result=yes
7493 else
7494 result=no
7495 fi
7496 else
7497 result=$wxUSE_LONGLONG
7498 fi
7499
7500 { echo "$as_me:$LINENO: result: $result" >&5
7501 echo "${ECHO_T}$result" >&6; }
7502
7503
7504 enablestring=
7505 defaultval=$wxUSE_ALL_FEATURES
7506 if test -z "$defaultval"; then
7507 if test x"$enablestring" = xdisable; then
7508 defaultval=yes
7509 else
7510 defaultval=no
7511 fi
7512 fi
7513
7514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7516 # Check whether --enable-mimetype was given.
7517 if test "${enable_mimetype+set}" = set; then
7518 enableval=$enable_mimetype;
7519 if test "$enableval" = yes; then
7520 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7521 else
7522 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7523 fi
7524
7525 else
7526
7527 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7528
7529 fi
7530
7531
7532 eval "$wx_cv_use_mimetype"
7533
7534 if test x"$enablestring" = xdisable; then
7535 if test $wxUSE_MIMETYPE = no; then
7536 result=yes
7537 else
7538 result=no
7539 fi
7540 else
7541 result=$wxUSE_MIMETYPE
7542 fi
7543
7544 { echo "$as_me:$LINENO: result: $result" >&5
7545 echo "${ECHO_T}$result" >&6; }
7546
7547
7548 enablestring=
7549 defaultval=$wxUSE_ALL_FEATURES
7550 if test -z "$defaultval"; then
7551 if test x"$enablestring" = xdisable; then
7552 defaultval=yes
7553 else
7554 defaultval=no
7555 fi
7556 fi
7557
7558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7559 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7560 # Check whether --enable-printfposparam was given.
7561 if test "${enable_printfposparam+set}" = set; then
7562 enableval=$enable_printfposparam;
7563 if test "$enableval" = yes; then
7564 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7565 else
7566 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7567 fi
7568
7569 else
7570
7571 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7572
7573 fi
7574
7575
7576 eval "$wx_cv_use_printfposparam"
7577
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7580 result=yes
7581 else
7582 result=no
7583 fi
7584 else
7585 result=$wxUSE_PRINTF_POS_PARAMS
7586 fi
7587
7588 { echo "$as_me:$LINENO: result: $result" >&5
7589 echo "${ECHO_T}$result" >&6; }
7590
7591
7592 enablestring=
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7596 defaultval=yes
7597 else
7598 defaultval=no
7599 fi
7600 fi
7601
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7604 # Check whether --enable-snglinst was given.
7605 if test "${enable_snglinst+set}" = set; then
7606 enableval=$enable_snglinst;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7609 else
7610 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7611 fi
7612
7613 else
7614
7615 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7616
7617 fi
7618
7619
7620 eval "$wx_cv_use_snglinst"
7621
7622 if test x"$enablestring" = xdisable; then
7623 if test $wxUSE_SNGLINST_CHECKER = no; then
7624 result=yes
7625 else
7626 result=no
7627 fi
7628 else
7629 result=$wxUSE_SNGLINST_CHECKER
7630 fi
7631
7632 { echo "$as_me:$LINENO: result: $result" >&5
7633 echo "${ECHO_T}$result" >&6; }
7634
7635
7636 enablestring=
7637 defaultval=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x"$enablestring" = xdisable; then
7640 defaultval=yes
7641 else
7642 defaultval=no
7643 fi
7644 fi
7645
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7648 # Check whether --enable-sound was given.
7649 if test "${enable_sound+set}" = set; then
7650 enableval=$enable_sound;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_sound='wxUSE_SOUND=yes'
7653 else
7654 wx_cv_use_sound='wxUSE_SOUND=no'
7655 fi
7656
7657 else
7658
7659 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7660
7661 fi
7662
7663
7664 eval "$wx_cv_use_sound"
7665
7666 if test x"$enablestring" = xdisable; then
7667 if test $wxUSE_SOUND = no; then
7668 result=yes
7669 else
7670 result=no
7671 fi
7672 else
7673 result=$wxUSE_SOUND
7674 fi
7675
7676 { echo "$as_me:$LINENO: result: $result" >&5
7677 echo "${ECHO_T}$result" >&6; }
7678
7679
7680 enablestring=
7681 defaultval=$wxUSE_ALL_FEATURES
7682 if test -z "$defaultval"; then
7683 if test x"$enablestring" = xdisable; then
7684 defaultval=yes
7685 else
7686 defaultval=no
7687 fi
7688 fi
7689
7690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7692 # Check whether --enable-stdpaths was given.
7693 if test "${enable_stdpaths+set}" = set; then
7694 enableval=$enable_stdpaths;
7695 if test "$enableval" = yes; then
7696 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7697 else
7698 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7699 fi
7700
7701 else
7702
7703 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7704
7705 fi
7706
7707
7708 eval "$wx_cv_use_stdpaths"
7709
7710 if test x"$enablestring" = xdisable; then
7711 if test $wxUSE_STDPATHS = no; then
7712 result=yes
7713 else
7714 result=no
7715 fi
7716 else
7717 result=$wxUSE_STDPATHS
7718 fi
7719
7720 { echo "$as_me:$LINENO: result: $result" >&5
7721 echo "${ECHO_T}$result" >&6; }
7722
7723
7724 enablestring=
7725 defaultval=$wxUSE_ALL_FEATURES
7726 if test -z "$defaultval"; then
7727 if test x"$enablestring" = xdisable; then
7728 defaultval=yes
7729 else
7730 defaultval=no
7731 fi
7732 fi
7733
7734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7736 # Check whether --enable-stopwatch was given.
7737 if test "${enable_stopwatch+set}" = set; then
7738 enableval=$enable_stopwatch;
7739 if test "$enableval" = yes; then
7740 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7741 else
7742 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7743 fi
7744
7745 else
7746
7747 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7748
7749 fi
7750
7751
7752 eval "$wx_cv_use_stopwatch"
7753
7754 if test x"$enablestring" = xdisable; then
7755 if test $wxUSE_STOPWATCH = no; then
7756 result=yes
7757 else
7758 result=no
7759 fi
7760 else
7761 result=$wxUSE_STOPWATCH
7762 fi
7763
7764 { echo "$as_me:$LINENO: result: $result" >&5
7765 echo "${ECHO_T}$result" >&6; }
7766
7767
7768 enablestring=
7769 defaultval=$wxUSE_ALL_FEATURES
7770 if test -z "$defaultval"; then
7771 if test x"$enablestring" = xdisable; then
7772 defaultval=yes
7773 else
7774 defaultval=no
7775 fi
7776 fi
7777
7778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7779 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7780 # Check whether --enable-streams was given.
7781 if test "${enable_streams+set}" = set; then
7782 enableval=$enable_streams;
7783 if test "$enableval" = yes; then
7784 wx_cv_use_streams='wxUSE_STREAMS=yes'
7785 else
7786 wx_cv_use_streams='wxUSE_STREAMS=no'
7787 fi
7788
7789 else
7790
7791 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7792
7793 fi
7794
7795
7796 eval "$wx_cv_use_streams"
7797
7798 if test x"$enablestring" = xdisable; then
7799 if test $wxUSE_STREAMS = no; then
7800 result=yes
7801 else
7802 result=no
7803 fi
7804 else
7805 result=$wxUSE_STREAMS
7806 fi
7807
7808 { echo "$as_me:$LINENO: result: $result" >&5
7809 echo "${ECHO_T}$result" >&6; }
7810
7811
7812 enablestring=
7813 defaultval=$wxUSE_ALL_FEATURES
7814 if test -z "$defaultval"; then
7815 if test x"$enablestring" = xdisable; then
7816 defaultval=yes
7817 else
7818 defaultval=no
7819 fi
7820 fi
7821
7822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7824 # Check whether --enable-sysoptions was given.
7825 if test "${enable_sysoptions+set}" = set; then
7826 enableval=$enable_sysoptions;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7829 else
7830 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7831 fi
7832
7833 else
7834
7835 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7836
7837 fi
7838
7839
7840 eval "$wx_cv_use_sysoptions"
7841
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_SYSTEM_OPTIONS = no; then
7844 result=yes
7845 else
7846 result=no
7847 fi
7848 else
7849 result=$wxUSE_SYSTEM_OPTIONS
7850 fi
7851
7852 { echo "$as_me:$LINENO: result: $result" >&5
7853 echo "${ECHO_T}$result" >&6; }
7854
7855
7856 enablestring=
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7860 defaultval=yes
7861 else
7862 defaultval=no
7863 fi
7864 fi
7865
7866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7867 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7868 # Check whether --enable-tarstream was given.
7869 if test "${enable_tarstream+set}" = set; then
7870 enableval=$enable_tarstream;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7873 else
7874 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7875 fi
7876
7877 else
7878
7879 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7880
7881 fi
7882
7883
7884 eval "$wx_cv_use_tarstream"
7885
7886 if test x"$enablestring" = xdisable; then
7887 if test $wxUSE_TARSTREAM = no; then
7888 result=yes
7889 else
7890 result=no
7891 fi
7892 else
7893 result=$wxUSE_TARSTREAM
7894 fi
7895
7896 { echo "$as_me:$LINENO: result: $result" >&5
7897 echo "${ECHO_T}$result" >&6; }
7898
7899
7900 enablestring=
7901 defaultval=$wxUSE_ALL_FEATURES
7902 if test -z "$defaultval"; then
7903 if test x"$enablestring" = xdisable; then
7904 defaultval=yes
7905 else
7906 defaultval=no
7907 fi
7908 fi
7909
7910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7911 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7912 # Check whether --enable-textbuf was given.
7913 if test "${enable_textbuf+set}" = set; then
7914 enableval=$enable_textbuf;
7915 if test "$enableval" = yes; then
7916 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7917 else
7918 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7919 fi
7920
7921 else
7922
7923 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7924
7925 fi
7926
7927
7928 eval "$wx_cv_use_textbuf"
7929
7930 if test x"$enablestring" = xdisable; then
7931 if test $wxUSE_TEXTBUFFER = no; then
7932 result=yes
7933 else
7934 result=no
7935 fi
7936 else
7937 result=$wxUSE_TEXTBUFFER
7938 fi
7939
7940 { echo "$as_me:$LINENO: result: $result" >&5
7941 echo "${ECHO_T}$result" >&6; }
7942
7943
7944 enablestring=
7945 defaultval=$wxUSE_ALL_FEATURES
7946 if test -z "$defaultval"; then
7947 if test x"$enablestring" = xdisable; then
7948 defaultval=yes
7949 else
7950 defaultval=no
7951 fi
7952 fi
7953
7954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7956 # Check whether --enable-textfile was given.
7957 if test "${enable_textfile+set}" = set; then
7958 enableval=$enable_textfile;
7959 if test "$enableval" = yes; then
7960 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7961 else
7962 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7963 fi
7964
7965 else
7966
7967 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7968
7969 fi
7970
7971
7972 eval "$wx_cv_use_textfile"
7973
7974 if test x"$enablestring" = xdisable; then
7975 if test $wxUSE_TEXTFILE = no; then
7976 result=yes
7977 else
7978 result=no
7979 fi
7980 else
7981 result=$wxUSE_TEXTFILE
7982 fi
7983
7984 { echo "$as_me:$LINENO: result: $result" >&5
7985 echo "${ECHO_T}$result" >&6; }
7986
7987
7988 enablestring=
7989 defaultval=$wxUSE_ALL_FEATURES
7990 if test -z "$defaultval"; then
7991 if test x"$enablestring" = xdisable; then
7992 defaultval=yes
7993 else
7994 defaultval=no
7995 fi
7996 fi
7997
7998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7999 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8000 # Check whether --enable-timer was given.
8001 if test "${enable_timer+set}" = set; then
8002 enableval=$enable_timer;
8003 if test "$enableval" = yes; then
8004 wx_cv_use_timer='wxUSE_TIMER=yes'
8005 else
8006 wx_cv_use_timer='wxUSE_TIMER=no'
8007 fi
8008
8009 else
8010
8011 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8012
8013 fi
8014
8015
8016 eval "$wx_cv_use_timer"
8017
8018 if test x"$enablestring" = xdisable; then
8019 if test $wxUSE_TIMER = no; then
8020 result=yes
8021 else
8022 result=no
8023 fi
8024 else
8025 result=$wxUSE_TIMER
8026 fi
8027
8028 { echo "$as_me:$LINENO: result: $result" >&5
8029 echo "${ECHO_T}$result" >&6; }
8030
8031
8032 enablestring=
8033 defaultval=$wxUSE_ALL_FEATURES
8034 if test -z "$defaultval"; then
8035 if test x"$enablestring" = xdisable; then
8036 defaultval=yes
8037 else
8038 defaultval=no
8039 fi
8040 fi
8041
8042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8044 # Check whether --enable-variant was given.
8045 if test "${enable_variant+set}" = set; then
8046 enableval=$enable_variant;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_variant='wxUSE_VARIANT=yes'
8049 else
8050 wx_cv_use_variant='wxUSE_VARIANT=no'
8051 fi
8052
8053 else
8054
8055 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8056
8057 fi
8058
8059
8060 eval "$wx_cv_use_variant"
8061
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_VARIANT = no; then
8064 result=yes
8065 else
8066 result=no
8067 fi
8068 else
8069 result=$wxUSE_VARIANT
8070 fi
8071
8072 { echo "$as_me:$LINENO: result: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8074
8075
8076 enablestring=
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8080 defaultval=yes
8081 else
8082 defaultval=no
8083 fi
8084 fi
8085
8086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8088 # Check whether --enable-zipstream was given.
8089 if test "${enable_zipstream+set}" = set; then
8090 enableval=$enable_zipstream;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8093 else
8094 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8095 fi
8096
8097 else
8098
8099 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8100
8101 fi
8102
8103
8104 eval "$wx_cv_use_zipstream"
8105
8106 if test x"$enablestring" = xdisable; then
8107 if test $wxUSE_ZIPSTREAM = no; then
8108 result=yes
8109 else
8110 result=no
8111 fi
8112 else
8113 result=$wxUSE_ZIPSTREAM
8114 fi
8115
8116 { echo "$as_me:$LINENO: result: $result" >&5
8117 echo "${ECHO_T}$result" >&6; }
8118
8119
8120
8121 enablestring=
8122 defaultval=$wxUSE_ALL_FEATURES
8123 if test -z "$defaultval"; then
8124 if test x"$enablestring" = xdisable; then
8125 defaultval=yes
8126 else
8127 defaultval=no
8128 fi
8129 fi
8130
8131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8132 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8133 # Check whether --enable-url was given.
8134 if test "${enable_url+set}" = set; then
8135 enableval=$enable_url;
8136 if test "$enableval" = yes; then
8137 wx_cv_use_url='wxUSE_URL=yes'
8138 else
8139 wx_cv_use_url='wxUSE_URL=no'
8140 fi
8141
8142 else
8143
8144 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8145
8146 fi
8147
8148
8149 eval "$wx_cv_use_url"
8150
8151 if test x"$enablestring" = xdisable; then
8152 if test $wxUSE_URL = no; then
8153 result=yes
8154 else
8155 result=no
8156 fi
8157 else
8158 result=$wxUSE_URL
8159 fi
8160
8161 { echo "$as_me:$LINENO: result: $result" >&5
8162 echo "${ECHO_T}$result" >&6; }
8163
8164
8165 enablestring=
8166 defaultval=$wxUSE_ALL_FEATURES
8167 if test -z "$defaultval"; then
8168 if test x"$enablestring" = xdisable; then
8169 defaultval=yes
8170 else
8171 defaultval=no
8172 fi
8173 fi
8174
8175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8176 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8177 # Check whether --enable-protocol was given.
8178 if test "${enable_protocol+set}" = set; then
8179 enableval=$enable_protocol;
8180 if test "$enableval" = yes; then
8181 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8182 else
8183 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8184 fi
8185
8186 else
8187
8188 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8189
8190 fi
8191
8192
8193 eval "$wx_cv_use_protocol"
8194
8195 if test x"$enablestring" = xdisable; then
8196 if test $wxUSE_PROTOCOL = no; then
8197 result=yes
8198 else
8199 result=no
8200 fi
8201 else
8202 result=$wxUSE_PROTOCOL
8203 fi
8204
8205 { echo "$as_me:$LINENO: result: $result" >&5
8206 echo "${ECHO_T}$result" >&6; }
8207
8208
8209 enablestring=
8210 defaultval=$wxUSE_ALL_FEATURES
8211 if test -z "$defaultval"; then
8212 if test x"$enablestring" = xdisable; then
8213 defaultval=yes
8214 else
8215 defaultval=no
8216 fi
8217 fi
8218
8219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8221 # Check whether --enable-protocol_http was given.
8222 if test "${enable_protocol_http+set}" = set; then
8223 enableval=$enable_protocol_http;
8224 if test "$enableval" = yes; then
8225 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8226 else
8227 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8228 fi
8229
8230 else
8231
8232 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8233
8234 fi
8235
8236
8237 eval "$wx_cv_use_protocol_http"
8238
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_PROTOCOL_HTTP = no; then
8241 result=yes
8242 else
8243 result=no
8244 fi
8245 else
8246 result=$wxUSE_PROTOCOL_HTTP
8247 fi
8248
8249 { echo "$as_me:$LINENO: result: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8251
8252
8253 enablestring=
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8257 defaultval=yes
8258 else
8259 defaultval=no
8260 fi
8261 fi
8262
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8265 # Check whether --enable-protocol_ftp was given.
8266 if test "${enable_protocol_ftp+set}" = set; then
8267 enableval=$enable_protocol_ftp;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8270 else
8271 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8272 fi
8273
8274 else
8275
8276 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8277
8278 fi
8279
8280
8281 eval "$wx_cv_use_protocol_ftp"
8282
8283 if test x"$enablestring" = xdisable; then
8284 if test $wxUSE_PROTOCOL_FTP = no; then
8285 result=yes
8286 else
8287 result=no
8288 fi
8289 else
8290 result=$wxUSE_PROTOCOL_FTP
8291 fi
8292
8293 { echo "$as_me:$LINENO: result: $result" >&5
8294 echo "${ECHO_T}$result" >&6; }
8295
8296
8297 enablestring=
8298 defaultval=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x"$enablestring" = xdisable; then
8301 defaultval=yes
8302 else
8303 defaultval=no
8304 fi
8305 fi
8306
8307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8309 # Check whether --enable-protocol_file was given.
8310 if test "${enable_protocol_file+set}" = set; then
8311 enableval=$enable_protocol_file;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8314 else
8315 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8316 fi
8317
8318 else
8319
8320 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8321
8322 fi
8323
8324
8325 eval "$wx_cv_use_protocol_file"
8326
8327 if test x"$enablestring" = xdisable; then
8328 if test $wxUSE_PROTOCOL_FILE = no; then
8329 result=yes
8330 else
8331 result=no
8332 fi
8333 else
8334 result=$wxUSE_PROTOCOL_FILE
8335 fi
8336
8337 { echo "$as_me:$LINENO: result: $result" >&5
8338 echo "${ECHO_T}$result" >&6; }
8339
8340
8341
8342 enablestring=
8343 defaultval=$wxUSE_ALL_FEATURES
8344 if test -z "$defaultval"; then
8345 if test x"$enablestring" = xdisable; then
8346 defaultval=yes
8347 else
8348 defaultval=no
8349 fi
8350 fi
8351
8352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8353 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8354 # Check whether --enable-threads was given.
8355 if test "${enable_threads+set}" = set; then
8356 enableval=$enable_threads;
8357 if test "$enableval" = yes; then
8358 wx_cv_use_threads='wxUSE_THREADS=yes'
8359 else
8360 wx_cv_use_threads='wxUSE_THREADS=no'
8361 fi
8362
8363 else
8364
8365 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8366
8367 fi
8368
8369
8370 eval "$wx_cv_use_threads"
8371
8372 if test x"$enablestring" = xdisable; then
8373 if test $wxUSE_THREADS = no; then
8374 result=yes
8375 else
8376 result=no
8377 fi
8378 else
8379 result=$wxUSE_THREADS
8380 fi
8381
8382 { echo "$as_me:$LINENO: result: $result" >&5
8383 echo "${ECHO_T}$result" >&6; }
8384
8385
8386
8387 enablestring=
8388 defaultval=
8389 if test -z "$defaultval"; then
8390 if test x"$enablestring" = xdisable; then
8391 defaultval=yes
8392 else
8393 defaultval=no
8394 fi
8395 fi
8396
8397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8399 # Check whether --enable-iniconf was given.
8400 if test "${enable_iniconf+set}" = set; then
8401 enableval=$enable_iniconf;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8404 else
8405 wx_cv_use_iniconf='wxUSE_INICONF=no'
8406 fi
8407
8408 else
8409
8410 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8411
8412 fi
8413
8414
8415 eval "$wx_cv_use_iniconf"
8416
8417 if test x"$enablestring" = xdisable; then
8418 if test $wxUSE_INICONF = no; then
8419 result=yes
8420 else
8421 result=no
8422 fi
8423 else
8424 result=$wxUSE_INICONF
8425 fi
8426
8427 { echo "$as_me:$LINENO: result: $result" >&5
8428 echo "${ECHO_T}$result" >&6; }
8429
8430
8431 enablestring=
8432 defaultval=$wxUSE_ALL_FEATURES
8433 if test -z "$defaultval"; then
8434 if test x"$enablestring" = xdisable; then
8435 defaultval=yes
8436 else
8437 defaultval=no
8438 fi
8439 fi
8440
8441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8443 # Check whether --enable-regkey was given.
8444 if test "${enable_regkey+set}" = set; then
8445 enableval=$enable_regkey;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8448 else
8449 wx_cv_use_regkey='wxUSE_REGKEY=no'
8450 fi
8451
8452 else
8453
8454 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8455
8456 fi
8457
8458
8459 eval "$wx_cv_use_regkey"
8460
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_REGKEY = no; then
8463 result=yes
8464 else
8465 result=no
8466 fi
8467 else
8468 result=$wxUSE_REGKEY
8469 fi
8470
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8473
8474
8475 if test "$wxUSE_GUI" = "yes"; then
8476
8477
8478
8479 enablestring=
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8483 defaultval=yes
8484 else
8485 defaultval=no
8486 fi
8487 fi
8488
8489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8491 # Check whether --enable-docview was given.
8492 if test "${enable_docview+set}" = set; then
8493 enableval=$enable_docview;
8494 if test "$enableval" = yes; then
8495 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8496 else
8497 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8498 fi
8499
8500 else
8501
8502 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8503
8504 fi
8505
8506
8507 eval "$wx_cv_use_docview"
8508
8509 if test x"$enablestring" = xdisable; then
8510 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8511 result=yes
8512 else
8513 result=no
8514 fi
8515 else
8516 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8517 fi
8518
8519 { echo "$as_me:$LINENO: result: $result" >&5
8520 echo "${ECHO_T}$result" >&6; }
8521
8522
8523 enablestring=
8524 defaultval=$wxUSE_ALL_FEATURES
8525 if test -z "$defaultval"; then
8526 if test x"$enablestring" = xdisable; then
8527 defaultval=yes
8528 else
8529 defaultval=no
8530 fi
8531 fi
8532
8533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8535 # Check whether --enable-help was given.
8536 if test "${enable_help+set}" = set; then
8537 enableval=$enable_help;
8538 if test "$enableval" = yes; then
8539 wx_cv_use_help='wxUSE_HELP=yes'
8540 else
8541 wx_cv_use_help='wxUSE_HELP=no'
8542 fi
8543
8544 else
8545
8546 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8547
8548 fi
8549
8550
8551 eval "$wx_cv_use_help"
8552
8553 if test x"$enablestring" = xdisable; then
8554 if test $wxUSE_HELP = no; then
8555 result=yes
8556 else
8557 result=no
8558 fi
8559 else
8560 result=$wxUSE_HELP
8561 fi
8562
8563 { echo "$as_me:$LINENO: result: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8565
8566
8567 enablestring=
8568 defaultval=$wxUSE_ALL_FEATURES
8569 if test -z "$defaultval"; then
8570 if test x"$enablestring" = xdisable; then
8571 defaultval=yes
8572 else
8573 defaultval=no
8574 fi
8575 fi
8576
8577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8579 # Check whether --enable-mshtmlhelp was given.
8580 if test "${enable_mshtmlhelp+set}" = set; then
8581 enableval=$enable_mshtmlhelp;
8582 if test "$enableval" = yes; then
8583 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8584 else
8585 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8586 fi
8587
8588 else
8589
8590 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8591
8592 fi
8593
8594
8595 eval "$wx_cv_use_mshtmlhelp"
8596
8597 if test x"$enablestring" = xdisable; then
8598 if test $wxUSE_MS_HTML_HELP = no; then
8599 result=yes
8600 else
8601 result=no
8602 fi
8603 else
8604 result=$wxUSE_MS_HTML_HELP
8605 fi
8606
8607 { echo "$as_me:$LINENO: result: $result" >&5
8608 echo "${ECHO_T}$result" >&6; }
8609
8610
8611 enablestring=
8612 defaultval=$wxUSE_ALL_FEATURES
8613 if test -z "$defaultval"; then
8614 if test x"$enablestring" = xdisable; then
8615 defaultval=yes
8616 else
8617 defaultval=no
8618 fi
8619 fi
8620
8621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8622 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8623 # Check whether --enable-html was given.
8624 if test "${enable_html+set}" = set; then
8625 enableval=$enable_html;
8626 if test "$enableval" = yes; then
8627 wx_cv_use_html='wxUSE_HTML=yes'
8628 else
8629 wx_cv_use_html='wxUSE_HTML=no'
8630 fi
8631
8632 else
8633
8634 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8635
8636 fi
8637
8638
8639 eval "$wx_cv_use_html"
8640
8641 if test x"$enablestring" = xdisable; then
8642 if test $wxUSE_HTML = no; then
8643 result=yes
8644 else
8645 result=no
8646 fi
8647 else
8648 result=$wxUSE_HTML
8649 fi
8650
8651 { echo "$as_me:$LINENO: result: $result" >&5
8652 echo "${ECHO_T}$result" >&6; }
8653
8654
8655 enablestring=
8656 defaultval=$wxUSE_ALL_FEATURES
8657 if test -z "$defaultval"; then
8658 if test x"$enablestring" = xdisable; then
8659 defaultval=yes
8660 else
8661 defaultval=no
8662 fi
8663 fi
8664
8665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8666 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8667 # Check whether --enable-htmlhelp was given.
8668 if test "${enable_htmlhelp+set}" = set; then
8669 enableval=$enable_htmlhelp;
8670 if test "$enableval" = yes; then
8671 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8672 else
8673 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8674 fi
8675
8676 else
8677
8678 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8679
8680 fi
8681
8682
8683 eval "$wx_cv_use_htmlhelp"
8684
8685 if test x"$enablestring" = xdisable; then
8686 if test $wxUSE_WXHTML_HELP = no; then
8687 result=yes
8688 else
8689 result=no
8690 fi
8691 else
8692 result=$wxUSE_WXHTML_HELP
8693 fi
8694
8695 { echo "$as_me:$LINENO: result: $result" >&5
8696 echo "${ECHO_T}$result" >&6; }
8697
8698
8699 enablestring=
8700 defaultval=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x"$enablestring" = xdisable; then
8703 defaultval=yes
8704 else
8705 defaultval=no
8706 fi
8707 fi
8708
8709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8710 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8711 # Check whether --enable-xrc was given.
8712 if test "${enable_xrc+set}" = set; then
8713 enableval=$enable_xrc;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_xrc='wxUSE_XRC=yes'
8716 else
8717 wx_cv_use_xrc='wxUSE_XRC=no'
8718 fi
8719
8720 else
8721
8722 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8723
8724 fi
8725
8726
8727 eval "$wx_cv_use_xrc"
8728
8729 if test x"$enablestring" = xdisable; then
8730 if test $wxUSE_XRC = no; then
8731 result=yes
8732 else
8733 result=no
8734 fi
8735 else
8736 result=$wxUSE_XRC
8737 fi
8738
8739 { echo "$as_me:$LINENO: result: $result" >&5
8740 echo "${ECHO_T}$result" >&6; }
8741
8742
8743 enablestring=
8744 defaultval=$wxUSE_ALL_FEATURES
8745 if test -z "$defaultval"; then
8746 if test x"$enablestring" = xdisable; then
8747 defaultval=yes
8748 else
8749 defaultval=no
8750 fi
8751 fi
8752
8753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8755 # Check whether --enable-aui was given.
8756 if test "${enable_aui+set}" = set; then
8757 enableval=$enable_aui;
8758 if test "$enableval" = yes; then
8759 wx_cv_use_aui='wxUSE_AUI=yes'
8760 else
8761 wx_cv_use_aui='wxUSE_AUI=no'
8762 fi
8763
8764 else
8765
8766 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8767
8768 fi
8769
8770
8771 eval "$wx_cv_use_aui"
8772
8773 if test x"$enablestring" = xdisable; then
8774 if test $wxUSE_AUI = no; then
8775 result=yes
8776 else
8777 result=no
8778 fi
8779 else
8780 result=$wxUSE_AUI
8781 fi
8782
8783 { echo "$as_me:$LINENO: result: $result" >&5
8784 echo "${ECHO_T}$result" >&6; }
8785
8786
8787 enablestring=
8788 defaultval=$wxUSE_ALL_FEATURES
8789 if test -z "$defaultval"; then
8790 if test x"$enablestring" = xdisable; then
8791 defaultval=yes
8792 else
8793 defaultval=no
8794 fi
8795 fi
8796
8797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8799 # Check whether --enable-propgrid was given.
8800 if test "${enable_propgrid+set}" = set; then
8801 enableval=$enable_propgrid;
8802 if test "$enableval" = yes; then
8803 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8804 else
8805 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8806 fi
8807
8808 else
8809
8810 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8811
8812 fi
8813
8814
8815 eval "$wx_cv_use_propgrid"
8816
8817 if test x"$enablestring" = xdisable; then
8818 if test $wxUSE_PROPGRID = no; then
8819 result=yes
8820 else
8821 result=no
8822 fi
8823 else
8824 result=$wxUSE_PROPGRID
8825 fi
8826
8827 { echo "$as_me:$LINENO: result: $result" >&5
8828 echo "${ECHO_T}$result" >&6; }
8829
8830
8831 enablestring=
8832 defaultval=$wxUSE_ALL_FEATURES
8833 if test -z "$defaultval"; then
8834 if test x"$enablestring" = xdisable; then
8835 defaultval=yes
8836 else
8837 defaultval=no
8838 fi
8839 fi
8840
8841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8843 # Check whether --enable-ribbon was given.
8844 if test "${enable_ribbon+set}" = set; then
8845 enableval=$enable_ribbon;
8846 if test "$enableval" = yes; then
8847 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8848 else
8849 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8850 fi
8851
8852 else
8853
8854 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8855
8856 fi
8857
8858
8859 eval "$wx_cv_use_ribbon"
8860
8861 if test x"$enablestring" = xdisable; then
8862 if test $wxUSE_RIBBON = no; then
8863 result=yes
8864 else
8865 result=no
8866 fi
8867 else
8868 result=$wxUSE_RIBBON
8869 fi
8870
8871 { echo "$as_me:$LINENO: result: $result" >&5
8872 echo "${ECHO_T}$result" >&6; }
8873
8874
8875 enablestring=
8876 defaultval=$wxUSE_ALL_FEATURES
8877 if test -z "$defaultval"; then
8878 if test x"$enablestring" = xdisable; then
8879 defaultval=yes
8880 else
8881 defaultval=no
8882 fi
8883 fi
8884
8885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8886 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8887 # Check whether --enable-stc was given.
8888 if test "${enable_stc+set}" = set; then
8889 enableval=$enable_stc;
8890 if test "$enableval" = yes; then
8891 wx_cv_use_stc='wxUSE_STC=yes'
8892 else
8893 wx_cv_use_stc='wxUSE_STC=no'
8894 fi
8895
8896 else
8897
8898 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8899
8900 fi
8901
8902
8903 eval "$wx_cv_use_stc"
8904
8905 if test x"$enablestring" = xdisable; then
8906 if test $wxUSE_STC = no; then
8907 result=yes
8908 else
8909 result=no
8910 fi
8911 else
8912 result=$wxUSE_STC
8913 fi
8914
8915 { echo "$as_me:$LINENO: result: $result" >&5
8916 echo "${ECHO_T}$result" >&6; }
8917
8918
8919 enablestring=
8920 defaultval=$wxUSE_ALL_FEATURES
8921 if test -z "$defaultval"; then
8922 if test x"$enablestring" = xdisable; then
8923 defaultval=yes
8924 else
8925 defaultval=no
8926 fi
8927 fi
8928
8929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8930 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8931 # Check whether --enable-constraints was given.
8932 if test "${enable_constraints+set}" = set; then
8933 enableval=$enable_constraints;
8934 if test "$enableval" = yes; then
8935 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8936 else
8937 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8938 fi
8939
8940 else
8941
8942 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8943
8944 fi
8945
8946
8947 eval "$wx_cv_use_constraints"
8948
8949 if test x"$enablestring" = xdisable; then
8950 if test $wxUSE_CONSTRAINTS = no; then
8951 result=yes
8952 else
8953 result=no
8954 fi
8955 else
8956 result=$wxUSE_CONSTRAINTS
8957 fi
8958
8959 { echo "$as_me:$LINENO: result: $result" >&5
8960 echo "${ECHO_T}$result" >&6; }
8961
8962
8963 enablestring=
8964 defaultval=$wxUSE_ALL_FEATURES
8965 if test -z "$defaultval"; then
8966 if test x"$enablestring" = xdisable; then
8967 defaultval=yes
8968 else
8969 defaultval=no
8970 fi
8971 fi
8972
8973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8975 # Check whether --enable-loggui was given.
8976 if test "${enable_loggui+set}" = set; then
8977 enableval=$enable_loggui;
8978 if test "$enableval" = yes; then
8979 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8980 else
8981 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8982 fi
8983
8984 else
8985
8986 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8987
8988 fi
8989
8990
8991 eval "$wx_cv_use_loggui"
8992
8993 if test x"$enablestring" = xdisable; then
8994 if test $wxUSE_LOGGUI = no; then
8995 result=yes
8996 else
8997 result=no
8998 fi
8999 else
9000 result=$wxUSE_LOGGUI
9001 fi
9002
9003 { echo "$as_me:$LINENO: result: $result" >&5
9004 echo "${ECHO_T}$result" >&6; }
9005
9006
9007 enablestring=
9008 defaultval=$wxUSE_ALL_FEATURES
9009 if test -z "$defaultval"; then
9010 if test x"$enablestring" = xdisable; then
9011 defaultval=yes
9012 else
9013 defaultval=no
9014 fi
9015 fi
9016
9017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9019 # Check whether --enable-logwin was given.
9020 if test "${enable_logwin+set}" = set; then
9021 enableval=$enable_logwin;
9022 if test "$enableval" = yes; then
9023 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9024 else
9025 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9026 fi
9027
9028 else
9029
9030 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9031
9032 fi
9033
9034
9035 eval "$wx_cv_use_logwin"
9036
9037 if test x"$enablestring" = xdisable; then
9038 if test $wxUSE_LOGWINDOW = no; then
9039 result=yes
9040 else
9041 result=no
9042 fi
9043 else
9044 result=$wxUSE_LOGWINDOW
9045 fi
9046
9047 { echo "$as_me:$LINENO: result: $result" >&5
9048 echo "${ECHO_T}$result" >&6; }
9049
9050
9051 enablestring=
9052 defaultval=$wxUSE_ALL_FEATURES
9053 if test -z "$defaultval"; then
9054 if test x"$enablestring" = xdisable; then
9055 defaultval=yes
9056 else
9057 defaultval=no
9058 fi
9059 fi
9060
9061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9063 # Check whether --enable-logdialog was given.
9064 if test "${enable_logdialog+set}" = set; then
9065 enableval=$enable_logdialog;
9066 if test "$enableval" = yes; then
9067 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9068 else
9069 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9070 fi
9071
9072 else
9073
9074 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9075
9076 fi
9077
9078
9079 eval "$wx_cv_use_logdialog"
9080
9081 if test x"$enablestring" = xdisable; then
9082 if test $wxUSE_LOGDIALOG = no; then
9083 result=yes
9084 else
9085 result=no
9086 fi
9087 else
9088 result=$wxUSE_LOGDIALOG
9089 fi
9090
9091 { echo "$as_me:$LINENO: result: $result" >&5
9092 echo "${ECHO_T}$result" >&6; }
9093
9094
9095 enablestring=
9096 defaultval=$wxUSE_ALL_FEATURES
9097 if test -z "$defaultval"; then
9098 if test x"$enablestring" = xdisable; then
9099 defaultval=yes
9100 else
9101 defaultval=no
9102 fi
9103 fi
9104
9105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9106 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9107 # Check whether --enable-mdi was given.
9108 if test "${enable_mdi+set}" = set; then
9109 enableval=$enable_mdi;
9110 if test "$enableval" = yes; then
9111 wx_cv_use_mdi='wxUSE_MDI=yes'
9112 else
9113 wx_cv_use_mdi='wxUSE_MDI=no'
9114 fi
9115
9116 else
9117
9118 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9119
9120 fi
9121
9122
9123 eval "$wx_cv_use_mdi"
9124
9125 if test x"$enablestring" = xdisable; then
9126 if test $wxUSE_MDI = no; then
9127 result=yes
9128 else
9129 result=no
9130 fi
9131 else
9132 result=$wxUSE_MDI
9133 fi
9134
9135 { echo "$as_me:$LINENO: result: $result" >&5
9136 echo "${ECHO_T}$result" >&6; }
9137
9138
9139 enablestring=
9140 defaultval=$wxUSE_ALL_FEATURES
9141 if test -z "$defaultval"; then
9142 if test x"$enablestring" = xdisable; then
9143 defaultval=yes
9144 else
9145 defaultval=no
9146 fi
9147 fi
9148
9149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9151 # Check whether --enable-mdidoc was given.
9152 if test "${enable_mdidoc+set}" = set; then
9153 enableval=$enable_mdidoc;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9156 else
9157 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9158 fi
9159
9160 else
9161
9162 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9163
9164 fi
9165
9166
9167 eval "$wx_cv_use_mdidoc"
9168
9169 if test x"$enablestring" = xdisable; then
9170 if test $wxUSE_MDI_ARCHITECTURE = no; then
9171 result=yes
9172 else
9173 result=no
9174 fi
9175 else
9176 result=$wxUSE_MDI_ARCHITECTURE
9177 fi
9178
9179 { echo "$as_me:$LINENO: result: $result" >&5
9180 echo "${ECHO_T}$result" >&6; }
9181
9182
9183 enablestring=
9184 defaultval=$wxUSE_ALL_FEATURES
9185 if test -z "$defaultval"; then
9186 if test x"$enablestring" = xdisable; then
9187 defaultval=yes
9188 else
9189 defaultval=no
9190 fi
9191 fi
9192
9193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9194 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9195 # Check whether --enable-mediactrl was given.
9196 if test "${enable_mediactrl+set}" = set; then
9197 enableval=$enable_mediactrl;
9198 if test "$enableval" = yes; then
9199 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9200 else
9201 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9202 fi
9203
9204 else
9205
9206 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9207
9208 fi
9209
9210
9211 eval "$wx_cv_use_mediactrl"
9212
9213 if test x"$enablestring" = xdisable; then
9214 if test $wxUSE_MEDIACTRL = no; then
9215 result=yes
9216 else
9217 result=no
9218 fi
9219 else
9220 result=$wxUSE_MEDIACTRL
9221 fi
9222
9223 { echo "$as_me:$LINENO: result: $result" >&5
9224 echo "${ECHO_T}$result" >&6; }
9225
9226
9227 enablestring=
9228 defaultval=$wxUSE_ALL_FEATURES
9229 if test -z "$defaultval"; then
9230 if test x"$enablestring" = xdisable; then
9231 defaultval=yes
9232 else
9233 defaultval=no
9234 fi
9235 fi
9236
9237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9238 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9239 # Check whether --enable-gstreamer8 was given.
9240 if test "${enable_gstreamer8+set}" = set; then
9241 enableval=$enable_gstreamer8;
9242 if test "$enableval" = yes; then
9243 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9244 else
9245 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9246 fi
9247
9248 else
9249
9250 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9251
9252 fi
9253
9254
9255 eval "$wx_cv_use_gstreamer8"
9256
9257 if test x"$enablestring" = xdisable; then
9258 if test $wxUSE_GSTREAMER8 = no; then
9259 result=yes
9260 else
9261 result=no
9262 fi
9263 else
9264 result=$wxUSE_GSTREAMER8
9265 fi
9266
9267 { echo "$as_me:$LINENO: result: $result" >&5
9268 echo "${ECHO_T}$result" >&6; }
9269
9270
9271 enablestring=
9272 defaultval=$wxUSE_ALL_FEATURES
9273 if test -z "$defaultval"; then
9274 if test x"$enablestring" = xdisable; then
9275 defaultval=yes
9276 else
9277 defaultval=no
9278 fi
9279 fi
9280
9281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9283 # Check whether --enable-webkit was given.
9284 if test "${enable_webkit+set}" = set; then
9285 enableval=$enable_webkit;
9286 if test "$enableval" = yes; then
9287 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9288 else
9289 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9290 fi
9291
9292 else
9293
9294 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9295
9296 fi
9297
9298
9299 eval "$wx_cv_use_webkit"
9300
9301 if test x"$enablestring" = xdisable; then
9302 if test $wxUSE_WEBKIT = no; then
9303 result=yes
9304 else
9305 result=no
9306 fi
9307 else
9308 result=$wxUSE_WEBKIT
9309 fi
9310
9311 { echo "$as_me:$LINENO: result: $result" >&5
9312 echo "${ECHO_T}$result" >&6; }
9313
9314
9315 enablestring=
9316 defaultval=$wxUSE_ALL_FEATURES
9317 if test -z "$defaultval"; then
9318 if test x"$enablestring" = xdisable; then
9319 defaultval=yes
9320 else
9321 defaultval=no
9322 fi
9323 fi
9324
9325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9327 # Check whether --enable-richtext was given.
9328 if test "${enable_richtext+set}" = set; then
9329 enableval=$enable_richtext;
9330 if test "$enableval" = yes; then
9331 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9332 else
9333 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9334 fi
9335
9336 else
9337
9338 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9339
9340 fi
9341
9342
9343 eval "$wx_cv_use_richtext"
9344
9345 if test x"$enablestring" = xdisable; then
9346 if test $wxUSE_RICHTEXT = no; then
9347 result=yes
9348 else
9349 result=no
9350 fi
9351 else
9352 result=$wxUSE_RICHTEXT
9353 fi
9354
9355 { echo "$as_me:$LINENO: result: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9357
9358
9359 enablestring=
9360 defaultval=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x"$enablestring" = xdisable; then
9363 defaultval=yes
9364 else
9365 defaultval=no
9366 fi
9367 fi
9368
9369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9371 # Check whether --enable-postscript was given.
9372 if test "${enable_postscript+set}" = set; then
9373 enableval=$enable_postscript;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9376 else
9377 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9378 fi
9379
9380 else
9381
9382 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9383
9384 fi
9385
9386
9387 eval "$wx_cv_use_postscript"
9388
9389 if test x"$enablestring" = xdisable; then
9390 if test $wxUSE_POSTSCRIPT = no; then
9391 result=yes
9392 else
9393 result=no
9394 fi
9395 else
9396 result=$wxUSE_POSTSCRIPT
9397 fi
9398
9399 { echo "$as_me:$LINENO: result: $result" >&5
9400 echo "${ECHO_T}$result" >&6; }
9401
9402
9403 enablestring=
9404 defaultval=$wxUSE_ALL_FEATURES
9405 if test -z "$defaultval"; then
9406 if test x"$enablestring" = xdisable; then
9407 defaultval=yes
9408 else
9409 defaultval=no
9410 fi
9411 fi
9412
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9415 # Check whether --enable-printarch was given.
9416 if test "${enable_printarch+set}" = set; then
9417 enableval=$enable_printarch;
9418 if test "$enableval" = yes; then
9419 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9420 else
9421 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9422 fi
9423
9424 else
9425
9426 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9427
9428 fi
9429
9430
9431 eval "$wx_cv_use_printarch"
9432
9433 if test x"$enablestring" = xdisable; then
9434 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9435 result=yes
9436 else
9437 result=no
9438 fi
9439 else
9440 result=$wxUSE_PRINTING_ARCHITECTURE
9441 fi
9442
9443 { echo "$as_me:$LINENO: result: $result" >&5
9444 echo "${ECHO_T}$result" >&6; }
9445
9446
9447 enablestring=
9448 defaultval=$wxUSE_ALL_FEATURES
9449 if test -z "$defaultval"; then
9450 if test x"$enablestring" = xdisable; then
9451 defaultval=yes
9452 else
9453 defaultval=no
9454 fi
9455 fi
9456
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9459 # Check whether --enable-svg was given.
9460 if test "${enable_svg+set}" = set; then
9461 enableval=$enable_svg;
9462 if test "$enableval" = yes; then
9463 wx_cv_use_svg='wxUSE_SVG=yes'
9464 else
9465 wx_cv_use_svg='wxUSE_SVG=no'
9466 fi
9467
9468 else
9469
9470 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9471
9472 fi
9473
9474
9475 eval "$wx_cv_use_svg"
9476
9477 if test x"$enablestring" = xdisable; then
9478 if test $wxUSE_SVG = no; then
9479 result=yes
9480 else
9481 result=no
9482 fi
9483 else
9484 result=$wxUSE_SVG
9485 fi
9486
9487 { echo "$as_me:$LINENO: result: $result" >&5
9488 echo "${ECHO_T}$result" >&6; }
9489
9490
9491 if test "$wxUSE_MAC" != 1; then
9492
9493 enablestring=
9494 defaultval=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x"$enablestring" = xdisable; then
9497 defaultval=yes
9498 else
9499 defaultval=no
9500 fi
9501 fi
9502
9503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9505 # Check whether --enable-graphics_ctx was given.
9506 if test "${enable_graphics_ctx+set}" = set; then
9507 enableval=$enable_graphics_ctx;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9510 else
9511 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9512 fi
9513
9514 else
9515
9516 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9517
9518 fi
9519
9520
9521 eval "$wx_cv_use_graphics_ctx"
9522
9523 if test x"$enablestring" = xdisable; then
9524 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9525 result=yes
9526 else
9527 result=no
9528 fi
9529 else
9530 result=$wxUSE_GRAPHICS_CONTEXT
9531 fi
9532
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9535
9536 fi
9537
9538
9539
9540 enablestring=
9541 defaultval=$wxUSE_ALL_FEATURES
9542 if test -z "$defaultval"; then
9543 if test x"$enablestring" = xdisable; then
9544 defaultval=yes
9545 else
9546 defaultval=no
9547 fi
9548 fi
9549
9550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9552 # Check whether --enable-clipboard was given.
9553 if test "${enable_clipboard+set}" = set; then
9554 enableval=$enable_clipboard;
9555 if test "$enableval" = yes; then
9556 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9557 else
9558 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9559 fi
9560
9561 else
9562
9563 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9564
9565 fi
9566
9567
9568 eval "$wx_cv_use_clipboard"
9569
9570 if test x"$enablestring" = xdisable; then
9571 if test $wxUSE_CLIPBOARD = no; then
9572 result=yes
9573 else
9574 result=no
9575 fi
9576 else
9577 result=$wxUSE_CLIPBOARD
9578 fi
9579
9580 { echo "$as_me:$LINENO: result: $result" >&5
9581 echo "${ECHO_T}$result" >&6; }
9582
9583
9584 enablestring=
9585 defaultval=$wxUSE_ALL_FEATURES
9586 if test -z "$defaultval"; then
9587 if test x"$enablestring" = xdisable; then
9588 defaultval=yes
9589 else
9590 defaultval=no
9591 fi
9592 fi
9593
9594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9596 # Check whether --enable-dnd was given.
9597 if test "${enable_dnd+set}" = set; then
9598 enableval=$enable_dnd;
9599 if test "$enableval" = yes; then
9600 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9601 else
9602 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9603 fi
9604
9605 else
9606
9607 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9608
9609 fi
9610
9611
9612 eval "$wx_cv_use_dnd"
9613
9614 if test x"$enablestring" = xdisable; then
9615 if test $wxUSE_DRAG_AND_DROP = no; then
9616 result=yes
9617 else
9618 result=no
9619 fi
9620 else
9621 result=$wxUSE_DRAG_AND_DROP
9622 fi
9623
9624 { echo "$as_me:$LINENO: result: $result" >&5
9625 echo "${ECHO_T}$result" >&6; }
9626
9627
9628 enablestring=
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9632 defaultval=yes
9633 else
9634 defaultval=no
9635 fi
9636 fi
9637
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9640 # Check whether --enable-metafile was given.
9641 if test "${enable_metafile+set}" = set; then
9642 enableval=$enable_metafile;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9645 else
9646 wx_cv_use_metafile='wxUSE_METAFILE=no'
9647 fi
9648
9649 else
9650
9651 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9652
9653 fi
9654
9655
9656 eval "$wx_cv_use_metafile"
9657
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_METAFILE = no; then
9660 result=yes
9661 else
9662 result=no
9663 fi
9664 else
9665 result=$wxUSE_METAFILE
9666 fi
9667
9668 { echo "$as_me:$LINENO: result: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9670
9671
9672
9673 DEFAULT_wxUSE_CONTROLS=none
9674
9675 enablestring=disable
9676 defaultval=
9677 if test -z "$defaultval"; then
9678 if test x"$enablestring" = xdisable; then
9679 defaultval=yes
9680 else
9681 defaultval=no
9682 fi
9683 fi
9684
9685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9686 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9687 # Check whether --enable-controls was given.
9688 if test "${enable_controls+set}" = set; then
9689 enableval=$enable_controls;
9690 if test "$enableval" = yes; then
9691 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9692 else
9693 wx_cv_use_controls='wxUSE_CONTROLS=no'
9694 fi
9695
9696 else
9697
9698 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9699
9700 fi
9701
9702
9703 eval "$wx_cv_use_controls"
9704
9705 if test x"$enablestring" = xdisable; then
9706 if test $wxUSE_CONTROLS = no; then
9707 result=yes
9708 else
9709 result=no
9710 fi
9711 else
9712 result=$wxUSE_CONTROLS
9713 fi
9714
9715 { echo "$as_me:$LINENO: result: $result" >&5
9716 echo "${ECHO_T}$result" >&6; }
9717
9718
9719 if test "$wxUSE_CONTROLS" = "no"; then
9720 DEFAULT_wxUSE_ACCEL=no
9721 DEFAULT_wxUSE_ANIMATIONCTRL=no
9722 DEFAULT_wxUSE_BMPBUTTON=no
9723 DEFAULT_wxUSE_BUTTON=no
9724 DEFAULT_wxUSE_CALCTRL=no
9725 DEFAULT_wxUSE_CARET=no
9726 DEFAULT_wxUSE_CHECKBOX=no
9727 DEFAULT_wxUSE_CHECKLISTBOX=no
9728 DEFAULT_wxUSE_CHOICE=no
9729 DEFAULT_wxUSE_CHOICEBOOK=no
9730 DEFAULT_wxUSE_COLLPANE=no
9731 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9732 DEFAULT_wxUSE_COMBOBOX=no
9733 DEFAULT_wxUSE_COMBOBOX=no
9734 DEFAULT_wxUSE_DATAVIEWCTRL=no
9735 DEFAULT_wxUSE_DATEPICKCTRL=no
9736 DEFAULT_wxUSE_DETECT_SM=no
9737 DEFAULT_wxUSE_DIRPICKERCTRL=no
9738 DEFAULT_wxUSE_DISPLAY=no
9739 DEFAULT_wxUSE_FILECTRL=no
9740 DEFAULT_wxUSE_FILEPICKERCTRL=no
9741 DEFAULT_wxUSE_FONTPICKERCTRL=no
9742 DEFAULT_wxUSE_GAUGE=no
9743 DEFAULT_wxUSE_GRID=no
9744 DEFAULT_wxUSE_HEADERCTRL=no
9745 DEFAULT_wxUSE_HYPERLINKCTRL=no
9746 DEFAULT_wxUSE_IMAGLIST=no
9747 DEFAULT_wxUSE_LISTBOOK=no
9748 DEFAULT_wxUSE_LISTBOX=no
9749 DEFAULT_wxUSE_LISTCTRL=no
9750 DEFAULT_wxUSE_NOTEBOOK=no
9751 DEFAULT_wxUSE_POPUPWIN=no
9752 DEFAULT_wxUSE_RADIOBOX=no
9753 DEFAULT_wxUSE_RADIOBTN=no
9754 DEFAULT_wxUSE_REARRANGECTRL=no
9755 DEFAULT_wxUSE_SASH=no
9756 DEFAULT_wxUSE_SCROLLBAR=no
9757 DEFAULT_wxUSE_SEARCHCTRL=no
9758 DEFAULT_wxUSE_SLIDER=no
9759 DEFAULT_wxUSE_SPINBTN=no
9760 DEFAULT_wxUSE_SPINCTRL=no
9761 DEFAULT_wxUSE_SPLITTER=no
9762 DEFAULT_wxUSE_STATBMP=no
9763 DEFAULT_wxUSE_STATBOX=no
9764 DEFAULT_wxUSE_STATLINE=no
9765 DEFAULT_wxUSE_STATUSBAR=no
9766 DEFAULT_wxUSE_TIPWINDOW=no
9767 DEFAULT_wxUSE_TOGGLEBTN=no
9768 DEFAULT_wxUSE_TOOLBAR=no
9769 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9770 DEFAULT_wxUSE_TOOLBOOK=no
9771 DEFAULT_wxUSE_TOOLTIPS=no
9772 DEFAULT_wxUSE_TREEBOOK=no
9773 DEFAULT_wxUSE_TREECTRL=no
9774 fi
9775
9776
9777 enablestring=
9778 defaultval=$wxUSE_ALL_FEATURES
9779 if test -z "$defaultval"; then
9780 if test x"$enablestring" = xdisable; then
9781 defaultval=yes
9782 else
9783 defaultval=no
9784 fi
9785 fi
9786
9787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9788 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9789 # Check whether --enable-accel was given.
9790 if test "${enable_accel+set}" = set; then
9791 enableval=$enable_accel;
9792 if test "$enableval" = yes; then
9793 wx_cv_use_accel='wxUSE_ACCEL=yes'
9794 else
9795 wx_cv_use_accel='wxUSE_ACCEL=no'
9796 fi
9797
9798 else
9799
9800 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9801
9802 fi
9803
9804
9805 eval "$wx_cv_use_accel"
9806
9807 if test x"$enablestring" = xdisable; then
9808 if test $wxUSE_ACCEL = no; then
9809 result=yes
9810 else
9811 result=no
9812 fi
9813 else
9814 result=$wxUSE_ACCEL
9815 fi
9816
9817 { echo "$as_me:$LINENO: result: $result" >&5
9818 echo "${ECHO_T}$result" >&6; }
9819
9820
9821 enablestring=
9822 defaultval=$wxUSE_ALL_FEATURES
9823 if test -z "$defaultval"; then
9824 if test x"$enablestring" = xdisable; then
9825 defaultval=yes
9826 else
9827 defaultval=no
9828 fi
9829 fi
9830
9831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9832 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9833 # Check whether --enable-animatectrl was given.
9834 if test "${enable_animatectrl+set}" = set; then
9835 enableval=$enable_animatectrl;
9836 if test "$enableval" = yes; then
9837 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9838 else
9839 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9840 fi
9841
9842 else
9843
9844 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9845
9846 fi
9847
9848
9849 eval "$wx_cv_use_animatectrl"
9850
9851 if test x"$enablestring" = xdisable; then
9852 if test $wxUSE_ANIMATIONCTRL = no; then
9853 result=yes
9854 else
9855 result=no
9856 fi
9857 else
9858 result=$wxUSE_ANIMATIONCTRL
9859 fi
9860
9861 { echo "$as_me:$LINENO: result: $result" >&5
9862 echo "${ECHO_T}$result" >&6; }
9863
9864
9865 enablestring=
9866 defaultval=$wxUSE_ALL_FEATURES
9867 if test -z "$defaultval"; then
9868 if test x"$enablestring" = xdisable; then
9869 defaultval=yes
9870 else
9871 defaultval=no
9872 fi
9873 fi
9874
9875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9877 # Check whether --enable-bmpbutton was given.
9878 if test "${enable_bmpbutton+set}" = set; then
9879 enableval=$enable_bmpbutton;
9880 if test "$enableval" = yes; then
9881 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9882 else
9883 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9884 fi
9885
9886 else
9887
9888 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9889
9890 fi
9891
9892
9893 eval "$wx_cv_use_bmpbutton"
9894
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_BMPBUTTON = no; then
9897 result=yes
9898 else
9899 result=no
9900 fi
9901 else
9902 result=$wxUSE_BMPBUTTON
9903 fi
9904
9905 { echo "$as_me:$LINENO: result: $result" >&5
9906 echo "${ECHO_T}$result" >&6; }
9907
9908
9909 enablestring=
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9913 defaultval=yes
9914 else
9915 defaultval=no
9916 fi
9917 fi
9918
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9921 # Check whether --enable-bmpcombobox was given.
9922 if test "${enable_bmpcombobox+set}" = set; then
9923 enableval=$enable_bmpcombobox;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9926 else
9927 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9928 fi
9929
9930 else
9931
9932 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9933
9934 fi
9935
9936
9937 eval "$wx_cv_use_bmpcombobox"
9938
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_BITMAPCOMBOBOX = no; then
9941 result=yes
9942 else
9943 result=no
9944 fi
9945 else
9946 result=$wxUSE_BITMAPCOMBOBOX
9947 fi
9948
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9965 # Check whether --enable-button was given.
9966 if test "${enable_button+set}" = set; then
9967 enableval=$enable_button;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_button='wxUSE_BUTTON=yes'
9970 else
9971 wx_cv_use_button='wxUSE_BUTTON=no'
9972 fi
9973
9974 else
9975
9976 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9977
9978 fi
9979
9980
9981 eval "$wx_cv_use_button"
9982
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_BUTTON = no; then
9985 result=yes
9986 else
9987 result=no
9988 fi
9989 else
9990 result=$wxUSE_BUTTON
9991 fi
9992
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9995
9996
9997 enablestring=
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10001 defaultval=yes
10002 else
10003 defaultval=no
10004 fi
10005 fi
10006
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10009 # Check whether --enable-calendar was given.
10010 if test "${enable_calendar+set}" = set; then
10011 enableval=$enable_calendar;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10014 else
10015 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10016 fi
10017
10018 else
10019
10020 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10021
10022 fi
10023
10024
10025 eval "$wx_cv_use_calendar"
10026
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_CALCTRL = no; then
10029 result=yes
10030 else
10031 result=no
10032 fi
10033 else
10034 result=$wxUSE_CALCTRL
10035 fi
10036
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10039
10040
10041 enablestring=
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10045 defaultval=yes
10046 else
10047 defaultval=no
10048 fi
10049 fi
10050
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10053 # Check whether --enable-caret was given.
10054 if test "${enable_caret+set}" = set; then
10055 enableval=$enable_caret;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_caret='wxUSE_CARET=yes'
10058 else
10059 wx_cv_use_caret='wxUSE_CARET=no'
10060 fi
10061
10062 else
10063
10064 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_caret"
10070
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_CARET = no; then
10073 result=yes
10074 else
10075 result=no
10076 fi
10077 else
10078 result=$wxUSE_CARET
10079 fi
10080
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10083
10084
10085 enablestring=
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10089 defaultval=yes
10090 else
10091 defaultval=no
10092 fi
10093 fi
10094
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10097 # Check whether --enable-checkbox was given.
10098 if test "${enable_checkbox+set}" = set; then
10099 enableval=$enable_checkbox;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10102 else
10103 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10104 fi
10105
10106 else
10107
10108 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10109
10110 fi
10111
10112
10113 eval "$wx_cv_use_checkbox"
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_CHECKBOX = no; then
10117 result=yes
10118 else
10119 result=no
10120 fi
10121 else
10122 result=$wxUSE_CHECKBOX
10123 fi
10124
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10141 # Check whether --enable-checklst was given.
10142 if test "${enable_checklst+set}" = set; then
10143 enableval=$enable_checklst;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10146 else
10147 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10148 fi
10149
10150 else
10151
10152 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10153
10154 fi
10155
10156
10157 eval "$wx_cv_use_checklst"
10158
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_CHECKLST = no; then
10161 result=yes
10162 else
10163 result=no
10164 fi
10165 else
10166 result=$wxUSE_CHECKLST
10167 fi
10168
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10171
10172
10173 enablestring=
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10185 # Check whether --enable-choice was given.
10186 if test "${enable_choice+set}" = set; then
10187 enableval=$enable_choice;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_choice='wxUSE_CHOICE=yes'
10190 else
10191 wx_cv_use_choice='wxUSE_CHOICE=no'
10192 fi
10193
10194 else
10195
10196 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_choice"
10202
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_CHOICE = no; then
10205 result=yes
10206 else
10207 result=no
10208 fi
10209 else
10210 result=$wxUSE_CHOICE
10211 fi
10212
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10215
10216
10217 enablestring=
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10221 defaultval=yes
10222 else
10223 defaultval=no
10224 fi
10225 fi
10226
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10229 # Check whether --enable-choicebook was given.
10230 if test "${enable_choicebook+set}" = set; then
10231 enableval=$enable_choicebook;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10234 else
10235 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10236 fi
10237
10238 else
10239
10240 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_choicebook"
10246
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_CHOICEBOOK = no; then
10249 result=yes
10250 else
10251 result=no
10252 fi
10253 else
10254 result=$wxUSE_CHOICEBOOK
10255 fi
10256
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10259
10260
10261 enablestring=
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10265 defaultval=yes
10266 else
10267 defaultval=no
10268 fi
10269 fi
10270
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10273 # Check whether --enable-collpane was given.
10274 if test "${enable_collpane+set}" = set; then
10275 enableval=$enable_collpane;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10278 else
10279 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10280 fi
10281
10282 else
10283
10284 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10285
10286 fi
10287
10288
10289 eval "$wx_cv_use_collpane"
10290
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_COLLPANE = no; then
10293 result=yes
10294 else
10295 result=no
10296 fi
10297 else
10298 result=$wxUSE_COLLPANE
10299 fi
10300
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10303
10304
10305 enablestring=
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10309 defaultval=yes
10310 else
10311 defaultval=no
10312 fi
10313 fi
10314
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10317 # Check whether --enable-colourpicker was given.
10318 if test "${enable_colourpicker+set}" = set; then
10319 enableval=$enable_colourpicker;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10322 else
10323 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10324 fi
10325
10326 else
10327
10328 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10329
10330 fi
10331
10332
10333 eval "$wx_cv_use_colourpicker"
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_COLOURPICKERCTRL = no; then
10337 result=yes
10338 else
10339 result=no
10340 fi
10341 else
10342 result=$wxUSE_COLOURPICKERCTRL
10343 fi
10344
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10361 # Check whether --enable-combobox was given.
10362 if test "${enable_combobox+set}" = set; then
10363 enableval=$enable_combobox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10366 else
10367 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10368 fi
10369
10370 else
10371
10372 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10373
10374 fi
10375
10376
10377 eval "$wx_cv_use_combobox"
10378
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_COMBOBOX = no; then
10381 result=yes
10382 else
10383 result=no
10384 fi
10385 else
10386 result=$wxUSE_COMBOBOX
10387 fi
10388
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10391
10392
10393 enablestring=
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10397 defaultval=yes
10398 else
10399 defaultval=no
10400 fi
10401 fi
10402
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10405 # Check whether --enable-comboctrl was given.
10406 if test "${enable_comboctrl+set}" = set; then
10407 enableval=$enable_comboctrl;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10410 else
10411 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10412 fi
10413
10414 else
10415
10416 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10417
10418 fi
10419
10420
10421 eval "$wx_cv_use_comboctrl"
10422
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_COMBOCTRL = no; then
10425 result=yes
10426 else
10427 result=no
10428 fi
10429 else
10430 result=$wxUSE_COMBOCTRL
10431 fi
10432
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10435
10436
10437 enablestring=
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10441 defaultval=yes
10442 else
10443 defaultval=no
10444 fi
10445 fi
10446
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10449 # Check whether --enable-dataviewctrl was given.
10450 if test "${enable_dataviewctrl+set}" = set; then
10451 enableval=$enable_dataviewctrl;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10454 else
10455 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10456 fi
10457
10458 else
10459
10460 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10461
10462 fi
10463
10464
10465 eval "$wx_cv_use_dataviewctrl"
10466
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_DATAVIEWCTRL = no; then
10469 result=yes
10470 else
10471 result=no
10472 fi
10473 else
10474 result=$wxUSE_DATAVIEWCTRL
10475 fi
10476
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10479
10480
10481 enablestring=
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10485 defaultval=yes
10486 else
10487 defaultval=no
10488 fi
10489 fi
10490
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10493 # Check whether --enable-datepick was given.
10494 if test "${enable_datepick+set}" = set; then
10495 enableval=$enable_datepick;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10498 else
10499 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10500 fi
10501
10502 else
10503
10504 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10505
10506 fi
10507
10508
10509 eval "$wx_cv_use_datepick"
10510
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_DATEPICKCTRL = no; then
10513 result=yes
10514 else
10515 result=no
10516 fi
10517 else
10518 result=$wxUSE_DATEPICKCTRL
10519 fi
10520
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10523
10524
10525 enablestring=
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10529 defaultval=yes
10530 else
10531 defaultval=no
10532 fi
10533 fi
10534
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10537 # Check whether --enable-detect_sm was given.
10538 if test "${enable_detect_sm+set}" = set; then
10539 enableval=$enable_detect_sm;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10542 else
10543 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10544 fi
10545
10546 else
10547
10548 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_detect_sm"
10554
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_DETECT_SM = no; then
10557 result=yes
10558 else
10559 result=no
10560 fi
10561 else
10562 result=$wxUSE_DETECT_SM
10563 fi
10564
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10567
10568
10569 enablestring=
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10573 defaultval=yes
10574 else
10575 defaultval=no
10576 fi
10577 fi
10578
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10581 # Check whether --enable-dirpicker was given.
10582 if test "${enable_dirpicker+set}" = set; then
10583 enableval=$enable_dirpicker;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10586 else
10587 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10588 fi
10589
10590 else
10591
10592 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_dirpicker"
10598
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_DIRPICKERCTRL = no; then
10601 result=yes
10602 else
10603 result=no
10604 fi
10605 else
10606 result=$wxUSE_DIRPICKERCTRL
10607 fi
10608
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10611
10612
10613 enablestring=
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10617 defaultval=yes
10618 else
10619 defaultval=no
10620 fi
10621 fi
10622
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10625 # Check whether --enable-display was given.
10626 if test "${enable_display+set}" = set; then
10627 enableval=$enable_display;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_display='wxUSE_DISPLAY=yes'
10630 else
10631 wx_cv_use_display='wxUSE_DISPLAY=no'
10632 fi
10633
10634 else
10635
10636 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10637
10638 fi
10639
10640
10641 eval "$wx_cv_use_display"
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_DISPLAY = no; then
10645 result=yes
10646 else
10647 result=no
10648 fi
10649 else
10650 result=$wxUSE_DISPLAY
10651 fi
10652
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10655
10656
10657 enablestring=
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10661 defaultval=yes
10662 else
10663 defaultval=no
10664 fi
10665 fi
10666
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10669 # Check whether --enable-editablebox was given.
10670 if test "${enable_editablebox+set}" = set; then
10671 enableval=$enable_editablebox;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10674 else
10675 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10676 fi
10677
10678 else
10679
10680 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_editablebox"
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_EDITABLELISTBOX = no; then
10689 result=yes
10690 else
10691 result=no
10692 fi
10693 else
10694 result=$wxUSE_EDITABLELISTBOX
10695 fi
10696
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10713 # Check whether --enable-filectrl was given.
10714 if test "${enable_filectrl+set}" = set; then
10715 enableval=$enable_filectrl;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10718 else
10719 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10720 fi
10721
10722 else
10723
10724 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10725
10726 fi
10727
10728
10729 eval "$wx_cv_use_filectrl"
10730
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_FILECTRL = no; then
10733 result=yes
10734 else
10735 result=no
10736 fi
10737 else
10738 result=$wxUSE_FILECTRL
10739 fi
10740
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10743
10744
10745 enablestring=
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10749 defaultval=yes
10750 else
10751 defaultval=no
10752 fi
10753 fi
10754
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10757 # Check whether --enable-filepicker was given.
10758 if test "${enable_filepicker+set}" = set; then
10759 enableval=$enable_filepicker;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10762 else
10763 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10764 fi
10765
10766 else
10767
10768 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10769
10770 fi
10771
10772
10773 eval "$wx_cv_use_filepicker"
10774
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_FILEPICKERCTRL = no; then
10777 result=yes
10778 else
10779 result=no
10780 fi
10781 else
10782 result=$wxUSE_FILEPICKERCTRL
10783 fi
10784
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10787
10788
10789 enablestring=
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10793 defaultval=yes
10794 else
10795 defaultval=no
10796 fi
10797 fi
10798
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10801 # Check whether --enable-fontpicker was given.
10802 if test "${enable_fontpicker+set}" = set; then
10803 enableval=$enable_fontpicker;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10806 else
10807 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10808 fi
10809
10810 else
10811
10812 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_fontpicker"
10818
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_FONTPICKERCTRL = no; then
10821 result=yes
10822 else
10823 result=no
10824 fi
10825 else
10826 result=$wxUSE_FONTPICKERCTRL
10827 fi
10828
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10831
10832
10833 enablestring=
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10837 defaultval=yes
10838 else
10839 defaultval=no
10840 fi
10841 fi
10842
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10845 # Check whether --enable-gauge was given.
10846 if test "${enable_gauge+set}" = set; then
10847 enableval=$enable_gauge;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10850 else
10851 wx_cv_use_gauge='wxUSE_GAUGE=no'
10852 fi
10853
10854 else
10855
10856 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10857
10858 fi
10859
10860
10861 eval "$wx_cv_use_gauge"
10862
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_GAUGE = no; then
10865 result=yes
10866 else
10867 result=no
10868 fi
10869 else
10870 result=$wxUSE_GAUGE
10871 fi
10872
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10889 # Check whether --enable-grid was given.
10890 if test "${enable_grid+set}" = set; then
10891 enableval=$enable_grid;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_grid='wxUSE_GRID=yes'
10894 else
10895 wx_cv_use_grid='wxUSE_GRID=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_grid"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_GRID = no; then
10909 result=yes
10910 else
10911 result=no
10912 fi
10913 else
10914 result=$wxUSE_GRID
10915 fi
10916
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10919
10920
10921 enablestring=
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10925 defaultval=yes
10926 else
10927 defaultval=no
10928 fi
10929 fi
10930
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10933 # Check whether --enable-headerctrl was given.
10934 if test "${enable_headerctrl+set}" = set; then
10935 enableval=$enable_headerctrl;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10938 else
10939 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10940 fi
10941
10942 else
10943
10944 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10945
10946 fi
10947
10948
10949 eval "$wx_cv_use_headerctrl"
10950
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_HEADERCTRL = no; then
10953 result=yes
10954 else
10955 result=no
10956 fi
10957 else
10958 result=$wxUSE_HEADERCTRL
10959 fi
10960
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10963
10964
10965 enablestring=
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10969 defaultval=yes
10970 else
10971 defaultval=no
10972 fi
10973 fi
10974
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10977 # Check whether --enable-hyperlink was given.
10978 if test "${enable_hyperlink+set}" = set; then
10979 enableval=$enable_hyperlink;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10982 else
10983 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10984 fi
10985
10986 else
10987
10988 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10989
10990 fi
10991
10992
10993 eval "$wx_cv_use_hyperlink"
10994
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_HYPERLINKCTRL = no; then
10997 result=yes
10998 else
10999 result=no
11000 fi
11001 else
11002 result=$wxUSE_HYPERLINKCTRL
11003 fi
11004
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11007
11008
11009 enablestring=
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11013 defaultval=yes
11014 else
11015 defaultval=no
11016 fi
11017 fi
11018
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11021 # Check whether --enable-imaglist was given.
11022 if test "${enable_imaglist+set}" = set; then
11023 enableval=$enable_imaglist;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11026 else
11027 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11028 fi
11029
11030 else
11031
11032 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11033
11034 fi
11035
11036
11037 eval "$wx_cv_use_imaglist"
11038
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_IMAGLIST = no; then
11041 result=yes
11042 else
11043 result=no
11044 fi
11045 else
11046 result=$wxUSE_IMAGLIST
11047 fi
11048
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11051
11052
11053 enablestring=
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11057 defaultval=yes
11058 else
11059 defaultval=no
11060 fi
11061 fi
11062
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11065 # Check whether --enable-infobar was given.
11066 if test "${enable_infobar+set}" = set; then
11067 enableval=$enable_infobar;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11070 else
11071 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11072 fi
11073
11074 else
11075
11076 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_infobar"
11082
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_INFOBAR = no; then
11085 result=yes
11086 else
11087 result=no
11088 fi
11089 else
11090 result=$wxUSE_INFOBAR
11091 fi
11092
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11095
11096
11097 enablestring=
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11101 defaultval=yes
11102 else
11103 defaultval=no
11104 fi
11105 fi
11106
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11109 # Check whether --enable-listbook was given.
11110 if test "${enable_listbook+set}" = set; then
11111 enableval=$enable_listbook;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11114 else
11115 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11116 fi
11117
11118 else
11119
11120 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11121
11122 fi
11123
11124
11125 eval "$wx_cv_use_listbook"
11126
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_LISTBOOK = no; then
11129 result=yes
11130 else
11131 result=no
11132 fi
11133 else
11134 result=$wxUSE_LISTBOOK
11135 fi
11136
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11139
11140
11141 enablestring=
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11145 defaultval=yes
11146 else
11147 defaultval=no
11148 fi
11149 fi
11150
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11153 # Check whether --enable-listbox was given.
11154 if test "${enable_listbox+set}" = set; then
11155 enableval=$enable_listbox;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11158 else
11159 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11160 fi
11161
11162 else
11163
11164 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11165
11166 fi
11167
11168
11169 eval "$wx_cv_use_listbox"
11170
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_LISTBOX = no; then
11173 result=yes
11174 else
11175 result=no
11176 fi
11177 else
11178 result=$wxUSE_LISTBOX
11179 fi
11180
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11183
11184
11185 enablestring=
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11189 defaultval=yes
11190 else
11191 defaultval=no
11192 fi
11193 fi
11194
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11197 # Check whether --enable-listctrl was given.
11198 if test "${enable_listctrl+set}" = set; then
11199 enableval=$enable_listctrl;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11202 else
11203 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11204 fi
11205
11206 else
11207
11208 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_listctrl"
11214
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_LISTCTRL = no; then
11217 result=yes
11218 else
11219 result=no
11220 fi
11221 else
11222 result=$wxUSE_LISTCTRL
11223 fi
11224
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11227
11228
11229 enablestring=
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11233 defaultval=yes
11234 else
11235 defaultval=no
11236 fi
11237 fi
11238
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11241 # Check whether --enable-notebook was given.
11242 if test "${enable_notebook+set}" = set; then
11243 enableval=$enable_notebook;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11246 else
11247 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11248 fi
11249
11250 else
11251
11252 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11253
11254 fi
11255
11256
11257 eval "$wx_cv_use_notebook"
11258
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_NOTEBOOK = no; then
11261 result=yes
11262 else
11263 result=no
11264 fi
11265 else
11266 result=$wxUSE_NOTEBOOK
11267 fi
11268
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11271
11272
11273 enablestring=
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11277 defaultval=yes
11278 else
11279 defaultval=no
11280 fi
11281 fi
11282
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11285 # Check whether --enable-notifmsg was given.
11286 if test "${enable_notifmsg+set}" = set; then
11287 enableval=$enable_notifmsg;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11290 else
11291 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11292 fi
11293
11294 else
11295
11296 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11297
11298 fi
11299
11300
11301 eval "$wx_cv_use_notifmsg"
11302
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11305 result=yes
11306 else
11307 result=no
11308 fi
11309 else
11310 result=$wxUSE_NOTIFICATION_MESSAGE
11311 fi
11312
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11315
11316
11317 enablestring=
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11321 defaultval=yes
11322 else
11323 defaultval=no
11324 fi
11325 fi
11326
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11329 # Check whether --enable-odcombobox was given.
11330 if test "${enable_odcombobox+set}" = set; then
11331 enableval=$enable_odcombobox;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11334 else
11335 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11336 fi
11337
11338 else
11339
11340 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11341
11342 fi
11343
11344
11345 eval "$wx_cv_use_odcombobox"
11346
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_ODCOMBOBOX = no; then
11349 result=yes
11350 else
11351 result=no
11352 fi
11353 else
11354 result=$wxUSE_ODCOMBOBOX
11355 fi
11356
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11359
11360
11361 enablestring=
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11365 defaultval=yes
11366 else
11367 defaultval=no
11368 fi
11369 fi
11370
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11373 # Check whether --enable-popupwin was given.
11374 if test "${enable_popupwin+set}" = set; then
11375 enableval=$enable_popupwin;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11378 else
11379 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11380 fi
11381
11382 else
11383
11384 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11385
11386 fi
11387
11388
11389 eval "$wx_cv_use_popupwin"
11390
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_POPUPWIN = no; then
11393 result=yes
11394 else
11395 result=no
11396 fi
11397 else
11398 result=$wxUSE_POPUPWIN
11399 fi
11400
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11403
11404
11405 enablestring=
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11409 defaultval=yes
11410 else
11411 defaultval=no
11412 fi
11413 fi
11414
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11417 # Check whether --enable-radiobox was given.
11418 if test "${enable_radiobox+set}" = set; then
11419 enableval=$enable_radiobox;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11422 else
11423 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11424 fi
11425
11426 else
11427
11428 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_radiobox"
11434
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_RADIOBOX = no; then
11437 result=yes
11438 else
11439 result=no
11440 fi
11441 else
11442 result=$wxUSE_RADIOBOX
11443 fi
11444
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11447
11448
11449 enablestring=
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11453 defaultval=yes
11454 else
11455 defaultval=no
11456 fi
11457 fi
11458
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11461 # Check whether --enable-radiobtn was given.
11462 if test "${enable_radiobtn+set}" = set; then
11463 enableval=$enable_radiobtn;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11466 else
11467 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11468 fi
11469
11470 else
11471
11472 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11473
11474 fi
11475
11476
11477 eval "$wx_cv_use_radiobtn"
11478
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_RADIOBTN = no; then
11481 result=yes
11482 else
11483 result=no
11484 fi
11485 else
11486 result=$wxUSE_RADIOBTN
11487 fi
11488
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11491
11492
11493 enablestring=
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11497 defaultval=yes
11498 else
11499 defaultval=no
11500 fi
11501 fi
11502
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11505 # Check whether --enable-rearrangectrl was given.
11506 if test "${enable_rearrangectrl+set}" = set; then
11507 enableval=$enable_rearrangectrl;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11510 else
11511 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11512 fi
11513
11514 else
11515
11516 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11517
11518 fi
11519
11520
11521 eval "$wx_cv_use_rearrangectrl"
11522
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_REARRANGECTRL = no; then
11525 result=yes
11526 else
11527 result=no
11528 fi
11529 else
11530 result=$wxUSE_REARRANGECTRL
11531 fi
11532
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11535
11536
11537 enablestring=
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11541 defaultval=yes
11542 else
11543 defaultval=no
11544 fi
11545 fi
11546
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11549 # Check whether --enable-sash was given.
11550 if test "${enable_sash+set}" = set; then
11551 enableval=$enable_sash;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_sash='wxUSE_SASH=yes'
11554 else
11555 wx_cv_use_sash='wxUSE_SASH=no'
11556 fi
11557
11558 else
11559
11560 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11561
11562 fi
11563
11564
11565 eval "$wx_cv_use_sash"
11566
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_SASH = no; then
11569 result=yes
11570 else
11571 result=no
11572 fi
11573 else
11574 result=$wxUSE_SASH
11575 fi
11576
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11579
11580
11581 enablestring=
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11585 defaultval=yes
11586 else
11587 defaultval=no
11588 fi
11589 fi
11590
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11593 # Check whether --enable-scrollbar was given.
11594 if test "${enable_scrollbar+set}" = set; then
11595 enableval=$enable_scrollbar;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11598 else
11599 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11600 fi
11601
11602 else
11603
11604 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11605
11606 fi
11607
11608
11609 eval "$wx_cv_use_scrollbar"
11610
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_SCROLLBAR = no; then
11613 result=yes
11614 else
11615 result=no
11616 fi
11617 else
11618 result=$wxUSE_SCROLLBAR
11619 fi
11620
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11623
11624
11625 enablestring=
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11629 defaultval=yes
11630 else
11631 defaultval=no
11632 fi
11633 fi
11634
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11637 # Check whether --enable-searchctrl was given.
11638 if test "${enable_searchctrl+set}" = set; then
11639 enableval=$enable_searchctrl;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11642 else
11643 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11644 fi
11645
11646 else
11647
11648 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11649
11650 fi
11651
11652
11653 eval "$wx_cv_use_searchctrl"
11654
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_SEARCHCTRL = no; then
11657 result=yes
11658 else
11659 result=no
11660 fi
11661 else
11662 result=$wxUSE_SEARCHCTRL
11663 fi
11664
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11667
11668
11669 enablestring=
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11673 defaultval=yes
11674 else
11675 defaultval=no
11676 fi
11677 fi
11678
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11681 # Check whether --enable-slider was given.
11682 if test "${enable_slider+set}" = set; then
11683 enableval=$enable_slider;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_slider='wxUSE_SLIDER=yes'
11686 else
11687 wx_cv_use_slider='wxUSE_SLIDER=no'
11688 fi
11689
11690 else
11691
11692 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_slider"
11698
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_SLIDER = no; then
11701 result=yes
11702 else
11703 result=no
11704 fi
11705 else
11706 result=$wxUSE_SLIDER
11707 fi
11708
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11711
11712
11713 enablestring=
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11717 defaultval=yes
11718 else
11719 defaultval=no
11720 fi
11721 fi
11722
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11725 # Check whether --enable-spinbtn was given.
11726 if test "${enable_spinbtn+set}" = set; then
11727 enableval=$enable_spinbtn;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11730 else
11731 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11732 fi
11733
11734 else
11735
11736 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11737
11738 fi
11739
11740
11741 eval "$wx_cv_use_spinbtn"
11742
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_SPINBTN = no; then
11745 result=yes
11746 else
11747 result=no
11748 fi
11749 else
11750 result=$wxUSE_SPINBTN
11751 fi
11752
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11755
11756
11757 enablestring=
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11761 defaultval=yes
11762 else
11763 defaultval=no
11764 fi
11765 fi
11766
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11769 # Check whether --enable-spinctrl was given.
11770 if test "${enable_spinctrl+set}" = set; then
11771 enableval=$enable_spinctrl;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11774 else
11775 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11776 fi
11777
11778 else
11779
11780 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11781
11782 fi
11783
11784
11785 eval "$wx_cv_use_spinctrl"
11786
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_SPINCTRL = no; then
11789 result=yes
11790 else
11791 result=no
11792 fi
11793 else
11794 result=$wxUSE_SPINCTRL
11795 fi
11796
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11799
11800
11801 enablestring=
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11805 defaultval=yes
11806 else
11807 defaultval=no
11808 fi
11809 fi
11810
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11813 # Check whether --enable-splitter was given.
11814 if test "${enable_splitter+set}" = set; then
11815 enableval=$enable_splitter;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11818 else
11819 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11820 fi
11821
11822 else
11823
11824 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11825
11826 fi
11827
11828
11829 eval "$wx_cv_use_splitter"
11830
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_SPLITTER = no; then
11833 result=yes
11834 else
11835 result=no
11836 fi
11837 else
11838 result=$wxUSE_SPLITTER
11839 fi
11840
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11843
11844
11845 enablestring=
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11849 defaultval=yes
11850 else
11851 defaultval=no
11852 fi
11853 fi
11854
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11857 # Check whether --enable-statbmp was given.
11858 if test "${enable_statbmp+set}" = set; then
11859 enableval=$enable_statbmp;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11862 else
11863 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11864 fi
11865
11866 else
11867
11868 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11869
11870 fi
11871
11872
11873 eval "$wx_cv_use_statbmp"
11874
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_STATBMP = no; then
11877 result=yes
11878 else
11879 result=no
11880 fi
11881 else
11882 result=$wxUSE_STATBMP
11883 fi
11884
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11887
11888
11889 enablestring=
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11893 defaultval=yes
11894 else
11895 defaultval=no
11896 fi
11897 fi
11898
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11901 # Check whether --enable-statbox was given.
11902 if test "${enable_statbox+set}" = set; then
11903 enableval=$enable_statbox;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11906 else
11907 wx_cv_use_statbox='wxUSE_STATBOX=no'
11908 fi
11909
11910 else
11911
11912 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11913
11914 fi
11915
11916
11917 eval "$wx_cv_use_statbox"
11918
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_STATBOX = no; then
11921 result=yes
11922 else
11923 result=no
11924 fi
11925 else
11926 result=$wxUSE_STATBOX
11927 fi
11928
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11931
11932
11933 enablestring=
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11937 defaultval=yes
11938 else
11939 defaultval=no
11940 fi
11941 fi
11942
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11945 # Check whether --enable-statline was given.
11946 if test "${enable_statline+set}" = set; then
11947 enableval=$enable_statline;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_statline='wxUSE_STATLINE=yes'
11950 else
11951 wx_cv_use_statline='wxUSE_STATLINE=no'
11952 fi
11953
11954 else
11955
11956 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11957
11958 fi
11959
11960
11961 eval "$wx_cv_use_statline"
11962
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_STATLINE = no; then
11965 result=yes
11966 else
11967 result=no
11968 fi
11969 else
11970 result=$wxUSE_STATLINE
11971 fi
11972
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11975
11976
11977 enablestring=
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11981 defaultval=yes
11982 else
11983 defaultval=no
11984 fi
11985 fi
11986
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11989 # Check whether --enable-stattext was given.
11990 if test "${enable_stattext+set}" = set; then
11991 enableval=$enable_stattext;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11994 else
11995 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11996 fi
11997
11998 else
11999
12000 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12001
12002 fi
12003
12004
12005 eval "$wx_cv_use_stattext"
12006
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_STATTEXT = no; then
12009 result=yes
12010 else
12011 result=no
12012 fi
12013 else
12014 result=$wxUSE_STATTEXT
12015 fi
12016
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12019
12020
12021 enablestring=
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12025 defaultval=yes
12026 else
12027 defaultval=no
12028 fi
12029 fi
12030
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12033 # Check whether --enable-statusbar was given.
12034 if test "${enable_statusbar+set}" = set; then
12035 enableval=$enable_statusbar;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12038 else
12039 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12040 fi
12041
12042 else
12043
12044 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_statusbar"
12050
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_STATUSBAR = no; then
12053 result=yes
12054 else
12055 result=no
12056 fi
12057 else
12058 result=$wxUSE_STATUSBAR
12059 fi
12060
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12063
12064
12065 enablestring=
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12069 defaultval=yes
12070 else
12071 defaultval=no
12072 fi
12073 fi
12074
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12077 # Check whether --enable-taskbaricon was given.
12078 if test "${enable_taskbaricon+set}" = set; then
12079 enableval=$enable_taskbaricon;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12082 else
12083 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12084 fi
12085
12086 else
12087
12088 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12089
12090 fi
12091
12092
12093 eval "$wx_cv_use_taskbaricon"
12094
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_TASKBARICON = no; then
12097 result=yes
12098 else
12099 result=no
12100 fi
12101 else
12102 result=$wxUSE_TASKBARICON
12103 fi
12104
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12107
12108
12109 enablestring=
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12113 defaultval=yes
12114 else
12115 defaultval=no
12116 fi
12117 fi
12118
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12121 # Check whether --enable-tbarnative was given.
12122 if test "${enable_tbarnative+set}" = set; then
12123 enableval=$enable_tbarnative;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12126 else
12127 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12128 fi
12129
12130 else
12131
12132 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12133
12134 fi
12135
12136
12137 eval "$wx_cv_use_tbarnative"
12138
12139 if test x"$enablestring" = xdisable; then
12140 if test $wxUSE_TOOLBAR_NATIVE = no; then
12141 result=yes
12142 else
12143 result=no
12144 fi
12145 else
12146 result=$wxUSE_TOOLBAR_NATIVE
12147 fi
12148
12149 { echo "$as_me:$LINENO: result: $result" >&5
12150 echo "${ECHO_T}$result" >&6; }
12151
12152
12153 enablestring=
12154 defaultval=$wxUSE_ALL_FEATURES
12155 if test -z "$defaultval"; then
12156 if test x"$enablestring" = xdisable; then
12157 defaultval=yes
12158 else
12159 defaultval=no
12160 fi
12161 fi
12162
12163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12164 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12165 # Check whether --enable-textctrl was given.
12166 if test "${enable_textctrl+set}" = set; then
12167 enableval=$enable_textctrl;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12170 else
12171 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12172 fi
12173
12174 else
12175
12176 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12177
12178 fi
12179
12180
12181 eval "$wx_cv_use_textctrl"
12182
12183 if test x"$enablestring" = xdisable; then
12184 if test $wxUSE_TEXTCTRL = no; then
12185 result=yes
12186 else
12187 result=no
12188 fi
12189 else
12190 result=$wxUSE_TEXTCTRL
12191 fi
12192
12193 { echo "$as_me:$LINENO: result: $result" >&5
12194 echo "${ECHO_T}$result" >&6; }
12195
12196
12197 enablestring=
12198 defaultval=$wxUSE_ALL_FEATURES
12199 if test -z "$defaultval"; then
12200 if test x"$enablestring" = xdisable; then
12201 defaultval=yes
12202 else
12203 defaultval=no
12204 fi
12205 fi
12206
12207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12208 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12209 # Check whether --enable-tipwindow was given.
12210 if test "${enable_tipwindow+set}" = set; then
12211 enableval=$enable_tipwindow;
12212 if test "$enableval" = yes; then
12213 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12214 else
12215 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12216 fi
12217
12218 else
12219
12220 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12221
12222 fi
12223
12224
12225 eval "$wx_cv_use_tipwindow"
12226
12227 if test x"$enablestring" = xdisable; then
12228 if test $wxUSE_TIPWINDOW = no; then
12229 result=yes
12230 else
12231 result=no
12232 fi
12233 else
12234 result=$wxUSE_TIPWINDOW
12235 fi
12236
12237 { echo "$as_me:$LINENO: result: $result" >&5
12238 echo "${ECHO_T}$result" >&6; }
12239
12240
12241 enablestring=
12242 defaultval=$wxUSE_ALL_FEATURES
12243 if test -z "$defaultval"; then
12244 if test x"$enablestring" = xdisable; then
12245 defaultval=yes
12246 else
12247 defaultval=no
12248 fi
12249 fi
12250
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12253 # Check whether --enable-togglebtn was given.
12254 if test "${enable_togglebtn+set}" = set; then
12255 enableval=$enable_togglebtn;
12256 if test "$enableval" = yes; then
12257 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12258 else
12259 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12260 fi
12261
12262 else
12263
12264 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12265
12266 fi
12267
12268
12269 eval "$wx_cv_use_togglebtn"
12270
12271 if test x"$enablestring" = xdisable; then
12272 if test $wxUSE_TOGGLEBTN = no; then
12273 result=yes
12274 else
12275 result=no
12276 fi
12277 else
12278 result=$wxUSE_TOGGLEBTN
12279 fi
12280
12281 { echo "$as_me:$LINENO: result: $result" >&5
12282 echo "${ECHO_T}$result" >&6; }
12283
12284
12285 enablestring=
12286 defaultval=$wxUSE_ALL_FEATURES
12287 if test -z "$defaultval"; then
12288 if test x"$enablestring" = xdisable; then
12289 defaultval=yes
12290 else
12291 defaultval=no
12292 fi
12293 fi
12294
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12297 # Check whether --enable-toolbar was given.
12298 if test "${enable_toolbar+set}" = set; then
12299 enableval=$enable_toolbar;
12300 if test "$enableval" = yes; then
12301 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12302 else
12303 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12304 fi
12305
12306 else
12307
12308 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12309
12310 fi
12311
12312
12313 eval "$wx_cv_use_toolbar"
12314
12315 if test x"$enablestring" = xdisable; then
12316 if test $wxUSE_TOOLBAR = no; then
12317 result=yes
12318 else
12319 result=no
12320 fi
12321 else
12322 result=$wxUSE_TOOLBAR
12323 fi
12324
12325 { echo "$as_me:$LINENO: result: $result" >&5
12326 echo "${ECHO_T}$result" >&6; }
12327
12328
12329 enablestring=
12330 defaultval=$wxUSE_ALL_FEATURES
12331 if test -z "$defaultval"; then
12332 if test x"$enablestring" = xdisable; then
12333 defaultval=yes
12334 else
12335 defaultval=no
12336 fi
12337 fi
12338
12339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12340 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12341 # Check whether --enable-toolbook was given.
12342 if test "${enable_toolbook+set}" = set; then
12343 enableval=$enable_toolbook;
12344 if test "$enableval" = yes; then
12345 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12346 else
12347 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12348 fi
12349
12350 else
12351
12352 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12353
12354 fi
12355
12356
12357 eval "$wx_cv_use_toolbook"
12358
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_TOOLBOOK = no; then
12361 result=yes
12362 else
12363 result=no
12364 fi
12365 else
12366 result=$wxUSE_TOOLBOOK
12367 fi
12368
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12371
12372
12373 enablestring=
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12377 defaultval=yes
12378 else
12379 defaultval=no
12380 fi
12381 fi
12382
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12385 # Check whether --enable-treebook was given.
12386 if test "${enable_treebook+set}" = set; then
12387 enableval=$enable_treebook;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12390 else
12391 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12392 fi
12393
12394 else
12395
12396 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12397
12398 fi
12399
12400
12401 eval "$wx_cv_use_treebook"
12402
12403 if test x"$enablestring" = xdisable; then
12404 if test $wxUSE_TREEBOOK = no; then
12405 result=yes
12406 else
12407 result=no
12408 fi
12409 else
12410 result=$wxUSE_TREEBOOK
12411 fi
12412
12413 { echo "$as_me:$LINENO: result: $result" >&5
12414 echo "${ECHO_T}$result" >&6; }
12415
12416
12417 enablestring=
12418 defaultval=$wxUSE_ALL_FEATURES
12419 if test -z "$defaultval"; then
12420 if test x"$enablestring" = xdisable; then
12421 defaultval=yes
12422 else
12423 defaultval=no
12424 fi
12425 fi
12426
12427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12428 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12429 # Check whether --enable-treectrl was given.
12430 if test "${enable_treectrl+set}" = set; then
12431 enableval=$enable_treectrl;
12432 if test "$enableval" = yes; then
12433 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12434 else
12435 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12436 fi
12437
12438 else
12439
12440 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12441
12442 fi
12443
12444
12445 eval "$wx_cv_use_treectrl"
12446
12447 if test x"$enablestring" = xdisable; then
12448 if test $wxUSE_TREECTRL = no; then
12449 result=yes
12450 else
12451 result=no
12452 fi
12453 else
12454 result=$wxUSE_TREECTRL
12455 fi
12456
12457 { echo "$as_me:$LINENO: result: $result" >&5
12458 echo "${ECHO_T}$result" >&6; }
12459
12460
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12475 # Check whether --enable-commondlg was given.
12476 if test "${enable_commondlg+set}" = set; then
12477 enableval=$enable_commondlg;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12480 else
12481 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12482 fi
12483
12484 else
12485
12486 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12487
12488 fi
12489
12490
12491 eval "$wx_cv_use_commondlg"
12492
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_COMMONDLGS = no; then
12495 result=yes
12496 else
12497 result=no
12498 fi
12499 else
12500 result=$wxUSE_COMMONDLGS
12501 fi
12502
12503 { echo "$as_me:$LINENO: result: $result" >&5
12504 echo "${ECHO_T}$result" >&6; }
12505
12506
12507 enablestring=
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12511 defaultval=yes
12512 else
12513 defaultval=no
12514 fi
12515 fi
12516
12517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12518 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12519 # Check whether --enable-aboutdlg was given.
12520 if test "${enable_aboutdlg+set}" = set; then
12521 enableval=$enable_aboutdlg;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12524 else
12525 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12526 fi
12527
12528 else
12529
12530 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12531
12532 fi
12533
12534
12535 eval "$wx_cv_use_aboutdlg"
12536
12537 if test x"$enablestring" = xdisable; then
12538 if test $wxUSE_ABOUTDLG = no; then
12539 result=yes
12540 else
12541 result=no
12542 fi
12543 else
12544 result=$wxUSE_ABOUTDLG
12545 fi
12546
12547 { echo "$as_me:$LINENO: result: $result" >&5
12548 echo "${ECHO_T}$result" >&6; }
12549
12550
12551 enablestring=
12552 defaultval=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x"$enablestring" = xdisable; then
12555 defaultval=yes
12556 else
12557 defaultval=no
12558 fi
12559 fi
12560
12561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12562 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12563 # Check whether --enable-choicedlg was given.
12564 if test "${enable_choicedlg+set}" = set; then
12565 enableval=$enable_choicedlg;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12568 else
12569 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12570 fi
12571
12572 else
12573
12574 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12575
12576 fi
12577
12578
12579 eval "$wx_cv_use_choicedlg"
12580
12581 if test x"$enablestring" = xdisable; then
12582 if test $wxUSE_CHOICEDLG = no; then
12583 result=yes
12584 else
12585 result=no
12586 fi
12587 else
12588 result=$wxUSE_CHOICEDLG
12589 fi
12590
12591 { echo "$as_me:$LINENO: result: $result" >&5
12592 echo "${ECHO_T}$result" >&6; }
12593
12594
12595 enablestring=
12596 defaultval=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x"$enablestring" = xdisable; then
12599 defaultval=yes
12600 else
12601 defaultval=no
12602 fi
12603 fi
12604
12605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12606 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12607 # Check whether --enable-coldlg was given.
12608 if test "${enable_coldlg+set}" = set; then
12609 enableval=$enable_coldlg;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12612 else
12613 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12614 fi
12615
12616 else
12617
12618 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12619
12620 fi
12621
12622
12623 eval "$wx_cv_use_coldlg"
12624
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_COLOURDLG = no; then
12627 result=yes
12628 else
12629 result=no
12630 fi
12631 else
12632 result=$wxUSE_COLOURDLG
12633 fi
12634
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12637
12638
12639 enablestring=
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12643 defaultval=yes
12644 else
12645 defaultval=no
12646 fi
12647 fi
12648
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12651 # Check whether --enable-filedlg was given.
12652 if test "${enable_filedlg+set}" = set; then
12653 enableval=$enable_filedlg;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12656 else
12657 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12658 fi
12659
12660 else
12661
12662 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12663
12664 fi
12665
12666
12667 eval "$wx_cv_use_filedlg"
12668
12669 if test x"$enablestring" = xdisable; then
12670 if test $wxUSE_FILEDLG = no; then
12671 result=yes
12672 else
12673 result=no
12674 fi
12675 else
12676 result=$wxUSE_FILEDLG
12677 fi
12678
12679 { echo "$as_me:$LINENO: result: $result" >&5
12680 echo "${ECHO_T}$result" >&6; }
12681
12682
12683 enablestring=
12684 defaultval=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x"$enablestring" = xdisable; then
12687 defaultval=yes
12688 else
12689 defaultval=no
12690 fi
12691 fi
12692
12693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12694 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12695 # Check whether --enable-finddlg was given.
12696 if test "${enable_finddlg+set}" = set; then
12697 enableval=$enable_finddlg;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12700 else
12701 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12702 fi
12703
12704 else
12705
12706 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12707
12708 fi
12709
12710
12711 eval "$wx_cv_use_finddlg"
12712
12713 if test x"$enablestring" = xdisable; then
12714 if test $wxUSE_FINDREPLDLG = no; then
12715 result=yes
12716 else
12717 result=no
12718 fi
12719 else
12720 result=$wxUSE_FINDREPLDLG
12721 fi
12722
12723 { echo "$as_me:$LINENO: result: $result" >&5
12724 echo "${ECHO_T}$result" >&6; }
12725
12726
12727 enablestring=
12728 defaultval=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x"$enablestring" = xdisable; then
12731 defaultval=yes
12732 else
12733 defaultval=no
12734 fi
12735 fi
12736
12737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12738 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12739 # Check whether --enable-fontdlg was given.
12740 if test "${enable_fontdlg+set}" = set; then
12741 enableval=$enable_fontdlg;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12744 else
12745 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12746 fi
12747
12748 else
12749
12750 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12751
12752 fi
12753
12754
12755 eval "$wx_cv_use_fontdlg"
12756
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_FONTDLG = no; then
12759 result=yes
12760 else
12761 result=no
12762 fi
12763 else
12764 result=$wxUSE_FONTDLG
12765 fi
12766
12767 { echo "$as_me:$LINENO: result: $result" >&5
12768 echo "${ECHO_T}$result" >&6; }
12769
12770
12771 enablestring=
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12775 defaultval=yes
12776 else
12777 defaultval=no
12778 fi
12779 fi
12780
12781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12782 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12783 # Check whether --enable-dirdlg was given.
12784 if test "${enable_dirdlg+set}" = set; then
12785 enableval=$enable_dirdlg;
12786 if test "$enableval" = yes; then
12787 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12788 else
12789 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12790 fi
12791
12792 else
12793
12794 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12795
12796 fi
12797
12798
12799 eval "$wx_cv_use_dirdlg"
12800
12801 if test x"$enablestring" = xdisable; then
12802 if test $wxUSE_DIRDLG = no; then
12803 result=yes
12804 else
12805 result=no
12806 fi
12807 else
12808 result=$wxUSE_DIRDLG
12809 fi
12810
12811 { echo "$as_me:$LINENO: result: $result" >&5
12812 echo "${ECHO_T}$result" >&6; }
12813
12814
12815 enablestring=
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12819 defaultval=yes
12820 else
12821 defaultval=no
12822 fi
12823 fi
12824
12825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12826 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12827 # Check whether --enable-msgdlg was given.
12828 if test "${enable_msgdlg+set}" = set; then
12829 enableval=$enable_msgdlg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12832 else
12833 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12834 fi
12835
12836 else
12837
12838 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12839
12840 fi
12841
12842
12843 eval "$wx_cv_use_msgdlg"
12844
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_MSGDLG = no; then
12847 result=yes
12848 else
12849 result=no
12850 fi
12851 else
12852 result=$wxUSE_MSGDLG
12853 fi
12854
12855 { echo "$as_me:$LINENO: result: $result" >&5
12856 echo "${ECHO_T}$result" >&6; }
12857
12858
12859 enablestring=
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12863 defaultval=yes
12864 else
12865 defaultval=no
12866 fi
12867 fi
12868
12869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12870 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12871 # Check whether --enable-numberdlg was given.
12872 if test "${enable_numberdlg+set}" = set; then
12873 enableval=$enable_numberdlg;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12876 else
12877 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12878 fi
12879
12880 else
12881
12882 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12883
12884 fi
12885
12886
12887 eval "$wx_cv_use_numberdlg"
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_NUMBERDLG = no; then
12891 result=yes
12892 else
12893 result=no
12894 fi
12895 else
12896 result=$wxUSE_NUMBERDLG
12897 fi
12898
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12915 # Check whether --enable-splash was given.
12916 if test "${enable_splash+set}" = set; then
12917 enableval=$enable_splash;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_splash='wxUSE_SPLASH=yes'
12920 else
12921 wx_cv_use_splash='wxUSE_SPLASH=no'
12922 fi
12923
12924 else
12925
12926 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12927
12928 fi
12929
12930
12931 eval "$wx_cv_use_splash"
12932
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_SPLASH = no; then
12935 result=yes
12936 else
12937 result=no
12938 fi
12939 else
12940 result=$wxUSE_SPLASH
12941 fi
12942
12943 { echo "$as_me:$LINENO: result: $result" >&5
12944 echo "${ECHO_T}$result" >&6; }
12945
12946
12947 enablestring=
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12951 defaultval=yes
12952 else
12953 defaultval=no
12954 fi
12955 fi
12956
12957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12958 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12959 # Check whether --enable-textdlg was given.
12960 if test "${enable_textdlg+set}" = set; then
12961 enableval=$enable_textdlg;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12964 else
12965 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12966 fi
12967
12968 else
12969
12970 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12971
12972 fi
12973
12974
12975 eval "$wx_cv_use_textdlg"
12976
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_TEXTDLG = no; then
12979 result=yes
12980 else
12981 result=no
12982 fi
12983 else
12984 result=$wxUSE_TEXTDLG
12985 fi
12986
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12989
12990
12991 enablestring=
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
12995 defaultval=yes
12996 else
12997 defaultval=no
12998 fi
12999 fi
13000
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13003 # Check whether --enable-tipdlg was given.
13004 if test "${enable_tipdlg+set}" = set; then
13005 enableval=$enable_tipdlg;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13008 else
13009 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13010 fi
13011
13012 else
13013
13014 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13015
13016 fi
13017
13018
13019 eval "$wx_cv_use_tipdlg"
13020
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_STARTUP_TIPS = no; then
13023 result=yes
13024 else
13025 result=no
13026 fi
13027 else
13028 result=$wxUSE_STARTUP_TIPS
13029 fi
13030
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13033
13034
13035 enablestring=
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13039 defaultval=yes
13040 else
13041 defaultval=no
13042 fi
13043 fi
13044
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13047 # Check whether --enable-progressdlg was given.
13048 if test "${enable_progressdlg+set}" = set; then
13049 enableval=$enable_progressdlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13052 else
13053 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13054 fi
13055
13056 else
13057
13058 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13059
13060 fi
13061
13062
13063 eval "$wx_cv_use_progressdlg"
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_PROGRESSDLG = no; then
13067 result=yes
13068 else
13069 result=no
13070 fi
13071 else
13072 result=$wxUSE_PROGRESSDLG
13073 fi
13074
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13091 # Check whether --enable-wizarddlg was given.
13092 if test "${enable_wizarddlg+set}" = set; then
13093 enableval=$enable_wizarddlg;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13096 else
13097 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13098 fi
13099
13100 else
13101
13102 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13103
13104 fi
13105
13106
13107 eval "$wx_cv_use_wizarddlg"
13108
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_WIZARDDLG = no; then
13111 result=yes
13112 else
13113 result=no
13114 fi
13115 else
13116 result=$wxUSE_WIZARDDLG
13117 fi
13118
13119 { echo "$as_me:$LINENO: result: $result" >&5
13120 echo "${ECHO_T}$result" >&6; }
13121
13122
13123
13124
13125 enablestring=
13126 defaultval=$wxUSE_ALL_FEATURES
13127 if test -z "$defaultval"; then
13128 if test x"$enablestring" = xdisable; then
13129 defaultval=yes
13130 else
13131 defaultval=no
13132 fi
13133 fi
13134
13135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13136 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13137 # Check whether --enable-menus was given.
13138 if test "${enable_menus+set}" = set; then
13139 enableval=$enable_menus;
13140 if test "$enableval" = yes; then
13141 wx_cv_use_menus='wxUSE_MENUS=yes'
13142 else
13143 wx_cv_use_menus='wxUSE_MENUS=no'
13144 fi
13145
13146 else
13147
13148 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13149
13150 fi
13151
13152
13153 eval "$wx_cv_use_menus"
13154
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_MENUS = no; then
13157 result=yes
13158 else
13159 result=no
13160 fi
13161 else
13162 result=$wxUSE_MENUS
13163 fi
13164
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13167
13168
13169 enablestring=
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13173 defaultval=yes
13174 else
13175 defaultval=no
13176 fi
13177 fi
13178
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13181 # Check whether --enable-miniframe was given.
13182 if test "${enable_miniframe+set}" = set; then
13183 enableval=$enable_miniframe;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13186 else
13187 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13188 fi
13189
13190 else
13191
13192 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13193
13194 fi
13195
13196
13197 eval "$wx_cv_use_miniframe"
13198
13199 if test x"$enablestring" = xdisable; then
13200 if test $wxUSE_MINIFRAME = no; then
13201 result=yes
13202 else
13203 result=no
13204 fi
13205 else
13206 result=$wxUSE_MINIFRAME
13207 fi
13208
13209 { echo "$as_me:$LINENO: result: $result" >&5
13210 echo "${ECHO_T}$result" >&6; }
13211
13212
13213 enablestring=
13214 defaultval=$wxUSE_ALL_FEATURES
13215 if test -z "$defaultval"; then
13216 if test x"$enablestring" = xdisable; then
13217 defaultval=yes
13218 else
13219 defaultval=no
13220 fi
13221 fi
13222
13223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13224 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13225 # Check whether --enable-tooltips was given.
13226 if test "${enable_tooltips+set}" = set; then
13227 enableval=$enable_tooltips;
13228 if test "$enableval" = yes; then
13229 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13230 else
13231 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13232 fi
13233
13234 else
13235
13236 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13237
13238 fi
13239
13240
13241 eval "$wx_cv_use_tooltips"
13242
13243 if test x"$enablestring" = xdisable; then
13244 if test $wxUSE_TOOLTIPS = no; then
13245 result=yes
13246 else
13247 result=no
13248 fi
13249 else
13250 result=$wxUSE_TOOLTIPS
13251 fi
13252
13253 { echo "$as_me:$LINENO: result: $result" >&5
13254 echo "${ECHO_T}$result" >&6; }
13255
13256
13257 enablestring=
13258 defaultval=$wxUSE_ALL_FEATURES
13259 if test -z "$defaultval"; then
13260 if test x"$enablestring" = xdisable; then
13261 defaultval=yes
13262 else
13263 defaultval=no
13264 fi
13265 fi
13266
13267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13268 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13269 # Check whether --enable-splines was given.
13270 if test "${enable_splines+set}" = set; then
13271 enableval=$enable_splines;
13272 if test "$enableval" = yes; then
13273 wx_cv_use_splines='wxUSE_SPLINES=yes'
13274 else
13275 wx_cv_use_splines='wxUSE_SPLINES=no'
13276 fi
13277
13278 else
13279
13280 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13281
13282 fi
13283
13284
13285 eval "$wx_cv_use_splines"
13286
13287 if test x"$enablestring" = xdisable; then
13288 if test $wxUSE_SPLINES = no; then
13289 result=yes
13290 else
13291 result=no
13292 fi
13293 else
13294 result=$wxUSE_SPLINES
13295 fi
13296
13297 { echo "$as_me:$LINENO: result: $result" >&5
13298 echo "${ECHO_T}$result" >&6; }
13299
13300
13301 enablestring=
13302 defaultval=$wxUSE_ALL_FEATURES
13303 if test -z "$defaultval"; then
13304 if test x"$enablestring" = xdisable; then
13305 defaultval=yes
13306 else
13307 defaultval=no
13308 fi
13309 fi
13310
13311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13312 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13313 # Check whether --enable-mousewheel was given.
13314 if test "${enable_mousewheel+set}" = set; then
13315 enableval=$enable_mousewheel;
13316 if test "$enableval" = yes; then
13317 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13318 else
13319 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13320 fi
13321
13322 else
13323
13324 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13325
13326 fi
13327
13328
13329 eval "$wx_cv_use_mousewheel"
13330
13331 if test x"$enablestring" = xdisable; then
13332 if test $wxUSE_MOUSEWHEEL = no; then
13333 result=yes
13334 else
13335 result=no
13336 fi
13337 else
13338 result=$wxUSE_MOUSEWHEEL
13339 fi
13340
13341 { echo "$as_me:$LINENO: result: $result" >&5
13342 echo "${ECHO_T}$result" >&6; }
13343
13344
13345 enablestring=
13346 defaultval=$wxUSE_ALL_FEATURES
13347 if test -z "$defaultval"; then
13348 if test x"$enablestring" = xdisable; then
13349 defaultval=yes
13350 else
13351 defaultval=no
13352 fi
13353 fi
13354
13355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13356 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13357 # Check whether --enable-validators was given.
13358 if test "${enable_validators+set}" = set; then
13359 enableval=$enable_validators;
13360 if test "$enableval" = yes; then
13361 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13362 else
13363 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13364 fi
13365
13366 else
13367
13368 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13369
13370 fi
13371
13372
13373 eval "$wx_cv_use_validators"
13374
13375 if test x"$enablestring" = xdisable; then
13376 if test $wxUSE_VALIDATORS = no; then
13377 result=yes
13378 else
13379 result=no
13380 fi
13381 else
13382 result=$wxUSE_VALIDATORS
13383 fi
13384
13385 { echo "$as_me:$LINENO: result: $result" >&5
13386 echo "${ECHO_T}$result" >&6; }
13387
13388
13389 enablestring=
13390 defaultval=$wxUSE_ALL_FEATURES
13391 if test -z "$defaultval"; then
13392 if test x"$enablestring" = xdisable; then
13393 defaultval=yes
13394 else
13395 defaultval=no
13396 fi
13397 fi
13398
13399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13400 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13401 # Check whether --enable-busyinfo was given.
13402 if test "${enable_busyinfo+set}" = set; then
13403 enableval=$enable_busyinfo;
13404 if test "$enableval" = yes; then
13405 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13406 else
13407 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13408 fi
13409
13410 else
13411
13412 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13413
13414 fi
13415
13416
13417 eval "$wx_cv_use_busyinfo"
13418
13419 if test x"$enablestring" = xdisable; then
13420 if test $wxUSE_BUSYINFO = no; then
13421 result=yes
13422 else
13423 result=no
13424 fi
13425 else
13426 result=$wxUSE_BUSYINFO
13427 fi
13428
13429 { echo "$as_me:$LINENO: result: $result" >&5
13430 echo "${ECHO_T}$result" >&6; }
13431
13432
13433 enablestring=
13434 defaultval=$wxUSE_ALL_FEATURES
13435 if test -z "$defaultval"; then
13436 if test x"$enablestring" = xdisable; then
13437 defaultval=yes
13438 else
13439 defaultval=no
13440 fi
13441 fi
13442
13443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13444 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13445 # Check whether --enable-joystick was given.
13446 if test "${enable_joystick+set}" = set; then
13447 enableval=$enable_joystick;
13448 if test "$enableval" = yes; then
13449 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13450 else
13451 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13452 fi
13453
13454 else
13455
13456 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13457
13458 fi
13459
13460
13461 eval "$wx_cv_use_joystick"
13462
13463 if test x"$enablestring" = xdisable; then
13464 if test $wxUSE_JOYSTICK = no; then
13465 result=yes
13466 else
13467 result=no
13468 fi
13469 else
13470 result=$wxUSE_JOYSTICK
13471 fi
13472
13473 { echo "$as_me:$LINENO: result: $result" >&5
13474 echo "${ECHO_T}$result" >&6; }
13475
13476
13477 enablestring=
13478 defaultval=$wxUSE_ALL_FEATURES
13479 if test -z "$defaultval"; then
13480 if test x"$enablestring" = xdisable; then
13481 defaultval=yes
13482 else
13483 defaultval=no
13484 fi
13485 fi
13486
13487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13488 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13489 # Check whether --enable-metafile was given.
13490 if test "${enable_metafile+set}" = set; then
13491 enableval=$enable_metafile;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13494 else
13495 wx_cv_use_metafile='wxUSE_METAFILE=no'
13496 fi
13497
13498 else
13499
13500 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13501
13502 fi
13503
13504
13505 eval "$wx_cv_use_metafile"
13506
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_METAFILE = no; then
13509 result=yes
13510 else
13511 result=no
13512 fi
13513 else
13514 result=$wxUSE_METAFILE
13515 fi
13516
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13519
13520
13521 enablestring=
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13525 defaultval=yes
13526 else
13527 defaultval=no
13528 fi
13529 fi
13530
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13533 # Check whether --enable-dragimage was given.
13534 if test "${enable_dragimage+set}" = set; then
13535 enableval=$enable_dragimage;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13538 else
13539 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13540 fi
13541
13542 else
13543
13544 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13545
13546 fi
13547
13548
13549 eval "$wx_cv_use_dragimage"
13550
13551 if test x"$enablestring" = xdisable; then
13552 if test $wxUSE_DRAGIMAGE = no; then
13553 result=yes
13554 else
13555 result=no
13556 fi
13557 else
13558 result=$wxUSE_DRAGIMAGE
13559 fi
13560
13561 { echo "$as_me:$LINENO: result: $result" >&5
13562 echo "${ECHO_T}$result" >&6; }
13563
13564
13565 enablestring=
13566 defaultval=$wxUSE_ALL_FEATURES
13567 if test -z "$defaultval"; then
13568 if test x"$enablestring" = xdisable; then
13569 defaultval=yes
13570 else
13571 defaultval=no
13572 fi
13573 fi
13574
13575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13576 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13577 # Check whether --enable-accessibility was given.
13578 if test "${enable_accessibility+set}" = set; then
13579 enableval=$enable_accessibility;
13580 if test "$enableval" = yes; then
13581 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13582 else
13583 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13584 fi
13585
13586 else
13587
13588 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13589
13590 fi
13591
13592
13593 eval "$wx_cv_use_accessibility"
13594
13595 if test x"$enablestring" = xdisable; then
13596 if test $wxUSE_ACCESSIBILITY = no; then
13597 result=yes
13598 else
13599 result=no
13600 fi
13601 else
13602 result=$wxUSE_ACCESSIBILITY
13603 fi
13604
13605 { echo "$as_me:$LINENO: result: $result" >&5
13606 echo "${ECHO_T}$result" >&6; }
13607
13608
13609 enablestring=
13610 defaultval=$wxUSE_ALL_FEATURES
13611 if test -z "$defaultval"; then
13612 if test x"$enablestring" = xdisable; then
13613 defaultval=yes
13614 else
13615 defaultval=no
13616 fi
13617 fi
13618
13619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13620 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13621 # Check whether --enable-uiactionsim was given.
13622 if test "${enable_uiactionsim+set}" = set; then
13623 enableval=$enable_uiactionsim;
13624 if test "$enableval" = yes; then
13625 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13626 else
13627 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13628 fi
13629
13630 else
13631
13632 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13633
13634 fi
13635
13636
13637 eval "$wx_cv_use_uiactionsim"
13638
13639 if test x"$enablestring" = xdisable; then
13640 if test $wxUSE_UIACTIONSIMULATOR = no; then
13641 result=yes
13642 else
13643 result=no
13644 fi
13645 else
13646 result=$wxUSE_UIACTIONSIMULATOR
13647 fi
13648
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13651
13652
13653
13654
13655 enablestring=
13656 defaultval=$wxUSE_ALL_FEATURES
13657 if test -z "$defaultval"; then
13658 if test x"$enablestring" = xdisable; then
13659 defaultval=yes
13660 else
13661 defaultval=no
13662 fi
13663 fi
13664
13665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13666 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13667 # Check whether --enable-palette was given.
13668 if test "${enable_palette+set}" = set; then
13669 enableval=$enable_palette;
13670 if test "$enableval" = yes; then
13671 wx_cv_use_palette='wxUSE_PALETTE=yes'
13672 else
13673 wx_cv_use_palette='wxUSE_PALETTE=no'
13674 fi
13675
13676 else
13677
13678 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13679
13680 fi
13681
13682
13683 eval "$wx_cv_use_palette"
13684
13685 if test x"$enablestring" = xdisable; then
13686 if test $wxUSE_PALETTE = no; then
13687 result=yes
13688 else
13689 result=no
13690 fi
13691 else
13692 result=$wxUSE_PALETTE
13693 fi
13694
13695 { echo "$as_me:$LINENO: result: $result" >&5
13696 echo "${ECHO_T}$result" >&6; }
13697
13698
13699 enablestring=
13700 defaultval=$wxUSE_ALL_FEATURES
13701 if test -z "$defaultval"; then
13702 if test x"$enablestring" = xdisable; then
13703 defaultval=yes
13704 else
13705 defaultval=no
13706 fi
13707 fi
13708
13709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13710 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13711 # Check whether --enable-image was given.
13712 if test "${enable_image+set}" = set; then
13713 enableval=$enable_image;
13714 if test "$enableval" = yes; then
13715 wx_cv_use_image='wxUSE_IMAGE=yes'
13716 else
13717 wx_cv_use_image='wxUSE_IMAGE=no'
13718 fi
13719
13720 else
13721
13722 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13723
13724 fi
13725
13726
13727 eval "$wx_cv_use_image"
13728
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_IMAGE = no; then
13731 result=yes
13732 else
13733 result=no
13734 fi
13735 else
13736 result=$wxUSE_IMAGE
13737 fi
13738
13739 { echo "$as_me:$LINENO: result: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13741
13742
13743 enablestring=
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13747 defaultval=yes
13748 else
13749 defaultval=no
13750 fi
13751 fi
13752
13753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13754 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13755 # Check whether --enable-gif was given.
13756 if test "${enable_gif+set}" = set; then
13757 enableval=$enable_gif;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_gif='wxUSE_GIF=yes'
13760 else
13761 wx_cv_use_gif='wxUSE_GIF=no'
13762 fi
13763
13764 else
13765
13766 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13767
13768 fi
13769
13770
13771 eval "$wx_cv_use_gif"
13772
13773 if test x"$enablestring" = xdisable; then
13774 if test $wxUSE_GIF = no; then
13775 result=yes
13776 else
13777 result=no
13778 fi
13779 else
13780 result=$wxUSE_GIF
13781 fi
13782
13783 { echo "$as_me:$LINENO: result: $result" >&5
13784 echo "${ECHO_T}$result" >&6; }
13785
13786
13787 enablestring=
13788 defaultval=$wxUSE_ALL_FEATURES
13789 if test -z "$defaultval"; then
13790 if test x"$enablestring" = xdisable; then
13791 defaultval=yes
13792 else
13793 defaultval=no
13794 fi
13795 fi
13796
13797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13798 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13799 # Check whether --enable-pcx was given.
13800 if test "${enable_pcx+set}" = set; then
13801 enableval=$enable_pcx;
13802 if test "$enableval" = yes; then
13803 wx_cv_use_pcx='wxUSE_PCX=yes'
13804 else
13805 wx_cv_use_pcx='wxUSE_PCX=no'
13806 fi
13807
13808 else
13809
13810 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13811
13812 fi
13813
13814
13815 eval "$wx_cv_use_pcx"
13816
13817 if test x"$enablestring" = xdisable; then
13818 if test $wxUSE_PCX = no; then
13819 result=yes
13820 else
13821 result=no
13822 fi
13823 else
13824 result=$wxUSE_PCX
13825 fi
13826
13827 { echo "$as_me:$LINENO: result: $result" >&5
13828 echo "${ECHO_T}$result" >&6; }
13829
13830
13831 enablestring=
13832 defaultval=$wxUSE_ALL_FEATURES
13833 if test -z "$defaultval"; then
13834 if test x"$enablestring" = xdisable; then
13835 defaultval=yes
13836 else
13837 defaultval=no
13838 fi
13839 fi
13840
13841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13842 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13843 # Check whether --enable-tga was given.
13844 if test "${enable_tga+set}" = set; then
13845 enableval=$enable_tga;
13846 if test "$enableval" = yes; then
13847 wx_cv_use_tga='wxUSE_TGA=yes'
13848 else
13849 wx_cv_use_tga='wxUSE_TGA=no'
13850 fi
13851
13852 else
13853
13854 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13855
13856 fi
13857
13858
13859 eval "$wx_cv_use_tga"
13860
13861 if test x"$enablestring" = xdisable; then
13862 if test $wxUSE_TGA = no; then
13863 result=yes
13864 else
13865 result=no
13866 fi
13867 else
13868 result=$wxUSE_TGA
13869 fi
13870
13871 { echo "$as_me:$LINENO: result: $result" >&5
13872 echo "${ECHO_T}$result" >&6; }
13873
13874
13875 enablestring=
13876 defaultval=$wxUSE_ALL_FEATURES
13877 if test -z "$defaultval"; then
13878 if test x"$enablestring" = xdisable; then
13879 defaultval=yes
13880 else
13881 defaultval=no
13882 fi
13883 fi
13884
13885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13886 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13887 # Check whether --enable-iff was given.
13888 if test "${enable_iff+set}" = set; then
13889 enableval=$enable_iff;
13890 if test "$enableval" = yes; then
13891 wx_cv_use_iff='wxUSE_IFF=yes'
13892 else
13893 wx_cv_use_iff='wxUSE_IFF=no'
13894 fi
13895
13896 else
13897
13898 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13899
13900 fi
13901
13902
13903 eval "$wx_cv_use_iff"
13904
13905 if test x"$enablestring" = xdisable; then
13906 if test $wxUSE_IFF = no; then
13907 result=yes
13908 else
13909 result=no
13910 fi
13911 else
13912 result=$wxUSE_IFF
13913 fi
13914
13915 { echo "$as_me:$LINENO: result: $result" >&5
13916 echo "${ECHO_T}$result" >&6; }
13917
13918
13919 enablestring=
13920 defaultval=$wxUSE_ALL_FEATURES
13921 if test -z "$defaultval"; then
13922 if test x"$enablestring" = xdisable; then
13923 defaultval=yes
13924 else
13925 defaultval=no
13926 fi
13927 fi
13928
13929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13930 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13931 # Check whether --enable-pnm was given.
13932 if test "${enable_pnm+set}" = set; then
13933 enableval=$enable_pnm;
13934 if test "$enableval" = yes; then
13935 wx_cv_use_pnm='wxUSE_PNM=yes'
13936 else
13937 wx_cv_use_pnm='wxUSE_PNM=no'
13938 fi
13939
13940 else
13941
13942 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13943
13944 fi
13945
13946
13947 eval "$wx_cv_use_pnm"
13948
13949 if test x"$enablestring" = xdisable; then
13950 if test $wxUSE_PNM = no; then
13951 result=yes
13952 else
13953 result=no
13954 fi
13955 else
13956 result=$wxUSE_PNM
13957 fi
13958
13959 { echo "$as_me:$LINENO: result: $result" >&5
13960 echo "${ECHO_T}$result" >&6; }
13961
13962
13963 enablestring=
13964 defaultval=$wxUSE_ALL_FEATURES
13965 if test -z "$defaultval"; then
13966 if test x"$enablestring" = xdisable; then
13967 defaultval=yes
13968 else
13969 defaultval=no
13970 fi
13971 fi
13972
13973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13974 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13975 # Check whether --enable-xpm was given.
13976 if test "${enable_xpm+set}" = set; then
13977 enableval=$enable_xpm;
13978 if test "$enableval" = yes; then
13979 wx_cv_use_xpm='wxUSE_XPM=yes'
13980 else
13981 wx_cv_use_xpm='wxUSE_XPM=no'
13982 fi
13983
13984 else
13985
13986 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13987
13988 fi
13989
13990
13991 eval "$wx_cv_use_xpm"
13992
13993 if test x"$enablestring" = xdisable; then
13994 if test $wxUSE_XPM = no; then
13995 result=yes
13996 else
13997 result=no
13998 fi
13999 else
14000 result=$wxUSE_XPM
14001 fi
14002
14003 { echo "$as_me:$LINENO: result: $result" >&5
14004 echo "${ECHO_T}$result" >&6; }
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14018 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14019 # Check whether --enable-ico_cur was given.
14020 if test "${enable_ico_cur+set}" = set; then
14021 enableval=$enable_ico_cur;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14024 else
14025 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14026 fi
14027
14028 else
14029
14030 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14031
14032 fi
14033
14034
14035 eval "$wx_cv_use_ico_cur"
14036
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_ICO_CUR = no; then
14039 result=yes
14040 else
14041 result=no
14042 fi
14043 else
14044 result=$wxUSE_ICO_CUR
14045 fi
14046
14047 { echo "$as_me:$LINENO: result: $result" >&5
14048 echo "${ECHO_T}$result" >&6; }
14049
14050
14051
14052
14053 enablestring=
14054 defaultval=$wxUSE_ALL_FEATURES
14055 if test -z "$defaultval"; then
14056 if test x"$enablestring" = xdisable; then
14057 defaultval=yes
14058 else
14059 defaultval=no
14060 fi
14061 fi
14062
14063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14064 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14065 # Check whether --enable-dccache was given.
14066 if test "${enable_dccache+set}" = set; then
14067 enableval=$enable_dccache;
14068 if test "$enableval" = yes; then
14069 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14070 else
14071 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14072 fi
14073
14074 else
14075
14076 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14077
14078 fi
14079
14080
14081 eval "$wx_cv_use_dccache"
14082
14083 if test x"$enablestring" = xdisable; then
14084 if test $wxUSE_DC_CACHEING = no; then
14085 result=yes
14086 else
14087 result=no
14088 fi
14089 else
14090 result=$wxUSE_DC_CACHEING
14091 fi
14092
14093 { echo "$as_me:$LINENO: result: $result" >&5
14094 echo "${ECHO_T}$result" >&6; }
14095
14096
14097 enablestring=
14098 defaultval=$wxUSE_ALL_FEATURES
14099 if test -z "$defaultval"; then
14100 if test x"$enablestring" = xdisable; then
14101 defaultval=yes
14102 else
14103 defaultval=no
14104 fi
14105 fi
14106
14107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14108 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14109 # Check whether --enable-ps-in-msw was given.
14110 if test "${enable_ps_in_msw+set}" = set; then
14111 enableval=$enable_ps_in_msw;
14112 if test "$enableval" = yes; then
14113 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14114 else
14115 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14116 fi
14117
14118 else
14119
14120 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14121
14122 fi
14123
14124
14125 eval "$wx_cv_use_ps_in_msw"
14126
14127 if test x"$enablestring" = xdisable; then
14128 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14129 result=yes
14130 else
14131 result=no
14132 fi
14133 else
14134 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14135 fi
14136
14137 { echo "$as_me:$LINENO: result: $result" >&5
14138 echo "${ECHO_T}$result" >&6; }
14139
14140
14141 enablestring=
14142 defaultval=$wxUSE_ALL_FEATURES
14143 if test -z "$defaultval"; then
14144 if test x"$enablestring" = xdisable; then
14145 defaultval=yes
14146 else
14147 defaultval=no
14148 fi
14149 fi
14150
14151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14152 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14153 # Check whether --enable-ownerdrawn was given.
14154 if test "${enable_ownerdrawn+set}" = set; then
14155 enableval=$enable_ownerdrawn;
14156 if test "$enableval" = yes; then
14157 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14158 else
14159 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14160 fi
14161
14162 else
14163
14164 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14165
14166 fi
14167
14168
14169 eval "$wx_cv_use_ownerdrawn"
14170
14171 if test x"$enablestring" = xdisable; then
14172 if test $wxUSE_OWNER_DRAWN = no; then
14173 result=yes
14174 else
14175 result=no
14176 fi
14177 else
14178 result=$wxUSE_OWNER_DRAWN
14179 fi
14180
14181 { echo "$as_me:$LINENO: result: $result" >&5
14182 echo "${ECHO_T}$result" >&6; }
14183
14184
14185 enablestring=
14186 defaultval=$wxUSE_ALL_FEATURES
14187 if test -z "$defaultval"; then
14188 if test x"$enablestring" = xdisable; then
14189 defaultval=yes
14190 else
14191 defaultval=no
14192 fi
14193 fi
14194
14195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14196 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14197 # Check whether --enable-uxtheme was given.
14198 if test "${enable_uxtheme+set}" = set; then
14199 enableval=$enable_uxtheme;
14200 if test "$enableval" = yes; then
14201 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14202 else
14203 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14204 fi
14205
14206 else
14207
14208 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14209
14210 fi
14211
14212
14213 eval "$wx_cv_use_uxtheme"
14214
14215 if test x"$enablestring" = xdisable; then
14216 if test $wxUSE_UXTHEME = no; then
14217 result=yes
14218 else
14219 result=no
14220 fi
14221 else
14222 result=$wxUSE_UXTHEME
14223 fi
14224
14225 { echo "$as_me:$LINENO: result: $result" >&5
14226 echo "${ECHO_T}$result" >&6; }
14227
14228
14229 enablestring=
14230 defaultval=$wxUSE_ALL_FEATURES
14231 if test -z "$defaultval"; then
14232 if test x"$enablestring" = xdisable; then
14233 defaultval=yes
14234 else
14235 defaultval=no
14236 fi
14237 fi
14238
14239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14240 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14241 # Check whether --enable-wxdib was given.
14242 if test "${enable_wxdib+set}" = set; then
14243 enableval=$enable_wxdib;
14244 if test "$enableval" = yes; then
14245 wx_cv_use_wxdib='wxUSE_DIB=yes'
14246 else
14247 wx_cv_use_wxdib='wxUSE_DIB=no'
14248 fi
14249
14250 else
14251
14252 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14253
14254 fi
14255
14256
14257 eval "$wx_cv_use_wxdib"
14258
14259 if test x"$enablestring" = xdisable; then
14260 if test $wxUSE_DIB = no; then
14261 result=yes
14262 else
14263 result=no
14264 fi
14265 else
14266 result=$wxUSE_DIB
14267 fi
14268
14269 { echo "$as_me:$LINENO: result: $result" >&5
14270 echo "${ECHO_T}$result" >&6; }
14271
14272
14273 if test "$wxUSE_MSW" != 1; then
14274 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14275 fi
14276
14277
14278 enablestring=
14279 defaultval=$wxUSE_ALL_FEATURES
14280 if test -z "$defaultval"; then
14281 if test x"$enablestring" = xdisable; then
14282 defaultval=yes
14283 else
14284 defaultval=no
14285 fi
14286 fi
14287
14288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14289 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14290 # Check whether --enable-autoidman was given.
14291 if test "${enable_autoidman+set}" = set; then
14292 enableval=$enable_autoidman;
14293 if test "$enableval" = yes; then
14294 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14295 else
14296 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14297 fi
14298
14299 else
14300
14301 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14302
14303 fi
14304
14305
14306 eval "$wx_cv_use_autoidman"
14307
14308 if test x"$enablestring" = xdisable; then
14309 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14310 result=yes
14311 else
14312 result=no
14313 fi
14314 else
14315 result=$wxUSE_AUTOID_MANAGEMENT
14316 fi
14317
14318 { echo "$as_me:$LINENO: result: $result" >&5
14319 echo "${ECHO_T}$result" >&6; }
14320
14321
14322 fi
14323
14324
14325 cat >confcache <<\_ACEOF
14326 # This file is a shell script that caches the results of configure
14327 # tests run on this system so they can be shared between configure
14328 # scripts and configure runs, see configure's option --config-cache.
14329 # It is not useful on other systems. If it contains results you don't
14330 # want to keep, you may remove or edit it.
14331 #
14332 # config.status only pays attention to the cache file if you give it
14333 # the --recheck option to rerun configure.
14334 #
14335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14337 # following values.
14338
14339 _ACEOF
14340
14341 # The following way of writing the cache mishandles newlines in values,
14342 # but we know of no workaround that is simple, portable, and efficient.
14343 # So, we kill variables containing newlines.
14344 # Ultrix sh set writes to stderr and can't be redirected directly,
14345 # and sets the high bit in the cache file unless we assign to the vars.
14346 (
14347 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14348 eval ac_val=\$$ac_var
14349 case $ac_val in #(
14350 *${as_nl}*)
14351 case $ac_var in #(
14352 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14353 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14354 esac
14355 case $ac_var in #(
14356 _ | IFS | as_nl) ;; #(
14357 *) $as_unset $ac_var ;;
14358 esac ;;
14359 esac
14360 done
14361
14362 (set) 2>&1 |
14363 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14364 *${as_nl}ac_space=\ *)
14365 # `set' does not quote correctly, so add quotes (double-quote
14366 # substitution turns \\\\ into \\, and sed turns \\ into \).
14367 sed -n \
14368 "s/'/'\\\\''/g;
14369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14370 ;; #(
14371 *)
14372 # `set' quotes correctly as required by POSIX, so do not add quotes.
14373 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14374 ;;
14375 esac |
14376 sort
14377 ) |
14378 sed '
14379 /^ac_cv_env_/b end
14380 t clear
14381 :clear
14382 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14383 t end
14384 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14385 :end' >>confcache
14386 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14387 if test -w "$cache_file"; then
14388 test "x$cache_file" != "x/dev/null" &&
14389 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14390 echo "$as_me: updating cache $cache_file" >&6;}
14391 cat confcache >$cache_file
14392 else
14393 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14394 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14395 fi
14396 fi
14397 rm -f confcache
14398
14399 CFLAGS=${CFLAGS:=}
14400
14401
14402
14403 ac_ext=c
14404 ac_cpp='$CPP $CPPFLAGS'
14405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14408 if test -n "$ac_tool_prefix"; then
14409 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14410 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14413 if test "${ac_cv_prog_CC+set}" = set; then
14414 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 else
14416 if test -n "$CC"; then
14417 ac_cv_prog_CC="$CC" # Let the user override the test.
14418 else
14419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14420 for as_dir in $PATH
14421 do
14422 IFS=$as_save_IFS
14423 test -z "$as_dir" && as_dir=.
14424 for ac_exec_ext in '' $ac_executable_extensions; do
14425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14426 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14428 break 2
14429 fi
14430 done
14431 done
14432 IFS=$as_save_IFS
14433
14434 fi
14435 fi
14436 CC=$ac_cv_prog_CC
14437 if test -n "$CC"; then
14438 { echo "$as_me:$LINENO: result: $CC" >&5
14439 echo "${ECHO_T}$CC" >&6; }
14440 else
14441 { echo "$as_me:$LINENO: result: no" >&5
14442 echo "${ECHO_T}no" >&6; }
14443 fi
14444
14445
14446 fi
14447 if test -z "$ac_cv_prog_CC"; then
14448 ac_ct_CC=$CC
14449 # Extract the first word of "gcc", so it can be a program name with args.
14450 set dummy gcc; ac_word=$2
14451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14453 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 else
14456 if test -n "$ac_ct_CC"; then
14457 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14458 else
14459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14460 for as_dir in $PATH
14461 do
14462 IFS=$as_save_IFS
14463 test -z "$as_dir" && as_dir=.
14464 for ac_exec_ext in '' $ac_executable_extensions; do
14465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14466 ac_cv_prog_ac_ct_CC="gcc"
14467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14468 break 2
14469 fi
14470 done
14471 done
14472 IFS=$as_save_IFS
14473
14474 fi
14475 fi
14476 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14477 if test -n "$ac_ct_CC"; then
14478 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14479 echo "${ECHO_T}$ac_ct_CC" >&6; }
14480 else
14481 { echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6; }
14483 fi
14484
14485 if test "x$ac_ct_CC" = x; then
14486 CC=""
14487 else
14488 case $cross_compiling:$ac_tool_warned in
14489 yes:)
14490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14491 whose name does not start with the host triplet. If you think this
14492 configuration is useful to you, please write to autoconf@gnu.org." >&5
14493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14494 whose name does not start with the host triplet. If you think this
14495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14496 ac_tool_warned=yes ;;
14497 esac
14498 CC=$ac_ct_CC
14499 fi
14500 else
14501 CC="$ac_cv_prog_CC"
14502 fi
14503
14504 if test -z "$CC"; then
14505 if test -n "$ac_tool_prefix"; then
14506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14507 set dummy ${ac_tool_prefix}cc; ac_word=$2
14508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14510 if test "${ac_cv_prog_CC+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513 if test -n "$CC"; then
14514 ac_cv_prog_CC="$CC" # Let the user override the test.
14515 else
14516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14517 for as_dir in $PATH
14518 do
14519 IFS=$as_save_IFS
14520 test -z "$as_dir" && as_dir=.
14521 for ac_exec_ext in '' $ac_executable_extensions; do
14522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14523 ac_cv_prog_CC="${ac_tool_prefix}cc"
14524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14525 break 2
14526 fi
14527 done
14528 done
14529 IFS=$as_save_IFS
14530
14531 fi
14532 fi
14533 CC=$ac_cv_prog_CC
14534 if test -n "$CC"; then
14535 { echo "$as_me:$LINENO: result: $CC" >&5
14536 echo "${ECHO_T}$CC" >&6; }
14537 else
14538 { echo "$as_me:$LINENO: result: no" >&5
14539 echo "${ECHO_T}no" >&6; }
14540 fi
14541
14542
14543 fi
14544 fi
14545 if test -z "$CC"; then
14546 # Extract the first word of "cc", so it can be a program name with args.
14547 set dummy cc; ac_word=$2
14548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14550 if test "${ac_cv_prog_CC+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 if test -n "$CC"; then
14554 ac_cv_prog_CC="$CC" # Let the user override the test.
14555 else
14556 ac_prog_rejected=no
14557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14558 for as_dir in $PATH
14559 do
14560 IFS=$as_save_IFS
14561 test -z "$as_dir" && as_dir=.
14562 for ac_exec_ext in '' $ac_executable_extensions; do
14563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14565 ac_prog_rejected=yes
14566 continue
14567 fi
14568 ac_cv_prog_CC="cc"
14569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14570 break 2
14571 fi
14572 done
14573 done
14574 IFS=$as_save_IFS
14575
14576 if test $ac_prog_rejected = yes; then
14577 # We found a bogon in the path, so make sure we never use it.
14578 set dummy $ac_cv_prog_CC
14579 shift
14580 if test $# != 0; then
14581 # We chose a different compiler from the bogus one.
14582 # However, it has the same basename, so the bogon will be chosen
14583 # first if we set CC to just the basename; use the full file name.
14584 shift
14585 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14586 fi
14587 fi
14588 fi
14589 fi
14590 CC=$ac_cv_prog_CC
14591 if test -n "$CC"; then
14592 { echo "$as_me:$LINENO: result: $CC" >&5
14593 echo "${ECHO_T}$CC" >&6; }
14594 else
14595 { echo "$as_me:$LINENO: result: no" >&5
14596 echo "${ECHO_T}no" >&6; }
14597 fi
14598
14599
14600 fi
14601 if test -z "$CC"; then
14602 if test -n "$ac_tool_prefix"; then
14603 for ac_prog in cl.exe
14604 do
14605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14609 if test "${ac_cv_prog_CC+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 else
14612 if test -n "$CC"; then
14613 ac_cv_prog_CC="$CC" # Let the user override the test.
14614 else
14615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14616 for as_dir in $PATH
14617 do
14618 IFS=$as_save_IFS
14619 test -z "$as_dir" && as_dir=.
14620 for ac_exec_ext in '' $ac_executable_extensions; do
14621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14624 break 2
14625 fi
14626 done
14627 done
14628 IFS=$as_save_IFS
14629
14630 fi
14631 fi
14632 CC=$ac_cv_prog_CC
14633 if test -n "$CC"; then
14634 { echo "$as_me:$LINENO: result: $CC" >&5
14635 echo "${ECHO_T}$CC" >&6; }
14636 else
14637 { echo "$as_me:$LINENO: result: no" >&5
14638 echo "${ECHO_T}no" >&6; }
14639 fi
14640
14641
14642 test -n "$CC" && break
14643 done
14644 fi
14645 if test -z "$CC"; then
14646 ac_ct_CC=$CC
14647 for ac_prog in cl.exe
14648 do
14649 # Extract the first word of "$ac_prog", so it can be a program name with args.
14650 set dummy $ac_prog; ac_word=$2
14651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 else
14656 if test -n "$ac_ct_CC"; then
14657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14658 else
14659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14660 for as_dir in $PATH
14661 do
14662 IFS=$as_save_IFS
14663 test -z "$as_dir" && as_dir=.
14664 for ac_exec_ext in '' $ac_executable_extensions; do
14665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14666 ac_cv_prog_ac_ct_CC="$ac_prog"
14667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14668 break 2
14669 fi
14670 done
14671 done
14672 IFS=$as_save_IFS
14673
14674 fi
14675 fi
14676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14677 if test -n "$ac_ct_CC"; then
14678 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14679 echo "${ECHO_T}$ac_ct_CC" >&6; }
14680 else
14681 { echo "$as_me:$LINENO: result: no" >&5
14682 echo "${ECHO_T}no" >&6; }
14683 fi
14684
14685
14686 test -n "$ac_ct_CC" && break
14687 done
14688
14689 if test "x$ac_ct_CC" = x; then
14690 CC=""
14691 else
14692 case $cross_compiling:$ac_tool_warned in
14693 yes:)
14694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14695 whose name does not start with the host triplet. If you think this
14696 configuration is useful to you, please write to autoconf@gnu.org." >&5
14697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14698 whose name does not start with the host triplet. If you think this
14699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14700 ac_tool_warned=yes ;;
14701 esac
14702 CC=$ac_ct_CC
14703 fi
14704 fi
14705
14706 fi
14707
14708
14709 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14710 See \`config.log' for more details." >&5
14711 echo "$as_me: error: no acceptable C compiler found in \$PATH
14712 See \`config.log' for more details." >&2;}
14713 { (exit 1); exit 1; }; }
14714
14715 # Provide some information about the compiler.
14716 echo "$as_me:$LINENO: checking for C compiler version" >&5
14717 ac_compiler=`set X $ac_compile; echo $2`
14718 { (ac_try="$ac_compiler --version >&5"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14722 esac
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_compiler --version >&5") 2>&5
14725 ac_status=$?
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }
14728 { (ac_try="$ac_compiler -v >&5"
14729 case "(($ac_try" in
14730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14731 *) ac_try_echo=$ac_try;;
14732 esac
14733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14734 (eval "$ac_compiler -v >&5") 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }
14738 { (ac_try="$ac_compiler -V >&5"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14742 esac
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compiler -V >&5") 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }
14748
14749 cat >conftest.$ac_ext <<_ACEOF
14750 /* confdefs.h. */
14751 _ACEOF
14752 cat confdefs.h >>conftest.$ac_ext
14753 cat >>conftest.$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14755
14756 int
14757 main ()
14758 {
14759
14760 ;
14761 return 0;
14762 }
14763 _ACEOF
14764 ac_clean_files_save=$ac_clean_files
14765 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14766 # Try to create an executable without -o first, disregard a.out.
14767 # It will help us diagnose broken compilers, and finding out an intuition
14768 # of exeext.
14769 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14770 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14771 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14772 #
14773 # List of possible output files, starting from the most likely.
14774 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14775 # only as a last resort. b.out is created by i960 compilers.
14776 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14777 #
14778 # The IRIX 6 linker writes into existing files which may not be
14779 # executable, retaining their permissions. Remove them first so a
14780 # subsequent execution test works.
14781 ac_rmfiles=
14782 for ac_file in $ac_files
14783 do
14784 case $ac_file in
14785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14786 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14787 esac
14788 done
14789 rm -f $ac_rmfiles
14790
14791 if { (ac_try="$ac_link_default"
14792 case "(($ac_try" in
14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14795 esac
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_link_default") 2>&5
14798 ac_status=$?
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; then
14801 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14802 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14803 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14804 # so that the user can short-circuit this test for compilers unknown to
14805 # Autoconf.
14806 for ac_file in $ac_files ''
14807 do
14808 test -f "$ac_file" || continue
14809 case $ac_file in
14810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14811 ;;
14812 [ab].out )
14813 # We found the default executable, but exeext='' is most
14814 # certainly right.
14815 break;;
14816 *.* )
14817 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14818 then :; else
14819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14820 fi
14821 # We set ac_cv_exeext here because the later test for it is not
14822 # safe: cross compilers may not add the suffix if given an `-o'
14823 # argument, so we may need to know it at that point already.
14824 # Even if this section looks crufty: it has the advantage of
14825 # actually working.
14826 break;;
14827 * )
14828 break;;
14829 esac
14830 done
14831 test "$ac_cv_exeext" = no && ac_cv_exeext=
14832
14833 else
14834 ac_file=''
14835 fi
14836
14837 { echo "$as_me:$LINENO: result: $ac_file" >&5
14838 echo "${ECHO_T}$ac_file" >&6; }
14839 if test -z "$ac_file"; then
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14842
14843 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14844 See \`config.log' for more details." >&5
14845 echo "$as_me: error: C compiler cannot create executables
14846 See \`config.log' for more details." >&2;}
14847 { (exit 77); exit 77; }; }
14848 fi
14849
14850 ac_exeext=$ac_cv_exeext
14851
14852 # Check that the compiler produces executables we can run. If not, either
14853 # the compiler is broken, or we cross compile.
14854 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14855 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14856 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14857 # If not cross compiling, check that we can run a simple program.
14858 if test "$cross_compiling" != yes; then
14859 if { ac_try='./$ac_file'
14860 { (case "(($ac_try" in
14861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14862 *) ac_try_echo=$ac_try;;
14863 esac
14864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14865 (eval "$ac_try") 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; }; then
14869 cross_compiling=no
14870 else
14871 if test "$cross_compiling" = maybe; then
14872 cross_compiling=yes
14873 else
14874 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14875 If you meant to cross compile, use \`--host'.
14876 See \`config.log' for more details." >&5
14877 echo "$as_me: error: cannot run C compiled programs.
14878 If you meant to cross compile, use \`--host'.
14879 See \`config.log' for more details." >&2;}
14880 { (exit 1); exit 1; }; }
14881 fi
14882 fi
14883 fi
14884 { echo "$as_me:$LINENO: result: yes" >&5
14885 echo "${ECHO_T}yes" >&6; }
14886
14887 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14888 ac_clean_files=$ac_clean_files_save
14889 # Check that the compiler produces executables we can run. If not, either
14890 # the compiler is broken, or we cross compile.
14891 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14892 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14893 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14894 echo "${ECHO_T}$cross_compiling" >&6; }
14895
14896 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14897 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14898 if { (ac_try="$ac_link"
14899 case "(($ac_try" in
14900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14902 esac
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_link") 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; then
14908 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14909 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14910 # work properly (i.e., refer to `conftest.exe'), while it won't with
14911 # `rm'.
14912 for ac_file in conftest.exe conftest conftest.*; do
14913 test -f "$ac_file" || continue
14914 case $ac_file in
14915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14916 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14917 break;;
14918 * ) break;;
14919 esac
14920 done
14921 else
14922 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14923 See \`config.log' for more details." >&5
14924 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14925 See \`config.log' for more details." >&2;}
14926 { (exit 1); exit 1; }; }
14927 fi
14928
14929 rm -f conftest$ac_cv_exeext
14930 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14931 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14932
14933 rm -f conftest.$ac_ext
14934 EXEEXT=$ac_cv_exeext
14935 ac_exeext=$EXEEXT
14936 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14937 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14938 if test "${ac_cv_objext+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 else
14941 cat >conftest.$ac_ext <<_ACEOF
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947
14948 int
14949 main ()
14950 {
14951
14952 ;
14953 return 0;
14954 }
14955 _ACEOF
14956 rm -f conftest.o conftest.obj
14957 if { (ac_try="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_compile") 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; then
14967 for ac_file in conftest.o conftest.obj conftest.*; do
14968 test -f "$ac_file" || continue;
14969 case $ac_file in
14970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14971 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14972 break;;
14973 esac
14974 done
14975 else
14976 echo "$as_me: failed program was:" >&5
14977 sed 's/^/| /' conftest.$ac_ext >&5
14978
14979 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14980 See \`config.log' for more details." >&5
14981 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14982 See \`config.log' for more details." >&2;}
14983 { (exit 1); exit 1; }; }
14984 fi
14985
14986 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14987 fi
14988 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14989 echo "${ECHO_T}$ac_cv_objext" >&6; }
14990 OBJEXT=$ac_cv_objext
14991 ac_objext=$OBJEXT
14992 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14993 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14994 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 cat >conftest.$ac_ext <<_ACEOF
14998 /* confdefs.h. */
14999 _ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003
15004 int
15005 main ()
15006 {
15007 #ifndef __GNUC__
15008 choke me
15009 #endif
15010
15011 ;
15012 return 0;
15013 }
15014 _ACEOF
15015 rm -f conftest.$ac_objext
15016 if { (ac_try="$ac_compile"
15017 case "(($ac_try" in
15018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 *) ac_try_echo=$ac_try;;
15020 esac
15021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15022 (eval "$ac_compile") 2>conftest.er1
15023 ac_status=$?
15024 grep -v '^ *+' conftest.er1 >conftest.err
15025 rm -f conftest.er1
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } && {
15029 test -z "$ac_c_werror_flag" ||
15030 test ! -s conftest.err
15031 } && test -s conftest.$ac_objext; then
15032 ac_compiler_gnu=yes
15033 else
15034 echo "$as_me: failed program was:" >&5
15035 sed 's/^/| /' conftest.$ac_ext >&5
15036
15037 ac_compiler_gnu=no
15038 fi
15039
15040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15041 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15042
15043 fi
15044 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15045 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15046 GCC=`test $ac_compiler_gnu = yes && echo yes`
15047 ac_test_CFLAGS=${CFLAGS+set}
15048 ac_save_CFLAGS=$CFLAGS
15049 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15050 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15051 if test "${ac_cv_prog_cc_g+set}" = set; then
15052 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 else
15054 ac_save_c_werror_flag=$ac_c_werror_flag
15055 ac_c_werror_flag=yes
15056 ac_cv_prog_cc_g=no
15057 CFLAGS="-g"
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064
15065 int
15066 main ()
15067 {
15068
15069 ;
15070 return 0;
15071 }
15072 _ACEOF
15073 rm -f conftest.$ac_objext
15074 if { (ac_try="$ac_compile"
15075 case "(($ac_try" in
15076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15077 *) ac_try_echo=$ac_try;;
15078 esac
15079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15080 (eval "$ac_compile") 2>conftest.er1
15081 ac_status=$?
15082 grep -v '^ *+' conftest.er1 >conftest.err
15083 rm -f conftest.er1
15084 cat conftest.err >&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } && {
15087 test -z "$ac_c_werror_flag" ||
15088 test ! -s conftest.err
15089 } && test -s conftest.$ac_objext; then
15090 ac_cv_prog_cc_g=yes
15091 else
15092 echo "$as_me: failed program was:" >&5
15093 sed 's/^/| /' conftest.$ac_ext >&5
15094
15095 CFLAGS=""
15096 cat >conftest.$ac_ext <<_ACEOF
15097 /* confdefs.h. */
15098 _ACEOF
15099 cat confdefs.h >>conftest.$ac_ext
15100 cat >>conftest.$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102
15103 int
15104 main ()
15105 {
15106
15107 ;
15108 return 0;
15109 }
15110 _ACEOF
15111 rm -f conftest.$ac_objext
15112 if { (ac_try="$ac_compile"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compile") 2>conftest.er1
15119 ac_status=$?
15120 grep -v '^ *+' conftest.er1 >conftest.err
15121 rm -f conftest.er1
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } && {
15125 test -z "$ac_c_werror_flag" ||
15126 test ! -s conftest.err
15127 } && test -s conftest.$ac_objext; then
15128 :
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15132
15133 ac_c_werror_flag=$ac_save_c_werror_flag
15134 CFLAGS="-g"
15135 cat >conftest.$ac_ext <<_ACEOF
15136 /* confdefs.h. */
15137 _ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15141
15142 int
15143 main ()
15144 {
15145
15146 ;
15147 return 0;
15148 }
15149 _ACEOF
15150 rm -f conftest.$ac_objext
15151 if { (ac_try="$ac_compile"
15152 case "(($ac_try" in
15153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154 *) ac_try_echo=$ac_try;;
15155 esac
15156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15157 (eval "$ac_compile") 2>conftest.er1
15158 ac_status=$?
15159 grep -v '^ *+' conftest.er1 >conftest.err
15160 rm -f conftest.er1
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } && {
15164 test -z "$ac_c_werror_flag" ||
15165 test ! -s conftest.err
15166 } && test -s conftest.$ac_objext; then
15167 ac_cv_prog_cc_g=yes
15168 else
15169 echo "$as_me: failed program was:" >&5
15170 sed 's/^/| /' conftest.$ac_ext >&5
15171
15172
15173 fi
15174
15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 fi
15177
15178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 fi
15180
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 ac_c_werror_flag=$ac_save_c_werror_flag
15183 fi
15184 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15185 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15186 if test "$ac_test_CFLAGS" = set; then
15187 CFLAGS=$ac_save_CFLAGS
15188 elif test $ac_cv_prog_cc_g = yes; then
15189 if test "$GCC" = yes; then
15190 CFLAGS="-g -O2"
15191 else
15192 CFLAGS="-g"
15193 fi
15194 else
15195 if test "$GCC" = yes; then
15196 CFLAGS="-O2"
15197 else
15198 CFLAGS=
15199 fi
15200 fi
15201 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15202 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15203 if test "${ac_cv_prog_cc_c89+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 else
15206 ac_cv_prog_cc_c89=no
15207 ac_save_CC=$CC
15208 cat >conftest.$ac_ext <<_ACEOF
15209 /* confdefs.h. */
15210 _ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214 #include <stdarg.h>
15215 #include <stdio.h>
15216 #include <sys/types.h>
15217 #include <sys/stat.h>
15218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15219 struct buf { int x; };
15220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15221 static char *e (p, i)
15222 char **p;
15223 int i;
15224 {
15225 return p[i];
15226 }
15227 static char *f (char * (*g) (char **, int), char **p, ...)
15228 {
15229 char *s;
15230 va_list v;
15231 va_start (v,p);
15232 s = g (p, va_arg (v,int));
15233 va_end (v);
15234 return s;
15235 }
15236
15237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15238 function prototypes and stuff, but not '\xHH' hex character constants.
15239 These don't provoke an error unfortunately, instead are silently treated
15240 as 'x'. The following induces an error, until -std is added to get
15241 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15242 array size at least. It's necessary to write '\x00'==0 to get something
15243 that's true only with -std. */
15244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15245
15246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15247 inside strings and character constants. */
15248 #define FOO(x) 'x'
15249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15250
15251 int test (int i, double x);
15252 struct s1 {int (*f) (int a);};
15253 struct s2 {int (*f) (double a);};
15254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15255 int argc;
15256 char **argv;
15257 int
15258 main ()
15259 {
15260 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15261 ;
15262 return 0;
15263 }
15264 _ACEOF
15265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15266 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15267 do
15268 CC="$ac_save_CC $ac_arg"
15269 rm -f conftest.$ac_objext
15270 if { (ac_try="$ac_compile"
15271 case "(($ac_try" in
15272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 *) ac_try_echo=$ac_try;;
15274 esac
15275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 (eval "$ac_compile") 2>conftest.er1
15277 ac_status=$?
15278 grep -v '^ *+' conftest.er1 >conftest.err
15279 rm -f conftest.er1
15280 cat conftest.err >&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } && {
15283 test -z "$ac_c_werror_flag" ||
15284 test ! -s conftest.err
15285 } && test -s conftest.$ac_objext; then
15286 ac_cv_prog_cc_c89=$ac_arg
15287 else
15288 echo "$as_me: failed program was:" >&5
15289 sed 's/^/| /' conftest.$ac_ext >&5
15290
15291
15292 fi
15293
15294 rm -f core conftest.err conftest.$ac_objext
15295 test "x$ac_cv_prog_cc_c89" != "xno" && break
15296 done
15297 rm -f conftest.$ac_ext
15298 CC=$ac_save_CC
15299
15300 fi
15301 # AC_CACHE_VAL
15302 case "x$ac_cv_prog_cc_c89" in
15303 x)
15304 { echo "$as_me:$LINENO: result: none needed" >&5
15305 echo "${ECHO_T}none needed" >&6; } ;;
15306 xno)
15307 { echo "$as_me:$LINENO: result: unsupported" >&5
15308 echo "${ECHO_T}unsupported" >&6; } ;;
15309 *)
15310 CC="$CC $ac_cv_prog_cc_c89"
15311 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15312 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15313 esac
15314
15315
15316 ac_ext=c
15317 ac_cpp='$CPP $CPPFLAGS'
15318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15321
15322
15323
15324
15325 ac_ext=c
15326 ac_cpp='$CPP $CPPFLAGS'
15327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15330
15331 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15332 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15333 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 else
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 #ifndef __INTEL_COMPILER
15348 choke me
15349 #endif
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (ac_try="$ac_compile"
15357 case "(($ac_try" in
15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15360 esac
15361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_compile") 2>conftest.er1
15363 ac_status=$?
15364 grep -v '^ *+' conftest.er1 >conftest.err
15365 rm -f conftest.er1
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } && {
15369 test -z "$ac_c_werror_flag" ||
15370 test ! -s conftest.err
15371 } && test -s conftest.$ac_objext; then
15372 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15373 else
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15376
15377 bakefile_cv_c_compiler___INTEL_COMPILER=no
15378
15379 fi
15380
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15382
15383
15384 fi
15385 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15386 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15387 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15388 :; INTELCC=yes
15389 else
15390 :;
15391 fi
15392 ac_ext=c
15393 ac_cpp='$CPP $CPPFLAGS'
15394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15397
15398
15399
15400
15401 if test "$INTELCC" = "yes"; then
15402
15403
15404 ac_ext=c
15405 ac_cpp='$CPP $CPPFLAGS'
15406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15409
15410 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15411 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15412 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 cat >conftest.$ac_ext <<_ACEOF
15416 /* confdefs.h. */
15417 _ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421
15422 int
15423 main ()
15424 {
15425
15426 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15427 choke me
15428 #endif
15429
15430 ;
15431 return 0;
15432 }
15433 _ACEOF
15434 rm -f conftest.$ac_objext
15435 if { (ac_try="$ac_compile"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439 esac
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_compile") 2>conftest.er1
15442 ac_status=$?
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && {
15448 test -z "$ac_c_werror_flag" ||
15449 test ! -s conftest.err
15450 } && test -s conftest.$ac_objext; then
15451 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15452 else
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15455
15456 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15457
15458 fi
15459
15460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15461
15462
15463 fi
15464 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15465 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15466 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15467 :; INTELCC8=yes
15468 else
15469 :;
15470 fi
15471 ac_ext=c
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15476
15477
15478
15479
15480
15481 ac_ext=c
15482 ac_cpp='$CPP $CPPFLAGS'
15483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15486
15487 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15488 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15489 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 cat >conftest.$ac_ext <<_ACEOF
15493 /* confdefs.h. */
15494 _ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15498
15499 int
15500 main ()
15501 {
15502
15503 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15504 choke me
15505 #endif
15506
15507 ;
15508 return 0;
15509 }
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (ac_try="$ac_compile"
15513 case "(($ac_try" in
15514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515 *) ac_try_echo=$ac_try;;
15516 esac
15517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_compile") 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } && {
15525 test -z "$ac_c_werror_flag" ||
15526 test ! -s conftest.err
15527 } && test -s conftest.$ac_objext; then
15528 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15529 else
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15532
15533 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15534
15535 fi
15536
15537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15538
15539
15540 fi
15541 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15542 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15543 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15544 :; INTELCC10=yes
15545 else
15546 :;
15547 fi
15548 ac_ext=c
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15553
15554
15555
15556 fi
15557
15558 if test "x$GCC" != "xyes"; then
15559 if test "xCC" = "xC"; then
15560 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15561 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15562 if test "${bakefile_cv_c_exto+set}" = set; then
15563 echo $ECHO_N "(cached) $ECHO_C" >&6
15564 else
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571
15572 int
15573 main ()
15574 {
15575
15576 ;
15577 return 0;
15578 }
15579 _ACEOF
15580 rm -f conftest.$ac_objext conftest.$ac_ext.o
15581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15582 (eval $ac_compile) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; then
15586 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15587 case $ac_file in
15588 conftest.$ac_ext.o)
15589 bakefile_cv_c_exto="-ext o"
15590 ;;
15591 *)
15592 ;;
15593 esac
15594 done
15595 else
15596 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15597 See \`config.log' for more details." >&5
15598 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15599 See \`config.log' for more details." >&2;}
15600 { (exit 1); exit 1; }; }
15601
15602 fi
15603
15604 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15605
15606 fi
15607 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15608 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15609 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15610 if test "c" = "c"; then
15611 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15612 fi
15613 if test "c" = "cxx"; then
15614 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15615 fi
15616 fi
15617
15618 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15619 unset ac_cv_prog_cc_g
15620 ac_test_CFLAGS=${CFLAGS+set}
15621 ac_save_CFLAGS=$CFLAGS
15622 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15623 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15624 if test "${ac_cv_prog_cc_g+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 else
15627 ac_save_c_werror_flag=$ac_c_werror_flag
15628 ac_c_werror_flag=yes
15629 ac_cv_prog_cc_g=no
15630 CFLAGS="-g"
15631 cat >conftest.$ac_ext <<_ACEOF
15632 /* confdefs.h. */
15633 _ACEOF
15634 cat confdefs.h >>conftest.$ac_ext
15635 cat >>conftest.$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15637
15638 int
15639 main ()
15640 {
15641
15642 ;
15643 return 0;
15644 }
15645 _ACEOF
15646 rm -f conftest.$ac_objext
15647 if { (ac_try="$ac_compile"
15648 case "(($ac_try" in
15649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15650 *) ac_try_echo=$ac_try;;
15651 esac
15652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15653 (eval "$ac_compile") 2>conftest.er1
15654 ac_status=$?
15655 grep -v '^ *+' conftest.er1 >conftest.err
15656 rm -f conftest.er1
15657 cat conftest.err >&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } && {
15660 test -z "$ac_c_werror_flag" ||
15661 test ! -s conftest.err
15662 } && test -s conftest.$ac_objext; then
15663 ac_cv_prog_cc_g=yes
15664 else
15665 echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15667
15668 CFLAGS=""
15669 cat >conftest.$ac_ext <<_ACEOF
15670 /* confdefs.h. */
15671 _ACEOF
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675
15676 int
15677 main ()
15678 {
15679
15680 ;
15681 return 0;
15682 }
15683 _ACEOF
15684 rm -f conftest.$ac_objext
15685 if { (ac_try="$ac_compile"
15686 case "(($ac_try" in
15687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15689 esac
15690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15691 (eval "$ac_compile") 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest.$ac_objext; then
15701 :
15702 else
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15705
15706 ac_c_werror_flag=$ac_save_c_werror_flag
15707 CFLAGS="-g"
15708 cat >conftest.$ac_ext <<_ACEOF
15709 /* confdefs.h. */
15710 _ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714
15715 int
15716 main ()
15717 {
15718
15719 ;
15720 return 0;
15721 }
15722 _ACEOF
15723 rm -f conftest.$ac_objext
15724 if { (ac_try="$ac_compile"
15725 case "(($ac_try" in
15726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15727 *) ac_try_echo=$ac_try;;
15728 esac
15729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730 (eval "$ac_compile") 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } && {
15737 test -z "$ac_c_werror_flag" ||
15738 test ! -s conftest.err
15739 } && test -s conftest.$ac_objext; then
15740 ac_cv_prog_cc_g=yes
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15744
15745
15746 fi
15747
15748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15749 fi
15750
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 fi
15753
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 ac_c_werror_flag=$ac_save_c_werror_flag
15756 fi
15757 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15758 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15759 if test "$ac_test_CFLAGS" = set; then
15760 CFLAGS=$ac_save_CFLAGS
15761 elif test $ac_cv_prog_cc_g = yes; then
15762 if test "$GCC" = yes; then
15763 CFLAGS="-g -O2"
15764 else
15765 CFLAGS="-g"
15766 fi
15767 else
15768 if test "$GCC" = yes; then
15769 CFLAGS="-O2"
15770 else
15771 CFLAGS=
15772 fi
15773 fi
15774 fi
15775 fi
15776
15777 case `uname -s` in
15778 AIX*)
15779
15780
15781 ac_ext=c
15782 ac_cpp='$CPP $CPPFLAGS'
15783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15786
15787 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15788 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15789 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15791 else
15792 cat >conftest.$ac_ext <<_ACEOF
15793 /* confdefs.h. */
15794 _ACEOF
15795 cat confdefs.h >>conftest.$ac_ext
15796 cat >>conftest.$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798
15799 int
15800 main ()
15801 {
15802
15803 #ifndef __xlC__
15804 choke me
15805 #endif
15806
15807 ;
15808 return 0;
15809 }
15810 _ACEOF
15811 rm -f conftest.$ac_objext
15812 if { (ac_try="$ac_compile"
15813 case "(($ac_try" in
15814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15815 *) ac_try_echo=$ac_try;;
15816 esac
15817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15818 (eval "$ac_compile") 2>conftest.er1
15819 ac_status=$?
15820 grep -v '^ *+' conftest.er1 >conftest.err
15821 rm -f conftest.er1
15822 cat conftest.err >&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); } && {
15825 test -z "$ac_c_werror_flag" ||
15826 test ! -s conftest.err
15827 } && test -s conftest.$ac_objext; then
15828 bakefile_cv_c_compiler___xlC__=yes
15829 else
15830 echo "$as_me: failed program was:" >&5
15831 sed 's/^/| /' conftest.$ac_ext >&5
15832
15833 bakefile_cv_c_compiler___xlC__=no
15834
15835 fi
15836
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15842 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15843 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15844 :; XLCC=yes
15845 else
15846 :;
15847 fi
15848 ac_ext=c
15849 ac_cpp='$CPP $CPPFLAGS'
15850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15853
15854
15855
15856 ;;
15857
15858 Darwin)
15859
15860
15861 ac_ext=c
15862 ac_cpp='$CPP $CPPFLAGS'
15863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15866
15867 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15868 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 else
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878
15879 int
15880 main ()
15881 {
15882
15883 #ifndef __MWERKS__
15884 choke me
15885 #endif
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest.$ac_objext
15892 if { (ac_try="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15896 esac
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15899 ac_status=$?
15900 grep -v '^ *+' conftest.er1 >conftest.err
15901 rm -f conftest.er1
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_c_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_c_compiler___MWERKS__=yes
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15912
15913 bakefile_cv_c_compiler___MWERKS__=no
15914
15915 fi
15916
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919
15920 fi
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15922 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15923 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15924 :; MWCC=yes
15925 else
15926 :;
15927 fi
15928 ac_ext=c
15929 ac_cpp='$CPP $CPPFLAGS'
15930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933
15934
15935
15936 if test "$MWCC" != "yes"; then
15937
15938
15939 ac_ext=c
15940 ac_cpp='$CPP $CPPFLAGS'
15941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15944
15945 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15946 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15947 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15949 else
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956
15957 int
15958 main ()
15959 {
15960
15961 #ifndef __xlC__
15962 choke me
15963 #endif
15964
15965 ;
15966 return 0;
15967 }
15968 _ACEOF
15969 rm -f conftest.$ac_objext
15970 if { (ac_try="$ac_compile"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_compile") 2>conftest.er1
15977 ac_status=$?
15978 grep -v '^ *+' conftest.er1 >conftest.err
15979 rm -f conftest.er1
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } && {
15983 test -z "$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15985 } && test -s conftest.$ac_objext; then
15986 bakefile_cv_c_compiler___xlC__=yes
15987 else
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15990
15991 bakefile_cv_c_compiler___xlC__=no
15992
15993 fi
15994
15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15996
15997
15998 fi
15999 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16000 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16001 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16002 :; XLCC=yes
16003 else
16004 :;
16005 fi
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012
16013
16014 fi
16015 ;;
16016
16017 IRIX*)
16018
16019
16020 ac_ext=c
16021 ac_cpp='$CPP $CPPFLAGS'
16022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16025
16026 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16027 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16028 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 else
16031 cat >conftest.$ac_ext <<_ACEOF
16032 /* confdefs.h. */
16033 _ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037
16038 int
16039 main ()
16040 {
16041
16042 #ifndef _SGI_COMPILER_VERSION
16043 choke me
16044 #endif
16045
16046 ;
16047 return 0;
16048 }
16049 _ACEOF
16050 rm -f conftest.$ac_objext
16051 if { (ac_try="$ac_compile"
16052 case "(($ac_try" in
16053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16054 *) ac_try_echo=$ac_try;;
16055 esac
16056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16057 (eval "$ac_compile") 2>conftest.er1
16058 ac_status=$?
16059 grep -v '^ *+' conftest.er1 >conftest.err
16060 rm -f conftest.er1
16061 cat conftest.err >&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); } && {
16064 test -z "$ac_c_werror_flag" ||
16065 test ! -s conftest.err
16066 } && test -s conftest.$ac_objext; then
16067 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16071
16072 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16073
16074 fi
16075
16076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077
16078
16079 fi
16080 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16081 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16082 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16083 :; SGICC=yes
16084 else
16085 :;
16086 fi
16087 ac_ext=c
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092
16093
16094
16095 ;;
16096
16097 Linux*)
16098 if test "$INTELCC" != "yes"; then
16099
16100
16101 ac_ext=c
16102 ac_cpp='$CPP $CPPFLAGS'
16103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16106
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118
16119 int
16120 main ()
16121 {
16122
16123 #ifndef __SUNPRO_C
16124 choke me
16125 #endif
16126
16127 ;
16128 return 0;
16129 }
16130 _ACEOF
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16136 esac
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16139 ac_status=$?
16140 grep -v '^ *+' conftest.er1 >conftest.err
16141 rm -f conftest.er1
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_c_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.$ac_objext; then
16148 bakefile_cv_c_compiler___SUNPRO_C=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 bakefile_cv_c_compiler___SUNPRO_C=no
16154
16155 fi
16156
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16158
16159
16160 fi
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16162 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16163 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16164 :; SUNCC=yes
16165 else
16166 :;
16167 fi
16168 ac_ext=c
16169 ac_cpp='$CPP $CPPFLAGS'
16170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16173
16174
16175
16176 fi
16177 ;;
16178
16179 HP-UX*)
16180
16181
16182 ac_ext=c
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187
16188 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16189 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16190 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199
16200 int
16201 main ()
16202 {
16203
16204 #ifndef __HP_cc
16205 choke me
16206 #endif
16207
16208 ;
16209 return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (ac_try="$ac_compile"
16214 case "(($ac_try" in
16215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16216 *) ac_try_echo=$ac_try;;
16217 esac
16218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16220 ac_status=$?
16221 grep -v '^ *+' conftest.er1 >conftest.err
16222 rm -f conftest.er1
16223 cat conftest.err >&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.$ac_objext; then
16229 bakefile_cv_c_compiler___HP_cc=yes
16230 else
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16233
16234 bakefile_cv_c_compiler___HP_cc=no
16235
16236 fi
16237
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239
16240
16241 fi
16242 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16243 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16244 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16245 :; HPCC=yes
16246 else
16247 :;
16248 fi
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16254
16255
16256
16257 ;;
16258
16259 OSF1)
16260
16261
16262 ac_ext=c
16263 ac_cpp='$CPP $CPPFLAGS'
16264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16267
16268 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16269 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16270 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16272 else
16273 cat >conftest.$ac_ext <<_ACEOF
16274 /* confdefs.h. */
16275 _ACEOF
16276 cat confdefs.h >>conftest.$ac_ext
16277 cat >>conftest.$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16279
16280 int
16281 main ()
16282 {
16283
16284 #ifndef __DECC
16285 choke me
16286 #endif
16287
16288 ;
16289 return 0;
16290 }
16291 _ACEOF
16292 rm -f conftest.$ac_objext
16293 if { (ac_try="$ac_compile"
16294 case "(($ac_try" in
16295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16296 *) ac_try_echo=$ac_try;;
16297 esac
16298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16299 (eval "$ac_compile") 2>conftest.er1
16300 ac_status=$?
16301 grep -v '^ *+' conftest.er1 >conftest.err
16302 rm -f conftest.er1
16303 cat conftest.err >&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); } && {
16306 test -z "$ac_c_werror_flag" ||
16307 test ! -s conftest.err
16308 } && test -s conftest.$ac_objext; then
16309 bakefile_cv_c_compiler___DECC=yes
16310 else
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16313
16314 bakefile_cv_c_compiler___DECC=no
16315
16316 fi
16317
16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16319
16320
16321 fi
16322 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16323 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16324 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16325 :; COMPAQCC=yes
16326 else
16327 :;
16328 fi
16329 ac_ext=c
16330 ac_cpp='$CPP $CPPFLAGS'
16331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16334
16335
16336
16337 ;;
16338
16339 SunOS)
16340
16341
16342 ac_ext=c
16343 ac_cpp='$CPP $CPPFLAGS'
16344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16347
16348 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16349 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16350 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 else
16353 cat >conftest.$ac_ext <<_ACEOF
16354 /* confdefs.h. */
16355 _ACEOF
16356 cat confdefs.h >>conftest.$ac_ext
16357 cat >>conftest.$ac_ext <<_ACEOF
16358 /* end confdefs.h. */
16359
16360 int
16361 main ()
16362 {
16363
16364 #ifndef __SUNPRO_C
16365 choke me
16366 #endif
16367
16368 ;
16369 return 0;
16370 }
16371 _ACEOF
16372 rm -f conftest.$ac_objext
16373 if { (ac_try="$ac_compile"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16377 esac
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_compile") 2>conftest.er1
16380 ac_status=$?
16381 grep -v '^ *+' conftest.er1 >conftest.err
16382 rm -f conftest.er1
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err
16388 } && test -s conftest.$ac_objext; then
16389 bakefile_cv_c_compiler___SUNPRO_C=yes
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16393
16394 bakefile_cv_c_compiler___SUNPRO_C=no
16395
16396 fi
16397
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16399
16400
16401 fi
16402 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16403 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16404 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16405 :; SUNCC=yes
16406 else
16407 :;
16408 fi
16409 ac_ext=c
16410 ac_cpp='$CPP $CPPFLAGS'
16411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16414
16415
16416
16417 ;;
16418 esac
16419 fi
16420
16421
16422
16423 ac_ext=c
16424 ac_cpp='$CPP $CPPFLAGS'
16425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16428 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16429 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16430 # On Suns, sometimes $CPP names a directory.
16431 if test -n "$CPP" && test -d "$CPP"; then
16432 CPP=
16433 fi
16434 if test -z "$CPP"; then
16435 if test "${ac_cv_prog_CPP+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 # Double quotes because CPP needs to be expanded
16439 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16440 do
16441 ac_preproc_ok=false
16442 for ac_c_preproc_warn_flag in '' yes
16443 do
16444 # Use a header file that comes with gcc, so configuring glibc
16445 # with a fresh cross-compiler works.
16446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16447 # <limits.h> exists even on freestanding compilers.
16448 # On the NeXT, cc -E runs the code through the compiler's parser,
16449 # not just through cpp. "Syntax error" is here to catch this case.
16450 cat >conftest.$ac_ext <<_ACEOF
16451 /* confdefs.h. */
16452 _ACEOF
16453 cat confdefs.h >>conftest.$ac_ext
16454 cat >>conftest.$ac_ext <<_ACEOF
16455 /* end confdefs.h. */
16456 #ifdef __STDC__
16457 # include <limits.h>
16458 #else
16459 # include <assert.h>
16460 #endif
16461 Syntax error
16462 _ACEOF
16463 if { (ac_try="$ac_cpp conftest.$ac_ext"
16464 case "(($ac_try" in
16465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16467 esac
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16470 ac_status=$?
16471 grep -v '^ *+' conftest.er1 >conftest.err
16472 rm -f conftest.er1
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } >/dev/null && {
16476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16477 test ! -s conftest.err
16478 }; then
16479 :
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16483
16484 # Broken: fails on valid input.
16485 continue
16486 fi
16487
16488 rm -f conftest.err conftest.$ac_ext
16489
16490 # OK, works on sane cases. Now check whether nonexistent headers
16491 # can be detected and how.
16492 cat >conftest.$ac_ext <<_ACEOF
16493 /* confdefs.h. */
16494 _ACEOF
16495 cat confdefs.h >>conftest.$ac_ext
16496 cat >>conftest.$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16498 #include <ac_nonexistent.h>
16499 _ACEOF
16500 if { (ac_try="$ac_cpp conftest.$ac_ext"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } >/dev/null && {
16513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 }; then
16516 # Broken: success on invalid input.
16517 continue
16518 else
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.$ac_ext >&5
16521
16522 # Passes both tests.
16523 ac_preproc_ok=:
16524 break
16525 fi
16526
16527 rm -f conftest.err conftest.$ac_ext
16528
16529 done
16530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16531 rm -f conftest.err conftest.$ac_ext
16532 if $ac_preproc_ok; then
16533 break
16534 fi
16535
16536 done
16537 ac_cv_prog_CPP=$CPP
16538
16539 fi
16540 CPP=$ac_cv_prog_CPP
16541 else
16542 ac_cv_prog_CPP=$CPP
16543 fi
16544 { echo "$as_me:$LINENO: result: $CPP" >&5
16545 echo "${ECHO_T}$CPP" >&6; }
16546 ac_preproc_ok=false
16547 for ac_c_preproc_warn_flag in '' yes
16548 do
16549 # Use a header file that comes with gcc, so configuring glibc
16550 # with a fresh cross-compiler works.
16551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16552 # <limits.h> exists even on freestanding compilers.
16553 # On the NeXT, cc -E runs the code through the compiler's parser,
16554 # not just through cpp. "Syntax error" is here to catch this case.
16555 cat >conftest.$ac_ext <<_ACEOF
16556 /* confdefs.h. */
16557 _ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16561 #ifdef __STDC__
16562 # include <limits.h>
16563 #else
16564 # include <assert.h>
16565 #endif
16566 Syntax error
16567 _ACEOF
16568 if { (ac_try="$ac_cpp conftest.$ac_ext"
16569 case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16575 ac_status=$?
16576 grep -v '^ *+' conftest.er1 >conftest.err
16577 rm -f conftest.er1
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } >/dev/null && {
16581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 }; then
16584 :
16585 else
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.$ac_ext >&5
16588
16589 # Broken: fails on valid input.
16590 continue
16591 fi
16592
16593 rm -f conftest.err conftest.$ac_ext
16594
16595 # OK, works on sane cases. Now check whether nonexistent headers
16596 # can be detected and how.
16597 cat >conftest.$ac_ext <<_ACEOF
16598 /* confdefs.h. */
16599 _ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 #include <ac_nonexistent.h>
16604 _ACEOF
16605 if { (ac_try="$ac_cpp conftest.$ac_ext"
16606 case "(($ac_try" in
16607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16608 *) ac_try_echo=$ac_try;;
16609 esac
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16612 ac_status=$?
16613 grep -v '^ *+' conftest.er1 >conftest.err
16614 rm -f conftest.er1
16615 cat conftest.err >&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); } >/dev/null && {
16618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16619 test ! -s conftest.err
16620 }; then
16621 # Broken: success on invalid input.
16622 continue
16623 else
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.$ac_ext >&5
16626
16627 # Passes both tests.
16628 ac_preproc_ok=:
16629 break
16630 fi
16631
16632 rm -f conftest.err conftest.$ac_ext
16633
16634 done
16635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16636 rm -f conftest.err conftest.$ac_ext
16637 if $ac_preproc_ok; then
16638 :
16639 else
16640 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16641 See \`config.log' for more details." >&5
16642 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16643 See \`config.log' for more details." >&2;}
16644 { (exit 1); exit 1; }; }
16645 fi
16646
16647 ac_ext=c
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16652
16653
16654 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16655 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16656 if test "${ac_cv_path_GREP+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659 # Extract the first word of "grep ggrep" to use in msg output
16660 if test -z "$GREP"; then
16661 set dummy grep ggrep; ac_prog_name=$2
16662 if test "${ac_cv_path_GREP+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 else
16665 ac_path_GREP_found=false
16666 # Loop through the user's path and test for each of PROGNAME-LIST
16667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16668 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16669 do
16670 IFS=$as_save_IFS
16671 test -z "$as_dir" && as_dir=.
16672 for ac_prog in grep ggrep; do
16673 for ac_exec_ext in '' $ac_executable_extensions; do
16674 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16675 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16676 # Check for GNU ac_path_GREP and select it if it is found.
16677 # Check for GNU $ac_path_GREP
16678 case `"$ac_path_GREP" --version 2>&1` in
16679 *GNU*)
16680 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16681 *)
16682 ac_count=0
16683 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16684 while :
16685 do
16686 cat "conftest.in" "conftest.in" >"conftest.tmp"
16687 mv "conftest.tmp" "conftest.in"
16688 cp "conftest.in" "conftest.nl"
16689 echo 'GREP' >> "conftest.nl"
16690 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16691 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16692 ac_count=`expr $ac_count + 1`
16693 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16694 # Best one so far, save it but keep looking for a better one
16695 ac_cv_path_GREP="$ac_path_GREP"
16696 ac_path_GREP_max=$ac_count
16697 fi
16698 # 10*(2^10) chars as input seems more than enough
16699 test $ac_count -gt 10 && break
16700 done
16701 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16702 esac
16703
16704
16705 $ac_path_GREP_found && break 3
16706 done
16707 done
16708
16709 done
16710 IFS=$as_save_IFS
16711
16712
16713 fi
16714
16715 GREP="$ac_cv_path_GREP"
16716 if test -z "$GREP"; then
16717 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16718 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16719 { (exit 1); exit 1; }; }
16720 fi
16721
16722 else
16723 ac_cv_path_GREP=$GREP
16724 fi
16725
16726
16727 fi
16728 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16729 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16730 GREP="$ac_cv_path_GREP"
16731
16732
16733 { echo "$as_me:$LINENO: checking for egrep" >&5
16734 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16735 if test "${ac_cv_path_EGREP+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16739 then ac_cv_path_EGREP="$GREP -E"
16740 else
16741 # Extract the first word of "egrep" to use in msg output
16742 if test -z "$EGREP"; then
16743 set dummy egrep; ac_prog_name=$2
16744 if test "${ac_cv_path_EGREP+set}" = set; then
16745 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 else
16747 ac_path_EGREP_found=false
16748 # Loop through the user's path and test for each of PROGNAME-LIST
16749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16751 do
16752 IFS=$as_save_IFS
16753 test -z "$as_dir" && as_dir=.
16754 for ac_prog in egrep; do
16755 for ac_exec_ext in '' $ac_executable_extensions; do
16756 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16757 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16758 # Check for GNU ac_path_EGREP and select it if it is found.
16759 # Check for GNU $ac_path_EGREP
16760 case `"$ac_path_EGREP" --version 2>&1` in
16761 *GNU*)
16762 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16763 *)
16764 ac_count=0
16765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16766 while :
16767 do
16768 cat "conftest.in" "conftest.in" >"conftest.tmp"
16769 mv "conftest.tmp" "conftest.in"
16770 cp "conftest.in" "conftest.nl"
16771 echo 'EGREP' >> "conftest.nl"
16772 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16774 ac_count=`expr $ac_count + 1`
16775 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16776 # Best one so far, save it but keep looking for a better one
16777 ac_cv_path_EGREP="$ac_path_EGREP"
16778 ac_path_EGREP_max=$ac_count
16779 fi
16780 # 10*(2^10) chars as input seems more than enough
16781 test $ac_count -gt 10 && break
16782 done
16783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16784 esac
16785
16786
16787 $ac_path_EGREP_found && break 3
16788 done
16789 done
16790
16791 done
16792 IFS=$as_save_IFS
16793
16794
16795 fi
16796
16797 EGREP="$ac_cv_path_EGREP"
16798 if test -z "$EGREP"; then
16799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16800 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16801 { (exit 1); exit 1; }; }
16802 fi
16803
16804 else
16805 ac_cv_path_EGREP=$EGREP
16806 fi
16807
16808
16809 fi
16810 fi
16811 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16812 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16813 EGREP="$ac_cv_path_EGREP"
16814
16815
16816 if test $ac_cv_c_compiler_gnu = yes; then
16817 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16818 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16819 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 else
16822 ac_pattern="Autoconf.*'x'"
16823 cat >conftest.$ac_ext <<_ACEOF
16824 /* confdefs.h. */
16825 _ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #include <sgtty.h>
16830 Autoconf TIOCGETP
16831 _ACEOF
16832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16833 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16834 ac_cv_prog_gcc_traditional=yes
16835 else
16836 ac_cv_prog_gcc_traditional=no
16837 fi
16838 rm -f conftest*
16839
16840
16841 if test $ac_cv_prog_gcc_traditional = no; then
16842 cat >conftest.$ac_ext <<_ACEOF
16843 /* confdefs.h. */
16844 _ACEOF
16845 cat confdefs.h >>conftest.$ac_ext
16846 cat >>conftest.$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 #include <termio.h>
16849 Autoconf TCGETA
16850 _ACEOF
16851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16852 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16853 ac_cv_prog_gcc_traditional=yes
16854 fi
16855 rm -f conftest*
16856
16857 fi
16858 fi
16859 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16860 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16861 if test $ac_cv_prog_gcc_traditional = yes; then
16862 CC="$CC -traditional"
16863 fi
16864 fi
16865
16866
16867 CXXFLAGS=${CXXFLAGS:=}
16868
16869
16870
16871 ac_ext=cpp
16872 ac_cpp='$CXXCPP $CPPFLAGS'
16873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16876 if test -z "$CXX"; then
16877 if test -n "$CCC"; then
16878 CXX=$CCC
16879 else
16880 if test -n "$ac_tool_prefix"; then
16881 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16882 do
16883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16887 if test "${ac_cv_prog_CXX+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 if test -n "$CXX"; then
16891 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16892 else
16893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16894 for as_dir in $PATH
16895 do
16896 IFS=$as_save_IFS
16897 test -z "$as_dir" && as_dir=.
16898 for ac_exec_ext in '' $ac_executable_extensions; do
16899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16900 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16902 break 2
16903 fi
16904 done
16905 done
16906 IFS=$as_save_IFS
16907
16908 fi
16909 fi
16910 CXX=$ac_cv_prog_CXX
16911 if test -n "$CXX"; then
16912 { echo "$as_me:$LINENO: result: $CXX" >&5
16913 echo "${ECHO_T}$CXX" >&6; }
16914 else
16915 { echo "$as_me:$LINENO: result: no" >&5
16916 echo "${ECHO_T}no" >&6; }
16917 fi
16918
16919
16920 test -n "$CXX" && break
16921 done
16922 fi
16923 if test -z "$CXX"; then
16924 ac_ct_CXX=$CXX
16925 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16926 do
16927 # Extract the first word of "$ac_prog", so it can be a program name with args.
16928 set dummy $ac_prog; ac_word=$2
16929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16931 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 else
16934 if test -n "$ac_ct_CXX"; then
16935 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16936 else
16937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16938 for as_dir in $PATH
16939 do
16940 IFS=$as_save_IFS
16941 test -z "$as_dir" && as_dir=.
16942 for ac_exec_ext in '' $ac_executable_extensions; do
16943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16944 ac_cv_prog_ac_ct_CXX="$ac_prog"
16945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16946 break 2
16947 fi
16948 done
16949 done
16950 IFS=$as_save_IFS
16951
16952 fi
16953 fi
16954 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16955 if test -n "$ac_ct_CXX"; then
16956 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16957 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16958 else
16959 { echo "$as_me:$LINENO: result: no" >&5
16960 echo "${ECHO_T}no" >&6; }
16961 fi
16962
16963
16964 test -n "$ac_ct_CXX" && break
16965 done
16966
16967 if test "x$ac_ct_CXX" = x; then
16968 CXX="g++"
16969 else
16970 case $cross_compiling:$ac_tool_warned in
16971 yes:)
16972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16973 whose name does not start with the host triplet. If you think this
16974 configuration is useful to you, please write to autoconf@gnu.org." >&5
16975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16976 whose name does not start with the host triplet. If you think this
16977 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16978 ac_tool_warned=yes ;;
16979 esac
16980 CXX=$ac_ct_CXX
16981 fi
16982 fi
16983
16984 fi
16985 fi
16986 # Provide some information about the compiler.
16987 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16988 ac_compiler=`set X $ac_compile; echo $2`
16989 { (ac_try="$ac_compiler --version >&5"
16990 case "(($ac_try" in
16991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16993 esac
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compiler --version >&5") 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }
16999 { (ac_try="$ac_compiler -v >&5"
17000 case "(($ac_try" in
17001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17002 *) ac_try_echo=$ac_try;;
17003 esac
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_compiler -v >&5") 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }
17009 { (ac_try="$ac_compiler -V >&5"
17010 case "(($ac_try" in
17011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17013 esac
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compiler -V >&5") 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }
17019
17020 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17021 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17022 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 else
17025 cat >conftest.$ac_ext <<_ACEOF
17026 /* confdefs.h. */
17027 _ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17031
17032 int
17033 main ()
17034 {
17035 #ifndef __GNUC__
17036 choke me
17037 #endif
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17047 *) ac_try_echo=$ac_try;;
17048 esac
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.$ac_objext; then
17060 ac_compiler_gnu=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 ac_compiler_gnu=no
17066 fi
17067
17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17069 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17070
17071 fi
17072 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17073 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17074 GXX=`test $ac_compiler_gnu = yes && echo yes`
17075 ac_test_CXXFLAGS=${CXXFLAGS+set}
17076 ac_save_CXXFLAGS=$CXXFLAGS
17077 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17078 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17079 if test "${ac_cv_prog_cxx_g+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17081 else
17082 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17083 ac_cxx_werror_flag=yes
17084 ac_cv_prog_cxx_g=no
17085 CXXFLAGS="-g"
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092
17093 int
17094 main ()
17095 {
17096
17097 ;
17098 return 0;
17099 }
17100 _ACEOF
17101 rm -f conftest.$ac_objext
17102 if { (ac_try="$ac_compile"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17106 esac
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_compile") 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && {
17115 test -z "$ac_cxx_werror_flag" ||
17116 test ! -s conftest.err
17117 } && test -s conftest.$ac_objext; then
17118 ac_cv_prog_cxx_g=yes
17119 else
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17122
17123 CXXFLAGS=""
17124 cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h. */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130
17131 int
17132 main ()
17133 {
17134
17135 ;
17136 return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17144 esac
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_cxx_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 :
17157 else
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17160
17161 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17162 CXXFLAGS="-g"
17163 cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h. */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h. */
17169
17170 int
17171 main ()
17172 {
17173
17174 ;
17175 return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (ac_try="$ac_compile"
17180 case "(($ac_try" in
17181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17182 *) ac_try_echo=$ac_try;;
17183 esac
17184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 (eval "$ac_compile") 2>conftest.er1
17186 ac_status=$?
17187 grep -v '^ *+' conftest.er1 >conftest.err
17188 rm -f conftest.er1
17189 cat conftest.err >&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } && {
17192 test -z "$ac_cxx_werror_flag" ||
17193 test ! -s conftest.err
17194 } && test -s conftest.$ac_objext; then
17195 ac_cv_prog_cxx_g=yes
17196 else
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17199
17200
17201 fi
17202
17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 fi
17205
17206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17207 fi
17208
17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17210 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17211 fi
17212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17213 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17214 if test "$ac_test_CXXFLAGS" = set; then
17215 CXXFLAGS=$ac_save_CXXFLAGS
17216 elif test $ac_cv_prog_cxx_g = yes; then
17217 if test "$GXX" = yes; then
17218 CXXFLAGS="-g -O2"
17219 else
17220 CXXFLAGS="-g"
17221 fi
17222 else
17223 if test "$GXX" = yes; then
17224 CXXFLAGS="-O2"
17225 else
17226 CXXFLAGS=
17227 fi
17228 fi
17229 ac_ext=c
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17234
17235
17236
17237
17238 ac_ext=cpp
17239 ac_cpp='$CXXCPP $CPPFLAGS'
17240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17243
17244 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17245 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17246 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 else
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255
17256 int
17257 main ()
17258 {
17259
17260 #ifndef __INTEL_COMPILER
17261 choke me
17262 #endif
17263
17264 ;
17265 return 0;
17266 }
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17272 *) ac_try_echo=$ac_try;;
17273 esac
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_compile") 2>conftest.er1
17276 ac_status=$?
17277 grep -v '^ *+' conftest.er1 >conftest.err
17278 rm -f conftest.er1
17279 cat conftest.err >&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } && {
17282 test -z "$ac_cxx_werror_flag" ||
17283 test ! -s conftest.err
17284 } && test -s conftest.$ac_objext; then
17285 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17286 else
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17289
17290 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17291
17292 fi
17293
17294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17295
17296
17297 fi
17298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17300 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17301 :; INTELCXX=yes
17302 else
17303 :;
17304 fi
17305 ac_ext=c
17306 ac_cpp='$CPP $CPPFLAGS'
17307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17310
17311
17312
17313
17314 if test "$INTELCXX" = "yes"; then
17315
17316
17317 ac_ext=cpp
17318 ac_cpp='$CXXCPP $CPPFLAGS'
17319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17322
17323 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17324 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17325 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17326 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 else
17328 cat >conftest.$ac_ext <<_ACEOF
17329 /* confdefs.h. */
17330 _ACEOF
17331 cat confdefs.h >>conftest.$ac_ext
17332 cat >>conftest.$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334
17335 int
17336 main ()
17337 {
17338
17339 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17340 choke me
17341 #endif
17342
17343 ;
17344 return 0;
17345 }
17346 _ACEOF
17347 rm -f conftest.$ac_objext
17348 if { (ac_try="$ac_compile"
17349 case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17352 esac
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_compile") 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } && {
17361 test -z "$ac_cxx_werror_flag" ||
17362 test ! -s conftest.err
17363 } && test -s conftest.$ac_objext; then
17364 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17365 else
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17368
17369 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17370
17371 fi
17372
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17374
17375
17376 fi
17377 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17378 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17379 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17380 :; INTELCXX8=yes
17381 else
17382 :;
17383 fi
17384 ac_ext=c
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17389
17390
17391
17392
17393
17394 ac_ext=cpp
17395 ac_cpp='$CXXCPP $CPPFLAGS'
17396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17399
17400 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17401 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17402 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17405 cat >conftest.$ac_ext <<_ACEOF
17406 /* confdefs.h. */
17407 _ACEOF
17408 cat confdefs.h >>conftest.$ac_ext
17409 cat >>conftest.$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411
17412 int
17413 main ()
17414 {
17415
17416 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17417 choke me
17418 #endif
17419
17420 ;
17421 return 0;
17422 }
17423 _ACEOF
17424 rm -f conftest.$ac_objext
17425 if { (ac_try="$ac_compile"
17426 case "(($ac_try" in
17427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17428 *) ac_try_echo=$ac_try;;
17429 esac
17430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17431 (eval "$ac_compile") 2>conftest.er1
17432 ac_status=$?
17433 grep -v '^ *+' conftest.er1 >conftest.err
17434 rm -f conftest.er1
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } && {
17438 test -z "$ac_cxx_werror_flag" ||
17439 test ! -s conftest.err
17440 } && test -s conftest.$ac_objext; then
17441 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17447
17448 fi
17449
17450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17451
17452
17453 fi
17454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17456 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17457 :; INTELCXX10=yes
17458 else
17459 :;
17460 fi
17461 ac_ext=c
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17466
17467
17468
17469 fi
17470
17471 if test "x$GCXX" != "xyes"; then
17472 if test "xCXX" = "xC"; then
17473 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17474 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17475 if test "${bakefile_cv_c_exto+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484
17485 int
17486 main ()
17487 {
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 rm -f conftest.$ac_objext conftest.$ac_ext.o
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; then
17499 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17500 case $ac_file in
17501 conftest.$ac_ext.o)
17502 bakefile_cv_c_exto="-ext o"
17503 ;;
17504 *)
17505 ;;
17506 esac
17507 done
17508 else
17509 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17510 See \`config.log' for more details." >&5
17511 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17512 See \`config.log' for more details." >&2;}
17513 { (exit 1); exit 1; }; }
17514
17515 fi
17516
17517 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17518
17519 fi
17520 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17521 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17522 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17523 if test "c" = "c"; then
17524 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17525 fi
17526 if test "c" = "cxx"; then
17527 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17528 fi
17529 fi
17530
17531 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17532 unset ac_cv_prog_cc_g
17533 ac_test_CFLAGS=${CFLAGS+set}
17534 ac_save_CFLAGS=$CFLAGS
17535 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17536 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17537 if test "${ac_cv_prog_cc_g+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 ac_save_c_werror_flag=$ac_c_werror_flag
17541 ac_c_werror_flag=yes
17542 ac_cv_prog_cc_g=no
17543 CFLAGS="-g"
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550
17551 int
17552 main ()
17553 {
17554
17555 ;
17556 return 0;
17557 }
17558 _ACEOF
17559 rm -f conftest.$ac_objext
17560 if { (ac_try="$ac_compile"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17564 esac
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_compile") 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest.$ac_objext; then
17576 ac_cv_prog_cc_g=yes
17577 else
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17580
17581 CFLAGS=""
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588
17589 int
17590 main ()
17591 {
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (ac_try="$ac_compile"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_compile") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest.$ac_objext; then
17614 :
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 ac_c_werror_flag=$ac_save_c_werror_flag
17620 CFLAGS="-g"
17621 cat >conftest.$ac_ext <<_ACEOF
17622 /* confdefs.h. */
17623 _ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627
17628 int
17629 main ()
17630 {
17631
17632 ;
17633 return 0;
17634 }
17635 _ACEOF
17636 rm -f conftest.$ac_objext
17637 if { (ac_try="$ac_compile"
17638 case "(($ac_try" in
17639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17640 *) ac_try_echo=$ac_try;;
17641 esac
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_compile") 2>conftest.er1
17644 ac_status=$?
17645 grep -v '^ *+' conftest.er1 >conftest.err
17646 rm -f conftest.er1
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } && {
17650 test -z "$ac_c_werror_flag" ||
17651 test ! -s conftest.err
17652 } && test -s conftest.$ac_objext; then
17653 ac_cv_prog_cc_g=yes
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17657
17658
17659 fi
17660
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 fi
17663
17664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665 fi
17666
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 ac_c_werror_flag=$ac_save_c_werror_flag
17669 fi
17670 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17671 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17672 if test "$ac_test_CFLAGS" = set; then
17673 CFLAGS=$ac_save_CFLAGS
17674 elif test $ac_cv_prog_cc_g = yes; then
17675 if test "$GCC" = yes; then
17676 CFLAGS="-g -O2"
17677 else
17678 CFLAGS="-g"
17679 fi
17680 else
17681 if test "$GCC" = yes; then
17682 CFLAGS="-O2"
17683 else
17684 CFLAGS=
17685 fi
17686 fi
17687 fi
17688 fi
17689
17690 case `uname -s` in
17691 AIX*)
17692
17693
17694 ac_ext=cpp
17695 ac_cpp='$CXXCPP $CPPFLAGS'
17696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17699
17700 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17701 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17702 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 else
17705 cat >conftest.$ac_ext <<_ACEOF
17706 /* confdefs.h. */
17707 _ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711
17712 int
17713 main ()
17714 {
17715
17716 #ifndef __xlC__
17717 choke me
17718 #endif
17719
17720 ;
17721 return 0;
17722 }
17723 _ACEOF
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17729 esac
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } && {
17738 test -z "$ac_cxx_werror_flag" ||
17739 test ! -s conftest.err
17740 } && test -s conftest.$ac_objext; then
17741 bakefile_cv_cxx_compiler___xlC__=yes
17742 else
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17745
17746 bakefile_cv_cxx_compiler___xlC__=no
17747
17748 fi
17749
17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17751
17752
17753 fi
17754 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17756 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17757 :; XLCXX=yes
17758 else
17759 :;
17760 fi
17761 ac_ext=c
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17766
17767
17768
17769 ;;
17770
17771 Darwin)
17772
17773
17774 ac_ext=cpp
17775 ac_cpp='$CXXCPP $CPPFLAGS'
17776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17779
17780 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17781 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17782 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791
17792 int
17793 main ()
17794 {
17795
17796 #ifndef __MWERKS__
17797 choke me
17798 #endif
17799
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17809 esac
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_cxx_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 bakefile_cv_cxx_compiler___MWERKS__=yes
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 bakefile_cv_cxx_compiler___MWERKS__=no
17827
17828 fi
17829
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831
17832
17833 fi
17834 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17835 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17836 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17837 :; MWCXX=yes
17838 else
17839 :;
17840 fi
17841 ac_ext=c
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17846
17847
17848
17849 if test "$MWCXX" != "yes"; then
17850
17851
17852 ac_ext=cpp
17853 ac_cpp='$CXXCPP $CPPFLAGS'
17854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17857
17858 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17859 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17860 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 else
17863 cat >conftest.$ac_ext <<_ACEOF
17864 /* confdefs.h. */
17865 _ACEOF
17866 cat confdefs.h >>conftest.$ac_ext
17867 cat >>conftest.$ac_ext <<_ACEOF
17868 /* end confdefs.h. */
17869
17870 int
17871 main ()
17872 {
17873
17874 #ifndef __xlC__
17875 choke me
17876 #endif
17877
17878 ;
17879 return 0;
17880 }
17881 _ACEOF
17882 rm -f conftest.$ac_objext
17883 if { (ac_try="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17886 *) ac_try_echo=$ac_try;;
17887 esac
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17890 ac_status=$?
17891 grep -v '^ *+' conftest.er1 >conftest.err
17892 rm -f conftest.er1
17893 cat conftest.err >&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_cxx_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.$ac_objext; then
17899 bakefile_cv_cxx_compiler___xlC__=yes
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17903
17904 bakefile_cv_cxx_compiler___xlC__=no
17905
17906 fi
17907
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17909
17910
17911 fi
17912 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17914 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17915 :; XLCXX=yes
17916 else
17917 :;
17918 fi
17919 ac_ext=c
17920 ac_cpp='$CPP $CPPFLAGS'
17921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17924
17925
17926
17927 fi
17928 ;;
17929
17930 IRIX*)
17931
17932
17933 ac_ext=cpp
17934 ac_cpp='$CXXCPP $CPPFLAGS'
17935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17938
17939 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17940 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17941 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 else
17944 cat >conftest.$ac_ext <<_ACEOF
17945 /* confdefs.h. */
17946 _ACEOF
17947 cat confdefs.h >>conftest.$ac_ext
17948 cat >>conftest.$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950
17951 int
17952 main ()
17953 {
17954
17955 #ifndef _SGI_COMPILER_VERSION
17956 choke me
17957 #endif
17958
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (ac_try="$ac_compile"
17965 case "(($ac_try" in
17966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17967 *) ac_try_echo=$ac_try;;
17968 esac
17969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17970 (eval "$ac_compile") 2>conftest.er1
17971 ac_status=$?
17972 grep -v '^ *+' conftest.er1 >conftest.err
17973 rm -f conftest.er1
17974 cat conftest.err >&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } && {
17977 test -z "$ac_cxx_werror_flag" ||
17978 test ! -s conftest.err
17979 } && test -s conftest.$ac_objext; then
17980 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17981 else
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17984
17985 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17986
17987 fi
17988
17989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990
17991
17992 fi
17993 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17994 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17995 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17996 :; SGICXX=yes
17997 else
17998 :;
17999 fi
18000 ac_ext=c
18001 ac_cpp='$CPP $CPPFLAGS'
18002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18005
18006
18007
18008 ;;
18009
18010 Linux*)
18011 if test "$INTELCXX" != "yes"; then
18012
18013
18014 ac_ext=cpp
18015 ac_cpp='$CXXCPP $CPPFLAGS'
18016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18019
18020 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18021 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18022 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031
18032 int
18033 main ()
18034 {
18035
18036 #ifndef __SUNPRO_CC
18037 choke me
18038 #endif
18039
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (ac_try="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18048 *) ac_try_echo=$ac_try;;
18049 esac
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18052 ac_status=$?
18053 grep -v '^ *+' conftest.er1 >conftest.err
18054 rm -f conftest.er1
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_cxx_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.$ac_objext; then
18061 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18062 else
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18067
18068 fi
18069
18070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071
18072
18073 fi
18074 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18076 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18077 :; SUNCXX=yes
18078 else
18079 :;
18080 fi
18081 ac_ext=c
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18086
18087
18088
18089 fi
18090 ;;
18091
18092 HP-UX*)
18093
18094
18095 ac_ext=cpp
18096 ac_cpp='$CXXCPP $CPPFLAGS'
18097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18100
18101 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18102 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18103 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 else
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112
18113 int
18114 main ()
18115 {
18116
18117 #ifndef __HP_aCC
18118 choke me
18119 #endif
18120
18121 ;
18122 return 0;
18123 }
18124 _ACEOF
18125 rm -f conftest.$ac_objext
18126 if { (ac_try="$ac_compile"
18127 case "(($ac_try" in
18128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18129 *) ac_try_echo=$ac_try;;
18130 esac
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_compile") 2>conftest.er1
18133 ac_status=$?
18134 grep -v '^ *+' conftest.er1 >conftest.err
18135 rm -f conftest.er1
18136 cat conftest.err >&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } && {
18139 test -z "$ac_cxx_werror_flag" ||
18140 test ! -s conftest.err
18141 } && test -s conftest.$ac_objext; then
18142 bakefile_cv_cxx_compiler___HP_aCC=yes
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18146
18147 bakefile_cv_cxx_compiler___HP_aCC=no
18148
18149 fi
18150
18151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18152
18153
18154 fi
18155 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18156 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18157 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18158 :; HPCXX=yes
18159 else
18160 :;
18161 fi
18162 ac_ext=c
18163 ac_cpp='$CPP $CPPFLAGS'
18164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18167
18168
18169
18170 ;;
18171
18172 OSF1)
18173
18174
18175 ac_ext=cpp
18176 ac_cpp='$CXXCPP $CPPFLAGS'
18177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18180
18181 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18182 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18183 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18184 echo $ECHO_N "(cached) $ECHO_C" >&6
18185 else
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192
18193 int
18194 main ()
18195 {
18196
18197 #ifndef __DECCXX
18198 choke me
18199 #endif
18200
18201 ;
18202 return 0;
18203 }
18204 _ACEOF
18205 rm -f conftest.$ac_objext
18206 if { (ac_try="$ac_compile"
18207 case "(($ac_try" in
18208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18209 *) ac_try_echo=$ac_try;;
18210 esac
18211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18212 (eval "$ac_compile") 2>conftest.er1
18213 ac_status=$?
18214 grep -v '^ *+' conftest.er1 >conftest.err
18215 rm -f conftest.er1
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } && {
18219 test -z "$ac_cxx_werror_flag" ||
18220 test ! -s conftest.err
18221 } && test -s conftest.$ac_objext; then
18222 bakefile_cv_cxx_compiler___DECCXX=yes
18223 else
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.$ac_ext >&5
18226
18227 bakefile_cv_cxx_compiler___DECCXX=no
18228
18229 fi
18230
18231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18232
18233
18234 fi
18235 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18236 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18237 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18238 :; COMPAQCXX=yes
18239 else
18240 :;
18241 fi
18242 ac_ext=c
18243 ac_cpp='$CPP $CPPFLAGS'
18244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18247
18248
18249
18250 ;;
18251
18252 SunOS)
18253
18254
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18260
18261 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18262 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18263 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 cat >conftest.$ac_ext <<_ACEOF
18267 /* confdefs.h. */
18268 _ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272
18273 int
18274 main ()
18275 {
18276
18277 #ifndef __SUNPRO_CC
18278 choke me
18279 #endif
18280
18281 ;
18282 return 0;
18283 }
18284 _ACEOF
18285 rm -f conftest.$ac_objext
18286 if { (ac_try="$ac_compile"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_compile") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_cxx_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest.$ac_objext; then
18302 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18306
18307 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18308
18309 fi
18310
18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312
18313
18314 fi
18315 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18316 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18317 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18318 :; SUNCXX=yes
18319 else
18320 :;
18321 fi
18322 ac_ext=c
18323 ac_cpp='$CPP $CPPFLAGS'
18324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18327
18328
18329
18330 ;;
18331 esac
18332 fi
18333
18334
18335
18336 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18337 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18338 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18339 { (exit 1); exit 1; }; }
18340 fi
18341
18342 if test "x$SUNCXX" != xyes; then
18343 if test -n "$ac_tool_prefix"; then
18344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18345 set dummy ${ac_tool_prefix}ar; ac_word=$2
18346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18348 if test "${ac_cv_prog_AR+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 else
18351 if test -n "$AR"; then
18352 ac_cv_prog_AR="$AR" # Let the user override the test.
18353 else
18354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18355 for as_dir in $PATH
18356 do
18357 IFS=$as_save_IFS
18358 test -z "$as_dir" && as_dir=.
18359 for ac_exec_ext in '' $ac_executable_extensions; do
18360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18361 ac_cv_prog_AR="${ac_tool_prefix}ar"
18362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18363 break 2
18364 fi
18365 done
18366 done
18367 IFS=$as_save_IFS
18368
18369 fi
18370 fi
18371 AR=$ac_cv_prog_AR
18372 if test -n "$AR"; then
18373 { echo "$as_me:$LINENO: result: $AR" >&5
18374 echo "${ECHO_T}$AR" >&6; }
18375 else
18376 { echo "$as_me:$LINENO: result: no" >&5
18377 echo "${ECHO_T}no" >&6; }
18378 fi
18379
18380
18381 fi
18382 if test -z "$ac_cv_prog_AR"; then
18383 ac_ct_AR=$AR
18384 # Extract the first word of "ar", so it can be a program name with args.
18385 set dummy ar; ac_word=$2
18386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18388 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391 if test -n "$ac_ct_AR"; then
18392 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18393 else
18394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18395 for as_dir in $PATH
18396 do
18397 IFS=$as_save_IFS
18398 test -z "$as_dir" && as_dir=.
18399 for ac_exec_ext in '' $ac_executable_extensions; do
18400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18401 ac_cv_prog_ac_ct_AR="ar"
18402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18403 break 2
18404 fi
18405 done
18406 done
18407 IFS=$as_save_IFS
18408
18409 fi
18410 fi
18411 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18412 if test -n "$ac_ct_AR"; then
18413 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18414 echo "${ECHO_T}$ac_ct_AR" >&6; }
18415 else
18416 { echo "$as_me:$LINENO: result: no" >&5
18417 echo "${ECHO_T}no" >&6; }
18418 fi
18419
18420 if test "x$ac_ct_AR" = x; then
18421 AR=""
18422 else
18423 case $cross_compiling:$ac_tool_warned in
18424 yes:)
18425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18426 whose name does not start with the host triplet. If you think this
18427 configuration is useful to you, please write to autoconf@gnu.org." >&5
18428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18429 whose name does not start with the host triplet. If you think this
18430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18431 ac_tool_warned=yes ;;
18432 esac
18433 AR=$ac_ct_AR
18434 fi
18435 else
18436 AR="$ac_cv_prog_AR"
18437 fi
18438
18439 if test "x$AR" = "x" ; then
18440 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18441 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18442 { (exit 1); exit 1; }; }
18443 fi
18444 fi
18445
18446
18447 if test "$wxUSE_MAC" = 1; then
18448
18449 retest_macosx_linking=no
18450
18451 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18452 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18453 # Implicitly turn on the new --with-macosx-sdk using the default
18454 # SDK which provides the behavior this option has always had.
18455 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18456 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18457 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18458 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18459 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18460 wxUSE_MACOSX_SDK=yes
18461 fi
18462 else
18463 # Complain to user if he specified an argument to --enable-universal_binary
18464 # and also 1) specified --with-macosx-sdk using the default (yes) or
18465 # 2) specified --with-macosx-sdk using a path or 3) specified
18466 # --without-macosx-sdk (no).
18467 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18468 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18469 See \`config.log' for more details." >&5
18470 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18471 See \`config.log' for more details." >&2;}
18472 { (exit 1); exit 1; }; }
18473 else
18474 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18475 # special-case the empty string because the below test simply
18476 # converts "no" to the empty string anyway.
18477 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18478 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18479 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18480 fi
18481 fi
18482 OSX_UNIV_OPTS="-arch ppc -arch i386"
18483 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18484 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18485 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18486 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18487 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18488 retest_macosx_linking=yes
18489
18490 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18491 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18492 bk_use_pch=no
18493 fi
18494
18495 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18496 wxUSE_MACOSX_SDK=
18497 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18498 # TODO: Search for most recent SDK and use it.
18499 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18500 fi
18501
18502
18503 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18504 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18505 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18506 if ! test -d "$wxUSE_MACOSX_SDK"; then
18507 { { echo "$as_me:$LINENO: error: not found
18508 See \`config.log' for more details." >&5
18509 echo "$as_me: error: not found
18510 See \`config.log' for more details." >&2;}
18511 { (exit 1); exit 1; }; }
18512 else
18513 { echo "$as_me:$LINENO: result: exists" >&5
18514 echo "${ECHO_T}exists" >&6; }
18515 fi
18516 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18517 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18518 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18519 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18520 retest_macosx_linking=yes
18521 fi
18522
18523 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18524 wxUSE_MACOSX_VERSION_MIN=
18525 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18526 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18527 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18528 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18529
18530 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/'`
18531
18532 # If that failed, try again with the new key
18533 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18534
18535 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/'`
18536
18537 fi
18538
18539 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18540 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18541 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18542 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18543 else
18544 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18545 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18546 wxUSE_MACOSX_VERSION_MIN=
18547 fi
18548 else
18549 wxUSE_MACOSX_VERSION_MIN=
18550 fi
18551 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18552 for ac_prog in sw_vers
18553 do
18554 # Extract the first word of "$ac_prog", so it can be a program name with args.
18555 set dummy $ac_prog; ac_word=$2
18556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18558 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18560 else
18561 if test -n "$OSX_SW_VERS"; then
18562 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18563 else
18564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18565 for as_dir in $PATH
18566 do
18567 IFS=$as_save_IFS
18568 test -z "$as_dir" && as_dir=.
18569 for ac_exec_ext in '' $ac_executable_extensions; do
18570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18571 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18573 break 2
18574 fi
18575 done
18576 done
18577 IFS=$as_save_IFS
18578
18579 fi
18580 fi
18581 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18582 if test -n "$OSX_SW_VERS"; then
18583 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18584 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18585 else
18586 { echo "$as_me:$LINENO: result: no" >&5
18587 echo "${ECHO_T}no" >&6; }
18588 fi
18589
18590
18591 test -n "$OSX_SW_VERS" && break
18592 done
18593
18594 if test "$OSX_SW_VERS" != ""; then
18595 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18596 else
18597 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18598 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18599 OSX_VERSION="10.4"
18600 fi
18601
18602 case "$OSX_VERSION" in
18603 10.4* )
18604 wxUSE_MACOSX_VERSION_MIN=10.4
18605 ;;
18606
18607 * )
18608 if test "$wxUSE_OSX_CARBON" = 1; then
18609 # otherwise configure stops on leopard for universal_binary
18610 wxUSE_MACOSX_VERSION_MIN=10.4
18611 else
18612 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18613 wxUSE_MACOSX_VERSION_MIN=10.5
18614 fi
18615 ;;
18616 esac
18617 fi
18618
18619 NEEDS_GCC40="no"
18620 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18621 NEEDS_GCC40="yes"
18622 fi
18623
18624 if test "$wxUSE_OSX_CARBON" = 1; then
18625 NEEDS_GCC40="yes"
18626 fi
18627
18628 if test "x$NEEDS_GCC40" == "xyes"; then
18629 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18630 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18631 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18632 if test "x$CC" = "xgcc"; then
18633 CCVERSION=`$CC --version | grep 4.[2-9].`
18634 if test "x$CCVERSION" != "x"; then
18635 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18636 CC="/usr/bin/gcc-4.0"
18637 fi
18638 fi
18639
18640 if test "x$CXX" = "xg++"; then
18641 CCVERSION=`$CXX --version | grep 4.[2-9].`
18642 if test "x$CCVERSION" != "x"; then
18643 CXX="/usr/bin/g++-4.0"
18644 fi
18645 fi
18646 fi
18647
18648 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18649 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18650 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18651 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18652 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18653 retest_macosx_linking=yes
18654 fi
18655
18656 if test "x$retest_macosx_linking" = "xyes"; then
18657 ac_ext=c
18658 ac_cpp='$CPP $CPPFLAGS'
18659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18662
18663 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18664 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671
18672 int
18673 main ()
18674 {
18675
18676 ;
18677 return 0;
18678 }
18679 _ACEOF
18680 rm -f conftest.$ac_objext conftest$ac_exeext
18681 if { (ac_try="$ac_link"
18682 case "(($ac_try" in
18683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18684 *) ac_try_echo=$ac_try;;
18685 esac
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687 (eval "$ac_link") 2>conftest.er1
18688 ac_status=$?
18689 grep -v '^ *+' conftest.er1 >conftest.err
18690 rm -f conftest.er1
18691 cat conftest.err >&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } && {
18694 test -z "$ac_c_werror_flag" ||
18695 test ! -s conftest.err
18696 } && test -s conftest$ac_exeext &&
18697 $as_test_x conftest$ac_exeext; then
18698 { echo "$as_me:$LINENO: result: yes" >&5
18699 echo "${ECHO_T}yes" >&6; }
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18703
18704 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18705 See \`config.log' for more details." >&5
18706 echo "$as_me: error: no. Try a different SDK
18707 See \`config.log' for more details." >&2;}
18708 { (exit 1); exit 1; }; }; exit 1
18709 fi
18710
18711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18712 conftest$ac_exeext conftest.$ac_ext
18713 ac_ext=c
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718
18719
18720 ac_ext=cpp
18721 ac_cpp='$CXXCPP $CPPFLAGS'
18722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18725
18726 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18727 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734
18735 int
18736 main ()
18737 {
18738
18739 ;
18740 return 0;
18741 }
18742 _ACEOF
18743 rm -f conftest.$ac_objext conftest$ac_exeext
18744 if { (ac_try="$ac_link"
18745 case "(($ac_try" in
18746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18747 *) ac_try_echo=$ac_try;;
18748 esac
18749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18750 (eval "$ac_link") 2>conftest.er1
18751 ac_status=$?
18752 grep -v '^ *+' conftest.er1 >conftest.err
18753 rm -f conftest.er1
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } && {
18757 test -z "$ac_cxx_werror_flag" ||
18758 test ! -s conftest.err
18759 } && test -s conftest$ac_exeext &&
18760 $as_test_x conftest$ac_exeext; then
18761 { echo "$as_me:$LINENO: result: yes" >&5
18762 echo "${ECHO_T}yes" >&6; }
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18768 See \`config.log' for more details." >&5
18769 echo "$as_me: error: no. Try a different SDK
18770 See \`config.log' for more details." >&2;}
18771 { (exit 1); exit 1; }; }; exit 1
18772 fi
18773
18774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18775 conftest$ac_exeext conftest.$ac_ext
18776 ac_ext=c
18777 ac_cpp='$CPP $CPPFLAGS'
18778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18781
18782 fi
18783
18784 fi
18785 case "${host}" in
18786
18787 *-*-darwin* )
18788 INSTALL_PROGRAM="cp -fp"
18789 INSTALL_DATA="cp -fp"
18790 ;;
18791 *)
18792 ;;
18793 esac
18794
18795
18796 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18797 CXXFLAGS="-qunique $CXXFLAGS"
18798 fi
18799
18800 case "${host}" in
18801 powerpc-*-darwin* )
18802 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18803 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810
18811 int
18812 main ()
18813 {
18814 #ifndef __POWERPC__
18815 choke me for lack of PowerPC
18816 #endif
18817
18818 ;
18819 return 0;
18820 }
18821 _ACEOF
18822 rm -f conftest.$ac_objext
18823 if { (ac_try="$ac_compile"
18824 case "(($ac_try" in
18825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18826 *) ac_try_echo=$ac_try;;
18827 esac
18828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18829 (eval "$ac_compile") 2>conftest.er1
18830 ac_status=$?
18831 grep -v '^ *+' conftest.er1 >conftest.err
18832 rm -f conftest.er1
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } && {
18836 test -z "$ac_c_werror_flag" ||
18837 test ! -s conftest.err
18838 } && test -s conftest.$ac_objext; then
18839 { echo "$as_me:$LINENO: result: yes" >&5
18840 echo "${ECHO_T}yes" >&6; }
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845 { echo "$as_me:$LINENO: result: no" >&5
18846 echo "${ECHO_T}no" >&6; }
18847 cat >>confdefs.h <<\_ACEOF
18848 #define __POWERPC__ 1
18849 _ACEOF
18850
18851
18852 fi
18853
18854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 ;;
18856 esac
18857
18858 case "${host}" in
18859 *-*-darwin* )
18860 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18861 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18862 cat >conftest.$ac_ext <<_ACEOF
18863 /* confdefs.h. */
18864 _ACEOF
18865 cat confdefs.h >>conftest.$ac_ext
18866 cat >>conftest.$ac_ext <<_ACEOF
18867 /* end confdefs.h. */
18868 #include <CoreFoundation/CFBase.h>
18869
18870 int
18871 main ()
18872 {
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (ac_try="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18883 esac
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.$ac_objext; then
18895 { echo "$as_me:$LINENO: result: yes" >&5
18896 echo "${ECHO_T}yes" >&6; }
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 { echo "$as_me:$LINENO: result: no" >&5
18902 echo "${ECHO_T}no" >&6; }
18903 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18904 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 #define __CF_USE_FRAMEWORK_INCLUDES__
18912 #include <CoreFoundation/CFBase.h>
18913
18914 int
18915 main ()
18916 {
18917
18918 ;
18919 return 0;
18920 }
18921 _ACEOF
18922 rm -f conftest.$ac_objext
18923 if { (ac_try="$ac_compile"
18924 case "(($ac_try" in
18925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18926 *) ac_try_echo=$ac_try;;
18927 esac
18928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18929 (eval "$ac_compile") 2>conftest.er1
18930 ac_status=$?
18931 grep -v '^ *+' conftest.er1 >conftest.err
18932 rm -f conftest.er1
18933 cat conftest.err >&5
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); } && {
18936 test -z "$ac_c_werror_flag" ||
18937 test ! -s conftest.err
18938 } && test -s conftest.$ac_objext; then
18939 { echo "$as_me:$LINENO: result: yes" >&5
18940 echo "${ECHO_T}yes" >&6; }
18941 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18947 See \`config.log' for more details." >&5
18948 echo "$as_me: error: no. CoreFoundation not available.
18949 See \`config.log' for more details." >&2;}
18950 { (exit 1); exit 1; }; }
18951
18952 fi
18953
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18955
18956
18957 fi
18958
18959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18960 ;;
18961 esac
18962
18963 wants_win32=0
18964 doesnt_want_win32=0
18965 case "${host}" in
18966 *-*-cygwin*)
18967 if test "$wxUSE_MSW" = 1 ; then
18968 wants_win32=1
18969 else
18970 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18971 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18972 if test "${wx_cv_nocygwin+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 else
18975
18976 cat >conftest.$ac_ext <<_ACEOF
18977 /* confdefs.h. */
18978 _ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18982
18983 int
18984 main ()
18985 {
18986
18987 #ifdef __MINGW32__
18988 choke me
18989 #endif
18990
18991 ;
18992 return 0;
18993 }
18994 _ACEOF
18995 rm -f conftest.$ac_objext
18996 if { (ac_try="$ac_compile"
18997 case "(($ac_try" in
18998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19000 esac
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_compile") 2>conftest.er1
19003 ac_status=$?
19004 grep -v '^ *+' conftest.er1 >conftest.err
19005 rm -f conftest.er1
19006 cat conftest.err >&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); } && {
19009 test -z "$ac_c_werror_flag" ||
19010 test ! -s conftest.err
19011 } && test -s conftest.$ac_objext; then
19012 wx_cv_nocygwin=no
19013 else
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19016
19017 wx_cv_nocygwin=yes
19018
19019 fi
19020
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022
19023
19024 fi
19025 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19026 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19027
19028 if test "$wx_cv_nocygwin" = "yes"; then
19029 wants_win32=1
19030 else
19031 doesnt_want_win32=1
19032 fi
19033 fi
19034 if test "$wants_win32" = 1 ; then
19035 BAKEFILE_FORCE_PLATFORM=win32
19036 fi
19037 ;;
19038 *-*-mingw*)
19039 wants_win32=1
19040 ;;
19041 esac
19042
19043 if test "$wxUSE_WINE" = "yes"; then
19044 wants_win32=1
19045 LDFLAGS_GUI="-mwindows"
19046 fi
19047
19048 if test "$wants_win32" = 1 ; then
19049 USE_UNIX=0
19050 USE_WIN32=1
19051 cat >>confdefs.h <<\_ACEOF
19052 #define __WIN32__ 1
19053 _ACEOF
19054
19055 cat >>confdefs.h <<\_ACEOF
19056 #define __WIN95__ 1
19057 _ACEOF
19058
19059 cat >>confdefs.h <<\_ACEOF
19060 #define __WINDOWS__ 1
19061 _ACEOF
19062
19063 cat >>confdefs.h <<\_ACEOF
19064 #define __GNUWIN32__ 1
19065 _ACEOF
19066
19067 cat >>confdefs.h <<\_ACEOF
19068 #define STRICT 1
19069 _ACEOF
19070
19071 fi
19072 if test "$doesnt_want_win32" = 1 ; then
19073 USE_UNIX=1
19074 USE_WIN32=0
19075 fi
19076
19077 if test "$USE_UNIX" = 1 ; then
19078 wxUSE_UNIX=yes
19079 cat >>confdefs.h <<\_ACEOF
19080 #define __UNIX__ 1
19081 _ACEOF
19082
19083 fi
19084
19085 case "${host}" in
19086 *-pc-os2_emx | *-pc-os2-emx )
19087 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19088 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19089 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19090 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 else
19093 ac_check_lib_save_LIBS=$LIBS
19094 LIBS="-lcExt $LIBS"
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101
19102 /* Override any GCC internal prototype to avoid an error.
19103 Use char because int might match the return type of a GCC
19104 builtin and then its argument prototype would still apply. */
19105 #ifdef __cplusplus
19106 extern "C"
19107 #endif
19108 char drand48 ();
19109 int
19110 main ()
19111 {
19112 return drand48 ();
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (ac_try="$ac_link"
19119 case "(($ac_try" in
19120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19121 *) ac_try_echo=$ac_try;;
19122 esac
19123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19124 (eval "$ac_link") 2>conftest.er1
19125 ac_status=$?
19126 grep -v '^ *+' conftest.er1 >conftest.err
19127 rm -f conftest.er1
19128 cat conftest.err >&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); } && {
19131 test -z "$ac_c_werror_flag" ||
19132 test ! -s conftest.err
19133 } && test -s conftest$ac_exeext &&
19134 $as_test_x conftest$ac_exeext; then
19135 ac_cv_lib_cExt_drand48=yes
19136 else
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19139
19140 ac_cv_lib_cExt_drand48=no
19141 fi
19142
19143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19144 conftest$ac_exeext conftest.$ac_ext
19145 LIBS=$ac_check_lib_save_LIBS
19146 fi
19147 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19148 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19149 if test $ac_cv_lib_cExt_drand48 = yes; then
19150 LIBS="$LIBS -lcExt"
19151 fi
19152
19153 else
19154 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19155 fi
19156 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19157 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19158 if test "${wx_cv_gccversion+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161
19162 if test "$cross_compiling" = yes; then
19163 wx_cv_gccversion="EMX2"
19164
19165 else
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172
19173 #include <stdio.h>
19174
19175 int main()
19176 {
19177 FILE *f=fopen("conftestval", "w");
19178 if (!f) exit(1);
19179 fprintf(f,
19180 #if (__GNUC__ < 3)
19181 "EMX2"
19182 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19183 "EMX3"
19184 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19185 "Innotek5"
19186 #else
19187 "Innotek6"
19188 #endif
19189 );
19190 exit(0);
19191 }
19192
19193 _ACEOF
19194 rm -f conftest$ac_exeext
19195 if { (ac_try="$ac_link"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_link") 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19205 { (case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_try") 2>&5
19211 ac_status=$?
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 wx_cv_gccversion=`cat conftestval`
19215 else
19216 echo "$as_me: program exited with status $ac_status" >&5
19217 echo "$as_me: failed program was:" >&5
19218 sed 's/^/| /' conftest.$ac_ext >&5
19219
19220 ( exit $ac_status )
19221 wx_cv_gccversion="EMX2"
19222 fi
19223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19224 fi
19225
19226
19227
19228 fi
19229 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19230 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19231 if test "$wx_cv_gccversion" = "EMX2"; then
19232 LIBS="$LIBS -lstdcpp"
19233 LDFLAGS="$LDFLAGS -Zsysv-signals"
19234 else
19235 if test "$wx_cv_gccversion" = "EMX3"; then
19236 LIBS="$LIBS -lstdcxx -lgcc"
19237 LDFLAGS="$LDFLAGS -Zsysv-signals"
19238 else
19239 LIBS="$LIBS -lstdc++"
19240 fi
19241 fi
19242 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19243 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19244 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19245 wxUSE_OMF=yes
19246 enable_omf=yes
19247 fi
19248 ;;
19249 *)
19250
19251 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19252 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19253 if test "${ac_cv_string_strcasecmp+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 else
19256
19257 cat >conftest.$ac_ext <<_ACEOF
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263
19264 #include <string.h>
19265
19266 int
19267 main ()
19268 {
19269
19270 strcasecmp("foo", "bar");
19271
19272 ;
19273 return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (ac_try="$ac_link"
19278 case "(($ac_try" in
19279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19281 esac
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_link") 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } && {
19290 test -z "$ac_c_werror_flag" ||
19291 test ! -s conftest.err
19292 } && test -s conftest$ac_exeext &&
19293 $as_test_x conftest$ac_exeext; then
19294 ac_cv_string_strcasecmp=yes
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 ac_cv_string_strcasecmp=no
19300
19301 fi
19302
19303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19304 conftest$ac_exeext conftest.$ac_ext
19305
19306 fi
19307 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19308 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19309
19310 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19311 cat >>confdefs.h <<\_ACEOF
19312 #define HAVE_STRCASECMP_IN_STRING_H 1
19313 _ACEOF
19314
19315 else
19316 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19317 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19318 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19319 echo $ECHO_N "(cached) $ECHO_C" >&6
19320 else
19321
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328
19329 #include <strings.h>
19330
19331 int
19332 main ()
19333 {
19334
19335 strcasecmp("foo", "bar");
19336
19337 ;
19338 return 0;
19339 }
19340 _ACEOF
19341 rm -f conftest.$ac_objext conftest$ac_exeext
19342 if { (ac_try="$ac_link"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19346 esac
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_link") 2>conftest.er1
19349 ac_status=$?
19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && {
19355 test -z "$ac_c_werror_flag" ||
19356 test ! -s conftest.err
19357 } && test -s conftest$ac_exeext &&
19358 $as_test_x conftest$ac_exeext; then
19359 ac_cv_strings_strcasecmp=yes
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 ac_cv_strings_strcasecmp=no
19365
19366 fi
19367
19368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19369 conftest$ac_exeext conftest.$ac_ext
19370
19371 fi
19372 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19373 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19374
19375 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19376 cat >>confdefs.h <<\_ACEOF
19377 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19378 _ACEOF
19379
19380 else
19381 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19382 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19383 { (exit 1); exit 1; }; }
19384 fi
19385 fi
19386
19387 ;;
19388 esac
19389
19390
19391 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19392 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19393 if test "${ac_cv_header_stdc+set}" = set; then
19394 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 else
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 #include <stdlib.h>
19403 #include <stdarg.h>
19404 #include <string.h>
19405 #include <float.h>
19406
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19423 ac_status=$?
19424 grep -v '^ *+' conftest.er1 >conftest.err
19425 rm -f conftest.er1
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_header_stdc=yes
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 ac_cv_header_stdc=no
19438 fi
19439
19440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19441
19442 if test $ac_cv_header_stdc = yes; then
19443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 #include <string.h>
19451
19452 _ACEOF
19453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19454 $EGREP "memchr" >/dev/null 2>&1; then
19455 :
19456 else
19457 ac_cv_header_stdc=no
19458 fi
19459 rm -f conftest*
19460
19461 fi
19462
19463 if test $ac_cv_header_stdc = yes; then
19464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19465 cat >conftest.$ac_ext <<_ACEOF
19466 /* confdefs.h. */
19467 _ACEOF
19468 cat confdefs.h >>conftest.$ac_ext
19469 cat >>conftest.$ac_ext <<_ACEOF
19470 /* end confdefs.h. */
19471 #include <stdlib.h>
19472
19473 _ACEOF
19474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19475 $EGREP "free" >/dev/null 2>&1; then
19476 :
19477 else
19478 ac_cv_header_stdc=no
19479 fi
19480 rm -f conftest*
19481
19482 fi
19483
19484 if test $ac_cv_header_stdc = yes; then
19485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19486 if test "$cross_compiling" = yes; then
19487 :
19488 else
19489 cat >conftest.$ac_ext <<_ACEOF
19490 /* confdefs.h. */
19491 _ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <ctype.h>
19496 #include <stdlib.h>
19497 #if ((' ' & 0x0FF) == 0x020)
19498 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19499 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19500 #else
19501 # define ISLOWER(c) \
19502 (('a' <= (c) && (c) <= 'i') \
19503 || ('j' <= (c) && (c) <= 'r') \
19504 || ('s' <= (c) && (c) <= 'z'))
19505 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19506 #endif
19507
19508 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19509 int
19510 main ()
19511 {
19512 int i;
19513 for (i = 0; i < 256; i++)
19514 if (XOR (islower (i), ISLOWER (i))
19515 || toupper (i) != TOUPPER (i))
19516 return 2;
19517 return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest$ac_exeext
19521 if { (ac_try="$ac_link"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_link") 2>&5
19528 ac_status=$?
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19531 { (case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19534 esac
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_try") 2>&5
19537 ac_status=$?
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19540 :
19541 else
19542 echo "$as_me: program exited with status $ac_status" >&5
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19545
19546 ( exit $ac_status )
19547 ac_cv_header_stdc=no
19548 fi
19549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19550 fi
19551
19552
19553 fi
19554 fi
19555 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19556 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19557 if test $ac_cv_header_stdc = yes; then
19558
19559 cat >>confdefs.h <<\_ACEOF
19560 #define STDC_HEADERS 1
19561 _ACEOF
19562
19563 fi
19564
19565 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19576 inttypes.h stdint.h unistd.h
19577 do
19578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 else
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590 $ac_includes_default
19591
19592 #include <$ac_header>
19593 _ACEOF
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19598 *) ac_try_echo=$ac_try;;
19599 esac
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19602 ac_status=$?
19603 grep -v '^ *+' conftest.er1 >conftest.err
19604 rm -f conftest.er1
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.$ac_objext; then
19611 eval "$as_ac_Header=yes"
19612 else
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19615
19616 eval "$as_ac_Header=no"
19617 fi
19618
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 fi
19621 ac_res=`eval echo '${'$as_ac_Header'}'`
19622 { echo "$as_me:$LINENO: result: $ac_res" >&5
19623 echo "${ECHO_T}$ac_res" >&6; }
19624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19625 cat >>confdefs.h <<_ACEOF
19626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19627 _ACEOF
19628
19629 fi
19630
19631 done
19632
19633
19634
19635
19636 for ac_header in langinfo.h wchar.h
19637 do
19638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644 cat >conftest.$ac_ext <<_ACEOF
19645 /* confdefs.h. */
19646 _ACEOF
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19651
19652 #include <$ac_header>
19653 _ACEOF
19654 rm -f conftest.$ac_objext
19655 if { (ac_try="$ac_compile"
19656 case "(($ac_try" in
19657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19658 *) ac_try_echo=$ac_try;;
19659 esac
19660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19661 (eval "$ac_compile") 2>conftest.er1
19662 ac_status=$?
19663 grep -v '^ *+' conftest.er1 >conftest.err
19664 rm -f conftest.er1
19665 cat conftest.err >&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } && {
19668 test -z "$ac_c_werror_flag" ||
19669 test ! -s conftest.err
19670 } && test -s conftest.$ac_objext; then
19671 eval "$as_ac_Header=yes"
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 eval "$as_ac_Header=no"
19677 fi
19678
19679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19680 fi
19681 ac_res=`eval echo '${'$as_ac_Header'}'`
19682 { echo "$as_me:$LINENO: result: $ac_res" >&5
19683 echo "${ECHO_T}$ac_res" >&6; }
19684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19685 cat >>confdefs.h <<_ACEOF
19686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19687 _ACEOF
19688
19689 fi
19690
19691 done
19692
19693
19694 if test "$ac_cv_header_wchar_h" != "yes"; then
19695
19696 for ac_header in wcstr.h
19697 do
19698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 else
19704 cat >conftest.$ac_ext <<_ACEOF
19705 /* confdefs.h. */
19706 _ACEOF
19707 cat confdefs.h >>conftest.$ac_ext
19708 cat >>conftest.$ac_ext <<_ACEOF
19709 /* end confdefs.h. */
19710 $ac_includes_default
19711
19712 #include <$ac_header>
19713 _ACEOF
19714 rm -f conftest.$ac_objext
19715 if { (ac_try="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19719 esac
19720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19722 ac_status=$?
19723 grep -v '^ *+' conftest.er1 >conftest.err
19724 rm -f conftest.er1
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } && {
19728 test -z "$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19730 } && test -s conftest.$ac_objext; then
19731 eval "$as_ac_Header=yes"
19732 else
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19735
19736 eval "$as_ac_Header=no"
19737 fi
19738
19739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19740 fi
19741 ac_res=`eval echo '${'$as_ac_Header'}'`
19742 { echo "$as_me:$LINENO: result: $ac_res" >&5
19743 echo "${ECHO_T}$ac_res" >&6; }
19744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19745 cat >>confdefs.h <<_ACEOF
19746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19747 _ACEOF
19748
19749 fi
19750
19751 done
19752
19753 fi
19754
19755 case "${host}" in
19756 *-pc-os2_emx | *-pc-os2-emx )
19757 if test $ac_cv_header_langinfo_h = "yes" \
19758 -a \( "$wx_cv_gccversion" = "EMX2" \
19759 -o "$wx_cv_gccversion" = "EMX3" \
19760 -o "$wx_cv_gccversion" = "Innotek5" \); then
19761 LIBS="$LIBS -lintl"
19762 fi
19763 ;;
19764 esac
19765
19766 if test "$USE_UNIX" = 1 ; then
19767
19768 for ac_header in sys/select.h
19769 do
19770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19773 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 $ac_includes_default
19783
19784 #include <$ac_header>
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 eval "$as_ac_Header=yes"
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 eval "$as_ac_Header=no"
19809 fi
19810
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812 fi
19813 ac_res=`eval echo '${'$as_ac_Header'}'`
19814 { echo "$as_me:$LINENO: result: $ac_res" >&5
19815 echo "${ECHO_T}$ac_res" >&6; }
19816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19817 cat >>confdefs.h <<_ACEOF
19818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19819 _ACEOF
19820
19821 fi
19822
19823 done
19824
19825 fi
19826
19827
19828 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19829 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19830 if test "${ac_cv_c_const+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 else
19833 cat >conftest.$ac_ext <<_ACEOF
19834 /* confdefs.h. */
19835 _ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839
19840 int
19841 main ()
19842 {
19843 /* FIXME: Include the comments suggested by Paul. */
19844 #ifndef __cplusplus
19845 /* Ultrix mips cc rejects this. */
19846 typedef int charset[2];
19847 const charset cs;
19848 /* SunOS 4.1.1 cc rejects this. */
19849 char const *const *pcpcc;
19850 char **ppc;
19851 /* NEC SVR4.0.2 mips cc rejects this. */
19852 struct point {int x, y;};
19853 static struct point const zero = {0,0};
19854 /* AIX XL C 1.02.0.0 rejects this.
19855 It does not let you subtract one const X* pointer from another in
19856 an arm of an if-expression whose if-part is not a constant
19857 expression */
19858 const char *g = "string";
19859 pcpcc = &g + (g ? g-g : 0);
19860 /* HPUX 7.0 cc rejects these. */
19861 ++pcpcc;
19862 ppc = (char**) pcpcc;
19863 pcpcc = (char const *const *) ppc;
19864 { /* SCO 3.2v4 cc rejects this. */
19865 char *t;
19866 char const *s = 0 ? (char *) 0 : (char const *) 0;
19867
19868 *t++ = 0;
19869 if (s) return 0;
19870 }
19871 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19872 int x[] = {25, 17};
19873 const int *foo = &x[0];
19874 ++foo;
19875 }
19876 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19877 typedef const int *iptr;
19878 iptr p = 0;
19879 ++p;
19880 }
19881 { /* AIX XL C 1.02.0.0 rejects this saying
19882 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19883 struct s { int j; const int *ap[3]; };
19884 struct s *b; b->j = 5;
19885 }
19886 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19887 const int foo = 10;
19888 if (!foo) return 0;
19889 }
19890 return !cs[0] && !zero.x;
19891 #endif
19892
19893 ;
19894 return 0;
19895 }
19896 _ACEOF
19897 rm -f conftest.$ac_objext
19898 if { (ac_try="$ac_compile"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19902 esac
19903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_compile") 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } && {
19911 test -z "$ac_c_werror_flag" ||
19912 test ! -s conftest.err
19913 } && test -s conftest.$ac_objext; then
19914 ac_cv_c_const=yes
19915 else
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919 ac_cv_c_const=no
19920 fi
19921
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 fi
19924 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19925 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19926 if test $ac_cv_c_const = no; then
19927
19928 cat >>confdefs.h <<\_ACEOF
19929 #define const
19930 _ACEOF
19931
19932 fi
19933
19934 { echo "$as_me:$LINENO: checking for inline" >&5
19935 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19936 if test "${ac_cv_c_inline+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 ac_cv_c_inline=no
19940 for ac_kw in inline __inline__ __inline; do
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #ifndef __cplusplus
19948 typedef int foo_t;
19949 static $ac_kw foo_t static_foo () {return 0; }
19950 $ac_kw foo_t foo () {return 0; }
19951 #endif
19952
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (ac_try="$ac_compile"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19959 esac
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_compile") 2>conftest.er1
19962 ac_status=$?
19963 grep -v '^ *+' conftest.er1 >conftest.err
19964 rm -f conftest.er1
19965 cat conftest.err >&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err
19970 } && test -s conftest.$ac_objext; then
19971 ac_cv_c_inline=$ac_kw
19972 else
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19975
19976
19977 fi
19978
19979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980 test "$ac_cv_c_inline" != no && break
19981 done
19982
19983 fi
19984 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19985 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19986
19987
19988 case $ac_cv_c_inline in
19989 inline | yes) ;;
19990 *)
19991 case $ac_cv_c_inline in
19992 no) ac_val=;;
19993 *) ac_val=$ac_cv_c_inline;;
19994 esac
19995 cat >>confdefs.h <<_ACEOF
19996 #ifndef __cplusplus
19997 #define inline $ac_val
19998 #endif
19999 _ACEOF
20000 ;;
20001 esac
20002
20003
20004 { echo "$as_me:$LINENO: checking for short" >&5
20005 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20006 if test "${ac_cv_type_short+set}" = set; then
20007 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 else
20009 cat >conftest.$ac_ext <<_ACEOF
20010 /* confdefs.h. */
20011 _ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 $ac_includes_default
20016 typedef short ac__type_new_;
20017 int
20018 main ()
20019 {
20020 if ((ac__type_new_ *) 0)
20021 return 0;
20022 if (sizeof (ac__type_new_))
20023 return 0;
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_cv_type_short=yes
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_cv_type_short=no
20051 fi
20052
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 fi
20055 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20056 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20057
20058 # The cast to long int works around a bug in the HP C Compiler
20059 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20060 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20061 # This bug is HP SR number 8606223364.
20062 { echo "$as_me:$LINENO: checking size of short" >&5
20063 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20064 if test "${ac_cv_sizeof_short+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 else
20067 if test "$cross_compiling" = yes; then
20068 # Depending upon the size, compute the lo and hi bounds.
20069 cat >conftest.$ac_ext <<_ACEOF
20070 /* confdefs.h. */
20071 _ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20075 $ac_includes_default
20076 typedef short ac__type_sizeof_;
20077 int
20078 main ()
20079 {
20080 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20081 test_array [0] = 0
20082
20083 ;
20084 return 0;
20085 }
20086 _ACEOF
20087 rm -f conftest.$ac_objext
20088 if { (ac_try="$ac_compile"
20089 case "(($ac_try" in
20090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20092 esac
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_compile") 2>conftest.er1
20095 ac_status=$?
20096 grep -v '^ *+' conftest.er1 >conftest.err
20097 rm -f conftest.er1
20098 cat conftest.err >&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } && {
20101 test -z "$ac_c_werror_flag" ||
20102 test ! -s conftest.err
20103 } && test -s conftest.$ac_objext; then
20104 ac_lo=0 ac_mid=0
20105 while :; do
20106 cat >conftest.$ac_ext <<_ACEOF
20107 /* confdefs.h. */
20108 _ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 typedef short ac__type_sizeof_;
20114 int
20115 main ()
20116 {
20117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20118 test_array [0] = 0
20119
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_hi=$ac_mid; break
20142 else
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20145
20146 ac_lo=`expr $ac_mid + 1`
20147 if test $ac_lo -le $ac_mid; then
20148 ac_lo= ac_hi=
20149 break
20150 fi
20151 ac_mid=`expr 2 '*' $ac_mid + 1`
20152 fi
20153
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 done
20156 else
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20159
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h. */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef short ac__type_sizeof_;
20168 int
20169 main ()
20170 {
20171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20172 test_array [0] = 0
20173
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20195 ac_hi=-1 ac_mid=-1
20196 while :; do
20197 cat >conftest.$ac_ext <<_ACEOF
20198 /* confdefs.h. */
20199 _ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 $ac_includes_default
20204 typedef short ac__type_sizeof_;
20205 int
20206 main ()
20207 {
20208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20209 test_array [0] = 0
20210
20211 ;
20212 return 0;
20213 }
20214 _ACEOF
20215 rm -f conftest.$ac_objext
20216 if { (ac_try="$ac_compile"
20217 case "(($ac_try" in
20218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20219 *) ac_try_echo=$ac_try;;
20220 esac
20221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20222 (eval "$ac_compile") 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } && {
20229 test -z "$ac_c_werror_flag" ||
20230 test ! -s conftest.err
20231 } && test -s conftest.$ac_objext; then
20232 ac_lo=$ac_mid; break
20233 else
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.$ac_ext >&5
20236
20237 ac_hi=`expr '(' $ac_mid ')' - 1`
20238 if test $ac_mid -le $ac_hi; then
20239 ac_lo= ac_hi=
20240 break
20241 fi
20242 ac_mid=`expr 2 '*' $ac_mid`
20243 fi
20244
20245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 done
20247 else
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_lo= ac_hi=
20252 fi
20253
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255 fi
20256
20257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20258 # Binary search between lo and hi bounds.
20259 while test "x$ac_lo" != "x$ac_hi"; do
20260 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef short ac__type_sizeof_;
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20296 ac_hi=$ac_mid
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 ac_lo=`expr '(' $ac_mid ')' + 1`
20302 fi
20303
20304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 done
20306 case $ac_lo in
20307 ?*) ac_cv_sizeof_short=$ac_lo;;
20308 '') if test "$ac_cv_type_short" = yes; then
20309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20310 See \`config.log' for more details." >&5
20311 echo "$as_me: error: cannot compute sizeof (short)
20312 See \`config.log' for more details." >&2;}
20313 { (exit 77); exit 77; }; }
20314 else
20315 ac_cv_sizeof_short=0
20316 fi ;;
20317 esac
20318 else
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 typedef short ac__type_sizeof_;
20327 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20328 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20329 #include <stdio.h>
20330 #include <stdlib.h>
20331 int
20332 main ()
20333 {
20334
20335 FILE *f = fopen ("conftest.val", "w");
20336 if (! f)
20337 return 1;
20338 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20339 {
20340 long int i = longval ();
20341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20342 return 1;
20343 fprintf (f, "%ld\n", i);
20344 }
20345 else
20346 {
20347 unsigned long int i = ulongval ();
20348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20349 return 1;
20350 fprintf (f, "%lu\n", i);
20351 }
20352 return ferror (f) || fclose (f) != 0;
20353
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 rm -f conftest$ac_exeext
20359 if { (ac_try="$ac_link"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20363 esac
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_link") 2>&5
20366 ac_status=$?
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20369 { (case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_try") 2>&5
20375 ac_status=$?
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 ac_cv_sizeof_short=`cat conftest.val`
20379 else
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20383
20384 ( exit $ac_status )
20385 if test "$ac_cv_type_short" = yes; then
20386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20387 See \`config.log' for more details." >&5
20388 echo "$as_me: error: cannot compute sizeof (short)
20389 See \`config.log' for more details." >&2;}
20390 { (exit 77); exit 77; }; }
20391 else
20392 ac_cv_sizeof_short=0
20393 fi
20394 fi
20395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20396 fi
20397 rm -f conftest.val
20398 fi
20399 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20400 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20401
20402
20403
20404 cat >>confdefs.h <<_ACEOF
20405 #define SIZEOF_SHORT $ac_cv_sizeof_short
20406 _ACEOF
20407
20408
20409 { echo "$as_me:$LINENO: checking for void *" >&5
20410 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20411 if test "${ac_cv_type_void_p+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414 cat >conftest.$ac_ext <<_ACEOF
20415 /* confdefs.h. */
20416 _ACEOF
20417 cat confdefs.h >>conftest.$ac_ext
20418 cat >>conftest.$ac_ext <<_ACEOF
20419 /* end confdefs.h. */
20420 $ac_includes_default
20421 typedef void * ac__type_new_;
20422 int
20423 main ()
20424 {
20425 if ((ac__type_new_ *) 0)
20426 return 0;
20427 if (sizeof (ac__type_new_))
20428 return 0;
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_cv_type_void_p=yes
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_cv_type_void_p=no
20456 fi
20457
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 fi
20460 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20461 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20462
20463 # The cast to long int works around a bug in the HP C Compiler
20464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20466 # This bug is HP SR number 8606223364.
20467 { echo "$as_me:$LINENO: checking size of void *" >&5
20468 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20469 if test "${ac_cv_sizeof_void_p+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20472 if test "$cross_compiling" = yes; then
20473 # Depending upon the size, compute the lo and hi bounds.
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef void * ac__type_sizeof_;
20482 int
20483 main ()
20484 {
20485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20486 test_array [0] = 0
20487
20488 ;
20489 return 0;
20490 }
20491 _ACEOF
20492 rm -f conftest.$ac_objext
20493 if { (ac_try="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20497 esac
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } && {
20506 test -z "$ac_c_werror_flag" ||
20507 test ! -s conftest.err
20508 } && test -s conftest.$ac_objext; then
20509 ac_lo=0 ac_mid=0
20510 while :; do
20511 cat >conftest.$ac_ext <<_ACEOF
20512 /* confdefs.h. */
20513 _ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20517 $ac_includes_default
20518 typedef void * ac__type_sizeof_;
20519 int
20520 main ()
20521 {
20522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20523 test_array [0] = 0
20524
20525 ;
20526 return 0;
20527 }
20528 _ACEOF
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20534 esac
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20537 ac_status=$?
20538 grep -v '^ *+' conftest.er1 >conftest.err
20539 rm -f conftest.er1
20540 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.$ac_objext; then
20546 ac_hi=$ac_mid; break
20547 else
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20550
20551 ac_lo=`expr $ac_mid + 1`
20552 if test $ac_lo -le $ac_mid; then
20553 ac_lo= ac_hi=
20554 break
20555 fi
20556 ac_mid=`expr 2 '*' $ac_mid + 1`
20557 fi
20558
20559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20560 done
20561 else
20562 echo "$as_me: failed program was:" >&5
20563 sed 's/^/| /' conftest.$ac_ext >&5
20564
20565 cat >conftest.$ac_ext <<_ACEOF
20566 /* confdefs.h. */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef void * ac__type_sizeof_;
20573 int
20574 main ()
20575 {
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20577 test_array [0] = 0
20578
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext
20584 if { (ac_try="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20588 esac
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20600 ac_hi=-1 ac_mid=-1
20601 while :; do
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h. */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h. */
20608 $ac_includes_default
20609 typedef void * ac__type_sizeof_;
20610 int
20611 main ()
20612 {
20613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20614 test_array [0] = 0
20615
20616 ;
20617 return 0;
20618 }
20619 _ACEOF
20620 rm -f conftest.$ac_objext
20621 if { (ac_try="$ac_compile"
20622 case "(($ac_try" in
20623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20624 *) ac_try_echo=$ac_try;;
20625 esac
20626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20627 (eval "$ac_compile") 2>conftest.er1
20628 ac_status=$?
20629 grep -v '^ *+' conftest.er1 >conftest.err
20630 rm -f conftest.er1
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } && {
20634 test -z "$ac_c_werror_flag" ||
20635 test ! -s conftest.err
20636 } && test -s conftest.$ac_objext; then
20637 ac_lo=$ac_mid; break
20638 else
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20641
20642 ac_hi=`expr '(' $ac_mid ')' - 1`
20643 if test $ac_mid -le $ac_hi; then
20644 ac_lo= ac_hi=
20645 break
20646 fi
20647 ac_mid=`expr 2 '*' $ac_mid`
20648 fi
20649
20650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651 done
20652 else
20653 echo "$as_me: failed program was:" >&5
20654 sed 's/^/| /' conftest.$ac_ext >&5
20655
20656 ac_lo= ac_hi=
20657 fi
20658
20659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 fi
20661
20662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20663 # Binary search between lo and hi bounds.
20664 while test "x$ac_lo" != "x$ac_hi"; do
20665 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20666 cat >conftest.$ac_ext <<_ACEOF
20667 /* confdefs.h. */
20668 _ACEOF
20669 cat confdefs.h >>conftest.$ac_ext
20670 cat >>conftest.$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20672 $ac_includes_default
20673 typedef void * ac__type_sizeof_;
20674 int
20675 main ()
20676 {
20677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20678 test_array [0] = 0
20679
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 rm -f conftest.$ac_objext
20685 if { (ac_try="$ac_compile"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20689 esac
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_compile") 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest.$ac_objext; then
20701 ac_hi=$ac_mid
20702 else
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 ac_lo=`expr '(' $ac_mid ')' + 1`
20707 fi
20708
20709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20710 done
20711 case $ac_lo in
20712 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20713 '') if test "$ac_cv_type_void_p" = yes; then
20714 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20715 See \`config.log' for more details." >&5
20716 echo "$as_me: error: cannot compute sizeof (void *)
20717 See \`config.log' for more details." >&2;}
20718 { (exit 77); exit 77; }; }
20719 else
20720 ac_cv_sizeof_void_p=0
20721 fi ;;
20722 esac
20723 else
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 $ac_includes_default
20731 typedef void * ac__type_sizeof_;
20732 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20733 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20734 #include <stdio.h>
20735 #include <stdlib.h>
20736 int
20737 main ()
20738 {
20739
20740 FILE *f = fopen ("conftest.val", "w");
20741 if (! f)
20742 return 1;
20743 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20744 {
20745 long int i = longval ();
20746 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20747 return 1;
20748 fprintf (f, "%ld\n", i);
20749 }
20750 else
20751 {
20752 unsigned long int i = ulongval ();
20753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20754 return 1;
20755 fprintf (f, "%lu\n", i);
20756 }
20757 return ferror (f) || fclose (f) != 0;
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest$ac_exeext
20764 if { (ac_try="$ac_link"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20768 esac
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_link") 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20774 { (case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_try") 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; }; then
20783 ac_cv_sizeof_void_p=`cat conftest.val`
20784 else
20785 echo "$as_me: program exited with status $ac_status" >&5
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ( exit $ac_status )
20790 if test "$ac_cv_type_void_p" = yes; then
20791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20792 See \`config.log' for more details." >&5
20793 echo "$as_me: error: cannot compute sizeof (void *)
20794 See \`config.log' for more details." >&2;}
20795 { (exit 77); exit 77; }; }
20796 else
20797 ac_cv_sizeof_void_p=0
20798 fi
20799 fi
20800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20801 fi
20802 rm -f conftest.val
20803 fi
20804 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20805 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20806
20807
20808
20809 cat >>confdefs.h <<_ACEOF
20810 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20811 _ACEOF
20812
20813
20814 { echo "$as_me:$LINENO: checking for int" >&5
20815 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20816 if test "${ac_cv_type_int+set}" = set; then
20817 echo $ECHO_N "(cached) $ECHO_C" >&6
20818 else
20819 cat >conftest.$ac_ext <<_ACEOF
20820 /* confdefs.h. */
20821 _ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825 $ac_includes_default
20826 typedef int ac__type_new_;
20827 int
20828 main ()
20829 {
20830 if ((ac__type_new_ *) 0)
20831 return 0;
20832 if (sizeof (ac__type_new_))
20833 return 0;
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_cv_type_int=yes
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_cv_type_int=no
20861 fi
20862
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20864 fi
20865 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20866 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20867
20868 # The cast to long int works around a bug in the HP C Compiler
20869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20871 # This bug is HP SR number 8606223364.
20872 { echo "$as_me:$LINENO: checking size of int" >&5
20873 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20874 if test "${ac_cv_sizeof_int+set}" = set; then
20875 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 else
20877 if test "$cross_compiling" = yes; then
20878 # Depending upon the size, compute the lo and hi bounds.
20879 cat >conftest.$ac_ext <<_ACEOF
20880 /* confdefs.h. */
20881 _ACEOF
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 $ac_includes_default
20886 typedef int ac__type_sizeof_;
20887 int
20888 main ()
20889 {
20890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20891 test_array [0] = 0
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest.$ac_objext
20898 if { (ac_try="$ac_compile"
20899 case "(($ac_try" in
20900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901 *) ac_try_echo=$ac_try;;
20902 esac
20903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904 (eval "$ac_compile") 2>conftest.er1
20905 ac_status=$?
20906 grep -v '^ *+' conftest.er1 >conftest.err
20907 rm -f conftest.er1
20908 cat conftest.err >&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); } && {
20911 test -z "$ac_c_werror_flag" ||
20912 test ! -s conftest.err
20913 } && test -s conftest.$ac_objext; then
20914 ac_lo=0 ac_mid=0
20915 while :; do
20916 cat >conftest.$ac_ext <<_ACEOF
20917 /* confdefs.h. */
20918 _ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20923 typedef int ac__type_sizeof_;
20924 int
20925 main ()
20926 {
20927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20928 test_array [0] = 0
20929
20930 ;
20931 return 0;
20932 }
20933 _ACEOF
20934 rm -f conftest.$ac_objext
20935 if { (ac_try="$ac_compile"
20936 case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20939 esac
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_compile") 2>conftest.er1
20942 ac_status=$?
20943 grep -v '^ *+' conftest.er1 >conftest.err
20944 rm -f conftest.er1
20945 cat conftest.err >&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } && {
20948 test -z "$ac_c_werror_flag" ||
20949 test ! -s conftest.err
20950 } && test -s conftest.$ac_objext; then
20951 ac_hi=$ac_mid; break
20952 else
20953 echo "$as_me: failed program was:" >&5
20954 sed 's/^/| /' conftest.$ac_ext >&5
20955
20956 ac_lo=`expr $ac_mid + 1`
20957 if test $ac_lo -le $ac_mid; then
20958 ac_lo= ac_hi=
20959 break
20960 fi
20961 ac_mid=`expr 2 '*' $ac_mid + 1`
20962 fi
20963
20964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 done
20966 else
20967 echo "$as_me: failed program was:" >&5
20968 sed 's/^/| /' conftest.$ac_ext >&5
20969
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef int ac__type_sizeof_;
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (ac_try="$ac_compile"
20990 case "(($ac_try" in
20991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20993 esac
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_compile") 2>conftest.er1
20996 ac_status=$?
20997 grep -v '^ *+' conftest.er1 >conftest.err
20998 rm -f conftest.er1
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } && {
21002 test -z "$ac_c_werror_flag" ||
21003 test ! -s conftest.err
21004 } && test -s conftest.$ac_objext; then
21005 ac_hi=-1 ac_mid=-1
21006 while :; do
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef int ac__type_sizeof_;
21015 int
21016 main ()
21017 {
21018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21019 test_array [0] = 0
21020
21021 ;
21022 return 0;
21023 }
21024 _ACEOF
21025 rm -f conftest.$ac_objext
21026 if { (ac_try="$ac_compile"
21027 case "(($ac_try" in
21028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21029 *) ac_try_echo=$ac_try;;
21030 esac
21031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21032 (eval "$ac_compile") 2>conftest.er1
21033 ac_status=$?
21034 grep -v '^ *+' conftest.er1 >conftest.err
21035 rm -f conftest.er1
21036 cat conftest.err >&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); } && {
21039 test -z "$ac_c_werror_flag" ||
21040 test ! -s conftest.err
21041 } && test -s conftest.$ac_objext; then
21042 ac_lo=$ac_mid; break
21043 else
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21046
21047 ac_hi=`expr '(' $ac_mid ')' - 1`
21048 if test $ac_mid -le $ac_hi; then
21049 ac_lo= ac_hi=
21050 break
21051 fi
21052 ac_mid=`expr 2 '*' $ac_mid`
21053 fi
21054
21055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 done
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 ac_lo= ac_hi=
21062 fi
21063
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 fi
21066
21067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21068 # Binary search between lo and hi bounds.
21069 while test "x$ac_lo" != "x$ac_hi"; do
21070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21071 cat >conftest.$ac_ext <<_ACEOF
21072 /* confdefs.h. */
21073 _ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 $ac_includes_default
21078 typedef int ac__type_sizeof_;
21079 int
21080 main ()
21081 {
21082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21083 test_array [0] = 0
21084
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest.$ac_objext
21090 if { (ac_try="$ac_compile"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_compile") 2>conftest.er1
21097 ac_status=$?
21098 grep -v '^ *+' conftest.er1 >conftest.err
21099 rm -f conftest.er1
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && {
21103 test -z "$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 } && test -s conftest.$ac_objext; then
21106 ac_hi=$ac_mid
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_lo=`expr '(' $ac_mid ')' + 1`
21112 fi
21113
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 done
21116 case $ac_lo in
21117 ?*) ac_cv_sizeof_int=$ac_lo;;
21118 '') if test "$ac_cv_type_int" = yes; then
21119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21120 See \`config.log' for more details." >&5
21121 echo "$as_me: error: cannot compute sizeof (int)
21122 See \`config.log' for more details." >&2;}
21123 { (exit 77); exit 77; }; }
21124 else
21125 ac_cv_sizeof_int=0
21126 fi ;;
21127 esac
21128 else
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef int ac__type_sizeof_;
21137 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21138 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21139 #include <stdio.h>
21140 #include <stdlib.h>
21141 int
21142 main ()
21143 {
21144
21145 FILE *f = fopen ("conftest.val", "w");
21146 if (! f)
21147 return 1;
21148 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21149 {
21150 long int i = longval ();
21151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21152 return 1;
21153 fprintf (f, "%ld\n", i);
21154 }
21155 else
21156 {
21157 unsigned long int i = ulongval ();
21158 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21159 return 1;
21160 fprintf (f, "%lu\n", i);
21161 }
21162 return ferror (f) || fclose (f) != 0;
21163
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest$ac_exeext
21169 if { (ac_try="$ac_link"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_link") 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21179 { (case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_try") 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; }; then
21188 ac_cv_sizeof_int=`cat conftest.val`
21189 else
21190 echo "$as_me: program exited with status $ac_status" >&5
21191 echo "$as_me: failed program was:" >&5
21192 sed 's/^/| /' conftest.$ac_ext >&5
21193
21194 ( exit $ac_status )
21195 if test "$ac_cv_type_int" = yes; then
21196 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21197 See \`config.log' for more details." >&5
21198 echo "$as_me: error: cannot compute sizeof (int)
21199 See \`config.log' for more details." >&2;}
21200 { (exit 77); exit 77; }; }
21201 else
21202 ac_cv_sizeof_int=0
21203 fi
21204 fi
21205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21206 fi
21207 rm -f conftest.val
21208 fi
21209 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21210 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21211
21212
21213
21214 cat >>confdefs.h <<_ACEOF
21215 #define SIZEOF_INT $ac_cv_sizeof_int
21216 _ACEOF
21217
21218
21219 { echo "$as_me:$LINENO: checking for long" >&5
21220 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21221 if test "${ac_cv_type_long+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21223 else
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 $ac_includes_default
21231 typedef long ac__type_new_;
21232 int
21233 main ()
21234 {
21235 if ((ac__type_new_ *) 0)
21236 return 0;
21237 if (sizeof (ac__type_new_))
21238 return 0;
21239 ;
21240 return 0;
21241 }
21242 _ACEOF
21243 rm -f conftest.$ac_objext
21244 if { (ac_try="$ac_compile"
21245 case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21248 esac
21249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21250 (eval "$ac_compile") 2>conftest.er1
21251 ac_status=$?
21252 grep -v '^ *+' conftest.er1 >conftest.err
21253 rm -f conftest.er1
21254 cat conftest.err >&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); } && {
21257 test -z "$ac_c_werror_flag" ||
21258 test ! -s conftest.err
21259 } && test -s conftest.$ac_objext; then
21260 ac_cv_type_long=yes
21261 else
21262 echo "$as_me: failed program was:" >&5
21263 sed 's/^/| /' conftest.$ac_ext >&5
21264
21265 ac_cv_type_long=no
21266 fi
21267
21268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21269 fi
21270 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21271 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21272
21273 # The cast to long int works around a bug in the HP C Compiler
21274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21276 # This bug is HP SR number 8606223364.
21277 { echo "$as_me:$LINENO: checking size of long" >&5
21278 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21279 if test "${ac_cv_sizeof_long+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21281 else
21282 if test "$cross_compiling" = yes; then
21283 # Depending upon the size, compute the lo and hi bounds.
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h. */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 $ac_includes_default
21291 typedef long ac__type_sizeof_;
21292 int
21293 main ()
21294 {
21295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21296 test_array [0] = 0
21297
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (ac_try="$ac_compile"
21304 case "(($ac_try" in
21305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21306 *) ac_try_echo=$ac_try;;
21307 esac
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21309 (eval "$ac_compile") 2>conftest.er1
21310 ac_status=$?
21311 grep -v '^ *+' conftest.er1 >conftest.err
21312 rm -f conftest.er1
21313 cat conftest.err >&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); } && {
21316 test -z "$ac_c_werror_flag" ||
21317 test ! -s conftest.err
21318 } && test -s conftest.$ac_objext; then
21319 ac_lo=0 ac_mid=0
21320 while :; do
21321 cat >conftest.$ac_ext <<_ACEOF
21322 /* confdefs.h. */
21323 _ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 $ac_includes_default
21328 typedef long ac__type_sizeof_;
21329 int
21330 main ()
21331 {
21332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21333 test_array [0] = 0
21334
21335 ;
21336 return 0;
21337 }
21338 _ACEOF
21339 rm -f conftest.$ac_objext
21340 if { (ac_try="$ac_compile"
21341 case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21344 esac
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_compile") 2>conftest.er1
21347 ac_status=$?
21348 grep -v '^ *+' conftest.er1 >conftest.err
21349 rm -f conftest.er1
21350 cat conftest.err >&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); } && {
21353 test -z "$ac_c_werror_flag" ||
21354 test ! -s conftest.err
21355 } && test -s conftest.$ac_objext; then
21356 ac_hi=$ac_mid; break
21357 else
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21360
21361 ac_lo=`expr $ac_mid + 1`
21362 if test $ac_lo -le $ac_mid; then
21363 ac_lo= ac_hi=
21364 break
21365 fi
21366 ac_mid=`expr 2 '*' $ac_mid + 1`
21367 fi
21368
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21370 done
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 cat >conftest.$ac_ext <<_ACEOF
21376 /* confdefs.h. */
21377 _ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 $ac_includes_default
21382 typedef long ac__type_sizeof_;
21383 int
21384 main ()
21385 {
21386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21387 test_array [0] = 0
21388
21389 ;
21390 return 0;
21391 }
21392 _ACEOF
21393 rm -f conftest.$ac_objext
21394 if { (ac_try="$ac_compile"
21395 case "(($ac_try" in
21396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21398 esac
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_compile") 2>conftest.er1
21401 ac_status=$?
21402 grep -v '^ *+' conftest.er1 >conftest.err
21403 rm -f conftest.er1
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && {
21407 test -z "$ac_c_werror_flag" ||
21408 test ! -s conftest.err
21409 } && test -s conftest.$ac_objext; then
21410 ac_hi=-1 ac_mid=-1
21411 while :; do
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef long ac__type_sizeof_;
21420 int
21421 main ()
21422 {
21423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21424 test_array [0] = 0
21425
21426 ;
21427 return 0;
21428 }
21429 _ACEOF
21430 rm -f conftest.$ac_objext
21431 if { (ac_try="$ac_compile"
21432 case "(($ac_try" in
21433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21434 *) ac_try_echo=$ac_try;;
21435 esac
21436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21437 (eval "$ac_compile") 2>conftest.er1
21438 ac_status=$?
21439 grep -v '^ *+' conftest.er1 >conftest.err
21440 rm -f conftest.er1
21441 cat conftest.err >&5
21442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21443 (exit $ac_status); } && {
21444 test -z "$ac_c_werror_flag" ||
21445 test ! -s conftest.err
21446 } && test -s conftest.$ac_objext; then
21447 ac_lo=$ac_mid; break
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 ac_hi=`expr '(' $ac_mid ')' - 1`
21453 if test $ac_mid -le $ac_hi; then
21454 ac_lo= ac_hi=
21455 break
21456 fi
21457 ac_mid=`expr 2 '*' $ac_mid`
21458 fi
21459
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 done
21462 else
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.$ac_ext >&5
21465
21466 ac_lo= ac_hi=
21467 fi
21468
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470 fi
21471
21472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21473 # Binary search between lo and hi bounds.
21474 while test "x$ac_lo" != "x$ac_hi"; do
21475 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 typedef long ac__type_sizeof_;
21484 int
21485 main ()
21486 {
21487 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21488 test_array [0] = 0
21489
21490 ;
21491 return 0;
21492 }
21493 _ACEOF
21494 rm -f conftest.$ac_objext
21495 if { (ac_try="$ac_compile"
21496 case "(($ac_try" in
21497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21498 *) ac_try_echo=$ac_try;;
21499 esac
21500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21501 (eval "$ac_compile") 2>conftest.er1
21502 ac_status=$?
21503 grep -v '^ *+' conftest.er1 >conftest.err
21504 rm -f conftest.er1
21505 cat conftest.err >&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } && {
21508 test -z "$ac_c_werror_flag" ||
21509 test ! -s conftest.err
21510 } && test -s conftest.$ac_objext; then
21511 ac_hi=$ac_mid
21512 else
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21515
21516 ac_lo=`expr '(' $ac_mid ')' + 1`
21517 fi
21518
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 done
21521 case $ac_lo in
21522 ?*) ac_cv_sizeof_long=$ac_lo;;
21523 '') if test "$ac_cv_type_long" = yes; then
21524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21525 See \`config.log' for more details." >&5
21526 echo "$as_me: error: cannot compute sizeof (long)
21527 See \`config.log' for more details." >&2;}
21528 { (exit 77); exit 77; }; }
21529 else
21530 ac_cv_sizeof_long=0
21531 fi ;;
21532 esac
21533 else
21534 cat >conftest.$ac_ext <<_ACEOF
21535 /* confdefs.h. */
21536 _ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21540 $ac_includes_default
21541 typedef long ac__type_sizeof_;
21542 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21543 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21544 #include <stdio.h>
21545 #include <stdlib.h>
21546 int
21547 main ()
21548 {
21549
21550 FILE *f = fopen ("conftest.val", "w");
21551 if (! f)
21552 return 1;
21553 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21554 {
21555 long int i = longval ();
21556 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21557 return 1;
21558 fprintf (f, "%ld\n", i);
21559 }
21560 else
21561 {
21562 unsigned long int i = ulongval ();
21563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21564 return 1;
21565 fprintf (f, "%lu\n", i);
21566 }
21567 return ferror (f) || fclose (f) != 0;
21568
21569 ;
21570 return 0;
21571 }
21572 _ACEOF
21573 rm -f conftest$ac_exeext
21574 if { (ac_try="$ac_link"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21578 esac
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_link") 2>&5
21581 ac_status=$?
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21584 { (case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_try") 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; }; then
21593 ac_cv_sizeof_long=`cat conftest.val`
21594 else
21595 echo "$as_me: program exited with status $ac_status" >&5
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21598
21599 ( exit $ac_status )
21600 if test "$ac_cv_type_long" = yes; then
21601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21602 See \`config.log' for more details." >&5
21603 echo "$as_me: error: cannot compute sizeof (long)
21604 See \`config.log' for more details." >&2;}
21605 { (exit 77); exit 77; }; }
21606 else
21607 ac_cv_sizeof_long=0
21608 fi
21609 fi
21610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21611 fi
21612 rm -f conftest.val
21613 fi
21614 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21615 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21616
21617
21618
21619 cat >>confdefs.h <<_ACEOF
21620 #define SIZEOF_LONG $ac_cv_sizeof_long
21621 _ACEOF
21622
21623
21624 { echo "$as_me:$LINENO: checking for size_t" >&5
21625 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21626 if test "${ac_cv_type_size_t+set}" = set; then
21627 echo $ECHO_N "(cached) $ECHO_C" >&6
21628 else
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 $ac_includes_default
21636 typedef size_t ac__type_new_;
21637 int
21638 main ()
21639 {
21640 if ((ac__type_new_ *) 0)
21641 return 0;
21642 if (sizeof (ac__type_new_))
21643 return 0;
21644 ;
21645 return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21652 *) ac_try_echo=$ac_try;;
21653 esac
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21656 ac_status=$?
21657 grep -v '^ *+' conftest.er1 >conftest.err
21658 rm -f conftest.er1
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && {
21662 test -z "$ac_c_werror_flag" ||
21663 test ! -s conftest.err
21664 } && test -s conftest.$ac_objext; then
21665 ac_cv_type_size_t=yes
21666 else
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ac_cv_type_size_t=no
21671 fi
21672
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21676 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21677
21678 # The cast to long int works around a bug in the HP C Compiler
21679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21681 # This bug is HP SR number 8606223364.
21682 { echo "$as_me:$LINENO: checking size of size_t" >&5
21683 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21684 if test "${ac_cv_sizeof_size_t+set}" = set; then
21685 echo $ECHO_N "(cached) $ECHO_C" >&6
21686 else
21687 if test "$cross_compiling" = yes; then
21688 # Depending upon the size, compute the lo and hi bounds.
21689 cat >conftest.$ac_ext <<_ACEOF
21690 /* confdefs.h. */
21691 _ACEOF
21692 cat confdefs.h >>conftest.$ac_ext
21693 cat >>conftest.$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21695 $ac_includes_default
21696 typedef size_t ac__type_sizeof_;
21697 int
21698 main ()
21699 {
21700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21701 test_array [0] = 0
21702
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (ac_try="$ac_compile"
21709 case "(($ac_try" in
21710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21711 *) ac_try_echo=$ac_try;;
21712 esac
21713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21714 (eval "$ac_compile") 2>conftest.er1
21715 ac_status=$?
21716 grep -v '^ *+' conftest.er1 >conftest.err
21717 rm -f conftest.er1
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } && {
21721 test -z "$ac_c_werror_flag" ||
21722 test ! -s conftest.err
21723 } && test -s conftest.$ac_objext; then
21724 ac_lo=0 ac_mid=0
21725 while :; do
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 typedef size_t ac__type_sizeof_;
21734 int
21735 main ()
21736 {
21737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21738 test_array [0] = 0
21739
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_hi=$ac_mid; break
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_lo=`expr $ac_mid + 1`
21767 if test $ac_lo -le $ac_mid; then
21768 ac_lo= ac_hi=
21769 break
21770 fi
21771 ac_mid=`expr 2 '*' $ac_mid + 1`
21772 fi
21773
21774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21775 done
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21779
21780 cat >conftest.$ac_ext <<_ACEOF
21781 /* confdefs.h. */
21782 _ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 $ac_includes_default
21787 typedef size_t ac__type_sizeof_;
21788 int
21789 main ()
21790 {
21791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21792 test_array [0] = 0
21793
21794 ;
21795 return 0;
21796 }
21797 _ACEOF
21798 rm -f conftest.$ac_objext
21799 if { (ac_try="$ac_compile"
21800 case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21803 esac
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_compile") 2>conftest.er1
21806 ac_status=$?
21807 grep -v '^ *+' conftest.er1 >conftest.err
21808 rm -f conftest.er1
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && {
21812 test -z "$ac_c_werror_flag" ||
21813 test ! -s conftest.err
21814 } && test -s conftest.$ac_objext; then
21815 ac_hi=-1 ac_mid=-1
21816 while :; do
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 $ac_includes_default
21824 typedef size_t ac__type_sizeof_;
21825 int
21826 main ()
21827 {
21828 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21829 test_array [0] = 0
21830
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (ac_try="$ac_compile"
21837 case "(($ac_try" in
21838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21839 *) ac_try_echo=$ac_try;;
21840 esac
21841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21842 (eval "$ac_compile") 2>conftest.er1
21843 ac_status=$?
21844 grep -v '^ *+' conftest.er1 >conftest.err
21845 rm -f conftest.er1
21846 cat conftest.err >&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); } && {
21849 test -z "$ac_c_werror_flag" ||
21850 test ! -s conftest.err
21851 } && test -s conftest.$ac_objext; then
21852 ac_lo=$ac_mid; break
21853 else
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21856
21857 ac_hi=`expr '(' $ac_mid ')' - 1`
21858 if test $ac_mid -le $ac_hi; then
21859 ac_lo= ac_hi=
21860 break
21861 fi
21862 ac_mid=`expr 2 '*' $ac_mid`
21863 fi
21864
21865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 done
21867 else
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871 ac_lo= ac_hi=
21872 fi
21873
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 fi
21876
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 # Binary search between lo and hi bounds.
21879 while test "x$ac_lo" != "x$ac_hi"; do
21880 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21881 cat >conftest.$ac_ext <<_ACEOF
21882 /* confdefs.h. */
21883 _ACEOF
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 $ac_includes_default
21888 typedef size_t ac__type_sizeof_;
21889 int
21890 main ()
21891 {
21892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21893 test_array [0] = 0
21894
21895 ;
21896 return 0;
21897 }
21898 _ACEOF
21899 rm -f conftest.$ac_objext
21900 if { (ac_try="$ac_compile"
21901 case "(($ac_try" in
21902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21903 *) ac_try_echo=$ac_try;;
21904 esac
21905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21906 (eval "$ac_compile") 2>conftest.er1
21907 ac_status=$?
21908 grep -v '^ *+' conftest.er1 >conftest.err
21909 rm -f conftest.er1
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } && {
21913 test -z "$ac_c_werror_flag" ||
21914 test ! -s conftest.err
21915 } && test -s conftest.$ac_objext; then
21916 ac_hi=$ac_mid
21917 else
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21920
21921 ac_lo=`expr '(' $ac_mid ')' + 1`
21922 fi
21923
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 done
21926 case $ac_lo in
21927 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21928 '') if test "$ac_cv_type_size_t" = yes; then
21929 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21930 See \`config.log' for more details." >&5
21931 echo "$as_me: error: cannot compute sizeof (size_t)
21932 See \`config.log' for more details." >&2;}
21933 { (exit 77); exit 77; }; }
21934 else
21935 ac_cv_sizeof_size_t=0
21936 fi ;;
21937 esac
21938 else
21939 cat >conftest.$ac_ext <<_ACEOF
21940 /* confdefs.h. */
21941 _ACEOF
21942 cat confdefs.h >>conftest.$ac_ext
21943 cat >>conftest.$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21945 $ac_includes_default
21946 typedef size_t ac__type_sizeof_;
21947 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21948 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21949 #include <stdio.h>
21950 #include <stdlib.h>
21951 int
21952 main ()
21953 {
21954
21955 FILE *f = fopen ("conftest.val", "w");
21956 if (! f)
21957 return 1;
21958 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21959 {
21960 long int i = longval ();
21961 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21962 return 1;
21963 fprintf (f, "%ld\n", i);
21964 }
21965 else
21966 {
21967 unsigned long int i = ulongval ();
21968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21969 return 1;
21970 fprintf (f, "%lu\n", i);
21971 }
21972 return ferror (f) || fclose (f) != 0;
21973
21974 ;
21975 return 0;
21976 }
21977 _ACEOF
21978 rm -f conftest$ac_exeext
21979 if { (ac_try="$ac_link"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21982 *) ac_try_echo=$ac_try;;
21983 esac
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_link") 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21989 { (case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21992 esac
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_try") 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; }; then
21998 ac_cv_sizeof_size_t=`cat conftest.val`
21999 else
22000 echo "$as_me: program exited with status $ac_status" >&5
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.$ac_ext >&5
22003
22004 ( exit $ac_status )
22005 if test "$ac_cv_type_size_t" = yes; then
22006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22007 See \`config.log' for more details." >&5
22008 echo "$as_me: error: cannot compute sizeof (size_t)
22009 See \`config.log' for more details." >&2;}
22010 { (exit 77); exit 77; }; }
22011 else
22012 ac_cv_sizeof_size_t=0
22013 fi
22014 fi
22015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22016 fi
22017 rm -f conftest.val
22018 fi
22019 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22020 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22021
22022
22023
22024 cat >>confdefs.h <<_ACEOF
22025 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22026 _ACEOF
22027
22028
22029
22030 case "${host}" in
22031 arm-*-linux* )
22032 { echo "$as_me:$LINENO: checking for long long" >&5
22033 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22034 if test "${ac_cv_type_long_long+set}" = set; then
22035 echo $ECHO_N "(cached) $ECHO_C" >&6
22036 else
22037 cat >conftest.$ac_ext <<_ACEOF
22038 /* confdefs.h. */
22039 _ACEOF
22040 cat confdefs.h >>conftest.$ac_ext
22041 cat >>conftest.$ac_ext <<_ACEOF
22042 /* end confdefs.h. */
22043 $ac_includes_default
22044 typedef long long ac__type_new_;
22045 int
22046 main ()
22047 {
22048 if ((ac__type_new_ *) 0)
22049 return 0;
22050 if (sizeof (ac__type_new_))
22051 return 0;
22052 ;
22053 return 0;
22054 }
22055 _ACEOF
22056 rm -f conftest.$ac_objext
22057 if { (ac_try="$ac_compile"
22058 case "(($ac_try" in
22059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22060 *) ac_try_echo=$ac_try;;
22061 esac
22062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22063 (eval "$ac_compile") 2>conftest.er1
22064 ac_status=$?
22065 grep -v '^ *+' conftest.er1 >conftest.err
22066 rm -f conftest.er1
22067 cat conftest.err >&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); } && {
22070 test -z "$ac_c_werror_flag" ||
22071 test ! -s conftest.err
22072 } && test -s conftest.$ac_objext; then
22073 ac_cv_type_long_long=yes
22074 else
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22077
22078 ac_cv_type_long_long=no
22079 fi
22080
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 fi
22083 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22084 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22085
22086 # The cast to long int works around a bug in the HP C Compiler
22087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22089 # This bug is HP SR number 8606223364.
22090 { echo "$as_me:$LINENO: checking size of long long" >&5
22091 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22092 if test "${ac_cv_sizeof_long_long+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 else
22095 if test "$cross_compiling" = yes; then
22096 # Depending upon the size, compute the lo and hi bounds.
22097 cat >conftest.$ac_ext <<_ACEOF
22098 /* confdefs.h. */
22099 _ACEOF
22100 cat confdefs.h >>conftest.$ac_ext
22101 cat >>conftest.$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22103 $ac_includes_default
22104 typedef long long ac__type_sizeof_;
22105 int
22106 main ()
22107 {
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22109 test_array [0] = 0
22110
22111 ;
22112 return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22132 ac_lo=0 ac_mid=0
22133 while :; do
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 $ac_includes_default
22141 typedef long long ac__type_sizeof_;
22142 int
22143 main ()
22144 {
22145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22146 test_array [0] = 0
22147
22148 ;
22149 return 0;
22150 }
22151 _ACEOF
22152 rm -f conftest.$ac_objext
22153 if { (ac_try="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22157 esac
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22160 ac_status=$?
22161 grep -v '^ *+' conftest.er1 >conftest.err
22162 rm -f conftest.er1
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.$ac_objext; then
22169 ac_hi=$ac_mid; break
22170 else
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22173
22174 ac_lo=`expr $ac_mid + 1`
22175 if test $ac_lo -le $ac_mid; then
22176 ac_lo= ac_hi=
22177 break
22178 fi
22179 ac_mid=`expr 2 '*' $ac_mid + 1`
22180 fi
22181
22182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 done
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef long long ac__type_sizeof_;
22196 int
22197 main ()
22198 {
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22200 test_array [0] = 0
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22214 ac_status=$?
22215 grep -v '^ *+' conftest.er1 >conftest.err
22216 rm -f conftest.er1
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22223 ac_hi=-1 ac_mid=-1
22224 while :; do
22225 cat >conftest.$ac_ext <<_ACEOF
22226 /* confdefs.h. */
22227 _ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef long long ac__type_sizeof_;
22233 int
22234 main ()
22235 {
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22237 test_array [0] = 0
22238
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22248 esac
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22251 ac_status=$?
22252 grep -v '^ *+' conftest.er1 >conftest.err
22253 rm -f conftest.er1
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22260 ac_lo=$ac_mid; break
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 ac_hi=`expr '(' $ac_mid ')' - 1`
22266 if test $ac_mid -le $ac_hi; then
22267 ac_lo= ac_hi=
22268 break
22269 fi
22270 ac_mid=`expr 2 '*' $ac_mid`
22271 fi
22272
22273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22274 done
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_lo= ac_hi=
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 fi
22284
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 # Binary search between lo and hi bounds.
22287 while test "x$ac_lo" != "x$ac_hi"; do
22288 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22289 cat >conftest.$ac_ext <<_ACEOF
22290 /* confdefs.h. */
22291 _ACEOF
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 $ac_includes_default
22296 typedef long long ac__type_sizeof_;
22297 int
22298 main ()
22299 {
22300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22301 test_array [0] = 0
22302
22303 ;
22304 return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (ac_try="$ac_compile"
22309 case "(($ac_try" in
22310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22311 *) ac_try_echo=$ac_try;;
22312 esac
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_compile") 2>conftest.er1
22315 ac_status=$?
22316 grep -v '^ *+' conftest.er1 >conftest.err
22317 rm -f conftest.er1
22318 cat conftest.err >&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } && {
22321 test -z "$ac_c_werror_flag" ||
22322 test ! -s conftest.err
22323 } && test -s conftest.$ac_objext; then
22324 ac_hi=$ac_mid
22325 else
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22328
22329 ac_lo=`expr '(' $ac_mid ')' + 1`
22330 fi
22331
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 done
22334 case $ac_lo in
22335 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22336 '') if test "$ac_cv_type_long_long" = yes; then
22337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22338 See \`config.log' for more details." >&5
22339 echo "$as_me: error: cannot compute sizeof (long long)
22340 See \`config.log' for more details." >&2;}
22341 { (exit 77); exit 77; }; }
22342 else
22343 ac_cv_sizeof_long_long=0
22344 fi ;;
22345 esac
22346 else
22347 cat >conftest.$ac_ext <<_ACEOF
22348 /* confdefs.h. */
22349 _ACEOF
22350 cat confdefs.h >>conftest.$ac_ext
22351 cat >>conftest.$ac_ext <<_ACEOF
22352 /* end confdefs.h. */
22353 $ac_includes_default
22354 typedef long long ac__type_sizeof_;
22355 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22356 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22357 #include <stdio.h>
22358 #include <stdlib.h>
22359 int
22360 main ()
22361 {
22362
22363 FILE *f = fopen ("conftest.val", "w");
22364 if (! f)
22365 return 1;
22366 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22367 {
22368 long int i = longval ();
22369 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22370 return 1;
22371 fprintf (f, "%ld\n", i);
22372 }
22373 else
22374 {
22375 unsigned long int i = ulongval ();
22376 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22377 return 1;
22378 fprintf (f, "%lu\n", i);
22379 }
22380 return ferror (f) || fclose (f) != 0;
22381
22382 ;
22383 return 0;
22384 }
22385 _ACEOF
22386 rm -f conftest$ac_exeext
22387 if { (ac_try="$ac_link"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22391 esac
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_link") 2>&5
22394 ac_status=$?
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22397 { (case "(($ac_try" in
22398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22399 *) ac_try_echo=$ac_try;;
22400 esac
22401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22402 (eval "$ac_try") 2>&5
22403 ac_status=$?
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); }; }; then
22406 ac_cv_sizeof_long_long=`cat conftest.val`
22407 else
22408 echo "$as_me: program exited with status $ac_status" >&5
22409 echo "$as_me: failed program was:" >&5
22410 sed 's/^/| /' conftest.$ac_ext >&5
22411
22412 ( exit $ac_status )
22413 if test "$ac_cv_type_long_long" = yes; then
22414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22415 See \`config.log' for more details." >&5
22416 echo "$as_me: error: cannot compute sizeof (long long)
22417 See \`config.log' for more details." >&2;}
22418 { (exit 77); exit 77; }; }
22419 else
22420 ac_cv_sizeof_long_long=0
22421 fi
22422 fi
22423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22424 fi
22425 rm -f conftest.val
22426 fi
22427 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22428 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22429
22430
22431
22432 cat >>confdefs.h <<_ACEOF
22433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22434 _ACEOF
22435
22436
22437 ;;
22438 *-hp-hpux* )
22439 { echo "$as_me:$LINENO: checking for long long" >&5
22440 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22441 if test "${ac_cv_type_long_long+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22443 else
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_new_;
22452 int
22453 main ()
22454 {
22455 if ((ac__type_new_ *) 0)
22456 return 0;
22457 if (sizeof (ac__type_new_))
22458 return 0;
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_cv_type_long_long=yes
22481 else
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22484
22485 ac_cv_type_long_long=no
22486 fi
22487
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 fi
22490 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22491 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22492
22493 # The cast to long int works around a bug in the HP C Compiler
22494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22496 # This bug is HP SR number 8606223364.
22497 { echo "$as_me:$LINENO: checking size of long long" >&5
22498 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22499 if test "${ac_cv_sizeof_long_long+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 else
22502 if test "$cross_compiling" = yes; then
22503 # Depending upon the size, compute the lo and hi bounds.
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 $ac_includes_default
22511 typedef long long ac__type_sizeof_;
22512 int
22513 main ()
22514 {
22515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22516 test_array [0] = 0
22517
22518 ;
22519 return 0;
22520 }
22521 _ACEOF
22522 rm -f conftest.$ac_objext
22523 if { (ac_try="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22527 esac
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22530 ac_status=$?
22531 grep -v '^ *+' conftest.er1 >conftest.err
22532 rm -f conftest.er1
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22539 ac_lo=0 ac_mid=0
22540 while :; do
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 $ac_includes_default
22548 typedef long long ac__type_sizeof_;
22549 int
22550 main ()
22551 {
22552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22553 test_array [0] = 0
22554
22555 ;
22556 return 0;
22557 }
22558 _ACEOF
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563 *) ac_try_echo=$ac_try;;
22564 esac
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22567 ac_status=$?
22568 grep -v '^ *+' conftest.er1 >conftest.err
22569 rm -f conftest.er1
22570 cat conftest.err >&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest.$ac_objext; then
22576 ac_hi=$ac_mid; break
22577 else
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 ac_lo=`expr $ac_mid + 1`
22582 if test $ac_lo -le $ac_mid; then
22583 ac_lo= ac_hi=
22584 break
22585 fi
22586 ac_mid=`expr 2 '*' $ac_mid + 1`
22587 fi
22588
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 done
22591 else
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.$ac_ext >&5
22594
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 typedef long long ac__type_sizeof_;
22603 int
22604 main ()
22605 {
22606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22607 test_array [0] = 0
22608
22609 ;
22610 return 0;
22611 }
22612 _ACEOF
22613 rm -f conftest.$ac_objext
22614 if { (ac_try="$ac_compile"
22615 case "(($ac_try" in
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22618 esac
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_compile") 2>conftest.er1
22621 ac_status=$?
22622 grep -v '^ *+' conftest.er1 >conftest.err
22623 rm -f conftest.er1
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } && {
22627 test -z "$ac_c_werror_flag" ||
22628 test ! -s conftest.err
22629 } && test -s conftest.$ac_objext; then
22630 ac_hi=-1 ac_mid=-1
22631 while :; do
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h. */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22639 typedef long long ac__type_sizeof_;
22640 int
22641 main ()
22642 {
22643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22644 test_array [0] = 0
22645
22646 ;
22647 return 0;
22648 }
22649 _ACEOF
22650 rm -f conftest.$ac_objext
22651 if { (ac_try="$ac_compile"
22652 case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22655 esac
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_compile") 2>conftest.er1
22658 ac_status=$?
22659 grep -v '^ *+' conftest.er1 >conftest.err
22660 rm -f conftest.er1
22661 cat conftest.err >&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && {
22664 test -z "$ac_c_werror_flag" ||
22665 test ! -s conftest.err
22666 } && test -s conftest.$ac_objext; then
22667 ac_lo=$ac_mid; break
22668 else
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.$ac_ext >&5
22671
22672 ac_hi=`expr '(' $ac_mid ')' - 1`
22673 if test $ac_mid -le $ac_hi; then
22674 ac_lo= ac_hi=
22675 break
22676 fi
22677 ac_mid=`expr 2 '*' $ac_mid`
22678 fi
22679
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 done
22682 else
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.$ac_ext >&5
22685
22686 ac_lo= ac_hi=
22687 fi
22688
22689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 fi
22691
22692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22693 # Binary search between lo and hi bounds.
22694 while test "x$ac_lo" != "x$ac_hi"; do
22695 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22696 cat >conftest.$ac_ext <<_ACEOF
22697 /* confdefs.h. */
22698 _ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22704 int
22705 main ()
22706 {
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22708 test_array [0] = 0
22709
22710 ;
22711 return 0;
22712 }
22713 _ACEOF
22714 rm -f conftest.$ac_objext
22715 if { (ac_try="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22719 esac
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
22731 ac_hi=$ac_mid
22732 else
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22735
22736 ac_lo=`expr '(' $ac_mid ')' + 1`
22737 fi
22738
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 done
22741 case $ac_lo in
22742 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22743 '') if test "$ac_cv_type_long_long" = yes; then
22744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22745 See \`config.log' for more details." >&5
22746 echo "$as_me: error: cannot compute sizeof (long long)
22747 See \`config.log' for more details." >&2;}
22748 { (exit 77); exit 77; }; }
22749 else
22750 ac_cv_sizeof_long_long=0
22751 fi ;;
22752 esac
22753 else
22754 cat >conftest.$ac_ext <<_ACEOF
22755 /* confdefs.h. */
22756 _ACEOF
22757 cat confdefs.h >>conftest.$ac_ext
22758 cat >>conftest.$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 $ac_includes_default
22761 typedef long long ac__type_sizeof_;
22762 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22764 #include <stdio.h>
22765 #include <stdlib.h>
22766 int
22767 main ()
22768 {
22769
22770 FILE *f = fopen ("conftest.val", "w");
22771 if (! f)
22772 return 1;
22773 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22774 {
22775 long int i = longval ();
22776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22777 return 1;
22778 fprintf (f, "%ld\n", i);
22779 }
22780 else
22781 {
22782 unsigned long int i = ulongval ();
22783 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22784 return 1;
22785 fprintf (f, "%lu\n", i);
22786 }
22787 return ferror (f) || fclose (f) != 0;
22788
22789 ;
22790 return 0;
22791 }
22792 _ACEOF
22793 rm -f conftest$ac_exeext
22794 if { (ac_try="$ac_link"
22795 case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22798 esac
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_link") 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22804 { (case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22807 esac
22808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22809 (eval "$ac_try") 2>&5
22810 ac_status=$?
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; }; then
22813 ac_cv_sizeof_long_long=`cat conftest.val`
22814 else
22815 echo "$as_me: program exited with status $ac_status" >&5
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819 ( exit $ac_status )
22820 if test "$ac_cv_type_long_long" = yes; then
22821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22822 See \`config.log' for more details." >&5
22823 echo "$as_me: error: cannot compute sizeof (long long)
22824 See \`config.log' for more details." >&2;}
22825 { (exit 77); exit 77; }; }
22826 else
22827 ac_cv_sizeof_long_long=0
22828 fi
22829 fi
22830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22831 fi
22832 rm -f conftest.val
22833 fi
22834 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22835 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22836
22837
22838
22839 cat >>confdefs.h <<_ACEOF
22840 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22841 _ACEOF
22842
22843
22844 if test "$ac_cv_sizeof_long_long" != 0; then
22845 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22846 fi
22847 ;;
22848 * )
22849 { echo "$as_me:$LINENO: checking for long long" >&5
22850 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22851 if test "${ac_cv_type_long_long+set}" = set; then
22852 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 else
22854 cat >conftest.$ac_ext <<_ACEOF
22855 /* confdefs.h. */
22856 _ACEOF
22857 cat confdefs.h >>conftest.$ac_ext
22858 cat >>conftest.$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22860 $ac_includes_default
22861 typedef long long ac__type_new_;
22862 int
22863 main ()
22864 {
22865 if ((ac__type_new_ *) 0)
22866 return 0;
22867 if (sizeof (ac__type_new_))
22868 return 0;
22869 ;
22870 return 0;
22871 }
22872 _ACEOF
22873 rm -f conftest.$ac_objext
22874 if { (ac_try="$ac_compile"
22875 case "(($ac_try" in
22876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22878 esac
22879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22880 (eval "$ac_compile") 2>conftest.er1
22881 ac_status=$?
22882 grep -v '^ *+' conftest.er1 >conftest.err
22883 rm -f conftest.er1
22884 cat conftest.err >&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } && {
22887 test -z "$ac_c_werror_flag" ||
22888 test ! -s conftest.err
22889 } && test -s conftest.$ac_objext; then
22890 ac_cv_type_long_long=yes
22891 else
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22894
22895 ac_cv_type_long_long=no
22896 fi
22897
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22899 fi
22900 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22901 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22902
22903 # The cast to long int works around a bug in the HP C Compiler
22904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22906 # This bug is HP SR number 8606223364.
22907 { echo "$as_me:$LINENO: checking size of long long" >&5
22908 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22909 if test "${ac_cv_sizeof_long_long+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 if test "$cross_compiling" = yes; then
22913 # Depending upon the size, compute the lo and hi bounds.
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 typedef long long ac__type_sizeof_;
22922 int
22923 main ()
22924 {
22925 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22926 test_array [0] = 0
22927
22928 ;
22929 return 0;
22930 }
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (ac_try="$ac_compile"
22934 case "(($ac_try" in
22935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22936 *) ac_try_echo=$ac_try;;
22937 esac
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_compile") 2>conftest.er1
22940 ac_status=$?
22941 grep -v '^ *+' conftest.er1 >conftest.err
22942 rm -f conftest.er1
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } && {
22946 test -z "$ac_c_werror_flag" ||
22947 test ! -s conftest.err
22948 } && test -s conftest.$ac_objext; then
22949 ac_lo=0 ac_mid=0
22950 while :; do
22951 cat >conftest.$ac_ext <<_ACEOF
22952 /* confdefs.h. */
22953 _ACEOF
22954 cat confdefs.h >>conftest.$ac_ext
22955 cat >>conftest.$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 $ac_includes_default
22958 typedef long long ac__type_sizeof_;
22959 int
22960 main ()
22961 {
22962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22963 test_array [0] = 0
22964
22965 ;
22966 return 0;
22967 }
22968 _ACEOF
22969 rm -f conftest.$ac_objext
22970 if { (ac_try="$ac_compile"
22971 case "(($ac_try" in
22972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22973 *) ac_try_echo=$ac_try;;
22974 esac
22975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22976 (eval "$ac_compile") 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } && {
22983 test -z "$ac_c_werror_flag" ||
22984 test ! -s conftest.err
22985 } && test -s conftest.$ac_objext; then
22986 ac_hi=$ac_mid; break
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_lo=`expr $ac_mid + 1`
22992 if test $ac_lo -le $ac_mid; then
22993 ac_lo= ac_hi=
22994 break
22995 fi
22996 ac_mid=`expr 2 '*' $ac_mid + 1`
22997 fi
22998
22999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000 done
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 cat >conftest.$ac_ext <<_ACEOF
23006 /* confdefs.h. */
23007 _ACEOF
23008 cat confdefs.h >>conftest.$ac_ext
23009 cat >>conftest.$ac_ext <<_ACEOF
23010 /* end confdefs.h. */
23011 $ac_includes_default
23012 typedef long long ac__type_sizeof_;
23013 int
23014 main ()
23015 {
23016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23017 test_array [0] = 0
23018
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (ac_try="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23028 esac
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_c_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23040 ac_hi=-1 ac_mid=-1
23041 while :; do
23042 cat >conftest.$ac_ext <<_ACEOF
23043 /* confdefs.h. */
23044 _ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 typedef long long ac__type_sizeof_;
23050 int
23051 main ()
23052 {
23053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23054 test_array [0] = 0
23055
23056 ;
23057 return 0;
23058 }
23059 _ACEOF
23060 rm -f conftest.$ac_objext
23061 if { (ac_try="$ac_compile"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23065 esac
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_compile") 2>conftest.er1
23068 ac_status=$?
23069 grep -v '^ *+' conftest.er1 >conftest.err
23070 rm -f conftest.er1
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } && {
23074 test -z "$ac_c_werror_flag" ||
23075 test ! -s conftest.err
23076 } && test -s conftest.$ac_objext; then
23077 ac_lo=$ac_mid; break
23078 else
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 ac_hi=`expr '(' $ac_mid ')' - 1`
23083 if test $ac_mid -le $ac_hi; then
23084 ac_lo= ac_hi=
23085 break
23086 fi
23087 ac_mid=`expr 2 '*' $ac_mid`
23088 fi
23089
23090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23091 done
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 ac_lo= ac_hi=
23097 fi
23098
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23100 fi
23101
23102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 # Binary search between lo and hi bounds.
23104 while test "x$ac_lo" != "x$ac_hi"; do
23105 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23106 cat >conftest.$ac_ext <<_ACEOF
23107 /* confdefs.h. */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 $ac_includes_default
23113 typedef long long ac__type_sizeof_;
23114 int
23115 main ()
23116 {
23117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23118 test_array [0] = 0
23119
23120 ;
23121 return 0;
23122 }
23123 _ACEOF
23124 rm -f conftest.$ac_objext
23125 if { (ac_try="$ac_compile"
23126 case "(($ac_try" in
23127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23128 *) ac_try_echo=$ac_try;;
23129 esac
23130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23131 (eval "$ac_compile") 2>conftest.er1
23132 ac_status=$?
23133 grep -v '^ *+' conftest.er1 >conftest.err
23134 rm -f conftest.er1
23135 cat conftest.err >&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } && {
23138 test -z "$ac_c_werror_flag" ||
23139 test ! -s conftest.err
23140 } && test -s conftest.$ac_objext; then
23141 ac_hi=$ac_mid
23142 else
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23145
23146 ac_lo=`expr '(' $ac_mid ')' + 1`
23147 fi
23148
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 done
23151 case $ac_lo in
23152 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23153 '') if test "$ac_cv_type_long_long" = yes; then
23154 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23155 See \`config.log' for more details." >&5
23156 echo "$as_me: error: cannot compute sizeof (long long)
23157 See \`config.log' for more details." >&2;}
23158 { (exit 77); exit 77; }; }
23159 else
23160 ac_cv_sizeof_long_long=0
23161 fi ;;
23162 esac
23163 else
23164 cat >conftest.$ac_ext <<_ACEOF
23165 /* confdefs.h. */
23166 _ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h. */
23170 $ac_includes_default
23171 typedef long long ac__type_sizeof_;
23172 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23173 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23174 #include <stdio.h>
23175 #include <stdlib.h>
23176 int
23177 main ()
23178 {
23179
23180 FILE *f = fopen ("conftest.val", "w");
23181 if (! f)
23182 return 1;
23183 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23184 {
23185 long int i = longval ();
23186 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23187 return 1;
23188 fprintf (f, "%ld\n", i);
23189 }
23190 else
23191 {
23192 unsigned long int i = ulongval ();
23193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23194 return 1;
23195 fprintf (f, "%lu\n", i);
23196 }
23197 return ferror (f) || fclose (f) != 0;
23198
23199 ;
23200 return 0;
23201 }
23202 _ACEOF
23203 rm -f conftest$ac_exeext
23204 if { (ac_try="$ac_link"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23208 esac
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_link") 2>&5
23211 ac_status=$?
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23214 { (case "(($ac_try" in
23215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23216 *) ac_try_echo=$ac_try;;
23217 esac
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_try") 2>&5
23220 ac_status=$?
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; }; then
23223 ac_cv_sizeof_long_long=`cat conftest.val`
23224 else
23225 echo "$as_me: program exited with status $ac_status" >&5
23226 echo "$as_me: failed program was:" >&5
23227 sed 's/^/| /' conftest.$ac_ext >&5
23228
23229 ( exit $ac_status )
23230 if test "$ac_cv_type_long_long" = yes; then
23231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23232 See \`config.log' for more details." >&5
23233 echo "$as_me: error: cannot compute sizeof (long long)
23234 See \`config.log' for more details." >&2;}
23235 { (exit 77); exit 77; }; }
23236 else
23237 ac_cv_sizeof_long_long=0
23238 fi
23239 fi
23240 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23241 fi
23242 rm -f conftest.val
23243 fi
23244 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23245 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23246
23247
23248
23249 cat >>confdefs.h <<_ACEOF
23250 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23251 _ACEOF
23252
23253
23254 esac
23255
23256 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23257 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23258 if test "${ac_cv_type_wchar_t+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261 cat >conftest.$ac_ext <<_ACEOF
23262 /* confdefs.h. */
23263 _ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267
23268 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23269 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23270 # error "fake wchar_t"
23271 #endif
23272 #ifdef HAVE_WCHAR_H
23273 # ifdef __CYGWIN__
23274 # include <stddef.h>
23275 # endif
23276 # include <wchar.h>
23277 #endif
23278 #ifdef HAVE_STDLIB_H
23279 # include <stdlib.h>
23280 #endif
23281 #include <stdio.h>
23282
23283
23284
23285 typedef wchar_t ac__type_new_;
23286 int
23287 main ()
23288 {
23289 if ((ac__type_new_ *) 0)
23290 return 0;
23291 if (sizeof (ac__type_new_))
23292 return 0;
23293 ;
23294 return 0;
23295 }
23296 _ACEOF
23297 rm -f conftest.$ac_objext
23298 if { (ac_try="$ac_compile"
23299 case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302 esac
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_compile") 2>conftest.er1
23305 ac_status=$?
23306 grep -v '^ *+' conftest.er1 >conftest.err
23307 rm -f conftest.er1
23308 cat conftest.err >&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } && {
23311 test -z "$ac_c_werror_flag" ||
23312 test ! -s conftest.err
23313 } && test -s conftest.$ac_objext; then
23314 ac_cv_type_wchar_t=yes
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23318
23319 ac_cv_type_wchar_t=no
23320 fi
23321
23322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23323 fi
23324 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23325 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23326
23327 # The cast to long int works around a bug in the HP C Compiler
23328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23330 # This bug is HP SR number 8606223364.
23331 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23332 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23333 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 else
23336 if test "$cross_compiling" = yes; then
23337 # Depending upon the size, compute the lo and hi bounds.
23338 cat >conftest.$ac_ext <<_ACEOF
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344
23345 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23346 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23347 # error "fake wchar_t"
23348 #endif
23349 #ifdef HAVE_WCHAR_H
23350 # ifdef __CYGWIN__
23351 # include <stddef.h>
23352 # endif
23353 # include <wchar.h>
23354 #endif
23355 #ifdef HAVE_STDLIB_H
23356 # include <stdlib.h>
23357 #endif
23358 #include <stdio.h>
23359
23360
23361
23362 typedef wchar_t ac__type_sizeof_;
23363 int
23364 main ()
23365 {
23366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23367 test_array [0] = 0
23368
23369 ;
23370 return 0;
23371 }
23372 _ACEOF
23373 rm -f conftest.$ac_objext
23374 if { (ac_try="$ac_compile"
23375 case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23378 esac
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_compile") 2>conftest.er1
23381 ac_status=$?
23382 grep -v '^ *+' conftest.er1 >conftest.err
23383 rm -f conftest.er1
23384 cat conftest.err >&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } && {
23387 test -z "$ac_c_werror_flag" ||
23388 test ! -s conftest.err
23389 } && test -s conftest.$ac_objext; then
23390 ac_lo=0 ac_mid=0
23391 while :; do
23392 cat >conftest.$ac_ext <<_ACEOF
23393 /* confdefs.h. */
23394 _ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23398
23399 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23400 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23401 # error "fake wchar_t"
23402 #endif
23403 #ifdef HAVE_WCHAR_H
23404 # ifdef __CYGWIN__
23405 # include <stddef.h>
23406 # endif
23407 # include <wchar.h>
23408 #endif
23409 #ifdef HAVE_STDLIB_H
23410 # include <stdlib.h>
23411 #endif
23412 #include <stdio.h>
23413
23414
23415
23416 typedef wchar_t ac__type_sizeof_;
23417 int
23418 main ()
23419 {
23420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23421 test_array [0] = 0
23422
23423 ;
23424 return 0;
23425 }
23426 _ACEOF
23427 rm -f conftest.$ac_objext
23428 if { (ac_try="$ac_compile"
23429 case "(($ac_try" in
23430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23431 *) ac_try_echo=$ac_try;;
23432 esac
23433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23434 (eval "$ac_compile") 2>conftest.er1
23435 ac_status=$?
23436 grep -v '^ *+' conftest.er1 >conftest.err
23437 rm -f conftest.er1
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } && {
23441 test -z "$ac_c_werror_flag" ||
23442 test ! -s conftest.err
23443 } && test -s conftest.$ac_objext; then
23444 ac_hi=$ac_mid; break
23445 else
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23448
23449 ac_lo=`expr $ac_mid + 1`
23450 if test $ac_lo -le $ac_mid; then
23451 ac_lo= ac_hi=
23452 break
23453 fi
23454 ac_mid=`expr 2 '*' $ac_mid + 1`
23455 fi
23456
23457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23458 done
23459 else
23460 echo "$as_me: failed program was:" >&5
23461 sed 's/^/| /' conftest.$ac_ext >&5
23462
23463 cat >conftest.$ac_ext <<_ACEOF
23464 /* confdefs.h. */
23465 _ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23469
23470 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23471 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23472 # error "fake wchar_t"
23473 #endif
23474 #ifdef HAVE_WCHAR_H
23475 # ifdef __CYGWIN__
23476 # include <stddef.h>
23477 # endif
23478 # include <wchar.h>
23479 #endif
23480 #ifdef HAVE_STDLIB_H
23481 # include <stdlib.h>
23482 #endif
23483 #include <stdio.h>
23484
23485
23486
23487 typedef wchar_t ac__type_sizeof_;
23488 int
23489 main ()
23490 {
23491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23492 test_array [0] = 0
23493
23494 ;
23495 return 0;
23496 }
23497 _ACEOF
23498 rm -f conftest.$ac_objext
23499 if { (ac_try="$ac_compile"
23500 case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23503 esac
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_compile") 2>conftest.er1
23506 ac_status=$?
23507 grep -v '^ *+' conftest.er1 >conftest.err
23508 rm -f conftest.er1
23509 cat conftest.err >&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } && {
23512 test -z "$ac_c_werror_flag" ||
23513 test ! -s conftest.err
23514 } && test -s conftest.$ac_objext; then
23515 ac_hi=-1 ac_mid=-1
23516 while :; do
23517 cat >conftest.$ac_ext <<_ACEOF
23518 /* confdefs.h. */
23519 _ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523
23524 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23525 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23526 # error "fake wchar_t"
23527 #endif
23528 #ifdef HAVE_WCHAR_H
23529 # ifdef __CYGWIN__
23530 # include <stddef.h>
23531 # endif
23532 # include <wchar.h>
23533 #endif
23534 #ifdef HAVE_STDLIB_H
23535 # include <stdlib.h>
23536 #endif
23537 #include <stdio.h>
23538
23539
23540
23541 typedef wchar_t ac__type_sizeof_;
23542 int
23543 main ()
23544 {
23545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23546 test_array [0] = 0
23547
23548 ;
23549 return 0;
23550 }
23551 _ACEOF
23552 rm -f conftest.$ac_objext
23553 if { (ac_try="$ac_compile"
23554 case "(($ac_try" in
23555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23556 *) ac_try_echo=$ac_try;;
23557 esac
23558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23559 (eval "$ac_compile") 2>conftest.er1
23560 ac_status=$?
23561 grep -v '^ *+' conftest.er1 >conftest.err
23562 rm -f conftest.er1
23563 cat conftest.err >&5
23564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565 (exit $ac_status); } && {
23566 test -z "$ac_c_werror_flag" ||
23567 test ! -s conftest.err
23568 } && test -s conftest.$ac_objext; then
23569 ac_lo=$ac_mid; break
23570 else
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.$ac_ext >&5
23573
23574 ac_hi=`expr '(' $ac_mid ')' - 1`
23575 if test $ac_mid -le $ac_hi; then
23576 ac_lo= ac_hi=
23577 break
23578 fi
23579 ac_mid=`expr 2 '*' $ac_mid`
23580 fi
23581
23582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23583 done
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23587
23588 ac_lo= ac_hi=
23589 fi
23590
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592 fi
23593
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 # Binary search between lo and hi bounds.
23596 while test "x$ac_lo" != "x$ac_hi"; do
23597 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23598 cat >conftest.$ac_ext <<_ACEOF
23599 /* confdefs.h. */
23600 _ACEOF
23601 cat confdefs.h >>conftest.$ac_ext
23602 cat >>conftest.$ac_ext <<_ACEOF
23603 /* end confdefs.h. */
23604
23605 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23606 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23607 # error "fake wchar_t"
23608 #endif
23609 #ifdef HAVE_WCHAR_H
23610 # ifdef __CYGWIN__
23611 # include <stddef.h>
23612 # endif
23613 # include <wchar.h>
23614 #endif
23615 #ifdef HAVE_STDLIB_H
23616 # include <stdlib.h>
23617 #endif
23618 #include <stdio.h>
23619
23620
23621
23622 typedef wchar_t ac__type_sizeof_;
23623 int
23624 main ()
23625 {
23626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23627 test_array [0] = 0
23628
23629 ;
23630 return 0;
23631 }
23632 _ACEOF
23633 rm -f conftest.$ac_objext
23634 if { (ac_try="$ac_compile"
23635 case "(($ac_try" in
23636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23637 *) ac_try_echo=$ac_try;;
23638 esac
23639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23640 (eval "$ac_compile") 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } && {
23647 test -z "$ac_c_werror_flag" ||
23648 test ! -s conftest.err
23649 } && test -s conftest.$ac_objext; then
23650 ac_hi=$ac_mid
23651 else
23652 echo "$as_me: failed program was:" >&5
23653 sed 's/^/| /' conftest.$ac_ext >&5
23654
23655 ac_lo=`expr '(' $ac_mid ')' + 1`
23656 fi
23657
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 done
23660 case $ac_lo in
23661 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23662 '') if test "$ac_cv_type_wchar_t" = yes; then
23663 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23664 See \`config.log' for more details." >&5
23665 echo "$as_me: error: cannot compute sizeof (wchar_t)
23666 See \`config.log' for more details." >&2;}
23667 { (exit 77); exit 77; }; }
23668 else
23669 ac_cv_sizeof_wchar_t=0
23670 fi ;;
23671 esac
23672 else
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679
23680 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23681 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23682 # error "fake wchar_t"
23683 #endif
23684 #ifdef HAVE_WCHAR_H
23685 # ifdef __CYGWIN__
23686 # include <stddef.h>
23687 # endif
23688 # include <wchar.h>
23689 #endif
23690 #ifdef HAVE_STDLIB_H
23691 # include <stdlib.h>
23692 #endif
23693 #include <stdio.h>
23694
23695
23696
23697 typedef wchar_t ac__type_sizeof_;
23698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 #include <stdio.h>
23701 #include <stdlib.h>
23702 int
23703 main ()
23704 {
23705
23706 FILE *f = fopen ("conftest.val", "w");
23707 if (! f)
23708 return 1;
23709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23710 {
23711 long int i = longval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 return 1;
23714 fprintf (f, "%ld\n", i);
23715 }
23716 else
23717 {
23718 unsigned long int i = ulongval ();
23719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23720 return 1;
23721 fprintf (f, "%lu\n", i);
23722 }
23723 return ferror (f) || fclose (f) != 0;
23724
23725 ;
23726 return 0;
23727 }
23728 _ACEOF
23729 rm -f conftest$ac_exeext
23730 if { (ac_try="$ac_link"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23734 esac
23735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_link") 2>&5
23737 ac_status=$?
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; }; then
23749 ac_cv_sizeof_wchar_t=`cat conftest.val`
23750 else
23751 echo "$as_me: program exited with status $ac_status" >&5
23752 echo "$as_me: failed program was:" >&5
23753 sed 's/^/| /' conftest.$ac_ext >&5
23754
23755 ( exit $ac_status )
23756 if test "$ac_cv_type_wchar_t" = yes; then
23757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23758 See \`config.log' for more details." >&5
23759 echo "$as_me: error: cannot compute sizeof (wchar_t)
23760 See \`config.log' for more details." >&2;}
23761 { (exit 77); exit 77; }; }
23762 else
23763 ac_cv_sizeof_wchar_t=0
23764 fi
23765 fi
23766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23767 fi
23768 rm -f conftest.val
23769 fi
23770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23771 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23772
23773
23774
23775 cat >>confdefs.h <<_ACEOF
23776 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23777 _ACEOF
23778
23779
23780 if test "$ac_cv_sizeof_wchar_t" != 0; then
23781 wxUSE_WCHAR_T=yes
23782 else
23783 wxUSE_WCHAR_T=no
23784 fi
23785
23786 { echo "$as_me:$LINENO: checking for va_copy" >&5
23787 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23788 if test "${wx_cv_func_va_copy+set}" = set; then
23789 echo $ECHO_N "(cached) $ECHO_C" >&6
23790 else
23791
23792 ac_ext=cpp
23793 ac_cpp='$CXXCPP $CPPFLAGS'
23794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797
23798 cat >conftest.$ac_ext <<_ACEOF
23799
23800 #include <stdarg.h>
23801 void foo(char *f, ...)
23802 {
23803 va_list ap1, ap2;
23804 va_start(ap1, f);
23805 va_copy(ap2, ap1);
23806 va_end(ap2);
23807 va_end(ap1);
23808 }
23809 int main()
23810 {
23811 foo("hi", 17);
23812 return 0;
23813 }
23814 _ACEOF
23815 rm -f conftest.$ac_objext conftest$ac_exeext
23816 if { (ac_try="$ac_link"
23817 case "(($ac_try" in
23818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23819 *) ac_try_echo=$ac_try;;
23820 esac
23821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23822 (eval "$ac_link") 2>conftest.er1
23823 ac_status=$?
23824 grep -v '^ *+' conftest.er1 >conftest.err
23825 rm -f conftest.er1
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } && {
23829 test -z "$ac_cxx_werror_flag" ||
23830 test ! -s conftest.err
23831 } && test -s conftest$ac_exeext &&
23832 $as_test_x conftest$ac_exeext; then
23833 wx_cv_func_va_copy=yes
23834 else
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 wx_cv_func_va_copy=no
23839
23840 fi
23841
23842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23843 conftest$ac_exeext conftest.$ac_ext
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849
23850
23851
23852 fi
23853 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23854 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23855
23856 if test $wx_cv_func_va_copy = "yes"; then
23857 cat >>confdefs.h <<\_ACEOF
23858 #define HAVE_VA_COPY 1
23859 _ACEOF
23860
23861 else
23862 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23863 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23864 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23865 echo $ECHO_N "(cached) $ECHO_C" >&6
23866 else
23867
23868 if test "$cross_compiling" = yes; then
23869 wx_cv_type_va_list_lvalue=yes
23870
23871 else
23872 cat >conftest.$ac_ext <<_ACEOF
23873
23874 #include <stdarg.h>
23875 int foo(char *f, ...)
23876 {
23877 va_list ap1, ap2;
23878 va_start(ap1, f);
23879 ap2 = ap1;
23880 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23881 return 1;
23882 va_end(ap2);
23883 va_end(ap1);
23884 return 0;
23885 }
23886 int main()
23887 {
23888 return foo("hi", 17);
23889 }
23890 _ACEOF
23891 rm -f conftest$ac_exeext
23892 if { (ac_try="$ac_link"
23893 case "(($ac_try" in
23894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23895 *) ac_try_echo=$ac_try;;
23896 esac
23897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23898 (eval "$ac_link") 2>&5
23899 ac_status=$?
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23902 { (case "(($ac_try" in
23903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23904 *) ac_try_echo=$ac_try;;
23905 esac
23906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23907 (eval "$ac_try") 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 wx_cv_type_va_list_lvalue=yes
23912 else
23913 echo "$as_me: program exited with status $ac_status" >&5
23914 echo "$as_me: failed program was:" >&5
23915 sed 's/^/| /' conftest.$ac_ext >&5
23916
23917 ( exit $ac_status )
23918 wx_cv_type_va_list_lvalue=no
23919 fi
23920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23921 fi
23922
23923
23924
23925
23926 fi
23927 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23928 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23929
23930 if test $wx_cv_type_va_list_lvalue != "yes"; then
23931 cat >>confdefs.h <<\_ACEOF
23932 #define VA_LIST_IS_ARRAY 1
23933 _ACEOF
23934
23935 fi
23936 fi
23937
23938 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23939
23940 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23941 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23942 if test "${wx_cv_have_variadic_macros+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23944 else
23945
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958
23959 #include <stdio.h>
23960 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23961
23962 int
23963 main ()
23964 {
23965
23966 test("%s %d %p", "test", 1, 0);
23967
23968
23969 ;
23970 return 0;
23971 }
23972 _ACEOF
23973 rm -f conftest.$ac_objext
23974 if { (ac_try="$ac_compile"
23975 case "(($ac_try" in
23976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23977 *) ac_try_echo=$ac_try;;
23978 esac
23979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23980 (eval "$ac_compile") 2>conftest.er1
23981 ac_status=$?
23982 grep -v '^ *+' conftest.er1 >conftest.err
23983 rm -f conftest.er1
23984 cat conftest.err >&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } && {
23987 test -z "$ac_cxx_werror_flag" ||
23988 test ! -s conftest.err
23989 } && test -s conftest.$ac_objext; then
23990 wx_cv_have_variadic_macros=yes
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23994
23995 wx_cv_have_variadic_macros=no
23996
23997 fi
23998
23999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24000 ac_ext=c
24001 ac_cpp='$CPP $CPPFLAGS'
24002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24005
24006
24007
24008 fi
24009 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24010 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24011
24012 if test $wx_cv_have_variadic_macros = "yes"; then
24013 cat >>confdefs.h <<\_ACEOF
24014 #define HAVE_VARIADIC_MACROS 1
24015 _ACEOF
24016
24017 fi
24018
24019 fi
24020
24021 LARGEFILE_CPPFLAGS=
24022 # Check whether --enable-largefile was given.
24023 if test "${enable_largefile+set}" = set; then
24024 enableval=$enable_largefile;
24025 fi
24026
24027 if test "$enable_largefile" != no; then
24028 wx_largefile=no
24029
24030 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24031 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24032 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 else
24035
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h. */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042 #define _FILE_OFFSET_BITS 64
24043 #include <sys/types.h>
24044 int
24045 main ()
24046 {
24047 typedef struct {
24048 unsigned int field: sizeof(off_t) == 8;
24049 } wxlf;
24050
24051 ;
24052 return 0;
24053 }
24054 _ACEOF
24055 rm -f conftest.$ac_objext
24056 if { (ac_try="$ac_compile"
24057 case "(($ac_try" in
24058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24059 *) ac_try_echo=$ac_try;;
24060 esac
24061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24062 (eval "$ac_compile") 2>conftest.er1
24063 ac_status=$?
24064 grep -v '^ *+' conftest.er1 >conftest.err
24065 rm -f conftest.er1
24066 cat conftest.err >&5
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } && {
24069 test -z "$ac_c_werror_flag" ||
24070 test ! -s conftest.err
24071 } && test -s conftest.$ac_objext; then
24072 ac_cv_sys_file_offset_bits=64
24073 else
24074 echo "$as_me: failed program was:" >&5
24075 sed 's/^/| /' conftest.$ac_ext >&5
24076
24077 ac_cv_sys_file_offset_bits=no
24078 fi
24079
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081
24082
24083 fi
24084 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24085 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24086
24087 if test "$ac_cv_sys_file_offset_bits" != no; then
24088 wx_largefile=yes
24089 cat >>confdefs.h <<_ACEOF
24090 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24091 _ACEOF
24092
24093 fi
24094
24095 if test "x$wx_largefile" != "xyes"; then
24096
24097 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24098 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24099 if test "${ac_cv_sys_large_files+set}" = set; then
24100 echo $ECHO_N "(cached) $ECHO_C" >&6
24101 else
24102
24103 cat >conftest.$ac_ext <<_ACEOF
24104 /* confdefs.h. */
24105 _ACEOF
24106 cat confdefs.h >>conftest.$ac_ext
24107 cat >>conftest.$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 #define _LARGE_FILES 1
24110 #include <sys/types.h>
24111 int
24112 main ()
24113 {
24114 typedef struct {
24115 unsigned int field: sizeof(off_t) == 8;
24116 } wxlf;
24117
24118 ;
24119 return 0;
24120 }
24121 _ACEOF
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127 esac
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_c_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_cv_sys_large_files=1
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_cv_sys_large_files=no
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148
24149
24150 fi
24151 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24152 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24153
24154 if test "$ac_cv_sys_large_files" != no; then
24155 wx_largefile=yes
24156 cat >>confdefs.h <<_ACEOF
24157 #define _LARGE_FILES $ac_cv_sys_large_files
24158 _ACEOF
24159
24160 fi
24161
24162 fi
24163
24164 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24165 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24166 if test "x$wx_largefile" = "xyes"; then
24167 cat >>confdefs.h <<\_ACEOF
24168 #define HAVE_LARGEFILE_SUPPORT 1
24169 _ACEOF
24170
24171 fi
24172 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24173 echo "${ECHO_T}$wx_largefile" >&6; }
24174 fi
24175
24176 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24177 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24178 elif test "$ac_cv_sys_large_files" = 1; then
24179 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24180 fi
24181
24182 if test -n "$LARGEFILE_CPPFLAGS"; then
24183 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24184
24185 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24186 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24187 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24188 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24189 echo $ECHO_N "(cached) $ECHO_C" >&6
24190 else
24191
24192 ac_ext=cpp
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24197
24198 cat >conftest.$ac_ext <<_ACEOF
24199 /* confdefs.h. */
24200 _ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204
24205 int
24206 main ()
24207 {
24208
24209 #ifndef __STDC_EXT__
24210 choke me
24211 #endif
24212
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24222 esac
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24225 ac_status=$?
24226 grep -v '^ *+' conftest.er1 >conftest.err
24227 rm -f conftest.er1
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_STDC_EXT_required=no
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 wx_cv_STDC_EXT_required=yes
24240
24241 fi
24242
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244 ac_ext=c
24245 ac_cpp='$CPP $CPPFLAGS'
24246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24249
24250
24251
24252 fi
24253 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24254 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24255 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24256 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24257 fi
24258 fi
24259 fi
24260
24261 ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24266
24267 old_CPPFLAGS="$CPPFLAGS"
24268 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24269 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24270 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24271 if test "${ac_cv_sys_largefile_source+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 while :; do
24275 cat >conftest.$ac_ext <<_ACEOF
24276 /* confdefs.h. */
24277 _ACEOF
24278 cat confdefs.h >>conftest.$ac_ext
24279 cat >>conftest.$ac_ext <<_ACEOF
24280 /* end confdefs.h. */
24281 #include <sys/types.h> /* for off_t */
24282 #include <stdio.h>
24283 int
24284 main ()
24285 {
24286 int (*fp) (FILE *, off_t, int) = fseeko;
24287 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest.$ac_objext conftest$ac_exeext
24293 if { (ac_try="$ac_link"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24297 esac
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_link") 2>conftest.er1
24300 ac_status=$?
24301 grep -v '^ *+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_cxx_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest$ac_exeext &&
24309 $as_test_x conftest$ac_exeext; then
24310 ac_cv_sys_largefile_source=no; break
24311 else
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24314
24315
24316 fi
24317
24318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24319 conftest$ac_exeext conftest.$ac_ext
24320 cat >conftest.$ac_ext <<_ACEOF
24321 /* confdefs.h. */
24322 _ACEOF
24323 cat confdefs.h >>conftest.$ac_ext
24324 cat >>conftest.$ac_ext <<_ACEOF
24325 /* end confdefs.h. */
24326 #define _LARGEFILE_SOURCE 1
24327 #include <sys/types.h> /* for off_t */
24328 #include <stdio.h>
24329 int
24330 main ()
24331 {
24332 int (*fp) (FILE *, off_t, int) = fseeko;
24333 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24334 ;
24335 return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (ac_try="$ac_link"
24340 case "(($ac_try" in
24341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342 *) ac_try_echo=$ac_try;;
24343 esac
24344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345 (eval "$ac_link") 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } && {
24352 test -z "$ac_cxx_werror_flag" ||
24353 test ! -s conftest.err
24354 } && test -s conftest$ac_exeext &&
24355 $as_test_x conftest$ac_exeext; then
24356 ac_cv_sys_largefile_source=1; break
24357 else
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24360
24361
24362 fi
24363
24364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24365 conftest$ac_exeext conftest.$ac_ext
24366 ac_cv_sys_largefile_source=unknown
24367 break
24368 done
24369 fi
24370 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24371 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24372 case $ac_cv_sys_largefile_source in #(
24373 no | unknown) ;;
24374 *)
24375 cat >>confdefs.h <<_ACEOF
24376 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24377 _ACEOF
24378 ;;
24379 esac
24380 rm -f conftest*
24381
24382 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24383 # in glibc 2.1.3, but that breaks too many other things.
24384 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24385 if test $ac_cv_sys_largefile_source != unknown; then
24386
24387 cat >>confdefs.h <<\_ACEOF
24388 #define HAVE_FSEEKO 1
24389 _ACEOF
24390
24391 fi
24392
24393 CPPFLAGS="$old_CPPFLAGS"
24394 ac_ext=c
24395 ac_cpp='$CPP $CPPFLAGS'
24396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24399
24400 if test "$ac_cv_sys_largefile_source" != no; then
24401 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24402 fi
24403
24404 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24405 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24406 if test "${ac_cv_c_bigendian+set}" = set; then
24407 echo $ECHO_N "(cached) $ECHO_C" >&6
24408 else
24409 ac_cv_c_bigendian=unknown
24410 # See if sys/param.h defines the BYTE_ORDER macro.
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 <sys/types.h>
24418 #include <sys/param.h>
24419 int
24420 main ()
24421 {
24422
24423 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24424 bogus endian macros
24425 #endif
24426 ;
24427 return 0;
24428 }
24429 _ACEOF
24430 rm -f conftest.$ac_objext
24431 if { (ac_try="$ac_compile"
24432 case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24435 esac
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_compile") 2>conftest.er1
24438 ac_status=$?
24439 grep -v '^ *+' conftest.er1 >conftest.err
24440 rm -f conftest.er1
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } && {
24444 test -z "$ac_c_werror_flag" ||
24445 test ! -s conftest.err
24446 } && test -s conftest.$ac_objext; then
24447 # It does; now see whether it defined to BIG_ENDIAN or not.
24448 cat >conftest.$ac_ext <<_ACEOF
24449 /* confdefs.h. */
24450 _ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 #include <sys/types.h>
24455 #include <sys/param.h>
24456 int
24457 main ()
24458 {
24459
24460 #if BYTE_ORDER != BIG_ENDIAN
24461 not big endian
24462 #endif
24463 ;
24464 return 0;
24465 }
24466 _ACEOF
24467 rm -f conftest.$ac_objext
24468 if { (ac_try="$ac_compile"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24472 esac
24473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_compile") 2>conftest.er1
24475 ac_status=$?
24476 grep -v '^ *+' conftest.er1 >conftest.err
24477 rm -f conftest.er1
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); } && {
24481 test -z "$ac_c_werror_flag" ||
24482 test ! -s conftest.err
24483 } && test -s conftest.$ac_objext; then
24484 ac_cv_c_bigendian=yes
24485 else
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.$ac_ext >&5
24488
24489 ac_cv_c_bigendian=no
24490 fi
24491
24492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497
24498 fi
24499
24500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24501 if test $ac_cv_c_bigendian = unknown; then
24502 if test "$cross_compiling" = yes; then
24503 ac_cv_c_bigendian=unknown
24504 else
24505 cat >conftest.$ac_ext <<_ACEOF
24506 /* confdefs.h. */
24507 _ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 main () {
24512 /* Are we little or big endian? From Harbison&Steele. */
24513 union
24514 {
24515 long l;
24516 char c[sizeof (long)];
24517 } u;
24518 u.l = 1;
24519 exit (u.c[sizeof (long) - 1] == 1);
24520 }
24521 _ACEOF
24522 rm -f conftest$ac_exeext
24523 if { (ac_try="$ac_link"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24527 esac
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_link") 2>&5
24530 ac_status=$?
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24533 { (case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24536 esac
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_try") 2>&5
24539 ac_status=$?
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 ac_cv_c_bigendian=no
24543 else
24544 echo "$as_me: program exited with status $ac_status" >&5
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548 ( exit $ac_status )
24549 ac_cv_c_bigendian=yes
24550 fi
24551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24552 fi
24553
24554
24555 fi
24556 fi
24557 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24558 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24559 if test $ac_cv_c_bigendian = unknown; then
24560 { 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
24561 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;}
24562 fi
24563 if test $ac_cv_c_bigendian = yes; then
24564 cat >>confdefs.h <<\_ACEOF
24565 #define WORDS_BIGENDIAN 1
24566 _ACEOF
24567
24568 fi
24569
24570
24571
24572
24573 ac_ext=cpp
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578
24579
24580
24581 for ac_header in iostream
24582 do
24583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 else
24589 cat >conftest.$ac_ext <<_ACEOF
24590 /* confdefs.h. */
24591 _ACEOF
24592 cat confdefs.h >>conftest.$ac_ext
24593 cat >>conftest.$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24595
24596
24597 #include <$ac_header>
24598 _ACEOF
24599 rm -f conftest.$ac_objext
24600 if { (ac_try="$ac_compile"
24601 case "(($ac_try" in
24602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24603 *) ac_try_echo=$ac_try;;
24604 esac
24605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24606 (eval "$ac_compile") 2>conftest.er1
24607 ac_status=$?
24608 grep -v '^ *+' conftest.er1 >conftest.err
24609 rm -f conftest.er1
24610 cat conftest.err >&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); } && {
24613 test -z "$ac_cxx_werror_flag" ||
24614 test ! -s conftest.err
24615 } && test -s conftest.$ac_objext; then
24616 eval "$as_ac_Header=yes"
24617 else
24618 echo "$as_me: failed program was:" >&5
24619 sed 's/^/| /' conftest.$ac_ext >&5
24620
24621 eval "$as_ac_Header=no"
24622 fi
24623
24624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24625 fi
24626 ac_res=`eval echo '${'$as_ac_Header'}'`
24627 { echo "$as_me:$LINENO: result: $ac_res" >&5
24628 echo "${ECHO_T}$ac_res" >&6; }
24629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24630 cat >>confdefs.h <<_ACEOF
24631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24632 _ACEOF
24633
24634 fi
24635
24636 done
24637
24638
24639 if test "$ac_cv_header_iostream" = "yes" ; then
24640 :
24641 else
24642 cat >>confdefs.h <<\_ACEOF
24643 #define wxUSE_IOSTREAMH 1
24644 _ACEOF
24645
24646 fi
24647
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24653
24654
24655
24656
24657 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24658 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24659 if test "${wx_cv_explicit+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662
24663
24664 ac_ext=cpp
24665 ac_cpp='$CXXCPP $CPPFLAGS'
24666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669
24670
24671 cat >conftest.$ac_ext <<_ACEOF
24672 /* confdefs.h. */
24673 _ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677
24678 class Foo { public: explicit Foo(int) {} };
24679
24680 int
24681 main ()
24682 {
24683
24684 return 0;
24685
24686 ;
24687 return 0;
24688 }
24689 _ACEOF
24690 rm -f conftest.$ac_objext
24691 if { (ac_try="$ac_compile"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24695 esac
24696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_compile") 2>conftest.er1
24698 ac_status=$?
24699 grep -v '^ *+' conftest.er1 >conftest.err
24700 rm -f conftest.er1
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } && {
24704 test -z "$ac_cxx_werror_flag" ||
24705 test ! -s conftest.err
24706 } && test -s conftest.$ac_objext; then
24707
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714
24715 class Foo { public: explicit Foo(int) {} };
24716 static void TakeFoo(const Foo& foo) { }
24717
24718 int
24719 main ()
24720 {
24721
24722 TakeFoo(17);
24723 return 0;
24724
24725 ;
24726 return 0;
24727 }
24728 _ACEOF
24729 rm -f conftest.$ac_objext
24730 if { (ac_try="$ac_compile"
24731 case "(($ac_try" in
24732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24733 *) ac_try_echo=$ac_try;;
24734 esac
24735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24736 (eval "$ac_compile") 2>conftest.er1
24737 ac_status=$?
24738 grep -v '^ *+' conftest.er1 >conftest.err
24739 rm -f conftest.er1
24740 cat conftest.err >&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); } && {
24743 test -z "$ac_cxx_werror_flag" ||
24744 test ! -s conftest.err
24745 } && test -s conftest.$ac_objext; then
24746 wx_cv_explicit=no
24747 else
24748 echo "$as_me: failed program was:" >&5
24749 sed 's/^/| /' conftest.$ac_ext >&5
24750
24751 wx_cv_explicit=yes
24752
24753 fi
24754
24755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24756
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 wx_cv_explicit=no
24762
24763 fi
24764
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766
24767 ac_ext=c
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24772
24773
24774 fi
24775 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24776 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24777
24778 if test "$wx_cv_explicit" = "yes"; then
24779 cat >>confdefs.h <<\_ACEOF
24780 #define HAVE_EXPLICIT 1
24781 _ACEOF
24782
24783 fi
24784
24785
24786 if test "x$SUNCXX" = xyes; then
24787 CXXFLAGS="-features=tmplife $CXXFLAGS"
24788 fi
24789
24790 if test "x$SUNCC" = xyes; then
24791 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24792 fi
24793
24794 if test "x$SGICC" = "xyes"; then
24795 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24796 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24797 if test "${wx_cv_prog_sgicc744+set}" = set; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 else
24800
24801 cat >conftest.$ac_ext <<_ACEOF
24802 /* confdefs.h. */
24803 _ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24807
24808 int
24809 main ()
24810 {
24811
24812 #if _SGI_COMPILER_VERSION >= 744
24813 chock me: mipsPro is 7.4.4 or later
24814 #endif
24815
24816 ;
24817 return 0;
24818 }
24819 _ACEOF
24820 rm -f conftest.$ac_objext
24821 if { (ac_try="$ac_compile"
24822 case "(($ac_try" in
24823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24824 *) ac_try_echo=$ac_try;;
24825 esac
24826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24827 (eval "$ac_compile") 2>conftest.er1
24828 ac_status=$?
24829 grep -v '^ *+' conftest.er1 >conftest.err
24830 rm -f conftest.er1
24831 cat conftest.err >&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } && {
24834 test -z "$ac_c_werror_flag" ||
24835 test ! -s conftest.err
24836 } && test -s conftest.$ac_objext; then
24837 wx_cv_prog_sgicc744=no
24838 else
24839 echo "$as_me: failed program was:" >&5
24840 sed 's/^/| /' conftest.$ac_ext >&5
24841
24842 wx_cv_prog_sgicc744=yes
24843
24844 fi
24845
24846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24847
24848
24849 fi
24850 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24851 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24852
24853 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24854 CFLAGS="-woff 3970 $CFLAGS"
24855 fi
24856 fi
24857 if test "x$SGICXX" = "xyes"; then
24858 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24859 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24860 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24861 echo $ECHO_N "(cached) $ECHO_C" >&6
24862 else
24863
24864 ac_ext=cpp
24865 ac_cpp='$CXXCPP $CPPFLAGS'
24866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24869
24870 cat >conftest.$ac_ext <<_ACEOF
24871 /* confdefs.h. */
24872 _ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24876
24877 int
24878 main ()
24879 {
24880
24881 #if _SGI_COMPILER_VERSION >= 744
24882 chock me: mipsPro is 7.4.4 or later
24883 #endif
24884
24885 ;
24886 return 0;
24887 }
24888 _ACEOF
24889 rm -f conftest.$ac_objext
24890 if { (ac_try="$ac_compile"
24891 case "(($ac_try" in
24892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24893 *) ac_try_echo=$ac_try;;
24894 esac
24895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24896 (eval "$ac_compile") 2>conftest.er1
24897 ac_status=$?
24898 grep -v '^ *+' conftest.er1 >conftest.err
24899 rm -f conftest.er1
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } && {
24903 test -z "$ac_cxx_werror_flag" ||
24904 test ! -s conftest.err
24905 } && test -s conftest.$ac_objext; then
24906 wx_cv_prog_sgicxx744=no
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24910
24911 wx_cv_prog_sgicxx744=yes
24912
24913 fi
24914
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921
24922
24923
24924 fi
24925 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24926 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24927
24928 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24929 CXXFLAGS="-woff 3970 $CXXFLAGS"
24930 fi
24931 fi
24932
24933 if test "x$HPCC" = "xyes"; then
24934 CFLAGS="+W 2011,2450 $CFLAGS"
24935 fi
24936 if test "x$HPCXX" = "xyes"; then
24937 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24938 fi
24939
24940 if test "x$COMPAQCXX" = "xyes"; then
24941 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24942 fi
24943
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950
24951 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24952 if test "$wxUSE_UNICODE" = "yes"; then
24953 std_string="std::wstring"
24954 char_type="wchar_t"
24955 else
24956 std_string="std::string"
24957 char_type="char"
24958 fi
24959
24960 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24961 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24962 if test "${wx_cv_class_stdstring+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965
24966 cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h. */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 #include <string>
24973 int
24974 main ()
24975 {
24976 $std_string foo;
24977 ;
24978 return 0;
24979 }
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (ac_try="$ac_compile"
24983 case "(($ac_try" in
24984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24985 *) ac_try_echo=$ac_try;;
24986 esac
24987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24988 (eval "$ac_compile") 2>conftest.er1
24989 ac_status=$?
24990 grep -v '^ *+' conftest.er1 >conftest.err
24991 rm -f conftest.er1
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } && {
24995 test -z "$ac_cxx_werror_flag" ||
24996 test ! -s conftest.err
24997 } && test -s conftest.$ac_objext; then
24998 wx_cv_class_stdstring=yes
24999 else
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.$ac_ext >&5
25002
25003 wx_cv_class_stdstring=no
25004
25005 fi
25006
25007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25008
25009
25010 fi
25011 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25012 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25013
25014 if test "$wx_cv_class_stdstring" = yes; then
25015 if test "$wxUSE_UNICODE" = "yes"; then
25016 cat >>confdefs.h <<\_ACEOF
25017 #define HAVE_STD_WSTRING 1
25018 _ACEOF
25019
25020 fi
25021 else
25022 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25023 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25024 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25025 echo $ECHO_N "(cached) $ECHO_C" >&6
25026 else
25027
25028 cat >conftest.$ac_ext <<_ACEOF
25029 /* confdefs.h. */
25030 _ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25034
25035 #ifdef HAVE_WCHAR_H
25036 # ifdef __CYGWIN__
25037 # include <stddef.h>
25038 # endif
25039 # include <wchar.h>
25040 #endif
25041 #ifdef HAVE_STDLIB_H
25042 # include <stdlib.h>
25043 #endif
25044 #include <stdio.h>
25045 #include <string>
25046
25047 int
25048 main ()
25049 {
25050 std::basic_string<$char_type> foo;
25051 const $char_type* dummy = foo.c_str();
25052 ;
25053 return 0;
25054 }
25055 _ACEOF
25056 rm -f conftest.$ac_objext
25057 if { (ac_try="$ac_compile"
25058 case "(($ac_try" in
25059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25060 *) ac_try_echo=$ac_try;;
25061 esac
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25063 (eval "$ac_compile") 2>conftest.er1
25064 ac_status=$?
25065 grep -v '^ *+' conftest.er1 >conftest.err
25066 rm -f conftest.er1
25067 cat conftest.err >&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } && {
25070 test -z "$ac_cxx_werror_flag" ||
25071 test ! -s conftest.err
25072 } && test -s conftest.$ac_objext; then
25073 wx_cv_class_stdbasicstring=yes
25074 else
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.$ac_ext >&5
25077
25078 wx_cv_class_stdbasicstring=no
25079
25080 fi
25081
25082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25083
25084
25085 fi
25086 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25087 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25088
25089 if test "$wx_cv_class_stdbasicstring" != yes; then
25090 if test "$wxUSE_STL" = "yes"; then
25091 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25092 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25093 { (exit 1); exit 1; }; }
25094 elif test "$wxUSE_STD_STRING" = "yes"; then
25095 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25096 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25097 { (exit 1); exit 1; }; }
25098 else
25099 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25100 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25101 wxUSE_STD_STRING=no
25102 fi
25103 fi
25104 fi
25105 fi
25106
25107 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25108 { echo "$as_me:$LINENO: checking for std::istream" >&5
25109 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25110 if test "${ac_cv_type_std__istream+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 else
25113 cat >conftest.$ac_ext <<_ACEOF
25114 /* confdefs.h. */
25115 _ACEOF
25116 cat confdefs.h >>conftest.$ac_ext
25117 cat >>conftest.$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25119 #include <iostream>
25120
25121 typedef std::istream ac__type_new_;
25122 int
25123 main ()
25124 {
25125 if ((ac__type_new_ *) 0)
25126 return 0;
25127 if (sizeof (ac__type_new_))
25128 return 0;
25129 ;
25130 return 0;
25131 }
25132 _ACEOF
25133 rm -f conftest.$ac_objext
25134 if { (ac_try="$ac_compile"
25135 case "(($ac_try" in
25136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25137 *) ac_try_echo=$ac_try;;
25138 esac
25139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25140 (eval "$ac_compile") 2>conftest.er1
25141 ac_status=$?
25142 grep -v '^ *+' conftest.er1 >conftest.err
25143 rm -f conftest.er1
25144 cat conftest.err >&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && {
25147 test -z "$ac_cxx_werror_flag" ||
25148 test ! -s conftest.err
25149 } && test -s conftest.$ac_objext; then
25150 ac_cv_type_std__istream=yes
25151 else
25152 echo "$as_me: failed program was:" >&5
25153 sed 's/^/| /' conftest.$ac_ext >&5
25154
25155 ac_cv_type_std__istream=no
25156 fi
25157
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 fi
25160 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25161 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25162 if test $ac_cv_type_std__istream = yes; then
25163
25164 cat >>confdefs.h <<_ACEOF
25165 #define HAVE_STD__ISTREAM 1
25166 _ACEOF
25167
25168
25169 else
25170 wxUSE_STD_IOSTREAM=no
25171 fi
25172 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25173 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25174 if test "${ac_cv_type_std__ostream+set}" = set; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25176 else
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 #include <iostream>
25184
25185 typedef std::ostream ac__type_new_;
25186 int
25187 main ()
25188 {
25189 if ((ac__type_new_ *) 0)
25190 return 0;
25191 if (sizeof (ac__type_new_))
25192 return 0;
25193 ;
25194 return 0;
25195 }
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_type_std__ostream=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 ac_cv_type_std__ostream=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_type_std__ostream" >&5
25225 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25226 if test $ac_cv_type_std__ostream = yes; then
25227
25228 cat >>confdefs.h <<_ACEOF
25229 #define HAVE_STD__OSTREAM 1
25230 _ACEOF
25231
25232
25233 else
25234 wxUSE_STD_IOSTREAM=no
25235 fi
25236
25237
25238 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25239 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25240 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25241 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25242 { (exit 1); exit 1; }; }
25243 else
25244 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25245 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25246 fi
25247 fi
25248 fi
25249
25250 if test "$wxUSE_STL" = "yes"; then
25251 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25252 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25253 if test "${wx_cv_lib_stl+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 else
25256 cat >conftest.$ac_ext <<_ACEOF
25257 /* confdefs.h. */
25258 _ACEOF
25259 cat confdefs.h >>conftest.$ac_ext
25260 cat >>conftest.$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25262 #include <string>
25263 #include <functional>
25264 #include <algorithm>
25265 #include <vector>
25266 #include <list>
25267 int
25268 main ()
25269 {
25270 std::vector<int> moo;
25271 std::list<int> foo;
25272 std::vector<int>::iterator it =
25273 std::find_if(moo.begin(), moo.end(),
25274 std::bind2nd(std::less<int>(), 3));
25275 ;
25276 return 0;
25277 }
25278 _ACEOF
25279 rm -f conftest.$ac_objext
25280 if { (ac_try="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_cxx_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.$ac_objext; then
25296 wx_cv_lib_stl=yes
25297 else
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25300
25301 wx_cv_lib_stl=no
25302
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306
25307 fi
25308 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25309 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25310
25311 if test "$wx_cv_lib_stl" != yes; then
25312 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25313 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25314 { (exit 1); exit 1; }; }
25315 fi
25316
25317 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25318 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25319 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 else
25322 cat >conftest.$ac_ext <<_ACEOF
25323 /* confdefs.h. */
25324 _ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 #include <string>
25329 int
25330 main ()
25331 {
25332 std::string foo, bar;
25333 foo.compare(bar);
25334 foo.compare(1, 1, bar);
25335 foo.compare(1, 1, bar, 1, 1);
25336 foo.compare("");
25337 foo.compare(1, 1, "");
25338 foo.compare(1, 1, "", 2);
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 rm -f conftest.$ac_objext
25344 if { (ac_try="$ac_compile"
25345 case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25347 *) ac_try_echo=$ac_try;;
25348 esac
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_compile") 2>conftest.er1
25351 ac_status=$?
25352 grep -v '^ *+' conftest.er1 >conftest.err
25353 rm -f conftest.er1
25354 cat conftest.err >&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } && {
25357 test -z "$ac_cxx_werror_flag" ||
25358 test ! -s conftest.err
25359 } && test -s conftest.$ac_objext; then
25360 wx_cv_func_stdstring_compare=yes
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365 wx_cv_func_stdstring_compare=no
25366
25367 fi
25368
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25370
25371 fi
25372 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25373 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25374
25375 if test "$wx_cv_func_stdstring_compare" = yes; then
25376 cat >>confdefs.h <<\_ACEOF
25377 #define HAVE_STD_STRING_COMPARE 1
25378 _ACEOF
25379
25380 fi
25381
25382 if test "$wx_cv_class_gnuhashmapset" = yes; then
25383 cat >>confdefs.h <<\_ACEOF
25384 #define HAVE_EXT_HASH_MAP 1
25385 _ACEOF
25386
25387 cat >>confdefs.h <<\_ACEOF
25388 #define HAVE_GNU_CXX_HASH_MAP 1
25389 _ACEOF
25390
25391 fi
25392
25393 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25394 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25395 if test "${ac_cv_header_unordered_map+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 else
25398 cat >conftest.$ac_ext <<_ACEOF
25399 /* confdefs.h. */
25400 _ACEOF
25401 cat confdefs.h >>conftest.$ac_ext
25402 cat >>conftest.$ac_ext <<_ACEOF
25403 /* end confdefs.h. */
25404
25405
25406
25407 #include <unordered_map>
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (ac_try="$ac_compile"
25411 case "(($ac_try" in
25412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25413 *) ac_try_echo=$ac_try;;
25414 esac
25415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25416 (eval "$ac_compile") 2>conftest.er1
25417 ac_status=$?
25418 grep -v '^ *+' conftest.er1 >conftest.err
25419 rm -f conftest.er1
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } && {
25423 test -z "$ac_cxx_werror_flag" ||
25424 test ! -s conftest.err
25425 } && test -s conftest.$ac_objext; then
25426 ac_cv_header_unordered_map=yes
25427 else
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25430
25431 ac_cv_header_unordered_map=no
25432 fi
25433
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435 fi
25436 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25437 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25438 if test $ac_cv_header_unordered_map = yes; then
25439 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25440 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25441 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 #include <unordered_map>
25451 #include <unordered_set>
25452 int
25453 main ()
25454 {
25455 std::unordered_map<double*, char*> test1;
25456 std::unordered_set<char*> test2;
25457 ;
25458 return 0;
25459 }
25460 _ACEOF
25461 rm -f conftest.$ac_objext
25462 if { (ac_try="$ac_compile"
25463 case "(($ac_try" in
25464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25465 *) ac_try_echo=$ac_try;;
25466 esac
25467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25468 (eval "$ac_compile") 2>conftest.er1
25469 ac_status=$?
25470 grep -v '^ *+' conftest.er1 >conftest.err
25471 rm -f conftest.er1
25472 cat conftest.err >&5
25473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474 (exit $ac_status); } && {
25475 test -z "$ac_cxx_werror_flag" ||
25476 test ! -s conftest.err
25477 } && test -s conftest.$ac_objext; then
25478 wx_cv_class_stdunorderedmapset=yes
25479 else
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25482
25483 wx_cv_class_stdunorderedmapset=no
25484 fi
25485
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25487
25488
25489 fi
25490 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25491 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25492 fi
25493
25494
25495
25496 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25497 cat >>confdefs.h <<\_ACEOF
25498 #define HAVE_STD_UNORDERED_MAP 1
25499 _ACEOF
25500
25501 cat >>confdefs.h <<\_ACEOF
25502 #define HAVE_STD_UNORDERED_SET 1
25503 _ACEOF
25504
25505 else
25506 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25507 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25508 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511 cat >conftest.$ac_ext <<_ACEOF
25512 /* confdefs.h. */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25517
25518
25519
25520 #include <tr1/unordered_map>
25521 _ACEOF
25522 rm -f conftest.$ac_objext
25523 if { (ac_try="$ac_compile"
25524 case "(($ac_try" in
25525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25526 *) ac_try_echo=$ac_try;;
25527 esac
25528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25529 (eval "$ac_compile") 2>conftest.er1
25530 ac_status=$?
25531 grep -v '^ *+' conftest.er1 >conftest.err
25532 rm -f conftest.er1
25533 cat conftest.err >&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); } && {
25536 test -z "$ac_cxx_werror_flag" ||
25537 test ! -s conftest.err
25538 } && test -s conftest.$ac_objext; then
25539 ac_cv_header_tr1_unordered_map=yes
25540 else
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.$ac_ext >&5
25543
25544 ac_cv_header_tr1_unordered_map=no
25545 fi
25546
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25548 fi
25549 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25550 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25551 if test $ac_cv_header_tr1_unordered_map = yes; then
25552 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25553 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25554 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 else
25557 cat >conftest.$ac_ext <<_ACEOF
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 #include <tr1/unordered_map>
25564 #include <tr1/unordered_set>
25565 int
25566 main ()
25567 {
25568 std::tr1::unordered_map<double*, char*> test1;
25569 std::tr1::unordered_set<char*> test2;
25570 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25571 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25572 #endif
25573 ;
25574 return 0;
25575 }
25576 _ACEOF
25577 rm -f conftest.$ac_objext
25578 if { (ac_try="$ac_compile"
25579 case "(($ac_try" in
25580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25581 *) ac_try_echo=$ac_try;;
25582 esac
25583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25584 (eval "$ac_compile") 2>conftest.er1
25585 ac_status=$?
25586 grep -v '^ *+' conftest.er1 >conftest.err
25587 rm -f conftest.er1
25588 cat conftest.err >&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); } && {
25591 test -z "$ac_cxx_werror_flag" ||
25592 test ! -s conftest.err
25593 } && test -s conftest.$ac_objext; then
25594 wx_cv_class_tr1unorderedmapset=yes
25595 else
25596 echo "$as_me: failed program was:" >&5
25597 sed 's/^/| /' conftest.$ac_ext >&5
25598
25599 wx_cv_class_tr1unorderedmapset=no
25600 fi
25601
25602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25603
25604
25605 fi
25606 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25607 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25608 fi
25609
25610
25611
25612 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25613 cat >>confdefs.h <<\_ACEOF
25614 #define HAVE_TR1_UNORDERED_MAP 1
25615 _ACEOF
25616
25617 cat >>confdefs.h <<\_ACEOF
25618 #define HAVE_TR1_UNORDERED_SET 1
25619 _ACEOF
25620
25621 else
25622 { echo "$as_me:$LINENO: checking for hash_map" >&5
25623 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25624 if test "${ac_cv_header_hash_map+set}" = set; then
25625 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 else
25627 cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633
25634
25635
25636 #include <hash_map>
25637 _ACEOF
25638 rm -f conftest.$ac_objext
25639 if { (ac_try="$ac_compile"
25640 case "(($ac_try" in
25641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25642 *) ac_try_echo=$ac_try;;
25643 esac
25644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25645 (eval "$ac_compile") 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } && {
25652 test -z "$ac_cxx_werror_flag" ||
25653 test ! -s conftest.err
25654 } && test -s conftest.$ac_objext; then
25655 ac_cv_header_hash_map=yes
25656 else
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.$ac_ext >&5
25659
25660 ac_cv_header_hash_map=no
25661 fi
25662
25663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25664 fi
25665 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25666 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25667 if test $ac_cv_header_hash_map = yes; then
25668 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25669 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25670 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673 cat >conftest.$ac_ext <<_ACEOF
25674 /* confdefs.h. */
25675 _ACEOF
25676 cat confdefs.h >>conftest.$ac_ext
25677 cat >>conftest.$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 #include <hash_map>
25680 #include <hash_set>
25681 int
25682 main ()
25683 {
25684 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25685 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25686 ;
25687 return 0;
25688 }
25689 _ACEOF
25690 rm -f conftest.$ac_objext
25691 if { (ac_try="$ac_compile"
25692 case "(($ac_try" in
25693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25694 *) ac_try_echo=$ac_try;;
25695 esac
25696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25697 (eval "$ac_compile") 2>conftest.er1
25698 ac_status=$?
25699 grep -v '^ *+' conftest.er1 >conftest.err
25700 rm -f conftest.er1
25701 cat conftest.err >&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } && {
25704 test -z "$ac_cxx_werror_flag" ||
25705 test ! -s conftest.err
25706 } && test -s conftest.$ac_objext; then
25707 wx_cv_class_stdhashmapset=yes
25708 else
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.$ac_ext >&5
25711
25712 wx_cv_class_stdhashmapset=no
25713 fi
25714
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25716
25717
25718 fi
25719 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25720 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25721 fi
25722
25723
25724
25725 if test "$wx_cv_class_stdhashmapset" = yes; then
25726 cat >>confdefs.h <<\_ACEOF
25727 #define HAVE_HASH_MAP 1
25728 _ACEOF
25729
25730 cat >>confdefs.h <<\_ACEOF
25731 #define HAVE_STD_HASH_MAP 1
25732 _ACEOF
25733
25734 fi
25735
25736 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25737 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25738 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25740 else
25741 cat >conftest.$ac_ext <<_ACEOF
25742 /* confdefs.h. */
25743 _ACEOF
25744 cat confdefs.h >>conftest.$ac_ext
25745 cat >>conftest.$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25747
25748
25749
25750 #include <ext/hash_map>
25751 _ACEOF
25752 rm -f conftest.$ac_objext
25753 if { (ac_try="$ac_compile"
25754 case "(($ac_try" in
25755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25756 *) ac_try_echo=$ac_try;;
25757 esac
25758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25759 (eval "$ac_compile") 2>conftest.er1
25760 ac_status=$?
25761 grep -v '^ *+' conftest.er1 >conftest.err
25762 rm -f conftest.er1
25763 cat conftest.err >&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); } && {
25766 test -z "$ac_cxx_werror_flag" ||
25767 test ! -s conftest.err
25768 } && test -s conftest.$ac_objext; then
25769 ac_cv_header_ext_hash_map=yes
25770 else
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.$ac_ext >&5
25773
25774 ac_cv_header_ext_hash_map=no
25775 fi
25776
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 fi
25779 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25780 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25781 if test $ac_cv_header_ext_hash_map = yes; then
25782 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25783 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25784 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25785 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 else
25787 cat >conftest.$ac_ext <<_ACEOF
25788 /* confdefs.h. */
25789 _ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793 #include <ext/hash_map>
25794 #include <ext/hash_set>
25795 int
25796 main ()
25797 {
25798 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25799 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25800 ;
25801 return 0;
25802 }
25803 _ACEOF
25804 rm -f conftest.$ac_objext
25805 if { (ac_try="$ac_compile"
25806 case "(($ac_try" in
25807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25808 *) ac_try_echo=$ac_try;;
25809 esac
25810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25811 (eval "$ac_compile") 2>conftest.er1
25812 ac_status=$?
25813 grep -v '^ *+' conftest.er1 >conftest.err
25814 rm -f conftest.er1
25815 cat conftest.err >&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); } && {
25818 test -z "$ac_cxx_werror_flag" ||
25819 test ! -s conftest.err
25820 } && test -s conftest.$ac_objext; then
25821 wx_cv_class_gnuhashmapset=yes
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25825
25826 wx_cv_class_gnuhashmapset=no
25827 fi
25828
25829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25830
25831
25832 fi
25833 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25834 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25835 fi
25836
25837
25838
25839 fi
25840 fi
25841 fi
25842
25843
25844
25845 if test -n "$GCC"; then
25846 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25847 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25848 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25849 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 else
25851
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858
25859 int
25860 main ()
25861 {
25862
25863 unsigned int value=0;
25864 /* wxAtomicInc doesn't use return value here */
25865 __sync_fetch_and_add(&value, 2);
25866 __sync_sub_and_fetch(&value, 1);
25867 /* but wxAtomicDec does, so mimic that: */
25868 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25869
25870 ;
25871 return 0;
25872 }
25873 _ACEOF
25874 rm -f conftest.$ac_objext conftest$ac_exeext
25875 if { (ac_try="$ac_link"
25876 case "(($ac_try" in
25877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25878 *) ac_try_echo=$ac_try;;
25879 esac
25880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25881 (eval "$ac_link") 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_cxx_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest$ac_exeext &&
25891 $as_test_x conftest$ac_exeext; then
25892 wx_cv_cc_gcc_atomic_builtins=yes
25893 else
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25896
25897 wx_cv_cc_gcc_atomic_builtins=no
25898 fi
25899
25900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25901 conftest$ac_exeext conftest.$ac_ext
25902
25903 fi
25904
25905 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25906 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25907 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25908 cat >>confdefs.h <<\_ACEOF
25909 #define HAVE_GCC_ATOMIC_BUILTINS 1
25910 _ACEOF
25911
25912 fi
25913 fi
25914
25915
25916 ac_ext=c
25917 ac_cpp='$CPP $CPPFLAGS'
25918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25921
25922
25923
25924 SEARCH_INCLUDE="\
25925 /usr/local/include \
25926 /usr/local/X11/include \
25927 /usr/local/include/X11 \
25928 /usr/local/X11R7/include \
25929 /usr/local/X11R6/include \
25930 /usr/local/include/X11R7 \
25931 /usr/local/include/X11R6 \
25932 \
25933 /usr/Motif-2.1/include \
25934 /usr/Motif-1.2/include \
25935 /usr/include/Motif1.2 \
25936 \
25937 /usr/dt/include \
25938 /usr/openwin/include \
25939 \
25940 /usr/include/Xm \
25941 \
25942 /usr/X11R7/include \
25943 /usr/X11R6/include \
25944 /usr/X11R6.4/include \
25945 \
25946 /usr/include/X11R7 \
25947 /usr/include/X11R6 \
25948 \
25949 /usr/X11/include \
25950 /usr/include/X11 \
25951 \
25952 /usr/XFree86/include/X11 \
25953 /usr/pkg/include \
25954 \
25955 /usr/local/X1R5/include \
25956 /usr/local/include/X11R5 \
25957 /usr/X11R5/include \
25958 /usr/include/X11R5 \
25959 \
25960 /usr/local/X11R4/include \
25961 /usr/local/include/X11R4 \
25962 /usr/X11R4/include \
25963 /usr/include/X11R4 \
25964 \
25965 /usr/openwin/share/include"
25966
25967 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25968 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25969
25970 case "${host}" in
25971 *-*-irix6* )
25972 if test "${wx_cv_std_libpath+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975
25976 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25977 for e in a so sl dylib dll.a; do
25978 libc="$d/libc.$e"
25979 if test -f $libc; then
25980 save_LIBS="$LIBS"
25981 LIBS="$libc"
25982 cat >conftest.$ac_ext <<_ACEOF
25983 int main() { return 0; }
25984 _ACEOF
25985 rm -f conftest.$ac_objext conftest$ac_exeext
25986 if { (ac_try="$ac_link"
25987 case "(($ac_try" in
25988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25989 *) ac_try_echo=$ac_try;;
25990 esac
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_link") 2>conftest.er1
25993 ac_status=$?
25994 grep -v '^ *+' conftest.er1 >conftest.err
25995 rm -f conftest.er1
25996 cat conftest.err >&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && {
25999 test -z "$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26001 } && test -s conftest$ac_exeext &&
26002 $as_test_x conftest$ac_exeext; then
26003 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26004 else
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26007
26008
26009 fi
26010
26011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26012 conftest$ac_exeext conftest.$ac_ext
26013 LIBS="$save_LIBS"
26014 if test "x$wx_cv_std_libpath" != "x"; then
26015 break 2
26016 fi
26017 fi
26018 done
26019 done
26020 if test "x$wx_cv_std_libpath" = "x"; then
26021 wx_cv_std_libpath="lib"
26022 fi
26023
26024
26025 fi
26026
26027 ;;
26028
26029 *-*-solaris2* )
26030 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26031 wx_cv_std_libpath="lib/64"
26032 else
26033 wx_cv_std_libpath="lib"
26034 fi
26035 ;;
26036
26037 *-*-linux* )
26038 if test "$ac_cv_sizeof_void_p" = 8 -a \
26039 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26040 wx_cv_std_libpath="lib64"
26041 else
26042 wx_cv_std_libpath="lib"
26043 fi
26044 ;;
26045
26046 *)
26047 wx_cv_std_libpath="lib";
26048 ;;
26049 esac
26050
26051 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26052 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26053
26054 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26055
26056 if test "$build" != "$host" -a "$GCC" = yes; then
26057 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26058 cross_root=`dirname $cross_root`
26059 cross_root=`dirname $cross_root`
26060
26061 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26062 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26063 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26064
26065 if test -z "$PKG_CONFIG_PATH"; then
26066 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26067 export PKG_CONFIG_PATH
26068 fi
26069
26070 if test -z "$x_includes" -o "$x_includes" = NONE; then
26071
26072 ac_find_includes=
26073 for ac_dir in $SEARCH_INCLUDE /usr/include;
26074 do
26075 if test -f "$ac_dir/X11/Intrinsic.h"; then
26076 ac_find_includes=$ac_dir
26077 break
26078 fi
26079 done
26080
26081 x_includes=$ac_find_includes
26082 fi
26083 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26084
26085 ac_find_libraries=
26086 for ac_dir in $SEARCH_LIB;
26087 do
26088 for ac_extension in a so sl dylib dll.a; do
26089 if test -f "$ac_dir/libXt.$ac_extension"; then
26090 ac_find_libraries=$ac_dir
26091 break 2
26092 fi
26093 done
26094 done
26095
26096 x_libraries=$ac_find_libraries
26097 fi
26098 fi
26099 fi
26100
26101
26102 cat >confcache <<\_ACEOF
26103 # This file is a shell script that caches the results of configure
26104 # tests run on this system so they can be shared between configure
26105 # scripts and configure runs, see configure's option --config-cache.
26106 # It is not useful on other systems. If it contains results you don't
26107 # want to keep, you may remove or edit it.
26108 #
26109 # config.status only pays attention to the cache file if you give it
26110 # the --recheck option to rerun configure.
26111 #
26112 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26113 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26114 # following values.
26115
26116 _ACEOF
26117
26118 # The following way of writing the cache mishandles newlines in values,
26119 # but we know of no workaround that is simple, portable, and efficient.
26120 # So, we kill variables containing newlines.
26121 # Ultrix sh set writes to stderr and can't be redirected directly,
26122 # and sets the high bit in the cache file unless we assign to the vars.
26123 (
26124 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26125 eval ac_val=\$$ac_var
26126 case $ac_val in #(
26127 *${as_nl}*)
26128 case $ac_var in #(
26129 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26131 esac
26132 case $ac_var in #(
26133 _ | IFS | as_nl) ;; #(
26134 *) $as_unset $ac_var ;;
26135 esac ;;
26136 esac
26137 done
26138
26139 (set) 2>&1 |
26140 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26141 *${as_nl}ac_space=\ *)
26142 # `set' does not quote correctly, so add quotes (double-quote
26143 # substitution turns \\\\ into \\, and sed turns \\ into \).
26144 sed -n \
26145 "s/'/'\\\\''/g;
26146 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26147 ;; #(
26148 *)
26149 # `set' quotes correctly as required by POSIX, so do not add quotes.
26150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26151 ;;
26152 esac |
26153 sort
26154 ) |
26155 sed '
26156 /^ac_cv_env_/b end
26157 t clear
26158 :clear
26159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26160 t end
26161 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26162 :end' >>confcache
26163 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26164 if test -w "$cache_file"; then
26165 test "x$cache_file" != "x/dev/null" &&
26166 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26167 echo "$as_me: updating cache $cache_file" >&6;}
26168 cat confcache >$cache_file
26169 else
26170 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26171 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26172 fi
26173 fi
26174 rm -f confcache
26175
26176 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26177 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26178 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26179 if test "${wx_cv_lib_glibc21+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26182
26183 cat >conftest.$ac_ext <<_ACEOF
26184 /* confdefs.h. */
26185 _ACEOF
26186 cat confdefs.h >>conftest.$ac_ext
26187 cat >>conftest.$ac_ext <<_ACEOF
26188 /* end confdefs.h. */
26189 #include <features.h>
26190 int
26191 main ()
26192 {
26193
26194 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26195 not glibc 2.1
26196 #endif
26197
26198 ;
26199 return 0;
26200 }
26201 _ACEOF
26202 rm -f conftest.$ac_objext
26203 if { (ac_try="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26207 esac
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_c_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26219
26220 wx_cv_lib_glibc21=yes
26221
26222 else
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26225
26226
26227 wx_cv_lib_glibc21=no
26228
26229
26230 fi
26231
26232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26233
26234 fi
26235 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26236 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26237 if test "$wx_cv_lib_glibc21" = "yes"; then
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxHAVE_GLIBC2 1
26240 _ACEOF
26241
26242 fi
26243 fi
26244
26245 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26246 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26247 cat >>confdefs.h <<\_ACEOF
26248 #define _GNU_SOURCE 1
26249 _ACEOF
26250
26251 fi
26252 fi
26253
26254 have_cos=0
26255 have_floor=0
26256
26257 for ac_func in cos
26258 do
26259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 else
26265 cat >conftest.$ac_ext <<_ACEOF
26266 /* confdefs.h. */
26267 _ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26273 #define $ac_func innocuous_$ac_func
26274
26275 /* System header to define __stub macros and hopefully few prototypes,
26276 which can conflict with char $ac_func (); below.
26277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26278 <limits.h> exists even on freestanding compilers. */
26279
26280 #ifdef __STDC__
26281 # include <limits.h>
26282 #else
26283 # include <assert.h>
26284 #endif
26285
26286 #undef $ac_func
26287
26288 /* Override any GCC internal prototype to avoid an error.
26289 Use char because int might match the return type of a GCC
26290 builtin and then its argument prototype would still apply. */
26291 #ifdef __cplusplus
26292 extern "C"
26293 #endif
26294 char $ac_func ();
26295 /* The GNU C library defines this for functions which it implements
26296 to always fail with ENOSYS. Some functions are actually named
26297 something starting with __ and the normal name is an alias. */
26298 #if defined __stub_$ac_func || defined __stub___$ac_func
26299 choke me
26300 #endif
26301
26302 int
26303 main ()
26304 {
26305 return $ac_func ();
26306 ;
26307 return 0;
26308 }
26309 _ACEOF
26310 rm -f conftest.$ac_objext conftest$ac_exeext
26311 if { (ac_try="$ac_link"
26312 case "(($ac_try" in
26313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26314 *) ac_try_echo=$ac_try;;
26315 esac
26316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26317 (eval "$ac_link") 2>conftest.er1
26318 ac_status=$?
26319 grep -v '^ *+' conftest.er1 >conftest.err
26320 rm -f conftest.er1
26321 cat conftest.err >&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); } && {
26324 test -z "$ac_c_werror_flag" ||
26325 test ! -s conftest.err
26326 } && test -s conftest$ac_exeext &&
26327 $as_test_x conftest$ac_exeext; then
26328 eval "$as_ac_var=yes"
26329 else
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333 eval "$as_ac_var=no"
26334 fi
26335
26336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26337 conftest$ac_exeext conftest.$ac_ext
26338 fi
26339 ac_res=`eval echo '${'$as_ac_var'}'`
26340 { echo "$as_me:$LINENO: result: $ac_res" >&5
26341 echo "${ECHO_T}$ac_res" >&6; }
26342 if test `eval echo '${'$as_ac_var'}'` = yes; then
26343 cat >>confdefs.h <<_ACEOF
26344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26345 _ACEOF
26346 have_cos=1
26347 fi
26348 done
26349
26350
26351 for ac_func in floor
26352 do
26353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26354 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26356 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359 cat >conftest.$ac_ext <<_ACEOF
26360 /* confdefs.h. */
26361 _ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26367 #define $ac_func innocuous_$ac_func
26368
26369 /* System header to define __stub macros and hopefully few prototypes,
26370 which can conflict with char $ac_func (); below.
26371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26372 <limits.h> exists even on freestanding compilers. */
26373
26374 #ifdef __STDC__
26375 # include <limits.h>
26376 #else
26377 # include <assert.h>
26378 #endif
26379
26380 #undef $ac_func
26381
26382 /* Override any GCC internal prototype to avoid an error.
26383 Use char because int might match the return type of a GCC
26384 builtin and then its argument prototype would still apply. */
26385 #ifdef __cplusplus
26386 extern "C"
26387 #endif
26388 char $ac_func ();
26389 /* The GNU C library defines this for functions which it implements
26390 to always fail with ENOSYS. Some functions are actually named
26391 something starting with __ and the normal name is an alias. */
26392 #if defined __stub_$ac_func || defined __stub___$ac_func
26393 choke me
26394 #endif
26395
26396 int
26397 main ()
26398 {
26399 return $ac_func ();
26400 ;
26401 return 0;
26402 }
26403 _ACEOF
26404 rm -f conftest.$ac_objext conftest$ac_exeext
26405 if { (ac_try="$ac_link"
26406 case "(($ac_try" in
26407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408 *) ac_try_echo=$ac_try;;
26409 esac
26410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411 (eval "$ac_link") 2>conftest.er1
26412 ac_status=$?
26413 grep -v '^ *+' conftest.er1 >conftest.err
26414 rm -f conftest.er1
26415 cat conftest.err >&5
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); } && {
26418 test -z "$ac_c_werror_flag" ||
26419 test ! -s conftest.err
26420 } && test -s conftest$ac_exeext &&
26421 $as_test_x conftest$ac_exeext; then
26422 eval "$as_ac_var=yes"
26423 else
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.$ac_ext >&5
26426
26427 eval "$as_ac_var=no"
26428 fi
26429
26430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26431 conftest$ac_exeext conftest.$ac_ext
26432 fi
26433 ac_res=`eval echo '${'$as_ac_var'}'`
26434 { echo "$as_me:$LINENO: result: $ac_res" >&5
26435 echo "${ECHO_T}$ac_res" >&6; }
26436 if test `eval echo '${'$as_ac_var'}'` = yes; then
26437 cat >>confdefs.h <<_ACEOF
26438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26439 _ACEOF
26440 have_floor=1
26441 fi
26442 done
26443
26444 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26445 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26446 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26447 { echo "$as_me:$LINENO: result: yes" >&5
26448 echo "${ECHO_T}yes" >&6; }
26449 else
26450 { echo "$as_me:$LINENO: result: no" >&5
26451 echo "${ECHO_T}no" >&6; }
26452 LIBS="$LIBS -lm"
26453 # use different functions to avoid configure caching
26454 have_sin=0
26455 have_ceil=0
26456
26457 for ac_func in sin
26458 do
26459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26464 else
26465 cat >conftest.$ac_ext <<_ACEOF
26466 /* confdefs.h. */
26467 _ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26473 #define $ac_func innocuous_$ac_func
26474
26475 /* System header to define __stub macros and hopefully few prototypes,
26476 which can conflict with char $ac_func (); below.
26477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26478 <limits.h> exists even on freestanding compilers. */
26479
26480 #ifdef __STDC__
26481 # include <limits.h>
26482 #else
26483 # include <assert.h>
26484 #endif
26485
26486 #undef $ac_func
26487
26488 /* Override any GCC internal prototype to avoid an error.
26489 Use char because int might match the return type of a GCC
26490 builtin and then its argument prototype would still apply. */
26491 #ifdef __cplusplus
26492 extern "C"
26493 #endif
26494 char $ac_func ();
26495 /* The GNU C library defines this for functions which it implements
26496 to always fail with ENOSYS. Some functions are actually named
26497 something starting with __ and the normal name is an alias. */
26498 #if defined __stub_$ac_func || defined __stub___$ac_func
26499 choke me
26500 #endif
26501
26502 int
26503 main ()
26504 {
26505 return $ac_func ();
26506 ;
26507 return 0;
26508 }
26509 _ACEOF
26510 rm -f conftest.$ac_objext conftest$ac_exeext
26511 if { (ac_try="$ac_link"
26512 case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26514 *) ac_try_echo=$ac_try;;
26515 esac
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_link") 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } && {
26524 test -z "$ac_c_werror_flag" ||
26525 test ! -s conftest.err
26526 } && test -s conftest$ac_exeext &&
26527 $as_test_x conftest$ac_exeext; then
26528 eval "$as_ac_var=yes"
26529 else
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.$ac_ext >&5
26532
26533 eval "$as_ac_var=no"
26534 fi
26535
26536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26537 conftest$ac_exeext conftest.$ac_ext
26538 fi
26539 ac_res=`eval echo '${'$as_ac_var'}'`
26540 { echo "$as_me:$LINENO: result: $ac_res" >&5
26541 echo "${ECHO_T}$ac_res" >&6; }
26542 if test `eval echo '${'$as_ac_var'}'` = yes; then
26543 cat >>confdefs.h <<_ACEOF
26544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26545 _ACEOF
26546 have_sin=1
26547 fi
26548 done
26549
26550
26551 for ac_func in ceil
26552 do
26553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 else
26559 cat >conftest.$ac_ext <<_ACEOF
26560 /* confdefs.h. */
26561 _ACEOF
26562 cat confdefs.h >>conftest.$ac_ext
26563 cat >>conftest.$ac_ext <<_ACEOF
26564 /* end confdefs.h. */
26565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26567 #define $ac_func innocuous_$ac_func
26568
26569 /* System header to define __stub macros and hopefully few prototypes,
26570 which can conflict with char $ac_func (); below.
26571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26572 <limits.h> exists even on freestanding compilers. */
26573
26574 #ifdef __STDC__
26575 # include <limits.h>
26576 #else
26577 # include <assert.h>
26578 #endif
26579
26580 #undef $ac_func
26581
26582 /* Override any GCC internal prototype to avoid an error.
26583 Use char because int might match the return type of a GCC
26584 builtin and then its argument prototype would still apply. */
26585 #ifdef __cplusplus
26586 extern "C"
26587 #endif
26588 char $ac_func ();
26589 /* The GNU C library defines this for functions which it implements
26590 to always fail with ENOSYS. Some functions are actually named
26591 something starting with __ and the normal name is an alias. */
26592 #if defined __stub_$ac_func || defined __stub___$ac_func
26593 choke me
26594 #endif
26595
26596 int
26597 main ()
26598 {
26599 return $ac_func ();
26600 ;
26601 return 0;
26602 }
26603 _ACEOF
26604 rm -f conftest.$ac_objext conftest$ac_exeext
26605 if { (ac_try="$ac_link"
26606 case "(($ac_try" in
26607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26608 *) ac_try_echo=$ac_try;;
26609 esac
26610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26611 (eval "$ac_link") 2>conftest.er1
26612 ac_status=$?
26613 grep -v '^ *+' conftest.er1 >conftest.err
26614 rm -f conftest.er1
26615 cat conftest.err >&5
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); } && {
26618 test -z "$ac_c_werror_flag" ||
26619 test ! -s conftest.err
26620 } && test -s conftest$ac_exeext &&
26621 $as_test_x conftest$ac_exeext; then
26622 eval "$as_ac_var=yes"
26623 else
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26626
26627 eval "$as_ac_var=no"
26628 fi
26629
26630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26631 conftest$ac_exeext conftest.$ac_ext
26632 fi
26633 ac_res=`eval echo '${'$as_ac_var'}'`
26634 { echo "$as_me:$LINENO: result: $ac_res" >&5
26635 echo "${ECHO_T}$ac_res" >&6; }
26636 if test `eval echo '${'$as_ac_var'}'` = yes; then
26637 cat >>confdefs.h <<_ACEOF
26638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26639 _ACEOF
26640 have_ceil=1
26641 fi
26642 done
26643
26644 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26645 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26646 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26647 { echo "$as_me:$LINENO: result: yes" >&5
26648 echo "${ECHO_T}yes" >&6; }
26649 else
26650 { echo "$as_me:$LINENO: result: no" >&5
26651 echo "${ECHO_T}no" >&6; }
26652 # not sure we should warn the user, crash, etc.
26653 fi
26654 fi
26655
26656 ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26661
26662 if test "wxUSE_UNICODE" = "yes"; then
26663
26664 for wx_func in wcstoull
26665 do
26666 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26667 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26668 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26669 echo $ECHO_N "(cached) $ECHO_C" >&6
26670 else
26671
26672 cat >conftest.$ac_ext <<_ACEOF
26673
26674 /* confdefs.h. */
26675 _ACEOF
26676 cat confdefs.h >>conftest.$ac_ext
26677 cat >>conftest.$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26679
26680
26681 $ac_includes_default
26682
26683 int
26684 main ()
26685 {
26686
26687 #ifndef $wx_func
26688 &$wx_func;
26689 #endif
26690
26691
26692 ;
26693 return 0;
26694 }
26695
26696 _ACEOF
26697 rm -f conftest.$ac_objext conftest$ac_exeext
26698 if { (ac_try="$ac_link"
26699 case "(($ac_try" in
26700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26701 *) ac_try_echo=$ac_try;;
26702 esac
26703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26704 (eval "$ac_link") 2>conftest.er1
26705 ac_status=$?
26706 grep -v '^ *+' conftest.er1 >conftest.err
26707 rm -f conftest.er1
26708 cat conftest.err >&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } && {
26711 test -z "$ac_cxx_werror_flag" ||
26712 test ! -s conftest.err
26713 } && test -s conftest$ac_exeext &&
26714 $as_test_x conftest$ac_exeext; then
26715 eval wx_cv_func_$wx_func=yes
26716 else
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26719
26720 eval wx_cv_func_$wx_func=no
26721 fi
26722
26723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26724 conftest$ac_exeext conftest.$ac_ext
26725
26726 fi
26727 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26728 { echo "$as_me:$LINENO: result: $ac_res" >&5
26729 echo "${ECHO_T}$ac_res" >&6; }
26730
26731 if eval test \$wx_cv_func_$wx_func = yes
26732 then
26733 cat >>confdefs.h <<_ACEOF
26734 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26735 _ACEOF
26736
26737
26738 else
26739 :
26740
26741 fi
26742 done
26743
26744 else
26745
26746 for wx_func in strtoull
26747 do
26748 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26749 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26750 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 else
26753
26754 cat >conftest.$ac_ext <<_ACEOF
26755
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761
26762
26763 $ac_includes_default
26764
26765 int
26766 main ()
26767 {
26768
26769 #ifndef $wx_func
26770 &$wx_func;
26771 #endif
26772
26773
26774 ;
26775 return 0;
26776 }
26777
26778 _ACEOF
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (ac_try="$ac_link"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26784 esac
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_link") 2>conftest.er1
26787 ac_status=$?
26788 grep -v '^ *+' conftest.er1 >conftest.err
26789 rm -f conftest.er1
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_cxx_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest$ac_exeext &&
26796 $as_test_x conftest$ac_exeext; then
26797 eval wx_cv_func_$wx_func=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 eval wx_cv_func_$wx_func=no
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26806 conftest$ac_exeext conftest.$ac_ext
26807
26808 fi
26809 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26810 { echo "$as_me:$LINENO: result: $ac_res" >&5
26811 echo "${ECHO_T}$ac_res" >&6; }
26812
26813 if eval test \$wx_cv_func_$wx_func = yes
26814 then
26815 cat >>confdefs.h <<_ACEOF
26816 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26817 _ACEOF
26818
26819
26820 else
26821 :
26822
26823 fi
26824 done
26825
26826 fi
26827 ac_ext=c
26828 ac_cpp='$CPP $CPPFLAGS'
26829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26832
26833
26834
26835
26836 if test "$wxUSE_REGEX" != "no"; then
26837 cat >>confdefs.h <<\_ACEOF
26838 #define wxUSE_REGEX 1
26839 _ACEOF
26840
26841
26842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26843 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26844 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26845 wxUSE_REGEX=builtin
26846 fi
26847
26848 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26849 { echo "$as_me:$LINENO: checking for regex.h" >&5
26850 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26851 if test "${ac_cv_header_regex_h+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26853 else
26854 cat >conftest.$ac_ext <<_ACEOF
26855 /* confdefs.h. */
26856 _ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860
26861
26862 #include <regex.h>
26863 _ACEOF
26864 rm -f conftest.$ac_objext
26865 if { (ac_try="$ac_compile"
26866 case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26868 *) ac_try_echo=$ac_try;;
26869 esac
26870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26871 (eval "$ac_compile") 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } && {
26878 test -z "$ac_c_werror_flag" ||
26879 test ! -s conftest.err
26880 } && test -s conftest.$ac_objext; then
26881 ac_cv_header_regex_h=yes
26882 else
26883 echo "$as_me: failed program was:" >&5
26884 sed 's/^/| /' conftest.$ac_ext >&5
26885
26886 ac_cv_header_regex_h=no
26887 fi
26888
26889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26890 fi
26891 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26892 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26893 if test $ac_cv_header_regex_h = yes; then
26894
26895
26896 for ac_func in regcomp re_search
26897 do
26898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26903 else
26904 cat >conftest.$ac_ext <<_ACEOF
26905 /* confdefs.h. */
26906 _ACEOF
26907 cat confdefs.h >>conftest.$ac_ext
26908 cat >>conftest.$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26912 #define $ac_func innocuous_$ac_func
26913
26914 /* System header to define __stub macros and hopefully few prototypes,
26915 which can conflict with char $ac_func (); below.
26916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26917 <limits.h> exists even on freestanding compilers. */
26918
26919 #ifdef __STDC__
26920 # include <limits.h>
26921 #else
26922 # include <assert.h>
26923 #endif
26924
26925 #undef $ac_func
26926
26927 /* Override any GCC internal prototype to avoid an error.
26928 Use char because int might match the return type of a GCC
26929 builtin and then its argument prototype would still apply. */
26930 #ifdef __cplusplus
26931 extern "C"
26932 #endif
26933 char $ac_func ();
26934 /* The GNU C library defines this for functions which it implements
26935 to always fail with ENOSYS. Some functions are actually named
26936 something starting with __ and the normal name is an alias. */
26937 #if defined __stub_$ac_func || defined __stub___$ac_func
26938 choke me
26939 #endif
26940
26941 int
26942 main ()
26943 {
26944 return $ac_func ();
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext conftest$ac_exeext
26950 if { (ac_try="$ac_link"
26951 case "(($ac_try" in
26952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26954 esac
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_link") 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } && {
26963 test -z "$ac_c_werror_flag" ||
26964 test ! -s conftest.err
26965 } && test -s conftest$ac_exeext &&
26966 $as_test_x conftest$ac_exeext; then
26967 eval "$as_ac_var=yes"
26968 else
26969 echo "$as_me: failed program was:" >&5
26970 sed 's/^/| /' conftest.$ac_ext >&5
26971
26972 eval "$as_ac_var=no"
26973 fi
26974
26975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26976 conftest$ac_exeext conftest.$ac_ext
26977 fi
26978 ac_res=`eval echo '${'$as_ac_var'}'`
26979 { echo "$as_me:$LINENO: result: $ac_res" >&5
26980 echo "${ECHO_T}$ac_res" >&6; }
26981 if test `eval echo '${'$as_ac_var'}'` = yes; then
26982 cat >>confdefs.h <<_ACEOF
26983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26984 _ACEOF
26985
26986 fi
26987 done
26988
26989 fi
26990
26991
26992
26993 if test "x$ac_cv_func_regcomp" != "xyes"; then
26994 if test "$wxUSE_REGEX" = "sys" ; then
26995 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26996 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26997 { (exit 1); exit 1; }; }
26998 else
26999 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27000 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27001 wxUSE_REGEX=builtin
27002 fi
27003 else
27004 wxUSE_REGEX=sys
27005 cat >>confdefs.h <<\_ACEOF
27006 #define WX_NO_REGEX_ADVANCED 1
27007 _ACEOF
27008
27009 fi
27010 fi
27011 fi
27012
27013
27014 ZLIB_LINK=
27015 if test "$wxUSE_ZLIB" != "no" ; then
27016 cat >>confdefs.h <<\_ACEOF
27017 #define wxUSE_ZLIB 1
27018 _ACEOF
27019
27020
27021 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27022 if test "$USE_DARWIN" = 1; then
27023 system_zlib_h_ok="yes"
27024 else
27025 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27026 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27027 if test "${ac_cv_header_zlib_h+set}" = set; then
27028 echo $ECHO_N "(cached) $ECHO_C" >&6
27029 else
27030 if test "$cross_compiling" = yes; then
27031 unset ac_cv_header_zlib_h
27032
27033 else
27034 cat >conftest.$ac_ext <<_ACEOF
27035 /* confdefs.h. */
27036 _ACEOF
27037 cat confdefs.h >>conftest.$ac_ext
27038 cat >>conftest.$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27040
27041 #include <zlib.h>
27042 #include <stdio.h>
27043
27044 int main()
27045 {
27046 FILE *f=fopen("conftestval", "w");
27047 if (!f) exit(1);
27048 fprintf(f, "%s",
27049 ZLIB_VERSION[0] == '1' &&
27050 (ZLIB_VERSION[2] > '1' ||
27051 (ZLIB_VERSION[2] == '1' &&
27052 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27053 exit(0);
27054 }
27055
27056 _ACEOF
27057 rm -f conftest$ac_exeext
27058 if { (ac_try="$ac_link"
27059 case "(($ac_try" in
27060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27061 *) ac_try_echo=$ac_try;;
27062 esac
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_link") 2>&5
27065 ac_status=$?
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27068 { (case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27070 *) ac_try_echo=$ac_try;;
27071 esac
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_try") 2>&5
27074 ac_status=$?
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); }; }; then
27077 ac_cv_header_zlib_h=`cat conftestval`
27078 else
27079 echo "$as_me: program exited with status $ac_status" >&5
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27082
27083 ( exit $ac_status )
27084 ac_cv_header_zlib_h=no
27085 fi
27086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27087 fi
27088
27089
27090
27091 fi
27092 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27093 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27094 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27095 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27096 if test "${ac_cv_header_zlib_h+set}" = set; then
27097 echo $ECHO_N "(cached) $ECHO_C" >&6
27098 else
27099 cat >conftest.$ac_ext <<_ACEOF
27100 /* confdefs.h. */
27101 _ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27105
27106
27107 #include <zlib.h>
27108 _ACEOF
27109 rm -f conftest.$ac_objext
27110 if { (ac_try="$ac_compile"
27111 case "(($ac_try" in
27112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27113 *) ac_try_echo=$ac_try;;
27114 esac
27115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27116 (eval "$ac_compile") 2>conftest.er1
27117 ac_status=$?
27118 grep -v '^ *+' conftest.er1 >conftest.err
27119 rm -f conftest.er1
27120 cat conftest.err >&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } && {
27123 test -z "$ac_c_werror_flag" ||
27124 test ! -s conftest.err
27125 } && test -s conftest.$ac_objext; then
27126 ac_cv_header_zlib_h=yes
27127 else
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27130
27131 ac_cv_header_zlib_h=no
27132 fi
27133
27134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27135 fi
27136 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27137 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27138
27139
27140
27141 system_zlib_h_ok=$ac_cv_header_zlib_h
27142 fi
27143
27144 if test "$system_zlib_h_ok" = "yes"; then
27145 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27146 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27147 if test "${ac_cv_lib_z_deflate+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 else
27150 ac_check_lib_save_LIBS=$LIBS
27151 LIBS="-lz $LIBS"
27152 cat >conftest.$ac_ext <<_ACEOF
27153 /* confdefs.h. */
27154 _ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158
27159 /* Override any GCC internal prototype to avoid an error.
27160 Use char because int might match the return type of a GCC
27161 builtin and then its argument prototype would still apply. */
27162 #ifdef __cplusplus
27163 extern "C"
27164 #endif
27165 char deflate ();
27166 int
27167 main ()
27168 {
27169 return deflate ();
27170 ;
27171 return 0;
27172 }
27173 _ACEOF
27174 rm -f conftest.$ac_objext conftest$ac_exeext
27175 if { (ac_try="$ac_link"
27176 case "(($ac_try" in
27177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27179 esac
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_link") 2>conftest.er1
27182 ac_status=$?
27183 grep -v '^ *+' conftest.er1 >conftest.err
27184 rm -f conftest.er1
27185 cat conftest.err >&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } && {
27188 test -z "$ac_c_werror_flag" ||
27189 test ! -s conftest.err
27190 } && test -s conftest$ac_exeext &&
27191 $as_test_x conftest$ac_exeext; then
27192 ac_cv_lib_z_deflate=yes
27193 else
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27196
27197 ac_cv_lib_z_deflate=no
27198 fi
27199
27200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27201 conftest$ac_exeext conftest.$ac_ext
27202 LIBS=$ac_check_lib_save_LIBS
27203 fi
27204 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27205 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27206 if test $ac_cv_lib_z_deflate = yes; then
27207 ZLIB_LINK=" -lz"
27208 fi
27209
27210 fi
27211
27212 if test "x$ZLIB_LINK" = "x" ; then
27213 if test "$wxUSE_ZLIB" = "sys" ; then
27214 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27215 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27216 { (exit 1); exit 1; }; }
27217 else
27218 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27219 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27220 wxUSE_ZLIB=builtin
27221 fi
27222 else
27223 wxUSE_ZLIB=sys
27224 fi
27225 fi
27226 fi
27227
27228
27229 PNG_LINK=
27230 if test "$wxUSE_LIBPNG" != "no" ; then
27231 cat >>confdefs.h <<\_ACEOF
27232 #define wxUSE_LIBPNG 1
27233 _ACEOF
27234
27235
27236 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27237 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27238 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27239 wxUSE_LIBPNG=sys
27240 fi
27241
27242 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27243 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27244 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27245 wxUSE_LIBPNG=builtin
27246 fi
27247
27248 if test "$wxUSE_MGL" != 1 ; then
27249 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27250 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27251 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27252 if test "${ac_cv_header_png_h+set}" = set; then
27253 echo $ECHO_N "(cached) $ECHO_C" >&6
27254 else
27255 if test "$cross_compiling" = yes; then
27256 unset ac_cv_header_png_h
27257
27258 else
27259 cat >conftest.$ac_ext <<_ACEOF
27260 /* confdefs.h. */
27261 _ACEOF
27262 cat confdefs.h >>conftest.$ac_ext
27263 cat >>conftest.$ac_ext <<_ACEOF
27264 /* end confdefs.h. */
27265
27266 #include <png.h>
27267 #include <stdio.h>
27268
27269 int main()
27270 {
27271 FILE *f=fopen("conftestval", "w");
27272 if (!f) exit(1);
27273 fprintf(f, "%s",
27274 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27275 exit(0);
27276 }
27277
27278 _ACEOF
27279 rm -f conftest$ac_exeext
27280 if { (ac_try="$ac_link"
27281 case "(($ac_try" in
27282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27283 *) ac_try_echo=$ac_try;;
27284 esac
27285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27286 (eval "$ac_link") 2>&5
27287 ac_status=$?
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27290 { (case "(($ac_try" in
27291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27292 *) ac_try_echo=$ac_try;;
27293 esac
27294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295 (eval "$ac_try") 2>&5
27296 ac_status=$?
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_header_png_h=`cat conftestval`
27300 else
27301 echo "$as_me: program exited with status $ac_status" >&5
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.$ac_ext >&5
27304
27305 ( exit $ac_status )
27306 ac_cv_header_png_h=no
27307 fi
27308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27309 fi
27310
27311
27312
27313 fi
27314 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27315 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27316 { echo "$as_me:$LINENO: checking for png.h" >&5
27317 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27318 if test "${ac_cv_header_png_h+set}" = set; then
27319 echo $ECHO_N "(cached) $ECHO_C" >&6
27320 else
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h. */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27327
27328
27329 #include <png.h>
27330 _ACEOF
27331 rm -f conftest.$ac_objext
27332 if { (ac_try="$ac_compile"
27333 case "(($ac_try" in
27334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27335 *) ac_try_echo=$ac_try;;
27336 esac
27337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27338 (eval "$ac_compile") 2>conftest.er1
27339 ac_status=$?
27340 grep -v '^ *+' conftest.er1 >conftest.err
27341 rm -f conftest.er1
27342 cat conftest.err >&5
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); } && {
27345 test -z "$ac_c_werror_flag" ||
27346 test ! -s conftest.err
27347 } && test -s conftest.$ac_objext; then
27348 ac_cv_header_png_h=yes
27349 else
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.$ac_ext >&5
27352
27353 ac_cv_header_png_h=no
27354 fi
27355
27356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27357 fi
27358 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27359 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27360
27361
27362
27363 if test "$ac_cv_header_png_h" = "yes"; then
27364 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27365 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27366 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27367 echo $ECHO_N "(cached) $ECHO_C" >&6
27368 else
27369 ac_check_lib_save_LIBS=$LIBS
27370 LIBS="-lpng -lz -lm $LIBS"
27371 cat >conftest.$ac_ext <<_ACEOF
27372 /* confdefs.h. */
27373 _ACEOF
27374 cat confdefs.h >>conftest.$ac_ext
27375 cat >>conftest.$ac_ext <<_ACEOF
27376 /* end confdefs.h. */
27377
27378 /* Override any GCC internal prototype to avoid an error.
27379 Use char because int might match the return type of a GCC
27380 builtin and then its argument prototype would still apply. */
27381 #ifdef __cplusplus
27382 extern "C"
27383 #endif
27384 char png_sig_cmp ();
27385 int
27386 main ()
27387 {
27388 return png_sig_cmp ();
27389 ;
27390 return 0;
27391 }
27392 _ACEOF
27393 rm -f conftest.$ac_objext conftest$ac_exeext
27394 if { (ac_try="$ac_link"
27395 case "(($ac_try" in
27396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27397 *) ac_try_echo=$ac_try;;
27398 esac
27399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27400 (eval "$ac_link") 2>conftest.er1
27401 ac_status=$?
27402 grep -v '^ *+' conftest.er1 >conftest.err
27403 rm -f conftest.er1
27404 cat conftest.err >&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); } && {
27407 test -z "$ac_c_werror_flag" ||
27408 test ! -s conftest.err
27409 } && test -s conftest$ac_exeext &&
27410 $as_test_x conftest$ac_exeext; then
27411 ac_cv_lib_png_png_sig_cmp=yes
27412 else
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27415
27416 ac_cv_lib_png_png_sig_cmp=no
27417 fi
27418
27419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27420 conftest$ac_exeext conftest.$ac_ext
27421 LIBS=$ac_check_lib_save_LIBS
27422 fi
27423 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27424 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27425 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27426 PNG_LINK=" -lpng -lz"
27427 fi
27428
27429 fi
27430
27431 if test "x$PNG_LINK" = "x" ; then
27432 if test "$wxUSE_LIBPNG" = "sys" ; then
27433 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27434 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27435 { (exit 1); exit 1; }; }
27436 else
27437 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27438 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27439 wxUSE_LIBPNG=builtin
27440 fi
27441 else
27442 wxUSE_LIBPNG=sys
27443 fi
27444 fi
27445 fi
27446 fi
27447
27448
27449 JPEG_LINK=
27450 if test "$wxUSE_LIBJPEG" != "no" ; then
27451 cat >>confdefs.h <<\_ACEOF
27452 #define wxUSE_LIBJPEG 1
27453 _ACEOF
27454
27455
27456 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27457 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27458 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27459 wxUSE_LIBJPEG=sys
27460 fi
27461
27462 if test "$wxUSE_MGL" != 1 ; then
27463 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27464 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27465 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27466 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 else
27469 cat >conftest.$ac_ext <<_ACEOF
27470 /* confdefs.h. */
27471 _ACEOF
27472 cat confdefs.h >>conftest.$ac_ext
27473 cat >>conftest.$ac_ext <<_ACEOF
27474 /* end confdefs.h. */
27475
27476 #undef HAVE_STDLIB_H
27477 #include <stdio.h>
27478 #include <jpeglib.h>
27479
27480 int
27481 main ()
27482 {
27483
27484
27485 ;
27486 return 0;
27487 }
27488 _ACEOF
27489 rm -f conftest.$ac_objext
27490 if { (ac_try="$ac_compile"
27491 case "(($ac_try" in
27492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27493 *) ac_try_echo=$ac_try;;
27494 esac
27495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27496 (eval "$ac_compile") 2>conftest.er1
27497 ac_status=$?
27498 grep -v '^ *+' conftest.er1 >conftest.err
27499 rm -f conftest.er1
27500 cat conftest.err >&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); } && {
27503 test -z "$ac_c_werror_flag" ||
27504 test ! -s conftest.err
27505 } && test -s conftest.$ac_objext; then
27506 ac_cv_header_jpeglib_h=yes
27507 else
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.$ac_ext >&5
27510
27511 ac_cv_header_jpeglib_h=no
27512
27513 fi
27514
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516
27517 fi
27518
27519 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27520 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27521
27522 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27523 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27524 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27525 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27527 else
27528 ac_check_lib_save_LIBS=$LIBS
27529 LIBS="-ljpeg $LIBS"
27530 cat >conftest.$ac_ext <<_ACEOF
27531 /* confdefs.h. */
27532 _ACEOF
27533 cat confdefs.h >>conftest.$ac_ext
27534 cat >>conftest.$ac_ext <<_ACEOF
27535 /* end confdefs.h. */
27536
27537 /* Override any GCC internal prototype to avoid an error.
27538 Use char because int might match the return type of a GCC
27539 builtin and then its argument prototype would still apply. */
27540 #ifdef __cplusplus
27541 extern "C"
27542 #endif
27543 char jpeg_read_header ();
27544 int
27545 main ()
27546 {
27547 return jpeg_read_header ();
27548 ;
27549 return 0;
27550 }
27551 _ACEOF
27552 rm -f conftest.$ac_objext conftest$ac_exeext
27553 if { (ac_try="$ac_link"
27554 case "(($ac_try" in
27555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27556 *) ac_try_echo=$ac_try;;
27557 esac
27558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27559 (eval "$ac_link") 2>conftest.er1
27560 ac_status=$?
27561 grep -v '^ *+' conftest.er1 >conftest.err
27562 rm -f conftest.er1
27563 cat conftest.err >&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); } && {
27566 test -z "$ac_c_werror_flag" ||
27567 test ! -s conftest.err
27568 } && test -s conftest$ac_exeext &&
27569 $as_test_x conftest$ac_exeext; then
27570 ac_cv_lib_jpeg_jpeg_read_header=yes
27571 else
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.$ac_ext >&5
27574
27575 ac_cv_lib_jpeg_jpeg_read_header=no
27576 fi
27577
27578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27579 conftest$ac_exeext conftest.$ac_ext
27580 LIBS=$ac_check_lib_save_LIBS
27581 fi
27582 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27583 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27584 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27585 JPEG_LINK=" -ljpeg"
27586 fi
27587
27588 fi
27589
27590 if test "x$JPEG_LINK" = "x" ; then
27591 if test "$wxUSE_LIBJPEG" = "sys" ; then
27592 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27593 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27594 { (exit 1); exit 1; }; }
27595 else
27596 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27597 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27598 wxUSE_LIBJPEG=builtin
27599 fi
27600 else
27601 wxUSE_LIBJPEG=sys
27602
27603 if test "$wxUSE_MSW" = 1; then
27604 { echo "$as_me:$LINENO: checking for boolean" >&5
27605 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27606 if test "${ac_cv_type_boolean+set}" = set; then
27607 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 else
27609 cat >conftest.$ac_ext <<_ACEOF
27610 /* confdefs.h. */
27611 _ACEOF
27612 cat confdefs.h >>conftest.$ac_ext
27613 cat >>conftest.$ac_ext <<_ACEOF
27614 /* end confdefs.h. */
27615 #include <windows.h>
27616
27617 typedef boolean ac__type_new_;
27618 int
27619 main ()
27620 {
27621 if ((ac__type_new_ *) 0)
27622 return 0;
27623 if (sizeof (ac__type_new_))
27624 return 0;
27625 ;
27626 return 0;
27627 }
27628 _ACEOF
27629 rm -f conftest.$ac_objext
27630 if { (ac_try="$ac_compile"
27631 case "(($ac_try" in
27632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27633 *) ac_try_echo=$ac_try;;
27634 esac
27635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27636 (eval "$ac_compile") 2>conftest.er1
27637 ac_status=$?
27638 grep -v '^ *+' conftest.er1 >conftest.err
27639 rm -f conftest.er1
27640 cat conftest.err >&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } && {
27643 test -z "$ac_c_werror_flag" ||
27644 test ! -s conftest.err
27645 } && test -s conftest.$ac_objext; then
27646 ac_cv_type_boolean=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 ac_cv_type_boolean=no
27652 fi
27653
27654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27655 fi
27656 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27657 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27658 if test $ac_cv_type_boolean = yes; then
27659
27660 cat >>confdefs.h <<_ACEOF
27661 #define HAVE_BOOLEAN 1
27662 _ACEOF
27663
27664
27665 { echo "$as_me:$LINENO: checking for boolean" >&5
27666 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27667 if test "${ac_cv_type_boolean+set}" = set; then
27668 echo $ECHO_N "(cached) $ECHO_C" >&6
27669 else
27670 cat >conftest.$ac_ext <<_ACEOF
27671 /* confdefs.h. */
27672 _ACEOF
27673 cat confdefs.h >>conftest.$ac_ext
27674 cat >>conftest.$ac_ext <<_ACEOF
27675 /* end confdefs.h. */
27676
27677 #undef HAVE_BOOLEAN
27678 #include <stdio.h>
27679 #include <jpeglib.h>
27680
27681
27682 typedef boolean ac__type_new_;
27683 int
27684 main ()
27685 {
27686 if ((ac__type_new_ *) 0)
27687 return 0;
27688 if (sizeof (ac__type_new_))
27689 return 0;
27690 ;
27691 return 0;
27692 }
27693 _ACEOF
27694 rm -f conftest.$ac_objext
27695 if { (ac_try="$ac_compile"
27696 case "(($ac_try" in
27697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27698 *) ac_try_echo=$ac_try;;
27699 esac
27700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27701 (eval "$ac_compile") 2>conftest.er1
27702 ac_status=$?
27703 grep -v '^ *+' conftest.er1 >conftest.err
27704 rm -f conftest.er1
27705 cat conftest.err >&5
27706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27707 (exit $ac_status); } && {
27708 test -z "$ac_c_werror_flag" ||
27709 test ! -s conftest.err
27710 } && test -s conftest.$ac_objext; then
27711 ac_cv_type_boolean=yes
27712 else
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 ac_cv_type_boolean=no
27717 fi
27718
27719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27720 fi
27721 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27722 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27723
27724 # The cast to long int works around a bug in the HP C Compiler
27725 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27726 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27727 # This bug is HP SR number 8606223364.
27728 { echo "$as_me:$LINENO: checking size of boolean" >&5
27729 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27730 if test "${ac_cv_sizeof_boolean+set}" = set; then
27731 echo $ECHO_N "(cached) $ECHO_C" >&6
27732 else
27733 if test "$cross_compiling" = yes; then
27734 # Depending upon the size, compute the lo and hi bounds.
27735 cat >conftest.$ac_ext <<_ACEOF
27736 /* confdefs.h. */
27737 _ACEOF
27738 cat confdefs.h >>conftest.$ac_ext
27739 cat >>conftest.$ac_ext <<_ACEOF
27740 /* end confdefs.h. */
27741
27742 #undef HAVE_BOOLEAN
27743 #include <stdio.h>
27744 #include <jpeglib.h>
27745
27746
27747 typedef boolean ac__type_sizeof_;
27748 int
27749 main ()
27750 {
27751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27752 test_array [0] = 0
27753
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext
27759 if { (ac_try="$ac_compile"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27763 esac
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_compile") 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest.$ac_objext; then
27775 ac_lo=0 ac_mid=0
27776 while :; do
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783
27784 #undef HAVE_BOOLEAN
27785 #include <stdio.h>
27786 #include <jpeglib.h>
27787
27788
27789 typedef boolean ac__type_sizeof_;
27790 int
27791 main ()
27792 {
27793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27794 test_array [0] = 0
27795
27796 ;
27797 return 0;
27798 }
27799 _ACEOF
27800 rm -f conftest.$ac_objext
27801 if { (ac_try="$ac_compile"
27802 case "(($ac_try" in
27803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27804 *) ac_try_echo=$ac_try;;
27805 esac
27806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27807 (eval "$ac_compile") 2>conftest.er1
27808 ac_status=$?
27809 grep -v '^ *+' conftest.er1 >conftest.err
27810 rm -f conftest.er1
27811 cat conftest.err >&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } && {
27814 test -z "$ac_c_werror_flag" ||
27815 test ! -s conftest.err
27816 } && test -s conftest.$ac_objext; then
27817 ac_hi=$ac_mid; break
27818 else
27819 echo "$as_me: failed program was:" >&5
27820 sed 's/^/| /' conftest.$ac_ext >&5
27821
27822 ac_lo=`expr $ac_mid + 1`
27823 if test $ac_lo -le $ac_mid; then
27824 ac_lo= ac_hi=
27825 break
27826 fi
27827 ac_mid=`expr 2 '*' $ac_mid + 1`
27828 fi
27829
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 done
27832 else
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27835
27836 cat >conftest.$ac_ext <<_ACEOF
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842
27843 #undef HAVE_BOOLEAN
27844 #include <stdio.h>
27845 #include <jpeglib.h>
27846
27847
27848 typedef boolean ac__type_sizeof_;
27849 int
27850 main ()
27851 {
27852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27853 test_array [0] = 0
27854
27855 ;
27856 return 0;
27857 }
27858 _ACEOF
27859 rm -f conftest.$ac_objext
27860 if { (ac_try="$ac_compile"
27861 case "(($ac_try" in
27862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27863 *) ac_try_echo=$ac_try;;
27864 esac
27865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27866 (eval "$ac_compile") 2>conftest.er1
27867 ac_status=$?
27868 grep -v '^ *+' conftest.er1 >conftest.err
27869 rm -f conftest.er1
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } && {
27873 test -z "$ac_c_werror_flag" ||
27874 test ! -s conftest.err
27875 } && test -s conftest.$ac_objext; then
27876 ac_hi=-1 ac_mid=-1
27877 while :; do
27878 cat >conftest.$ac_ext <<_ACEOF
27879 /* confdefs.h. */
27880 _ACEOF
27881 cat confdefs.h >>conftest.$ac_ext
27882 cat >>conftest.$ac_ext <<_ACEOF
27883 /* end confdefs.h. */
27884
27885 #undef HAVE_BOOLEAN
27886 #include <stdio.h>
27887 #include <jpeglib.h>
27888
27889
27890 typedef boolean ac__type_sizeof_;
27891 int
27892 main ()
27893 {
27894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27895 test_array [0] = 0
27896
27897 ;
27898 return 0;
27899 }
27900 _ACEOF
27901 rm -f conftest.$ac_objext
27902 if { (ac_try="$ac_compile"
27903 case "(($ac_try" in
27904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27905 *) ac_try_echo=$ac_try;;
27906 esac
27907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27908 (eval "$ac_compile") 2>conftest.er1
27909 ac_status=$?
27910 grep -v '^ *+' conftest.er1 >conftest.err
27911 rm -f conftest.er1
27912 cat conftest.err >&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } && {
27915 test -z "$ac_c_werror_flag" ||
27916 test ! -s conftest.err
27917 } && test -s conftest.$ac_objext; then
27918 ac_lo=$ac_mid; break
27919 else
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27922
27923 ac_hi=`expr '(' $ac_mid ')' - 1`
27924 if test $ac_mid -le $ac_hi; then
27925 ac_lo= ac_hi=
27926 break
27927 fi
27928 ac_mid=`expr 2 '*' $ac_mid`
27929 fi
27930
27931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27932 done
27933 else
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27936
27937 ac_lo= ac_hi=
27938 fi
27939
27940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 fi
27942
27943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27944 # Binary search between lo and hi bounds.
27945 while test "x$ac_lo" != "x$ac_hi"; do
27946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27947 cat >conftest.$ac_ext <<_ACEOF
27948 /* confdefs.h. */
27949 _ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27953
27954 #undef HAVE_BOOLEAN
27955 #include <stdio.h>
27956 #include <jpeglib.h>
27957
27958
27959 typedef boolean ac__type_sizeof_;
27960 int
27961 main ()
27962 {
27963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27964 test_array [0] = 0
27965
27966 ;
27967 return 0;
27968 }
27969 _ACEOF
27970 rm -f conftest.$ac_objext
27971 if { (ac_try="$ac_compile"
27972 case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27975 esac
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_compile") 2>conftest.er1
27978 ac_status=$?
27979 grep -v '^ *+' conftest.er1 >conftest.err
27980 rm -f conftest.er1
27981 cat conftest.err >&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); } && {
27984 test -z "$ac_c_werror_flag" ||
27985 test ! -s conftest.err
27986 } && test -s conftest.$ac_objext; then
27987 ac_hi=$ac_mid
27988 else
27989 echo "$as_me: failed program was:" >&5
27990 sed 's/^/| /' conftest.$ac_ext >&5
27991
27992 ac_lo=`expr '(' $ac_mid ')' + 1`
27993 fi
27994
27995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27996 done
27997 case $ac_lo in
27998 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27999 '') if test "$ac_cv_type_boolean" = yes; then
28000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28001 See \`config.log' for more details." >&5
28002 echo "$as_me: error: cannot compute sizeof (boolean)
28003 See \`config.log' for more details." >&2;}
28004 { (exit 77); exit 77; }; }
28005 else
28006 ac_cv_sizeof_boolean=0
28007 fi ;;
28008 esac
28009 else
28010 cat >conftest.$ac_ext <<_ACEOF
28011 /* confdefs.h. */
28012 _ACEOF
28013 cat confdefs.h >>conftest.$ac_ext
28014 cat >>conftest.$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28016
28017 #undef HAVE_BOOLEAN
28018 #include <stdio.h>
28019 #include <jpeglib.h>
28020
28021
28022 typedef boolean ac__type_sizeof_;
28023 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28024 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28025 #include <stdio.h>
28026 #include <stdlib.h>
28027 int
28028 main ()
28029 {
28030
28031 FILE *f = fopen ("conftest.val", "w");
28032 if (! f)
28033 return 1;
28034 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28035 {
28036 long int i = longval ();
28037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28038 return 1;
28039 fprintf (f, "%ld\n", i);
28040 }
28041 else
28042 {
28043 unsigned long int i = ulongval ();
28044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28045 return 1;
28046 fprintf (f, "%lu\n", i);
28047 }
28048 return ferror (f) || fclose (f) != 0;
28049
28050 ;
28051 return 0;
28052 }
28053 _ACEOF
28054 rm -f conftest$ac_exeext
28055 if { (ac_try="$ac_link"
28056 case "(($ac_try" in
28057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28058 *) ac_try_echo=$ac_try;;
28059 esac
28060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28061 (eval "$ac_link") 2>&5
28062 ac_status=$?
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28065 { (case "(($ac_try" in
28066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28067 *) ac_try_echo=$ac_try;;
28068 esac
28069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28070 (eval "$ac_try") 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 ac_cv_sizeof_boolean=`cat conftest.val`
28075 else
28076 echo "$as_me: program exited with status $ac_status" >&5
28077 echo "$as_me: failed program was:" >&5
28078 sed 's/^/| /' conftest.$ac_ext >&5
28079
28080 ( exit $ac_status )
28081 if test "$ac_cv_type_boolean" = yes; then
28082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28083 See \`config.log' for more details." >&5
28084 echo "$as_me: error: cannot compute sizeof (boolean)
28085 See \`config.log' for more details." >&2;}
28086 { (exit 77); exit 77; }; }
28087 else
28088 ac_cv_sizeof_boolean=0
28089 fi
28090 fi
28091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28092 fi
28093 rm -f conftest.val
28094 fi
28095 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28096 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28097
28098
28099
28100 cat >>confdefs.h <<_ACEOF
28101 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28102 _ACEOF
28103
28104
28105 cat >>confdefs.h <<_ACEOF
28106 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28107 _ACEOF
28108
28109
28110 fi
28111
28112 fi
28113 fi
28114 fi
28115 fi
28116 fi
28117
28118
28119 TIFF_LINK=
28120 TIFF_PREREQ_LINKS=-lm
28121 if test "$wxUSE_LIBTIFF" != "no" ; then
28122 cat >>confdefs.h <<\_ACEOF
28123 #define wxUSE_LIBTIFF 1
28124 _ACEOF
28125
28126
28127 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28128 if test "$wxUSE_LIBJPEG" = "sys"; then
28129 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28130 fi
28131 if test "$wxUSE_ZLIB" = "sys"; then
28132 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28133 fi
28134 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28135 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28136 if test "${ac_cv_header_tiffio_h+set}" = set; then
28137 echo $ECHO_N "(cached) $ECHO_C" >&6
28138 else
28139 cat >conftest.$ac_ext <<_ACEOF
28140 /* confdefs.h. */
28141 _ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28145
28146
28147
28148 #include <tiffio.h>
28149 _ACEOF
28150 rm -f conftest.$ac_objext
28151 if { (ac_try="$ac_compile"
28152 case "(($ac_try" in
28153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28154 *) ac_try_echo=$ac_try;;
28155 esac
28156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28157 (eval "$ac_compile") 2>conftest.er1
28158 ac_status=$?
28159 grep -v '^ *+' conftest.er1 >conftest.err
28160 rm -f conftest.er1
28161 cat conftest.err >&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); } && {
28164 test -z "$ac_c_werror_flag" ||
28165 test ! -s conftest.err
28166 } && test -s conftest.$ac_objext; then
28167 ac_cv_header_tiffio_h=yes
28168 else
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28171
28172 ac_cv_header_tiffio_h=no
28173 fi
28174
28175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28176 fi
28177 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28178 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28179 if test $ac_cv_header_tiffio_h = yes; then
28180
28181 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28182 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28183 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 else
28186 ac_check_lib_save_LIBS=$LIBS
28187 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28188 cat >conftest.$ac_ext <<_ACEOF
28189 /* confdefs.h. */
28190 _ACEOF
28191 cat confdefs.h >>conftest.$ac_ext
28192 cat >>conftest.$ac_ext <<_ACEOF
28193 /* end confdefs.h. */
28194
28195 /* Override any GCC internal prototype to avoid an error.
28196 Use char because int might match the return type of a GCC
28197 builtin and then its argument prototype would still apply. */
28198 #ifdef __cplusplus
28199 extern "C"
28200 #endif
28201 char TIFFError ();
28202 int
28203 main ()
28204 {
28205 return TIFFError ();
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext conftest$ac_exeext
28211 if { (ac_try="$ac_link"
28212 case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28215 esac
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_link") 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest$ac_exeext &&
28227 $as_test_x conftest$ac_exeext; then
28228 ac_cv_lib_tiff_TIFFError=yes
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233 ac_cv_lib_tiff_TIFFError=no
28234 fi
28235
28236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28237 conftest$ac_exeext conftest.$ac_ext
28238 LIBS=$ac_check_lib_save_LIBS
28239 fi
28240 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28241 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28242 if test $ac_cv_lib_tiff_TIFFError = yes; then
28243 TIFF_LINK=" -ltiff"
28244 fi
28245
28246
28247 fi
28248
28249
28250
28251 if test "x$TIFF_LINK" = "x" ; then
28252 if test "$wxUSE_LIBTIFF" = "sys" ; then
28253 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28254 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28255 { (exit 1); exit 1; }; }
28256 else
28257 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28258 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28259 wxUSE_LIBTIFF=builtin
28260 fi
28261 else
28262 wxUSE_LIBTIFF=sys
28263 fi
28264 fi
28265 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28266 if test "$wxUSE_LIBJPEG" = "no"; then
28267 ac_configure_args="$ac_configure_args --disable-jpeg"
28268 fi
28269 subdirs="$subdirs src/tiff"
28270
28271 fi
28272 fi
28273
28274
28275 if test "$wxUSE_WCHAR_T" != "yes"; then
28276 if test "$wxUSE_EXPAT" != "no"; then
28277 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28278 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28279 wxUSE_EXPAT=no
28280 fi
28281 if test "$wxUSE_XML" != "no"; then
28282 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28283 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28284 wxUSE_XML=no
28285 fi
28286 fi
28287
28288 if test "$wxUSE_EXPAT" != "no"; then
28289 wxUSE_XML=yes
28290 cat >>confdefs.h <<\_ACEOF
28291 #define wxUSE_EXPAT 1
28292 _ACEOF
28293
28294 cat >>confdefs.h <<\_ACEOF
28295 #define wxUSE_XML 1
28296 _ACEOF
28297
28298
28299 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28300 { echo "$as_me:$LINENO: checking for expat.h" >&5
28301 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28302 if test "${ac_cv_header_expat_h+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 else
28305 cat >conftest.$ac_ext <<_ACEOF
28306 /* confdefs.h. */
28307 _ACEOF
28308 cat confdefs.h >>conftest.$ac_ext
28309 cat >>conftest.$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28311
28312
28313 #include <expat.h>
28314 _ACEOF
28315 rm -f conftest.$ac_objext
28316 if { (ac_try="$ac_compile"
28317 case "(($ac_try" in
28318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28319 *) ac_try_echo=$ac_try;;
28320 esac
28321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28322 (eval "$ac_compile") 2>conftest.er1
28323 ac_status=$?
28324 grep -v '^ *+' conftest.er1 >conftest.err
28325 rm -f conftest.er1
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } && {
28329 test -z "$ac_c_werror_flag" ||
28330 test ! -s conftest.err
28331 } && test -s conftest.$ac_objext; then
28332 ac_cv_header_expat_h=yes
28333 else
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28336
28337 ac_cv_header_expat_h=no
28338 fi
28339
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 fi
28342 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28343 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28344 if test $ac_cv_header_expat_h = yes; then
28345 found_expat_h=1
28346 fi
28347
28348
28349 if test "x$found_expat_h" = "x1"; then
28350 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28351 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28352 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355
28356 ac_ext=cpp
28357 ac_cpp='$CXXCPP $CPPFLAGS'
28358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28361
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 #include <expat.h>
28369 int
28370 main ()
28371 {
28372
28373 ;
28374 return 0;
28375 }
28376 _ACEOF
28377 rm -f conftest.$ac_objext
28378 if { (ac_try="$ac_compile"
28379 case "(($ac_try" in
28380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28381 *) ac_try_echo=$ac_try;;
28382 esac
28383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28384 (eval "$ac_compile") 2>conftest.er1
28385 ac_status=$?
28386 grep -v '^ *+' conftest.er1 >conftest.err
28387 rm -f conftest.er1
28388 cat conftest.err >&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } && {
28391 test -z "$ac_cxx_werror_flag" ||
28392 test ! -s conftest.err
28393 } && test -s conftest.$ac_objext; then
28394 wx_cv_expat_is_not_broken=yes
28395 else
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 wx_cv_expat_is_not_broken=no
28400
28401 fi
28402
28403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28404 ac_ext=c
28405 ac_cpp='$CPP $CPPFLAGS'
28406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28409
28410
28411
28412 fi
28413 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28414 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28415 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28416 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28417 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28418 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 else
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-lexpat $LIBS"
28423 cat >conftest.$ac_ext <<_ACEOF
28424 /* confdefs.h. */
28425 _ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28429
28430 /* Override any GCC internal prototype to avoid an error.
28431 Use char because int might match the return type of a GCC
28432 builtin and then its argument prototype would still apply. */
28433 #ifdef __cplusplus
28434 extern "C"
28435 #endif
28436 char XML_ParserCreate ();
28437 int
28438 main ()
28439 {
28440 return XML_ParserCreate ();
28441 ;
28442 return 0;
28443 }
28444 _ACEOF
28445 rm -f conftest.$ac_objext conftest$ac_exeext
28446 if { (ac_try="$ac_link"
28447 case "(($ac_try" in
28448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28449 *) ac_try_echo=$ac_try;;
28450 esac
28451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28452 (eval "$ac_link") 2>conftest.er1
28453 ac_status=$?
28454 grep -v '^ *+' conftest.er1 >conftest.err
28455 rm -f conftest.er1
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } && {
28459 test -z "$ac_c_werror_flag" ||
28460 test ! -s conftest.err
28461 } && test -s conftest$ac_exeext &&
28462 $as_test_x conftest$ac_exeext; then
28463 ac_cv_lib_expat_XML_ParserCreate=yes
28464 else
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28467
28468 ac_cv_lib_expat_XML_ParserCreate=no
28469 fi
28470
28471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28472 conftest$ac_exeext conftest.$ac_ext
28473 LIBS=$ac_check_lib_save_LIBS
28474 fi
28475 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28476 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28477 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28478 EXPAT_LINK=" -lexpat"
28479 fi
28480
28481 fi
28482 fi
28483 if test "x$EXPAT_LINK" = "x" ; then
28484 if test "$wxUSE_EXPAT" = "sys" ; then
28485 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28486 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28487 { (exit 1); exit 1; }; }
28488 else
28489 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28490 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28491 wxUSE_EXPAT=builtin
28492 fi
28493 else
28494 wxUSE_EXPAT=sys
28495 fi
28496 fi
28497 if test "$wxUSE_EXPAT" = "builtin" ; then
28498 subdirs="$subdirs src/expat"
28499
28500 fi
28501 fi
28502
28503
28504
28505 if test "$wxUSE_LIBMSPACK" != "no"; then
28506 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28507 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28508 if test "${ac_cv_header_mspack_h+set}" = set; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28510 else
28511 cat >conftest.$ac_ext <<_ACEOF
28512 /* confdefs.h. */
28513 _ACEOF
28514 cat confdefs.h >>conftest.$ac_ext
28515 cat >>conftest.$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28517
28518
28519 #include <mspack.h>
28520 _ACEOF
28521 rm -f conftest.$ac_objext
28522 if { (ac_try="$ac_compile"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28526 esac
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_compile") 2>conftest.er1
28529 ac_status=$?
28530 grep -v '^ *+' conftest.er1 >conftest.err
28531 rm -f conftest.er1
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); } && {
28535 test -z "$ac_c_werror_flag" ||
28536 test ! -s conftest.err
28537 } && test -s conftest.$ac_objext; then
28538 ac_cv_header_mspack_h=yes
28539 else
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28542
28543 ac_cv_header_mspack_h=no
28544 fi
28545
28546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28547 fi
28548 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28549 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28550 if test $ac_cv_header_mspack_h = yes; then
28551 found_mspack_h=1
28552 fi
28553
28554
28555 if test "x$found_mspack_h" = "x1"; then
28556 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28557 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28558 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 else
28561 ac_check_lib_save_LIBS=$LIBS
28562 LIBS="-lmspack $LIBS"
28563 cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h. */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569
28570 /* Override any GCC internal prototype to avoid an error.
28571 Use char because int might match the return type of a GCC
28572 builtin and then its argument prototype would still apply. */
28573 #ifdef __cplusplus
28574 extern "C"
28575 #endif
28576 char mspack_create_chm_decompressor ();
28577 int
28578 main ()
28579 {
28580 return mspack_create_chm_decompressor ();
28581 ;
28582 return 0;
28583 }
28584 _ACEOF
28585 rm -f conftest.$ac_objext conftest$ac_exeext
28586 if { (ac_try="$ac_link"
28587 case "(($ac_try" in
28588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28589 *) ac_try_echo=$ac_try;;
28590 esac
28591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28592 (eval "$ac_link") 2>conftest.er1
28593 ac_status=$?
28594 grep -v '^ *+' conftest.er1 >conftest.err
28595 rm -f conftest.er1
28596 cat conftest.err >&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } && {
28599 test -z "$ac_c_werror_flag" ||
28600 test ! -s conftest.err
28601 } && test -s conftest$ac_exeext &&
28602 $as_test_x conftest$ac_exeext; then
28603 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28607
28608 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28609 fi
28610
28611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28612 conftest$ac_exeext conftest.$ac_ext
28613 LIBS=$ac_check_lib_save_LIBS
28614 fi
28615 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28616 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28617 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28618 MSPACK_LINK=" -lmspack"
28619 fi
28620
28621 fi
28622 if test "x$MSPACK_LINK" = "x" ; then
28623 wxUSE_LIBMSPACK=no
28624 fi
28625 fi
28626
28627 if test "$wxUSE_LIBMSPACK" != "no"; then
28628 cat >>confdefs.h <<\_ACEOF
28629 #define wxUSE_LIBMSPACK 1
28630 _ACEOF
28631
28632 fi
28633
28634
28635
28636 AFMINSTALL=
28637 WIN32INSTALL=
28638
28639 TOOLKIT=
28640 TOOLKIT_INCLUDE=
28641 WIDGET_SET=
28642
28643 if test "$USE_WIN32" = 1 ; then
28644
28645 for ac_header in w32api.h
28646 do
28647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28651 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 else
28653 cat >conftest.$ac_ext <<_ACEOF
28654 /* confdefs.h. */
28655 _ACEOF
28656 cat confdefs.h >>conftest.$ac_ext
28657 cat >>conftest.$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28659
28660
28661 #include <$ac_header>
28662 _ACEOF
28663 rm -f conftest.$ac_objext
28664 if { (ac_try="$ac_compile"
28665 case "(($ac_try" in
28666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28667 *) ac_try_echo=$ac_try;;
28668 esac
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_compile") 2>conftest.er1
28671 ac_status=$?
28672 grep -v '^ *+' conftest.er1 >conftest.err
28673 rm -f conftest.er1
28674 cat conftest.err >&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } && {
28677 test -z "$ac_c_werror_flag" ||
28678 test ! -s conftest.err
28679 } && test -s conftest.$ac_objext; then
28680 eval "$as_ac_Header=yes"
28681 else
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28684
28685 eval "$as_ac_Header=no"
28686 fi
28687
28688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28689 fi
28690 ac_res=`eval echo '${'$as_ac_Header'}'`
28691 { echo "$as_me:$LINENO: result: $ac_res" >&5
28692 echo "${ECHO_T}$ac_res" >&6; }
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28696 _ACEOF
28697
28698 fi
28699
28700 done
28701
28702 { echo "$as_me:$LINENO: checking for windows.h" >&5
28703 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28704 if test "${ac_cv_header_windows_h+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713
28714
28715 #include <windows.h>
28716 _ACEOF
28717 rm -f conftest.$ac_objext
28718 if { (ac_try="$ac_compile"
28719 case "(($ac_try" in
28720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721 *) ac_try_echo=$ac_try;;
28722 esac
28723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724 (eval "$ac_compile") 2>conftest.er1
28725 ac_status=$?
28726 grep -v '^ *+' conftest.er1 >conftest.err
28727 rm -f conftest.er1
28728 cat conftest.err >&5
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); } && {
28731 test -z "$ac_c_werror_flag" ||
28732 test ! -s conftest.err
28733 } && test -s conftest.$ac_objext; then
28734 ac_cv_header_windows_h=yes
28735 else
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28738
28739 ac_cv_header_windows_h=no
28740 fi
28741
28742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28743 fi
28744 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28745 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28746 if test $ac_cv_header_windows_h = yes; then
28747 :
28748 else
28749
28750 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28751 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28752 { (exit 1); exit 1; }; }
28753
28754 fi
28755
28756
28757
28758 case "${host}" in
28759 x86_64-*-mingw32* )
28760 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28761
28762 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28763 ;;
28764 * )
28765 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28766 ;;
28767 esac
28768 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28769 LIBS="$LIBS -loleacc"
28770 fi
28771
28772 case "${host}" in
28773 *-*-cygwin* )
28774 LIBS="$LIBS -lkernel32 -luser32"
28775 esac
28776
28777 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28778 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28779
28780 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28781
28782 WIN32INSTALL=win32install
28783
28784 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28785 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28786 if test "${ac_cv_header_pbt_h+set}" = set; then
28787 echo $ECHO_N "(cached) $ECHO_C" >&6
28788 else
28789 cat >conftest.$ac_ext <<_ACEOF
28790 /* confdefs.h. */
28791 _ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28795
28796
28797 #include <pbt.h>
28798 _ACEOF
28799 rm -f conftest.$ac_objext
28800 if { (ac_try="$ac_compile"
28801 case "(($ac_try" in
28802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28803 *) ac_try_echo=$ac_try;;
28804 esac
28805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28806 (eval "$ac_compile") 2>conftest.er1
28807 ac_status=$?
28808 grep -v '^ *+' conftest.er1 >conftest.err
28809 rm -f conftest.er1
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } && {
28813 test -z "$ac_c_werror_flag" ||
28814 test ! -s conftest.err
28815 } && test -s conftest.$ac_objext; then
28816 ac_cv_header_pbt_h=yes
28817 else
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.$ac_ext >&5
28820
28821 ac_cv_header_pbt_h=no
28822 fi
28823
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28825 fi
28826 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28827 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28828 if test $ac_cv_header_pbt_h = yes; then
28829 :
28830 else
28831 cat >>confdefs.h <<\_ACEOF
28832 #define NEED_PBT_H 1
28833 _ACEOF
28834
28835 fi
28836
28837
28838 fi
28839
28840 if test "$wxUSE_GUI" = "yes"; then
28841 USE_GUI=1
28842
28843 GUI_TK_LIBRARY=
28844
28845 WXGTK12=
28846 WXGTK127=
28847 WXGTK2=
28848 WXGPE=
28849
28850 if test "$wxUSE_OLD_COCOA" = 1 ; then
28851 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28852 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28853 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28854 wxUSE_PRINTING_ARCHITECTURE=no
28855 fi
28856 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28857 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28858 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28859 wxUSE_DRAG_AND_DROP=no
28860 fi
28861 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28862 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28863 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28864 wxUSE_DRAGIMAGE=no
28865 fi
28866 fi
28867
28868 if test "$wxUSE_MSW" = 1 ; then
28869 TOOLKIT=MSW
28870 GUIDIST=MSW_DIST
28871
28872 case "${host}" in
28873 *-*-mingw32* )
28874 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28875 esac
28876 fi
28877
28878 if test "$wxUSE_GTK" = 1; then
28879 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28880 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28881
28882 gtk_version_cached=1
28883 if test "${wx_cv_lib_gtk+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 else
28886
28887 gtk_version_cached=0
28888 { echo "$as_me:$LINENO: result: " >&5
28889 echo "${ECHO_T}" >&6; }
28890
28891 GTK_MODULES=
28892 if test "$wxUSE_THREADS" = "yes"; then
28893 GTK_MODULES=gthread
28894 fi
28895
28896 wx_cv_lib_gtk=
28897 if test "x$wxGTK_VERSION" != "x1"
28898 then
28899 case "${host}" in
28900 *-*-solaris2* )
28901 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28902 enable_gtktest=no
28903 fi
28904 esac
28905
28906 # Check whether --enable-gtktest was given.
28907 if test "${enable_gtktest+set}" = set; then
28908 enableval=$enable_gtktest;
28909 else
28910 enable_gtktest=yes
28911 fi
28912
28913
28914 pkg_config_args=gtk+-2.0
28915 for module in . $GTK_MODULES
28916 do
28917 case "$module" in
28918 gthread)
28919 pkg_config_args="$pkg_config_args gthread-2.0"
28920 ;;
28921 esac
28922 done
28923
28924 no_gtk=""
28925
28926 # Extract the first word of "pkg-config", so it can be a program name with args.
28927 set dummy pkg-config; ac_word=$2
28928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28930 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 case $PKG_CONFIG in
28934 [\\/]* | ?:[\\/]*)
28935 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28936 ;;
28937 *)
28938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28939 for as_dir in $PATH
28940 do
28941 IFS=$as_save_IFS
28942 test -z "$as_dir" && as_dir=.
28943 for ac_exec_ext in '' $ac_executable_extensions; do
28944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28945 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28947 break 2
28948 fi
28949 done
28950 done
28951 IFS=$as_save_IFS
28952
28953 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28954 ;;
28955 esac
28956 fi
28957 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28958 if test -n "$PKG_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28960 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28961 else
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28964 fi
28965
28966
28967
28968 if test x$PKG_CONFIG != xno ; then
28969 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28970 :
28971 else
28972 echo "*** pkg-config too old; version 0.7 or better required."
28973 no_gtk=yes
28974 PKG_CONFIG=no
28975 fi
28976 else
28977 no_gtk=yes
28978 fi
28979
28980 min_gtk_version=2.4.0
28981 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28982 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28983
28984 if test x$PKG_CONFIG != xno ; then
28985 ## don't try to run the test against uninstalled libtool libs
28986 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28987 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28988 enable_gtktest=no
28989 fi
28990
28991 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28992 :
28993 else
28994 no_gtk=yes
28995 fi
28996 fi
28997
28998 if test x"$no_gtk" = x ; then
28999 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29000 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29001 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29003 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29005 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29007 if test "x$enable_gtktest" = "xyes" ; then
29008 ac_save_CFLAGS="$CFLAGS"
29009 ac_save_LIBS="$LIBS"
29010 CFLAGS="$CFLAGS $GTK_CFLAGS"
29011 LIBS="$GTK_LIBS $LIBS"
29012 rm -f conf.gtktest
29013 if test "$cross_compiling" = yes; then
29014 echo $ac_n "cross compiling; assumed OK... $ac_c"
29015 else
29016 cat >conftest.$ac_ext <<_ACEOF
29017 /* confdefs.h. */
29018 _ACEOF
29019 cat confdefs.h >>conftest.$ac_ext
29020 cat >>conftest.$ac_ext <<_ACEOF
29021 /* end confdefs.h. */
29022
29023 #include <gtk/gtk.h>
29024 #include <stdio.h>
29025 #include <stdlib.h>
29026
29027 int
29028 main ()
29029 {
29030 int major, minor, micro;
29031 char *tmp_version;
29032
29033 system ("touch conf.gtktest");
29034
29035 /* HP/UX 9 (%@#!) writes to sscanf strings */
29036 tmp_version = g_strdup("$min_gtk_version");
29037 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29038 printf("%s, bad version string\n", "$min_gtk_version");
29039 exit(1);
29040 }
29041
29042 if ((gtk_major_version != $gtk_config_major_version) ||
29043 (gtk_minor_version != $gtk_config_minor_version) ||
29044 (gtk_micro_version != $gtk_config_micro_version))
29045 {
29046 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29047 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29048 gtk_major_version, gtk_minor_version, gtk_micro_version);
29049 printf ("*** was found! If pkg-config was correct, then it is best\n");
29050 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29051 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29052 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29053 printf("*** required on your system.\n");
29054 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29055 printf("*** to point to the correct configuration files\n");
29056 }
29057 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29058 (gtk_minor_version != GTK_MINOR_VERSION) ||
29059 (gtk_micro_version != GTK_MICRO_VERSION))
29060 {
29061 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29062 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29063 printf("*** library (version %d.%d.%d)\n",
29064 gtk_major_version, gtk_minor_version, gtk_micro_version);
29065 }
29066 else
29067 {
29068 if ((gtk_major_version > major) ||
29069 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29070 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29071 {
29072 return 0;
29073 }
29074 else
29075 {
29076 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29077 gtk_major_version, gtk_minor_version, gtk_micro_version);
29078 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29079 major, minor, micro);
29080 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29081 printf("***\n");
29082 printf("*** If you have already installed a sufficiently new version, this error\n");
29083 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29084 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29085 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29086 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29087 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29088 printf("*** so that the correct libraries are found at run-time))\n");
29089 }
29090 }
29091 return 1;
29092 }
29093
29094 _ACEOF
29095 rm -f conftest$ac_exeext
29096 if { (ac_try="$ac_link"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29100 esac
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_link") 2>&5
29103 ac_status=$?
29104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29106 { (case "(($ac_try" in
29107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29108 *) ac_try_echo=$ac_try;;
29109 esac
29110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29111 (eval "$ac_try") 2>&5
29112 ac_status=$?
29113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29114 (exit $ac_status); }; }; then
29115 :
29116 else
29117 echo "$as_me: program exited with status $ac_status" >&5
29118 echo "$as_me: failed program was:" >&5
29119 sed 's/^/| /' conftest.$ac_ext >&5
29120
29121 ( exit $ac_status )
29122 no_gtk=yes
29123 fi
29124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29125 fi
29126
29127
29128 CFLAGS="$ac_save_CFLAGS"
29129 LIBS="$ac_save_LIBS"
29130 fi
29131 fi
29132 if test "x$no_gtk" = x ; then
29133 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29134 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29135 wx_cv_lib_gtk=2.0
29136 else
29137 { echo "$as_me:$LINENO: result: no" >&5
29138 echo "${ECHO_T}no" >&6; }
29139 if test "$PKG_CONFIG" = "no" ; then
29140 echo "*** A new enough version of pkg-config was not found."
29141 echo "*** See http://pkgconfig.sourceforge.net"
29142 else
29143 if test -f conf.gtktest ; then
29144 :
29145 else
29146 echo "*** Could not run GTK+ test program, checking why..."
29147 ac_save_CFLAGS="$CFLAGS"
29148 ac_save_LIBS="$LIBS"
29149 CFLAGS="$CFLAGS $GTK_CFLAGS"
29150 LIBS="$LIBS $GTK_LIBS"
29151 cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h. */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157
29158 #include <gtk/gtk.h>
29159 #include <stdio.h>
29160
29161 int
29162 main ()
29163 {
29164 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29165 ;
29166 return 0;
29167 }
29168 _ACEOF
29169 rm -f conftest.$ac_objext conftest$ac_exeext
29170 if { (ac_try="$ac_link"
29171 case "(($ac_try" in
29172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29173 *) ac_try_echo=$ac_try;;
29174 esac
29175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29176 (eval "$ac_link") 2>conftest.er1
29177 ac_status=$?
29178 grep -v '^ *+' conftest.er1 >conftest.err
29179 rm -f conftest.er1
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } && {
29183 test -z "$ac_c_werror_flag" ||
29184 test ! -s conftest.err
29185 } && test -s conftest$ac_exeext &&
29186 $as_test_x conftest$ac_exeext; then
29187 echo "*** The test program compiled, but did not run. This usually means"
29188 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29189 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29192 echo "*** is required on your system"
29193 echo "***"
29194 echo "*** If you have an old version installed, it is best to remove it, although"
29195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29196 else
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29199
29200 echo "*** The test program failed to compile or link. See the file config.log for the"
29201 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29202 fi
29203
29204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29205 conftest$ac_exeext conftest.$ac_ext
29206 CFLAGS="$ac_save_CFLAGS"
29207 LIBS="$ac_save_LIBS"
29208 fi
29209 fi
29210 GTK_CFLAGS=""
29211 GTK_LIBS=""
29212 :
29213 fi
29214
29215
29216 rm -f conf.gtktest
29217
29218
29219 case "${host}" in
29220 *-*-solaris2* )
29221 if test "$wxUSE_SHARED" != "yes"; then
29222 GTK_LIBS="$GTK_LIBS -lX11"
29223 fi
29224 esac
29225 fi
29226
29227 if test -z "$wx_cv_lib_gtk"; then
29228 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29229
29230 # Check whether --with-gtk-prefix was given.
29231 if test "${with_gtk_prefix+set}" = set; then
29232 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29233 else
29234 gtk_config_prefix=""
29235 fi
29236
29237
29238 # Check whether --with-gtk-exec-prefix was given.
29239 if test "${with_gtk_exec_prefix+set}" = set; then
29240 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29241 else
29242 gtk_config_exec_prefix=""
29243 fi
29244
29245 # Check whether --enable-gtktest was given.
29246 if test "${enable_gtktest+set}" = set; then
29247 enableval=$enable_gtktest;
29248 else
29249 enable_gtktest=yes
29250 fi
29251
29252
29253 for module in . $GTK_MODULES
29254 do
29255 case "$module" in
29256 gthread)
29257 gtk_config_args="$gtk_config_args gthread"
29258 ;;
29259 esac
29260 done
29261
29262 if test x$gtk_config_exec_prefix != x ; then
29263 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29264 if test x${GTK_CONFIG+set} != xset ; then
29265 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29266 fi
29267 fi
29268 if test x$gtk_config_prefix != x ; then
29269 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29270 if test x${GTK_CONFIG+set} != xset ; then
29271 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29272 fi
29273 fi
29274
29275 # Extract the first word of "gtk-config", so it can be a program name with args.
29276 set dummy gtk-config; ac_word=$2
29277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29279 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 else
29282 case $GTK_CONFIG in
29283 [\\/]* | ?:[\\/]*)
29284 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29285 ;;
29286 *)
29287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29288 for as_dir in $PATH
29289 do
29290 IFS=$as_save_IFS
29291 test -z "$as_dir" && as_dir=.
29292 for ac_exec_ext in '' $ac_executable_extensions; do
29293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29294 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29296 break 2
29297 fi
29298 done
29299 done
29300 IFS=$as_save_IFS
29301
29302 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29303 ;;
29304 esac
29305 fi
29306 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29307 if test -n "$GTK_CONFIG"; then
29308 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29309 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29310 else
29311 { echo "$as_me:$LINENO: result: no" >&5
29312 echo "${ECHO_T}no" >&6; }
29313 fi
29314
29315
29316 min_gtk_version=1.2.7
29317 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29318 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29319 no_gtk=""
29320 if test "$GTK_CONFIG" = "no" ; then
29321 no_gtk=yes
29322 else
29323 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29324 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29325 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29327 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29329 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29331 if test "x$enable_gtktest" = "xyes" ; then
29332 ac_save_CFLAGS="$CFLAGS"
29333 ac_save_LIBS="$LIBS"
29334 CFLAGS="$CFLAGS $GTK_CFLAGS"
29335 LIBS="$GTK_LIBS $LIBS"
29336 rm -f conf.gtktest
29337 if test "$cross_compiling" = yes; then
29338 echo $ac_n "cross compiling; assumed OK... $ac_c"
29339 else
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346
29347 #include <gtk/gtk.h>
29348 #include <stdio.h>
29349 #include <stdlib.h>
29350
29351 int
29352 main ()
29353 {
29354 int major, minor, micro;
29355 char *tmp_version;
29356
29357 system ("touch conf.gtktest");
29358
29359 /* HP/UX 9 (%@#!) writes to sscanf strings */
29360 tmp_version = g_strdup("$min_gtk_version");
29361 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29362 printf("%s, bad version string\n", "$min_gtk_version");
29363 exit(1);
29364 }
29365
29366 if ((gtk_major_version != $gtk_config_major_version) ||
29367 (gtk_minor_version != $gtk_config_minor_version) ||
29368 (gtk_micro_version != $gtk_config_micro_version))
29369 {
29370 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29371 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29372 gtk_major_version, gtk_minor_version, gtk_micro_version);
29373 printf ("*** was found! If gtk-config was correct, then it is best\n");
29374 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29375 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29376 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29377 printf("*** required on your system.\n");
29378 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29379 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29380 printf("*** before re-running configure\n");
29381 }
29382 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29383 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29384 (gtk_minor_version != GTK_MINOR_VERSION) ||
29385 (gtk_micro_version != GTK_MICRO_VERSION))
29386 {
29387 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29388 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29389 printf("*** library (version %d.%d.%d)\n",
29390 gtk_major_version, gtk_minor_version, gtk_micro_version);
29391 }
29392 #endif /* defined (GTK_MAJOR_VERSION) ... */
29393 else
29394 {
29395 if ((gtk_major_version > major) ||
29396 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29397 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29398 {
29399 return 0;
29400 }
29401 else
29402 {
29403 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29404 gtk_major_version, gtk_minor_version, gtk_micro_version);
29405 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29406 major, minor, micro);
29407 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29408 printf("***\n");
29409 printf("*** If you have already installed a sufficiently new version, this error\n");
29410 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29411 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29412 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29413 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29414 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29415 printf("*** so that the correct libraries are found at run-time))\n");
29416 }
29417 }
29418 return 1;
29419 }
29420
29421 _ACEOF
29422 rm -f conftest$ac_exeext
29423 if { (ac_try="$ac_link"
29424 case "(($ac_try" in
29425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29426 *) ac_try_echo=$ac_try;;
29427 esac
29428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29429 (eval "$ac_link") 2>&5
29430 ac_status=$?
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29433 { (case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29436 esac
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_try") 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 :
29443 else
29444 echo "$as_me: program exited with status $ac_status" >&5
29445 echo "$as_me: failed program was:" >&5
29446 sed 's/^/| /' conftest.$ac_ext >&5
29447
29448 ( exit $ac_status )
29449 no_gtk=yes
29450 fi
29451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29452 fi
29453
29454
29455 CFLAGS="$ac_save_CFLAGS"
29456 LIBS="$ac_save_LIBS"
29457 fi
29458 fi
29459 if test "x$no_gtk" = x ; then
29460 { echo "$as_me:$LINENO: result: yes" >&5
29461 echo "${ECHO_T}yes" >&6; }
29462 wx_cv_lib_gtk=1.2.7
29463 else
29464 { echo "$as_me:$LINENO: result: no" >&5
29465 echo "${ECHO_T}no" >&6; }
29466 if test "$GTK_CONFIG" = "no" ; then
29467 echo "*** The gtk-config script installed by GTK could not be found"
29468 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29469 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29470 echo "*** full path to gtk-config."
29471 else
29472 if test -f conf.gtktest ; then
29473 :
29474 else
29475 echo "*** Could not run GTK test program, checking why..."
29476 CFLAGS="$CFLAGS $GTK_CFLAGS"
29477 LIBS="$LIBS $GTK_LIBS"
29478 cat >conftest.$ac_ext <<_ACEOF
29479 /* confdefs.h. */
29480 _ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484
29485 #include <gtk/gtk.h>
29486 #include <stdio.h>
29487
29488 int
29489 main ()
29490 {
29491 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29492 ;
29493 return 0;
29494 }
29495 _ACEOF
29496 rm -f conftest.$ac_objext conftest$ac_exeext
29497 if { (ac_try="$ac_link"
29498 case "(($ac_try" in
29499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29500 *) ac_try_echo=$ac_try;;
29501 esac
29502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29503 (eval "$ac_link") 2>conftest.er1
29504 ac_status=$?
29505 grep -v '^ *+' conftest.er1 >conftest.err
29506 rm -f conftest.er1
29507 cat conftest.err >&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); } && {
29510 test -z "$ac_c_werror_flag" ||
29511 test ! -s conftest.err
29512 } && test -s conftest$ac_exeext &&
29513 $as_test_x conftest$ac_exeext; then
29514 echo "*** The test program compiled, but did not run. This usually means"
29515 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29516 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29519 echo "*** is required on your system"
29520 echo "***"
29521 echo "*** If you have an old version installed, it is best to remove it, although"
29522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29523 echo "***"
29524 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29525 echo "*** came with the system with the command"
29526 echo "***"
29527 echo "*** rpm --erase --nodeps gtk gtk-devel"
29528 else
29529 echo "$as_me: failed program was:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29531
29532 echo "*** The test program failed to compile or link. See the file config.log for the"
29533 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29534 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29535 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29536 fi
29537
29538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29539 conftest$ac_exeext conftest.$ac_ext
29540 CFLAGS="$ac_save_CFLAGS"
29541 LIBS="$ac_save_LIBS"
29542 fi
29543 fi
29544 GTK_CFLAGS=""
29545 GTK_LIBS=""
29546 :
29547 fi
29548
29549
29550 rm -f conf.gtktest
29551
29552
29553 if test -z "$wx_cv_lib_gtk"; then
29554
29555 # Check whether --with-gtk-prefix was given.
29556 if test "${with_gtk_prefix+set}" = set; then
29557 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29558 else
29559 gtk_config_prefix=""
29560 fi
29561
29562
29563 # Check whether --with-gtk-exec-prefix was given.
29564 if test "${with_gtk_exec_prefix+set}" = set; then
29565 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29566 else
29567 gtk_config_exec_prefix=""
29568 fi
29569
29570 # Check whether --enable-gtktest was given.
29571 if test "${enable_gtktest+set}" = set; then
29572 enableval=$enable_gtktest;
29573 else
29574 enable_gtktest=yes
29575 fi
29576
29577
29578 for module in . $GTK_MODULES
29579 do
29580 case "$module" in
29581 gthread)
29582 gtk_config_args="$gtk_config_args gthread"
29583 ;;
29584 esac
29585 done
29586
29587 if test x$gtk_config_exec_prefix != x ; then
29588 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29589 if test x${GTK_CONFIG+set} != xset ; then
29590 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29591 fi
29592 fi
29593 if test x$gtk_config_prefix != x ; then
29594 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29595 if test x${GTK_CONFIG+set} != xset ; then
29596 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29597 fi
29598 fi
29599
29600 # Extract the first word of "gtk-config", so it can be a program name with args.
29601 set dummy gtk-config; ac_word=$2
29602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29604 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29606 else
29607 case $GTK_CONFIG in
29608 [\\/]* | ?:[\\/]*)
29609 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29610 ;;
29611 *)
29612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29613 for as_dir in $PATH
29614 do
29615 IFS=$as_save_IFS
29616 test -z "$as_dir" && as_dir=.
29617 for ac_exec_ext in '' $ac_executable_extensions; do
29618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29619 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29621 break 2
29622 fi
29623 done
29624 done
29625 IFS=$as_save_IFS
29626
29627 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29628 ;;
29629 esac
29630 fi
29631 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29632 if test -n "$GTK_CONFIG"; then
29633 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29634 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29635 else
29636 { echo "$as_me:$LINENO: result: no" >&5
29637 echo "${ECHO_T}no" >&6; }
29638 fi
29639
29640
29641 min_gtk_version=1.2.3
29642 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29643 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29644 no_gtk=""
29645 if test "$GTK_CONFIG" = "no" ; then
29646 no_gtk=yes
29647 else
29648 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29649 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29650 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29651 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29652 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29654 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29656 if test "x$enable_gtktest" = "xyes" ; then
29657 ac_save_CFLAGS="$CFLAGS"
29658 ac_save_LIBS="$LIBS"
29659 CFLAGS="$CFLAGS $GTK_CFLAGS"
29660 LIBS="$GTK_LIBS $LIBS"
29661 rm -f conf.gtktest
29662 if test "$cross_compiling" = yes; then
29663 echo $ac_n "cross compiling; assumed OK... $ac_c"
29664 else
29665 cat >conftest.$ac_ext <<_ACEOF
29666 /* confdefs.h. */
29667 _ACEOF
29668 cat confdefs.h >>conftest.$ac_ext
29669 cat >>conftest.$ac_ext <<_ACEOF
29670 /* end confdefs.h. */
29671
29672 #include <gtk/gtk.h>
29673 #include <stdio.h>
29674 #include <stdlib.h>
29675
29676 int
29677 main ()
29678 {
29679 int major, minor, micro;
29680 char *tmp_version;
29681
29682 system ("touch conf.gtktest");
29683
29684 /* HP/UX 9 (%@#!) writes to sscanf strings */
29685 tmp_version = g_strdup("$min_gtk_version");
29686 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29687 printf("%s, bad version string\n", "$min_gtk_version");
29688 exit(1);
29689 }
29690
29691 if ((gtk_major_version != $gtk_config_major_version) ||
29692 (gtk_minor_version != $gtk_config_minor_version) ||
29693 (gtk_micro_version != $gtk_config_micro_version))
29694 {
29695 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29696 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29697 gtk_major_version, gtk_minor_version, gtk_micro_version);
29698 printf ("*** was found! If gtk-config was correct, then it is best\n");
29699 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29700 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29701 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29702 printf("*** required on your system.\n");
29703 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29704 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29705 printf("*** before re-running configure\n");
29706 }
29707 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29709 (gtk_minor_version != GTK_MINOR_VERSION) ||
29710 (gtk_micro_version != GTK_MICRO_VERSION))
29711 {
29712 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29714 printf("*** library (version %d.%d.%d)\n",
29715 gtk_major_version, gtk_minor_version, gtk_micro_version);
29716 }
29717 #endif /* defined (GTK_MAJOR_VERSION) ... */
29718 else
29719 {
29720 if ((gtk_major_version > major) ||
29721 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29722 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29723 {
29724 return 0;
29725 }
29726 else
29727 {
29728 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29729 gtk_major_version, gtk_minor_version, gtk_micro_version);
29730 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29731 major, minor, micro);
29732 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29733 printf("***\n");
29734 printf("*** If you have already installed a sufficiently new version, this error\n");
29735 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29736 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29737 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29738 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29739 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29740 printf("*** so that the correct libraries are found at run-time))\n");
29741 }
29742 }
29743 return 1;
29744 }
29745
29746 _ACEOF
29747 rm -f conftest$ac_exeext
29748 if { (ac_try="$ac_link"
29749 case "(($ac_try" in
29750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29752 esac
29753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_link") 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29758 { (case "(($ac_try" in
29759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760 *) ac_try_echo=$ac_try;;
29761 esac
29762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763 (eval "$ac_try") 2>&5
29764 ac_status=$?
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; }; then
29767 :
29768 else
29769 echo "$as_me: program exited with status $ac_status" >&5
29770 echo "$as_me: failed program was:" >&5
29771 sed 's/^/| /' conftest.$ac_ext >&5
29772
29773 ( exit $ac_status )
29774 no_gtk=yes
29775 fi
29776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29777 fi
29778
29779
29780 CFLAGS="$ac_save_CFLAGS"
29781 LIBS="$ac_save_LIBS"
29782 fi
29783 fi
29784 if test "x$no_gtk" = x ; then
29785 { echo "$as_me:$LINENO: result: yes" >&5
29786 echo "${ECHO_T}yes" >&6; }
29787 wx_cv_lib_gtk=1.2.3
29788 else
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29791 if test "$GTK_CONFIG" = "no" ; then
29792 echo "*** The gtk-config script installed by GTK could not be found"
29793 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29794 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29795 echo "*** full path to gtk-config."
29796 else
29797 if test -f conf.gtktest ; then
29798 :
29799 else
29800 echo "*** Could not run GTK test program, checking why..."
29801 CFLAGS="$CFLAGS $GTK_CFLAGS"
29802 LIBS="$LIBS $GTK_LIBS"
29803 cat >conftest.$ac_ext <<_ACEOF
29804 /* confdefs.h. */
29805 _ACEOF
29806 cat confdefs.h >>conftest.$ac_ext
29807 cat >>conftest.$ac_ext <<_ACEOF
29808 /* end confdefs.h. */
29809
29810 #include <gtk/gtk.h>
29811 #include <stdio.h>
29812
29813 int
29814 main ()
29815 {
29816 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29817 ;
29818 return 0;
29819 }
29820 _ACEOF
29821 rm -f conftest.$ac_objext conftest$ac_exeext
29822 if { (ac_try="$ac_link"
29823 case "(($ac_try" in
29824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29825 *) ac_try_echo=$ac_try;;
29826 esac
29827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29828 (eval "$ac_link") 2>conftest.er1
29829 ac_status=$?
29830 grep -v '^ *+' conftest.er1 >conftest.err
29831 rm -f conftest.er1
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } && {
29835 test -z "$ac_c_werror_flag" ||
29836 test ! -s conftest.err
29837 } && test -s conftest$ac_exeext &&
29838 $as_test_x conftest$ac_exeext; then
29839 echo "*** The test program compiled, but did not run. This usually means"
29840 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29841 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29842 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29843 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29844 echo "*** is required on your system"
29845 echo "***"
29846 echo "*** If you have an old version installed, it is best to remove it, although"
29847 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29848 echo "***"
29849 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29850 echo "*** came with the system with the command"
29851 echo "***"
29852 echo "*** rpm --erase --nodeps gtk gtk-devel"
29853 else
29854 echo "$as_me: failed program was:" >&5
29855 sed 's/^/| /' conftest.$ac_ext >&5
29856
29857 echo "*** The test program failed to compile or link. See the file config.log for the"
29858 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29859 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29860 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29861 fi
29862
29863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29864 conftest$ac_exeext conftest.$ac_ext
29865 CFLAGS="$ac_save_CFLAGS"
29866 LIBS="$ac_save_LIBS"
29867 fi
29868 fi
29869 GTK_CFLAGS=""
29870 GTK_LIBS=""
29871 :
29872 fi
29873
29874
29875 rm -f conf.gtktest
29876
29877 fi
29878 fi
29879 fi
29880
29881 if test -z "$wx_cv_lib_gtk"; then
29882 wx_cv_lib_gtk=none
29883 else
29884 wx_cv_cflags_gtk=$GTK_CFLAGS
29885 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29886 fi
29887
29888
29889 fi
29890
29891
29892 if test "$gtk_version_cached" = 1; then
29893 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29894 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29895 fi
29896
29897 case "$wx_cv_lib_gtk" in
29898 2.0) WXGTK2=1
29899 TOOLKIT_VERSION=2
29900 ;;
29901 1.2.7) WXGTK127=1
29902 WXGTK12=1
29903 ;;
29904 1.2.3) WXGTK12=1
29905 ;;
29906 *) { { echo "$as_me:$LINENO: error:
29907 The development files for GTK+ were not found. For GTK+ 2, please
29908 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29909 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29910 and that the version is 1.2.3 or above. Also check that the
29911 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29912 --libs' are in the LD_LIBRARY_PATH or equivalent.
29913 " >&5
29914 echo "$as_me: error:
29915 The development files for GTK+ were not found. For GTK+ 2, please
29916 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29917 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29918 and that the version is 1.2.3 or above. Also check that the
29919 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29920 --libs' are in the LD_LIBRARY_PATH or equivalent.
29921 " >&2;}
29922 { (exit 1); exit 1; }; }
29923 ;;
29924 esac
29925
29926 if test "$WXGTK2" = 1; then
29927 save_CFLAGS="$CFLAGS"
29928 save_LIBS="$LIBS"
29929 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29930 LIBS="$LIBS $wx_cv_libs_gtk"
29931
29932 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29933 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29934 cat >conftest.$ac_ext <<_ACEOF
29935 /* confdefs.h. */
29936 _ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29940
29941 #include <gtk/gtk.h>
29942
29943 int
29944 main ()
29945 {
29946
29947 #if !GTK_CHECK_VERSION(2,18,0)
29948 Not GTK+ 2.18
29949 #endif
29950
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 rm -f conftest.$ac_objext
29956 if { (ac_try="$ac_compile"
29957 case "(($ac_try" in
29958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29959 *) ac_try_echo=$ac_try;;
29960 esac
29961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29962 (eval "$ac_compile") 2>conftest.er1
29963 ac_status=$?
29964 grep -v '^ *+' conftest.er1 >conftest.err
29965 rm -f conftest.er1
29966 cat conftest.err >&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); } && {
29969 test -z "$ac_c_werror_flag" ||
29970 test ! -s conftest.err
29971 } && test -s conftest.$ac_objext; then
29972
29973 cat >>confdefs.h <<\_ACEOF
29974 #define __WXGTK218__ 1
29975 _ACEOF
29976
29977 cat >>confdefs.h <<\_ACEOF
29978 #define __WXGTK210__ 1
29979 _ACEOF
29980
29981 cat >>confdefs.h <<\_ACEOF
29982 #define __WXGTK26__ 1
29983 _ACEOF
29984
29985 { echo "$as_me:$LINENO: result: yes" >&5
29986 echo "${ECHO_T}yes" >&6; }
29987 ac_wxgtk218=1
29988
29989 else
29990 echo "$as_me: failed program was:" >&5
29991 sed 's/^/| /' conftest.$ac_ext >&5
29992
29993
29994 { echo "$as_me:$LINENO: result: no" >&5
29995 echo "${ECHO_T}no" >&6; }
29996 ac_wxgtk218=0
29997
29998 fi
29999
30000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30001
30002 if test "$ac_wxgtk218" = 0; then
30003 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30004 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30005 cat >conftest.$ac_ext <<_ACEOF
30006 /* confdefs.h. */
30007 _ACEOF
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30011
30012 #include <gtk/gtk.h>
30013
30014 int
30015 main ()
30016 {
30017
30018 #if !GTK_CHECK_VERSION(2,10,0)
30019 Not GTK+ 2.10
30020 #endif
30021
30022 ;
30023 return 0;
30024 }
30025 _ACEOF
30026 rm -f conftest.$ac_objext
30027 if { (ac_try="$ac_compile"
30028 case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30031 esac
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_compile") 2>conftest.er1
30034 ac_status=$?
30035 grep -v '^ *+' conftest.er1 >conftest.err
30036 rm -f conftest.er1
30037 cat conftest.err >&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && {
30040 test -z "$ac_c_werror_flag" ||
30041 test ! -s conftest.err
30042 } && test -s conftest.$ac_objext; then
30043
30044 cat >>confdefs.h <<\_ACEOF
30045 #define __WXGTK210__ 1
30046 _ACEOF
30047
30048 cat >>confdefs.h <<\_ACEOF
30049 #define __WXGTK26__ 1
30050 _ACEOF
30051
30052 { echo "$as_me:$LINENO: result: yes" >&5
30053 echo "${ECHO_T}yes" >&6; }
30054 ac_wxgtk210=1
30055
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060
30061 { echo "$as_me:$LINENO: result: no" >&5
30062 echo "${ECHO_T}no" >&6; }
30063 ac_wxgtk210=0
30064
30065 fi
30066
30067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30068
30069 if test "$ac_wxgtk210" = 0; then
30070 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30071 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30072 cat >conftest.$ac_ext <<_ACEOF
30073 /* confdefs.h. */
30074 _ACEOF
30075 cat confdefs.h >>conftest.$ac_ext
30076 cat >>conftest.$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30078
30079 #include <gtk/gtk.h>
30080
30081 int
30082 main ()
30083 {
30084
30085 #if !GTK_CHECK_VERSION(2,6,0)
30086 Not GTK+ 2.6
30087 #endif
30088
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext
30094 if { (ac_try="$ac_compile"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30098 esac
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_compile") 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest.$ac_objext; then
30110
30111 cat >>confdefs.h <<\_ACEOF
30112 #define __WXGTK26__ 1
30113 _ACEOF
30114
30115 { echo "$as_me:$LINENO: result: yes" >&5
30116 echo "${ECHO_T}yes" >&6; }
30117 ac_wxgtk26=1
30118
30119 else
30120 echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.$ac_ext >&5
30122
30123
30124 { echo "$as_me:$LINENO: result: no" >&5
30125 echo "${ECHO_T}no" >&6; }
30126 ac_wxgtk26=0
30127
30128 fi
30129
30130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30131 fi
30132 fi
30133
30134 CFLAGS="$save_CFLAGS"
30135 LIBS="$save_LIBS"
30136 else
30137 if test "$wxUSE_UNICODE" = "yes"; then
30138 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30139 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30140 wxUSE_UNICODE=no
30141 fi
30142
30143 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30144 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30145 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 else
30148 ac_check_lib_save_LIBS=$LIBS
30149 LIBS="-lgdk $LIBS"
30150 cat >conftest.$ac_ext <<_ACEOF
30151 /* confdefs.h. */
30152 _ACEOF
30153 cat confdefs.h >>conftest.$ac_ext
30154 cat >>conftest.$ac_ext <<_ACEOF
30155 /* end confdefs.h. */
30156
30157 /* Override any GCC internal prototype to avoid an error.
30158 Use char because int might match the return type of a GCC
30159 builtin and then its argument prototype would still apply. */
30160 #ifdef __cplusplus
30161 extern "C"
30162 #endif
30163 char gdk_im_open ();
30164 int
30165 main ()
30166 {
30167 return gdk_im_open ();
30168 ;
30169 return 0;
30170 }
30171 _ACEOF
30172 rm -f conftest.$ac_objext conftest$ac_exeext
30173 if { (ac_try="$ac_link"
30174 case "(($ac_try" in
30175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30176 *) ac_try_echo=$ac_try;;
30177 esac
30178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30179 (eval "$ac_link") 2>conftest.er1
30180 ac_status=$?
30181 grep -v '^ *+' conftest.er1 >conftest.err
30182 rm -f conftest.er1
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } && {
30186 test -z "$ac_c_werror_flag" ||
30187 test ! -s conftest.err
30188 } && test -s conftest$ac_exeext &&
30189 $as_test_x conftest$ac_exeext; then
30190 ac_cv_lib_gdk_gdk_im_open=yes
30191 else
30192 echo "$as_me: failed program was:" >&5
30193 sed 's/^/| /' conftest.$ac_ext >&5
30194
30195 ac_cv_lib_gdk_gdk_im_open=no
30196 fi
30197
30198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30199 conftest$ac_exeext conftest.$ac_ext
30200 LIBS=$ac_check_lib_save_LIBS
30201 fi
30202 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30203 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30204 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30205 cat >>confdefs.h <<\_ACEOF
30206 #define HAVE_XIM 1
30207 _ACEOF
30208
30209 fi
30210
30211
30212 if test "$USE_DARWIN" != 1; then
30213
30214 for ac_func in poll
30215 do
30216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 else
30222 cat >conftest.$ac_ext <<_ACEOF
30223 /* confdefs.h. */
30224 _ACEOF
30225 cat confdefs.h >>conftest.$ac_ext
30226 cat >>conftest.$ac_ext <<_ACEOF
30227 /* end confdefs.h. */
30228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30230 #define $ac_func innocuous_$ac_func
30231
30232 /* System header to define __stub macros and hopefully few prototypes,
30233 which can conflict with char $ac_func (); below.
30234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30235 <limits.h> exists even on freestanding compilers. */
30236
30237 #ifdef __STDC__
30238 # include <limits.h>
30239 #else
30240 # include <assert.h>
30241 #endif
30242
30243 #undef $ac_func
30244
30245 /* Override any GCC internal prototype to avoid an error.
30246 Use char because int might match the return type of a GCC
30247 builtin and then its argument prototype would still apply. */
30248 #ifdef __cplusplus
30249 extern "C"
30250 #endif
30251 char $ac_func ();
30252 /* The GNU C library defines this for functions which it implements
30253 to always fail with ENOSYS. Some functions are actually named
30254 something starting with __ and the normal name is an alias. */
30255 #if defined __stub_$ac_func || defined __stub___$ac_func
30256 choke me
30257 #endif
30258
30259 int
30260 main ()
30261 {
30262 return $ac_func ();
30263 ;
30264 return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (ac_try="$ac_link"
30269 case "(($ac_try" in
30270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30271 *) ac_try_echo=$ac_try;;
30272 esac
30273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30274 (eval "$ac_link") 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } && {
30281 test -z "$ac_c_werror_flag" ||
30282 test ! -s conftest.err
30283 } && test -s conftest$ac_exeext &&
30284 $as_test_x conftest$ac_exeext; then
30285 eval "$as_ac_var=yes"
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 eval "$as_ac_var=no"
30291 fi
30292
30293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30294 conftest$ac_exeext conftest.$ac_ext
30295 fi
30296 ac_res=`eval echo '${'$as_ac_var'}'`
30297 { echo "$as_me:$LINENO: result: $ac_res" >&5
30298 echo "${ECHO_T}$ac_res" >&6; }
30299 if test `eval echo '${'$as_ac_var'}'` = yes; then
30300 cat >>confdefs.h <<_ACEOF
30301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30302 _ACEOF
30303
30304 fi
30305 done
30306
30307 fi
30308 fi
30309
30310 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30311 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30312
30313 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30314
30315 AFMINSTALL=afminstall
30316 TOOLKIT=GTK
30317 GUIDIST=GTK_DIST
30318
30319 if test "$wxUSE_GPE" = "yes"; then
30320 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30321 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30322
30323 ac_find_libraries=
30324 for ac_dir in $SEARCH_LIB;
30325 do
30326 for ac_extension in a so sl dylib dll.a; do
30327 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30328 ac_find_libraries=$ac_dir
30329 break 2
30330 fi
30331 done
30332 done
30333
30334 if test "$ac_find_libraries" != "" ; then
30335
30336 if test "$ac_find_libraries" = "default location"; then
30337 ac_path_to_link=""
30338 else
30339 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30340 result=$?
30341 if test $result = 0; then
30342 ac_path_to_link=""
30343 else
30344 ac_path_to_link=" -L$ac_find_libraries"
30345 fi
30346 fi
30347
30348 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30349 WXGPE=1
30350 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30351 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30352 else
30353 { echo "$as_me:$LINENO: result: not found" >&5
30354 echo "${ECHO_T}not found" >&6; }
30355 fi
30356
30357 fi
30358 fi
30359
30360 if test "$wxUSE_MGL" = 1; then
30361 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30362 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30363 if test "x$MGL_ROOT" = x ; then
30364 { echo "$as_me:$LINENO: result: not found" >&5
30365 echo "${ECHO_T}not found" >&6; }
30366 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30367 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30368 { (exit 1); exit 1; }; }
30369 else
30370 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30371 echo "${ECHO_T}$MGL_ROOT" >&6; }
30372 fi
30373
30374 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30375 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30376 case "${host}" in
30377 *-*-linux* )
30378 if test "x$wxUSE_SHARED" = xyes ; then
30379 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30380 else
30381 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30382 fi
30383 ;;
30384 *-pc-msdosdjgpp )
30385 mgl_os_candidates="dos32/dj2"
30386 ;;
30387 *)
30388 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30389 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30390 { (exit 1); exit 1; }; }
30391 esac
30392
30393 mgl_lib_type=""
30394 mgl_os=""
30395
30396 for mgl_os_i in $mgl_os_candidates ; do
30397 if test "x$mgl_os" = x ; then
30398 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30399 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30400 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30401 mgl_lib_type=debug
30402 mgl_os=$mgl_os_i
30403 fi
30404 fi
30405 if test "x$mgl_lib_type" = x ; then
30406 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30407 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30408 mgl_lib_type=release
30409 mgl_os=$mgl_os_i
30410 fi
30411 fi
30412 fi
30413 done
30414
30415 if test "x$mgl_os" = x ; then
30416 { echo "$as_me:$LINENO: result: not found" >&5
30417 echo "${ECHO_T}not found" >&6; }
30418 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30419 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30420 { (exit 1); exit 1; }; }
30421 fi
30422 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30423 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30424
30425 wxUSE_UNIVERSAL="yes"
30426
30427 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30428 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30429
30430 AFMINSTALL=afminstall
30431 TOOLKIT=MGL
30432 GUIDIST=MGL_DIST
30433 fi
30434
30435 if test "$wxUSE_DFB" = 1; then
30436
30437
30438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30439 if test -n "$ac_tool_prefix"; then
30440 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30441 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 else
30447 case $PKG_CONFIG in
30448 [\\/]* | ?:[\\/]*)
30449 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30450 ;;
30451 *)
30452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30453 for as_dir in $PATH
30454 do
30455 IFS=$as_save_IFS
30456 test -z "$as_dir" && as_dir=.
30457 for ac_exec_ext in '' $ac_executable_extensions; do
30458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30459 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30461 break 2
30462 fi
30463 done
30464 done
30465 IFS=$as_save_IFS
30466
30467 ;;
30468 esac
30469 fi
30470 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30471 if test -n "$PKG_CONFIG"; then
30472 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30473 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30474 else
30475 { echo "$as_me:$LINENO: result: no" >&5
30476 echo "${ECHO_T}no" >&6; }
30477 fi
30478
30479
30480 fi
30481 if test -z "$ac_cv_path_PKG_CONFIG"; then
30482 ac_pt_PKG_CONFIG=$PKG_CONFIG
30483 # Extract the first word of "pkg-config", so it can be a program name with args.
30484 set dummy pkg-config; ac_word=$2
30485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30487 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30488 echo $ECHO_N "(cached) $ECHO_C" >&6
30489 else
30490 case $ac_pt_PKG_CONFIG in
30491 [\\/]* | ?:[\\/]*)
30492 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30493 ;;
30494 *)
30495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30496 for as_dir in $PATH
30497 do
30498 IFS=$as_save_IFS
30499 test -z "$as_dir" && as_dir=.
30500 for ac_exec_ext in '' $ac_executable_extensions; do
30501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30502 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30504 break 2
30505 fi
30506 done
30507 done
30508 IFS=$as_save_IFS
30509
30510 ;;
30511 esac
30512 fi
30513 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30514 if test -n "$ac_pt_PKG_CONFIG"; then
30515 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30516 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30517 else
30518 { echo "$as_me:$LINENO: result: no" >&5
30519 echo "${ECHO_T}no" >&6; }
30520 fi
30521
30522 if test "x$ac_pt_PKG_CONFIG" = x; then
30523 PKG_CONFIG=""
30524 else
30525 case $cross_compiling:$ac_tool_warned in
30526 yes:)
30527 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30528 whose name does not start with the host triplet. If you think this
30529 configuration is useful to you, please write to autoconf@gnu.org." >&5
30530 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30531 whose name does not start with the host triplet. If you think this
30532 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30533 ac_tool_warned=yes ;;
30534 esac
30535 PKG_CONFIG=$ac_pt_PKG_CONFIG
30536 fi
30537 else
30538 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30539 fi
30540
30541 fi
30542 if test -n "$PKG_CONFIG"; then
30543 _pkg_min_version=0.9.0
30544 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30545 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30546 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30547 { echo "$as_me:$LINENO: result: yes" >&5
30548 echo "${ECHO_T}yes" >&6; }
30549 else
30550 { echo "$as_me:$LINENO: result: no" >&5
30551 echo "${ECHO_T}no" >&6; }
30552 PKG_CONFIG=""
30553 fi
30554
30555 fi
30556
30557
30558 pkg_failed=no
30559 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30560 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30561
30562 if test -n "$PKG_CONFIG"; then
30563 if test -n "$DIRECTFB_CFLAGS"; then
30564 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30565 else
30566 if test -n "$PKG_CONFIG" && \
30567 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30568 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; then
30572 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30573 else
30574 pkg_failed=yes
30575 fi
30576 fi
30577 else
30578 pkg_failed=untried
30579 fi
30580 if test -n "$PKG_CONFIG"; then
30581 if test -n "$DIRECTFB_LIBS"; then
30582 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30583 else
30584 if test -n "$PKG_CONFIG" && \
30585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30586 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; then
30590 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30591 else
30592 pkg_failed=yes
30593 fi
30594 fi
30595 else
30596 pkg_failed=untried
30597 fi
30598
30599
30600
30601 if test $pkg_failed = yes; then
30602
30603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30604 _pkg_short_errors_supported=yes
30605 else
30606 _pkg_short_errors_supported=no
30607 fi
30608 if test $_pkg_short_errors_supported = yes; then
30609 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30610 else
30611 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30612 fi
30613 # Put the nasty error message in config.log where it belongs
30614 echo "$DIRECTFB_PKG_ERRORS" >&5
30615
30616
30617 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30618 echo "$as_me: error: DirectFB not found." >&2;}
30619 { (exit 1); exit 1; }; }
30620
30621
30622 elif test $pkg_failed = untried; then
30623
30624 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30625 echo "$as_me: error: DirectFB not found." >&2;}
30626 { (exit 1); exit 1; }; }
30627
30628
30629 else
30630 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30631 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30632 { echo "$as_me:$LINENO: result: yes" >&5
30633 echo "${ECHO_T}yes" >&6; }
30634
30635 wxUSE_UNIVERSAL="yes"
30636 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30637 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30638 TOOLKIT=DFB
30639 GUIDIST=DFB_DIST
30640
30641 fi
30642 fi
30643
30644 if test "$wxUSE_MICROWIN" = 1; then
30645 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30646 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30647 if test "x$MICROWINDOWS" = x ; then
30648 { echo "$as_me:$LINENO: result: not found" >&5
30649 echo "${ECHO_T}not found" >&6; }
30650 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30651 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30652 { (exit 1); exit 1; }; }
30653 else
30654 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30655 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30656 fi
30657
30658 if test -f $MICROWINDOWS/lib/libmwin.a; then
30659 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30660 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30661 else
30662 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30663 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30664 { (exit 1); exit 1; }; }
30665 fi
30666
30667 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30668 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30669
30670 wxUSE_UNIVERSAL="yes"
30671
30672 AFMINSTALL=afminstall
30673 TOOLKIT=MICROWIN
30674 GUIDIST=MICROWIN_DIST
30675
30676 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30677 fi
30678
30679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30680 { echo "$as_me:$LINENO: checking for X" >&5
30681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30682
30683
30684 # Check whether --with-x was given.
30685 if test "${with_x+set}" = set; then
30686 withval=$with_x;
30687 fi
30688
30689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30690 if test "x$with_x" = xno; then
30691 # The user explicitly disabled X.
30692 have_x=disabled
30693 else
30694 case $x_includes,$x_libraries in #(
30695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30697 { (exit 1); exit 1; }; };; #(
30698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701 # One or both of the vars are not set, and there is no cached value.
30702 ac_x_includes=no ac_x_libraries=no
30703 rm -f -r conftest.dir
30704 if mkdir conftest.dir; then
30705 cd conftest.dir
30706 cat >Imakefile <<'_ACEOF'
30707 incroot:
30708 @echo incroot='${INCROOT}'
30709 usrlibdir:
30710 @echo usrlibdir='${USRLIBDIR}'
30711 libdir:
30712 @echo libdir='${LIBDIR}'
30713 _ACEOF
30714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30716 for ac_var in incroot usrlibdir libdir; do
30717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30718 done
30719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30720 for ac_extension in a so sl; do
30721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30723 ac_im_usrlibdir=$ac_im_libdir; break
30724 fi
30725 done
30726 # Screen out bogus values from the imake configuration. They are
30727 # bogus both because they are the default anyway, and because
30728 # using them would break gcc on systems where it needs fixed includes.
30729 case $ac_im_incroot in
30730 /usr/include) ac_x_includes= ;;
30731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30732 esac
30733 case $ac_im_usrlibdir in
30734 /usr/lib | /lib) ;;
30735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30736 esac
30737 fi
30738 cd ..
30739 rm -f -r conftest.dir
30740 fi
30741
30742 # Standard set of common directories for X headers.
30743 # Check X11 before X11Rn because it is often a symlink to the current release.
30744 ac_x_header_dirs='
30745 /usr/X11/include
30746 /usr/X11R6/include
30747 /usr/X11R5/include
30748 /usr/X11R4/include
30749
30750 /usr/include/X11
30751 /usr/include/X11R6
30752 /usr/include/X11R5
30753 /usr/include/X11R4
30754
30755 /usr/local/X11/include
30756 /usr/local/X11R6/include
30757 /usr/local/X11R5/include
30758 /usr/local/X11R4/include
30759
30760 /usr/local/include/X11
30761 /usr/local/include/X11R6
30762 /usr/local/include/X11R5
30763 /usr/local/include/X11R4
30764
30765 /usr/X386/include
30766 /usr/x386/include
30767 /usr/XFree86/include/X11
30768
30769 /usr/include
30770 /usr/local/include
30771 /usr/unsupported/include
30772 /usr/athena/include
30773 /usr/local/x11r5/include
30774 /usr/lpp/Xamples/include
30775
30776 /usr/openwin/include
30777 /usr/openwin/share/include'
30778
30779 if test "$ac_x_includes" = no; then
30780 # Guess where to find include files, by looking for Xlib.h.
30781 # First, try using that file with no special directory specified.
30782 cat >conftest.$ac_ext <<_ACEOF
30783 /* confdefs.h. */
30784 _ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 #include <X11/Xlib.h>
30789 _ACEOF
30790 if { (ac_try="$ac_cpp conftest.$ac_ext"
30791 case "(($ac_try" in
30792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30794 esac
30795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30797 ac_status=$?
30798 grep -v '^ *+' conftest.er1 >conftest.err
30799 rm -f conftest.er1
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } >/dev/null && {
30803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30805 }; then
30806 # We can compile using X headers with no special include directory.
30807 ac_x_includes=
30808 else
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 for ac_dir in $ac_x_header_dirs; do
30813 if test -r "$ac_dir/X11/Xlib.h"; then
30814 ac_x_includes=$ac_dir
30815 break
30816 fi
30817 done
30818 fi
30819
30820 rm -f conftest.err conftest.$ac_ext
30821 fi # $ac_x_includes = no
30822
30823 if test "$ac_x_libraries" = no; then
30824 # Check for the libraries.
30825 # See if we find them without any special options.
30826 # Don't add to $LIBS permanently.
30827 ac_save_LIBS=$LIBS
30828 LIBS="-lX11 $LIBS"
30829 cat >conftest.$ac_ext <<_ACEOF
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835 #include <X11/Xlib.h>
30836 int
30837 main ()
30838 {
30839 XrmInitialize ()
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext conftest$ac_exeext
30845 if { (ac_try="$ac_link"
30846 case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_link") 2>conftest.er1
30852 ac_status=$?
30853 grep -v '^ *+' conftest.er1 >conftest.err
30854 rm -f conftest.er1
30855 cat conftest.err >&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); } && {
30858 test -z "$ac_c_werror_flag" ||
30859 test ! -s conftest.err
30860 } && test -s conftest$ac_exeext &&
30861 $as_test_x conftest$ac_exeext; then
30862 LIBS=$ac_save_LIBS
30863 # We can link X programs with no special library path.
30864 ac_x_libraries=
30865 else
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30868
30869 LIBS=$ac_save_LIBS
30870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30871 do
30872 # Don't even attempt the hair of trying to link an X program!
30873 for ac_extension in a so sl; do
30874 if test -r "$ac_dir/libX11.$ac_extension"; then
30875 ac_x_libraries=$ac_dir
30876 break 2
30877 fi
30878 done
30879 done
30880 fi
30881
30882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30883 conftest$ac_exeext conftest.$ac_ext
30884 fi # $ac_x_libraries = no
30885
30886 case $ac_x_includes,$ac_x_libraries in #(
30887 no,* | *,no | *\'*)
30888 # Didn't find X, or a directory has "'" in its name.
30889 ac_cv_have_x="have_x=no";; #(
30890 *)
30891 # Record where we found X for the cache.
30892 ac_cv_have_x="have_x=yes\
30893 ac_x_includes='$ac_x_includes'\
30894 ac_x_libraries='$ac_x_libraries'"
30895 esac
30896 fi
30897 ;; #(
30898 *) have_x=yes;;
30899 esac
30900 eval "$ac_cv_have_x"
30901 fi # $with_x != no
30902
30903 if test "$have_x" != yes; then
30904 { echo "$as_me:$LINENO: result: $have_x" >&5
30905 echo "${ECHO_T}$have_x" >&6; }
30906 no_x=yes
30907 else
30908 # If each of the values was on the command line, it overrides each guess.
30909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30911 # Update the cache value to reflect the command line values.
30912 ac_cv_have_x="have_x=yes\
30913 ac_x_includes='$x_includes'\
30914 ac_x_libraries='$x_libraries'"
30915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30917 fi
30918
30919 if test "$no_x" = yes; then
30920 # Not all programs may use this symbol, but it does not hurt to define it.
30921
30922 cat >>confdefs.h <<\_ACEOF
30923 #define X_DISPLAY_MISSING 1
30924 _ACEOF
30925
30926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30927 else
30928 if test -n "$x_includes"; then
30929 X_CFLAGS="$X_CFLAGS -I$x_includes"
30930 fi
30931
30932 # It would also be nice to do this for all -L options, not just this one.
30933 if test -n "$x_libraries"; then
30934 X_LIBS="$X_LIBS -L$x_libraries"
30935 # For Solaris; some versions of Sun CC require a space after -R and
30936 # others require no space. Words are not sufficient . . . .
30937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30940 ac_xsave_c_werror_flag=$ac_c_werror_flag
30941 ac_c_werror_flag=yes
30942 cat >conftest.$ac_ext <<_ACEOF
30943 /* confdefs.h. */
30944 _ACEOF
30945 cat confdefs.h >>conftest.$ac_ext
30946 cat >>conftest.$ac_ext <<_ACEOF
30947 /* end confdefs.h. */
30948
30949 int
30950 main ()
30951 {
30952
30953 ;
30954 return 0;
30955 }
30956 _ACEOF
30957 rm -f conftest.$ac_objext conftest$ac_exeext
30958 if { (ac_try="$ac_link"
30959 case "(($ac_try" in
30960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30961 *) ac_try_echo=$ac_try;;
30962 esac
30963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30964 (eval "$ac_link") 2>conftest.er1
30965 ac_status=$?
30966 grep -v '^ *+' conftest.er1 >conftest.err
30967 rm -f conftest.er1
30968 cat conftest.err >&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } && {
30971 test -z "$ac_c_werror_flag" ||
30972 test ! -s conftest.err
30973 } && test -s conftest$ac_exeext &&
30974 $as_test_x conftest$ac_exeext; then
30975 { echo "$as_me:$LINENO: result: no" >&5
30976 echo "${ECHO_T}no" >&6; }
30977 X_LIBS="$X_LIBS -R$x_libraries"
30978 else
30979 echo "$as_me: failed program was:" >&5
30980 sed 's/^/| /' conftest.$ac_ext >&5
30981
30982 LIBS="$ac_xsave_LIBS -R $x_libraries"
30983 cat >conftest.$ac_ext <<_ACEOF
30984 /* confdefs.h. */
30985 _ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989
30990 int
30991 main ()
30992 {
30993
30994 ;
30995 return 0;
30996 }
30997 _ACEOF
30998 rm -f conftest.$ac_objext conftest$ac_exeext
30999 if { (ac_try="$ac_link"
31000 case "(($ac_try" in
31001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31002 *) ac_try_echo=$ac_try;;
31003 esac
31004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31005 (eval "$ac_link") 2>conftest.er1
31006 ac_status=$?
31007 grep -v '^ *+' conftest.er1 >conftest.err
31008 rm -f conftest.er1
31009 cat conftest.err >&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } && {
31012 test -z "$ac_c_werror_flag" ||
31013 test ! -s conftest.err
31014 } && test -s conftest$ac_exeext &&
31015 $as_test_x conftest$ac_exeext; then
31016 { echo "$as_me:$LINENO: result: yes" >&5
31017 echo "${ECHO_T}yes" >&6; }
31018 X_LIBS="$X_LIBS -R $x_libraries"
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023 { echo "$as_me:$LINENO: result: neither works" >&5
31024 echo "${ECHO_T}neither works" >&6; }
31025 fi
31026
31027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31028 conftest$ac_exeext conftest.$ac_ext
31029 fi
31030
31031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31032 conftest$ac_exeext conftest.$ac_ext
31033 ac_c_werror_flag=$ac_xsave_c_werror_flag
31034 LIBS=$ac_xsave_LIBS
31035 fi
31036
31037 # Check for system-dependent libraries X programs must link with.
31038 # Do this before checking for the system-independent R6 libraries
31039 # (-lICE), since we may need -lsocket or whatever for X linking.
31040
31041 if test "$ISC" = yes; then
31042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31043 else
31044 # Martyn Johnson says this is needed for Ultrix, if the X
31045 # libraries were built with DECnet support. And Karl Berry says
31046 # the Alpha needs dnet_stub (dnet does not exist).
31047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31048 cat >conftest.$ac_ext <<_ACEOF
31049 /* confdefs.h. */
31050 _ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054
31055 /* Override any GCC internal prototype to avoid an error.
31056 Use char because int might match the return type of a GCC
31057 builtin and then its argument prototype would still apply. */
31058 #ifdef __cplusplus
31059 extern "C"
31060 #endif
31061 char XOpenDisplay ();
31062 int
31063 main ()
31064 {
31065 return XOpenDisplay ();
31066 ;
31067 return 0;
31068 }
31069 _ACEOF
31070 rm -f conftest.$ac_objext conftest$ac_exeext
31071 if { (ac_try="$ac_link"
31072 case "(($ac_try" in
31073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31074 *) ac_try_echo=$ac_try;;
31075 esac
31076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31077 (eval "$ac_link") 2>conftest.er1
31078 ac_status=$?
31079 grep -v '^ *+' conftest.er1 >conftest.err
31080 rm -f conftest.er1
31081 cat conftest.err >&5
31082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31083 (exit $ac_status); } && {
31084 test -z "$ac_c_werror_flag" ||
31085 test ! -s conftest.err
31086 } && test -s conftest$ac_exeext &&
31087 $as_test_x conftest$ac_exeext; then
31088 :
31089 else
31090 echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.$ac_ext >&5
31092
31093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 else
31098 ac_check_lib_save_LIBS=$LIBS
31099 LIBS="-ldnet $LIBS"
31100 cat >conftest.$ac_ext <<_ACEOF
31101 /* confdefs.h. */
31102 _ACEOF
31103 cat confdefs.h >>conftest.$ac_ext
31104 cat >>conftest.$ac_ext <<_ACEOF
31105 /* end confdefs.h. */
31106
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31110 #ifdef __cplusplus
31111 extern "C"
31112 #endif
31113 char dnet_ntoa ();
31114 int
31115 main ()
31116 {
31117 return dnet_ntoa ();
31118 ;
31119 return 0;
31120 }
31121 _ACEOF
31122 rm -f conftest.$ac_objext conftest$ac_exeext
31123 if { (ac_try="$ac_link"
31124 case "(($ac_try" in
31125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31126 *) ac_try_echo=$ac_try;;
31127 esac
31128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31129 (eval "$ac_link") 2>conftest.er1
31130 ac_status=$?
31131 grep -v '^ *+' conftest.er1 >conftest.err
31132 rm -f conftest.er1
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } && {
31136 test -z "$ac_c_werror_flag" ||
31137 test ! -s conftest.err
31138 } && test -s conftest$ac_exeext &&
31139 $as_test_x conftest$ac_exeext; then
31140 ac_cv_lib_dnet_dnet_ntoa=yes
31141 else
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31144
31145 ac_cv_lib_dnet_dnet_ntoa=no
31146 fi
31147
31148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31149 conftest$ac_exeext conftest.$ac_ext
31150 LIBS=$ac_check_lib_save_LIBS
31151 fi
31152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31156 fi
31157
31158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31162 echo $ECHO_N "(cached) $ECHO_C" >&6
31163 else
31164 ac_check_lib_save_LIBS=$LIBS
31165 LIBS="-ldnet_stub $LIBS"
31166 cat >conftest.$ac_ext <<_ACEOF
31167 /* confdefs.h. */
31168 _ACEOF
31169 cat confdefs.h >>conftest.$ac_ext
31170 cat >>conftest.$ac_ext <<_ACEOF
31171 /* end confdefs.h. */
31172
31173 /* Override any GCC internal prototype to avoid an error.
31174 Use char because int might match the return type of a GCC
31175 builtin and then its argument prototype would still apply. */
31176 #ifdef __cplusplus
31177 extern "C"
31178 #endif
31179 char dnet_ntoa ();
31180 int
31181 main ()
31182 {
31183 return dnet_ntoa ();
31184 ;
31185 return 0;
31186 }
31187 _ACEOF
31188 rm -f conftest.$ac_objext conftest$ac_exeext
31189 if { (ac_try="$ac_link"
31190 case "(($ac_try" in
31191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31192 *) ac_try_echo=$ac_try;;
31193 esac
31194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31195 (eval "$ac_link") 2>conftest.er1
31196 ac_status=$?
31197 grep -v '^ *+' conftest.er1 >conftest.err
31198 rm -f conftest.er1
31199 cat conftest.err >&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } && {
31202 test -z "$ac_c_werror_flag" ||
31203 test ! -s conftest.err
31204 } && test -s conftest$ac_exeext &&
31205 $as_test_x conftest$ac_exeext; then
31206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31207 else
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 ac_cv_lib_dnet_stub_dnet_ntoa=no
31212 fi
31213
31214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31215 conftest$ac_exeext conftest.$ac_ext
31216 LIBS=$ac_check_lib_save_LIBS
31217 fi
31218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31222 fi
31223
31224 fi
31225 fi
31226
31227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31228 conftest$ac_exeext conftest.$ac_ext
31229 LIBS="$ac_xsave_LIBS"
31230
31231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31232 # to get the SysV transport functions.
31233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31234 # needs -lnsl.
31235 # The nsl library prevents programs from opening the X display
31236 # on Irix 5.2, according to T.E. Dickey.
31237 # The functions gethostbyname, getservbyname, and inet_addr are
31238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31241 if test "${ac_cv_func_gethostbyname+set}" = set; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244 cat >conftest.$ac_ext <<_ACEOF
31245 /* confdefs.h. */
31246 _ACEOF
31247 cat confdefs.h >>conftest.$ac_ext
31248 cat >>conftest.$ac_ext <<_ACEOF
31249 /* end confdefs.h. */
31250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31252 #define gethostbyname innocuous_gethostbyname
31253
31254 /* System header to define __stub macros and hopefully few prototypes,
31255 which can conflict with char gethostbyname (); below.
31256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31257 <limits.h> exists even on freestanding compilers. */
31258
31259 #ifdef __STDC__
31260 # include <limits.h>
31261 #else
31262 # include <assert.h>
31263 #endif
31264
31265 #undef gethostbyname
31266
31267 /* Override any GCC internal prototype to avoid an error.
31268 Use char because int might match the return type of a GCC
31269 builtin and then its argument prototype would still apply. */
31270 #ifdef __cplusplus
31271 extern "C"
31272 #endif
31273 char gethostbyname ();
31274 /* The GNU C library defines this for functions which it implements
31275 to always fail with ENOSYS. Some functions are actually named
31276 something starting with __ and the normal name is an alias. */
31277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31278 choke me
31279 #endif
31280
31281 int
31282 main ()
31283 {
31284 return gethostbyname ();
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (ac_try="$ac_link"
31291 case "(($ac_try" in
31292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31293 *) ac_try_echo=$ac_try;;
31294 esac
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_link") 2>conftest.er1
31297 ac_status=$?
31298 grep -v '^ *+' conftest.er1 >conftest.err
31299 rm -f conftest.er1
31300 cat conftest.err >&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } && {
31303 test -z "$ac_c_werror_flag" ||
31304 test ! -s conftest.err
31305 } && test -s conftest$ac_exeext &&
31306 $as_test_x conftest$ac_exeext; then
31307 ac_cv_func_gethostbyname=yes
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312 ac_cv_func_gethostbyname=no
31313 fi
31314
31315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31316 conftest$ac_exeext conftest.$ac_ext
31317 fi
31318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31320
31321 if test $ac_cv_func_gethostbyname = no; then
31322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327 ac_check_lib_save_LIBS=$LIBS
31328 LIBS="-lnsl $LIBS"
31329 cat >conftest.$ac_ext <<_ACEOF
31330 /* confdefs.h. */
31331 _ACEOF
31332 cat confdefs.h >>conftest.$ac_ext
31333 cat >>conftest.$ac_ext <<_ACEOF
31334 /* end confdefs.h. */
31335
31336 /* Override any GCC internal prototype to avoid an error.
31337 Use char because int might match the return type of a GCC
31338 builtin and then its argument prototype would still apply. */
31339 #ifdef __cplusplus
31340 extern "C"
31341 #endif
31342 char gethostbyname ();
31343 int
31344 main ()
31345 {
31346 return gethostbyname ();
31347 ;
31348 return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (ac_try="$ac_link"
31353 case "(($ac_try" in
31354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31355 *) ac_try_echo=$ac_try;;
31356 esac
31357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31358 (eval "$ac_link") 2>conftest.er1
31359 ac_status=$?
31360 grep -v '^ *+' conftest.er1 >conftest.err
31361 rm -f conftest.er1
31362 cat conftest.err >&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); } && {
31365 test -z "$ac_c_werror_flag" ||
31366 test ! -s conftest.err
31367 } && test -s conftest$ac_exeext &&
31368 $as_test_x conftest$ac_exeext; then
31369 ac_cv_lib_nsl_gethostbyname=yes
31370 else
31371 echo "$as_me: failed program was:" >&5
31372 sed 's/^/| /' conftest.$ac_ext >&5
31373
31374 ac_cv_lib_nsl_gethostbyname=no
31375 fi
31376
31377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31378 conftest$ac_exeext conftest.$ac_ext
31379 LIBS=$ac_check_lib_save_LIBS
31380 fi
31381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31385 fi
31386
31387 if test $ac_cv_lib_nsl_gethostbyname = no; then
31388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31392 else
31393 ac_check_lib_save_LIBS=$LIBS
31394 LIBS="-lbsd $LIBS"
31395 cat >conftest.$ac_ext <<_ACEOF
31396 /* confdefs.h. */
31397 _ACEOF
31398 cat confdefs.h >>conftest.$ac_ext
31399 cat >>conftest.$ac_ext <<_ACEOF
31400 /* end confdefs.h. */
31401
31402 /* Override any GCC internal prototype to avoid an error.
31403 Use char because int might match the return type of a GCC
31404 builtin and then its argument prototype would still apply. */
31405 #ifdef __cplusplus
31406 extern "C"
31407 #endif
31408 char gethostbyname ();
31409 int
31410 main ()
31411 {
31412 return gethostbyname ();
31413 ;
31414 return 0;
31415 }
31416 _ACEOF
31417 rm -f conftest.$ac_objext conftest$ac_exeext
31418 if { (ac_try="$ac_link"
31419 case "(($ac_try" in
31420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31421 *) ac_try_echo=$ac_try;;
31422 esac
31423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31424 (eval "$ac_link") 2>conftest.er1
31425 ac_status=$?
31426 grep -v '^ *+' conftest.er1 >conftest.err
31427 rm -f conftest.er1
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } && {
31431 test -z "$ac_c_werror_flag" ||
31432 test ! -s conftest.err
31433 } && test -s conftest$ac_exeext &&
31434 $as_test_x conftest$ac_exeext; then
31435 ac_cv_lib_bsd_gethostbyname=yes
31436 else
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31439
31440 ac_cv_lib_bsd_gethostbyname=no
31441 fi
31442
31443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31444 conftest$ac_exeext conftest.$ac_ext
31445 LIBS=$ac_check_lib_save_LIBS
31446 fi
31447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31451 fi
31452
31453 fi
31454 fi
31455
31456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31457 # socket/setsockopt and other routines are undefined under SCO ODT
31458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31459 # on later versions), says Simon Leinen: it contains gethostby*
31460 # variants that don't use the name server (or something). -lsocket
31461 # must be given before -lnsl if both are needed. We assume that
31462 # if connect needs -lnsl, so does gethostbyname.
31463 { echo "$as_me:$LINENO: checking for connect" >&5
31464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31465 if test "${ac_cv_func_connect+set}" = set; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31467 else
31468 cat >conftest.$ac_ext <<_ACEOF
31469 /* confdefs.h. */
31470 _ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define connect innocuous_connect
31477
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char connect (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31482
31483 #ifdef __STDC__
31484 # include <limits.h>
31485 #else
31486 # include <assert.h>
31487 #endif
31488
31489 #undef connect
31490
31491 /* Override any GCC internal prototype to avoid an error.
31492 Use char because int might match the return type of a GCC
31493 builtin and then its argument prototype would still apply. */
31494 #ifdef __cplusplus
31495 extern "C"
31496 #endif
31497 char connect ();
31498 /* The GNU C library defines this for functions which it implements
31499 to always fail with ENOSYS. Some functions are actually named
31500 something starting with __ and the normal name is an alias. */
31501 #if defined __stub_connect || defined __stub___connect
31502 choke me
31503 #endif
31504
31505 int
31506 main ()
31507 {
31508 return connect ();
31509 ;
31510 return 0;
31511 }
31512 _ACEOF
31513 rm -f conftest.$ac_objext conftest$ac_exeext
31514 if { (ac_try="$ac_link"
31515 case "(($ac_try" in
31516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31517 *) ac_try_echo=$ac_try;;
31518 esac
31519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31520 (eval "$ac_link") 2>conftest.er1
31521 ac_status=$?
31522 grep -v '^ *+' conftest.er1 >conftest.err
31523 rm -f conftest.er1
31524 cat conftest.err >&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } && {
31527 test -z "$ac_c_werror_flag" ||
31528 test ! -s conftest.err
31529 } && test -s conftest$ac_exeext &&
31530 $as_test_x conftest$ac_exeext; then
31531 ac_cv_func_connect=yes
31532 else
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.$ac_ext >&5
31535
31536 ac_cv_func_connect=no
31537 fi
31538
31539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31540 conftest$ac_exeext conftest.$ac_ext
31541 fi
31542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31544
31545 if test $ac_cv_func_connect = no; then
31546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31548 if test "${ac_cv_lib_socket_connect+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 else
31551 ac_check_lib_save_LIBS=$LIBS
31552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31553 cat >conftest.$ac_ext <<_ACEOF
31554 /* confdefs.h. */
31555 _ACEOF
31556 cat confdefs.h >>conftest.$ac_ext
31557 cat >>conftest.$ac_ext <<_ACEOF
31558 /* end confdefs.h. */
31559
31560 /* Override any GCC internal prototype to avoid an error.
31561 Use char because int might match the return type of a GCC
31562 builtin and then its argument prototype would still apply. */
31563 #ifdef __cplusplus
31564 extern "C"
31565 #endif
31566 char connect ();
31567 int
31568 main ()
31569 {
31570 return connect ();
31571 ;
31572 return 0;
31573 }
31574 _ACEOF
31575 rm -f conftest.$ac_objext conftest$ac_exeext
31576 if { (ac_try="$ac_link"
31577 case "(($ac_try" in
31578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31579 *) ac_try_echo=$ac_try;;
31580 esac
31581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31582 (eval "$ac_link") 2>conftest.er1
31583 ac_status=$?
31584 grep -v '^ *+' conftest.er1 >conftest.err
31585 rm -f conftest.er1
31586 cat conftest.err >&5
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); } && {
31589 test -z "$ac_c_werror_flag" ||
31590 test ! -s conftest.err
31591 } && test -s conftest$ac_exeext &&
31592 $as_test_x conftest$ac_exeext; then
31593 ac_cv_lib_socket_connect=yes
31594 else
31595 echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.$ac_ext >&5
31597
31598 ac_cv_lib_socket_connect=no
31599 fi
31600
31601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31602 conftest$ac_exeext conftest.$ac_ext
31603 LIBS=$ac_check_lib_save_LIBS
31604 fi
31605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31607 if test $ac_cv_lib_socket_connect = yes; then
31608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31609 fi
31610
31611 fi
31612
31613 # Guillermo Gomez says -lposix is necessary on A/UX.
31614 { echo "$as_me:$LINENO: checking for remove" >&5
31615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31616 if test "${ac_cv_func_remove+set}" = set; then
31617 echo $ECHO_N "(cached) $ECHO_C" >&6
31618 else
31619 cat >conftest.$ac_ext <<_ACEOF
31620 /* confdefs.h. */
31621 _ACEOF
31622 cat confdefs.h >>conftest.$ac_ext
31623 cat >>conftest.$ac_ext <<_ACEOF
31624 /* end confdefs.h. */
31625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31627 #define remove innocuous_remove
31628
31629 /* System header to define __stub macros and hopefully few prototypes,
31630 which can conflict with char remove (); below.
31631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31632 <limits.h> exists even on freestanding compilers. */
31633
31634 #ifdef __STDC__
31635 # include <limits.h>
31636 #else
31637 # include <assert.h>
31638 #endif
31639
31640 #undef remove
31641
31642 /* Override any GCC internal prototype to avoid an error.
31643 Use char because int might match the return type of a GCC
31644 builtin and then its argument prototype would still apply. */
31645 #ifdef __cplusplus
31646 extern "C"
31647 #endif
31648 char remove ();
31649 /* The GNU C library defines this for functions which it implements
31650 to always fail with ENOSYS. Some functions are actually named
31651 something starting with __ and the normal name is an alias. */
31652 #if defined __stub_remove || defined __stub___remove
31653 choke me
31654 #endif
31655
31656 int
31657 main ()
31658 {
31659 return remove ();
31660 ;
31661 return 0;
31662 }
31663 _ACEOF
31664 rm -f conftest.$ac_objext conftest$ac_exeext
31665 if { (ac_try="$ac_link"
31666 case "(($ac_try" in
31667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31668 *) ac_try_echo=$ac_try;;
31669 esac
31670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31671 (eval "$ac_link") 2>conftest.er1
31672 ac_status=$?
31673 grep -v '^ *+' conftest.er1 >conftest.err
31674 rm -f conftest.er1
31675 cat conftest.err >&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } && {
31678 test -z "$ac_c_werror_flag" ||
31679 test ! -s conftest.err
31680 } && test -s conftest$ac_exeext &&
31681 $as_test_x conftest$ac_exeext; then
31682 ac_cv_func_remove=yes
31683 else
31684 echo "$as_me: failed program was:" >&5
31685 sed 's/^/| /' conftest.$ac_ext >&5
31686
31687 ac_cv_func_remove=no
31688 fi
31689
31690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31691 conftest$ac_exeext conftest.$ac_ext
31692 fi
31693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31695
31696 if test $ac_cv_func_remove = no; then
31697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31699 if test "${ac_cv_lib_posix_remove+set}" = set; then
31700 echo $ECHO_N "(cached) $ECHO_C" >&6
31701 else
31702 ac_check_lib_save_LIBS=$LIBS
31703 LIBS="-lposix $LIBS"
31704 cat >conftest.$ac_ext <<_ACEOF
31705 /* confdefs.h. */
31706 _ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710
31711 /* Override any GCC internal prototype to avoid an error.
31712 Use char because int might match the return type of a GCC
31713 builtin and then its argument prototype would still apply. */
31714 #ifdef __cplusplus
31715 extern "C"
31716 #endif
31717 char remove ();
31718 int
31719 main ()
31720 {
31721 return remove ();
31722 ;
31723 return 0;
31724 }
31725 _ACEOF
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (ac_try="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31731 esac
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31734 ac_status=$?
31735 grep -v '^ *+' conftest.er1 >conftest.err
31736 rm -f conftest.er1
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 ac_cv_lib_posix_remove=yes
31745 else
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.$ac_ext >&5
31748
31749 ac_cv_lib_posix_remove=no
31750 fi
31751
31752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31753 conftest$ac_exeext conftest.$ac_ext
31754 LIBS=$ac_check_lib_save_LIBS
31755 fi
31756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31758 if test $ac_cv_lib_posix_remove = yes; then
31759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31760 fi
31761
31762 fi
31763
31764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31765 { echo "$as_me:$LINENO: checking for shmat" >&5
31766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31767 if test "${ac_cv_func_shmat+set}" = set; then
31768 echo $ECHO_N "(cached) $ECHO_C" >&6
31769 else
31770 cat >conftest.$ac_ext <<_ACEOF
31771 /* confdefs.h. */
31772 _ACEOF
31773 cat confdefs.h >>conftest.$ac_ext
31774 cat >>conftest.$ac_ext <<_ACEOF
31775 /* end confdefs.h. */
31776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31778 #define shmat innocuous_shmat
31779
31780 /* System header to define __stub macros and hopefully few prototypes,
31781 which can conflict with char shmat (); below.
31782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31783 <limits.h> exists even on freestanding compilers. */
31784
31785 #ifdef __STDC__
31786 # include <limits.h>
31787 #else
31788 # include <assert.h>
31789 #endif
31790
31791 #undef shmat
31792
31793 /* Override any GCC internal prototype to avoid an error.
31794 Use char because int might match the return type of a GCC
31795 builtin and then its argument prototype would still apply. */
31796 #ifdef __cplusplus
31797 extern "C"
31798 #endif
31799 char shmat ();
31800 /* The GNU C library defines this for functions which it implements
31801 to always fail with ENOSYS. Some functions are actually named
31802 something starting with __ and the normal name is an alias. */
31803 #if defined __stub_shmat || defined __stub___shmat
31804 choke me
31805 #endif
31806
31807 int
31808 main ()
31809 {
31810 return shmat ();
31811 ;
31812 return 0;
31813 }
31814 _ACEOF
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (ac_try="$ac_link"
31817 case "(($ac_try" in
31818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31819 *) ac_try_echo=$ac_try;;
31820 esac
31821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31822 (eval "$ac_link") 2>conftest.er1
31823 ac_status=$?
31824 grep -v '^ *+' conftest.er1 >conftest.err
31825 rm -f conftest.er1
31826 cat conftest.err >&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); } && {
31829 test -z "$ac_c_werror_flag" ||
31830 test ! -s conftest.err
31831 } && test -s conftest$ac_exeext &&
31832 $as_test_x conftest$ac_exeext; then
31833 ac_cv_func_shmat=yes
31834 else
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.$ac_ext >&5
31837
31838 ac_cv_func_shmat=no
31839 fi
31840
31841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31842 conftest$ac_exeext conftest.$ac_ext
31843 fi
31844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31846
31847 if test $ac_cv_func_shmat = no; then
31848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31851 echo $ECHO_N "(cached) $ECHO_C" >&6
31852 else
31853 ac_check_lib_save_LIBS=$LIBS
31854 LIBS="-lipc $LIBS"
31855 cat >conftest.$ac_ext <<_ACEOF
31856 /* confdefs.h. */
31857 _ACEOF
31858 cat confdefs.h >>conftest.$ac_ext
31859 cat >>conftest.$ac_ext <<_ACEOF
31860 /* end confdefs.h. */
31861
31862 /* Override any GCC internal prototype to avoid an error.
31863 Use char because int might match the return type of a GCC
31864 builtin and then its argument prototype would still apply. */
31865 #ifdef __cplusplus
31866 extern "C"
31867 #endif
31868 char shmat ();
31869 int
31870 main ()
31871 {
31872 return shmat ();
31873 ;
31874 return 0;
31875 }
31876 _ACEOF
31877 rm -f conftest.$ac_objext conftest$ac_exeext
31878 if { (ac_try="$ac_link"
31879 case "(($ac_try" in
31880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31881 *) ac_try_echo=$ac_try;;
31882 esac
31883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31884 (eval "$ac_link") 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } && {
31891 test -z "$ac_c_werror_flag" ||
31892 test ! -s conftest.err
31893 } && test -s conftest$ac_exeext &&
31894 $as_test_x conftest$ac_exeext; then
31895 ac_cv_lib_ipc_shmat=yes
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900 ac_cv_lib_ipc_shmat=no
31901 fi
31902
31903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31904 conftest$ac_exeext conftest.$ac_ext
31905 LIBS=$ac_check_lib_save_LIBS
31906 fi
31907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31909 if test $ac_cv_lib_ipc_shmat = yes; then
31910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31911 fi
31912
31913 fi
31914 fi
31915
31916 # Check for libraries that X11R6 Xt/Xaw programs need.
31917 ac_save_LDFLAGS=$LDFLAGS
31918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31920 # check for ICE first), but we must link in the order -lSM -lICE or
31921 # we get undefined symbols. So assume we have SM if we have ICE.
31922 # These have to be linked with before -lX11, unlike the other
31923 # libraries we check for below, so use a different variable.
31924 # John Interrante, Karl Berry
31925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930 ac_check_lib_save_LIBS=$LIBS
31931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31932 cat >conftest.$ac_ext <<_ACEOF
31933 /* confdefs.h. */
31934 _ACEOF
31935 cat confdefs.h >>conftest.$ac_ext
31936 cat >>conftest.$ac_ext <<_ACEOF
31937 /* end confdefs.h. */
31938
31939 /* Override any GCC internal prototype to avoid an error.
31940 Use char because int might match the return type of a GCC
31941 builtin and then its argument prototype would still apply. */
31942 #ifdef __cplusplus
31943 extern "C"
31944 #endif
31945 char IceConnectionNumber ();
31946 int
31947 main ()
31948 {
31949 return IceConnectionNumber ();
31950 ;
31951 return 0;
31952 }
31953 _ACEOF
31954 rm -f conftest.$ac_objext conftest$ac_exeext
31955 if { (ac_try="$ac_link"
31956 case "(($ac_try" in
31957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31958 *) ac_try_echo=$ac_try;;
31959 esac
31960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31961 (eval "$ac_link") 2>conftest.er1
31962 ac_status=$?
31963 grep -v '^ *+' conftest.er1 >conftest.err
31964 rm -f conftest.er1
31965 cat conftest.err >&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } && {
31968 test -z "$ac_c_werror_flag" ||
31969 test ! -s conftest.err
31970 } && test -s conftest$ac_exeext &&
31971 $as_test_x conftest$ac_exeext; then
31972 ac_cv_lib_ICE_IceConnectionNumber=yes
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977 ac_cv_lib_ICE_IceConnectionNumber=no
31978 fi
31979
31980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31981 conftest$ac_exeext conftest.$ac_ext
31982 LIBS=$ac_check_lib_save_LIBS
31983 fi
31984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31988 fi
31989
31990 LDFLAGS=$ac_save_LDFLAGS
31991
31992 fi
31993
31994
31995 if test "$no_x" = "yes"; then
31996 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31997 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31998 { (exit 1); exit 1; }; }
31999 fi
32000
32001 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32002 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32003 AFMINSTALL=afminstall
32004 COMPILED_X_PROGRAM=0
32005
32006 fi
32007
32008 if test "$wxUSE_X11" = 1; then
32009 if test "$wxUSE_NANOX" = "yes"; then
32010 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32011 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32012 if test "x$MICROWIN" = x ; then
32013 { echo "$as_me:$LINENO: result: not found" >&5
32014 echo "${ECHO_T}not found" >&6; }
32015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32017 { (exit 1); exit 1; }; }
32018 else
32019 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32020 echo "${ECHO_T}$MICROWIN" >&6; }
32021 cat >>confdefs.h <<\_ACEOF
32022 #define wxUSE_NANOX 1
32023 _ACEOF
32024
32025 fi
32026 fi
32027
32028 if test "$wxUSE_UNICODE" = "yes"; then
32029
32030
32031 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32032 if test -n "$ac_tool_prefix"; then
32033 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32034 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32037 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32039 else
32040 case $PKG_CONFIG in
32041 [\\/]* | ?:[\\/]*)
32042 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32043 ;;
32044 *)
32045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32046 for as_dir in $PATH
32047 do
32048 IFS=$as_save_IFS
32049 test -z "$as_dir" && as_dir=.
32050 for ac_exec_ext in '' $ac_executable_extensions; do
32051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32052 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32054 break 2
32055 fi
32056 done
32057 done
32058 IFS=$as_save_IFS
32059
32060 ;;
32061 esac
32062 fi
32063 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32064 if test -n "$PKG_CONFIG"; then
32065 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32066 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32067 else
32068 { echo "$as_me:$LINENO: result: no" >&5
32069 echo "${ECHO_T}no" >&6; }
32070 fi
32071
32072
32073 fi
32074 if test -z "$ac_cv_path_PKG_CONFIG"; then
32075 ac_pt_PKG_CONFIG=$PKG_CONFIG
32076 # Extract the first word of "pkg-config", so it can be a program name with args.
32077 set dummy pkg-config; ac_word=$2
32078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32080 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083 case $ac_pt_PKG_CONFIG in
32084 [\\/]* | ?:[\\/]*)
32085 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32086 ;;
32087 *)
32088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32089 for as_dir in $PATH
32090 do
32091 IFS=$as_save_IFS
32092 test -z "$as_dir" && as_dir=.
32093 for ac_exec_ext in '' $ac_executable_extensions; do
32094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32095 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32097 break 2
32098 fi
32099 done
32100 done
32101 IFS=$as_save_IFS
32102
32103 ;;
32104 esac
32105 fi
32106 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32107 if test -n "$ac_pt_PKG_CONFIG"; then
32108 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32109 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32110 else
32111 { echo "$as_me:$LINENO: result: no" >&5
32112 echo "${ECHO_T}no" >&6; }
32113 fi
32114
32115 if test "x$ac_pt_PKG_CONFIG" = x; then
32116 PKG_CONFIG=""
32117 else
32118 case $cross_compiling:$ac_tool_warned in
32119 yes:)
32120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32121 whose name does not start with the host triplet. If you think this
32122 configuration is useful to you, please write to autoconf@gnu.org." >&5
32123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32124 whose name does not start with the host triplet. If you think this
32125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32126 ac_tool_warned=yes ;;
32127 esac
32128 PKG_CONFIG=$ac_pt_PKG_CONFIG
32129 fi
32130 else
32131 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32132 fi
32133
32134 fi
32135 if test -n "$PKG_CONFIG"; then
32136 _pkg_min_version=0.9.0
32137 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32138 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32139 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32140 { echo "$as_me:$LINENO: result: yes" >&5
32141 echo "${ECHO_T}yes" >&6; }
32142 else
32143 { echo "$as_me:$LINENO: result: no" >&5
32144 echo "${ECHO_T}no" >&6; }
32145 PKG_CONFIG=""
32146 fi
32147
32148 fi
32149
32150
32151 pkg_failed=no
32152 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32153 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32154
32155 if test -n "$PKG_CONFIG"; then
32156 if test -n "$PANGOX_CFLAGS"; then
32157 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32158 else
32159 if test -n "$PKG_CONFIG" && \
32160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32161 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32162 ac_status=$?
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; then
32165 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32166 else
32167 pkg_failed=yes
32168 fi
32169 fi
32170 else
32171 pkg_failed=untried
32172 fi
32173 if test -n "$PKG_CONFIG"; then
32174 if test -n "$PANGOX_LIBS"; then
32175 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32176 else
32177 if test -n "$PKG_CONFIG" && \
32178 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32179 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32180 ac_status=$?
32181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182 (exit $ac_status); }; then
32183 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32184 else
32185 pkg_failed=yes
32186 fi
32187 fi
32188 else
32189 pkg_failed=untried
32190 fi
32191
32192
32193
32194 if test $pkg_failed = yes; then
32195
32196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32197 _pkg_short_errors_supported=yes
32198 else
32199 _pkg_short_errors_supported=no
32200 fi
32201 if test $_pkg_short_errors_supported = yes; then
32202 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32203 else
32204 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32205 fi
32206 # Put the nasty error message in config.log where it belongs
32207 echo "$PANGOX_PKG_ERRORS" >&5
32208
32209
32210 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32211 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32212 { (exit 1); exit 1; }; }
32213
32214
32215 elif test $pkg_failed = untried; then
32216
32217 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32218 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32219 { (exit 1); exit 1; }; }
32220
32221
32222 else
32223 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32224 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32225 { echo "$as_me:$LINENO: result: yes" >&5
32226 echo "${ECHO_T}yes" >&6; }
32227
32228 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32229 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32230 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32231
32232 fi
32233
32234 pkg_failed=no
32235 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32236 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32237
32238 if test -n "$PKG_CONFIG"; then
32239 if test -n "$PANGOFT2_CFLAGS"; then
32240 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32241 else
32242 if test -n "$PKG_CONFIG" && \
32243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32244 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32245 ac_status=$?
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; then
32248 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32249 else
32250 pkg_failed=yes
32251 fi
32252 fi
32253 else
32254 pkg_failed=untried
32255 fi
32256 if test -n "$PKG_CONFIG"; then
32257 if test -n "$PANGOFT2_LIBS"; then
32258 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32259 else
32260 if test -n "$PKG_CONFIG" && \
32261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32262 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32263 ac_status=$?
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); }; then
32266 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32267 else
32268 pkg_failed=yes
32269 fi
32270 fi
32271 else
32272 pkg_failed=untried
32273 fi
32274
32275
32276
32277 if test $pkg_failed = yes; then
32278
32279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32280 _pkg_short_errors_supported=yes
32281 else
32282 _pkg_short_errors_supported=no
32283 fi
32284 if test $_pkg_short_errors_supported = yes; then
32285 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32286 else
32287 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32288 fi
32289 # Put the nasty error message in config.log where it belongs
32290 echo "$PANGOFT2_PKG_ERRORS" >&5
32291
32292
32293 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32294 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32295 wxUSE_PRINTING_ARCHITECTURE="no"
32296
32297
32298 elif test $pkg_failed = untried; then
32299
32300 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32301 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32302 wxUSE_PRINTING_ARCHITECTURE="no"
32303
32304
32305 else
32306 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32307 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32308 { echo "$as_me:$LINENO: result: yes" >&5
32309 echo "${ECHO_T}yes" >&6; }
32310
32311 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32312 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32313 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32314
32315 fi
32316
32317 pkg_failed=no
32318 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32319 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32320
32321 if test -n "$PKG_CONFIG"; then
32322 if test -n "$PANGOXFT_CFLAGS"; then
32323 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32324 else
32325 if test -n "$PKG_CONFIG" && \
32326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32327 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32328 ac_status=$?
32329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32330 (exit $ac_status); }; then
32331 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32332 else
32333 pkg_failed=yes
32334 fi
32335 fi
32336 else
32337 pkg_failed=untried
32338 fi
32339 if test -n "$PKG_CONFIG"; then
32340 if test -n "$PANGOXFT_LIBS"; then
32341 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32342 else
32343 if test -n "$PKG_CONFIG" && \
32344 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32345 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32346 ac_status=$?
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); }; then
32349 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32350 else
32351 pkg_failed=yes
32352 fi
32353 fi
32354 else
32355 pkg_failed=untried
32356 fi
32357
32358
32359
32360 if test $pkg_failed = yes; then
32361
32362 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32363 _pkg_short_errors_supported=yes
32364 else
32365 _pkg_short_errors_supported=no
32366 fi
32367 if test $_pkg_short_errors_supported = yes; then
32368 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32369 else
32370 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32371 fi
32372 # Put the nasty error message in config.log where it belongs
32373 echo "$PANGOXFT_PKG_ERRORS" >&5
32374
32375
32376 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32377 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32378
32379
32380 elif test $pkg_failed = untried; then
32381
32382 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32383 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32384
32385
32386 else
32387 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32388 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32389 { echo "$as_me:$LINENO: result: yes" >&5
32390 echo "${ECHO_T}yes" >&6; }
32391
32392 cat >>confdefs.h <<\_ACEOF
32393 #define HAVE_PANGO_XFT 1
32394 _ACEOF
32395
32396 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32397 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32398 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32399
32400 fi
32401 save_LIBS="$LIBS"
32402 LIBS="$LIBS $PANGOX_LIBS"
32403
32404 for ac_func in pango_font_family_is_monospace
32405 do
32406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32410 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 else
32412 cat >conftest.$ac_ext <<_ACEOF
32413 /* confdefs.h. */
32414 _ACEOF
32415 cat confdefs.h >>conftest.$ac_ext
32416 cat >>conftest.$ac_ext <<_ACEOF
32417 /* end confdefs.h. */
32418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32420 #define $ac_func innocuous_$ac_func
32421
32422 /* System header to define __stub macros and hopefully few prototypes,
32423 which can conflict with char $ac_func (); below.
32424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32425 <limits.h> exists even on freestanding compilers. */
32426
32427 #ifdef __STDC__
32428 # include <limits.h>
32429 #else
32430 # include <assert.h>
32431 #endif
32432
32433 #undef $ac_func
32434
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32438 #ifdef __cplusplus
32439 extern "C"
32440 #endif
32441 char $ac_func ();
32442 /* The GNU C library defines this for functions which it implements
32443 to always fail with ENOSYS. Some functions are actually named
32444 something starting with __ and the normal name is an alias. */
32445 #if defined __stub_$ac_func || defined __stub___$ac_func
32446 choke me
32447 #endif
32448
32449 int
32450 main ()
32451 {
32452 return $ac_func ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (ac_try="$ac_link"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32461 *) ac_try_echo=$ac_try;;
32462 esac
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_link") 2>conftest.er1
32465 ac_status=$?
32466 grep -v '^ *+' conftest.er1 >conftest.err
32467 rm -f conftest.er1
32468 cat conftest.err >&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest$ac_exeext &&
32474 $as_test_x conftest$ac_exeext; then
32475 eval "$as_ac_var=yes"
32476 else
32477 echo "$as_me: failed program was:" >&5
32478 sed 's/^/| /' conftest.$ac_ext >&5
32479
32480 eval "$as_ac_var=no"
32481 fi
32482
32483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32484 conftest$ac_exeext conftest.$ac_ext
32485 fi
32486 ac_res=`eval echo '${'$as_ac_var'}'`
32487 { echo "$as_me:$LINENO: result: $ac_res" >&5
32488 echo "${ECHO_T}$ac_res" >&6; }
32489 if test `eval echo '${'$as_ac_var'}'` = yes; then
32490 cat >>confdefs.h <<_ACEOF
32491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32492 _ACEOF
32493
32494 fi
32495 done
32496
32497 LIBS="$save_LIBS"
32498 fi
32499
32500 wxUSE_UNIVERSAL="yes"
32501
32502 if test "$wxUSE_NANOX" = "yes"; then
32503 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32504 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"
32505 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32506 else
32507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32508 fi
32509
32510 TOOLKIT=X11
32511 GUIDIST=X11_DIST
32512 fi
32513
32514 if test "$wxUSE_MOTIF" = 1; then
32515 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32516 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32517
32518 ac_find_includes=
32519 for ac_dir in $SEARCH_INCLUDE /usr/include;
32520 do
32521 if test -f "$ac_dir/Xm/Xm.h"; then
32522 ac_find_includes=$ac_dir
32523 break
32524 fi
32525 done
32526
32527 if test "$ac_find_includes" != "" ; then
32528 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32529 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32530
32531 if test "x$ac_find_includes" = "x/usr/include"; then
32532 ac_path_to_include=""
32533 else
32534 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32535 result=$?
32536 if test $result = 0; then
32537 ac_path_to_include=""
32538 else
32539 ac_path_to_include=" -I$ac_find_includes"
32540 fi
32541 fi
32542
32543 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32544 else
32545 save_CFLAGS=$CFLAGS
32546 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32547
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h. */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32554
32555 #include <Xm/Xm.h>
32556
32557 int
32558 main ()
32559 {
32560
32561 int version;
32562 version = xmUseVersion;
32563
32564 ;
32565 return 0;
32566 }
32567 _ACEOF
32568 rm -f conftest.$ac_objext
32569 if { (ac_try="$ac_compile"
32570 case "(($ac_try" in
32571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32572 *) ac_try_echo=$ac_try;;
32573 esac
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_compile") 2>conftest.er1
32576 ac_status=$?
32577 grep -v '^ *+' conftest.er1 >conftest.err
32578 rm -f conftest.er1
32579 cat conftest.err >&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest.$ac_objext; then
32585
32586 { echo "$as_me:$LINENO: result: found in default search path" >&5
32587 echo "${ECHO_T}found in default search path" >&6; }
32588 COMPILED_X_PROGRAM=1
32589
32590 else
32591 echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.$ac_ext >&5
32593
32594
32595 { echo "$as_me:$LINENO: result: no" >&5
32596 echo "${ECHO_T}no" >&6; }
32597 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32598 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32599 { (exit 1); exit 1; }; }
32600
32601
32602 fi
32603
32604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32605
32606 CFLAGS=$save_CFLAGS
32607 fi
32608
32609
32610 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32611 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32612
32613 ac_find_libraries=
32614 for ac_dir in $SEARCH_LIB;
32615 do
32616 for ac_extension in a so sl dylib dll.a; do
32617 if test -f "$ac_dir/libXm.$ac_extension"; then
32618 ac_find_libraries=$ac_dir
32619 break 2
32620 fi
32621 done
32622 done
32623
32624
32625 if test "x$ac_find_libraries" != "x" ; then
32626 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32627 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32628
32629
32630 if test "$ac_find_libraries" = "default location"; then
32631 ac_path_to_link=""
32632 else
32633 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32634 result=$?
32635 if test $result = 0; then
32636 ac_path_to_link=""
32637 else
32638 ac_path_to_link=" -L$ac_find_libraries"
32639 fi
32640 fi
32641
32642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32643 else
32644 save_CFLAGS=$CFLAGS
32645 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32646 save_LIBS="$LIBS"
32647 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32648
32649 cat >conftest.$ac_ext <<_ACEOF
32650 /* confdefs.h. */
32651 _ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655
32656 #include <Xm/Xm.h>
32657
32658 int
32659 main ()
32660 {
32661
32662 int version;
32663 version = xmUseVersion;
32664
32665 ;
32666 return 0;
32667 }
32668 _ACEOF
32669 rm -f conftest.$ac_objext conftest$ac_exeext
32670 if { (ac_try="$ac_link"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32673 *) ac_try_echo=$ac_try;;
32674 esac
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_link") 2>conftest.er1
32677 ac_status=$?
32678 grep -v '^ *+' conftest.er1 >conftest.err
32679 rm -f conftest.er1
32680 cat conftest.err >&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest$ac_exeext &&
32686 $as_test_x conftest$ac_exeext; then
32687
32688 { echo "$as_me:$LINENO: result: found in default search path" >&5
32689 echo "${ECHO_T}found in default search path" >&6; }
32690 COMPILED_X_PROGRAM=1
32691
32692 else
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32695
32696
32697 { echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6; }
32699 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32700 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32701 { (exit 1); exit 1; }; }
32702
32703
32704 fi
32705
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32708
32709 CFLAGS=$save_CFLAGS
32710 LIBS="$save_LIBS"
32711 fi
32712
32713 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32714 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32715 libp_link=""
32716 libsm_ice_link=""
32717 libs_found=0
32718 for libp in "" " -lXp"; do
32719 if test "$libs_found" = 0; then
32720 for libsm_ice in "" " -lSM -lICE"; do
32721 if test "$libs_found" = 0; then
32722 save_LIBS="$LIBS"
32723 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32724 save_CFLAGS=$CFLAGS
32725 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32726
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733
32734 #include <Xm/Xm.h>
32735 #include <Xm/List.h>
32736
32737 int
32738 main ()
32739 {
32740
32741 XmString string = NULL;
32742 Widget w = NULL;
32743 int position = 0;
32744 XmListAddItem(w, string, position);
32745
32746 ;
32747 return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (ac_try="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32754 *) ac_try_echo=$ac_try;;
32755 esac
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest$ac_exeext &&
32767 $as_test_x conftest$ac_exeext; then
32768
32769 libp_link="$libp"
32770 libsm_ice_link="$libsm_ice"
32771 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32772 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32773 libs_found=1
32774
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779
32780
32781 fi
32782
32783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32784 conftest$ac_exeext conftest.$ac_ext
32785
32786 LIBS="$save_LIBS"
32787 CFLAGS=$save_CFLAGS
32788 fi
32789 done
32790 fi
32791 done
32792
32793 if test "$libs_found" = 0; then
32794 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32795 echo "${ECHO_T}can't find the right libraries" >&6; }
32796 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32797 echo "$as_me: error: can't link a simple motif program" >&2;}
32798 { (exit 1); exit 1; }; }
32799 fi
32800
32801 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32802 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32803 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806 ac_check_lib_save_LIBS=$LIBS
32807 LIBS="-lSgm $LIBS"
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814
32815 /* Override any GCC internal prototype to avoid an error.
32816 Use char because int might match the return type of a GCC
32817 builtin and then its argument prototype would still apply. */
32818 #ifdef __cplusplus
32819 extern "C"
32820 #endif
32821 char SgCreateList ();
32822 int
32823 main ()
32824 {
32825 return SgCreateList ();
32826 ;
32827 return 0;
32828 }
32829 _ACEOF
32830 rm -f conftest.$ac_objext conftest$ac_exeext
32831 if { (ac_try="$ac_link"
32832 case "(($ac_try" in
32833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32834 *) ac_try_echo=$ac_try;;
32835 esac
32836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32837 (eval "$ac_link") 2>conftest.er1
32838 ac_status=$?
32839 grep -v '^ *+' conftest.er1 >conftest.err
32840 rm -f conftest.er1
32841 cat conftest.err >&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); } && {
32844 test -z "$ac_c_werror_flag" ||
32845 test ! -s conftest.err
32846 } && test -s conftest$ac_exeext &&
32847 $as_test_x conftest$ac_exeext; then
32848 ac_cv_lib_Sgm_SgCreateList=yes
32849 else
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 ac_cv_lib_Sgm_SgCreateList=no
32854 fi
32855
32856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32857 conftest$ac_exeext conftest.$ac_ext
32858 LIBS=$ac_check_lib_save_LIBS
32859 fi
32860 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32861 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32862 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32863 libsgm_link=" -lSgm"
32864 fi
32865
32866
32867 save_CFLAGS=$CFLAGS
32868 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32869
32870 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32871 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32872 if test "${wx_cv_lib_motif2+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 else
32875 cat >conftest.$ac_ext <<_ACEOF
32876 /* confdefs.h. */
32877 _ACEOF
32878 cat confdefs.h >>conftest.$ac_ext
32879 cat >>conftest.$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881
32882 #include <Xm/Xm.h>
32883
32884 int
32885 main ()
32886 {
32887
32888 #if XmVersion < 2000
32889 Not Motif 2
32890 #endif
32891
32892 ;
32893 return 0;
32894 }
32895 _ACEOF
32896 rm -f conftest.$ac_objext
32897 if { (ac_try="$ac_compile"
32898 case "(($ac_try" in
32899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32900 *) ac_try_echo=$ac_try;;
32901 esac
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_compile") 2>conftest.er1
32904 ac_status=$?
32905 grep -v '^ *+' conftest.er1 >conftest.err
32906 rm -f conftest.er1
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest.$ac_objext; then
32913 wx_cv_lib_motif2="yes"
32914 else
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.$ac_ext >&5
32917
32918 wx_cv_lib_motif2="no"
32919 fi
32920
32921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32922 fi
32923 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32924 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32925 if test "$wx_cv_lib_motif2" = "yes"; then
32926 cat >>confdefs.h <<\_ACEOF
32927 #define __WXMOTIF20__ 1
32928 _ACEOF
32929
32930 else
32931 cat >>confdefs.h <<\_ACEOF
32932 #define __WXMOTIF20__ 0
32933 _ACEOF
32934
32935 fi
32936
32937 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32938 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32939 if test "${wx_cv_lib_lesstif+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 else
32942 cat >conftest.$ac_ext <<_ACEOF
32943 /* confdefs.h. */
32944 _ACEOF
32945 cat confdefs.h >>conftest.$ac_ext
32946 cat >>conftest.$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32948
32949 #include <Xm/Xm.h>
32950
32951 int
32952 main ()
32953 {
32954
32955 #if !defined(LesstifVersion) || LesstifVersion <= 0
32956 Not Lesstif
32957 #endif
32958
32959 ;
32960 return 0;
32961 }
32962 _ACEOF
32963 rm -f conftest.$ac_objext
32964 if { (ac_try="$ac_compile"
32965 case "(($ac_try" in
32966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32968 esac
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_compile") 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } && {
32977 test -z "$ac_c_werror_flag" ||
32978 test ! -s conftest.err
32979 } && test -s conftest.$ac_objext; then
32980 wx_cv_lib_lesstif="yes"
32981 else
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32984
32985 wx_cv_lib_lesstif="no"
32986 fi
32987
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989
32990 fi
32991 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32992 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32993 if test "$wx_cv_lib_lesstif" = "yes"; then
32994 cat >>confdefs.h <<\_ACEOF
32995 #define __WXLESSTIF__ 1
32996 _ACEOF
32997
32998 else
32999 cat >>confdefs.h <<\_ACEOF
33000 #define __WXLESSTIF__ 0
33001 _ACEOF
33002
33003 fi
33004
33005 CFLAGS=$save_CFLAGS
33006
33007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33008 TOOLKIT=MOTIF
33009 GUIDIST=MOTIF_DIST
33010 fi
33011
33012 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33013 if test "$wxUSE_LIBXPM" = "sys"; then
33014 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33015 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33016
33017 ac_find_libraries=
33018 for ac_dir in $SEARCH_LIB;
33019 do
33020 for ac_extension in a so sl dylib dll.a; do
33021 if test -f "$ac_dir/libXpm.$ac_extension"; then
33022 ac_find_libraries=$ac_dir
33023 break 2
33024 fi
33025 done
33026 done
33027
33028 if test "$ac_find_libraries" != "" ; then
33029
33030 if test "$ac_find_libraries" = "default location"; then
33031 ac_path_to_link=""
33032 else
33033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33034 result=$?
33035 if test $result = 0; then
33036 ac_path_to_link=""
33037 else
33038 ac_path_to_link=" -L$ac_find_libraries"
33039 fi
33040 fi
33041
33042 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33043 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33044 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33045
33046 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33047 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33048 if test "${wx_cv_x11_xpm_h+set}" = set; then
33049 echo $ECHO_N "(cached) $ECHO_C" >&6
33050 else
33051
33052 save_CFLAGS=$CFLAGS
33053 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33054
33055 cat >conftest.$ac_ext <<_ACEOF
33056 /* confdefs.h. */
33057 _ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061
33062 #include <X11/xpm.h>
33063
33064 int
33065 main ()
33066 {
33067
33068 int version;
33069 version = XpmLibraryVersion();
33070
33071 ;
33072 return 0;
33073 }
33074 _ACEOF
33075 rm -f conftest.$ac_objext
33076 if { (ac_try="$ac_compile"
33077 case "(($ac_try" in
33078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33079 *) ac_try_echo=$ac_try;;
33080 esac
33081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33082 (eval "$ac_compile") 2>conftest.er1
33083 ac_status=$?
33084 grep -v '^ *+' conftest.er1 >conftest.err
33085 rm -f conftest.er1
33086 cat conftest.err >&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } && {
33089 test -z "$ac_c_werror_flag" ||
33090 test ! -s conftest.err
33091 } && test -s conftest.$ac_objext; then
33092 wx_cv_x11_xpm_h=yes
33093 else
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33096
33097 wx_cv_x11_xpm_h=no
33098
33099 fi
33100
33101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33102
33103 CFLAGS=$save_CFLAGS
33104
33105
33106 fi
33107 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33108 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33109
33110 if test $wx_cv_x11_xpm_h = "yes"; then
33111 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33112 cat >>confdefs.h <<\_ACEOF
33113 #define wxHAVE_LIB_XPM 1
33114 _ACEOF
33115
33116 else
33117 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33118 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33119 fi
33120 fi
33121
33122 fi
33123
33124 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33125 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33126 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33127 echo $ECHO_N "(cached) $ECHO_C" >&6
33128 else
33129 ac_check_lib_save_LIBS=$LIBS
33130 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33131 cat >conftest.$ac_ext <<_ACEOF
33132 /* confdefs.h. */
33133 _ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33137
33138 /* Override any GCC internal prototype to avoid an error.
33139 Use char because int might match the return type of a GCC
33140 builtin and then its argument prototype would still apply. */
33141 #ifdef __cplusplus
33142 extern "C"
33143 #endif
33144 char XShapeQueryExtension ();
33145 int
33146 main ()
33147 {
33148 return XShapeQueryExtension ();
33149 ;
33150 return 0;
33151 }
33152 _ACEOF
33153 rm -f conftest.$ac_objext conftest$ac_exeext
33154 if { (ac_try="$ac_link"
33155 case "(($ac_try" in
33156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33157 *) ac_try_echo=$ac_try;;
33158 esac
33159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33160 (eval "$ac_link") 2>conftest.er1
33161 ac_status=$?
33162 grep -v '^ *+' conftest.er1 >conftest.err
33163 rm -f conftest.er1
33164 cat conftest.err >&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); } && {
33167 test -z "$ac_c_werror_flag" ||
33168 test ! -s conftest.err
33169 } && test -s conftest$ac_exeext &&
33170 $as_test_x conftest$ac_exeext; then
33171 ac_cv_lib_Xext_XShapeQueryExtension=yes
33172 else
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.$ac_ext >&5
33175
33176 ac_cv_lib_Xext_XShapeQueryExtension=no
33177 fi
33178
33179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33180 conftest$ac_exeext conftest.$ac_ext
33181 LIBS=$ac_check_lib_save_LIBS
33182 fi
33183 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33184 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33185 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33186
33187 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33188 wxHAVE_XEXT_LIB=1
33189
33190 fi
33191
33192
33193 if test "$wxHAVE_XEXT_LIB" = 1; then
33194 save_CFLAGS="$CFLAGS"
33195 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33196
33197 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33198 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33199 cat >conftest.$ac_ext <<_ACEOF
33200 /* confdefs.h. */
33201 _ACEOF
33202 cat confdefs.h >>conftest.$ac_ext
33203 cat >>conftest.$ac_ext <<_ACEOF
33204 /* end confdefs.h. */
33205
33206 #include <X11/Xlib.h>
33207 #include <X11/extensions/shape.h>
33208
33209 int
33210 main ()
33211 {
33212
33213 int dummy1, dummy2;
33214 XShapeQueryExtension((Display*)NULL,
33215 (int*)NULL, (int*)NULL);
33216
33217 ;
33218 return 0;
33219 }
33220 _ACEOF
33221 rm -f conftest.$ac_objext
33222 if { (ac_try="$ac_compile"
33223 case "(($ac_try" in
33224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33225 *) ac_try_echo=$ac_try;;
33226 esac
33227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33228 (eval "$ac_compile") 2>conftest.er1
33229 ac_status=$?
33230 grep -v '^ *+' conftest.er1 >conftest.err
33231 rm -f conftest.er1
33232 cat conftest.err >&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); } && {
33235 test -z "$ac_c_werror_flag" ||
33236 test ! -s conftest.err
33237 } && test -s conftest.$ac_objext; then
33238
33239 cat >>confdefs.h <<\_ACEOF
33240 #define HAVE_XSHAPE 1
33241 _ACEOF
33242
33243 { echo "$as_me:$LINENO: result: found" >&5
33244 echo "${ECHO_T}found" >&6; }
33245
33246 else
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.$ac_ext >&5
33249
33250
33251 { echo "$as_me:$LINENO: result: not found" >&5
33252 echo "${ECHO_T}not found" >&6; }
33253
33254 fi
33255
33256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33257 CFLAGS="$save_CFLAGS"
33258
33259 fi
33260 fi
33261
33262 if test "$wxUSE_OSX_CARBON" = 1; then
33263 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33264 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33265 if test "$GCC" = yes; then
33266 { echo "$as_me:$LINENO: result: gcc" >&5
33267 echo "${ECHO_T}gcc" >&6; }
33268 CPPFLAGS_PASCAL="-fpascal-strings"
33269 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33270 { echo "$as_me:$LINENO: result: xlc" >&5
33271 echo "${ECHO_T}xlc" >&6; }
33272 CPPFLAGS_PASCAL="-qmacpstr"
33273 else
33274 { echo "$as_me:$LINENO: result: none" >&5
33275 echo "${ECHO_T}none" >&6; }
33276 fi
33277
33278 if test "x$wxUSE_UNIX" = "xyes"; then
33279 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33280 else
33281 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33282 fi
33283
33284 TOOLKIT=OSX_CARBON
33285 GUIDIST=OSX_CARBON_DIST
33286 WXBASEPORT="_carbon"
33287
33288 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33289 fi
33290
33291 if test "$wxUSE_OSX_COCOA" = 1; then
33292 TOOLKIT=OSX_COCOA
33293 GUIDIST=OSX_COCOA_DIST
33294
33295 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33296 fi
33297
33298 if test "$wxUSE_OSX_IPHONE" = 1; then
33299 TOOLKIT=OSX_IPHONE
33300 fi
33301
33302 if test "$wxUSE_OLD_COCOA" = 1; then
33303 TOOLKIT=COCOA
33304 GUIDIST=COCOA_DIST
33305 fi
33306
33307 if test "$wxUSE_PM" = 1; then
33308 TOOLKIT=PM
33309 GUIDIST=PM_DIST
33310 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33311 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33312 if test "${wx_cv_spbcdata+set}" = set; then
33313 echo $ECHO_N "(cached) $ECHO_C" >&6
33314 else
33315
33316 cat >conftest.$ac_ext <<_ACEOF
33317 /* confdefs.h. */
33318 _ACEOF
33319 cat confdefs.h >>conftest.$ac_ext
33320 cat >>conftest.$ac_ext <<_ACEOF
33321 /* end confdefs.h. */
33322
33323 #define INCL_PM
33324 #include <os2.h>
33325
33326 int
33327 main ()
33328 {
33329
33330 SPBCDATA test;
33331
33332 ;
33333 return 0;
33334 }
33335 _ACEOF
33336 rm -f conftest.$ac_objext
33337 if { (ac_try="$ac_compile"
33338 case "(($ac_try" in
33339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33340 *) ac_try_echo=$ac_try;;
33341 esac
33342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33343 (eval "$ac_compile") 2>conftest.er1
33344 ac_status=$?
33345 grep -v '^ *+' conftest.er1 >conftest.err
33346 rm -f conftest.er1
33347 cat conftest.err >&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); } && {
33350 test -z "$ac_c_werror_flag" ||
33351 test ! -s conftest.err
33352 } && test -s conftest.$ac_objext; then
33353 wx_cv_spbcdata=yes
33354 else
33355 echo "$as_me: failed program was:" >&5
33356 sed 's/^/| /' conftest.$ac_ext >&5
33357
33358 wx_cv_spbcdata=no
33359
33360 fi
33361
33362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33363
33364
33365 fi
33366 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33367 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33368
33369 if test $wx_cv_spbcdata = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371 #define HAVE_SPBCDATA 1
33372 _ACEOF
33373
33374 fi
33375 fi
33376
33377 if test "$TOOLKIT" = "PM" ; then
33378 TOOLKIT_DIR="os2"
33379 else
33380 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33381 fi
33382
33383 if test "$wxUSE_UNIVERSAL" = "yes"; then
33384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33385 WIDGET_SET=univ
33386 fi
33387
33388 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33389 DISTDIR="wx\$(TOOLKIT)"
33390 else
33391 USE_GUI=0
33392
33393 TOOLKIT_DIR="base"
33394
33395 if test "$USE_WIN32" = 1 ; then
33396 TOOLKIT="MSW"
33397 fi
33398
33399 GUIDIST="BASE_DIST"
33400 DISTDIR="wxBase"
33401 fi
33402
33403
33404
33405 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33406 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33407 wxUSE_UNICODE_UTF8=yes
33408 elif test "$USE_OS2" = 1 ; then
33409 wxUSE_UNICODE_UTF8=yes
33410 else
33411 wxUSE_UNICODE_UTF8=no
33412 fi
33413 fi
33414
33415
33416 if test "$wxUSE_GUI" = "yes"; then
33417 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33418
33419 for ac_header in X11/Xlib.h
33420 do
33421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33426 else
33427 cat >conftest.$ac_ext <<_ACEOF
33428 /* confdefs.h. */
33429 _ACEOF
33430 cat confdefs.h >>conftest.$ac_ext
33431 cat >>conftest.$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433
33434
33435 #include <$ac_header>
33436 _ACEOF
33437 rm -f conftest.$ac_objext
33438 if { (ac_try="$ac_compile"
33439 case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33442 esac
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_compile") 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest.$ac_objext; then
33454 eval "$as_ac_Header=yes"
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459 eval "$as_ac_Header=no"
33460 fi
33461
33462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33463 fi
33464 ac_res=`eval echo '${'$as_ac_Header'}'`
33465 { echo "$as_me:$LINENO: result: $ac_res" >&5
33466 echo "${ECHO_T}$ac_res" >&6; }
33467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33468 cat >>confdefs.h <<_ACEOF
33469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33470 _ACEOF
33471
33472 fi
33473
33474 done
33475
33476
33477 for ac_header in X11/XKBlib.h
33478 do
33479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33483 echo $ECHO_N "(cached) $ECHO_C" >&6
33484 else
33485 cat >conftest.$ac_ext <<_ACEOF
33486 /* confdefs.h. */
33487 _ACEOF
33488 cat confdefs.h >>conftest.$ac_ext
33489 cat >>conftest.$ac_ext <<_ACEOF
33490 /* end confdefs.h. */
33491
33492 #if HAVE_X11_XLIB_H
33493 #include <X11/Xlib.h>
33494 #endif
33495
33496
33497 #include <$ac_header>
33498 _ACEOF
33499 rm -f conftest.$ac_objext
33500 if { (ac_try="$ac_compile"
33501 case "(($ac_try" in
33502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33503 *) ac_try_echo=$ac_try;;
33504 esac
33505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33506 (eval "$ac_compile") 2>conftest.er1
33507 ac_status=$?
33508 grep -v '^ *+' conftest.er1 >conftest.err
33509 rm -f conftest.er1
33510 cat conftest.err >&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); } && {
33513 test -z "$ac_c_werror_flag" ||
33514 test ! -s conftest.err
33515 } && test -s conftest.$ac_objext; then
33516 eval "$as_ac_Header=yes"
33517 else
33518 echo "$as_me: failed program was:" >&5
33519 sed 's/^/| /' conftest.$ac_ext >&5
33520
33521 eval "$as_ac_Header=no"
33522 fi
33523
33524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 fi
33526 ac_res=`eval echo '${'$as_ac_Header'}'`
33527 { echo "$as_me:$LINENO: result: $ac_res" >&5
33528 echo "${ECHO_T}$ac_res" >&6; }
33529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33530 cat >>confdefs.h <<_ACEOF
33531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33532 _ACEOF
33533
33534 fi
33535
33536 done
33537
33538 fi
33539 fi
33540
33541
33542
33543 USE_XINERAMA=0
33544 if test "$wxUSE_DISPLAY" = "yes"; then
33545 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
33546 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33547 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33548
33549 ac_find_libraries=
33550 for ac_dir in $SEARCH_LIB;
33551 do
33552 for ac_extension in a so sl dylib dll.a; do
33553 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33554 ac_find_libraries=$ac_dir
33555 break 2
33556 fi
33557 done
33558 done
33559
33560 if test "$ac_find_libraries" != "" ; then
33561
33562 if test "$ac_find_libraries" = "default location"; then
33563 ac_path_to_link=""
33564 else
33565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33566 result=$?
33567 if test $result = 0; then
33568 ac_path_to_link=""
33569 else
33570 ac_path_to_link=" -L$ac_find_libraries"
33571 fi
33572 fi
33573
33574 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33575 LDFLAGS="$LDFLAGS $ac_path_to_link"
33576 fi
33577 USE_XINERAMA=1
33578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33579 { echo "$as_me:$LINENO: result: yes" >&5
33580 echo "${ECHO_T}yes" >&6; }
33581 else
33582 { echo "$as_me:$LINENO: result: no" >&5
33583 echo "${ECHO_T}no" >&6; }
33584 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33585 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33586 wxUSE_DISPLAY="no"
33587 fi
33588 elif test "$wxUSE_MSW" = 1; then
33589 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33590 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33591 if test "${ac_cv_header_ddraw_h+set}" = set; then
33592 echo $ECHO_N "(cached) $ECHO_C" >&6
33593 else
33594 cat >conftest.$ac_ext <<_ACEOF
33595 /* confdefs.h. */
33596 _ACEOF
33597 cat confdefs.h >>conftest.$ac_ext
33598 cat >>conftest.$ac_ext <<_ACEOF
33599 /* end confdefs.h. */
33600 #include <windows.h>
33601
33602 #include <ddraw.h>
33603 _ACEOF
33604 rm -f conftest.$ac_objext
33605 if { (ac_try="$ac_compile"
33606 case "(($ac_try" in
33607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33608 *) ac_try_echo=$ac_try;;
33609 esac
33610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33611 (eval "$ac_compile") 2>conftest.er1
33612 ac_status=$?
33613 grep -v '^ *+' conftest.er1 >conftest.err
33614 rm -f conftest.er1
33615 cat conftest.err >&5
33616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 (exit $ac_status); } && {
33618 test -z "$ac_c_werror_flag" ||
33619 test ! -s conftest.err
33620 } && test -s conftest.$ac_objext; then
33621 ac_cv_header_ddraw_h=yes
33622 else
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33625
33626 ac_cv_header_ddraw_h=no
33627 fi
33628
33629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33630 fi
33631 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33632 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33633
33634
33635 fi
33636 fi
33637
33638 if test "$wxUSE_DISPLAY" = "yes"; then
33639 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
33640 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33641 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33642
33643 ac_find_libraries=
33644 for ac_dir in $SEARCH_LIB;
33645 do
33646 for ac_extension in a so sl dylib dll.a; do
33647 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33648 ac_find_libraries=$ac_dir
33649 break 2
33650 fi
33651 done
33652 done
33653
33654 if test "$ac_find_libraries" != "" ; then
33655 { echo "$as_me:$LINENO: result: yes" >&5
33656 echo "${ECHO_T}yes" >&6; }
33657
33658 for ac_header in X11/extensions/xf86vmode.h
33659 do
33660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33665 else
33666 cat >conftest.$ac_ext <<_ACEOF
33667 /* confdefs.h. */
33668 _ACEOF
33669 cat confdefs.h >>conftest.$ac_ext
33670 cat >>conftest.$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33672
33673 #if HAVE_X11_XLIB_H
33674 #include <X11/Xlib.h>
33675 #endif
33676
33677
33678 #include <$ac_header>
33679 _ACEOF
33680 rm -f conftest.$ac_objext
33681 if { (ac_try="$ac_compile"
33682 case "(($ac_try" in
33683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33684 *) ac_try_echo=$ac_try;;
33685 esac
33686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33687 (eval "$ac_compile") 2>conftest.er1
33688 ac_status=$?
33689 grep -v '^ *+' conftest.er1 >conftest.err
33690 rm -f conftest.er1
33691 cat conftest.err >&5
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); } && {
33694 test -z "$ac_c_werror_flag" ||
33695 test ! -s conftest.err
33696 } && test -s conftest.$ac_objext; then
33697 eval "$as_ac_Header=yes"
33698 else
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33701
33702 eval "$as_ac_Header=no"
33703 fi
33704
33705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33706 fi
33707 ac_res=`eval echo '${'$as_ac_Header'}'`
33708 { echo "$as_me:$LINENO: result: $ac_res" >&5
33709 echo "${ECHO_T}$ac_res" >&6; }
33710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33711 cat >>confdefs.h <<_ACEOF
33712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33713 _ACEOF
33714
33715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33716
33717 fi
33718
33719 done
33720
33721 else
33722 { echo "$as_me:$LINENO: result: no" >&5
33723 echo "${ECHO_T}no" >&6; }
33724 fi
33725 fi
33726 fi
33727
33728 if test "$wxUSE_DETECT_SM" = "yes"; then
33729 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33730 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33731 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33732
33733 ac_find_libraries=
33734 for ac_dir in $SEARCH_LIB;
33735 do
33736 for ac_extension in a so sl dylib dll.a; do
33737 if test -f "$ac_dir/libSM.$ac_extension"; then
33738 ac_find_libraries=$ac_dir
33739 break 2
33740 fi
33741 done
33742 done
33743
33744 if test "$ac_find_libraries" != "" ; then
33745
33746 if test "$ac_find_libraries" = "default location"; then
33747 ac_path_to_link=""
33748 else
33749 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33750 result=$?
33751 if test $result = 0; then
33752 ac_path_to_link=""
33753 else
33754 ac_path_to_link=" -L$ac_find_libraries"
33755 fi
33756 fi
33757
33758 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33759 LDFLAGS="$LDFLAGS $ac_path_to_link"
33760 fi
33761 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33762 { echo "$as_me:$LINENO: result: yes" >&5
33763 echo "${ECHO_T}yes" >&6; }
33764 else
33765 { echo "$as_me:$LINENO: result: no" >&5
33766 echo "${ECHO_T}no" >&6; }
33767 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33768 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33769 wxUSE_DETECT_SM="no"
33770 fi
33771 else
33772 wxUSE_DETECT_SM="no"
33773 fi
33774 fi
33775
33776
33777
33778 USE_OPENGL=0
33779 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33780
33781
33782 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33783 OPENGL_LIBS="-framework OpenGL -framework AGL"
33784 elif test "$wxUSE_MSW" = 1; then
33785 OPENGL_LIBS="-lopengl32 -lglu32"
33786 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33787
33788 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33789 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33790
33791 ac_find_includes=
33792 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33793 do
33794 if test -f "$ac_dir/GL/gl.h"; then
33795 ac_find_includes=$ac_dir
33796 break
33797 fi
33798 done
33799
33800 if test "$ac_find_includes" != "" ; then
33801 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33802 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33803
33804 if test "x$ac_find_includes" = "x/usr/include"; then
33805 ac_path_to_include=""
33806 else
33807 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33808 result=$?
33809 if test $result = 0; then
33810 ac_path_to_include=""
33811 else
33812 ac_path_to_include=" -I$ac_find_includes"
33813 fi
33814 fi
33815
33816 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33817 else
33818 { echo "$as_me:$LINENO: result: not found" >&5
33819 echo "${ECHO_T}not found" >&6; }
33820 fi
33821
33822 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33823 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33824 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833
33834
33835 #include <GL/gl.h>
33836 _ACEOF
33837 rm -f conftest.$ac_objext
33838 if { (ac_try="$ac_compile"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33842 esac
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_compile") 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest.$ac_objext; then
33854 ac_cv_header_GL_gl_h=yes
33855 else
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33858
33859 ac_cv_header_GL_gl_h=no
33860 fi
33861
33862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33863 fi
33864 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33865 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33866 if test $ac_cv_header_GL_gl_h = yes; then
33867
33868 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33869 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33870 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
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
33881 #include <GL/glu.h>
33882 _ACEOF
33883 rm -f conftest.$ac_objext
33884 if { (ac_try="$ac_compile"
33885 case "(($ac_try" in
33886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33887 *) ac_try_echo=$ac_try;;
33888 esac
33889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33890 (eval "$ac_compile") 2>conftest.er1
33891 ac_status=$?
33892 grep -v '^ *+' conftest.er1 >conftest.err
33893 rm -f conftest.er1
33894 cat conftest.err >&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); } && {
33897 test -z "$ac_c_werror_flag" ||
33898 test ! -s conftest.err
33899 } && test -s conftest.$ac_objext; then
33900 ac_cv_header_GL_glu_h=yes
33901 else
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.$ac_ext >&5
33904
33905 ac_cv_header_GL_glu_h=no
33906 fi
33907
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909 fi
33910 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33911 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33912 if test $ac_cv_header_GL_glu_h = yes; then
33913
33914 found_gl=0
33915
33916 { echo "$as_me:$LINENO: checking for -lGL" >&5
33917 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33918
33919 ac_find_libraries=
33920 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33921 do
33922 for ac_extension in a so sl dylib dll.a; do
33923 if test -f "$ac_dir/libGL.$ac_extension"; then
33924 ac_find_libraries=$ac_dir
33925 break 2
33926 fi
33927 done
33928 done
33929
33930 if test "$ac_find_libraries" != "" ; then
33931 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33932 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33933
33934
33935 if test "$ac_find_libraries" = "default location"; then
33936 ac_path_to_link=""
33937 else
33938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33939 result=$?
33940 if test $result = 0; then
33941 ac_path_to_link=""
33942 else
33943 ac_path_to_link=" -L$ac_find_libraries"
33944 fi
33945 fi
33946
33947 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33948 LDFLAGS_GL="$ac_path_to_link"
33949 fi
33950
33951 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33952 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33953
33954 ac_find_libraries=
33955 for ac_dir in $SEARCH_LIB;
33956 do
33957 for ac_extension in a so sl dylib dll.a; do
33958 if test -f "$ac_dir/libGLU.$ac_extension"; then
33959 ac_find_libraries=$ac_dir
33960 break 2
33961 fi
33962 done
33963 done
33964
33965 if test "$ac_find_libraries" != "" ; then
33966
33967 if test "$ac_find_libraries" = "default location"; then
33968 ac_path_to_link=""
33969 else
33970 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33971 result=$?
33972 if test $result = 0; then
33973 ac_path_to_link=""
33974 else
33975 ac_path_to_link=" -L$ac_find_libraries"
33976 fi
33977 fi
33978
33979 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33980 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33981 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33982 fi
33983
33984 found_gl=1
33985 OPENGL_LIBS="-lGL -lGLU"
33986 { echo "$as_me:$LINENO: result: yes" >&5
33987 echo "${ECHO_T}yes" >&6; }
33988 else
33989 { echo "$as_me:$LINENO: result: no" >&5
33990 echo "${ECHO_T}no" >&6; }
33991 fi
33992 else
33993 { echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6; }
33995 fi
33996
33997 if test "$found_gl" != 1; then
33998 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33999 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34000
34001 ac_find_libraries=
34002 for ac_dir in $SEARCH_LIB;
34003 do
34004 for ac_extension in a so sl dylib dll.a; do
34005 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34006 ac_find_libraries=$ac_dir
34007 break 2
34008 fi
34009 done
34010 done
34011
34012 if test "$ac_find_libraries" != "" ; then
34013
34014 if test "$ac_find_libraries" = "default location"; then
34015 ac_path_to_link=""
34016 else
34017 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34018 result=$?
34019 if test $result = 0; then
34020 ac_path_to_link=""
34021 else
34022 ac_path_to_link=" -L$ac_find_libraries"
34023 fi
34024 fi
34025
34026 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34027 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34028 { echo "$as_me:$LINENO: result: yes" >&5
34029 echo "${ECHO_T}yes" >&6; }
34030 else
34031 { echo "$as_me:$LINENO: result: no" >&5
34032 echo "${ECHO_T}no" >&6; }
34033 fi
34034 fi
34035
34036 fi
34037
34038
34039
34040 fi
34041
34042
34043
34044 if test "x$OPENGL_LIBS" = "x"; then
34045 if test "$wxUSE_OPENGL" = "yes"; then
34046 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34047 echo "$as_me: error: OpenGL libraries not available" >&2;}
34048 { (exit 1); exit 1; }; }
34049 else
34050 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34051 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34052 wxUSE_OPENGL=no
34053 USE_OPENGL=0
34054 fi
34055 fi
34056 else
34057 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34058 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34059 wxUSE_OPENGL="no"
34060 fi
34061
34062 if test "$wxUSE_OPENGL" = "auto"; then
34063 wxUSE_OPENGL=yes
34064 fi
34065
34066 if test "$wxUSE_OPENGL" = "yes"; then
34067 USE_OPENGL=1
34068 cat >>confdefs.h <<\_ACEOF
34069 #define wxUSE_OPENGL 1
34070 _ACEOF
34071
34072 cat >>confdefs.h <<\_ACEOF
34073 #define wxUSE_GLCANVAS 1
34074 _ACEOF
34075
34076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34077 fi
34078 fi
34079
34080
34081 if test -n "$TOOLKIT" ; then
34082 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34083 fi
34084
34085
34086
34087 if test "$wxUSE_SHARED" = "yes"; then
34088 case "${host}" in
34089 *-pc-msdosdjgpp )
34090 wxUSE_SHARED=no
34091 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34092 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34093 ;;
34094 esac
34095 fi
34096
34097 if test "$wxUSE_SHARED" = "yes"; then
34098
34099
34100 case "${host}" in
34101 *-*-cygwin* | *-*-mingw* )
34102 wx_cv_version_script=no
34103 ;;
34104
34105 *)
34106 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34107 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34108 if test "${wx_cv_version_script+set}" = set; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 else
34111
34112 echo "VER_1 { *; };" >conftest.sym
34113 echo "int main() { return 0; }" >conftest.cpp
34114
34115 if { ac_try='
34116 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34117 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34120 ac_status=$?
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; } ; then
34123 if test -s conftest.stderr ; then
34124 wx_cv_version_script=no
34125 else
34126 wx_cv_version_script=yes
34127 fi
34128 else
34129 wx_cv_version_script=no
34130 fi
34131
34132 if test $wx_cv_version_script = yes
34133 then
34134 echo "struct B { virtual ~B() { } }; \
34135 struct D : public B { }; \
34136 void F() { D d; }" > conftest.cpp
34137
34138 if { ac_try='
34139 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34140 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34143 ac_status=$?
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34146 { ac_try='
34147 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34148 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34151 ac_status=$?
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; }
34154 then
34155 if { ac_try='
34156 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34157 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }
34163 then
34164 wx_cv_version_script=yes
34165 else
34166 wx_cv_version_script=no
34167 fi
34168 fi
34169 fi
34170
34171 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34172 rm -f conftest1.output conftest2.output conftest3.output
34173
34174 fi
34175 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34176 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34177
34178 if test $wx_cv_version_script = yes ; then
34179 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34180 fi
34181 ;;
34182 esac
34183
34184
34185 if test "$wxUSE_VISIBILITY" != "no"; then
34186
34187
34188 if test -n "$GCC"; then
34189 CFLAGS_VISIBILITY="-fvisibility=hidden"
34190 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34191 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34192 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34193 if test "${wx_cv_cc_visibility+set}" = set; then
34194 echo $ECHO_N "(cached) $ECHO_C" >&6
34195 else
34196
34197 wx_save_CXXFLAGS="$CXXFLAGS"
34198 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34199 ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205 cat >conftest.$ac_ext <<_ACEOF
34206 /* confdefs.h. */
34207 _ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211
34212 /* we need gcc >= 4.0, older versions with visibility support
34213 didn't have class visibility: */
34214 #if defined(__GNUC__) && __GNUC__ < 4
34215 error this gcc is too old;
34216 #endif
34217
34218 /* visibility only makes sense for ELF shared libs: */
34219 #if !defined(__ELF__) && !defined(__APPLE__)
34220 error this platform has no visibility;
34221 #endif
34222
34223 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34224 extern __attribute__((__visibility__("default"))) int exportedvar;
34225 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34226 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34227 class __attribute__((__visibility__("default"))) Foo {
34228 Foo() {}
34229 };
34230
34231 int
34232 main ()
34233 {
34234
34235 ;
34236 return 0;
34237 }
34238 _ACEOF
34239 rm -f conftest.$ac_objext
34240 if { (ac_try="$ac_compile"
34241 case "(($ac_try" in
34242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34243 *) ac_try_echo=$ac_try;;
34244 esac
34245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34246 (eval "$ac_compile") 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } && {
34253 test -z "$ac_cxx_werror_flag" ||
34254 test ! -s conftest.err
34255 } && test -s conftest.$ac_objext; then
34256 wx_cv_cc_visibility=yes
34257 else
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34260
34261 wx_cv_cc_visibility=no
34262 fi
34263
34264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34270
34271 CXXFLAGS="$wx_save_CXXFLAGS"
34272 fi
34273
34274 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34275 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34276 if test $wx_cv_cc_visibility = yes; then
34277 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34278 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34279 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34281 else
34282
34283 wx_save_CXXFLAGS="$CXXFLAGS"
34284 wx_save_LDFLAGS="$LDFLAGS"
34285 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34286 LDFLAGS="$LDFLAGS -shared -fPIC"
34287 ac_ext=cpp
34288 ac_cpp='$CXXCPP $CPPFLAGS'
34289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34292
34293 cat >conftest.$ac_ext <<_ACEOF
34294 /* confdefs.h. */
34295 _ACEOF
34296 cat confdefs.h >>conftest.$ac_ext
34297 cat >>conftest.$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34299
34300 #include <string>
34301
34302 int
34303 main ()
34304 {
34305
34306 std::string s("hello");
34307 return s.length();
34308
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 rm -f conftest.$ac_objext conftest$ac_exeext
34314 if { (ac_try="$ac_link"
34315 case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34318 esac
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_link") 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } && {
34327 test -z "$ac_cxx_werror_flag" ||
34328 test ! -s conftest.err
34329 } && test -s conftest$ac_exeext &&
34330 $as_test_x conftest$ac_exeext; then
34331 wx_cv_cc_broken_libstdcxx_visibility=no
34332 else
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.$ac_ext >&5
34335
34336 wx_cv_cc_broken_libstdcxx_visibility=yes
34337 fi
34338
34339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34340 conftest$ac_exeext conftest.$ac_ext
34341 ac_ext=c
34342 ac_cpp='$CPP $CPPFLAGS'
34343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34346
34347 CXXFLAGS="$wx_save_CXXFLAGS"
34348 LDFLAGS="$wx_save_LDFLAGS"
34349 fi
34350
34351 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34352 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34353
34354 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34355 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34356 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34357 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34358 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 else
34360
34361 ac_ext=cpp
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34366
34367 cat >conftest.$ac_ext <<_ACEOF
34368 /* confdefs.h. */
34369 _ACEOF
34370 cat confdefs.h >>conftest.$ac_ext
34371 cat >>conftest.$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373
34374 #pragma GCC visibility push(default)
34375 #include <string>
34376 #pragma GCC visibility pop
34377
34378 int
34379 main ()
34380 {
34381
34382 std::string s("hello");
34383 return s.length();
34384
34385 ;
34386 return 0;
34387 }
34388 _ACEOF
34389 rm -f conftest.$ac_objext conftest$ac_exeext
34390 if { (ac_try="$ac_link"
34391 case "(($ac_try" in
34392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34393 *) ac_try_echo=$ac_try;;
34394 esac
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_link") 2>conftest.er1
34397 ac_status=$?
34398 grep -v '^ *+' conftest.er1 >conftest.err
34399 rm -f conftest.er1
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_cxx_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest$ac_exeext &&
34406 $as_test_x conftest$ac_exeext; then
34407 wx_cv_cc_visibility_workaround=no
34408 else
34409 echo "$as_me: failed program was:" >&5
34410 sed 's/^/| /' conftest.$ac_ext >&5
34411
34412 wx_cv_cc_visibility_workaround=yes
34413 fi
34414
34415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34416 conftest$ac_exeext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422
34423
34424 fi
34425
34426 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34427 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34428
34429 if test $wx_cv_cc_visibility_workaround = no; then
34430 wx_cv_cc_visibility=no
34431 fi
34432 fi
34433 fi
34434
34435 if test $wx_cv_cc_visibility = yes; then
34436 cat >>confdefs.h <<\_ACEOF
34437 #define HAVE_VISIBILITY 1
34438 _ACEOF
34439
34440 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34441 cat >>confdefs.h <<\_ACEOF
34442 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34443 _ACEOF
34444
34445 fi
34446 else
34447 CFLAGS_VISIBILITY=""
34448 CXXFLAGS_VISIBILITY=""
34449 fi
34450
34451
34452 fi
34453
34454 fi
34455
34456 if test "x$SUNCXX" = xyes; then
34457 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34458 WXCONFIG_RPATH="-R\$libdir"
34459 else
34460 case "${host}" in
34461 *-*-linux* | *-*-gnu* )
34462 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34463 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34464 ;;
34465
34466 *-*-solaris2* )
34467
34468 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34469
34470 saveLdflags="$LDFLAGS"
34471 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34472 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34473 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34474 cat >conftest.$ac_ext <<_ACEOF
34475 /* confdefs.h. */
34476 _ACEOF
34477 cat confdefs.h >>conftest.$ac_ext
34478 cat >>conftest.$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34480
34481 int
34482 main ()
34483 {
34484
34485 ;
34486 return 0;
34487 }
34488 _ACEOF
34489 rm -f conftest.$ac_objext conftest$ac_exeext
34490 if { (ac_try="$ac_link"
34491 case "(($ac_try" in
34492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34493 *) ac_try_echo=$ac_try;;
34494 esac
34495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34496 (eval "$ac_link") 2>conftest.er1
34497 ac_status=$?
34498 grep -v '^ *+' conftest.er1 >conftest.err
34499 rm -f conftest.er1
34500 cat conftest.err >&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && {
34503 test -z "$ac_c_werror_flag" ||
34504 test ! -s conftest.err
34505 } && test -s conftest$ac_exeext &&
34506 $as_test_x conftest$ac_exeext; then
34507
34508 { echo "$as_me:$LINENO: result: yes" >&5
34509 echo "${ECHO_T}yes" >&6; }
34510 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34511 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34512
34513 else
34514 echo "$as_me: failed program was:" >&5
34515 sed 's/^/| /' conftest.$ac_ext >&5
34516
34517
34518 { echo "$as_me:$LINENO: result: no" >&5
34519 echo "${ECHO_T}no" >&6; }
34520 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34521 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34522 LDFLAGS="$saveLdflags -Wl,-R,/"
34523 cat >conftest.$ac_ext <<_ACEOF
34524 /* confdefs.h. */
34525 _ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529
34530 int
34531 main ()
34532 {
34533
34534 ;
34535 return 0;
34536 }
34537 _ACEOF
34538 rm -f conftest.$ac_objext conftest$ac_exeext
34539 if { (ac_try="$ac_link"
34540 case "(($ac_try" in
34541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34542 *) ac_try_echo=$ac_try;;
34543 esac
34544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34545 (eval "$ac_link") 2>conftest.er1
34546 ac_status=$?
34547 grep -v '^ *+' conftest.er1 >conftest.err
34548 rm -f conftest.er1
34549 cat conftest.err >&5
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); } && {
34552 test -z "$ac_c_werror_flag" ||
34553 test ! -s conftest.err
34554 } && test -s conftest$ac_exeext &&
34555 $as_test_x conftest$ac_exeext; then
34556
34557 { echo "$as_me:$LINENO: result: yes" >&5
34558 echo "${ECHO_T}yes" >&6; }
34559 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34560 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34561
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566
34567 { echo "$as_me:$LINENO: result: no" >&5
34568 echo "${ECHO_T}no" >&6; }
34569
34570 fi
34571
34572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34573 conftest$ac_exeext conftest.$ac_ext
34574
34575 fi
34576
34577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34578 conftest$ac_exeext conftest.$ac_ext
34579 LDFLAGS="$saveLdflags"
34580 ;;
34581
34582 *-*-darwin* )
34583 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34584 if test "$install_name_tool" -a -x "$install_name_tool"; then
34585 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34586 cat <<EOF >change-install-names
34587 #!/bin/sh
34588 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34589 for i in \${libnames} ; do
34590 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34591 for dep in \${libnames} ; do
34592 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34593 done
34594 done
34595 EOF
34596 chmod +x change-install-names
34597 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34598 fi
34599
34600 HEADER_PAD_OPTION="-headerpad_max_install_names"
34601 ;;
34602
34603 *-*-cygwin* | *-*-mingw32* )
34604 ;;
34605
34606 *-*-hpux* )
34607 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34608 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34609 ;;
34610
34611 esac
34612 fi
34613
34614 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34615
34616 if test $wxUSE_RPATH = "no"; then
34617 SAMPLES_RPATH_FLAG=''
34618 DYLIB_PATH_POSTLINK=''
34619 WXCONFIG_RPATH=''
34620 fi
34621
34622 SHARED=1
34623
34624 else
34625
34626 config_linkage_component="-static"
34627 SHARED=0
34628
34629 fi
34630
34631
34632 UNICODE=0
34633 lib_unicode_suffix=
34634 WX_CHARTYPE="ansi"
34635 if test "$wxUSE_UNICODE" = "yes"; then
34636 lib_unicode_suffix=u
34637 WX_CHARTYPE="unicode"
34638 UNICODE=1
34639 fi
34640
34641 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34642 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34643
34644 DEBUG_INFO=0
34645 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34646 DEBUG_INFO=1
34647 fi
34648
34649 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34650
34651 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34652
34653 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34654
34655
34656 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34657 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34658 else
34659 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34660 fi
34661 if test "${TOOLKIT_DIR}" = "os2"; then
34662 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34663 else
34664 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34665 fi
34666
34667
34668
34669 if test "$wxUSE_OLD_COCOA" = 1; then
34670
34671 ac_ext=c
34672 ac_cpp='$CPP $CPPFLAGS'
34673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34676
34677 ac_ext=m
34678
34679 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34680 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34681 cat >conftest.$ac_ext <<_ACEOF
34682 /* confdefs.h. */
34683 _ACEOF
34684 cat confdefs.h >>conftest.$ac_ext
34685 cat >>conftest.$ac_ext <<_ACEOF
34686 /* end confdefs.h. */
34687 #include <AppKit/NSEvent.h>
34688 #include <CoreFoundation/CoreFoundation.h>
34689
34690 int
34691 main ()
34692 {
34693
34694 ;
34695 return 0;
34696 }
34697 _ACEOF
34698 rm -f conftest.$ac_objext
34699 if { (ac_try="$ac_compile"
34700 case "(($ac_try" in
34701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34702 *) ac_try_echo=$ac_try;;
34703 esac
34704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34705 (eval "$ac_compile") 2>conftest.er1
34706 ac_status=$?
34707 grep -v '^ *+' conftest.er1 >conftest.err
34708 rm -f conftest.er1
34709 cat conftest.err >&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); } && {
34712 test -z "$ac_c_werror_flag" ||
34713 test ! -s conftest.err
34714 } && test -s conftest.$ac_objext; then
34715 { echo "$as_me:$LINENO: result: no" >&5
34716 echo "${ECHO_T}no" >&6; }
34717 else
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34720
34721 { echo "$as_me:$LINENO: result: yes" >&5
34722 echo "${ECHO_T}yes" >&6; }
34723 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34724 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34725 cat >conftest.$ac_ext <<_ACEOF
34726 /* confdefs.h. */
34727 _ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 #define __Point__ 1
34732 #include <AppKit/NSEvent.h>
34733 #include <CoreFoundation/CoreFoundation.h>
34734
34735 int
34736 main ()
34737 {
34738
34739 ;
34740 return 0;
34741 }
34742 _ACEOF
34743 rm -f conftest.$ac_objext
34744 if { (ac_try="$ac_compile"
34745 case "(($ac_try" in
34746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34747 *) ac_try_echo=$ac_try;;
34748 esac
34749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34750 (eval "$ac_compile") 2>conftest.er1
34751 ac_status=$?
34752 grep -v '^ *+' conftest.er1 >conftest.err
34753 rm -f conftest.er1
34754 cat conftest.err >&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } && {
34757 test -z "$ac_c_werror_flag" ||
34758 test ! -s conftest.err
34759 } && test -s conftest.$ac_objext; then
34760 { echo "$as_me:$LINENO: result: yes" >&5
34761 echo "${ECHO_T}yes" >&6; }
34762 cat >>confdefs.h <<\_ACEOF
34763 #define __Point__ 1
34764 _ACEOF
34765
34766
34767 else
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.$ac_ext >&5
34770
34771 { { echo "$as_me:$LINENO: error: no
34772 See \`config.log' for more details." >&5
34773 echo "$as_me: error: no
34774 See \`config.log' for more details." >&2;}
34775 { (exit 1); exit 1; }; }
34776
34777 fi
34778
34779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34780
34781 fi
34782
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789
34790 fi
34791
34792
34793 { echo "$as_me:$LINENO: checking for mode_t" >&5
34794 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34795 if test "${ac_cv_type_mode_t+set}" = set; then
34796 echo $ECHO_N "(cached) $ECHO_C" >&6
34797 else
34798 cat >conftest.$ac_ext <<_ACEOF
34799 /* confdefs.h. */
34800 _ACEOF
34801 cat confdefs.h >>conftest.$ac_ext
34802 cat >>conftest.$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34804 $ac_includes_default
34805 typedef mode_t ac__type_new_;
34806 int
34807 main ()
34808 {
34809 if ((ac__type_new_ *) 0)
34810 return 0;
34811 if (sizeof (ac__type_new_))
34812 return 0;
34813 ;
34814 return 0;
34815 }
34816 _ACEOF
34817 rm -f conftest.$ac_objext
34818 if { (ac_try="$ac_compile"
34819 case "(($ac_try" in
34820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34821 *) ac_try_echo=$ac_try;;
34822 esac
34823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34824 (eval "$ac_compile") 2>conftest.er1
34825 ac_status=$?
34826 grep -v '^ *+' conftest.er1 >conftest.err
34827 rm -f conftest.er1
34828 cat conftest.err >&5
34829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34830 (exit $ac_status); } && {
34831 test -z "$ac_c_werror_flag" ||
34832 test ! -s conftest.err
34833 } && test -s conftest.$ac_objext; then
34834 ac_cv_type_mode_t=yes
34835 else
34836 echo "$as_me: failed program was:" >&5
34837 sed 's/^/| /' conftest.$ac_ext >&5
34838
34839 ac_cv_type_mode_t=no
34840 fi
34841
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 fi
34844 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34845 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34846 if test $ac_cv_type_mode_t = yes; then
34847 :
34848 else
34849
34850 cat >>confdefs.h <<_ACEOF
34851 #define mode_t int
34852 _ACEOF
34853
34854 fi
34855
34856 { echo "$as_me:$LINENO: checking for off_t" >&5
34857 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34858 if test "${ac_cv_type_off_t+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34861 cat >conftest.$ac_ext <<_ACEOF
34862 /* confdefs.h. */
34863 _ACEOF
34864 cat confdefs.h >>conftest.$ac_ext
34865 cat >>conftest.$ac_ext <<_ACEOF
34866 /* end confdefs.h. */
34867 $ac_includes_default
34868 typedef off_t ac__type_new_;
34869 int
34870 main ()
34871 {
34872 if ((ac__type_new_ *) 0)
34873 return 0;
34874 if (sizeof (ac__type_new_))
34875 return 0;
34876 ;
34877 return 0;
34878 }
34879 _ACEOF
34880 rm -f conftest.$ac_objext
34881 if { (ac_try="$ac_compile"
34882 case "(($ac_try" in
34883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34884 *) ac_try_echo=$ac_try;;
34885 esac
34886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34887 (eval "$ac_compile") 2>conftest.er1
34888 ac_status=$?
34889 grep -v '^ *+' conftest.er1 >conftest.err
34890 rm -f conftest.er1
34891 cat conftest.err >&5
34892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34893 (exit $ac_status); } && {
34894 test -z "$ac_c_werror_flag" ||
34895 test ! -s conftest.err
34896 } && test -s conftest.$ac_objext; then
34897 ac_cv_type_off_t=yes
34898 else
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.$ac_ext >&5
34901
34902 ac_cv_type_off_t=no
34903 fi
34904
34905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34906 fi
34907 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34908 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34909 if test $ac_cv_type_off_t = yes; then
34910 :
34911 else
34912
34913 cat >>confdefs.h <<_ACEOF
34914 #define off_t long int
34915 _ACEOF
34916
34917 fi
34918
34919 { echo "$as_me:$LINENO: checking for pid_t" >&5
34920 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34921 if test "${ac_cv_type_pid_t+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924 cat >conftest.$ac_ext <<_ACEOF
34925 /* confdefs.h. */
34926 _ACEOF
34927 cat confdefs.h >>conftest.$ac_ext
34928 cat >>conftest.$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930 $ac_includes_default
34931 typedef pid_t ac__type_new_;
34932 int
34933 main ()
34934 {
34935 if ((ac__type_new_ *) 0)
34936 return 0;
34937 if (sizeof (ac__type_new_))
34938 return 0;
34939 ;
34940 return 0;
34941 }
34942 _ACEOF
34943 rm -f conftest.$ac_objext
34944 if { (ac_try="$ac_compile"
34945 case "(($ac_try" in
34946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34947 *) ac_try_echo=$ac_try;;
34948 esac
34949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34950 (eval "$ac_compile") 2>conftest.er1
34951 ac_status=$?
34952 grep -v '^ *+' conftest.er1 >conftest.err
34953 rm -f conftest.er1
34954 cat conftest.err >&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } && {
34957 test -z "$ac_c_werror_flag" ||
34958 test ! -s conftest.err
34959 } && test -s conftest.$ac_objext; then
34960 ac_cv_type_pid_t=yes
34961 else
34962 echo "$as_me: failed program was:" >&5
34963 sed 's/^/| /' conftest.$ac_ext >&5
34964
34965 ac_cv_type_pid_t=no
34966 fi
34967
34968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34969 fi
34970 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34971 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34972 if test $ac_cv_type_pid_t = yes; then
34973 :
34974 else
34975
34976 cat >>confdefs.h <<_ACEOF
34977 #define pid_t int
34978 _ACEOF
34979
34980 fi
34981
34982 { echo "$as_me:$LINENO: checking for size_t" >&5
34983 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34984 if test "${ac_cv_type_size_t+set}" = set; then
34985 echo $ECHO_N "(cached) $ECHO_C" >&6
34986 else
34987 cat >conftest.$ac_ext <<_ACEOF
34988 /* confdefs.h. */
34989 _ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34993 $ac_includes_default
34994 typedef size_t ac__type_new_;
34995 int
34996 main ()
34997 {
34998 if ((ac__type_new_ *) 0)
34999 return 0;
35000 if (sizeof (ac__type_new_))
35001 return 0;
35002 ;
35003 return 0;
35004 }
35005 _ACEOF
35006 rm -f conftest.$ac_objext
35007 if { (ac_try="$ac_compile"
35008 case "(($ac_try" in
35009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35010 *) ac_try_echo=$ac_try;;
35011 esac
35012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35013 (eval "$ac_compile") 2>conftest.er1
35014 ac_status=$?
35015 grep -v '^ *+' conftest.er1 >conftest.err
35016 rm -f conftest.er1
35017 cat conftest.err >&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } && {
35020 test -z "$ac_c_werror_flag" ||
35021 test ! -s conftest.err
35022 } && test -s conftest.$ac_objext; then
35023 ac_cv_type_size_t=yes
35024 else
35025 echo "$as_me: failed program was:" >&5
35026 sed 's/^/| /' conftest.$ac_ext >&5
35027
35028 ac_cv_type_size_t=no
35029 fi
35030
35031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35032 fi
35033 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35034 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35035 if test $ac_cv_type_size_t = yes; then
35036 :
35037 else
35038
35039 cat >>confdefs.h <<_ACEOF
35040 #define size_t unsigned int
35041 _ACEOF
35042
35043 fi
35044
35045
35046 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35047 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35048 if test "${ac_cv_type_ssize_t+set}" = set; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35050 else
35051 cat >conftest.$ac_ext <<_ACEOF
35052 /* confdefs.h. */
35053 _ACEOF
35054 cat confdefs.h >>conftest.$ac_ext
35055 cat >>conftest.$ac_ext <<_ACEOF
35056 /* end confdefs.h. */
35057 $ac_includes_default
35058 typedef ssize_t ac__type_new_;
35059 int
35060 main ()
35061 {
35062 if ((ac__type_new_ *) 0)
35063 return 0;
35064 if (sizeof (ac__type_new_))
35065 return 0;
35066 ;
35067 return 0;
35068 }
35069 _ACEOF
35070 rm -f conftest.$ac_objext
35071 if { (ac_try="$ac_compile"
35072 case "(($ac_try" in
35073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35074 *) ac_try_echo=$ac_try;;
35075 esac
35076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35077 (eval "$ac_compile") 2>conftest.er1
35078 ac_status=$?
35079 grep -v '^ *+' conftest.er1 >conftest.err
35080 rm -f conftest.er1
35081 cat conftest.err >&5
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); } && {
35084 test -z "$ac_c_werror_flag" ||
35085 test ! -s conftest.err
35086 } && test -s conftest.$ac_objext; then
35087 ac_cv_type_ssize_t=yes
35088 else
35089 echo "$as_me: failed program was:" >&5
35090 sed 's/^/| /' conftest.$ac_ext >&5
35091
35092 ac_cv_type_ssize_t=no
35093 fi
35094
35095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35096 fi
35097 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35098 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35099 if test $ac_cv_type_ssize_t = yes; then
35100
35101 cat >>confdefs.h <<_ACEOF
35102 #define HAVE_SSIZE_T 1
35103 _ACEOF
35104
35105
35106 fi
35107
35108
35109 ac_ext=cpp
35110 ac_cpp='$CXXCPP $CPPFLAGS'
35111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35114 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35115 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35116 if test "${wx_cv_size_t_is_uint+set}" = set; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35118 else
35119
35120 cat >conftest.$ac_ext <<_ACEOF
35121 /* confdefs.h. */
35122 _ACEOF
35123 cat confdefs.h >>conftest.$ac_ext
35124 cat >>conftest.$ac_ext <<_ACEOF
35125 /* end confdefs.h. */
35126 #include <stddef.h>
35127 int
35128 main ()
35129 {
35130
35131 return 0; }
35132
35133 struct Foo { void foo(size_t); void foo(unsigned int); };
35134
35135 int bar() {
35136
35137 ;
35138 return 0;
35139 }
35140 _ACEOF
35141 rm -f conftest.$ac_objext
35142 if { (ac_try="$ac_compile"
35143 case "(($ac_try" in
35144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35145 *) ac_try_echo=$ac_try;;
35146 esac
35147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35148 (eval "$ac_compile") 2>conftest.er1
35149 ac_status=$?
35150 grep -v '^ *+' conftest.er1 >conftest.err
35151 rm -f conftest.er1
35152 cat conftest.err >&5
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); } && {
35155 test -z "$ac_cxx_werror_flag" ||
35156 test ! -s conftest.err
35157 } && test -s conftest.$ac_objext; then
35158 wx_cv_size_t_is_uint=no
35159 else
35160 echo "$as_me: failed program was:" >&5
35161 sed 's/^/| /' conftest.$ac_ext >&5
35162
35163 wx_cv_size_t_is_uint=yes
35164
35165 fi
35166
35167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35168
35169
35170 fi
35171 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35172 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35173
35174 if test "$wx_cv_size_t_is_uint" = "yes"; then
35175 cat >>confdefs.h <<\_ACEOF
35176 #define wxSIZE_T_IS_UINT 1
35177 _ACEOF
35178
35179 else
35180 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35181 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35182 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 cat >conftest.$ac_ext <<_ACEOF
35186 /* confdefs.h. */
35187 _ACEOF
35188 cat confdefs.h >>conftest.$ac_ext
35189 cat >>conftest.$ac_ext <<_ACEOF
35190 /* end confdefs.h. */
35191 #include <stddef.h>
35192 int
35193 main ()
35194 {
35195
35196 return 0; }
35197
35198 struct Foo { void foo(size_t); void foo(unsigned long); };
35199
35200 int bar() {
35201
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 rm -f conftest.$ac_objext
35207 if { (ac_try="$ac_compile"
35208 case "(($ac_try" in
35209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35210 *) ac_try_echo=$ac_try;;
35211 esac
35212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35213 (eval "$ac_compile") 2>conftest.er1
35214 ac_status=$?
35215 grep -v '^ *+' conftest.er1 >conftest.err
35216 rm -f conftest.er1
35217 cat conftest.err >&5
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); } && {
35220 test -z "$ac_cxx_werror_flag" ||
35221 test ! -s conftest.err
35222 } && test -s conftest.$ac_objext; then
35223 wx_cv_size_t_is_ulong=no
35224 else
35225 echo "$as_me: failed program was:" >&5
35226 sed 's/^/| /' conftest.$ac_ext >&5
35227
35228 wx_cv_size_t_is_ulong=yes
35229
35230 fi
35231
35232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35233
35234 fi
35235 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35236 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35237
35238 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35239 cat >>confdefs.h <<\_ACEOF
35240 #define wxSIZE_T_IS_ULONG 1
35241 _ACEOF
35242
35243 fi
35244 fi
35245
35246 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35247 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35248 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 else
35251 cat >conftest.$ac_ext <<_ACEOF
35252 /* confdefs.h. */
35253 _ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35257 #include <wchar.h>
35258 int
35259 main ()
35260 {
35261
35262 return 0; }
35263
35264 struct Foo { void foo(wchar_t);
35265 void foo(unsigned short);
35266 void foo(unsigned int);
35267 void foo(unsigned long); };
35268
35269 int bar() {
35270
35271 ;
35272 return 0;
35273 }
35274 _ACEOF
35275 rm -f conftest.$ac_objext
35276 if { (ac_try="$ac_compile"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35279 *) ac_try_echo=$ac_try;;
35280 esac
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_compile") 2>conftest.er1
35283 ac_status=$?
35284 grep -v '^ *+' conftest.er1 >conftest.err
35285 rm -f conftest.er1
35286 cat conftest.err >&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_cxx_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest.$ac_objext; then
35292 wx_cv_wchar_t_is_separate_type=yes
35293 else
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.$ac_ext >&5
35296
35297 wx_cv_wchar_t_is_separate_type=no
35298
35299 fi
35300
35301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35302
35303 fi
35304 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35305 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35306
35307 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35308 cat >>confdefs.h <<\_ACEOF
35309 #define wxWCHAR_T_IS_REAL_TYPE 1
35310 _ACEOF
35311
35312 else
35313 cat >>confdefs.h <<\_ACEOF
35314 #define wxWCHAR_T_IS_REAL_TYPE 0
35315 _ACEOF
35316
35317 fi
35318
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35324
35325
35326 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35327 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35328 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35330 else
35331
35332 cat >conftest.$ac_ext <<_ACEOF
35333 /* confdefs.h. */
35334 _ACEOF
35335 cat confdefs.h >>conftest.$ac_ext
35336 cat >>conftest.$ac_ext <<_ACEOF
35337 /* end confdefs.h. */
35338 #include <pwd.h>
35339 int
35340 main ()
35341 {
35342
35343 char *p;
35344 struct passwd *pw;
35345 p = pw->pw_gecos;
35346
35347 ;
35348 return 0;
35349 }
35350 _ACEOF
35351 rm -f conftest.$ac_objext
35352 if { (ac_try="$ac_compile"
35353 case "(($ac_try" in
35354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35355 *) ac_try_echo=$ac_try;;
35356 esac
35357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35358 (eval "$ac_compile") 2>conftest.er1
35359 ac_status=$?
35360 grep -v '^ *+' conftest.er1 >conftest.err
35361 rm -f conftest.er1
35362 cat conftest.err >&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } && {
35365 test -z "$ac_c_werror_flag" ||
35366 test ! -s conftest.err
35367 } && test -s conftest.$ac_objext; then
35368
35369 wx_cv_struct_pw_gecos=yes
35370
35371 else
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35374
35375
35376 wx_cv_struct_pw_gecos=no
35377
35378
35379 fi
35380
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382
35383
35384 fi
35385 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35386 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35387
35388 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35389 cat >>confdefs.h <<\_ACEOF
35390 #define HAVE_PW_GECOS 1
35391 _ACEOF
35392
35393 fi
35394
35395
35396 if test "$wxUSE_WCHAR_T" = "yes"; then
35397 cat >>confdefs.h <<\_ACEOF
35398 #define wxUSE_WCHAR_T 1
35399 _ACEOF
35400
35401
35402 WCSLEN_FOUND=0
35403 WCHAR_LINK=
35404
35405 for ac_func in wcslen
35406 do
35407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35412 else
35413 cat >conftest.$ac_ext <<_ACEOF
35414 /* confdefs.h. */
35415 _ACEOF
35416 cat confdefs.h >>conftest.$ac_ext
35417 cat >>conftest.$ac_ext <<_ACEOF
35418 /* end confdefs.h. */
35419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35421 #define $ac_func innocuous_$ac_func
35422
35423 /* System header to define __stub macros and hopefully few prototypes,
35424 which can conflict with char $ac_func (); below.
35425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35426 <limits.h> exists even on freestanding compilers. */
35427
35428 #ifdef __STDC__
35429 # include <limits.h>
35430 #else
35431 # include <assert.h>
35432 #endif
35433
35434 #undef $ac_func
35435
35436 /* Override any GCC internal prototype to avoid an error.
35437 Use char because int might match the return type of a GCC
35438 builtin and then its argument prototype would still apply. */
35439 #ifdef __cplusplus
35440 extern "C"
35441 #endif
35442 char $ac_func ();
35443 /* The GNU C library defines this for functions which it implements
35444 to always fail with ENOSYS. Some functions are actually named
35445 something starting with __ and the normal name is an alias. */
35446 #if defined __stub_$ac_func || defined __stub___$ac_func
35447 choke me
35448 #endif
35449
35450 int
35451 main ()
35452 {
35453 return $ac_func ();
35454 ;
35455 return 0;
35456 }
35457 _ACEOF
35458 rm -f conftest.$ac_objext conftest$ac_exeext
35459 if { (ac_try="$ac_link"
35460 case "(($ac_try" in
35461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35462 *) ac_try_echo=$ac_try;;
35463 esac
35464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35465 (eval "$ac_link") 2>conftest.er1
35466 ac_status=$?
35467 grep -v '^ *+' conftest.er1 >conftest.err
35468 rm -f conftest.er1
35469 cat conftest.err >&5
35470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471 (exit $ac_status); } && {
35472 test -z "$ac_c_werror_flag" ||
35473 test ! -s conftest.err
35474 } && test -s conftest$ac_exeext &&
35475 $as_test_x conftest$ac_exeext; then
35476 eval "$as_ac_var=yes"
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 eval "$as_ac_var=no"
35482 fi
35483
35484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35485 conftest$ac_exeext conftest.$ac_ext
35486 fi
35487 ac_res=`eval echo '${'$as_ac_var'}'`
35488 { echo "$as_me:$LINENO: result: $ac_res" >&5
35489 echo "${ECHO_T}$ac_res" >&6; }
35490 if test `eval echo '${'$as_ac_var'}'` = yes; then
35491 cat >>confdefs.h <<_ACEOF
35492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35493 _ACEOF
35494 WCSLEN_FOUND=1
35495 fi
35496 done
35497
35498
35499 if test "$WCSLEN_FOUND" = 0; then
35500 if test "$TOOLKIT" = "MSW"; then
35501 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35502 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35503 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 else
35506 ac_check_lib_save_LIBS=$LIBS
35507 LIBS="-lmsvcrt $LIBS"
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514
35515 /* Override any GCC internal prototype to avoid an error.
35516 Use char because int might match the return type of a GCC
35517 builtin and then its argument prototype would still apply. */
35518 #ifdef __cplusplus
35519 extern "C"
35520 #endif
35521 char wcslen ();
35522 int
35523 main ()
35524 {
35525 return wcslen ();
35526 ;
35527 return 0;
35528 }
35529 _ACEOF
35530 rm -f conftest.$ac_objext conftest$ac_exeext
35531 if { (ac_try="$ac_link"
35532 case "(($ac_try" in
35533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35535 esac
35536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_link") 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest$ac_exeext &&
35547 $as_test_x conftest$ac_exeext; then
35548 ac_cv_lib_msvcrt_wcslen=yes
35549 else
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.$ac_ext >&5
35552
35553 ac_cv_lib_msvcrt_wcslen=no
35554 fi
35555
35556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35557 conftest$ac_exeext conftest.$ac_ext
35558 LIBS=$ac_check_lib_save_LIBS
35559 fi
35560 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35561 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35562 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35563 WCHAR_OK=1
35564 fi
35565
35566 else
35567 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35568 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35569 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35571 else
35572 ac_check_lib_save_LIBS=$LIBS
35573 LIBS="-lw $LIBS"
35574 cat >conftest.$ac_ext <<_ACEOF
35575 /* confdefs.h. */
35576 _ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580
35581 /* Override any GCC internal prototype to avoid an error.
35582 Use char because int might match the return type of a GCC
35583 builtin and then its argument prototype would still apply. */
35584 #ifdef __cplusplus
35585 extern "C"
35586 #endif
35587 char wcslen ();
35588 int
35589 main ()
35590 {
35591 return wcslen ();
35592 ;
35593 return 0;
35594 }
35595 _ACEOF
35596 rm -f conftest.$ac_objext conftest$ac_exeext
35597 if { (ac_try="$ac_link"
35598 case "(($ac_try" in
35599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35600 *) ac_try_echo=$ac_try;;
35601 esac
35602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35603 (eval "$ac_link") 2>conftest.er1
35604 ac_status=$?
35605 grep -v '^ *+' conftest.er1 >conftest.err
35606 rm -f conftest.er1
35607 cat conftest.err >&5
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); } && {
35610 test -z "$ac_c_werror_flag" ||
35611 test ! -s conftest.err
35612 } && test -s conftest$ac_exeext &&
35613 $as_test_x conftest$ac_exeext; then
35614 ac_cv_lib_w_wcslen=yes
35615 else
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.$ac_ext >&5
35618
35619 ac_cv_lib_w_wcslen=no
35620 fi
35621
35622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35623 conftest$ac_exeext conftest.$ac_ext
35624 LIBS=$ac_check_lib_save_LIBS
35625 fi
35626 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35627 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35628 if test $ac_cv_lib_w_wcslen = yes; then
35629
35630 WCHAR_LINK=" -lw"
35631 WCSLEN_FOUND=1
35632
35633 fi
35634
35635 fi
35636 fi
35637
35638 if test "$WCSLEN_FOUND" = 1; then
35639 cat >>confdefs.h <<\_ACEOF
35640 #define HAVE_WCSLEN 1
35641 _ACEOF
35642
35643 fi
35644
35645
35646
35647
35648
35649
35650 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35651 do
35652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35653 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35655 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35656 echo $ECHO_N "(cached) $ECHO_C" >&6
35657 else
35658 cat >conftest.$ac_ext <<_ACEOF
35659 /* confdefs.h. */
35660 _ACEOF
35661 cat confdefs.h >>conftest.$ac_ext
35662 cat >>conftest.$ac_ext <<_ACEOF
35663 /* end confdefs.h. */
35664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35666 #define $ac_func innocuous_$ac_func
35667
35668 /* System header to define __stub macros and hopefully few prototypes,
35669 which can conflict with char $ac_func (); below.
35670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35671 <limits.h> exists even on freestanding compilers. */
35672
35673 #ifdef __STDC__
35674 # include <limits.h>
35675 #else
35676 # include <assert.h>
35677 #endif
35678
35679 #undef $ac_func
35680
35681 /* Override any GCC internal prototype to avoid an error.
35682 Use char because int might match the return type of a GCC
35683 builtin and then its argument prototype would still apply. */
35684 #ifdef __cplusplus
35685 extern "C"
35686 #endif
35687 char $ac_func ();
35688 /* The GNU C library defines this for functions which it implements
35689 to always fail with ENOSYS. Some functions are actually named
35690 something starting with __ and the normal name is an alias. */
35691 #if defined __stub_$ac_func || defined __stub___$ac_func
35692 choke me
35693 #endif
35694
35695 int
35696 main ()
35697 {
35698 return $ac_func ();
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 rm -f conftest.$ac_objext conftest$ac_exeext
35704 if { (ac_try="$ac_link"
35705 case "(($ac_try" in
35706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35707 *) ac_try_echo=$ac_try;;
35708 esac
35709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_link") 2>conftest.er1
35711 ac_status=$?
35712 grep -v '^ *+' conftest.er1 >conftest.err
35713 rm -f conftest.er1
35714 cat conftest.err >&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_c_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest$ac_exeext &&
35720 $as_test_x conftest$ac_exeext; then
35721 eval "$as_ac_var=yes"
35722 else
35723 echo "$as_me: failed program was:" >&5
35724 sed 's/^/| /' conftest.$ac_ext >&5
35725
35726 eval "$as_ac_var=no"
35727 fi
35728
35729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35730 conftest$ac_exeext conftest.$ac_ext
35731 fi
35732 ac_res=`eval echo '${'$as_ac_var'}'`
35733 { echo "$as_me:$LINENO: result: $ac_res" >&5
35734 echo "${ECHO_T}$ac_res" >&6; }
35735 if test `eval echo '${'$as_ac_var'}'` = yes; then
35736 cat >>confdefs.h <<_ACEOF
35737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35738 _ACEOF
35739
35740 fi
35741 done
35742
35743
35744 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35745 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35746 fi
35747
35748 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35749 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35750 if test "${ac_cv_type_mbstate_t+set}" = set; then
35751 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 else
35753 cat >conftest.$ac_ext <<_ACEOF
35754 /* confdefs.h. */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35759 #include <wchar.h>
35760
35761 typedef mbstate_t ac__type_new_;
35762 int
35763 main ()
35764 {
35765 if ((ac__type_new_ *) 0)
35766 return 0;
35767 if (sizeof (ac__type_new_))
35768 return 0;
35769 ;
35770 return 0;
35771 }
35772 _ACEOF
35773 rm -f conftest.$ac_objext
35774 if { (ac_try="$ac_compile"
35775 case "(($ac_try" in
35776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35777 *) ac_try_echo=$ac_try;;
35778 esac
35779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35780 (eval "$ac_compile") 2>conftest.er1
35781 ac_status=$?
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } && {
35787 test -z "$ac_c_werror_flag" ||
35788 test ! -s conftest.err
35789 } && test -s conftest.$ac_objext; then
35790 ac_cv_type_mbstate_t=yes
35791 else
35792 echo "$as_me: failed program was:" >&5
35793 sed 's/^/| /' conftest.$ac_ext >&5
35794
35795 ac_cv_type_mbstate_t=no
35796 fi
35797
35798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35799 fi
35800 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35801 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35802 if test $ac_cv_type_mbstate_t = yes; then
35803
35804 cat >>confdefs.h <<_ACEOF
35805 #define HAVE_MBSTATE_T 1
35806 _ACEOF
35807
35808
35809 for ac_func in wcsrtombs
35810 do
35811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35816 else
35817 cat >conftest.$ac_ext <<_ACEOF
35818 /* confdefs.h. */
35819 _ACEOF
35820 cat confdefs.h >>conftest.$ac_ext
35821 cat >>conftest.$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35826
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35831
35832 #ifdef __STDC__
35833 # include <limits.h>
35834 #else
35835 # include <assert.h>
35836 #endif
35837
35838 #undef $ac_func
35839
35840 /* Override any GCC internal prototype to avoid an error.
35841 Use char because int might match the return type of a GCC
35842 builtin and then its argument prototype would still apply. */
35843 #ifdef __cplusplus
35844 extern "C"
35845 #endif
35846 char $ac_func ();
35847 /* The GNU C library defines this for functions which it implements
35848 to always fail with ENOSYS. Some functions are actually named
35849 something starting with __ and the normal name is an alias. */
35850 #if defined __stub_$ac_func || defined __stub___$ac_func
35851 choke me
35852 #endif
35853
35854 int
35855 main ()
35856 {
35857 return $ac_func ();
35858 ;
35859 return 0;
35860 }
35861 _ACEOF
35862 rm -f conftest.$ac_objext conftest$ac_exeext
35863 if { (ac_try="$ac_link"
35864 case "(($ac_try" in
35865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35866 *) ac_try_echo=$ac_try;;
35867 esac
35868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35869 (eval "$ac_link") 2>conftest.er1
35870 ac_status=$?
35871 grep -v '^ *+' conftest.er1 >conftest.err
35872 rm -f conftest.er1
35873 cat conftest.err >&5
35874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875 (exit $ac_status); } && {
35876 test -z "$ac_c_werror_flag" ||
35877 test ! -s conftest.err
35878 } && test -s conftest$ac_exeext &&
35879 $as_test_x conftest$ac_exeext; then
35880 eval "$as_ac_var=yes"
35881 else
35882 echo "$as_me: failed program was:" >&5
35883 sed 's/^/| /' conftest.$ac_ext >&5
35884
35885 eval "$as_ac_var=no"
35886 fi
35887
35888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35889 conftest$ac_exeext conftest.$ac_ext
35890 fi
35891 ac_res=`eval echo '${'$as_ac_var'}'`
35892 { echo "$as_me:$LINENO: result: $ac_res" >&5
35893 echo "${ECHO_T}$ac_res" >&6; }
35894 if test `eval echo '${'$as_ac_var'}'` = yes; then
35895 cat >>confdefs.h <<_ACEOF
35896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35897 _ACEOF
35898
35899 fi
35900 done
35901
35902 fi
35903
35904 else
35905 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35906 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35907 fi
35908
35909
35910
35911
35912 for ac_func in snprintf vsnprintf vsscanf
35913 do
35914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35915 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35917 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35919 else
35920 cat >conftest.$ac_ext <<_ACEOF
35921 /* confdefs.h. */
35922 _ACEOF
35923 cat confdefs.h >>conftest.$ac_ext
35924 cat >>conftest.$ac_ext <<_ACEOF
35925 /* end confdefs.h. */
35926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35928 #define $ac_func innocuous_$ac_func
35929
35930 /* System header to define __stub macros and hopefully few prototypes,
35931 which can conflict with char $ac_func (); below.
35932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35933 <limits.h> exists even on freestanding compilers. */
35934
35935 #ifdef __STDC__
35936 # include <limits.h>
35937 #else
35938 # include <assert.h>
35939 #endif
35940
35941 #undef $ac_func
35942
35943 /* Override any GCC internal prototype to avoid an error.
35944 Use char because int might match the return type of a GCC
35945 builtin and then its argument prototype would still apply. */
35946 #ifdef __cplusplus
35947 extern "C"
35948 #endif
35949 char $ac_func ();
35950 /* The GNU C library defines this for functions which it implements
35951 to always fail with ENOSYS. Some functions are actually named
35952 something starting with __ and the normal name is an alias. */
35953 #if defined __stub_$ac_func || defined __stub___$ac_func
35954 choke me
35955 #endif
35956
35957 int
35958 main ()
35959 {
35960 return $ac_func ();
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (ac_try="$ac_link"
35967 case "(($ac_try" in
35968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35969 *) ac_try_echo=$ac_try;;
35970 esac
35971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35972 (eval "$ac_link") 2>conftest.er1
35973 ac_status=$?
35974 grep -v '^ *+' conftest.er1 >conftest.err
35975 rm -f conftest.er1
35976 cat conftest.err >&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest$ac_exeext &&
35982 $as_test_x conftest$ac_exeext; then
35983 eval "$as_ac_var=yes"
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35987
35988 eval "$as_ac_var=no"
35989 fi
35990
35991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35992 conftest$ac_exeext conftest.$ac_ext
35993 fi
35994 ac_res=`eval echo '${'$as_ac_var'}'`
35995 { echo "$as_me:$LINENO: result: $ac_res" >&5
35996 echo "${ECHO_T}$ac_res" >&6; }
35997 if test `eval echo '${'$as_ac_var'}'` = yes; then
35998 cat >>confdefs.h <<_ACEOF
35999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36000 _ACEOF
36001
36002 fi
36003 done
36004
36005
36006 ac_ext=cpp
36007 ac_cpp='$CXXCPP $CPPFLAGS'
36008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36011
36012 if test "$ac_cv_func_vsnprintf" = "yes"; then
36013 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36014 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36015 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 else
36018
36019 cat >conftest.$ac_ext <<_ACEOF
36020 /* confdefs.h. */
36021 _ACEOF
36022 cat confdefs.h >>conftest.$ac_ext
36023 cat >>conftest.$ac_ext <<_ACEOF
36024 /* end confdefs.h. */
36025
36026 #include <stdio.h>
36027 #include <stdarg.h>
36028 #ifdef __MSL__
36029 #if __MSL__ >= 0x6000
36030 namespace std {}
36031 using namespace std;
36032 #endif
36033 #endif
36034
36035 int
36036 main ()
36037 {
36038
36039 char *buf;
36040 va_list ap;
36041 vsnprintf(buf, 10u, "%s", ap);
36042
36043 ;
36044 return 0;
36045 }
36046 _ACEOF
36047 rm -f conftest.$ac_objext
36048 if { (ac_try="$ac_compile"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36052 esac
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_compile") 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest.$ac_objext; then
36064 wx_cv_func_vsnprintf_decl=yes
36065 else
36066 echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.$ac_ext >&5
36068
36069 wx_cv_func_vsnprintf_decl=no
36070
36071 fi
36072
36073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36074
36075
36076 fi
36077 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36078 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36079
36080 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36081 cat >>confdefs.h <<\_ACEOF
36082 #define HAVE_VSNPRINTF_DECL 1
36083 _ACEOF
36084
36085
36086 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36087 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36088 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 else
36091
36092 cat >conftest.$ac_ext <<_ACEOF
36093 /* confdefs.h. */
36094 _ACEOF
36095 cat confdefs.h >>conftest.$ac_ext
36096 cat >>conftest.$ac_ext <<_ACEOF
36097 /* end confdefs.h. */
36098
36099 #include <stdio.h>
36100 #include <stdarg.h>
36101 #ifdef __MSL__
36102 #if __MSL__ >= 0x6000
36103 namespace std {}
36104 using namespace std;
36105 #endif
36106 #endif
36107
36108 int
36109 main ()
36110 {
36111
36112 char *buf;
36113 va_list ap;
36114 const char *fmt = "%s";
36115 vsnprintf(buf, 10u, fmt, ap);
36116
36117 ;
36118 return 0;
36119 }
36120 _ACEOF
36121 rm -f conftest.$ac_objext
36122 if { (ac_try="$ac_compile"
36123 case "(($ac_try" in
36124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36125 *) ac_try_echo=$ac_try;;
36126 esac
36127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36128 (eval "$ac_compile") 2>conftest.er1
36129 ac_status=$?
36130 grep -v '^ *+' conftest.er1 >conftest.err
36131 rm -f conftest.er1
36132 cat conftest.err >&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } && {
36135 test -z "$ac_cxx_werror_flag" ||
36136 test ! -s conftest.err
36137 } && test -s conftest.$ac_objext; then
36138 wx_cv_func_broken_vsnprintf_decl=no
36139 else
36140 echo "$as_me: failed program was:" >&5
36141 sed 's/^/| /' conftest.$ac_ext >&5
36142
36143 wx_cv_func_broken_vsnprintf_decl=yes
36144
36145 fi
36146
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148
36149
36150 fi
36151 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36152 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36153
36154 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36155 cat >>confdefs.h <<\_ACEOF
36156 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36157 _ACEOF
36158
36159 fi
36160 fi
36161 fi
36162
36163 if test "$ac_cv_func_snprintf" = "yes"; then
36164 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36165 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36166 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36167 echo $ECHO_N "(cached) $ECHO_C" >&6
36168 else
36169
36170 cat >conftest.$ac_ext <<_ACEOF
36171 /* confdefs.h. */
36172 _ACEOF
36173 cat confdefs.h >>conftest.$ac_ext
36174 cat >>conftest.$ac_ext <<_ACEOF
36175 /* end confdefs.h. */
36176
36177 #include <stdio.h>
36178 #include <stdarg.h>
36179 #ifdef __MSL__
36180 #if __MSL__ >= 0x6000
36181 namespace std {}
36182 using namespace std;
36183 #endif
36184 #endif
36185
36186 int
36187 main ()
36188 {
36189
36190 char *buf;
36191 snprintf(buf, 10u, "%s", "wx");
36192
36193 ;
36194 return 0;
36195 }
36196 _ACEOF
36197 rm -f conftest.$ac_objext
36198 if { (ac_try="$ac_compile"
36199 case "(($ac_try" in
36200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36201 *) ac_try_echo=$ac_try;;
36202 esac
36203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36204 (eval "$ac_compile") 2>conftest.er1
36205 ac_status=$?
36206 grep -v '^ *+' conftest.er1 >conftest.err
36207 rm -f conftest.er1
36208 cat conftest.err >&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } && {
36211 test -z "$ac_cxx_werror_flag" ||
36212 test ! -s conftest.err
36213 } && test -s conftest.$ac_objext; then
36214 wx_cv_func_snprintf_decl=yes
36215 else
36216 echo "$as_me: failed program was:" >&5
36217 sed 's/^/| /' conftest.$ac_ext >&5
36218
36219 wx_cv_func_snprintf_decl=no
36220
36221 fi
36222
36223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36224
36225
36226 fi
36227 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36228 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36229
36230 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE_SNPRINTF_DECL 1
36233 _ACEOF
36234
36235 fi
36236
36237 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36238
36239 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36240 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36241 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244
36245 if test "$cross_compiling" = yes; then
36246
36247 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36248 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36249 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36250 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36251 wx_cv_func_snprintf_pos_params=no
36252
36253
36254 else
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261
36262 #include <stdio.h>
36263
36264 int main (void)
36265 {
36266 char buffer[128];
36267 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36268 if (strcmp ("2 3 1", buffer) == 0)
36269 exit (0);
36270 exit (1);
36271 }
36272
36273 _ACEOF
36274 rm -f conftest$ac_exeext
36275 if { (ac_try="$ac_link"
36276 case "(($ac_try" in
36277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36278 *) ac_try_echo=$ac_try;;
36279 esac
36280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36281 (eval "$ac_link") 2>&5
36282 ac_status=$?
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36285 { (case "(($ac_try" in
36286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36287 *) ac_try_echo=$ac_try;;
36288 esac
36289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36290 (eval "$ac_try") 2>&5
36291 ac_status=$?
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36294 wx_cv_func_snprintf_pos_params=no
36295 else
36296 echo "$as_me: program exited with status $ac_status" >&5
36297 echo "$as_me: failed program was:" >&5
36298 sed 's/^/| /' conftest.$ac_ext >&5
36299
36300 ( exit $ac_status )
36301 wx_cv_func_snprintf_pos_params=yes
36302 fi
36303 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36304 fi
36305
36306
36307
36308
36309 fi
36310 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36311 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36312
36313 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36314 cat >>confdefs.h <<\_ACEOF
36315 #define HAVE_UNIX98_PRINTF 1
36316 _ACEOF
36317
36318 fi
36319 fi
36320 fi
36321
36322 if test "$ac_cv_func_vsscanf" = "yes"; then
36323 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36324 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36325 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 else
36328
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335
36336 #include <stdio.h>
36337 #include <stdarg.h>
36338 #ifdef __MSL__
36339 #if __MSL__ >= 0x6000
36340 namespace std {}
36341 using namespace std;
36342 #endif
36343 #endif
36344
36345 int
36346 main ()
36347 {
36348
36349 char *buf;
36350 va_list args;
36351 vsscanf(buf, "%s", args);
36352
36353 ;
36354 return 0;
36355 }
36356 _ACEOF
36357 rm -f conftest.$ac_objext
36358 if { (ac_try="$ac_compile"
36359 case "(($ac_try" in
36360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36361 *) ac_try_echo=$ac_try;;
36362 esac
36363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36364 (eval "$ac_compile") 2>conftest.er1
36365 ac_status=$?
36366 grep -v '^ *+' conftest.er1 >conftest.err
36367 rm -f conftest.er1
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } && {
36371 test -z "$ac_cxx_werror_flag" ||
36372 test ! -s conftest.err
36373 } && test -s conftest.$ac_objext; then
36374 wx_cv_func_vsscanf_decl=yes
36375 else
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36378
36379 wx_cv_func_vsscanf_decl=no
36380
36381 fi
36382
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384
36385
36386 fi
36387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36388 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36389
36390 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36391 cat >>confdefs.h <<\_ACEOF
36392 #define HAVE_VSSCANF_DECL 1
36393 _ACEOF
36394
36395 fi
36396 fi
36397 ac_ext=c
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36402
36403
36404 if test "$wxUSE_UNICODE" = yes; then
36405
36406 wchar_headers="#include <stdio.h>
36407 #include <wchar.h>"
36408 case "${host}" in
36409 *-*-solaris2* )
36410
36411 for ac_header in widec.h
36412 do
36413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36418 else
36419 cat >conftest.$ac_ext <<_ACEOF
36420 /* confdefs.h. */
36421 _ACEOF
36422 cat confdefs.h >>conftest.$ac_ext
36423 cat >>conftest.$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36425 $ac_includes_default
36426
36427 #include <$ac_header>
36428 _ACEOF
36429 rm -f conftest.$ac_objext
36430 if { (ac_try="$ac_compile"
36431 case "(($ac_try" in
36432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36433 *) ac_try_echo=$ac_try;;
36434 esac
36435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36436 (eval "$ac_compile") 2>conftest.er1
36437 ac_status=$?
36438 grep -v '^ *+' conftest.er1 >conftest.err
36439 rm -f conftest.er1
36440 cat conftest.err >&5
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); } && {
36443 test -z "$ac_c_werror_flag" ||
36444 test ! -s conftest.err
36445 } && test -s conftest.$ac_objext; then
36446 eval "$as_ac_Header=yes"
36447 else
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36450
36451 eval "$as_ac_Header=no"
36452 fi
36453
36454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36455 fi
36456 ac_res=`eval echo '${'$as_ac_Header'}'`
36457 { echo "$as_me:$LINENO: result: $ac_res" >&5
36458 echo "${ECHO_T}$ac_res" >&6; }
36459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36460 cat >>confdefs.h <<_ACEOF
36461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36462 _ACEOF
36463
36464 fi
36465
36466 done
36467
36468 if test "$ac_cv_header_widec_h" = "yes"; then
36469 wchar_headers="$wchar_headers
36470 #include <widec.h>"
36471 fi
36472 esac
36473
36474
36475 for wx_func in putws fputws wprintf vswprintf vswscanf
36476 do
36477 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36478 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36479 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36481 else
36482
36483 cat >conftest.$ac_ext <<_ACEOF
36484
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490
36491 $wchar_headers
36492 $ac_includes_default
36493
36494 int
36495 main ()
36496 {
36497
36498 #ifndef $wx_func
36499 &$wx_func;
36500 #endif
36501
36502
36503 ;
36504 return 0;
36505 }
36506
36507 _ACEOF
36508 rm -f conftest.$ac_objext conftest$ac_exeext
36509 if { (ac_try="$ac_link"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36512 *) ac_try_echo=$ac_try;;
36513 esac
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_link") 2>conftest.er1
36516 ac_status=$?
36517 grep -v '^ *+' conftest.er1 >conftest.err
36518 rm -f conftest.er1
36519 cat conftest.err >&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_c_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest$ac_exeext &&
36525 $as_test_x conftest$ac_exeext; then
36526 eval wx_cv_func_$wx_func=yes
36527 else
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 eval wx_cv_func_$wx_func=no
36532 fi
36533
36534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36535 conftest$ac_exeext conftest.$ac_ext
36536
36537 fi
36538 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36539 { echo "$as_me:$LINENO: result: $ac_res" >&5
36540 echo "${ECHO_T}$ac_res" >&6; }
36541
36542 if eval test \$wx_cv_func_$wx_func = yes
36543 then
36544 cat >>confdefs.h <<_ACEOF
36545 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36546 _ACEOF
36547
36548
36549 else
36550 :
36551
36552 fi
36553 done
36554
36555
36556 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36557 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36558 cat >conftest.$ac_ext <<_ACEOF
36559 /* confdefs.h. */
36560 _ACEOF
36561 cat confdefs.h >>conftest.$ac_ext
36562 cat >>conftest.$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36564 #include <wchar.h>
36565 int
36566 main ()
36567 {
36568 &_vsnwprintf;
36569 ;
36570 return 0;
36571 }
36572 _ACEOF
36573 rm -f conftest.$ac_objext
36574 if { (ac_try="$ac_compile"
36575 case "(($ac_try" in
36576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36577 *) ac_try_echo=$ac_try;;
36578 esac
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580 (eval "$ac_compile") 2>conftest.er1
36581 ac_status=$?
36582 grep -v '^ *+' conftest.er1 >conftest.err
36583 rm -f conftest.er1
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } && {
36587 test -z "$ac_c_werror_flag" ||
36588 test ! -s conftest.err
36589 } && test -s conftest.$ac_objext; then
36590 { echo "$as_me:$LINENO: result: yes" >&5
36591 echo "${ECHO_T}yes" >&6; }
36592 cat >>confdefs.h <<\_ACEOF
36593 #define HAVE__VSNWPRINTF 1
36594 _ACEOF
36595
36596 else
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36599
36600 { echo "$as_me:$LINENO: result: no" >&5
36601 echo "${ECHO_T}no" >&6; }
36602 fi
36603
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36605 fi
36606
36607 if test "$wxUSE_FILE" = "yes"; then
36608
36609 for wx_func in fsync
36610 do
36611 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36612 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36613 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36615 else
36616
36617 cat >conftest.$ac_ext <<_ACEOF
36618
36619 /* confdefs.h. */
36620 _ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624
36625
36626 $ac_includes_default
36627
36628 int
36629 main ()
36630 {
36631
36632 #ifndef $wx_func
36633 &$wx_func;
36634 #endif
36635
36636
36637 ;
36638 return 0;
36639 }
36640
36641 _ACEOF
36642 rm -f conftest.$ac_objext conftest$ac_exeext
36643 if { (ac_try="$ac_link"
36644 case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36647 esac
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_link") 2>conftest.er1
36650 ac_status=$?
36651 grep -v '^ *+' conftest.er1 >conftest.err
36652 rm -f conftest.er1
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest$ac_exeext &&
36659 $as_test_x conftest$ac_exeext; then
36660 eval wx_cv_func_$wx_func=yes
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 eval wx_cv_func_$wx_func=no
36666 fi
36667
36668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36669 conftest$ac_exeext conftest.$ac_ext
36670
36671 fi
36672 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36673 { echo "$as_me:$LINENO: result: $ac_res" >&5
36674 echo "${ECHO_T}$ac_res" >&6; }
36675
36676 if eval test \$wx_cv_func_$wx_func = yes
36677 then
36678 cat >>confdefs.h <<_ACEOF
36679 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36680 _ACEOF
36681
36682
36683 else
36684 :
36685
36686 fi
36687 done
36688
36689 fi
36690
36691 ac_ext=cpp
36692 ac_cpp='$CXXCPP $CPPFLAGS'
36693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36696
36697
36698 for wx_func in round
36699 do
36700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 else
36705
36706 cat >conftest.$ac_ext <<_ACEOF
36707
36708 /* confdefs.h. */
36709 _ACEOF
36710 cat confdefs.h >>conftest.$ac_ext
36711 cat >>conftest.$ac_ext <<_ACEOF
36712 /* end confdefs.h. */
36713
36714 #include <math.h>
36715 $ac_includes_default
36716
36717 int
36718 main ()
36719 {
36720
36721 #ifndef $wx_func
36722 &$wx_func;
36723 #endif
36724
36725
36726 ;
36727 return 0;
36728 }
36729
36730 _ACEOF
36731 rm -f conftest.$ac_objext conftest$ac_exeext
36732 if { (ac_try="$ac_link"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36736 esac
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_link") 2>conftest.er1
36739 ac_status=$?
36740 grep -v '^ *+' conftest.er1 >conftest.err
36741 rm -f conftest.er1
36742 cat conftest.err >&5
36743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36744 (exit $ac_status); } && {
36745 test -z "$ac_cxx_werror_flag" ||
36746 test ! -s conftest.err
36747 } && test -s conftest$ac_exeext &&
36748 $as_test_x conftest$ac_exeext; then
36749 eval wx_cv_func_$wx_func=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 eval wx_cv_func_$wx_func=no
36755 fi
36756
36757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36758 conftest$ac_exeext conftest.$ac_ext
36759
36760 fi
36761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36762 { echo "$as_me:$LINENO: result: $ac_res" >&5
36763 echo "${ECHO_T}$ac_res" >&6; }
36764
36765 if eval test \$wx_cv_func_$wx_func = yes
36766 then
36767 cat >>confdefs.h <<_ACEOF
36768 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36769 _ACEOF
36770
36771
36772 else
36773 :
36774
36775 fi
36776 done
36777
36778 ac_ext=c
36779 ac_cpp='$CPP $CPPFLAGS'
36780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36783
36784
36785 if test "$TOOLKIT" != "MSW"; then
36786
36787 if test "$wxUSE_LIBICONV" != "no" ; then
36788
36789
36790
36791 # Check whether --with-libiconv-prefix was given.
36792 if test "${with_libiconv_prefix+set}" = set; then
36793 withval=$with_libiconv_prefix;
36794 for dir in `echo "$withval" | tr : ' '`; do
36795 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36796 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36797 done
36798
36799 fi
36800
36801
36802 { echo "$as_me:$LINENO: checking for iconv" >&5
36803 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36804 if test "${am_cv_func_iconv+set}" = set; then
36805 echo $ECHO_N "(cached) $ECHO_C" >&6
36806 else
36807
36808 am_cv_func_iconv="no, consider installing GNU libiconv"
36809 am_cv_lib_iconv=no
36810 cat >conftest.$ac_ext <<_ACEOF
36811 /* confdefs.h. */
36812 _ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816 #include <stdlib.h>
36817 #include <iconv.h>
36818 int
36819 main ()
36820 {
36821 iconv_t cd = iconv_open("","");
36822 iconv(cd,NULL,NULL,NULL,NULL);
36823 iconv_close(cd);
36824 ;
36825 return 0;
36826 }
36827 _ACEOF
36828 rm -f conftest.$ac_objext conftest$ac_exeext
36829 if { (ac_try="$ac_link"
36830 case "(($ac_try" in
36831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36832 *) ac_try_echo=$ac_try;;
36833 esac
36834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36835 (eval "$ac_link") 2>conftest.er1
36836 ac_status=$?
36837 grep -v '^ *+' conftest.er1 >conftest.err
36838 rm -f conftest.er1
36839 cat conftest.err >&5
36840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841 (exit $ac_status); } && {
36842 test -z "$ac_c_werror_flag" ||
36843 test ! -s conftest.err
36844 } && test -s conftest$ac_exeext &&
36845 $as_test_x conftest$ac_exeext; then
36846 am_cv_func_iconv=yes
36847 else
36848 echo "$as_me: failed program was:" >&5
36849 sed 's/^/| /' conftest.$ac_ext >&5
36850
36851
36852 fi
36853
36854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36855 conftest$ac_exeext conftest.$ac_ext
36856 if test "$am_cv_func_iconv" != yes; then
36857 am_save_LIBS="$LIBS"
36858 LIBS="$LIBS -liconv"
36859 cat >conftest.$ac_ext <<_ACEOF
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865 #include <stdlib.h>
36866 #include <iconv.h>
36867 int
36868 main ()
36869 {
36870 iconv_t cd = iconv_open("","");
36871 iconv(cd,NULL,NULL,NULL,NULL);
36872 iconv_close(cd);
36873 ;
36874 return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext conftest$ac_exeext
36878 if { (ac_try="$ac_link"
36879 case "(($ac_try" in
36880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36881 *) ac_try_echo=$ac_try;;
36882 esac
36883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36884 (eval "$ac_link") 2>conftest.er1
36885 ac_status=$?
36886 grep -v '^ *+' conftest.er1 >conftest.err
36887 rm -f conftest.er1
36888 cat conftest.err >&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } && {
36891 test -z "$ac_c_werror_flag" ||
36892 test ! -s conftest.err
36893 } && test -s conftest$ac_exeext &&
36894 $as_test_x conftest$ac_exeext; then
36895 am_cv_lib_iconv=yes
36896 am_cv_func_iconv=yes
36897 else
36898 echo "$as_me: failed program was:" >&5
36899 sed 's/^/| /' conftest.$ac_ext >&5
36900
36901
36902 fi
36903
36904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36905 conftest$ac_exeext conftest.$ac_ext
36906 LIBS="$am_save_LIBS"
36907 fi
36908
36909 fi
36910 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36911 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36912 if test "$am_cv_func_iconv" = yes; then
36913
36914 cat >>confdefs.h <<\_ACEOF
36915 #define HAVE_ICONV 1
36916 _ACEOF
36917
36918 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36919 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36920 if test "${wx_cv_func_iconv_const+set}" = set; then
36921 echo $ECHO_N "(cached) $ECHO_C" >&6
36922 else
36923 cat >conftest.$ac_ext <<_ACEOF
36924 /* confdefs.h. */
36925 _ACEOF
36926 cat confdefs.h >>conftest.$ac_ext
36927 cat >>conftest.$ac_ext <<_ACEOF
36928 /* end confdefs.h. */
36929
36930 #include <stdlib.h>
36931 #include <iconv.h>
36932 extern
36933 #ifdef __cplusplus
36934 "C"
36935 #endif
36936 #if defined(__STDC__) || defined(__cplusplus)
36937 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36938 #else
36939 size_t iconv();
36940 #endif
36941
36942 int
36943 main ()
36944 {
36945
36946 ;
36947 return 0;
36948 }
36949 _ACEOF
36950 rm -f conftest.$ac_objext
36951 if { (ac_try="$ac_compile"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36955 esac
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_compile") 2>conftest.er1
36958 ac_status=$?
36959 grep -v '^ *+' conftest.er1 >conftest.err
36960 rm -f conftest.er1
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest.$ac_objext; then
36967 wx_cv_func_iconv_const="no"
36968 else
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.$ac_ext >&5
36971
36972 wx_cv_func_iconv_const="yes"
36973
36974 fi
36975
36976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977
36978 fi
36979 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36980 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36981
36982 iconv_const=
36983 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36984 iconv_const="const"
36985 fi
36986
36987
36988 cat >>confdefs.h <<_ACEOF
36989 #define ICONV_CONST $iconv_const
36990 _ACEOF
36991
36992 fi
36993 LIBICONV=
36994 if test "$am_cv_lib_iconv" = yes; then
36995 LIBICONV="-liconv"
36996 fi
36997
36998
36999 LIBS="$LIBICONV $LIBS"
37000 fi
37001
37002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37003
37004 for ac_func in sigaction
37005 do
37006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37007 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37009 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37010 echo $ECHO_N "(cached) $ECHO_C" >&6
37011 else
37012 cat >conftest.$ac_ext <<_ACEOF
37013 /* confdefs.h. */
37014 _ACEOF
37015 cat confdefs.h >>conftest.$ac_ext
37016 cat >>conftest.$ac_ext <<_ACEOF
37017 /* end confdefs.h. */
37018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37020 #define $ac_func innocuous_$ac_func
37021
37022 /* System header to define __stub macros and hopefully few prototypes,
37023 which can conflict with char $ac_func (); below.
37024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37025 <limits.h> exists even on freestanding compilers. */
37026
37027 #ifdef __STDC__
37028 # include <limits.h>
37029 #else
37030 # include <assert.h>
37031 #endif
37032
37033 #undef $ac_func
37034
37035 /* Override any GCC internal prototype to avoid an error.
37036 Use char because int might match the return type of a GCC
37037 builtin and then its argument prototype would still apply. */
37038 #ifdef __cplusplus
37039 extern "C"
37040 #endif
37041 char $ac_func ();
37042 /* The GNU C library defines this for functions which it implements
37043 to always fail with ENOSYS. Some functions are actually named
37044 something starting with __ and the normal name is an alias. */
37045 #if defined __stub_$ac_func || defined __stub___$ac_func
37046 choke me
37047 #endif
37048
37049 int
37050 main ()
37051 {
37052 return $ac_func ();
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 rm -f conftest.$ac_objext conftest$ac_exeext
37058 if { (ac_try="$ac_link"
37059 case "(($ac_try" in
37060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37061 *) ac_try_echo=$ac_try;;
37062 esac
37063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37064 (eval "$ac_link") 2>conftest.er1
37065 ac_status=$?
37066 grep -v '^ *+' conftest.er1 >conftest.err
37067 rm -f conftest.er1
37068 cat conftest.err >&5
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); } && {
37071 test -z "$ac_c_werror_flag" ||
37072 test ! -s conftest.err
37073 } && test -s conftest$ac_exeext &&
37074 $as_test_x conftest$ac_exeext; then
37075 eval "$as_ac_var=yes"
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 eval "$as_ac_var=no"
37081 fi
37082
37083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37084 conftest$ac_exeext conftest.$ac_ext
37085 fi
37086 ac_res=`eval echo '${'$as_ac_var'}'`
37087 { echo "$as_me:$LINENO: result: $ac_res" >&5
37088 echo "${ECHO_T}$ac_res" >&6; }
37089 if test `eval echo '${'$as_ac_var'}'` = yes; then
37090 cat >>confdefs.h <<_ACEOF
37091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37092 _ACEOF
37093
37094 fi
37095 done
37096
37097
37098 if test "$ac_cv_func_sigaction" = "no"; then
37099 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37100 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37101 wxUSE_ON_FATAL_EXCEPTION=no
37102 fi
37103
37104 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37105 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37106 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37107 if test "${wx_cv_type_sa_handler+set}" = set; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37109 else
37110
37111 ac_ext=cpp
37112 ac_cpp='$CXXCPP $CPPFLAGS'
37113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37116
37117 cat >conftest.$ac_ext <<_ACEOF
37118 /* confdefs.h. */
37119 _ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123 #include <signal.h>
37124 int
37125 main ()
37126 {
37127
37128 extern void testSigHandler(int);
37129
37130 struct sigaction sa;
37131 sa.sa_handler = testSigHandler;
37132
37133 ;
37134 return 0;
37135 }
37136 _ACEOF
37137 rm -f conftest.$ac_objext
37138 if { (ac_try="$ac_compile"
37139 case "(($ac_try" in
37140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37141 *) ac_try_echo=$ac_try;;
37142 esac
37143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37144 (eval "$ac_compile") 2>conftest.er1
37145 ac_status=$?
37146 grep -v '^ *+' conftest.er1 >conftest.err
37147 rm -f conftest.er1
37148 cat conftest.err >&5
37149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150 (exit $ac_status); } && {
37151 test -z "$ac_cxx_werror_flag" ||
37152 test ! -s conftest.err
37153 } && test -s conftest.$ac_objext; then
37154
37155 wx_cv_type_sa_handler=int
37156
37157 else
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37160
37161
37162 wx_cv_type_sa_handler=void
37163
37164 fi
37165
37166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37167 ac_ext=c
37168 ac_cpp='$CPP $CPPFLAGS'
37169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37172
37173
37174 fi
37175 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37176 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37177
37178 cat >>confdefs.h <<_ACEOF
37179 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37180 _ACEOF
37181
37182 fi
37183 fi
37184
37185 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37186 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37187 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37188 if test "${wx_cv_func_backtrace+set}" = set; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 else
37191
37192 ac_ext=cpp
37193 ac_cpp='$CXXCPP $CPPFLAGS'
37194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197
37198 cat >conftest.$ac_ext <<_ACEOF
37199 /* confdefs.h. */
37200 _ACEOF
37201 cat confdefs.h >>conftest.$ac_ext
37202 cat >>conftest.$ac_ext <<_ACEOF
37203 /* end confdefs.h. */
37204 #include <execinfo.h>
37205 int
37206 main ()
37207 {
37208
37209 void *trace[1];
37210 char **messages;
37211
37212 backtrace(trace, 1);
37213 messages = backtrace_symbols(trace, 1);
37214
37215 ;
37216 return 0;
37217 }
37218 _ACEOF
37219 rm -f conftest.$ac_objext
37220 if { (ac_try="$ac_compile"
37221 case "(($ac_try" in
37222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37223 *) ac_try_echo=$ac_try;;
37224 esac
37225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37226 (eval "$ac_compile") 2>conftest.er1
37227 ac_status=$?
37228 grep -v '^ *+' conftest.er1 >conftest.err
37229 rm -f conftest.er1
37230 cat conftest.err >&5
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); } && {
37233 test -z "$ac_cxx_werror_flag" ||
37234 test ! -s conftest.err
37235 } && test -s conftest.$ac_objext; then
37236 wx_cv_func_backtrace=yes
37237 else
37238 echo "$as_me: failed program was:" >&5
37239 sed 's/^/| /' conftest.$ac_ext >&5
37240
37241 wx_cv_func_backtrace=no
37242
37243 fi
37244
37245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37246 ac_ext=c
37247 ac_cpp='$CPP $CPPFLAGS'
37248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251
37252
37253
37254 fi
37255 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37256 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37257
37258
37259 if test "$wx_cv_func_backtrace" = "no"; then
37260 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37261 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37262 wxUSE_STACKWALKER=no
37263 else
37264 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37265 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37266 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37268 else
37269
37270 ac_ext=cpp
37271 ac_cpp='$CXXCPP $CPPFLAGS'
37272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37275
37276 cat >conftest.$ac_ext <<_ACEOF
37277 /* confdefs.h. */
37278 _ACEOF
37279 cat confdefs.h >>conftest.$ac_ext
37280 cat >>conftest.$ac_ext <<_ACEOF
37281 /* end confdefs.h. */
37282 #include <cxxabi.h>
37283 int
37284 main ()
37285 {
37286
37287 int rc;
37288 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37289
37290 ;
37291 return 0;
37292 }
37293 _ACEOF
37294 rm -f conftest.$ac_objext conftest$ac_exeext
37295 if { (ac_try="$ac_link"
37296 case "(($ac_try" in
37297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37298 *) ac_try_echo=$ac_try;;
37299 esac
37300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37301 (eval "$ac_link") 2>conftest.er1
37302 ac_status=$?
37303 grep -v '^ *+' conftest.er1 >conftest.err
37304 rm -f conftest.er1
37305 cat conftest.err >&5
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); } && {
37308 test -z "$ac_cxx_werror_flag" ||
37309 test ! -s conftest.err
37310 } && test -s conftest$ac_exeext &&
37311 $as_test_x conftest$ac_exeext; then
37312 wx_cv_func_cxa_demangle=yes
37313 else
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.$ac_ext >&5
37316
37317 wx_cv_func_cxa_demangle=no
37318
37319 fi
37320
37321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37322 conftest$ac_exeext conftest.$ac_ext
37323 ac_ext=c
37324 ac_cpp='$CPP $CPPFLAGS'
37325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37328
37329
37330
37331 fi
37332 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37333 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37334
37335 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37336 cat >>confdefs.h <<\_ACEOF
37337 #define HAVE_CXA_DEMANGLE 1
37338 _ACEOF
37339
37340 fi
37341 fi
37342 fi
37343
37344 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37345 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37346 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37347 wxUSE_STACKWALKER=no
37348 fi
37349
37350
37351
37352
37353 for ac_func in mkstemp mktemp
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37358 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361 cat >conftest.$ac_ext <<_ACEOF
37362 /* confdefs.h. */
37363 _ACEOF
37364 cat confdefs.h >>conftest.$ac_ext
37365 cat >>conftest.$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37370
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37375
37376 #ifdef __STDC__
37377 # include <limits.h>
37378 #else
37379 # include <assert.h>
37380 #endif
37381
37382 #undef $ac_func
37383
37384 /* Override any GCC internal prototype to avoid an error.
37385 Use char because int might match the return type of a GCC
37386 builtin and then its argument prototype would still apply. */
37387 #ifdef __cplusplus
37388 extern "C"
37389 #endif
37390 char $ac_func ();
37391 /* The GNU C library defines this for functions which it implements
37392 to always fail with ENOSYS. Some functions are actually named
37393 something starting with __ and the normal name is an alias. */
37394 #if defined __stub_$ac_func || defined __stub___$ac_func
37395 choke me
37396 #endif
37397
37398 int
37399 main ()
37400 {
37401 return $ac_func ();
37402 ;
37403 return 0;
37404 }
37405 _ACEOF
37406 rm -f conftest.$ac_objext conftest$ac_exeext
37407 if { (ac_try="$ac_link"
37408 case "(($ac_try" in
37409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37410 *) ac_try_echo=$ac_try;;
37411 esac
37412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37413 (eval "$ac_link") 2>conftest.er1
37414 ac_status=$?
37415 grep -v '^ *+' conftest.er1 >conftest.err
37416 rm -f conftest.er1
37417 cat conftest.err >&5
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); } && {
37420 test -z "$ac_c_werror_flag" ||
37421 test ! -s conftest.err
37422 } && test -s conftest$ac_exeext &&
37423 $as_test_x conftest$ac_exeext; then
37424 eval "$as_ac_var=yes"
37425 else
37426 echo "$as_me: failed program was:" >&5
37427 sed 's/^/| /' conftest.$ac_ext >&5
37428
37429 eval "$as_ac_var=no"
37430 fi
37431
37432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37433 conftest$ac_exeext conftest.$ac_ext
37434 fi
37435 ac_res=`eval echo '${'$as_ac_var'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37438 if test `eval echo '${'$as_ac_var'}'` = yes; then
37439 cat >>confdefs.h <<_ACEOF
37440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37441 _ACEOF
37442 break
37443 fi
37444 done
37445
37446
37447 { echo "$as_me:$LINENO: checking for statfs" >&5
37448 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37449 if test "${wx_cv_func_statfs+set}" = set; then
37450 echo $ECHO_N "(cached) $ECHO_C" >&6
37451 else
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458
37459 #if defined(__BSD__)
37460 #include <sys/param.h>
37461 #include <sys/mount.h>
37462 #else
37463 #include <sys/vfs.h>
37464 #endif
37465
37466 int
37467 main ()
37468 {
37469
37470 long l;
37471 struct statfs fs;
37472 statfs("/", &fs);
37473 l = fs.f_bsize;
37474 l += fs.f_blocks;
37475 l += fs.f_bavail;
37476
37477 ;
37478 return 0;
37479 }
37480 _ACEOF
37481 rm -f conftest.$ac_objext
37482 if { (ac_try="$ac_compile"
37483 case "(($ac_try" in
37484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37485 *) ac_try_echo=$ac_try;;
37486 esac
37487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37488 (eval "$ac_compile") 2>conftest.er1
37489 ac_status=$?
37490 grep -v '^ *+' conftest.er1 >conftest.err
37491 rm -f conftest.er1
37492 cat conftest.err >&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); } && {
37495 test -z "$ac_c_werror_flag" ||
37496 test ! -s conftest.err
37497 } && test -s conftest.$ac_objext; then
37498 wx_cv_func_statfs=yes
37499 else
37500 echo "$as_me: failed program was:" >&5
37501 sed 's/^/| /' conftest.$ac_ext >&5
37502
37503 wx_cv_func_statfs=no
37504
37505 fi
37506
37507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37508
37509 fi
37510 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37511 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37512
37513 if test "$wx_cv_func_statfs" = "yes"; then
37514 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37515 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37516 if test "${wx_cv_func_statfs_decl+set}" = set; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37518 else
37519 ac_ext=cpp
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531
37532 #if defined(__BSD__)
37533 #include <sys/param.h>
37534 #include <sys/mount.h>
37535 #else
37536 #include <sys/vfs.h>
37537 #endif
37538
37539 int
37540 main ()
37541 {
37542
37543 struct statfs fs;
37544 statfs("", &fs);
37545
37546 ;
37547 return 0;
37548 }
37549 _ACEOF
37550 rm -f conftest.$ac_objext
37551 if { (ac_try="$ac_compile"
37552 case "(($ac_try" in
37553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37554 *) ac_try_echo=$ac_try;;
37555 esac
37556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37557 (eval "$ac_compile") 2>conftest.er1
37558 ac_status=$?
37559 grep -v '^ *+' conftest.er1 >conftest.err
37560 rm -f conftest.er1
37561 cat conftest.err >&5
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); } && {
37564 test -z "$ac_cxx_werror_flag" ||
37565 test ! -s conftest.err
37566 } && test -s conftest.$ac_objext; then
37567 wx_cv_func_statfs_decl=yes
37568 else
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37571
37572 wx_cv_func_statfs_decl=no
37573
37574 fi
37575
37576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37577 ac_ext=c
37578 ac_cpp='$CPP $CPPFLAGS'
37579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37582
37583
37584 fi
37585 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37586 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37587
37588 if test "$wx_cv_func_statfs_decl" = "yes"; then
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_STATFS_DECL 1
37591 _ACEOF
37592
37593 fi
37594
37595 wx_cv_type_statvfs_t="struct statfs"
37596 cat >>confdefs.h <<\_ACEOF
37597 #define HAVE_STATFS 1
37598 _ACEOF
37599
37600 else
37601 { echo "$as_me:$LINENO: checking for statvfs" >&5
37602 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37603 if test "${wx_cv_func_statvfs+set}" = set; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 else
37606 cat >conftest.$ac_ext <<_ACEOF
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612
37613 #include <stddef.h>
37614 #include <sys/statvfs.h>
37615
37616 int
37617 main ()
37618 {
37619
37620 statvfs("/", NULL);
37621
37622 ;
37623 return 0;
37624 }
37625 _ACEOF
37626 rm -f conftest.$ac_objext
37627 if { (ac_try="$ac_compile"
37628 case "(($ac_try" in
37629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37630 *) ac_try_echo=$ac_try;;
37631 esac
37632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37633 (eval "$ac_compile") 2>conftest.er1
37634 ac_status=$?
37635 grep -v '^ *+' conftest.er1 >conftest.err
37636 rm -f conftest.er1
37637 cat conftest.err >&5
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); } && {
37640 test -z "$ac_c_werror_flag" ||
37641 test ! -s conftest.err
37642 } && test -s conftest.$ac_objext; then
37643 wx_cv_func_statvfs=yes
37644 else
37645 echo "$as_me: failed program was:" >&5
37646 sed 's/^/| /' conftest.$ac_ext >&5
37647
37648 wx_cv_func_statvfs=no
37649
37650 fi
37651
37652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37653
37654 fi
37655 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37656 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37657
37658 if test "$wx_cv_func_statvfs" = "yes"; then
37659 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37660 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37661 if test "${wx_cv_type_statvfs_t+set}" = set; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 else
37664 ac_ext=cpp
37665 ac_cpp='$CXXCPP $CPPFLAGS'
37666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37669
37670 cat >conftest.$ac_ext <<_ACEOF
37671 /* confdefs.h. */
37672 _ACEOF
37673 cat confdefs.h >>conftest.$ac_ext
37674 cat >>conftest.$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37676
37677 #include <sys/statvfs.h>
37678
37679 int
37680 main ()
37681 {
37682
37683 long l;
37684 statvfs_t fs;
37685 statvfs("/", &fs);
37686 l = fs.f_bsize;
37687 l += fs.f_blocks;
37688 l += fs.f_bavail;
37689
37690 ;
37691 return 0;
37692 }
37693 _ACEOF
37694 rm -f conftest.$ac_objext
37695 if { (ac_try="$ac_compile"
37696 case "(($ac_try" in
37697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37698 *) ac_try_echo=$ac_try;;
37699 esac
37700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37701 (eval "$ac_compile") 2>conftest.er1
37702 ac_status=$?
37703 grep -v '^ *+' conftest.er1 >conftest.err
37704 rm -f conftest.er1
37705 cat conftest.err >&5
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); } && {
37708 test -z "$ac_cxx_werror_flag" ||
37709 test ! -s conftest.err
37710 } && test -s conftest.$ac_objext; then
37711 wx_cv_type_statvfs_t=statvfs_t
37712 else
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.$ac_ext >&5
37715
37716
37717 cat >conftest.$ac_ext <<_ACEOF
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723
37724 #include <sys/statvfs.h>
37725
37726 int
37727 main ()
37728 {
37729
37730 long l;
37731 struct statvfs fs;
37732 statvfs("/", &fs);
37733 l = fs.f_bsize;
37734 l += fs.f_blocks;
37735 l += fs.f_bavail;
37736
37737 ;
37738 return 0;
37739 }
37740 _ACEOF
37741 rm -f conftest.$ac_objext
37742 if { (ac_try="$ac_compile"
37743 case "(($ac_try" in
37744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37745 *) ac_try_echo=$ac_try;;
37746 esac
37747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37748 (eval "$ac_compile") 2>conftest.er1
37749 ac_status=$?
37750 grep -v '^ *+' conftest.er1 >conftest.err
37751 rm -f conftest.er1
37752 cat conftest.err >&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); } && {
37755 test -z "$ac_cxx_werror_flag" ||
37756 test ! -s conftest.err
37757 } && test -s conftest.$ac_objext; then
37758 wx_cv_type_statvfs_t="struct statvfs"
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37762
37763 wx_cv_type_statvfs_t="unknown"
37764
37765 fi
37766
37767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37768
37769
37770 fi
37771
37772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37773 ac_ext=c
37774 ac_cpp='$CPP $CPPFLAGS'
37775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37778
37779
37780 fi
37781 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37782 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37783
37784 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37785 cat >>confdefs.h <<\_ACEOF
37786 #define HAVE_STATVFS 1
37787 _ACEOF
37788
37789 fi
37790 else
37791 wx_cv_type_statvfs_t="unknown"
37792 fi
37793 fi
37794
37795 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37796 cat >>confdefs.h <<_ACEOF
37797 #define WX_STATFS_T $wx_cv_type_statvfs_t
37798 _ACEOF
37799
37800 else
37801 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37802 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37803 fi
37804
37805 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37806
37807
37808 for ac_func in fcntl flock
37809 do
37810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 else
37816 cat >conftest.$ac_ext <<_ACEOF
37817 /* confdefs.h. */
37818 _ACEOF
37819 cat confdefs.h >>conftest.$ac_ext
37820 cat >>conftest.$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37824 #define $ac_func innocuous_$ac_func
37825
37826 /* System header to define __stub macros and hopefully few prototypes,
37827 which can conflict with char $ac_func (); below.
37828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37829 <limits.h> exists even on freestanding compilers. */
37830
37831 #ifdef __STDC__
37832 # include <limits.h>
37833 #else
37834 # include <assert.h>
37835 #endif
37836
37837 #undef $ac_func
37838
37839 /* Override any GCC internal prototype to avoid an error.
37840 Use char because int might match the return type of a GCC
37841 builtin and then its argument prototype would still apply. */
37842 #ifdef __cplusplus
37843 extern "C"
37844 #endif
37845 char $ac_func ();
37846 /* The GNU C library defines this for functions which it implements
37847 to always fail with ENOSYS. Some functions are actually named
37848 something starting with __ and the normal name is an alias. */
37849 #if defined __stub_$ac_func || defined __stub___$ac_func
37850 choke me
37851 #endif
37852
37853 int
37854 main ()
37855 {
37856 return $ac_func ();
37857 ;
37858 return 0;
37859 }
37860 _ACEOF
37861 rm -f conftest.$ac_objext conftest$ac_exeext
37862 if { (ac_try="$ac_link"
37863 case "(($ac_try" in
37864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37865 *) ac_try_echo=$ac_try;;
37866 esac
37867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37868 (eval "$ac_link") 2>conftest.er1
37869 ac_status=$?
37870 grep -v '^ *+' conftest.er1 >conftest.err
37871 rm -f conftest.er1
37872 cat conftest.err >&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } && {
37875 test -z "$ac_c_werror_flag" ||
37876 test ! -s conftest.err
37877 } && test -s conftest$ac_exeext &&
37878 $as_test_x conftest$ac_exeext; then
37879 eval "$as_ac_var=yes"
37880 else
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37883
37884 eval "$as_ac_var=no"
37885 fi
37886
37887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37888 conftest$ac_exeext conftest.$ac_ext
37889 fi
37890 ac_res=`eval echo '${'$as_ac_var'}'`
37891 { echo "$as_me:$LINENO: result: $ac_res" >&5
37892 echo "${ECHO_T}$ac_res" >&6; }
37893 if test `eval echo '${'$as_ac_var'}'` = yes; then
37894 cat >>confdefs.h <<_ACEOF
37895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37896 _ACEOF
37897 break
37898 fi
37899 done
37900
37901
37902 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37903 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37904 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37905 wxUSE_SNGLINST_CHECKER=no
37906 fi
37907 fi
37908
37909
37910
37911 for ac_func in setenv putenv
37912 do
37913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37917 echo $ECHO_N "(cached) $ECHO_C" >&6
37918 else
37919 cat >conftest.$ac_ext <<_ACEOF
37920 /* confdefs.h. */
37921 _ACEOF
37922 cat confdefs.h >>conftest.$ac_ext
37923 cat >>conftest.$ac_ext <<_ACEOF
37924 /* end confdefs.h. */
37925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37927 #define $ac_func innocuous_$ac_func
37928
37929 /* System header to define __stub macros and hopefully few prototypes,
37930 which can conflict with char $ac_func (); below.
37931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37932 <limits.h> exists even on freestanding compilers. */
37933
37934 #ifdef __STDC__
37935 # include <limits.h>
37936 #else
37937 # include <assert.h>
37938 #endif
37939
37940 #undef $ac_func
37941
37942 /* Override any GCC internal prototype to avoid an error.
37943 Use char because int might match the return type of a GCC
37944 builtin and then its argument prototype would still apply. */
37945 #ifdef __cplusplus
37946 extern "C"
37947 #endif
37948 char $ac_func ();
37949 /* The GNU C library defines this for functions which it implements
37950 to always fail with ENOSYS. Some functions are actually named
37951 something starting with __ and the normal name is an alias. */
37952 #if defined __stub_$ac_func || defined __stub___$ac_func
37953 choke me
37954 #endif
37955
37956 int
37957 main ()
37958 {
37959 return $ac_func ();
37960 ;
37961 return 0;
37962 }
37963 _ACEOF
37964 rm -f conftest.$ac_objext conftest$ac_exeext
37965 if { (ac_try="$ac_link"
37966 case "(($ac_try" in
37967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37968 *) ac_try_echo=$ac_try;;
37969 esac
37970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37971 (eval "$ac_link") 2>conftest.er1
37972 ac_status=$?
37973 grep -v '^ *+' conftest.er1 >conftest.err
37974 rm -f conftest.er1
37975 cat conftest.err >&5
37976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37977 (exit $ac_status); } && {
37978 test -z "$ac_c_werror_flag" ||
37979 test ! -s conftest.err
37980 } && test -s conftest$ac_exeext &&
37981 $as_test_x conftest$ac_exeext; then
37982 eval "$as_ac_var=yes"
37983 else
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.$ac_ext >&5
37986
37987 eval "$as_ac_var=no"
37988 fi
37989
37990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37991 conftest$ac_exeext conftest.$ac_ext
37992 fi
37993 ac_res=`eval echo '${'$as_ac_var'}'`
37994 { echo "$as_me:$LINENO: result: $ac_res" >&5
37995 echo "${ECHO_T}$ac_res" >&6; }
37996 if test `eval echo '${'$as_ac_var'}'` = yes; then
37997 cat >>confdefs.h <<_ACEOF
37998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37999 _ACEOF
38000 break
38001 fi
38002 done
38003
38004 if test "$ac_cv_func_setenv" = "yes"; then
38005
38006 for ac_func in unsetenv
38007 do
38008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38009 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38011 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38012 echo $ECHO_N "(cached) $ECHO_C" >&6
38013 else
38014 cat >conftest.$ac_ext <<_ACEOF
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38022 #define $ac_func innocuous_$ac_func
38023
38024 /* System header to define __stub macros and hopefully few prototypes,
38025 which can conflict with char $ac_func (); below.
38026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38027 <limits.h> exists even on freestanding compilers. */
38028
38029 #ifdef __STDC__
38030 # include <limits.h>
38031 #else
38032 # include <assert.h>
38033 #endif
38034
38035 #undef $ac_func
38036
38037 /* Override any GCC internal prototype to avoid an error.
38038 Use char because int might match the return type of a GCC
38039 builtin and then its argument prototype would still apply. */
38040 #ifdef __cplusplus
38041 extern "C"
38042 #endif
38043 char $ac_func ();
38044 /* The GNU C library defines this for functions which it implements
38045 to always fail with ENOSYS. Some functions are actually named
38046 something starting with __ and the normal name is an alias. */
38047 #if defined __stub_$ac_func || defined __stub___$ac_func
38048 choke me
38049 #endif
38050
38051 int
38052 main ()
38053 {
38054 return $ac_func ();
38055 ;
38056 return 0;
38057 }
38058 _ACEOF
38059 rm -f conftest.$ac_objext conftest$ac_exeext
38060 if { (ac_try="$ac_link"
38061 case "(($ac_try" in
38062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38063 *) ac_try_echo=$ac_try;;
38064 esac
38065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38066 (eval "$ac_link") 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } && {
38073 test -z "$ac_c_werror_flag" ||
38074 test ! -s conftest.err
38075 } && test -s conftest$ac_exeext &&
38076 $as_test_x conftest$ac_exeext; then
38077 eval "$as_ac_var=yes"
38078 else
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.$ac_ext >&5
38081
38082 eval "$as_ac_var=no"
38083 fi
38084
38085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38086 conftest$ac_exeext conftest.$ac_ext
38087 fi
38088 ac_res=`eval echo '${'$as_ac_var'}'`
38089 { echo "$as_me:$LINENO: result: $ac_res" >&5
38090 echo "${ECHO_T}$ac_res" >&6; }
38091 if test `eval echo '${'$as_ac_var'}'` = yes; then
38092 cat >>confdefs.h <<_ACEOF
38093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38094 _ACEOF
38095
38096 fi
38097 done
38098
38099 fi
38100
38101 HAVE_SOME_SLEEP_FUNC=0
38102 if test "$USE_BEOS" = 1; then
38103 cat >>confdefs.h <<\_ACEOF
38104 #define HAVE_SLEEP 1
38105 _ACEOF
38106
38107 HAVE_SOME_SLEEP_FUNC=1
38108 fi
38109
38110 if test "$USE_DARWIN" = 1; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_USLEEP 1
38113 _ACEOF
38114
38115 HAVE_SOME_SLEEP_FUNC=1
38116 fi
38117
38118 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38119 POSIX4_LINK=
38120
38121 for ac_func in nanosleep
38122 do
38123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38127 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 else
38129 cat >conftest.$ac_ext <<_ACEOF
38130 /* confdefs.h. */
38131 _ACEOF
38132 cat confdefs.h >>conftest.$ac_ext
38133 cat >>conftest.$ac_ext <<_ACEOF
38134 /* end confdefs.h. */
38135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38137 #define $ac_func innocuous_$ac_func
38138
38139 /* System header to define __stub macros and hopefully few prototypes,
38140 which can conflict with char $ac_func (); below.
38141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38142 <limits.h> exists even on freestanding compilers. */
38143
38144 #ifdef __STDC__
38145 # include <limits.h>
38146 #else
38147 # include <assert.h>
38148 #endif
38149
38150 #undef $ac_func
38151
38152 /* Override any GCC internal prototype to avoid an error.
38153 Use char because int might match the return type of a GCC
38154 builtin and then its argument prototype would still apply. */
38155 #ifdef __cplusplus
38156 extern "C"
38157 #endif
38158 char $ac_func ();
38159 /* The GNU C library defines this for functions which it implements
38160 to always fail with ENOSYS. Some functions are actually named
38161 something starting with __ and the normal name is an alias. */
38162 #if defined __stub_$ac_func || defined __stub___$ac_func
38163 choke me
38164 #endif
38165
38166 int
38167 main ()
38168 {
38169 return $ac_func ();
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 rm -f conftest.$ac_objext conftest$ac_exeext
38175 if { (ac_try="$ac_link"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38179 esac
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_link") 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest$ac_exeext &&
38191 $as_test_x conftest$ac_exeext; then
38192 eval "$as_ac_var=yes"
38193 else
38194 echo "$as_me: failed program was:" >&5
38195 sed 's/^/| /' conftest.$ac_ext >&5
38196
38197 eval "$as_ac_var=no"
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38201 conftest$ac_exeext conftest.$ac_ext
38202 fi
38203 ac_res=`eval echo '${'$as_ac_var'}'`
38204 { echo "$as_me:$LINENO: result: $ac_res" >&5
38205 echo "${ECHO_T}$ac_res" >&6; }
38206 if test `eval echo '${'$as_ac_var'}'` = yes; then
38207 cat >>confdefs.h <<_ACEOF
38208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38209 _ACEOF
38210 cat >>confdefs.h <<\_ACEOF
38211 #define HAVE_NANOSLEEP 1
38212 _ACEOF
38213
38214 else
38215
38216 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38217 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38218 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38219 echo $ECHO_N "(cached) $ECHO_C" >&6
38220 else
38221 ac_check_lib_save_LIBS=$LIBS
38222 LIBS="-lposix4 $LIBS"
38223 cat >conftest.$ac_ext <<_ACEOF
38224 /* confdefs.h. */
38225 _ACEOF
38226 cat confdefs.h >>conftest.$ac_ext
38227 cat >>conftest.$ac_ext <<_ACEOF
38228 /* end confdefs.h. */
38229
38230 /* Override any GCC internal prototype to avoid an error.
38231 Use char because int might match the return type of a GCC
38232 builtin and then its argument prototype would still apply. */
38233 #ifdef __cplusplus
38234 extern "C"
38235 #endif
38236 char nanosleep ();
38237 int
38238 main ()
38239 {
38240 return nanosleep ();
38241 ;
38242 return 0;
38243 }
38244 _ACEOF
38245 rm -f conftest.$ac_objext conftest$ac_exeext
38246 if { (ac_try="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38250 esac
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38253 ac_status=$?
38254 grep -v '^ *+' conftest.er1 >conftest.err
38255 rm -f conftest.er1
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 ac_cv_lib_posix4_nanosleep=yes
38264 else
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38267
38268 ac_cv_lib_posix4_nanosleep=no
38269 fi
38270
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273 LIBS=$ac_check_lib_save_LIBS
38274 fi
38275 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38276 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38277 if test $ac_cv_lib_posix4_nanosleep = yes; then
38278
38279 cat >>confdefs.h <<\_ACEOF
38280 #define HAVE_NANOSLEEP 1
38281 _ACEOF
38282
38283 POSIX4_LINK=" -lposix4"
38284
38285 else
38286
38287
38288 for wx_func in usleep
38289 do
38290 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38291 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38292 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38293 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 else
38295
38296 cat >conftest.$ac_ext <<_ACEOF
38297
38298 /* confdefs.h. */
38299 _ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38303
38304
38305 $ac_includes_default
38306
38307 int
38308 main ()
38309 {
38310
38311 #ifndef $wx_func
38312 &$wx_func;
38313 #endif
38314
38315
38316 ;
38317 return 0;
38318 }
38319
38320 _ACEOF
38321 rm -f conftest.$ac_objext conftest$ac_exeext
38322 if { (ac_try="$ac_link"
38323 case "(($ac_try" in
38324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38325 *) ac_try_echo=$ac_try;;
38326 esac
38327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38328 (eval "$ac_link") 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } && {
38335 test -z "$ac_c_werror_flag" ||
38336 test ! -s conftest.err
38337 } && test -s conftest$ac_exeext &&
38338 $as_test_x conftest$ac_exeext; then
38339 eval wx_cv_func_$wx_func=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 eval wx_cv_func_$wx_func=no
38345 fi
38346
38347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38348 conftest$ac_exeext conftest.$ac_ext
38349
38350 fi
38351 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38352 { echo "$as_me:$LINENO: result: $ac_res" >&5
38353 echo "${ECHO_T}$ac_res" >&6; }
38354
38355 if eval test \$wx_cv_func_$wx_func = yes
38356 then
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38359 _ACEOF
38360
38361
38362 else
38363 :
38364 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38365 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38366
38367 fi
38368 done
38369
38370
38371
38372 fi
38373
38374
38375
38376 fi
38377 done
38378
38379 fi
38380
38381
38382 for wx_func in uname
38383 do
38384 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38385 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38386 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 else
38389
38390 cat >conftest.$ac_ext <<_ACEOF
38391
38392 /* confdefs.h. */
38393 _ACEOF
38394 cat confdefs.h >>conftest.$ac_ext
38395 cat >>conftest.$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38397
38398 #include <sys/utsname.h>
38399 $ac_includes_default
38400
38401 int
38402 main ()
38403 {
38404
38405 #ifndef $wx_func
38406 &$wx_func;
38407 #endif
38408
38409
38410 ;
38411 return 0;
38412 }
38413
38414 _ACEOF
38415 rm -f conftest.$ac_objext conftest$ac_exeext
38416 if { (ac_try="$ac_link"
38417 case "(($ac_try" in
38418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38419 *) ac_try_echo=$ac_try;;
38420 esac
38421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38422 (eval "$ac_link") 2>conftest.er1
38423 ac_status=$?
38424 grep -v '^ *+' conftest.er1 >conftest.err
38425 rm -f conftest.er1
38426 cat conftest.err >&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } && {
38429 test -z "$ac_c_werror_flag" ||
38430 test ! -s conftest.err
38431 } && test -s conftest$ac_exeext &&
38432 $as_test_x conftest$ac_exeext; then
38433 eval wx_cv_func_$wx_func=yes
38434 else
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.$ac_ext >&5
38437
38438 eval wx_cv_func_$wx_func=no
38439 fi
38440
38441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38442 conftest$ac_exeext conftest.$ac_ext
38443
38444 fi
38445 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38446 { echo "$as_me:$LINENO: result: $ac_res" >&5
38447 echo "${ECHO_T}$ac_res" >&6; }
38448
38449 if eval test \$wx_cv_func_$wx_func = yes
38450 then
38451 cat >>confdefs.h <<_ACEOF
38452 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38453 _ACEOF
38454
38455
38456 else
38457 :
38458
38459 fi
38460 done
38461
38462 if test "$wx_cv_func_uname" != yes; then
38463
38464 for wx_func in gethostname
38465 do
38466 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38467 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38468 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471
38472 cat >conftest.$ac_ext <<_ACEOF
38473
38474 /* confdefs.h. */
38475 _ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38479
38480
38481 $ac_includes_default
38482
38483 int
38484 main ()
38485 {
38486
38487 #ifndef $wx_func
38488 &$wx_func;
38489 #endif
38490
38491
38492 ;
38493 return 0;
38494 }
38495
38496 _ACEOF
38497 rm -f conftest.$ac_objext conftest$ac_exeext
38498 if { (ac_try="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38502 esac
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38505 ac_status=$?
38506 grep -v '^ *+' conftest.er1 >conftest.err
38507 rm -f conftest.er1
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest$ac_exeext &&
38514 $as_test_x conftest$ac_exeext; then
38515 eval wx_cv_func_$wx_func=yes
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 eval wx_cv_func_$wx_func=no
38521 fi
38522
38523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38524 conftest$ac_exeext conftest.$ac_ext
38525
38526 fi
38527 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38528 { echo "$as_me:$LINENO: result: $ac_res" >&5
38529 echo "${ECHO_T}$ac_res" >&6; }
38530
38531 if eval test \$wx_cv_func_$wx_func = yes
38532 then
38533 cat >>confdefs.h <<_ACEOF
38534 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38535 _ACEOF
38536
38537
38538 else
38539 :
38540
38541 fi
38542 done
38543
38544 fi
38545
38546
38547 for wx_func in strtok_r
38548 do
38549 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38550 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38551 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554
38555 cat >conftest.$ac_ext <<_ACEOF
38556
38557 /* confdefs.h. */
38558 _ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562
38563 #define _REENTRANT
38564 $ac_includes_default
38565
38566 int
38567 main ()
38568 {
38569
38570 #ifndef $wx_func
38571 &$wx_func;
38572 #endif
38573
38574
38575 ;
38576 return 0;
38577 }
38578
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38585 esac
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 eval wx_cv_func_$wx_func=yes
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603 eval wx_cv_func_$wx_func=no
38604 fi
38605
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38608
38609 fi
38610 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38611 { echo "$as_me:$LINENO: result: $ac_res" >&5
38612 echo "${ECHO_T}$ac_res" >&6; }
38613
38614 if eval test \$wx_cv_func_$wx_func = yes
38615 then
38616 cat >>confdefs.h <<_ACEOF
38617 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38618 _ACEOF
38619
38620
38621 else
38622 :
38623
38624 fi
38625 done
38626
38627
38628 INET_LINK=
38629
38630 for ac_func in inet_addr
38631 do
38632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38637 else
38638 cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38646 #define $ac_func innocuous_$ac_func
38647
38648 /* System header to define __stub macros and hopefully few prototypes,
38649 which can conflict with char $ac_func (); below.
38650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38651 <limits.h> exists even on freestanding compilers. */
38652
38653 #ifdef __STDC__
38654 # include <limits.h>
38655 #else
38656 # include <assert.h>
38657 #endif
38658
38659 #undef $ac_func
38660
38661 /* Override any GCC internal prototype to avoid an error.
38662 Use char because int might match the return type of a GCC
38663 builtin and then its argument prototype would still apply. */
38664 #ifdef __cplusplus
38665 extern "C"
38666 #endif
38667 char $ac_func ();
38668 /* The GNU C library defines this for functions which it implements
38669 to always fail with ENOSYS. Some functions are actually named
38670 something starting with __ and the normal name is an alias. */
38671 #if defined __stub_$ac_func || defined __stub___$ac_func
38672 choke me
38673 #endif
38674
38675 int
38676 main ()
38677 {
38678 return $ac_func ();
38679 ;
38680 return 0;
38681 }
38682 _ACEOF
38683 rm -f conftest.$ac_objext conftest$ac_exeext
38684 if { (ac_try="$ac_link"
38685 case "(($ac_try" in
38686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38687 *) ac_try_echo=$ac_try;;
38688 esac
38689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38690 (eval "$ac_link") 2>conftest.er1
38691 ac_status=$?
38692 grep -v '^ *+' conftest.er1 >conftest.err
38693 rm -f conftest.er1
38694 cat conftest.err >&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); } && {
38697 test -z "$ac_c_werror_flag" ||
38698 test ! -s conftest.err
38699 } && test -s conftest$ac_exeext &&
38700 $as_test_x conftest$ac_exeext; then
38701 eval "$as_ac_var=yes"
38702 else
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38705
38706 eval "$as_ac_var=no"
38707 fi
38708
38709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38710 conftest$ac_exeext conftest.$ac_ext
38711 fi
38712 ac_res=`eval echo '${'$as_ac_var'}'`
38713 { echo "$as_me:$LINENO: result: $ac_res" >&5
38714 echo "${ECHO_T}$ac_res" >&6; }
38715 if test `eval echo '${'$as_ac_var'}'` = yes; then
38716 cat >>confdefs.h <<_ACEOF
38717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38718 _ACEOF
38719 cat >>confdefs.h <<\_ACEOF
38720 #define HAVE_INET_ADDR 1
38721 _ACEOF
38722
38723 else
38724
38725 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38726 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38727 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38728 echo $ECHO_N "(cached) $ECHO_C" >&6
38729 else
38730 ac_check_lib_save_LIBS=$LIBS
38731 LIBS="-lnsl $LIBS"
38732 cat >conftest.$ac_ext <<_ACEOF
38733 /* confdefs.h. */
38734 _ACEOF
38735 cat confdefs.h >>conftest.$ac_ext
38736 cat >>conftest.$ac_ext <<_ACEOF
38737 /* end confdefs.h. */
38738
38739 /* Override any GCC internal prototype to avoid an error.
38740 Use char because int might match the return type of a GCC
38741 builtin and then its argument prototype would still apply. */
38742 #ifdef __cplusplus
38743 extern "C"
38744 #endif
38745 char inet_addr ();
38746 int
38747 main ()
38748 {
38749 return inet_addr ();
38750 ;
38751 return 0;
38752 }
38753 _ACEOF
38754 rm -f conftest.$ac_objext conftest$ac_exeext
38755 if { (ac_try="$ac_link"
38756 case "(($ac_try" in
38757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38758 *) ac_try_echo=$ac_try;;
38759 esac
38760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38761 (eval "$ac_link") 2>conftest.er1
38762 ac_status=$?
38763 grep -v '^ *+' conftest.er1 >conftest.err
38764 rm -f conftest.er1
38765 cat conftest.err >&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); } && {
38768 test -z "$ac_c_werror_flag" ||
38769 test ! -s conftest.err
38770 } && test -s conftest$ac_exeext &&
38771 $as_test_x conftest$ac_exeext; then
38772 ac_cv_lib_nsl_inet_addr=yes
38773 else
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38776
38777 ac_cv_lib_nsl_inet_addr=no
38778 fi
38779
38780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38781 conftest$ac_exeext conftest.$ac_ext
38782 LIBS=$ac_check_lib_save_LIBS
38783 fi
38784 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38785 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38786 if test $ac_cv_lib_nsl_inet_addr = yes; then
38787 INET_LINK="nsl"
38788 else
38789
38790 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38791 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38792 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795 ac_check_lib_save_LIBS=$LIBS
38796 LIBS="-lresolv $LIBS"
38797 cat >conftest.$ac_ext <<_ACEOF
38798 /* confdefs.h. */
38799 _ACEOF
38800 cat confdefs.h >>conftest.$ac_ext
38801 cat >>conftest.$ac_ext <<_ACEOF
38802 /* end confdefs.h. */
38803
38804 /* Override any GCC internal prototype to avoid an error.
38805 Use char because int might match the return type of a GCC
38806 builtin and then its argument prototype would still apply. */
38807 #ifdef __cplusplus
38808 extern "C"
38809 #endif
38810 char inet_addr ();
38811 int
38812 main ()
38813 {
38814 return inet_addr ();
38815 ;
38816 return 0;
38817 }
38818 _ACEOF
38819 rm -f conftest.$ac_objext conftest$ac_exeext
38820 if { (ac_try="$ac_link"
38821 case "(($ac_try" in
38822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38823 *) ac_try_echo=$ac_try;;
38824 esac
38825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38826 (eval "$ac_link") 2>conftest.er1
38827 ac_status=$?
38828 grep -v '^ *+' conftest.er1 >conftest.err
38829 rm -f conftest.er1
38830 cat conftest.err >&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); } && {
38833 test -z "$ac_c_werror_flag" ||
38834 test ! -s conftest.err
38835 } && test -s conftest$ac_exeext &&
38836 $as_test_x conftest$ac_exeext; then
38837 ac_cv_lib_resolv_inet_addr=yes
38838 else
38839 echo "$as_me: failed program was:" >&5
38840 sed 's/^/| /' conftest.$ac_ext >&5
38841
38842 ac_cv_lib_resolv_inet_addr=no
38843 fi
38844
38845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38846 conftest$ac_exeext conftest.$ac_ext
38847 LIBS=$ac_check_lib_save_LIBS
38848 fi
38849 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38850 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38851 if test $ac_cv_lib_resolv_inet_addr = yes; then
38852 INET_LINK="resolv"
38853 else
38854
38855 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38856 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38857 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38858 echo $ECHO_N "(cached) $ECHO_C" >&6
38859 else
38860 ac_check_lib_save_LIBS=$LIBS
38861 LIBS="-lsocket $LIBS"
38862 cat >conftest.$ac_ext <<_ACEOF
38863 /* confdefs.h. */
38864 _ACEOF
38865 cat confdefs.h >>conftest.$ac_ext
38866 cat >>conftest.$ac_ext <<_ACEOF
38867 /* end confdefs.h. */
38868
38869 /* Override any GCC internal prototype to avoid an error.
38870 Use char because int might match the return type of a GCC
38871 builtin and then its argument prototype would still apply. */
38872 #ifdef __cplusplus
38873 extern "C"
38874 #endif
38875 char inet_addr ();
38876 int
38877 main ()
38878 {
38879 return inet_addr ();
38880 ;
38881 return 0;
38882 }
38883 _ACEOF
38884 rm -f conftest.$ac_objext conftest$ac_exeext
38885 if { (ac_try="$ac_link"
38886 case "(($ac_try" in
38887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38888 *) ac_try_echo=$ac_try;;
38889 esac
38890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38891 (eval "$ac_link") 2>conftest.er1
38892 ac_status=$?
38893 grep -v '^ *+' conftest.er1 >conftest.err
38894 rm -f conftest.er1
38895 cat conftest.err >&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); } && {
38898 test -z "$ac_c_werror_flag" ||
38899 test ! -s conftest.err
38900 } && test -s conftest$ac_exeext &&
38901 $as_test_x conftest$ac_exeext; then
38902 ac_cv_lib_socket_inet_addr=yes
38903 else
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.$ac_ext >&5
38906
38907 ac_cv_lib_socket_inet_addr=no
38908 fi
38909
38910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38911 conftest$ac_exeext conftest.$ac_ext
38912 LIBS=$ac_check_lib_save_LIBS
38913 fi
38914 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38915 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38916 if test $ac_cv_lib_socket_inet_addr = yes; then
38917 INET_LINK="socket"
38918
38919 fi
38920
38921
38922
38923 fi
38924
38925
38926
38927 fi
38928
38929
38930
38931 fi
38932 done
38933
38934
38935
38936 for ac_func in inet_aton
38937 do
38938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38943 else
38944 cat >conftest.$ac_ext <<_ACEOF
38945 /* confdefs.h. */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38953
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38958
38959 #ifdef __STDC__
38960 # include <limits.h>
38961 #else
38962 # include <assert.h>
38963 #endif
38964
38965 #undef $ac_func
38966
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38970 #ifdef __cplusplus
38971 extern "C"
38972 #endif
38973 char $ac_func ();
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38978 choke me
38979 #endif
38980
38981 int
38982 main ()
38983 {
38984 return $ac_func ();
38985 ;
38986 return 0;
38987 }
38988 _ACEOF
38989 rm -f conftest.$ac_objext conftest$ac_exeext
38990 if { (ac_try="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38993 *) ac_try_echo=$ac_try;;
38994 esac
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest$ac_exeext &&
39006 $as_test_x conftest$ac_exeext; then
39007 eval "$as_ac_var=yes"
39008 else
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39011
39012 eval "$as_ac_var=no"
39013 fi
39014
39015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39016 conftest$ac_exeext conftest.$ac_ext
39017 fi
39018 ac_res=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h <<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39024 _ACEOF
39025 cat >>confdefs.h <<\_ACEOF
39026 #define HAVE_INET_ATON 1
39027 _ACEOF
39028
39029 else
39030
39031 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39032 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39033 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39034 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39035 echo $ECHO_N "(cached) $ECHO_C" >&6
39036 else
39037 ac_check_lib_save_LIBS=$LIBS
39038 LIBS="-l$INET_LINK $LIBS"
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045
39046 /* Override any GCC internal prototype to avoid an error.
39047 Use char because int might match the return type of a GCC
39048 builtin and then its argument prototype would still apply. */
39049 #ifdef __cplusplus
39050 extern "C"
39051 #endif
39052 char inet_aton ();
39053 int
39054 main ()
39055 {
39056 return inet_aton ();
39057 ;
39058 return 0;
39059 }
39060 _ACEOF
39061 rm -f conftest.$ac_objext conftest$ac_exeext
39062 if { (ac_try="$ac_link"
39063 case "(($ac_try" in
39064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39065 *) ac_try_echo=$ac_try;;
39066 esac
39067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39068 (eval "$ac_link") 2>conftest.er1
39069 ac_status=$?
39070 grep -v '^ *+' conftest.er1 >conftest.err
39071 rm -f conftest.er1
39072 cat conftest.err >&5
39073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074 (exit $ac_status); } && {
39075 test -z "$ac_c_werror_flag" ||
39076 test ! -s conftest.err
39077 } && test -s conftest$ac_exeext &&
39078 $as_test_x conftest$ac_exeext; then
39079 eval "$as_ac_Lib=yes"
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084 eval "$as_ac_Lib=no"
39085 fi
39086
39087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39088 conftest$ac_exeext conftest.$ac_ext
39089 LIBS=$ac_check_lib_save_LIBS
39090 fi
39091 ac_res=`eval echo '${'$as_ac_Lib'}'`
39092 { echo "$as_me:$LINENO: result: $ac_res" >&5
39093 echo "${ECHO_T}$ac_res" >&6; }
39094 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39095 cat >>confdefs.h <<\_ACEOF
39096 #define HAVE_INET_ATON 1
39097 _ACEOF
39098
39099 fi
39100
39101
39102 fi
39103 done
39104
39105
39106 if test "x$INET_LINK" != "x"; then
39107 cat >>confdefs.h <<\_ACEOF
39108 #define HAVE_INET_ADDR 1
39109 _ACEOF
39110
39111 INET_LINK=" -l$INET_LINK"
39112 fi
39113
39114
39115 for wx_func in fdopen
39116 do
39117 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39118 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39119 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122
39123 cat >conftest.$ac_ext <<_ACEOF
39124
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130
39131
39132 $ac_includes_default
39133
39134 int
39135 main ()
39136 {
39137
39138 #ifndef $wx_func
39139 &$wx_func;
39140 #endif
39141
39142
39143 ;
39144 return 0;
39145 }
39146
39147 _ACEOF
39148 rm -f conftest.$ac_objext conftest$ac_exeext
39149 if { (ac_try="$ac_link"
39150 case "(($ac_try" in
39151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39152 *) ac_try_echo=$ac_try;;
39153 esac
39154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39155 (eval "$ac_link") 2>conftest.er1
39156 ac_status=$?
39157 grep -v '^ *+' conftest.er1 >conftest.err
39158 rm -f conftest.er1
39159 cat conftest.err >&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); } && {
39162 test -z "$ac_c_werror_flag" ||
39163 test ! -s conftest.err
39164 } && test -s conftest$ac_exeext &&
39165 $as_test_x conftest$ac_exeext; then
39166 eval wx_cv_func_$wx_func=yes
39167 else
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.$ac_ext >&5
39170
39171 eval wx_cv_func_$wx_func=no
39172 fi
39173
39174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39175 conftest$ac_exeext conftest.$ac_ext
39176
39177 fi
39178 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39179 { echo "$as_me:$LINENO: result: $ac_res" >&5
39180 echo "${ECHO_T}$ac_res" >&6; }
39181
39182 if eval test \$wx_cv_func_$wx_func = yes
39183 then
39184 cat >>confdefs.h <<_ACEOF
39185 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39186 _ACEOF
39187
39188
39189 else
39190 :
39191
39192 fi
39193 done
39194
39195
39196 if test "$wxUSE_TARSTREAM" = "yes"; then
39197
39198 for wx_func in sysconf
39199 do
39200 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39201 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39202 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 else
39205
39206 cat >conftest.$ac_ext <<_ACEOF
39207
39208 /* confdefs.h. */
39209 _ACEOF
39210 cat confdefs.h >>conftest.$ac_ext
39211 cat >>conftest.$ac_ext <<_ACEOF
39212 /* end confdefs.h. */
39213
39214
39215 $ac_includes_default
39216
39217 int
39218 main ()
39219 {
39220
39221 #ifndef $wx_func
39222 &$wx_func;
39223 #endif
39224
39225
39226 ;
39227 return 0;
39228 }
39229
39230 _ACEOF
39231 rm -f conftest.$ac_objext conftest$ac_exeext
39232 if { (ac_try="$ac_link"
39233 case "(($ac_try" in
39234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39235 *) ac_try_echo=$ac_try;;
39236 esac
39237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39238 (eval "$ac_link") 2>conftest.er1
39239 ac_status=$?
39240 grep -v '^ *+' conftest.er1 >conftest.err
39241 rm -f conftest.er1
39242 cat conftest.err >&5
39243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244 (exit $ac_status); } && {
39245 test -z "$ac_c_werror_flag" ||
39246 test ! -s conftest.err
39247 } && test -s conftest$ac_exeext &&
39248 $as_test_x conftest$ac_exeext; then
39249 eval wx_cv_func_$wx_func=yes
39250 else
39251 echo "$as_me: failed program was:" >&5
39252 sed 's/^/| /' conftest.$ac_ext >&5
39253
39254 eval wx_cv_func_$wx_func=no
39255 fi
39256
39257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39258 conftest$ac_exeext conftest.$ac_ext
39259
39260 fi
39261 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39262 { echo "$as_me:$LINENO: result: $ac_res" >&5
39263 echo "${ECHO_T}$ac_res" >&6; }
39264
39265 if eval test \$wx_cv_func_$wx_func = yes
39266 then
39267 cat >>confdefs.h <<_ACEOF
39268 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39269 _ACEOF
39270
39271
39272 else
39273 :
39274
39275 fi
39276 done
39277
39278
39279
39280 for wx_func in getpwuid_r
39281 do
39282 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39283 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39284 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39286 else
39287
39288 cat >conftest.$ac_ext <<_ACEOF
39289
39290 /* confdefs.h. */
39291 _ACEOF
39292 cat confdefs.h >>conftest.$ac_ext
39293 cat >>conftest.$ac_ext <<_ACEOF
39294 /* end confdefs.h. */
39295
39296
39297 #define _REENTRANT
39298 #include <pwd.h>
39299
39300 $ac_includes_default
39301
39302 int
39303 main ()
39304 {
39305
39306 #ifndef $wx_func
39307 &$wx_func;
39308 #endif
39309
39310 struct passwd pw, *ppw;
39311 char buf[1024];
39312 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39313
39314
39315 ;
39316 return 0;
39317 }
39318
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (ac_try="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39324 *) ac_try_echo=$ac_try;;
39325 esac
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39328 ac_status=$?
39329 grep -v '^ *+' conftest.er1 >conftest.err
39330 rm -f conftest.er1
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest$ac_exeext &&
39337 $as_test_x conftest$ac_exeext; then
39338 eval wx_cv_func_$wx_func=yes
39339 else
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39342
39343 eval wx_cv_func_$wx_func=no
39344 fi
39345
39346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39347 conftest$ac_exeext conftest.$ac_ext
39348
39349 fi
39350 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39351 { echo "$as_me:$LINENO: result: $ac_res" >&5
39352 echo "${ECHO_T}$ac_res" >&6; }
39353
39354 if eval test \$wx_cv_func_$wx_func = yes
39355 then
39356 cat >>confdefs.h <<_ACEOF
39357 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39358 _ACEOF
39359
39360
39361 else
39362 :
39363
39364 fi
39365 done
39366
39367
39368
39369 for wx_func in getgrgid_r
39370 do
39371 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39372 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39373 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39374 echo $ECHO_N "(cached) $ECHO_C" >&6
39375 else
39376
39377 cat >conftest.$ac_ext <<_ACEOF
39378
39379 /* confdefs.h. */
39380 _ACEOF
39381 cat confdefs.h >>conftest.$ac_ext
39382 cat >>conftest.$ac_ext <<_ACEOF
39383 /* end confdefs.h. */
39384
39385
39386 #define _REENTRANT
39387 #include <grp.h>
39388
39389 $ac_includes_default
39390
39391 int
39392 main ()
39393 {
39394
39395 #ifndef $wx_func
39396 &$wx_func;
39397 #endif
39398
39399 struct group grp, *pgrp;
39400 char buf[1024];
39401 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39402
39403
39404 ;
39405 return 0;
39406 }
39407
39408 _ACEOF
39409 rm -f conftest.$ac_objext conftest$ac_exeext
39410 if { (ac_try="$ac_link"
39411 case "(($ac_try" in
39412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39413 *) ac_try_echo=$ac_try;;
39414 esac
39415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39416 (eval "$ac_link") 2>conftest.er1
39417 ac_status=$?
39418 grep -v '^ *+' conftest.er1 >conftest.err
39419 rm -f conftest.er1
39420 cat conftest.err >&5
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); } && {
39423 test -z "$ac_c_werror_flag" ||
39424 test ! -s conftest.err
39425 } && test -s conftest$ac_exeext &&
39426 $as_test_x conftest$ac_exeext; then
39427 eval wx_cv_func_$wx_func=yes
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39431
39432 eval wx_cv_func_$wx_func=no
39433 fi
39434
39435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39436 conftest$ac_exeext conftest.$ac_ext
39437
39438 fi
39439 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39440 { echo "$as_me:$LINENO: result: $ac_res" >&5
39441 echo "${ECHO_T}$ac_res" >&6; }
39442
39443 if eval test \$wx_cv_func_$wx_func = yes
39444 then
39445 cat >>confdefs.h <<_ACEOF
39446 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39447 _ACEOF
39448
39449
39450 else
39451 :
39452
39453 fi
39454 done
39455
39456 fi
39457
39458 fi
39459
39460
39461
39462 cat >confcache <<\_ACEOF
39463 # This file is a shell script that caches the results of configure
39464 # tests run on this system so they can be shared between configure
39465 # scripts and configure runs, see configure's option --config-cache.
39466 # It is not useful on other systems. If it contains results you don't
39467 # want to keep, you may remove or edit it.
39468 #
39469 # config.status only pays attention to the cache file if you give it
39470 # the --recheck option to rerun configure.
39471 #
39472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39474 # following values.
39475
39476 _ACEOF
39477
39478 # The following way of writing the cache mishandles newlines in values,
39479 # but we know of no workaround that is simple, portable, and efficient.
39480 # So, we kill variables containing newlines.
39481 # Ultrix sh set writes to stderr and can't be redirected directly,
39482 # and sets the high bit in the cache file unless we assign to the vars.
39483 (
39484 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39485 eval ac_val=\$$ac_var
39486 case $ac_val in #(
39487 *${as_nl}*)
39488 case $ac_var in #(
39489 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39491 esac
39492 case $ac_var in #(
39493 _ | IFS | as_nl) ;; #(
39494 *) $as_unset $ac_var ;;
39495 esac ;;
39496 esac
39497 done
39498
39499 (set) 2>&1 |
39500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39501 *${as_nl}ac_space=\ *)
39502 # `set' does not quote correctly, so add quotes (double-quote
39503 # substitution turns \\\\ into \\, and sed turns \\ into \).
39504 sed -n \
39505 "s/'/'\\\\''/g;
39506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39507 ;; #(
39508 *)
39509 # `set' quotes correctly as required by POSIX, so do not add quotes.
39510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39511 ;;
39512 esac |
39513 sort
39514 ) |
39515 sed '
39516 /^ac_cv_env_/b end
39517 t clear
39518 :clear
39519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39520 t end
39521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39522 :end' >>confcache
39523 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39524 if test -w "$cache_file"; then
39525 test "x$cache_file" != "x/dev/null" &&
39526 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39527 echo "$as_me: updating cache $cache_file" >&6;}
39528 cat confcache >$cache_file
39529 else
39530 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39531 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39532 fi
39533 fi
39534 rm -f confcache
39535
39536
39537 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39538
39539
39540 THREADS_LINK=
39541 THREADS_CFLAGS=
39542
39543 if test "$wxUSE_THREADS" = "yes" ; then
39544 if test "$USE_BEOS" = 1; then
39545 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39546 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39547 wxUSE_THREADS="no"
39548 fi
39549 fi
39550
39551 if test "$wxUSE_THREADS" = "yes" ; then
39552
39553
39554 THREAD_OPTS="-pthread"
39555 if test "x$SUNCXX" = xyes; then
39556 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39557 fi
39558
39559 case "${host}" in
39560 *-*-solaris2* | *-*-sunos4* )
39561 if test "x$GCC" = "xyes"; then
39562 THREAD_OPTS="-pthreads $THREAD_OPTS"
39563 fi
39564 ;;
39565 *-*-freebsd*)
39566 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39567 ;;
39568 *-*-darwin* | *-*-cygwin* )
39569 THREAD_OPTS=""
39570 ;;
39571 *-*-aix*)
39572 THREAD_OPTS="pthreads"
39573 ;;
39574 *-hp-hpux* )
39575 if test "x$GCC" = "xyes"; then
39576 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39577 THREAD_OPTS=""
39578 else
39579 THREAD_OPTS="-mt"
39580 fi
39581 ;;
39582
39583 *-*-irix* )
39584 if test "x$GCC" = "xyes"; then
39585 THREAD_OPTS=""
39586 fi
39587 ;;
39588
39589 *-*-qnx*)
39590 THREAD_OPTS=""
39591 ;;
39592
39593 *-*-*UnixWare*)
39594 if test "x$GCC" != "xyes"; then
39595 THREAD_OPTS="-Ethread"
39596 fi
39597 ;;
39598 esac
39599
39600 case "${host}" in
39601 *-*-qnx*)
39602 THREAD_OPTS="none pthread"
39603 ;;
39604
39605 *)
39606 THREAD_OPTS="$THREAD_OPTS pthread none"
39607 ;;
39608 esac
39609
39610 THREADS_OK=no
39611 for flag in $THREAD_OPTS; do
39612 case $flag in
39613 none)
39614 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39615 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39616 ;;
39617
39618 -*)
39619 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39620 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39621 THREADS_CFLAGS="$flag"
39622 ;;
39623
39624 *)
39625 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39626 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39627 THREADS_LINK="-l$flag"
39628 ;;
39629 esac
39630
39631 save_LIBS="$LIBS"
39632 save_CFLAGS="$CFLAGS"
39633 LIBS="$THREADS_LINK $LIBS"
39634 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39635
39636 cat >conftest.$ac_ext <<_ACEOF
39637 /* confdefs.h. */
39638 _ACEOF
39639 cat confdefs.h >>conftest.$ac_ext
39640 cat >>conftest.$ac_ext <<_ACEOF
39641 /* end confdefs.h. */
39642 #include <pthread.h>
39643 int
39644 main ()
39645 {
39646 pthread_create(0,0,0,0);
39647 ;
39648 return 0;
39649 }
39650 _ACEOF
39651 rm -f conftest.$ac_objext conftest$ac_exeext
39652 if { (ac_try="$ac_link"
39653 case "(($ac_try" in
39654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39655 *) ac_try_echo=$ac_try;;
39656 esac
39657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39658 (eval "$ac_link") 2>conftest.er1
39659 ac_status=$?
39660 grep -v '^ *+' conftest.er1 >conftest.err
39661 rm -f conftest.er1
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } && {
39665 test -z "$ac_c_werror_flag" ||
39666 test ! -s conftest.err
39667 } && test -s conftest$ac_exeext &&
39668 $as_test_x conftest$ac_exeext; then
39669 THREADS_OK=yes
39670 else
39671 echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39673
39674
39675 fi
39676
39677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39678 conftest$ac_exeext conftest.$ac_ext
39679
39680 LIBS="$save_LIBS"
39681 CFLAGS="$save_CFLAGS"
39682
39683 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39684 echo "${ECHO_T}$THREADS_OK" >&6; }
39685 if test "x$THREADS_OK" = "xyes"; then
39686 break;
39687 fi
39688
39689 THREADS_LINK=""
39690 THREADS_CFLAGS=""
39691 done
39692
39693 if test "x$THREADS_OK" != "xyes"; then
39694 wxUSE_THREADS=no
39695 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39696 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39697 else
39698 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39699 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39700 LIBS="$THREADS_LINK $LIBS"
39701
39702 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39703 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39704 flag=no
39705 case "${host}" in
39706 *-aix*)
39707 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39708 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39709 flag="-D_THREAD_SAFE"
39710 ;;
39711 *-freebsd*)
39712 flag="-D_THREAD_SAFE"
39713 ;;
39714 *-hp-hpux* )
39715 flag="-D_REENTRANT"
39716 if test "x$GCC" != "xyes"; then
39717 flag="$flag -D_RWSTD_MULTI_THREAD"
39718 fi
39719 ;;
39720 *solaris* | alpha*-osf*)
39721 flag="-D_REENTRANT"
39722 ;;
39723 esac
39724 { echo "$as_me:$LINENO: result: ${flag}" >&5
39725 echo "${ECHO_T}${flag}" >&6; }
39726 if test "x$flag" != xno; then
39727 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39728 fi
39729
39730 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39731 fi
39732 fi
39733
39734 if test "$wxUSE_THREADS" = "yes" ; then
39735
39736 for ac_func in thr_setconcurrency
39737 do
39738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39743 else
39744 cat >conftest.$ac_ext <<_ACEOF
39745 /* confdefs.h. */
39746 _ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39752 #define $ac_func innocuous_$ac_func
39753
39754 /* System header to define __stub macros and hopefully few prototypes,
39755 which can conflict with char $ac_func (); below.
39756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757 <limits.h> exists even on freestanding compilers. */
39758
39759 #ifdef __STDC__
39760 # include <limits.h>
39761 #else
39762 # include <assert.h>
39763 #endif
39764
39765 #undef $ac_func
39766
39767 /* Override any GCC internal prototype to avoid an error.
39768 Use char because int might match the return type of a GCC
39769 builtin and then its argument prototype would still apply. */
39770 #ifdef __cplusplus
39771 extern "C"
39772 #endif
39773 char $ac_func ();
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined __stub_$ac_func || defined __stub___$ac_func
39778 choke me
39779 #endif
39780
39781 int
39782 main ()
39783 {
39784 return $ac_func ();
39785 ;
39786 return 0;
39787 }
39788 _ACEOF
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (ac_try="$ac_link"
39791 case "(($ac_try" in
39792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39793 *) ac_try_echo=$ac_try;;
39794 esac
39795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39796 (eval "$ac_link") 2>conftest.er1
39797 ac_status=$?
39798 grep -v '^ *+' conftest.er1 >conftest.err
39799 rm -f conftest.er1
39800 cat conftest.err >&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } && {
39803 test -z "$ac_c_werror_flag" ||
39804 test ! -s conftest.err
39805 } && test -s conftest$ac_exeext &&
39806 $as_test_x conftest$ac_exeext; then
39807 eval "$as_ac_var=yes"
39808 else
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.$ac_ext >&5
39811
39812 eval "$as_ac_var=no"
39813 fi
39814
39815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39816 conftest$ac_exeext conftest.$ac_ext
39817 fi
39818 ac_res=`eval echo '${'$as_ac_var'}'`
39819 { echo "$as_me:$LINENO: result: $ac_res" >&5
39820 echo "${ECHO_T}$ac_res" >&6; }
39821 if test `eval echo '${'$as_ac_var'}'` = yes; then
39822 cat >>confdefs.h <<_ACEOF
39823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39824 _ACEOF
39825
39826 fi
39827 done
39828
39829
39830 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39831 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39832 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39833 echo $ECHO_N "(cached) $ECHO_C" >&6
39834 else
39835
39836 ac_ext=cpp
39837 ac_cpp='$CXXCPP $CPPFLAGS'
39838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39841
39842 cat >conftest.$ac_ext <<_ACEOF
39843 /* confdefs.h. */
39844 _ACEOF
39845 cat confdefs.h >>conftest.$ac_ext
39846 cat >>conftest.$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848 #include <pthread.h>
39849 void ThreadCleanupFunc(void *p);
39850
39851 int
39852 main ()
39853 {
39854
39855 void *p;
39856 pthread_cleanup_push(ThreadCleanupFunc, p);
39857 pthread_cleanup_pop(0);
39858
39859 ;
39860 return 0;
39861 }
39862 _ACEOF
39863 rm -f conftest.$ac_objext
39864 if { (ac_try="$ac_compile"
39865 case "(($ac_try" in
39866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39867 *) ac_try_echo=$ac_try;;
39868 esac
39869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39870 (eval "$ac_compile") 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } && {
39877 test -z "$ac_cxx_werror_flag" ||
39878 test ! -s conftest.err
39879 } && test -s conftest.$ac_objext; then
39880
39881 wx_cv_func_pthread_cleanup=yes
39882
39883 else
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39886
39887
39888 wx_cv_func_pthread_cleanup=no
39889
39890
39891 fi
39892
39893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39894 ac_ext=c
39895 ac_cpp='$CPP $CPPFLAGS'
39896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899
39900
39901 fi
39902 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39903 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39904 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define wxHAVE_PTHREAD_CLEANUP 1
39907 _ACEOF
39908
39909 fi
39910
39911
39912 for ac_header in sched.h
39913 do
39914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926 $ac_includes_default
39927
39928 #include <$ac_header>
39929 _ACEOF
39930 rm -f conftest.$ac_objext
39931 if { (ac_try="$ac_compile"
39932 case "(($ac_try" in
39933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39934 *) ac_try_echo=$ac_try;;
39935 esac
39936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39937 (eval "$ac_compile") 2>conftest.er1
39938 ac_status=$?
39939 grep -v '^ *+' conftest.er1 >conftest.err
39940 rm -f conftest.er1
39941 cat conftest.err >&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); } && {
39944 test -z "$ac_c_werror_flag" ||
39945 test ! -s conftest.err
39946 } && test -s conftest.$ac_objext; then
39947 eval "$as_ac_Header=yes"
39948 else
39949 echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.$ac_ext >&5
39951
39952 eval "$as_ac_Header=no"
39953 fi
39954
39955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39956 fi
39957 ac_res=`eval echo '${'$as_ac_Header'}'`
39958 { echo "$as_me:$LINENO: result: $ac_res" >&5
39959 echo "${ECHO_T}$ac_res" >&6; }
39960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39961 cat >>confdefs.h <<_ACEOF
39962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39963 _ACEOF
39964
39965 fi
39966
39967 done
39968
39969 if test "$ac_cv_header_sched_h" = "yes"; then
39970 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39971 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39972 if test "${ac_cv_func_sched_yield+set}" = set; then
39973 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 else
39975 cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h. */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39983 #define sched_yield innocuous_sched_yield
39984
39985 /* System header to define __stub macros and hopefully few prototypes,
39986 which can conflict with char sched_yield (); below.
39987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39988 <limits.h> exists even on freestanding compilers. */
39989
39990 #ifdef __STDC__
39991 # include <limits.h>
39992 #else
39993 # include <assert.h>
39994 #endif
39995
39996 #undef sched_yield
39997
39998 /* Override any GCC internal prototype to avoid an error.
39999 Use char because int might match the return type of a GCC
40000 builtin and then its argument prototype would still apply. */
40001 #ifdef __cplusplus
40002 extern "C"
40003 #endif
40004 char sched_yield ();
40005 /* The GNU C library defines this for functions which it implements
40006 to always fail with ENOSYS. Some functions are actually named
40007 something starting with __ and the normal name is an alias. */
40008 #if defined __stub_sched_yield || defined __stub___sched_yield
40009 choke me
40010 #endif
40011
40012 int
40013 main ()
40014 {
40015 return sched_yield ();
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 rm -f conftest.$ac_objext conftest$ac_exeext
40021 if { (ac_try="$ac_link"
40022 case "(($ac_try" in
40023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40024 *) ac_try_echo=$ac_try;;
40025 esac
40026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40027 (eval "$ac_link") 2>conftest.er1
40028 ac_status=$?
40029 grep -v '^ *+' conftest.er1 >conftest.err
40030 rm -f conftest.er1
40031 cat conftest.err >&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } && {
40034 test -z "$ac_c_werror_flag" ||
40035 test ! -s conftest.err
40036 } && test -s conftest$ac_exeext &&
40037 $as_test_x conftest$ac_exeext; then
40038 ac_cv_func_sched_yield=yes
40039 else
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043 ac_cv_func_sched_yield=no
40044 fi
40045
40046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40047 conftest$ac_exeext conftest.$ac_ext
40048 fi
40049 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40050 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40051 if test $ac_cv_func_sched_yield = yes; then
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_SCHED_YIELD 1
40054 _ACEOF
40055
40056 else
40057
40058 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40059 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40060 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40061 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 else
40063 ac_check_lib_save_LIBS=$LIBS
40064 LIBS="-lposix4 $LIBS"
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071
40072 /* Override any GCC internal prototype to avoid an error.
40073 Use char because int might match the return type of a GCC
40074 builtin and then its argument prototype would still apply. */
40075 #ifdef __cplusplus
40076 extern "C"
40077 #endif
40078 char sched_yield ();
40079 int
40080 main ()
40081 {
40082 return sched_yield ();
40083 ;
40084 return 0;
40085 }
40086 _ACEOF
40087 rm -f conftest.$ac_objext conftest$ac_exeext
40088 if { (ac_try="$ac_link"
40089 case "(($ac_try" in
40090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40091 *) ac_try_echo=$ac_try;;
40092 esac
40093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40094 (eval "$ac_link") 2>conftest.er1
40095 ac_status=$?
40096 grep -v '^ *+' conftest.er1 >conftest.err
40097 rm -f conftest.er1
40098 cat conftest.err >&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } && {
40101 test -z "$ac_c_werror_flag" ||
40102 test ! -s conftest.err
40103 } && test -s conftest$ac_exeext &&
40104 $as_test_x conftest$ac_exeext; then
40105 ac_cv_lib_posix4_sched_yield=yes
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40109
40110 ac_cv_lib_posix4_sched_yield=no
40111 fi
40112
40113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40114 conftest$ac_exeext conftest.$ac_ext
40115 LIBS=$ac_check_lib_save_LIBS
40116 fi
40117 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40118 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40119 if test $ac_cv_lib_posix4_sched_yield = yes; then
40120 cat >>confdefs.h <<\_ACEOF
40121 #define HAVE_SCHED_YIELD 1
40122 _ACEOF
40123 POSIX4_LINK=" -lposix4"
40124 else
40125 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40126 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40127
40128 fi
40129
40130
40131
40132 fi
40133
40134 fi
40135
40136 HAVE_PRIOR_FUNCS=0
40137 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40138 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40139 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40140 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 else
40142 cat >conftest.$ac_ext <<_ACEOF
40143 /* confdefs.h. */
40144 _ACEOF
40145 cat confdefs.h >>conftest.$ac_ext
40146 cat >>conftest.$ac_ext <<_ACEOF
40147 /* end confdefs.h. */
40148 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40150 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40151
40152 /* System header to define __stub macros and hopefully few prototypes,
40153 which can conflict with char pthread_attr_getschedpolicy (); below.
40154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40155 <limits.h> exists even on freestanding compilers. */
40156
40157 #ifdef __STDC__
40158 # include <limits.h>
40159 #else
40160 # include <assert.h>
40161 #endif
40162
40163 #undef pthread_attr_getschedpolicy
40164
40165 /* Override any GCC internal prototype to avoid an error.
40166 Use char because int might match the return type of a GCC
40167 builtin and then its argument prototype would still apply. */
40168 #ifdef __cplusplus
40169 extern "C"
40170 #endif
40171 char pthread_attr_getschedpolicy ();
40172 /* The GNU C library defines this for functions which it implements
40173 to always fail with ENOSYS. Some functions are actually named
40174 something starting with __ and the normal name is an alias. */
40175 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40176 choke me
40177 #endif
40178
40179 int
40180 main ()
40181 {
40182 return pthread_attr_getschedpolicy ();
40183 ;
40184 return 0;
40185 }
40186 _ACEOF
40187 rm -f conftest.$ac_objext conftest$ac_exeext
40188 if { (ac_try="$ac_link"
40189 case "(($ac_try" in
40190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40191 *) ac_try_echo=$ac_try;;
40192 esac
40193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40194 (eval "$ac_link") 2>conftest.er1
40195 ac_status=$?
40196 grep -v '^ *+' conftest.er1 >conftest.err
40197 rm -f conftest.er1
40198 cat conftest.err >&5
40199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40200 (exit $ac_status); } && {
40201 test -z "$ac_c_werror_flag" ||
40202 test ! -s conftest.err
40203 } && test -s conftest$ac_exeext &&
40204 $as_test_x conftest$ac_exeext; then
40205 ac_cv_func_pthread_attr_getschedpolicy=yes
40206 else
40207 echo "$as_me: failed program was:" >&5
40208 sed 's/^/| /' conftest.$ac_ext >&5
40209
40210 ac_cv_func_pthread_attr_getschedpolicy=no
40211 fi
40212
40213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40214 conftest$ac_exeext conftest.$ac_ext
40215 fi
40216 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40217 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40218 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40219 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40220 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40221 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 else
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40232 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40233
40234 /* System header to define __stub macros and hopefully few prototypes,
40235 which can conflict with char pthread_attr_setschedparam (); below.
40236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40237 <limits.h> exists even on freestanding compilers. */
40238
40239 #ifdef __STDC__
40240 # include <limits.h>
40241 #else
40242 # include <assert.h>
40243 #endif
40244
40245 #undef pthread_attr_setschedparam
40246
40247 /* Override any GCC internal prototype to avoid an error.
40248 Use char because int might match the return type of a GCC
40249 builtin and then its argument prototype would still apply. */
40250 #ifdef __cplusplus
40251 extern "C"
40252 #endif
40253 char pthread_attr_setschedparam ();
40254 /* The GNU C library defines this for functions which it implements
40255 to always fail with ENOSYS. Some functions are actually named
40256 something starting with __ and the normal name is an alias. */
40257 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40258 choke me
40259 #endif
40260
40261 int
40262 main ()
40263 {
40264 return pthread_attr_setschedparam ();
40265 ;
40266 return 0;
40267 }
40268 _ACEOF
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (ac_try="$ac_link"
40271 case "(($ac_try" in
40272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40273 *) ac_try_echo=$ac_try;;
40274 esac
40275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40276 (eval "$ac_link") 2>conftest.er1
40277 ac_status=$?
40278 grep -v '^ *+' conftest.er1 >conftest.err
40279 rm -f conftest.er1
40280 cat conftest.err >&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); } && {
40283 test -z "$ac_c_werror_flag" ||
40284 test ! -s conftest.err
40285 } && test -s conftest$ac_exeext &&
40286 $as_test_x conftest$ac_exeext; then
40287 ac_cv_func_pthread_attr_setschedparam=yes
40288 else
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.$ac_ext >&5
40291
40292 ac_cv_func_pthread_attr_setschedparam=no
40293 fi
40294
40295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40296 conftest$ac_exeext conftest.$ac_ext
40297 fi
40298 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40299 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40300 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40301 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40302 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40303 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 else
40306 cat >conftest.$ac_ext <<_ACEOF
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define sched_get_priority_max innocuous_sched_get_priority_max
40315
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char sched_get_priority_max (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40320
40321 #ifdef __STDC__
40322 # include <limits.h>
40323 #else
40324 # include <assert.h>
40325 #endif
40326
40327 #undef sched_get_priority_max
40328
40329 /* Override any GCC internal prototype to avoid an error.
40330 Use char because int might match the return type of a GCC
40331 builtin and then its argument prototype would still apply. */
40332 #ifdef __cplusplus
40333 extern "C"
40334 #endif
40335 char sched_get_priority_max ();
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40340 choke me
40341 #endif
40342
40343 int
40344 main ()
40345 {
40346 return sched_get_priority_max ();
40347 ;
40348 return 0;
40349 }
40350 _ACEOF
40351 rm -f conftest.$ac_objext conftest$ac_exeext
40352 if { (ac_try="$ac_link"
40353 case "(($ac_try" in
40354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40355 *) ac_try_echo=$ac_try;;
40356 esac
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_link") 2>conftest.er1
40359 ac_status=$?
40360 grep -v '^ *+' conftest.er1 >conftest.err
40361 rm -f conftest.er1
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest$ac_exeext &&
40368 $as_test_x conftest$ac_exeext; then
40369 ac_cv_func_sched_get_priority_max=yes
40370 else
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40373
40374 ac_cv_func_sched_get_priority_max=no
40375 fi
40376
40377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40378 conftest$ac_exeext conftest.$ac_ext
40379 fi
40380 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40381 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40382 if test $ac_cv_func_sched_get_priority_max = yes; then
40383 HAVE_PRIOR_FUNCS=1
40384 else
40385 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40386 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40387 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40389 else
40390 ac_check_lib_save_LIBS=$LIBS
40391 LIBS="-lposix4 $LIBS"
40392 cat >conftest.$ac_ext <<_ACEOF
40393 /* confdefs.h. */
40394 _ACEOF
40395 cat confdefs.h >>conftest.$ac_ext
40396 cat >>conftest.$ac_ext <<_ACEOF
40397 /* end confdefs.h. */
40398
40399 /* Override any GCC internal prototype to avoid an error.
40400 Use char because int might match the return type of a GCC
40401 builtin and then its argument prototype would still apply. */
40402 #ifdef __cplusplus
40403 extern "C"
40404 #endif
40405 char sched_get_priority_max ();
40406 int
40407 main ()
40408 {
40409 return sched_get_priority_max ();
40410 ;
40411 return 0;
40412 }
40413 _ACEOF
40414 rm -f conftest.$ac_objext conftest$ac_exeext
40415 if { (ac_try="$ac_link"
40416 case "(($ac_try" in
40417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40418 *) ac_try_echo=$ac_try;;
40419 esac
40420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40421 (eval "$ac_link") 2>conftest.er1
40422 ac_status=$?
40423 grep -v '^ *+' conftest.er1 >conftest.err
40424 rm -f conftest.er1
40425 cat conftest.err >&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } && {
40428 test -z "$ac_c_werror_flag" ||
40429 test ! -s conftest.err
40430 } && test -s conftest$ac_exeext &&
40431 $as_test_x conftest$ac_exeext; then
40432 ac_cv_lib_posix4_sched_get_priority_max=yes
40433 else
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40436
40437 ac_cv_lib_posix4_sched_get_priority_max=no
40438 fi
40439
40440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40441 conftest$ac_exeext conftest.$ac_ext
40442 LIBS=$ac_check_lib_save_LIBS
40443 fi
40444 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40445 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40446 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40447
40448 HAVE_PRIOR_FUNCS=1
40449 POSIX4_LINK=" -lposix4"
40450
40451 fi
40452
40453
40454 fi
40455
40456
40457 fi
40458
40459
40460 fi
40461
40462
40463 if test "$HAVE_PRIOR_FUNCS" = 1; then
40464 cat >>confdefs.h <<\_ACEOF
40465 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40466 _ACEOF
40467
40468 else
40469 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40470 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40471 fi
40472
40473 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40474 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40475 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478 cat >conftest.$ac_ext <<_ACEOF
40479 /* confdefs.h. */
40480 _ACEOF
40481 cat confdefs.h >>conftest.$ac_ext
40482 cat >>conftest.$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40486 #define pthread_cancel innocuous_pthread_cancel
40487
40488 /* System header to define __stub macros and hopefully few prototypes,
40489 which can conflict with char pthread_cancel (); below.
40490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40491 <limits.h> exists even on freestanding compilers. */
40492
40493 #ifdef __STDC__
40494 # include <limits.h>
40495 #else
40496 # include <assert.h>
40497 #endif
40498
40499 #undef pthread_cancel
40500
40501 /* Override any GCC internal prototype to avoid an error.
40502 Use char because int might match the return type of a GCC
40503 builtin and then its argument prototype would still apply. */
40504 #ifdef __cplusplus
40505 extern "C"
40506 #endif
40507 char pthread_cancel ();
40508 /* The GNU C library defines this for functions which it implements
40509 to always fail with ENOSYS. Some functions are actually named
40510 something starting with __ and the normal name is an alias. */
40511 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40512 choke me
40513 #endif
40514
40515 int
40516 main ()
40517 {
40518 return pthread_cancel ();
40519 ;
40520 return 0;
40521 }
40522 _ACEOF
40523 rm -f conftest.$ac_objext conftest$ac_exeext
40524 if { (ac_try="$ac_link"
40525 case "(($ac_try" in
40526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40527 *) ac_try_echo=$ac_try;;
40528 esac
40529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40530 (eval "$ac_link") 2>conftest.er1
40531 ac_status=$?
40532 grep -v '^ *+' conftest.er1 >conftest.err
40533 rm -f conftest.er1
40534 cat conftest.err >&5
40535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40536 (exit $ac_status); } && {
40537 test -z "$ac_c_werror_flag" ||
40538 test ! -s conftest.err
40539 } && test -s conftest$ac_exeext &&
40540 $as_test_x conftest$ac_exeext; then
40541 ac_cv_func_pthread_cancel=yes
40542 else
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.$ac_ext >&5
40545
40546 ac_cv_func_pthread_cancel=no
40547 fi
40548
40549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40550 conftest$ac_exeext conftest.$ac_ext
40551 fi
40552 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40553 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40554 if test $ac_cv_func_pthread_cancel = yes; then
40555 cat >>confdefs.h <<\_ACEOF
40556 #define HAVE_PTHREAD_CANCEL 1
40557 _ACEOF
40558
40559 else
40560 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40561 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40562 fi
40563
40564
40565 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40566 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40567 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40568 echo $ECHO_N "(cached) $ECHO_C" >&6
40569 else
40570 cat >conftest.$ac_ext <<_ACEOF
40571 /* confdefs.h. */
40572 _ACEOF
40573 cat confdefs.h >>conftest.$ac_ext
40574 cat >>conftest.$ac_ext <<_ACEOF
40575 /* end confdefs.h. */
40576 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40578 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40579
40580 /* System header to define __stub macros and hopefully few prototypes,
40581 which can conflict with char pthread_mutex_timedlock (); below.
40582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40583 <limits.h> exists even on freestanding compilers. */
40584
40585 #ifdef __STDC__
40586 # include <limits.h>
40587 #else
40588 # include <assert.h>
40589 #endif
40590
40591 #undef pthread_mutex_timedlock
40592
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40596 #ifdef __cplusplus
40597 extern "C"
40598 #endif
40599 char pthread_mutex_timedlock ();
40600 /* The GNU C library defines this for functions which it implements
40601 to always fail with ENOSYS. Some functions are actually named
40602 something starting with __ and the normal name is an alias. */
40603 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40604 choke me
40605 #endif
40606
40607 int
40608 main ()
40609 {
40610 return pthread_mutex_timedlock ();
40611 ;
40612 return 0;
40613 }
40614 _ACEOF
40615 rm -f conftest.$ac_objext conftest$ac_exeext
40616 if { (ac_try="$ac_link"
40617 case "(($ac_try" in
40618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40619 *) ac_try_echo=$ac_try;;
40620 esac
40621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40622 (eval "$ac_link") 2>conftest.er1
40623 ac_status=$?
40624 grep -v '^ *+' conftest.er1 >conftest.err
40625 rm -f conftest.er1
40626 cat conftest.err >&5
40627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40628 (exit $ac_status); } && {
40629 test -z "$ac_c_werror_flag" ||
40630 test ! -s conftest.err
40631 } && test -s conftest$ac_exeext &&
40632 $as_test_x conftest$ac_exeext; then
40633 ac_cv_func_pthread_mutex_timedlock=yes
40634 else
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40637
40638 ac_cv_func_pthread_mutex_timedlock=no
40639 fi
40640
40641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40642 conftest$ac_exeext conftest.$ac_ext
40643 fi
40644 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40645 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40646 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40647 cat >>confdefs.h <<\_ACEOF
40648 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40649 _ACEOF
40650
40651 else
40652 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40653 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40654 fi
40655
40656
40657 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40658 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40659 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 else
40662 cat >conftest.$ac_ext <<_ACEOF
40663 /* confdefs.h. */
40664 _ACEOF
40665 cat confdefs.h >>conftest.$ac_ext
40666 cat >>conftest.$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40668 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40670 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40671
40672 /* System header to define __stub macros and hopefully few prototypes,
40673 which can conflict with char pthread_attr_setstacksize (); below.
40674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40675 <limits.h> exists even on freestanding compilers. */
40676
40677 #ifdef __STDC__
40678 # include <limits.h>
40679 #else
40680 # include <assert.h>
40681 #endif
40682
40683 #undef pthread_attr_setstacksize
40684
40685 /* Override any GCC internal prototype to avoid an error.
40686 Use char because int might match the return type of a GCC
40687 builtin and then its argument prototype would still apply. */
40688 #ifdef __cplusplus
40689 extern "C"
40690 #endif
40691 char pthread_attr_setstacksize ();
40692 /* The GNU C library defines this for functions which it implements
40693 to always fail with ENOSYS. Some functions are actually named
40694 something starting with __ and the normal name is an alias. */
40695 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40696 choke me
40697 #endif
40698
40699 int
40700 main ()
40701 {
40702 return pthread_attr_setstacksize ();
40703 ;
40704 return 0;
40705 }
40706 _ACEOF
40707 rm -f conftest.$ac_objext conftest$ac_exeext
40708 if { (ac_try="$ac_link"
40709 case "(($ac_try" in
40710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40711 *) ac_try_echo=$ac_try;;
40712 esac
40713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40714 (eval "$ac_link") 2>conftest.er1
40715 ac_status=$?
40716 grep -v '^ *+' conftest.er1 >conftest.err
40717 rm -f conftest.er1
40718 cat conftest.err >&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); } && {
40721 test -z "$ac_c_werror_flag" ||
40722 test ! -s conftest.err
40723 } && test -s conftest$ac_exeext &&
40724 $as_test_x conftest$ac_exeext; then
40725 ac_cv_func_pthread_attr_setstacksize=yes
40726 else
40727 echo "$as_me: failed program was:" >&5
40728 sed 's/^/| /' conftest.$ac_ext >&5
40729
40730 ac_cv_func_pthread_attr_setstacksize=no
40731 fi
40732
40733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40734 conftest$ac_exeext conftest.$ac_ext
40735 fi
40736 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40737 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40738 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40739 cat >>confdefs.h <<\_ACEOF
40740 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40741 _ACEOF
40742
40743 fi
40744
40745
40746
40747 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40748 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40749 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 else
40752
40753 cat >conftest.$ac_ext <<_ACEOF
40754 /* confdefs.h. */
40755 _ACEOF
40756 cat confdefs.h >>conftest.$ac_ext
40757 cat >>conftest.$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40759 #include <pthread.h>
40760 int
40761 main ()
40762 {
40763
40764 pthread_mutexattr_t attr;
40765 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40766
40767 ;
40768 return 0;
40769 }
40770 _ACEOF
40771 rm -f conftest.$ac_objext
40772 if { (ac_try="$ac_compile"
40773 case "(($ac_try" in
40774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40775 *) ac_try_echo=$ac_try;;
40776 esac
40777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40778 (eval "$ac_compile") 2>conftest.er1
40779 ac_status=$?
40780 grep -v '^ *+' conftest.er1 >conftest.err
40781 rm -f conftest.er1
40782 cat conftest.err >&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); } && {
40785 test -z "$ac_c_werror_flag" ||
40786 test ! -s conftest.err
40787 } && test -s conftest.$ac_objext; then
40788 wx_cv_type_pthread_mutexattr_t=yes
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 wx_cv_type_pthread_mutexattr_t=no
40794
40795 fi
40796
40797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40798
40799 fi
40800 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40801 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40802
40803 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40804 cat >>confdefs.h <<\_ACEOF
40805 #define HAVE_PTHREAD_MUTEXATTR_T 1
40806 _ACEOF
40807
40808
40809 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40810 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40811 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40813 else
40814
40815 cat >conftest.$ac_ext <<_ACEOF
40816 /* confdefs.h. */
40817 _ACEOF
40818 cat confdefs.h >>conftest.$ac_ext
40819 cat >>conftest.$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40821 #include <pthread.h>
40822 int
40823 main ()
40824 {
40825
40826 pthread_mutexattr_t attr;
40827 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40828
40829 ;
40830 return 0;
40831 }
40832 _ACEOF
40833 rm -f conftest.$ac_objext
40834 if { (ac_try="$ac_compile"
40835 case "(($ac_try" in
40836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40837 *) ac_try_echo=$ac_try;;
40838 esac
40839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40840 (eval "$ac_compile") 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } && {
40847 test -z "$ac_c_werror_flag" ||
40848 test ! -s conftest.err
40849 } && test -s conftest.$ac_objext; then
40850 wx_cv_func_pthread_mutexattr_settype_decl=yes
40851 else
40852 echo "$as_me: failed program was:" >&5
40853 sed 's/^/| /' conftest.$ac_ext >&5
40854
40855 wx_cv_func_pthread_mutexattr_settype_decl=no
40856
40857 fi
40858
40859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40860
40861 fi
40862 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40863 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40864 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40865 cat >>confdefs.h <<\_ACEOF
40866 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40867 _ACEOF
40868
40869 fi
40870 else
40871 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40872 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40873 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 else
40876
40877 cat >conftest.$ac_ext <<_ACEOF
40878 /* confdefs.h. */
40879 _ACEOF
40880 cat confdefs.h >>conftest.$ac_ext
40881 cat >>conftest.$ac_ext <<_ACEOF
40882 /* end confdefs.h. */
40883 #include <pthread.h>
40884 int
40885 main ()
40886 {
40887
40888 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40889
40890 ;
40891 return 0;
40892 }
40893 _ACEOF
40894 rm -f conftest.$ac_objext
40895 if { (ac_try="$ac_compile"
40896 case "(($ac_try" in
40897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40899 esac
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_compile") 2>conftest.er1
40902 ac_status=$?
40903 grep -v '^ *+' conftest.er1 >conftest.err
40904 rm -f conftest.er1
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest.$ac_objext; then
40911
40912 wx_cv_type_pthread_rec_mutex_init=yes
40913
40914 else
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40917
40918
40919 wx_cv_type_pthread_rec_mutex_init=no
40920
40921
40922 fi
40923
40924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40925
40926 fi
40927 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40928 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40929 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40932 _ACEOF
40933
40934 else
40935 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40936 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40937 fi
40938 fi
40939
40940 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40941 if test "$USE_NETBSD" = 1; then
40942 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40943 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40944 wxUSE_COMPILER_TLS=no
40945 else
40946 wxUSE_COMPILER_TLS=yes
40947 fi
40948 fi
40949
40950 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40951 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40952 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40953 if test "${wx_cv_cc___thread+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 #include <pthread.h>
40964 int
40965 main ()
40966 {
40967
40968 static __thread int n = 0;
40969 static __thread int *p = 0;
40970
40971 ;
40972 return 0;
40973 }
40974 _ACEOF
40975 rm -f conftest.$ac_objext
40976 if { (ac_try="$ac_compile"
40977 case "(($ac_try" in
40978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40979 *) ac_try_echo=$ac_try;;
40980 esac
40981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40982 (eval "$ac_compile") 2>conftest.er1
40983 ac_status=$?
40984 grep -v '^ *+' conftest.er1 >conftest.err
40985 rm -f conftest.er1
40986 cat conftest.err >&5
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); } && {
40989 test -z "$ac_c_werror_flag" ||
40990 test ! -s conftest.err
40991 } && test -s conftest.$ac_objext; then
40992 wx_cv_cc___thread=yes
40993 else
40994 echo "$as_me: failed program was:" >&5
40995 sed 's/^/| /' conftest.$ac_ext >&5
40996
40997 wx_cv_cc___thread=no
40998
40999 fi
41000
41001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002
41003
41004 fi
41005 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41006 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41007
41008 if test "$wx_cv_cc___thread" = "yes"; then
41009
41010 GXX_VERSION=""
41011
41012
41013
41014 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41015 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41016
41017 if test "x$GCC" = "xyes" ; then
41018
41019 if test -z "" ; then
41020
41021 ax_gcc_option_test="int main()
41022 {
41023 return 0;
41024 }"
41025
41026 else
41027
41028 ax_gcc_option_test=""
41029
41030 fi
41031
41032
41033 # Dump the test program to file
41034 cat <<EOF > conftest.c
41035 $ax_gcc_option_test
41036 EOF
41037
41038 # Dump back the file to the log, useful for debugging purposes
41039 { ac_try='cat conftest.c 1>&5'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; }
41045
41046 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41048 (eval $ac_try) 2>&5
41049 ac_status=$?
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); }; } ; then
41052
41053 { echo "$as_me:$LINENO: result: yes" >&5
41054 echo "${ECHO_T}yes" >&6; }
41055
41056 ax_gcc_version_option=yes
41057
41058
41059 else
41060
41061 { echo "$as_me:$LINENO: result: no" >&5
41062 echo "${ECHO_T}no" >&6; }
41063
41064 ax_gcc_version_option=no
41065
41066
41067 fi
41068
41069
41070 else
41071
41072 { echo "$as_me:$LINENO: result: no gcc available" >&5
41073 echo "${ECHO_T}no gcc available" >&6; }
41074
41075 fi
41076
41077
41078 if test "x$GXX" = "xyes"; then
41079
41080 if test "x$ax_gxx_version_option" != "no"; then
41081
41082 { echo "$as_me:$LINENO: checking gxx version" >&5
41083 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41084 if test "${ax_cv_gxx_version+set}" = set; then
41085 echo $ECHO_N "(cached) $ECHO_C" >&6
41086 else
41087
41088 ax_cv_gxx_version="`$CXX -dumpversion`"
41089 if test "x$ax_cv_gxx_version" = "x"; then
41090
41091 ax_cv_gxx_version=""
41092
41093 fi
41094
41095
41096 fi
41097 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41098 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41099 GXX_VERSION=$ax_cv_gxx_version
41100
41101 fi
41102
41103
41104 fi
41105
41106
41107
41108 if test -n "$ax_cv_gxx_version"; then
41109 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41110 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41111 case "$ax_cv_gxx_version" in
41112 1.* | 2.* | 3.* )
41113 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41114 echo "${ECHO_T}no, it's broken" >&6; }
41115 wx_cv_cc___thread=no
41116 ;;
41117 *)
41118 { echo "$as_me:$LINENO: result: yes, it works" >&5
41119 echo "${ECHO_T}yes, it works" >&6; }
41120 ;;
41121 esac
41122 fi
41123 fi
41124
41125 if test "$wx_cv_cc___thread" = "yes"; then
41126 cat >>confdefs.h <<\_ACEOF
41127 #define HAVE___THREAD_KEYWORD 1
41128 _ACEOF
41129
41130 fi
41131 fi
41132 fi
41133
41134 else
41135 if test "$wxUSE_THREADS" = "yes" ; then
41136 case "${host}" in
41137 x86_64-*-mingw32* )
41138 ;;
41139 *-*-mingw32* )
41140 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41141 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41142 if test "${wx_cv_cflags_mthread+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41144 else
41145
41146 CFLAGS_OLD="$CFLAGS"
41147 CFLAGS="-mthreads $CFLAGS"
41148 cat >conftest.$ac_ext <<_ACEOF
41149 /* confdefs.h. */
41150 _ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154
41155 int
41156 main ()
41157 {
41158
41159 ;
41160 return 0;
41161 }
41162 _ACEOF
41163 rm -f conftest.$ac_objext
41164 if { (ac_try="$ac_compile"
41165 case "(($ac_try" in
41166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41167 *) ac_try_echo=$ac_try;;
41168 esac
41169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41170 (eval "$ac_compile") 2>conftest.er1
41171 ac_status=$?
41172 grep -v '^ *+' conftest.er1 >conftest.err
41173 rm -f conftest.er1
41174 cat conftest.err >&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } && {
41177 test -z "$ac_c_werror_flag" ||
41178 test ! -s conftest.err
41179 } && test -s conftest.$ac_objext; then
41180 wx_cv_cflags_mthread=yes
41181 else
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.$ac_ext >&5
41184
41185 wx_cv_cflags_mthread=no
41186
41187 fi
41188
41189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41190
41191
41192 fi
41193 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41194 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41195
41196 if test "$wx_cv_cflags_mthread" = "yes"; then
41197 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41198 LDFLAGS="$LDFLAGS -mthreads"
41199 else
41200 CFLAGS="$CFLAGS_OLD"
41201 fi
41202 ;;
41203 *-pc-os2*emx )
41204 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41205 LDFLAGS="$LDFLAGS -Zmt"
41206 ;;
41207 esac
41208 fi
41209 fi
41210
41211 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41212 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41213 if test "${ac_cv_func_localtime_r+set}" = set; then
41214 echo $ECHO_N "(cached) $ECHO_C" >&6
41215 else
41216 cat >conftest.$ac_ext <<_ACEOF
41217 /* confdefs.h. */
41218 _ACEOF
41219 cat confdefs.h >>conftest.$ac_ext
41220 cat >>conftest.$ac_ext <<_ACEOF
41221 /* end confdefs.h. */
41222 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41224 #define localtime_r innocuous_localtime_r
41225
41226 /* System header to define __stub macros and hopefully few prototypes,
41227 which can conflict with char localtime_r (); below.
41228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41229 <limits.h> exists even on freestanding compilers. */
41230
41231 #ifdef __STDC__
41232 # include <limits.h>
41233 #else
41234 # include <assert.h>
41235 #endif
41236
41237 #undef localtime_r
41238
41239 /* Override any GCC internal prototype to avoid an error.
41240 Use char because int might match the return type of a GCC
41241 builtin and then its argument prototype would still apply. */
41242 #ifdef __cplusplus
41243 extern "C"
41244 #endif
41245 char localtime_r ();
41246 /* The GNU C library defines this for functions which it implements
41247 to always fail with ENOSYS. Some functions are actually named
41248 something starting with __ and the normal name is an alias. */
41249 #if defined __stub_localtime_r || defined __stub___localtime_r
41250 choke me
41251 #endif
41252
41253 int
41254 main ()
41255 {
41256 return localtime_r ();
41257 ;
41258 return 0;
41259 }
41260 _ACEOF
41261 rm -f conftest.$ac_objext conftest$ac_exeext
41262 if { (ac_try="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41265 *) ac_try_echo=$ac_try;;
41266 esac
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41269 ac_status=$?
41270 grep -v '^ *+' conftest.er1 >conftest.err
41271 rm -f conftest.er1
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest$ac_exeext &&
41278 $as_test_x conftest$ac_exeext; then
41279 ac_cv_func_localtime_r=yes
41280 else
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41283
41284 ac_cv_func_localtime_r=no
41285 fi
41286
41287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41288 conftest$ac_exeext conftest.$ac_ext
41289 fi
41290 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41291 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41292 if test $ac_cv_func_localtime_r = yes; then
41293 cat >>confdefs.h <<\_ACEOF
41294 #define HAVE_LOCALTIME_R 1
41295 _ACEOF
41296
41297 fi
41298
41299 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41300 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41301 if test "${ac_cv_func_gmtime_r+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41303 else
41304 cat >conftest.$ac_ext <<_ACEOF
41305 /* confdefs.h. */
41306 _ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41310 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41312 #define gmtime_r innocuous_gmtime_r
41313
41314 /* System header to define __stub macros and hopefully few prototypes,
41315 which can conflict with char gmtime_r (); below.
41316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41317 <limits.h> exists even on freestanding compilers. */
41318
41319 #ifdef __STDC__
41320 # include <limits.h>
41321 #else
41322 # include <assert.h>
41323 #endif
41324
41325 #undef gmtime_r
41326
41327 /* Override any GCC internal prototype to avoid an error.
41328 Use char because int might match the return type of a GCC
41329 builtin and then its argument prototype would still apply. */
41330 #ifdef __cplusplus
41331 extern "C"
41332 #endif
41333 char gmtime_r ();
41334 /* The GNU C library defines this for functions which it implements
41335 to always fail with ENOSYS. Some functions are actually named
41336 something starting with __ and the normal name is an alias. */
41337 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41338 choke me
41339 #endif
41340
41341 int
41342 main ()
41343 {
41344 return gmtime_r ();
41345 ;
41346 return 0;
41347 }
41348 _ACEOF
41349 rm -f conftest.$ac_objext conftest$ac_exeext
41350 if { (ac_try="$ac_link"
41351 case "(($ac_try" in
41352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41353 *) ac_try_echo=$ac_try;;
41354 esac
41355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41356 (eval "$ac_link") 2>conftest.er1
41357 ac_status=$?
41358 grep -v '^ *+' conftest.er1 >conftest.err
41359 rm -f conftest.er1
41360 cat conftest.err >&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); } && {
41363 test -z "$ac_c_werror_flag" ||
41364 test ! -s conftest.err
41365 } && test -s conftest$ac_exeext &&
41366 $as_test_x conftest$ac_exeext; then
41367 ac_cv_func_gmtime_r=yes
41368 else
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.$ac_ext >&5
41371
41372 ac_cv_func_gmtime_r=no
41373 fi
41374
41375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41376 conftest$ac_exeext conftest.$ac_ext
41377 fi
41378 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41379 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41380 if test $ac_cv_func_gmtime_r = yes; then
41381 cat >>confdefs.h <<\_ACEOF
41382 #define HAVE_GMTIME_R 1
41383 _ACEOF
41384
41385 fi
41386
41387
41388
41389
41390 ac_ext=c
41391 ac_cpp='$CPP $CPPFLAGS'
41392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41395
41396 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41397 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41398
41399 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 else
41402
41403
41404 ################################################################
41405
41406 ac_cv_func_which_gethostbyname_r=unknown
41407
41408 #
41409 # ONE ARGUMENT (sanity check)
41410 #
41411
41412 # This should fail, as there is no variant of gethostbyname_r() that takes
41413 # a single argument. If it actually compiles, then we can assume that
41414 # netdb.h is not declaring the function, and the compiler is thereby
41415 # assuming an implicit prototype. In which case, we're out of luck.
41416 #
41417 cat >conftest.$ac_ext <<_ACEOF
41418 /* confdefs.h. */
41419 _ACEOF
41420 cat confdefs.h >>conftest.$ac_ext
41421 cat >>conftest.$ac_ext <<_ACEOF
41422 /* end confdefs.h. */
41423 #include <netdb.h>
41424 int
41425 main ()
41426 {
41427
41428 char *name = "www.gnu.org";
41429 (void)gethostbyname_r(name) /* ; */
41430
41431 ;
41432 return 0;
41433 }
41434 _ACEOF
41435 rm -f conftest.$ac_objext
41436 if { (ac_try="$ac_compile"
41437 case "(($ac_try" in
41438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41439 *) ac_try_echo=$ac_try;;
41440 esac
41441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41442 (eval "$ac_compile") 2>conftest.er1
41443 ac_status=$?
41444 grep -v '^ *+' conftest.er1 >conftest.err
41445 rm -f conftest.er1
41446 cat conftest.err >&5
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); } && {
41449 test -z "$ac_c_werror_flag" ||
41450 test ! -s conftest.err
41451 } && test -s conftest.$ac_objext; then
41452 ac_cv_func_which_gethostbyname_r=no
41453 else
41454 echo "$as_me: failed program was:" >&5
41455 sed 's/^/| /' conftest.$ac_ext >&5
41456
41457
41458 fi
41459
41460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41461
41462 #
41463 # SIX ARGUMENTS
41464 # (e.g. Linux)
41465 #
41466
41467 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41468
41469 cat >conftest.$ac_ext <<_ACEOF
41470 /* confdefs.h. */
41471 _ACEOF
41472 cat confdefs.h >>conftest.$ac_ext
41473 cat >>conftest.$ac_ext <<_ACEOF
41474 /* end confdefs.h. */
41475 #include <netdb.h>
41476 int
41477 main ()
41478 {
41479
41480 char *name = "www.gnu.org";
41481 struct hostent ret, *retp;
41482 char buf[1024];
41483 int buflen = 1024;
41484 int my_h_errno;
41485 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41486
41487 ;
41488 return 0;
41489 }
41490 _ACEOF
41491 rm -f conftest.$ac_objext
41492 if { (ac_try="$ac_compile"
41493 case "(($ac_try" in
41494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41495 *) ac_try_echo=$ac_try;;
41496 esac
41497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41498 (eval "$ac_compile") 2>conftest.er1
41499 ac_status=$?
41500 grep -v '^ *+' conftest.er1 >conftest.err
41501 rm -f conftest.er1
41502 cat conftest.err >&5
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); } && {
41505 test -z "$ac_c_werror_flag" ||
41506 test ! -s conftest.err
41507 } && test -s conftest.$ac_objext; then
41508 ac_cv_func_which_gethostbyname_r=six
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513
41514 fi
41515
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517
41518 fi
41519
41520 #
41521 # FIVE ARGUMENTS
41522 # (e.g. Solaris)
41523 #
41524
41525 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41526
41527 cat >conftest.$ac_ext <<_ACEOF
41528 /* confdefs.h. */
41529 _ACEOF
41530 cat confdefs.h >>conftest.$ac_ext
41531 cat >>conftest.$ac_ext <<_ACEOF
41532 /* end confdefs.h. */
41533 #include <netdb.h>
41534 int
41535 main ()
41536 {
41537
41538 char *name = "www.gnu.org";
41539 struct hostent ret;
41540 char buf[1024];
41541 int buflen = 1024;
41542 int my_h_errno;
41543 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41544
41545 ;
41546 return 0;
41547 }
41548 _ACEOF
41549 rm -f conftest.$ac_objext
41550 if { (ac_try="$ac_compile"
41551 case "(($ac_try" in
41552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41553 *) ac_try_echo=$ac_try;;
41554 esac
41555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41556 (eval "$ac_compile") 2>conftest.er1
41557 ac_status=$?
41558 grep -v '^ *+' conftest.er1 >conftest.err
41559 rm -f conftest.er1
41560 cat conftest.err >&5
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); } && {
41563 test -z "$ac_c_werror_flag" ||
41564 test ! -s conftest.err
41565 } && test -s conftest.$ac_objext; then
41566 ac_cv_func_which_gethostbyname_r=five
41567 else
41568 echo "$as_me: failed program was:" >&5
41569 sed 's/^/| /' conftest.$ac_ext >&5
41570
41571
41572 fi
41573
41574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41575
41576 fi
41577
41578 #
41579 # THREE ARGUMENTS
41580 # (e.g. AIX, HP-UX, Tru64)
41581 #
41582
41583 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41584
41585 cat >conftest.$ac_ext <<_ACEOF
41586 /* confdefs.h. */
41587 _ACEOF
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 #include <netdb.h>
41592 int
41593 main ()
41594 {
41595
41596 char *name = "www.gnu.org";
41597 struct hostent ret;
41598 struct hostent_data data;
41599 (void)gethostbyname_r(name, &ret, &data) /* ; */
41600
41601 ;
41602 return 0;
41603 }
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (ac_try="$ac_compile"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41609 *) ac_try_echo=$ac_try;;
41610 esac
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_compile") 2>conftest.er1
41613 ac_status=$?
41614 grep -v '^ *+' conftest.er1 >conftest.err
41615 rm -f conftest.er1
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest.$ac_objext; then
41622 ac_cv_func_which_gethostbyname_r=three
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41626
41627
41628 fi
41629
41630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41631
41632 fi
41633
41634 ################################################################
41635
41636
41637 fi
41638
41639 case "$ac_cv_func_which_gethostbyname_r" in
41640 three)
41641 { echo "$as_me:$LINENO: result: three" >&5
41642 echo "${ECHO_T}three" >&6; }
41643 cat >>confdefs.h <<\_ACEOF
41644 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41645 _ACEOF
41646
41647 ;;
41648
41649 five)
41650 { echo "$as_me:$LINENO: result: five" >&5
41651 echo "${ECHO_T}five" >&6; }
41652 cat >>confdefs.h <<\_ACEOF
41653 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41654 _ACEOF
41655
41656 ;;
41657
41658 six)
41659 { echo "$as_me:$LINENO: result: six" >&5
41660 echo "${ECHO_T}six" >&6; }
41661 cat >>confdefs.h <<\_ACEOF
41662 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41663 _ACEOF
41664
41665 ;;
41666
41667 no)
41668 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41669 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41670 ;;
41671
41672 unknown)
41673 { echo "$as_me:$LINENO: result: can't tell" >&5
41674 echo "${ECHO_T}can't tell" >&6; }
41675 ;;
41676
41677 *)
41678 { { echo "$as_me:$LINENO: error: internal error" >&5
41679 echo "$as_me: error: internal error" >&2;}
41680 { (exit 1); exit 1; }; }
41681 ;;
41682 esac
41683
41684 ac_ext=c
41685 ac_cpp='$CPP $CPPFLAGS'
41686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41689
41690
41691
41692 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41693 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41694 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41695 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41696 if test "${ac_cv_func_gethostbyname+set}" = set; then
41697 echo $ECHO_N "(cached) $ECHO_C" >&6
41698 else
41699 cat >conftest.$ac_ext <<_ACEOF
41700 /* confdefs.h. */
41701 _ACEOF
41702 cat confdefs.h >>conftest.$ac_ext
41703 cat >>conftest.$ac_ext <<_ACEOF
41704 /* end confdefs.h. */
41705 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41707 #define gethostbyname innocuous_gethostbyname
41708
41709 /* System header to define __stub macros and hopefully few prototypes,
41710 which can conflict with char gethostbyname (); below.
41711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41712 <limits.h> exists even on freestanding compilers. */
41713
41714 #ifdef __STDC__
41715 # include <limits.h>
41716 #else
41717 # include <assert.h>
41718 #endif
41719
41720 #undef gethostbyname
41721
41722 /* Override any GCC internal prototype to avoid an error.
41723 Use char because int might match the return type of a GCC
41724 builtin and then its argument prototype would still apply. */
41725 #ifdef __cplusplus
41726 extern "C"
41727 #endif
41728 char gethostbyname ();
41729 /* The GNU C library defines this for functions which it implements
41730 to always fail with ENOSYS. Some functions are actually named
41731 something starting with __ and the normal name is an alias. */
41732 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41733 choke me
41734 #endif
41735
41736 int
41737 main ()
41738 {
41739 return gethostbyname ();
41740 ;
41741 return 0;
41742 }
41743 _ACEOF
41744 rm -f conftest.$ac_objext conftest$ac_exeext
41745 if { (ac_try="$ac_link"
41746 case "(($ac_try" in
41747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41748 *) ac_try_echo=$ac_try;;
41749 esac
41750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41751 (eval "$ac_link") 2>conftest.er1
41752 ac_status=$?
41753 grep -v '^ *+' conftest.er1 >conftest.err
41754 rm -f conftest.er1
41755 cat conftest.err >&5
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); } && {
41758 test -z "$ac_c_werror_flag" ||
41759 test ! -s conftest.err
41760 } && test -s conftest$ac_exeext &&
41761 $as_test_x conftest$ac_exeext; then
41762 ac_cv_func_gethostbyname=yes
41763 else
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41766
41767 ac_cv_func_gethostbyname=no
41768 fi
41769
41770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41771 conftest$ac_exeext conftest.$ac_ext
41772 fi
41773 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41774 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41775 if test $ac_cv_func_gethostbyname = yes; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define HAVE_GETHOSTBYNAME 1
41778 _ACEOF
41779
41780 fi
41781
41782 fi
41783
41784 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41785 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41786 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41787 echo $ECHO_N "(cached) $ECHO_C" >&6
41788 else
41789
41790 ac_ext=cpp
41791 ac_cpp='$CXXCPP $CPPFLAGS'
41792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41795
41796
41797 cat >conftest.$ac_ext <<_ACEOF
41798 /* confdefs.h. */
41799 _ACEOF
41800 cat confdefs.h >>conftest.$ac_ext
41801 cat >>conftest.$ac_ext <<_ACEOF
41802 /* end confdefs.h. */
41803 #include <netdb.h>
41804 int
41805 main ()
41806 {
41807
41808 char *name;
41809 char *proto;
41810 struct servent *se, *res;
41811 char buffer[2048];
41812 int buflen = 2048;
41813 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41814
41815 ;
41816 return 0;
41817 }
41818 _ACEOF
41819 rm -f conftest.$ac_objext
41820 if { (ac_try="$ac_compile"
41821 case "(($ac_try" in
41822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41823 *) ac_try_echo=$ac_try;;
41824 esac
41825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41826 (eval "$ac_compile") 2>conftest.er1
41827 ac_status=$?
41828 grep -v '^ *+' conftest.er1 >conftest.err
41829 rm -f conftest.er1
41830 cat conftest.err >&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); } && {
41833 test -z "$ac_cxx_werror_flag" ||
41834 test ! -s conftest.err
41835 } && test -s conftest.$ac_objext; then
41836 ac_cv_func_which_getservbyname_r=six
41837 else
41838 echo "$as_me: failed program was:" >&5
41839 sed 's/^/| /' conftest.$ac_ext >&5
41840
41841
41842 cat >conftest.$ac_ext <<_ACEOF
41843 /* confdefs.h. */
41844 _ACEOF
41845 cat confdefs.h >>conftest.$ac_ext
41846 cat >>conftest.$ac_ext <<_ACEOF
41847 /* end confdefs.h. */
41848 #include <netdb.h>
41849 int
41850 main ()
41851 {
41852
41853 char *name;
41854 char *proto;
41855 struct servent *se;
41856 char buffer[2048];
41857 int buflen = 2048;
41858 (void) getservbyname_r(name, proto, se, buffer, buflen)
41859
41860 ;
41861 return 0;
41862 }
41863 _ACEOF
41864 rm -f conftest.$ac_objext
41865 if { (ac_try="$ac_compile"
41866 case "(($ac_try" in
41867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41868 *) ac_try_echo=$ac_try;;
41869 esac
41870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41871 (eval "$ac_compile") 2>conftest.er1
41872 ac_status=$?
41873 grep -v '^ *+' conftest.er1 >conftest.err
41874 rm -f conftest.er1
41875 cat conftest.err >&5
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); } && {
41878 test -z "$ac_cxx_werror_flag" ||
41879 test ! -s conftest.err
41880 } && test -s conftest.$ac_objext; then
41881 ac_cv_func_which_getservbyname_r=five
41882 else
41883 echo "$as_me: failed program was:" >&5
41884 sed 's/^/| /' conftest.$ac_ext >&5
41885
41886
41887 cat >conftest.$ac_ext <<_ACEOF
41888 /* confdefs.h. */
41889 _ACEOF
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41893 #include <netdb.h>
41894 int
41895 main ()
41896 {
41897
41898 char *name;
41899 char *proto;
41900 struct servent *se;
41901 struct servent_data data;
41902 (void) getservbyname_r(name, proto, se, &data);
41903
41904 ;
41905 return 0;
41906 }
41907 _ACEOF
41908 rm -f conftest.$ac_objext
41909 if { (ac_try="$ac_compile"
41910 case "(($ac_try" in
41911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41912 *) ac_try_echo=$ac_try;;
41913 esac
41914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41915 (eval "$ac_compile") 2>conftest.er1
41916 ac_status=$?
41917 grep -v '^ *+' conftest.er1 >conftest.err
41918 rm -f conftest.er1
41919 cat conftest.err >&5
41920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41921 (exit $ac_status); } && {
41922 test -z "$ac_cxx_werror_flag" ||
41923 test ! -s conftest.err
41924 } && test -s conftest.$ac_objext; then
41925 ac_cv_func_which_getservbyname_r=four
41926 else
41927 echo "$as_me: failed program was:" >&5
41928 sed 's/^/| /' conftest.$ac_ext >&5
41929
41930 ac_cv_func_which_getservbyname_r=no
41931
41932 fi
41933
41934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41935
41936
41937 fi
41938
41939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41940
41941
41942 fi
41943
41944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41945 ac_ext=c
41946 ac_cpp='$CPP $CPPFLAGS'
41947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41950
41951
41952
41953 fi
41954 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41955 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41956
41957 if test $ac_cv_func_which_getservbyname_r = six; then
41958 cat >>confdefs.h <<\_ACEOF
41959 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41960 _ACEOF
41961
41962 elif test $ac_cv_func_which_getservbyname_r = five; then
41963 cat >>confdefs.h <<\_ACEOF
41964 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41965 _ACEOF
41966
41967 elif test $ac_cv_func_which_getservbyname_r = four; then
41968 cat >>confdefs.h <<\_ACEOF
41969 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41970 _ACEOF
41971
41972 fi
41973
41974
41975 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41976 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41977
41978 for ac_func in getservbyname
41979 do
41980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41984 echo $ECHO_N "(cached) $ECHO_C" >&6
41985 else
41986 cat >conftest.$ac_ext <<_ACEOF
41987 /* confdefs.h. */
41988 _ACEOF
41989 cat confdefs.h >>conftest.$ac_ext
41990 cat >>conftest.$ac_ext <<_ACEOF
41991 /* end confdefs.h. */
41992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41994 #define $ac_func innocuous_$ac_func
41995
41996 /* System header to define __stub macros and hopefully few prototypes,
41997 which can conflict with char $ac_func (); below.
41998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41999 <limits.h> exists even on freestanding compilers. */
42000
42001 #ifdef __STDC__
42002 # include <limits.h>
42003 #else
42004 # include <assert.h>
42005 #endif
42006
42007 #undef $ac_func
42008
42009 /* Override any GCC internal prototype to avoid an error.
42010 Use char because int might match the return type of a GCC
42011 builtin and then its argument prototype would still apply. */
42012 #ifdef __cplusplus
42013 extern "C"
42014 #endif
42015 char $ac_func ();
42016 /* The GNU C library defines this for functions which it implements
42017 to always fail with ENOSYS. Some functions are actually named
42018 something starting with __ and the normal name is an alias. */
42019 #if defined __stub_$ac_func || defined __stub___$ac_func
42020 choke me
42021 #endif
42022
42023 int
42024 main ()
42025 {
42026 return $ac_func ();
42027 ;
42028 return 0;
42029 }
42030 _ACEOF
42031 rm -f conftest.$ac_objext conftest$ac_exeext
42032 if { (ac_try="$ac_link"
42033 case "(($ac_try" in
42034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42035 *) ac_try_echo=$ac_try;;
42036 esac
42037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42038 (eval "$ac_link") 2>conftest.er1
42039 ac_status=$?
42040 grep -v '^ *+' conftest.er1 >conftest.err
42041 rm -f conftest.er1
42042 cat conftest.err >&5
42043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42044 (exit $ac_status); } && {
42045 test -z "$ac_c_werror_flag" ||
42046 test ! -s conftest.err
42047 } && test -s conftest$ac_exeext &&
42048 $as_test_x conftest$ac_exeext; then
42049 eval "$as_ac_var=yes"
42050 else
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42053
42054 eval "$as_ac_var=no"
42055 fi
42056
42057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42058 conftest$ac_exeext conftest.$ac_ext
42059 fi
42060 ac_res=`eval echo '${'$as_ac_var'}'`
42061 { echo "$as_me:$LINENO: result: $ac_res" >&5
42062 echo "${ECHO_T}$ac_res" >&6; }
42063 if test `eval echo '${'$as_ac_var'}'` = yes; then
42064 cat >>confdefs.h <<_ACEOF
42065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42066 _ACEOF
42067 cat >>confdefs.h <<\_ACEOF
42068 #define HAVE_GETSERVBYNAME 1
42069 _ACEOF
42070
42071 fi
42072 done
42073
42074 fi
42075
42076 if test "$wxUSE_THREADS" = "yes"; then
42077 cat >>confdefs.h <<\_ACEOF
42078 #define wxUSE_THREADS 1
42079 _ACEOF
42080
42081
42082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42083 else
42084 if test "$wx_cv_func_strtok_r" = "yes"; then
42085 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42086 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42087 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42088 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42089 { echo "$as_me:$LINENO: result: yes" >&5
42090 echo "${ECHO_T}yes" >&6; }
42091 else
42092 { echo "$as_me:$LINENO: result: no" >&5
42093 echo "${ECHO_T}no" >&6; }
42094 fi
42095 fi
42096 fi
42097
42098 if test "$WXGTK2" = 1 ; then
42099 cat >>confdefs.h <<_ACEOF
42100 #define __WXGTK20__ $WXGTK2
42101 _ACEOF
42102
42103 WXGTK12=1
42104 fi
42105
42106 if test "$WXGTK12" = 1 ; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define __WXGTK12__ $WXGTK12
42109 _ACEOF
42110
42111 fi
42112
42113 if test "$WXGTK127" = 1 ; then
42114 cat >>confdefs.h <<_ACEOF
42115 #define __WXGTK127__ $WXGTK127
42116 _ACEOF
42117
42118 fi
42119
42120 if test "$WXGPE" = 1 ; then
42121 cat >>confdefs.h <<_ACEOF
42122 #define __WXGPE__ $WXGPE
42123 _ACEOF
42124
42125 fi
42126
42127 DEBUG_CFLAGS=
42128 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42129 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42130 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42131 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42132 DEBUG_CFLAGS="-g"
42133 fi
42134
42135 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42136 wxUSE_DEBUG_INFO=yes
42137 if test "$GCC" = yes; then
42138 DEBUG_CFLAGS="-ggdb"
42139 fi
42140 fi
42141
42142 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42143 if test "$wxUSE_GTK" = 1 ; then
42144 if test "x$wxGTK_VERSION" = "x1" ; then
42145 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42146 fi
42147 fi
42148 fi
42149
42150 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_MEMORY_TRACING 1
42153 _ACEOF
42154
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42157 _ACEOF
42158
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_DEBUG_NEW_ALWAYS 1
42161 _ACEOF
42162
42163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42164 fi
42165
42166 if test "$wxUSE_DMALLOC" = "yes" ; then
42167 DMALLOC_LIBS="-ldmallocthcxx"
42168 fi
42169
42170 PROFILE_FLAGS=
42171 if test "$wxUSE_PROFILE" = "yes" ; then
42172 PROFILE_FLAGS=" -pg"
42173 fi
42174
42175 if test "$GCC" = "yes" ; then
42176 if test "$wxUSE_NO_RTTI" = "yes" ; then
42177 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42178 fi
42179 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42180 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42181 fi
42182 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42183 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42184 fi
42185
42186 case "${host}" in
42187 powerpc*-*-aix* )
42188 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42189 ;;
42190 *-hppa* )
42191 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42192 ;;
42193 esac
42194 fi
42195
42196 OPTIMISE_CFLAGS=
42197 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42198 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42199 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42200 else
42201 if test "$wxUSE_OPTIMISE" = "no" ; then
42202 if test "$GCC" = yes ; then
42203 OPTIMISE_CFLAGS="-O0"
42204 fi
42205 else
42206 if test "$GCC" = yes ; then
42207 case "${host}" in
42208 *-pc-os2_emx | *-pc-os2-emx )
42209 OPTIMISE_CFLAGS="-O2"
42210 ;;
42211 *)
42212 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42213 ;;
42214 esac
42215 else
42216 OPTIMISE_CFLAGS="-O"
42217 fi
42218 fi
42219 fi
42220
42221
42222 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42223 cat >>confdefs.h <<\_ACEOF
42224 #define WXWIN_COMPATIBILITY_2_6 1
42225 _ACEOF
42226
42227
42228 WXWIN_COMPATIBILITY_2_8="yes"
42229 fi
42230
42231 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42232 cat >>confdefs.h <<\_ACEOF
42233 #define WXWIN_COMPATIBILITY_2_8 1
42234 _ACEOF
42235
42236 fi
42237
42238
42239 if test "$wxUSE_GUI" = "yes"; then
42240 cat >>confdefs.h <<\_ACEOF
42241 #define wxUSE_GUI 1
42242 _ACEOF
42243
42244
42245 fi
42246
42247
42248 if test "$wxUSE_UNIX" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_UNIX 1
42251 _ACEOF
42252
42253 fi
42254
42255
42256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42257
42258 HAVE_DL_FUNCS=0
42259 HAVE_SHL_FUNCS=0
42260 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42261 if test "$USE_DOS" = 1; then
42262 HAVE_DL_FUNCS=0
42263 else
42264
42265 for ac_func in dlopen
42266 do
42267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 else
42273 cat >conftest.$ac_ext <<_ACEOF
42274 /* confdefs.h. */
42275 _ACEOF
42276 cat confdefs.h >>conftest.$ac_ext
42277 cat >>conftest.$ac_ext <<_ACEOF
42278 /* end confdefs.h. */
42279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42281 #define $ac_func innocuous_$ac_func
42282
42283 /* System header to define __stub macros and hopefully few prototypes,
42284 which can conflict with char $ac_func (); below.
42285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42286 <limits.h> exists even on freestanding compilers. */
42287
42288 #ifdef __STDC__
42289 # include <limits.h>
42290 #else
42291 # include <assert.h>
42292 #endif
42293
42294 #undef $ac_func
42295
42296 /* Override any GCC internal prototype to avoid an error.
42297 Use char because int might match the return type of a GCC
42298 builtin and then its argument prototype would still apply. */
42299 #ifdef __cplusplus
42300 extern "C"
42301 #endif
42302 char $ac_func ();
42303 /* The GNU C library defines this for functions which it implements
42304 to always fail with ENOSYS. Some functions are actually named
42305 something starting with __ and the normal name is an alias. */
42306 #if defined __stub_$ac_func || defined __stub___$ac_func
42307 choke me
42308 #endif
42309
42310 int
42311 main ()
42312 {
42313 return $ac_func ();
42314 ;
42315 return 0;
42316 }
42317 _ACEOF
42318 rm -f conftest.$ac_objext conftest$ac_exeext
42319 if { (ac_try="$ac_link"
42320 case "(($ac_try" in
42321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42322 *) ac_try_echo=$ac_try;;
42323 esac
42324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42325 (eval "$ac_link") 2>conftest.er1
42326 ac_status=$?
42327 grep -v '^ *+' conftest.er1 >conftest.err
42328 rm -f conftest.er1
42329 cat conftest.err >&5
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); } && {
42332 test -z "$ac_c_werror_flag" ||
42333 test ! -s conftest.err
42334 } && test -s conftest$ac_exeext &&
42335 $as_test_x conftest$ac_exeext; then
42336 eval "$as_ac_var=yes"
42337 else
42338 echo "$as_me: failed program was:" >&5
42339 sed 's/^/| /' conftest.$ac_ext >&5
42340
42341 eval "$as_ac_var=no"
42342 fi
42343
42344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42345 conftest$ac_exeext conftest.$ac_ext
42346 fi
42347 ac_res=`eval echo '${'$as_ac_var'}'`
42348 { echo "$as_me:$LINENO: result: $ac_res" >&5
42349 echo "${ECHO_T}$ac_res" >&6; }
42350 if test `eval echo '${'$as_ac_var'}'` = yes; then
42351 cat >>confdefs.h <<_ACEOF
42352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42353 _ACEOF
42354
42355 cat >>confdefs.h <<\_ACEOF
42356 #define HAVE_DLOPEN 1
42357 _ACEOF
42358
42359 HAVE_DL_FUNCS=1
42360
42361 else
42362
42363 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42364 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42365 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42366 echo $ECHO_N "(cached) $ECHO_C" >&6
42367 else
42368 ac_check_lib_save_LIBS=$LIBS
42369 LIBS="-ldl $LIBS"
42370 cat >conftest.$ac_ext <<_ACEOF
42371 /* confdefs.h. */
42372 _ACEOF
42373 cat confdefs.h >>conftest.$ac_ext
42374 cat >>conftest.$ac_ext <<_ACEOF
42375 /* end confdefs.h. */
42376
42377 /* Override any GCC internal prototype to avoid an error.
42378 Use char because int might match the return type of a GCC
42379 builtin and then its argument prototype would still apply. */
42380 #ifdef __cplusplus
42381 extern "C"
42382 #endif
42383 char dlopen ();
42384 int
42385 main ()
42386 {
42387 return dlopen ();
42388 ;
42389 return 0;
42390 }
42391 _ACEOF
42392 rm -f conftest.$ac_objext conftest$ac_exeext
42393 if { (ac_try="$ac_link"
42394 case "(($ac_try" in
42395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42396 *) ac_try_echo=$ac_try;;
42397 esac
42398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42399 (eval "$ac_link") 2>conftest.er1
42400 ac_status=$?
42401 grep -v '^ *+' conftest.er1 >conftest.err
42402 rm -f conftest.er1
42403 cat conftest.err >&5
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); } && {
42406 test -z "$ac_c_werror_flag" ||
42407 test ! -s conftest.err
42408 } && test -s conftest$ac_exeext &&
42409 $as_test_x conftest$ac_exeext; then
42410 ac_cv_lib_dl_dlopen=yes
42411 else
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42414
42415 ac_cv_lib_dl_dlopen=no
42416 fi
42417
42418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42419 conftest$ac_exeext conftest.$ac_ext
42420 LIBS=$ac_check_lib_save_LIBS
42421 fi
42422 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42423 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42424 if test $ac_cv_lib_dl_dlopen = yes; then
42425
42426 cat >>confdefs.h <<\_ACEOF
42427 #define HAVE_DLOPEN 1
42428 _ACEOF
42429
42430 HAVE_DL_FUNCS=1
42431 DL_LINK=" -ldl$DL_LINK"
42432
42433 else
42434
42435
42436 for ac_func in shl_load
42437 do
42438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42442 echo $ECHO_N "(cached) $ECHO_C" >&6
42443 else
42444 cat >conftest.$ac_ext <<_ACEOF
42445 /* confdefs.h. */
42446 _ACEOF
42447 cat confdefs.h >>conftest.$ac_ext
42448 cat >>conftest.$ac_ext <<_ACEOF
42449 /* end confdefs.h. */
42450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42452 #define $ac_func innocuous_$ac_func
42453
42454 /* System header to define __stub macros and hopefully few prototypes,
42455 which can conflict with char $ac_func (); below.
42456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42457 <limits.h> exists even on freestanding compilers. */
42458
42459 #ifdef __STDC__
42460 # include <limits.h>
42461 #else
42462 # include <assert.h>
42463 #endif
42464
42465 #undef $ac_func
42466
42467 /* Override any GCC internal prototype to avoid an error.
42468 Use char because int might match the return type of a GCC
42469 builtin and then its argument prototype would still apply. */
42470 #ifdef __cplusplus
42471 extern "C"
42472 #endif
42473 char $ac_func ();
42474 /* The GNU C library defines this for functions which it implements
42475 to always fail with ENOSYS. Some functions are actually named
42476 something starting with __ and the normal name is an alias. */
42477 #if defined __stub_$ac_func || defined __stub___$ac_func
42478 choke me
42479 #endif
42480
42481 int
42482 main ()
42483 {
42484 return $ac_func ();
42485 ;
42486 return 0;
42487 }
42488 _ACEOF
42489 rm -f conftest.$ac_objext conftest$ac_exeext
42490 if { (ac_try="$ac_link"
42491 case "(($ac_try" in
42492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42493 *) ac_try_echo=$ac_try;;
42494 esac
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_link") 2>conftest.er1
42497 ac_status=$?
42498 grep -v '^ *+' conftest.er1 >conftest.err
42499 rm -f conftest.er1
42500 cat conftest.err >&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && {
42503 test -z "$ac_c_werror_flag" ||
42504 test ! -s conftest.err
42505 } && test -s conftest$ac_exeext &&
42506 $as_test_x conftest$ac_exeext; then
42507 eval "$as_ac_var=yes"
42508 else
42509 echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.$ac_ext >&5
42511
42512 eval "$as_ac_var=no"
42513 fi
42514
42515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42516 conftest$ac_exeext conftest.$ac_ext
42517 fi
42518 ac_res=`eval echo '${'$as_ac_var'}'`
42519 { echo "$as_me:$LINENO: result: $ac_res" >&5
42520 echo "${ECHO_T}$ac_res" >&6; }
42521 if test `eval echo '${'$as_ac_var'}'` = yes; then
42522 cat >>confdefs.h <<_ACEOF
42523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42524 _ACEOF
42525
42526 cat >>confdefs.h <<\_ACEOF
42527 #define HAVE_SHL_LOAD 1
42528 _ACEOF
42529
42530 HAVE_SHL_FUNCS=1
42531
42532 else
42533
42534 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42535 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42536 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42537 echo $ECHO_N "(cached) $ECHO_C" >&6
42538 else
42539 ac_check_lib_save_LIBS=$LIBS
42540 LIBS="-lshl_load $LIBS"
42541 cat >conftest.$ac_ext <<_ACEOF
42542 /* confdefs.h. */
42543 _ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547
42548 /* Override any GCC internal prototype to avoid an error.
42549 Use char because int might match the return type of a GCC
42550 builtin and then its argument prototype would still apply. */
42551 #ifdef __cplusplus
42552 extern "C"
42553 #endif
42554 char dld ();
42555 int
42556 main ()
42557 {
42558 return dld ();
42559 ;
42560 return 0;
42561 }
42562 _ACEOF
42563 rm -f conftest.$ac_objext conftest$ac_exeext
42564 if { (ac_try="$ac_link"
42565 case "(($ac_try" in
42566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42567 *) ac_try_echo=$ac_try;;
42568 esac
42569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42570 (eval "$ac_link") 2>conftest.er1
42571 ac_status=$?
42572 grep -v '^ *+' conftest.er1 >conftest.err
42573 rm -f conftest.er1
42574 cat conftest.err >&5
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } && {
42577 test -z "$ac_c_werror_flag" ||
42578 test ! -s conftest.err
42579 } && test -s conftest$ac_exeext &&
42580 $as_test_x conftest$ac_exeext; then
42581 ac_cv_lib_shl_load_dld=yes
42582 else
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42585
42586 ac_cv_lib_shl_load_dld=no
42587 fi
42588
42589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42590 conftest$ac_exeext conftest.$ac_ext
42591 LIBS=$ac_check_lib_save_LIBS
42592 fi
42593 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42594 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42595 if test $ac_cv_lib_shl_load_dld = yes; then
42596
42597 HAVE_SHL_FUNCS=1
42598 DL_LINK=" -ldld$DL_LINK"
42599
42600 fi
42601
42602
42603 fi
42604 done
42605
42606
42607 fi
42608
42609
42610 fi
42611 done
42612
42613
42614 if test "$HAVE_DL_FUNCS" = 1; then
42615
42616 for ac_func in dlerror
42617 do
42618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42621 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42622 echo $ECHO_N "(cached) $ECHO_C" >&6
42623 else
42624 cat >conftest.$ac_ext <<_ACEOF
42625 /* confdefs.h. */
42626 _ACEOF
42627 cat confdefs.h >>conftest.$ac_ext
42628 cat >>conftest.$ac_ext <<_ACEOF
42629 /* end confdefs.h. */
42630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42632 #define $ac_func innocuous_$ac_func
42633
42634 /* System header to define __stub macros and hopefully few prototypes,
42635 which can conflict with char $ac_func (); below.
42636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42637 <limits.h> exists even on freestanding compilers. */
42638
42639 #ifdef __STDC__
42640 # include <limits.h>
42641 #else
42642 # include <assert.h>
42643 #endif
42644
42645 #undef $ac_func
42646
42647 /* Override any GCC internal prototype to avoid an error.
42648 Use char because int might match the return type of a GCC
42649 builtin and then its argument prototype would still apply. */
42650 #ifdef __cplusplus
42651 extern "C"
42652 #endif
42653 char $ac_func ();
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined __stub_$ac_func || defined __stub___$ac_func
42658 choke me
42659 #endif
42660
42661 int
42662 main ()
42663 {
42664 return $ac_func ();
42665 ;
42666 return 0;
42667 }
42668 _ACEOF
42669 rm -f conftest.$ac_objext conftest$ac_exeext
42670 if { (ac_try="$ac_link"
42671 case "(($ac_try" in
42672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42673 *) ac_try_echo=$ac_try;;
42674 esac
42675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42676 (eval "$ac_link") 2>conftest.er1
42677 ac_status=$?
42678 grep -v '^ *+' conftest.er1 >conftest.err
42679 rm -f conftest.er1
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } && {
42683 test -z "$ac_c_werror_flag" ||
42684 test ! -s conftest.err
42685 } && test -s conftest$ac_exeext &&
42686 $as_test_x conftest$ac_exeext; then
42687 eval "$as_ac_var=yes"
42688 else
42689 echo "$as_me: failed program was:" >&5
42690 sed 's/^/| /' conftest.$ac_ext >&5
42691
42692 eval "$as_ac_var=no"
42693 fi
42694
42695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42696 conftest$ac_exeext conftest.$ac_ext
42697 fi
42698 ac_res=`eval echo '${'$as_ac_var'}'`
42699 { echo "$as_me:$LINENO: result: $ac_res" >&5
42700 echo "${ECHO_T}$ac_res" >&6; }
42701 if test `eval echo '${'$as_ac_var'}'` = yes; then
42702 cat >>confdefs.h <<_ACEOF
42703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42704 _ACEOF
42705 cat >>confdefs.h <<\_ACEOF
42706 #define HAVE_DLERROR 1
42707 _ACEOF
42708
42709 else
42710
42711 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42712 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42713 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 else
42716 ac_check_lib_save_LIBS=$LIBS
42717 LIBS="-ldl $LIBS"
42718 cat >conftest.$ac_ext <<_ACEOF
42719 /* confdefs.h. */
42720 _ACEOF
42721 cat confdefs.h >>conftest.$ac_ext
42722 cat >>conftest.$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42724
42725 /* Override any GCC internal prototype to avoid an error.
42726 Use char because int might match the return type of a GCC
42727 builtin and then its argument prototype would still apply. */
42728 #ifdef __cplusplus
42729 extern "C"
42730 #endif
42731 char dlerror ();
42732 int
42733 main ()
42734 {
42735 return dlerror ();
42736 ;
42737 return 0;
42738 }
42739 _ACEOF
42740 rm -f conftest.$ac_objext conftest$ac_exeext
42741 if { (ac_try="$ac_link"
42742 case "(($ac_try" in
42743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42744 *) ac_try_echo=$ac_try;;
42745 esac
42746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42747 (eval "$ac_link") 2>conftest.er1
42748 ac_status=$?
42749 grep -v '^ *+' conftest.er1 >conftest.err
42750 rm -f conftest.er1
42751 cat conftest.err >&5
42752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753 (exit $ac_status); } && {
42754 test -z "$ac_c_werror_flag" ||
42755 test ! -s conftest.err
42756 } && test -s conftest$ac_exeext &&
42757 $as_test_x conftest$ac_exeext; then
42758 ac_cv_lib_dl_dlerror=yes
42759 else
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42762
42763 ac_cv_lib_dl_dlerror=no
42764 fi
42765
42766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42767 conftest$ac_exeext conftest.$ac_ext
42768 LIBS=$ac_check_lib_save_LIBS
42769 fi
42770 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42771 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42772 if test $ac_cv_lib_dl_dlerror = yes; then
42773 cat >>confdefs.h <<\_ACEOF
42774 #define HAVE_DLERROR 1
42775 _ACEOF
42776
42777 fi
42778
42779
42780
42781 fi
42782 done
42783
42784 fi
42785 fi
42786
42787 if test "$USE_DARWIN" = 1; then
42788 HAVE_DL_FUNCS=1
42789 fi
42790
42791 if test "$HAVE_DL_FUNCS" = 0; then
42792 if test "$HAVE_SHL_FUNCS" = 0; then
42793 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42794 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42795 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42796 wxUSE_DYNAMIC_LOADER=no
42797 wxUSE_DYNLIB_CLASS=no
42798 else
42799 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42800 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42801 fi
42802 fi
42803 fi
42804 fi
42805 fi
42806
42807 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42808 cat >>confdefs.h <<\_ACEOF
42809 #define wxUSE_DYNAMIC_LOADER 1
42810 _ACEOF
42811
42812 fi
42813 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42814 cat >>confdefs.h <<\_ACEOF
42815 #define wxUSE_DYNLIB_CLASS 1
42816 _ACEOF
42817
42818 fi
42819
42820
42821
42822 if test "$wxUSE_PLUGINS" = "yes" ; then
42823 if test "$wxUSE_SHARED" = "no" ; then
42824 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42825 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42826 wxUSE_PLUGINS=no
42827 fi
42828 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42829 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42830 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42831 wxUSE_PLUGINS=no
42832 fi
42833 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42834 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42835 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42836 wxUSE_PLUGINS=no
42837 fi
42838 if test "$wxUSE_PLUGINS" = "yes" ; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_PLUGINS 1
42841 _ACEOF
42842
42843 fi
42844 fi
42845
42846
42847 if test "$wxUSE_FSWATCHER" = "yes"; then
42848 if test "$wxUSE_MSW" != "1"; then
42849 if test "$wxUSE_UNIX" = "yes"; then
42850
42851 for ac_header in sys/inotify.h
42852 do
42853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42857 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 else
42859 cat >conftest.$ac_ext <<_ACEOF
42860 /* confdefs.h. */
42861 _ACEOF
42862 cat confdefs.h >>conftest.$ac_ext
42863 cat >>conftest.$ac_ext <<_ACEOF
42864 /* end confdefs.h. */
42865 $ac_includes_default
42866
42867 #include <$ac_header>
42868 _ACEOF
42869 rm -f conftest.$ac_objext
42870 if { (ac_try="$ac_compile"
42871 case "(($ac_try" in
42872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42873 *) ac_try_echo=$ac_try;;
42874 esac
42875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42876 (eval "$ac_compile") 2>conftest.er1
42877 ac_status=$?
42878 grep -v '^ *+' conftest.er1 >conftest.err
42879 rm -f conftest.er1
42880 cat conftest.err >&5
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); } && {
42883 test -z "$ac_c_werror_flag" ||
42884 test ! -s conftest.err
42885 } && test -s conftest.$ac_objext; then
42886 eval "$as_ac_Header=yes"
42887 else
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.$ac_ext >&5
42890
42891 eval "$as_ac_Header=no"
42892 fi
42893
42894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42895 fi
42896 ac_res=`eval echo '${'$as_ac_Header'}'`
42897 { echo "$as_me:$LINENO: result: $ac_res" >&5
42898 echo "${ECHO_T}$ac_res" >&6; }
42899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42900 cat >>confdefs.h <<_ACEOF
42901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42902 _ACEOF
42903
42904 fi
42905
42906 done
42907
42908 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42909 cat >>confdefs.h <<\_ACEOF
42910 #define wxHAS_INOTIFY 1
42911 _ACEOF
42912
42913 else
42914
42915 for ac_header in sys/event.h
42916 do
42917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42921 echo $ECHO_N "(cached) $ECHO_C" >&6
42922 else
42923 cat >conftest.$ac_ext <<_ACEOF
42924 /* confdefs.h. */
42925 _ACEOF
42926 cat confdefs.h >>conftest.$ac_ext
42927 cat >>conftest.$ac_ext <<_ACEOF
42928 /* end confdefs.h. */
42929 $ac_includes_default
42930
42931 #include <$ac_header>
42932 _ACEOF
42933 rm -f conftest.$ac_objext
42934 if { (ac_try="$ac_compile"
42935 case "(($ac_try" in
42936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42937 *) ac_try_echo=$ac_try;;
42938 esac
42939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42940 (eval "$ac_compile") 2>conftest.er1
42941 ac_status=$?
42942 grep -v '^ *+' conftest.er1 >conftest.err
42943 rm -f conftest.er1
42944 cat conftest.err >&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); } && {
42947 test -z "$ac_c_werror_flag" ||
42948 test ! -s conftest.err
42949 } && test -s conftest.$ac_objext; then
42950 eval "$as_ac_Header=yes"
42951 else
42952 echo "$as_me: failed program was:" >&5
42953 sed 's/^/| /' conftest.$ac_ext >&5
42954
42955 eval "$as_ac_Header=no"
42956 fi
42957
42958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42959 fi
42960 ac_res=`eval echo '${'$as_ac_Header'}'`
42961 { echo "$as_me:$LINENO: result: $ac_res" >&5
42962 echo "${ECHO_T}$ac_res" >&6; }
42963 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42964 cat >>confdefs.h <<_ACEOF
42965 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42966 _ACEOF
42967
42968 fi
42969
42970 done
42971
42972 if test "$ac_cv_header_sys_event_h" = "yes"; then
42973 cat >>confdefs.h <<\_ACEOF
42974 #define wxHAS_KQUEUE 1
42975 _ACEOF
42976
42977 else
42978 wxUSE_FSWATCHER=no
42979 fi
42980 fi
42981 else
42982 wxUSE_FSWATCHER=no
42983 fi
42984 fi
42985
42986 if test "$wxUSE_FSWATCHER" = "yes"; then
42987 cat >>confdefs.h <<\_ACEOF
42988 #define wxUSE_FSWATCHER 1
42989 _ACEOF
42990
42991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42992 else
42993 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42994 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42995 fi
42996 fi
42997
42998
42999 if test "$wxUSE_STL" = "yes"; then
43000 cat >>confdefs.h <<\_ACEOF
43001 #define wxUSE_STL 1
43002 _ACEOF
43003
43004 fi
43005
43006 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_EXTENDED_RTTI 1
43009 _ACEOF
43010
43011 fi
43012
43013 if test "$wxUSE_ANY" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_ANY 1
43016 _ACEOF
43017
43018 fi
43019
43020 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_APPLE_IEEE 1
43023 _ACEOF
43024
43025 fi
43026
43027 if test "$wxUSE_TIMER" = "yes"; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_TIMER 1
43030 _ACEOF
43031
43032 fi
43033
43034 if test "$USE_UNIX" = 1 ; then
43035 if test "$wxUSE_MGL" != 1; then
43036 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43037 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43038 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43039 echo $ECHO_N "(cached) $ECHO_C" >&6
43040 else
43041
43042 cat >conftest.$ac_ext <<_ACEOF
43043 /* confdefs.h. */
43044 _ACEOF
43045 cat confdefs.h >>conftest.$ac_ext
43046 cat >>conftest.$ac_ext <<_ACEOF
43047 /* end confdefs.h. */
43048
43049 #include <sys/ioctl.h>
43050 #include <sys/soundcard.h>
43051
43052 int
43053 main ()
43054 {
43055
43056 ioctl(0, SNDCTL_DSP_SPEED, 0);
43057
43058 ;
43059 return 0;
43060 }
43061 _ACEOF
43062 rm -f conftest.$ac_objext conftest$ac_exeext
43063 if { (ac_try="$ac_link"
43064 case "(($ac_try" in
43065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43066 *) ac_try_echo=$ac_try;;
43067 esac
43068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43069 (eval "$ac_link") 2>conftest.er1
43070 ac_status=$?
43071 grep -v '^ *+' conftest.er1 >conftest.err
43072 rm -f conftest.er1
43073 cat conftest.err >&5
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); } && {
43076 test -z "$ac_c_werror_flag" ||
43077 test ! -s conftest.err
43078 } && test -s conftest$ac_exeext &&
43079 $as_test_x conftest$ac_exeext; then
43080 ac_cv_header_sys_soundcard=yes
43081 else
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.$ac_ext >&5
43084
43085
43086 saveLibs="$LIBS"
43087 LIBS="$saveLibs -lossaudio"
43088 cat >conftest.$ac_ext <<_ACEOF
43089 /* confdefs.h. */
43090 _ACEOF
43091 cat confdefs.h >>conftest.$ac_ext
43092 cat >>conftest.$ac_ext <<_ACEOF
43093 /* end confdefs.h. */
43094
43095 #include <sys/ioctl.h>
43096 #include <sys/soundcard.h>
43097
43098 int
43099 main ()
43100 {
43101
43102 ioctl(0, SNDCTL_DSP_SPEED, 0);
43103
43104 ;
43105 return 0;
43106 }
43107 _ACEOF
43108 rm -f conftest.$ac_objext conftest$ac_exeext
43109 if { (ac_try="$ac_link"
43110 case "(($ac_try" in
43111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43112 *) ac_try_echo=$ac_try;;
43113 esac
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_link") 2>conftest.er1
43116 ac_status=$?
43117 grep -v '^ *+' conftest.er1 >conftest.err
43118 rm -f conftest.er1
43119 cat conftest.err >&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_c_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest$ac_exeext &&
43125 $as_test_x conftest$ac_exeext; then
43126 ac_cv_header_sys_soundcard=yes
43127 else
43128 echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.$ac_ext >&5
43130
43131
43132 LIBS="$saveLibs"
43133 ac_cv_header_sys_soundcard=no
43134
43135
43136 fi
43137
43138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43139 conftest$ac_exeext conftest.$ac_ext
43140
43141
43142 fi
43143
43144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43145 conftest$ac_exeext conftest.$ac_ext
43146
43147 fi
43148 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43149 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43150 fi
43151
43152 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define HAVE_SYS_SOUNDCARD_H 1
43155 _ACEOF
43156
43157 fi
43158 fi
43159
43160 WITH_PLUGIN_SDL=0
43161 if test "$wxUSE_SOUND" = "yes"; then
43162 if test "$USE_UNIX" = 1 ; then
43163 if test "$wxUSE_LIBSDL" != "no"; then
43164
43165 # Check whether --with-sdl-prefix was given.
43166 if test "${with_sdl_prefix+set}" = set; then
43167 withval=$with_sdl_prefix; sdl_prefix="$withval"
43168 else
43169 sdl_prefix=""
43170 fi
43171
43172
43173 # Check whether --with-sdl-exec-prefix was given.
43174 if test "${with_sdl_exec_prefix+set}" = set; then
43175 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43176 else
43177 sdl_exec_prefix=""
43178 fi
43179
43180 # Check whether --enable-sdltest was given.
43181 if test "${enable_sdltest+set}" = set; then
43182 enableval=$enable_sdltest;
43183 else
43184 enable_sdltest=yes
43185 fi
43186
43187
43188 if test x$sdl_exec_prefix != x ; then
43189 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43190 if test x${SDL_CONFIG+set} != xset ; then
43191 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43192 fi
43193 fi
43194 if test x$sdl_prefix != x ; then
43195 sdl_args="$sdl_args --prefix=$sdl_prefix"
43196 if test x${SDL_CONFIG+set} != xset ; then
43197 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43198 fi
43199 fi
43200
43201 if test "x$prefix" != xNONE; then
43202 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43203 fi
43204 # Extract the first word of "sdl-config", so it can be a program name with args.
43205 set dummy sdl-config; ac_word=$2
43206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43208 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43209 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 else
43211 case $SDL_CONFIG in
43212 [\\/]* | ?:[\\/]*)
43213 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43214 ;;
43215 *)
43216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43217 for as_dir in $PATH
43218 do
43219 IFS=$as_save_IFS
43220 test -z "$as_dir" && as_dir=.
43221 for ac_exec_ext in '' $ac_executable_extensions; do
43222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43223 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43225 break 2
43226 fi
43227 done
43228 done
43229 IFS=$as_save_IFS
43230
43231 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43232 ;;
43233 esac
43234 fi
43235 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43236 if test -n "$SDL_CONFIG"; then
43237 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43238 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43239 else
43240 { echo "$as_me:$LINENO: result: no" >&5
43241 echo "${ECHO_T}no" >&6; }
43242 fi
43243
43244
43245 min_sdl_version=1.2.0
43246 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43247 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43248 no_sdl=""
43249 if test "$SDL_CONFIG" = "no" ; then
43250 no_sdl=yes
43251 else
43252 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43253 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43254
43255 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43257 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43259 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43261 if test "x$enable_sdltest" = "xyes" ; then
43262 ac_save_CFLAGS="$CFLAGS"
43263 ac_save_CXXFLAGS="$CXXFLAGS"
43264 ac_save_LIBS="$LIBS"
43265 CFLAGS="$CFLAGS $SDL_CFLAGS"
43266 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43267 LIBS="$LIBS $SDL_LIBS"
43268 rm -f conf.sdltest
43269 if test "$cross_compiling" = yes; then
43270 echo $ac_n "cross compiling; assumed OK... $ac_c"
43271 else
43272 cat >conftest.$ac_ext <<_ACEOF
43273 /* confdefs.h. */
43274 _ACEOF
43275 cat confdefs.h >>conftest.$ac_ext
43276 cat >>conftest.$ac_ext <<_ACEOF
43277 /* end confdefs.h. */
43278
43279 #include <stdio.h>
43280 #include <stdlib.h>
43281 #include <string.h>
43282 #include "SDL.h"
43283
43284 char*
43285 my_strdup (char *str)
43286 {
43287 char *new_str;
43288
43289 if (str)
43290 {
43291 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43292 strcpy (new_str, str);
43293 }
43294 else
43295 new_str = NULL;
43296
43297 return new_str;
43298 }
43299
43300 int main (int argc, char *argv[])
43301 {
43302 int major, minor, micro;
43303 char *tmp_version;
43304
43305 /* This hangs on some systems (?)
43306 system ("touch conf.sdltest");
43307 */
43308 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43309
43310 /* HP/UX 9 (%@#!) writes to sscanf strings */
43311 tmp_version = my_strdup("$min_sdl_version");
43312 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43313 printf("%s, bad version string\n", "$min_sdl_version");
43314 exit(1);
43315 }
43316
43317 if (($sdl_major_version > major) ||
43318 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43319 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43320 {
43321 return 0;
43322 }
43323 else
43324 {
43325 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43326 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43327 printf("*** best to upgrade to the required version.\n");
43328 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43329 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43330 printf("*** config.cache before re-running configure\n");
43331 return 1;
43332 }
43333 }
43334
43335
43336 _ACEOF
43337 rm -f conftest$ac_exeext
43338 if { (ac_try="$ac_link"
43339 case "(($ac_try" in
43340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43341 *) ac_try_echo=$ac_try;;
43342 esac
43343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43344 (eval "$ac_link") 2>&5
43345 ac_status=$?
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43348 { (case "(($ac_try" in
43349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43350 *) ac_try_echo=$ac_try;;
43351 esac
43352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43353 (eval "$ac_try") 2>&5
43354 ac_status=$?
43355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356 (exit $ac_status); }; }; then
43357 :
43358 else
43359 echo "$as_me: program exited with status $ac_status" >&5
43360 echo "$as_me: failed program was:" >&5
43361 sed 's/^/| /' conftest.$ac_ext >&5
43362
43363 ( exit $ac_status )
43364 no_sdl=yes
43365 fi
43366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43367 fi
43368
43369
43370 CFLAGS="$ac_save_CFLAGS"
43371 CXXFLAGS="$ac_save_CXXFLAGS"
43372 LIBS="$ac_save_LIBS"
43373 fi
43374 fi
43375 if test "x$no_sdl" = x ; then
43376 { echo "$as_me:$LINENO: result: yes" >&5
43377 echo "${ECHO_T}yes" >&6; }
43378
43379 EXTRALIBS_SDL="$SDL_LIBS"
43380 CFLAGS="$SDL_CFLAGS $CFLAGS"
43381 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_LIBSDL 1
43384 _ACEOF
43385
43386
43387 else
43388 { echo "$as_me:$LINENO: result: no" >&5
43389 echo "${ECHO_T}no" >&6; }
43390 if test "$SDL_CONFIG" = "no" ; then
43391 echo "*** The sdl-config script installed by SDL could not be found"
43392 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43393 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43394 echo "*** full path to sdl-config."
43395 else
43396 if test -f conf.sdltest ; then
43397 :
43398 else
43399 echo "*** Could not run SDL test program, checking why..."
43400 CFLAGS="$CFLAGS $SDL_CFLAGS"
43401 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43402 LIBS="$LIBS $SDL_LIBS"
43403 cat >conftest.$ac_ext <<_ACEOF
43404 /* confdefs.h. */
43405 _ACEOF
43406 cat confdefs.h >>conftest.$ac_ext
43407 cat >>conftest.$ac_ext <<_ACEOF
43408 /* end confdefs.h. */
43409
43410 #include <stdio.h>
43411 #include "SDL.h"
43412
43413 int main(int argc, char *argv[])
43414 { return 0; }
43415 #undef main
43416 #define main K_and_R_C_main
43417
43418 int
43419 main ()
43420 {
43421 return 0;
43422 ;
43423 return 0;
43424 }
43425 _ACEOF
43426 rm -f conftest.$ac_objext conftest$ac_exeext
43427 if { (ac_try="$ac_link"
43428 case "(($ac_try" in
43429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43430 *) ac_try_echo=$ac_try;;
43431 esac
43432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43433 (eval "$ac_link") 2>conftest.er1
43434 ac_status=$?
43435 grep -v '^ *+' conftest.er1 >conftest.err
43436 rm -f conftest.er1
43437 cat conftest.err >&5
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); } && {
43440 test -z "$ac_c_werror_flag" ||
43441 test ! -s conftest.err
43442 } && test -s conftest$ac_exeext &&
43443 $as_test_x conftest$ac_exeext; then
43444 echo "*** The test program compiled, but did not run. This usually means"
43445 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43446 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43447 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43448 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43449 echo "*** is required on your system"
43450 echo "***"
43451 echo "*** If you have an old version installed, it is best to remove it, although"
43452 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43453 else
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.$ac_ext >&5
43456
43457 echo "*** The test program failed to compile or link. See the file config.log for the"
43458 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43459 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43460 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43461 fi
43462
43463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43464 conftest$ac_exeext conftest.$ac_ext
43465 CFLAGS="$ac_save_CFLAGS"
43466 CXXFLAGS="$ac_save_CXXFLAGS"
43467 LIBS="$ac_save_LIBS"
43468 fi
43469 fi
43470 SDL_CFLAGS=""
43471 SDL_LIBS=""
43472 wxUSE_LIBSDL="no"
43473 fi
43474
43475
43476 rm -f conf.sdltest
43477
43478 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43479 WITH_PLUGIN_SDL=1
43480 fi
43481 fi
43482 else
43483 if test "$wxUSE_MGL" = 1; then
43484 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43485 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43486 wxUSE_SOUND="no"
43487 fi
43488 fi
43489 fi
43490
43491 if test "$wxUSE_SOUND" = "yes"; then
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_SOUND 1
43494 _ACEOF
43495
43496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43497 fi
43498
43499 if test "$WXGTK2" = 1; then
43500
43501
43502 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43503 if test -n "$ac_tool_prefix"; then
43504 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43505 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43508 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43511 case $PKG_CONFIG in
43512 [\\/]* | ?:[\\/]*)
43513 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43514 ;;
43515 *)
43516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43517 for as_dir in $PATH
43518 do
43519 IFS=$as_save_IFS
43520 test -z "$as_dir" && as_dir=.
43521 for ac_exec_ext in '' $ac_executable_extensions; do
43522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43523 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43525 break 2
43526 fi
43527 done
43528 done
43529 IFS=$as_save_IFS
43530
43531 ;;
43532 esac
43533 fi
43534 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43535 if test -n "$PKG_CONFIG"; then
43536 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43537 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43538 else
43539 { echo "$as_me:$LINENO: result: no" >&5
43540 echo "${ECHO_T}no" >&6; }
43541 fi
43542
43543
43544 fi
43545 if test -z "$ac_cv_path_PKG_CONFIG"; then
43546 ac_pt_PKG_CONFIG=$PKG_CONFIG
43547 # Extract the first word of "pkg-config", so it can be a program name with args.
43548 set dummy pkg-config; ac_word=$2
43549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43551 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43552 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 else
43554 case $ac_pt_PKG_CONFIG in
43555 [\\/]* | ?:[\\/]*)
43556 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43557 ;;
43558 *)
43559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43560 for as_dir in $PATH
43561 do
43562 IFS=$as_save_IFS
43563 test -z "$as_dir" && as_dir=.
43564 for ac_exec_ext in '' $ac_executable_extensions; do
43565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43566 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43568 break 2
43569 fi
43570 done
43571 done
43572 IFS=$as_save_IFS
43573
43574 ;;
43575 esac
43576 fi
43577 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43578 if test -n "$ac_pt_PKG_CONFIG"; then
43579 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43580 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43581 else
43582 { echo "$as_me:$LINENO: result: no" >&5
43583 echo "${ECHO_T}no" >&6; }
43584 fi
43585
43586 if test "x$ac_pt_PKG_CONFIG" = x; then
43587 PKG_CONFIG=""
43588 else
43589 case $cross_compiling:$ac_tool_warned in
43590 yes:)
43591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43592 whose name does not start with the host triplet. If you think this
43593 configuration is useful to you, please write to autoconf@gnu.org." >&5
43594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43595 whose name does not start with the host triplet. If you think this
43596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43597 ac_tool_warned=yes ;;
43598 esac
43599 PKG_CONFIG=$ac_pt_PKG_CONFIG
43600 fi
43601 else
43602 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43603 fi
43604
43605 fi
43606 if test -n "$PKG_CONFIG"; then
43607 _pkg_min_version=0.9.0
43608 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43609 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43610 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43611 { echo "$as_me:$LINENO: result: yes" >&5
43612 echo "${ECHO_T}yes" >&6; }
43613 else
43614 { echo "$as_me:$LINENO: result: no" >&5
43615 echo "${ECHO_T}no" >&6; }
43616 PKG_CONFIG=""
43617 fi
43618
43619 fi
43620
43621 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43622
43623 if test "$wxUSE_GTKPRINT" = "yes" ; then
43624
43625
43626 pkg_failed=no
43627 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43628 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43629
43630 if test -n "$PKG_CONFIG"; then
43631 if test -n "$GTKPRINT_CFLAGS"; then
43632 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43633 else
43634 if test -n "$PKG_CONFIG" && \
43635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43636 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43637 ac_status=$?
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; then
43640 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43641 else
43642 pkg_failed=yes
43643 fi
43644 fi
43645 else
43646 pkg_failed=untried
43647 fi
43648 if test -n "$PKG_CONFIG"; then
43649 if test -n "$GTKPRINT_LIBS"; then
43650 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43651 else
43652 if test -n "$PKG_CONFIG" && \
43653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43654 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43655 ac_status=$?
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; then
43658 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43659 else
43660 pkg_failed=yes
43661 fi
43662 fi
43663 else
43664 pkg_failed=untried
43665 fi
43666
43667
43668
43669 if test $pkg_failed = yes; then
43670
43671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43672 _pkg_short_errors_supported=yes
43673 else
43674 _pkg_short_errors_supported=no
43675 fi
43676 if test $_pkg_short_errors_supported = yes; then
43677 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43678 else
43679 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43680 fi
43681 # Put the nasty error message in config.log where it belongs
43682 echo "$GTKPRINT_PKG_ERRORS" >&5
43683
43684
43685 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43686 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43687 wxUSE_GTKPRINT="no"
43688
43689
43690 elif test $pkg_failed = untried; then
43691
43692 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43693 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43694 wxUSE_GTKPRINT="no"
43695
43696
43697 else
43698 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43699 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43700 { echo "$as_me:$LINENO: result: yes" >&5
43701 echo "${ECHO_T}yes" >&6; }
43702
43703 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43704 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_GTKPRINT 1
43707 _ACEOF
43708
43709
43710 fi
43711 fi
43712
43713 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43714
43715
43716 pkg_failed=no
43717 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43718 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43719
43720 if test -n "$PKG_CONFIG"; then
43721 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43722 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43723 else
43724 if test -n "$PKG_CONFIG" && \
43725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43726 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43727 ac_status=$?
43728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43729 (exit $ac_status); }; then
43730 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43731 else
43732 pkg_failed=yes
43733 fi
43734 fi
43735 else
43736 pkg_failed=untried
43737 fi
43738 if test -n "$PKG_CONFIG"; then
43739 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43740 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43741 else
43742 if test -n "$PKG_CONFIG" && \
43743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43744 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43745 ac_status=$?
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); }; then
43748 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43749 else
43750 pkg_failed=yes
43751 fi
43752 fi
43753 else
43754 pkg_failed=untried
43755 fi
43756
43757
43758
43759 if test $pkg_failed = yes; then
43760
43761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43762 _pkg_short_errors_supported=yes
43763 else
43764 _pkg_short_errors_supported=no
43765 fi
43766 if test $_pkg_short_errors_supported = yes; then
43767 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43768 else
43769 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43770 fi
43771 # Put the nasty error message in config.log where it belongs
43772 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43773
43774
43775 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43776 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43777 wxUSE_LIBGNOMEPRINT="no"
43778
43779
43780 elif test $pkg_failed = untried; then
43781
43782 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43783 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43784 wxUSE_LIBGNOMEPRINT="no"
43785
43786
43787 else
43788 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43789 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43790 { echo "$as_me:$LINENO: result: yes" >&5
43791 echo "${ECHO_T}yes" >&6; }
43792
43793 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43794 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43795 cat >>confdefs.h <<\_ACEOF
43796 #define wxUSE_LIBGNOMEPRINT 1
43797 _ACEOF
43798
43799
43800 fi
43801 fi
43802 fi
43803
43804 if test "$wxUSE_MIMETYPE" = "yes" ; then
43805 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43806
43807
43808 pkg_failed=no
43809 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43810 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43811
43812 if test -n "$PKG_CONFIG"; then
43813 if test -n "$GNOMEVFS_CFLAGS"; then
43814 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43815 else
43816 if test -n "$PKG_CONFIG" && \
43817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43818 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43819 ac_status=$?
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; then
43822 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43823 else
43824 pkg_failed=yes
43825 fi
43826 fi
43827 else
43828 pkg_failed=untried
43829 fi
43830 if test -n "$PKG_CONFIG"; then
43831 if test -n "$GNOMEVFS_LIBS"; then
43832 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43833 else
43834 if test -n "$PKG_CONFIG" && \
43835 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43836 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43837 ac_status=$?
43838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839 (exit $ac_status); }; then
43840 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43841 else
43842 pkg_failed=yes
43843 fi
43844 fi
43845 else
43846 pkg_failed=untried
43847 fi
43848
43849
43850
43851 if test $pkg_failed = yes; then
43852
43853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43854 _pkg_short_errors_supported=yes
43855 else
43856 _pkg_short_errors_supported=no
43857 fi
43858 if test $_pkg_short_errors_supported = yes; then
43859 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43860 else
43861 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43862 fi
43863 # Put the nasty error message in config.log where it belongs
43864 echo "$GNOMEVFS_PKG_ERRORS" >&5
43865
43866
43867 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43868 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43869 wxUSE_LIBGNOMEVFS="no"
43870
43871
43872 elif test $pkg_failed = untried; then
43873
43874 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43875 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43876 wxUSE_LIBGNOMEVFS="no"
43877
43878
43879 else
43880 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43881 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43882 { echo "$as_me:$LINENO: result: yes" >&5
43883 echo "${ECHO_T}yes" >&6; }
43884
43885 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43886 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43887 cat >>confdefs.h <<\_ACEOF
43888 #define wxUSE_LIBGNOMEVFS 1
43889 _ACEOF
43890
43891
43892 fi
43893 fi
43894 fi
43895
43896 if test "$wxUSE_LIBHILDON" = "yes" ; then
43897
43898 pkg_failed=no
43899 { echo "$as_me:$LINENO: checking for HILDON" >&5
43900 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43901
43902 if test -n "$PKG_CONFIG"; then
43903 if test -n "$HILDON_CFLAGS"; then
43904 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43905 else
43906 if test -n "$PKG_CONFIG" && \
43907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43908 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43909 ac_status=$?
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; then
43912 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43913 else
43914 pkg_failed=yes
43915 fi
43916 fi
43917 else
43918 pkg_failed=untried
43919 fi
43920 if test -n "$PKG_CONFIG"; then
43921 if test -n "$HILDON_LIBS"; then
43922 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43923 else
43924 if test -n "$PKG_CONFIG" && \
43925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43926 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43927 ac_status=$?
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; then
43930 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43931 else
43932 pkg_failed=yes
43933 fi
43934 fi
43935 else
43936 pkg_failed=untried
43937 fi
43938
43939
43940
43941 if test $pkg_failed = yes; then
43942
43943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43944 _pkg_short_errors_supported=yes
43945 else
43946 _pkg_short_errors_supported=no
43947 fi
43948 if test $_pkg_short_errors_supported = yes; then
43949 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43950 else
43951 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43952 fi
43953 # Put the nasty error message in config.log where it belongs
43954 echo "$HILDON_PKG_ERRORS" >&5
43955
43956
43957 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43958 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43959 wxUSE_LIBHILDON="no"
43960 ac_hildon_lgpl=0
43961
43962
43963 elif test $pkg_failed = untried; then
43964
43965 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43966 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43967 wxUSE_LIBHILDON="no"
43968 ac_hildon_lgpl=0
43969
43970
43971 else
43972 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43973 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43974 { echo "$as_me:$LINENO: result: yes" >&5
43975 echo "${ECHO_T}yes" >&6; }
43976
43977 EXTRALIBS_HILDON="$HILDON_LIBS"
43978 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43979 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_LIBHILDON 1
43982 _ACEOF
43983
43984 ac_hildon_lgpl=1
43985
43986 fi
43987
43988 if test "$ac_hildon_lgpl" = 0 ; then
43989
43990 pkg_failed=no
43991 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43992 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43993
43994 if test -n "$PKG_CONFIG"; then
43995 if test -n "$HILDON2_CFLAGS"; then
43996 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43997 else
43998 if test -n "$PKG_CONFIG" && \
43999 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44000 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44001 ac_status=$?
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); }; then
44004 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44005 else
44006 pkg_failed=yes
44007 fi
44008 fi
44009 else
44010 pkg_failed=untried
44011 fi
44012 if test -n "$PKG_CONFIG"; then
44013 if test -n "$HILDON2_LIBS"; then
44014 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44015 else
44016 if test -n "$PKG_CONFIG" && \
44017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44018 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44019 ac_status=$?
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; then
44022 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44023 else
44024 pkg_failed=yes
44025 fi
44026 fi
44027 else
44028 pkg_failed=untried
44029 fi
44030
44031
44032
44033 if test $pkg_failed = yes; then
44034
44035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44036 _pkg_short_errors_supported=yes
44037 else
44038 _pkg_short_errors_supported=no
44039 fi
44040 if test $_pkg_short_errors_supported = yes; then
44041 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44042 else
44043 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44044 fi
44045 # Put the nasty error message in config.log where it belongs
44046 echo "$HILDON2_PKG_ERRORS" >&5
44047
44048
44049 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44050 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44051 wxUSE_LIBHILDON2="no"
44052
44053
44054 elif test $pkg_failed = untried; then
44055
44056 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44057 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44058 wxUSE_LIBHILDON2="no"
44059
44060
44061 else
44062 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44063 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44064 { echo "$as_me:$LINENO: result: yes" >&5
44065 echo "${ECHO_T}yes" >&6; }
44066
44067 EXTRALIBS_HILDON="$HILDON2_LIBS"
44068 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44069 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_LIBHILDON2 1
44072 _ACEOF
44073
44074
44075 fi
44076 fi
44077 fi
44078 fi
44079
44080 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44081 cat >>confdefs.h <<\_ACEOF
44082 #define wxUSE_CMDLINE_PARSER 1
44083 _ACEOF
44084
44085 fi
44086
44087 if test "$wxUSE_STOPWATCH" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_STOPWATCH 1
44090 _ACEOF
44091
44092 fi
44093
44094 if test "$wxUSE_DATETIME" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_DATETIME 1
44097 _ACEOF
44098
44099 fi
44100
44101 if test "$wxUSE_FILE" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_FILE 1
44104 _ACEOF
44105
44106 fi
44107
44108 if test "$wxUSE_FFILE" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_FFILE 1
44111 _ACEOF
44112
44113 fi
44114
44115 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44116 if test "$wxUSE_STREAMS" != yes; then
44117 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44118 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44119 wxUSE_ARCHIVE_STREAMS=no
44120 else
44121 cat >>confdefs.h <<\_ACEOF
44122 #define wxUSE_ARCHIVE_STREAMS 1
44123 _ACEOF
44124
44125 fi
44126 fi
44127
44128 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44129 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44130 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44131 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44132 elif test "$wxUSE_ZLIB" = "no"; then
44133 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44134 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44135 else
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_ZIPSTREAM 1
44138 _ACEOF
44139
44140 fi
44141 fi
44142
44143 if test "$wxUSE_TARSTREAM" = "yes"; then
44144 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44145 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44146 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44147 else
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_TARSTREAM 1
44150 _ACEOF
44151
44152 fi
44153 fi
44154
44155 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_FILE_HISTORY 1
44158 _ACEOF
44159
44160 fi
44161
44162 if test "$wxUSE_FILESYSTEM" = "yes"; then
44163 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44164 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44165 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44166 wxUSE_FILESYSTEM=no
44167 else
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_FILESYSTEM 1
44170 _ACEOF
44171
44172 fi
44173 fi
44174
44175 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44176 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44177 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44178 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44179 else
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_FS_ARCHIVE 1
44182 _ACEOF
44183
44184 fi
44185 fi
44186
44187 if test "$wxUSE_FS_ZIP" = "yes"; then
44188 if test "$wxUSE_FS_ARCHIVE" != yes; then
44189 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44190 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44191 else
44192 cat >>confdefs.h <<\_ACEOF
44193 #define wxUSE_FS_ZIP 1
44194 _ACEOF
44195
44196 fi
44197 fi
44198
44199 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44200 if test "$USE_UNIX" != 1; then
44201 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44202 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44203 wxUSE_ON_FATAL_EXCEPTION=no
44204 else
44205 cat >>confdefs.h <<\_ACEOF
44206 #define wxUSE_ON_FATAL_EXCEPTION 1
44207 _ACEOF
44208
44209 fi
44210 fi
44211
44212 if test "$wxUSE_STACKWALKER" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_STACKWALKER 1
44215 _ACEOF
44216
44217 fi
44218
44219 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44220 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44221 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44222 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44223 wxUSE_DEBUGREPORT=no
44224 else
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_DEBUGREPORT 1
44227 _ACEOF
44228
44229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44231 fi
44232 fi
44233 fi
44234
44235 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_SNGLINST_CHECKER 1
44238 _ACEOF
44239
44240 fi
44241
44242 if test "$wxUSE_BUSYINFO" = "yes"; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_BUSYINFO 1
44245 _ACEOF
44246
44247 fi
44248
44249 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_STD_IOSTREAM 1
44252 _ACEOF
44253
44254 fi
44255
44256 if test "$wxUSE_STD_STRING" = "yes"; then
44257 cat >>confdefs.h <<\_ACEOF
44258 #define wxUSE_STD_STRING 1
44259 _ACEOF
44260
44261 fi
44262
44263 if test "$wxUSE_STDPATHS" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_STDPATHS 1
44266 _ACEOF
44267
44268 fi
44269
44270 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_TEXTBUFFER 1
44273 _ACEOF
44274
44275 fi
44276
44277 if test "$wxUSE_TEXTFILE" = "yes"; then
44278 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44279 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44280 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44281 else
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_TEXTFILE 1
44284 _ACEOF
44285
44286 fi
44287 fi
44288
44289 if test "$wxUSE_CONFIG" = "yes" ; then
44290 if test "$wxUSE_TEXTFILE" != "yes"; then
44291 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44292 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44293 else
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_CONFIG 1
44296 _ACEOF
44297
44298 cat >>confdefs.h <<\_ACEOF
44299 #define wxUSE_CONFIG_NATIVE 1
44300 _ACEOF
44301
44302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44303 fi
44304 fi
44305
44306 if test "$wxUSE_INTL" = "yes" ; then
44307 if test "$wxUSE_FILE" != "yes"; then
44308 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44309 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44310 else
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_INTL 1
44313 _ACEOF
44314
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44316 GUIDIST="$GUIDIST INTL_DIST"
44317 fi
44318 fi
44319
44320 if test "$wxUSE_XLOCALE" = "yes" ; then
44321 cat >>confdefs.h <<\_ACEOF
44322 #define wxUSE_XLOCALE 1
44323 _ACEOF
44324
44325 { echo "$as_me:$LINENO: checking for locale_t" >&5
44326 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44327 if test "${ac_cv_type_locale_t+set}" = set; then
44328 echo $ECHO_N "(cached) $ECHO_C" >&6
44329 else
44330 cat >conftest.$ac_ext <<_ACEOF
44331 /* confdefs.h. */
44332 _ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 #include <xlocale.h>
44337 #include <locale.h>
44338
44339 typedef locale_t ac__type_new_;
44340 int
44341 main ()
44342 {
44343 if ((ac__type_new_ *) 0)
44344 return 0;
44345 if (sizeof (ac__type_new_))
44346 return 0;
44347 ;
44348 return 0;
44349 }
44350 _ACEOF
44351 rm -f conftest.$ac_objext
44352 if { (ac_try="$ac_compile"
44353 case "(($ac_try" in
44354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44355 *) ac_try_echo=$ac_try;;
44356 esac
44357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44358 (eval "$ac_compile") 2>conftest.er1
44359 ac_status=$?
44360 grep -v '^ *+' conftest.er1 >conftest.err
44361 rm -f conftest.er1
44362 cat conftest.err >&5
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); } && {
44365 test -z "$ac_c_werror_flag" ||
44366 test ! -s conftest.err
44367 } && test -s conftest.$ac_objext; then
44368 ac_cv_type_locale_t=yes
44369 else
44370 echo "$as_me: failed program was:" >&5
44371 sed 's/^/| /' conftest.$ac_ext >&5
44372
44373 ac_cv_type_locale_t=no
44374 fi
44375
44376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44377 fi
44378 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44379 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44380 if test $ac_cv_type_locale_t = yes; then
44381
44382 cat >>confdefs.h <<_ACEOF
44383 #define HAVE_LOCALE_T 1
44384 _ACEOF
44385
44386
44387 fi
44388
44389 fi
44390
44391 if test "$wxUSE_LOG" = "yes"; then
44392 cat >>confdefs.h <<\_ACEOF
44393 #define wxUSE_LOG 1
44394 _ACEOF
44395
44396
44397 if test "$wxUSE_LOGGUI" = "yes"; then
44398 cat >>confdefs.h <<\_ACEOF
44399 #define wxUSE_LOGGUI 1
44400 _ACEOF
44401
44402 fi
44403
44404 if test "$wxUSE_LOGWINDOW" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_LOGWINDOW 1
44407 _ACEOF
44408
44409 fi
44410
44411 if test "$wxUSE_LOGDIALOG" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_LOG_DIALOG 1
44414 _ACEOF
44415
44416 fi
44417
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44419 fi
44420
44421 if test "$wxUSE_LONGLONG" = "yes"; then
44422 cat >>confdefs.h <<\_ACEOF
44423 #define wxUSE_LONGLONG 1
44424 _ACEOF
44425
44426 fi
44427
44428 if test "$wxUSE_GEOMETRY" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_GEOMETRY 1
44431 _ACEOF
44432
44433 fi
44434
44435 if test "$wxUSE_BASE64" = "yes"; then
44436 cat >>confdefs.h <<\_ACEOF
44437 #define wxUSE_BASE64 1
44438 _ACEOF
44439
44440 fi
44441
44442 if test "$wxUSE_STREAMS" = "yes" ; then
44443 cat >>confdefs.h <<\_ACEOF
44444 #define wxUSE_STREAMS 1
44445 _ACEOF
44446
44447 fi
44448
44449 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_PRINTF_POS_PARAMS 1
44452 _ACEOF
44453
44454 fi
44455
44456 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_OBJC_UNIQUIFYING 1
44459 _ACEOF
44460
44461 fi
44462
44463
44464 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44465 cat >>confdefs.h <<\_ACEOF
44466 #define wxUSE_CONSOLE_EVENTLOOP 1
44467 _ACEOF
44468
44469
44470 if test "$wxUSE_UNIX" = "yes"; then
44471 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_SELECT_DISPATCHER 1
44474 _ACEOF
44475
44476 fi
44477
44478 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44479
44480 for ac_header in sys/epoll.h
44481 do
44482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44486 echo $ECHO_N "(cached) $ECHO_C" >&6
44487 else
44488 cat >conftest.$ac_ext <<_ACEOF
44489 /* confdefs.h. */
44490 _ACEOF
44491 cat confdefs.h >>conftest.$ac_ext
44492 cat >>conftest.$ac_ext <<_ACEOF
44493 /* end confdefs.h. */
44494 $ac_includes_default
44495
44496 #include <$ac_header>
44497 _ACEOF
44498 rm -f conftest.$ac_objext
44499 if { (ac_try="$ac_compile"
44500 case "(($ac_try" in
44501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44502 *) ac_try_echo=$ac_try;;
44503 esac
44504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44505 (eval "$ac_compile") 2>conftest.er1
44506 ac_status=$?
44507 grep -v '^ *+' conftest.er1 >conftest.err
44508 rm -f conftest.er1
44509 cat conftest.err >&5
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); } && {
44512 test -z "$ac_c_werror_flag" ||
44513 test ! -s conftest.err
44514 } && test -s conftest.$ac_objext; then
44515 eval "$as_ac_Header=yes"
44516 else
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.$ac_ext >&5
44519
44520 eval "$as_ac_Header=no"
44521 fi
44522
44523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44524 fi
44525 ac_res=`eval echo '${'$as_ac_Header'}'`
44526 { echo "$as_me:$LINENO: result: $ac_res" >&5
44527 echo "${ECHO_T}$ac_res" >&6; }
44528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44529 cat >>confdefs.h <<_ACEOF
44530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44531 _ACEOF
44532
44533 fi
44534
44535 done
44536
44537 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44538 cat >>confdefs.h <<\_ACEOF
44539 #define wxUSE_EPOLL_DISPATCHER 1
44540 _ACEOF
44541
44542 else
44543 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44544 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44545 fi
44546 fi
44547 fi
44548 fi
44549
44550
44551
44552
44553 for ac_func in gettimeofday ftime
44554 do
44555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44559 echo $ECHO_N "(cached) $ECHO_C" >&6
44560 else
44561 cat >conftest.$ac_ext <<_ACEOF
44562 /* confdefs.h. */
44563 _ACEOF
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44569 #define $ac_func innocuous_$ac_func
44570
44571 /* System header to define __stub macros and hopefully few prototypes,
44572 which can conflict with char $ac_func (); below.
44573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44574 <limits.h> exists even on freestanding compilers. */
44575
44576 #ifdef __STDC__
44577 # include <limits.h>
44578 #else
44579 # include <assert.h>
44580 #endif
44581
44582 #undef $ac_func
44583
44584 /* Override any GCC internal prototype to avoid an error.
44585 Use char because int might match the return type of a GCC
44586 builtin and then its argument prototype would still apply. */
44587 #ifdef __cplusplus
44588 extern "C"
44589 #endif
44590 char $ac_func ();
44591 /* The GNU C library defines this for functions which it implements
44592 to always fail with ENOSYS. Some functions are actually named
44593 something starting with __ and the normal name is an alias. */
44594 #if defined __stub_$ac_func || defined __stub___$ac_func
44595 choke me
44596 #endif
44597
44598 int
44599 main ()
44600 {
44601 return $ac_func ();
44602 ;
44603 return 0;
44604 }
44605 _ACEOF
44606 rm -f conftest.$ac_objext conftest$ac_exeext
44607 if { (ac_try="$ac_link"
44608 case "(($ac_try" in
44609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44610 *) ac_try_echo=$ac_try;;
44611 esac
44612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44613 (eval "$ac_link") 2>conftest.er1
44614 ac_status=$?
44615 grep -v '^ *+' conftest.er1 >conftest.err
44616 rm -f conftest.er1
44617 cat conftest.err >&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); } && {
44620 test -z "$ac_c_werror_flag" ||
44621 test ! -s conftest.err
44622 } && test -s conftest$ac_exeext &&
44623 $as_test_x conftest$ac_exeext; then
44624 eval "$as_ac_var=yes"
44625 else
44626 echo "$as_me: failed program was:" >&5
44627 sed 's/^/| /' conftest.$ac_ext >&5
44628
44629 eval "$as_ac_var=no"
44630 fi
44631
44632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44633 conftest$ac_exeext conftest.$ac_ext
44634 fi
44635 ac_res=`eval echo '${'$as_ac_var'}'`
44636 { echo "$as_me:$LINENO: result: $ac_res" >&5
44637 echo "${ECHO_T}$ac_res" >&6; }
44638 if test `eval echo '${'$as_ac_var'}'` = yes; then
44639 cat >>confdefs.h <<_ACEOF
44640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44641 _ACEOF
44642 break
44643 fi
44644 done
44645
44646
44647 if test "$ac_cv_func_gettimeofday" = "yes"; then
44648 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44649 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44650 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44651 echo $ECHO_N "(cached) $ECHO_C" >&6
44652 else
44653
44654 cat >conftest.$ac_ext <<_ACEOF
44655 /* confdefs.h. */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660
44661 #include <sys/time.h>
44662 #include <unistd.h>
44663
44664 int
44665 main ()
44666 {
44667
44668 struct timeval tv;
44669 gettimeofday(&tv, NULL);
44670
44671 ;
44672 return 0;
44673 }
44674 _ACEOF
44675 rm -f conftest.$ac_objext
44676 if { (ac_try="$ac_compile"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44679 *) ac_try_echo=$ac_try;;
44680 esac
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_compile") 2>conftest.er1
44683 ac_status=$?
44684 grep -v '^ *+' conftest.er1 >conftest.err
44685 rm -f conftest.er1
44686 cat conftest.err >&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_c_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest.$ac_objext; then
44692 wx_cv_func_gettimeofday_has_2_args=yes
44693 else
44694 echo "$as_me: failed program was:" >&5
44695 sed 's/^/| /' conftest.$ac_ext >&5
44696
44697 cat >conftest.$ac_ext <<_ACEOF
44698 /* confdefs.h. */
44699 _ACEOF
44700 cat confdefs.h >>conftest.$ac_ext
44701 cat >>conftest.$ac_ext <<_ACEOF
44702 /* end confdefs.h. */
44703
44704 #include <sys/time.h>
44705 #include <unistd.h>
44706
44707 int
44708 main ()
44709 {
44710
44711 struct timeval tv;
44712 gettimeofday(&tv);
44713
44714 ;
44715 return 0;
44716 }
44717 _ACEOF
44718 rm -f conftest.$ac_objext
44719 if { (ac_try="$ac_compile"
44720 case "(($ac_try" in
44721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44722 *) ac_try_echo=$ac_try;;
44723 esac
44724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44725 (eval "$ac_compile") 2>conftest.er1
44726 ac_status=$?
44727 grep -v '^ *+' conftest.er1 >conftest.err
44728 rm -f conftest.er1
44729 cat conftest.err >&5
44730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44731 (exit $ac_status); } && {
44732 test -z "$ac_c_werror_flag" ||
44733 test ! -s conftest.err
44734 } && test -s conftest.$ac_objext; then
44735 wx_cv_func_gettimeofday_has_2_args=no
44736 else
44737 echo "$as_me: failed program was:" >&5
44738 sed 's/^/| /' conftest.$ac_ext >&5
44739
44740
44741 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44742 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44743 wx_cv_func_gettimeofday_has_2_args=unknown
44744
44745
44746 fi
44747
44748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44749
44750 fi
44751
44752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44753
44754 fi
44755 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44756 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44757
44758 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define WX_GETTIMEOFDAY_NO_TZ 1
44761 _ACEOF
44762
44763 fi
44764 fi
44765
44766 if test "$wxUSE_DATETIME" = "yes"; then
44767 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44768 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44769 if test "${wx_cv_var_timezone+set}" = set; then
44770 echo $ECHO_N "(cached) $ECHO_C" >&6
44771 else
44772
44773 ac_ext=cpp
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44778
44779 cat >conftest.$ac_ext <<_ACEOF
44780 /* confdefs.h. */
44781 _ACEOF
44782 cat confdefs.h >>conftest.$ac_ext
44783 cat >>conftest.$ac_ext <<_ACEOF
44784 /* end confdefs.h. */
44785
44786 #include <time.h>
44787
44788 int
44789 main ()
44790 {
44791
44792 int tz;
44793 tz = timezone;
44794
44795 ;
44796 return 0;
44797 }
44798 _ACEOF
44799 rm -f conftest.$ac_objext
44800 if { (ac_try="$ac_compile"
44801 case "(($ac_try" in
44802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44803 *) ac_try_echo=$ac_try;;
44804 esac
44805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44806 (eval "$ac_compile") 2>conftest.er1
44807 ac_status=$?
44808 grep -v '^ *+' conftest.er1 >conftest.err
44809 rm -f conftest.er1
44810 cat conftest.err >&5
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); } && {
44813 test -z "$ac_cxx_werror_flag" ||
44814 test ! -s conftest.err
44815 } && test -s conftest.$ac_objext; then
44816
44817 wx_cv_var_timezone=timezone
44818
44819 else
44820 echo "$as_me: failed program was:" >&5
44821 sed 's/^/| /' conftest.$ac_ext >&5
44822
44823
44824 cat >conftest.$ac_ext <<_ACEOF
44825 /* confdefs.h. */
44826 _ACEOF
44827 cat confdefs.h >>conftest.$ac_ext
44828 cat >>conftest.$ac_ext <<_ACEOF
44829 /* end confdefs.h. */
44830
44831 #include <time.h>
44832
44833 int
44834 main ()
44835 {
44836
44837 int tz;
44838 tz = _timezone;
44839
44840 ;
44841 return 0;
44842 }
44843 _ACEOF
44844 rm -f conftest.$ac_objext
44845 if { (ac_try="$ac_compile"
44846 case "(($ac_try" in
44847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44849 esac
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_compile") 2>conftest.er1
44852 ac_status=$?
44853 grep -v '^ *+' conftest.er1 >conftest.err
44854 rm -f conftest.er1
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } && {
44858 test -z "$ac_cxx_werror_flag" ||
44859 test ! -s conftest.err
44860 } && test -s conftest.$ac_objext; then
44861
44862 wx_cv_var_timezone=_timezone
44863
44864 else
44865 echo "$as_me: failed program was:" >&5
44866 sed 's/^/| /' conftest.$ac_ext >&5
44867
44868
44869 cat >conftest.$ac_ext <<_ACEOF
44870 /* confdefs.h. */
44871 _ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875
44876 #include <time.h>
44877
44878 int
44879 main ()
44880 {
44881
44882 int tz;
44883 tz = __timezone;
44884
44885 ;
44886 return 0;
44887 }
44888 _ACEOF
44889 rm -f conftest.$ac_objext
44890 if { (ac_try="$ac_compile"
44891 case "(($ac_try" in
44892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44893 *) ac_try_echo=$ac_try;;
44894 esac
44895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44896 (eval "$ac_compile") 2>conftest.er1
44897 ac_status=$?
44898 grep -v '^ *+' conftest.er1 >conftest.err
44899 rm -f conftest.er1
44900 cat conftest.err >&5
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); } && {
44903 test -z "$ac_cxx_werror_flag" ||
44904 test ! -s conftest.err
44905 } && test -s conftest.$ac_objext; then
44906
44907 wx_cv_var_timezone=__timezone
44908
44909 else
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.$ac_ext >&5
44912
44913
44914 if test "$USE_DOS" = 0 ; then
44915 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44916 echo "$as_me: WARNING: no timezone variable" >&2;}
44917 fi
44918
44919
44920 fi
44921
44922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44923
44924
44925 fi
44926
44927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44928
44929
44930 fi
44931
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_ext=c
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44938
44939
44940
44941 fi
44942 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44943 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44944
44945 if test "x$wx_cv_var_timezone" != x ; then
44946 cat >>confdefs.h <<_ACEOF
44947 #define WX_TIMEZONE $wx_cv_var_timezone
44948 _ACEOF
44949
44950 fi
44951
44952
44953 for ac_func in localtime
44954 do
44955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44959 echo $ECHO_N "(cached) $ECHO_C" >&6
44960 else
44961 cat >conftest.$ac_ext <<_ACEOF
44962 /* confdefs.h. */
44963 _ACEOF
44964 cat confdefs.h >>conftest.$ac_ext
44965 cat >>conftest.$ac_ext <<_ACEOF
44966 /* end confdefs.h. */
44967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44969 #define $ac_func innocuous_$ac_func
44970
44971 /* System header to define __stub macros and hopefully few prototypes,
44972 which can conflict with char $ac_func (); below.
44973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44974 <limits.h> exists even on freestanding compilers. */
44975
44976 #ifdef __STDC__
44977 # include <limits.h>
44978 #else
44979 # include <assert.h>
44980 #endif
44981
44982 #undef $ac_func
44983
44984 /* Override any GCC internal prototype to avoid an error.
44985 Use char because int might match the return type of a GCC
44986 builtin and then its argument prototype would still apply. */
44987 #ifdef __cplusplus
44988 extern "C"
44989 #endif
44990 char $ac_func ();
44991 /* The GNU C library defines this for functions which it implements
44992 to always fail with ENOSYS. Some functions are actually named
44993 something starting with __ and the normal name is an alias. */
44994 #if defined __stub_$ac_func || defined __stub___$ac_func
44995 choke me
44996 #endif
44997
44998 int
44999 main ()
45000 {
45001 return $ac_func ();
45002 ;
45003 return 0;
45004 }
45005 _ACEOF
45006 rm -f conftest.$ac_objext conftest$ac_exeext
45007 if { (ac_try="$ac_link"
45008 case "(($ac_try" in
45009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45010 *) ac_try_echo=$ac_try;;
45011 esac
45012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45013 (eval "$ac_link") 2>conftest.er1
45014 ac_status=$?
45015 grep -v '^ *+' conftest.er1 >conftest.err
45016 rm -f conftest.er1
45017 cat conftest.err >&5
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); } && {
45020 test -z "$ac_c_werror_flag" ||
45021 test ! -s conftest.err
45022 } && test -s conftest$ac_exeext &&
45023 $as_test_x conftest$ac_exeext; then
45024 eval "$as_ac_var=yes"
45025 else
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.$ac_ext >&5
45028
45029 eval "$as_ac_var=no"
45030 fi
45031
45032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45033 conftest$ac_exeext conftest.$ac_ext
45034 fi
45035 ac_res=`eval echo '${'$as_ac_var'}'`
45036 { echo "$as_me:$LINENO: result: $ac_res" >&5
45037 echo "${ECHO_T}$ac_res" >&6; }
45038 if test `eval echo '${'$as_ac_var'}'` = yes; then
45039 cat >>confdefs.h <<_ACEOF
45040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45041 _ACEOF
45042
45043 fi
45044 done
45045
45046
45047 if test "$ac_cv_func_localtime" = "yes"; then
45048 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45049 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45050 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45051 echo $ECHO_N "(cached) $ECHO_C" >&6
45052 else
45053
45054 cat >conftest.$ac_ext <<_ACEOF
45055 /* confdefs.h. */
45056 _ACEOF
45057 cat confdefs.h >>conftest.$ac_ext
45058 cat >>conftest.$ac_ext <<_ACEOF
45059 /* end confdefs.h. */
45060
45061 #include <time.h>
45062
45063 int
45064 main ()
45065 {
45066
45067 struct tm tm;
45068 tm.tm_gmtoff++;
45069
45070 ;
45071 return 0;
45072 }
45073 _ACEOF
45074 rm -f conftest.$ac_objext
45075 if { (ac_try="$ac_compile"
45076 case "(($ac_try" in
45077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45078 *) ac_try_echo=$ac_try;;
45079 esac
45080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45081 (eval "$ac_compile") 2>conftest.er1
45082 ac_status=$?
45083 grep -v '^ *+' conftest.er1 >conftest.err
45084 rm -f conftest.er1
45085 cat conftest.err >&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); } && {
45088 test -z "$ac_c_werror_flag" ||
45089 test ! -s conftest.err
45090 } && test -s conftest.$ac_objext; then
45091
45092 wx_cv_struct_tm_has_gmtoff=yes
45093
45094 else
45095 echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.$ac_ext >&5
45097
45098 wx_cv_struct_tm_has_gmtoff=no
45099
45100 fi
45101
45102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45103
45104 fi
45105 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45106 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45107 fi
45108
45109 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define WX_GMTOFF_IN_TM 1
45112 _ACEOF
45113
45114 fi
45115
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45117 fi
45118
45119
45120 if test "$wxUSE_SOCKETS" = "yes"; then
45121 if test "$wxUSE_MGL" = 1; then
45122 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45123 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45124 wxUSE_SOCKETS="no"
45125 fi
45126 fi
45127
45128 if test "$wxUSE_SOCKETS" = "yes"; then
45129 if test "$TOOLKIT" != "MSW"; then
45130 { echo "$as_me:$LINENO: checking for socket" >&5
45131 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45132 if test "${ac_cv_func_socket+set}" = set; then
45133 echo $ECHO_N "(cached) $ECHO_C" >&6
45134 else
45135 cat >conftest.$ac_ext <<_ACEOF
45136 /* confdefs.h. */
45137 _ACEOF
45138 cat confdefs.h >>conftest.$ac_ext
45139 cat >>conftest.$ac_ext <<_ACEOF
45140 /* end confdefs.h. */
45141 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45143 #define socket innocuous_socket
45144
45145 /* System header to define __stub macros and hopefully few prototypes,
45146 which can conflict with char socket (); below.
45147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45148 <limits.h> exists even on freestanding compilers. */
45149
45150 #ifdef __STDC__
45151 # include <limits.h>
45152 #else
45153 # include <assert.h>
45154 #endif
45155
45156 #undef socket
45157
45158 /* Override any GCC internal prototype to avoid an error.
45159 Use char because int might match the return type of a GCC
45160 builtin and then its argument prototype would still apply. */
45161 #ifdef __cplusplus
45162 extern "C"
45163 #endif
45164 char socket ();
45165 /* The GNU C library defines this for functions which it implements
45166 to always fail with ENOSYS. Some functions are actually named
45167 something starting with __ and the normal name is an alias. */
45168 #if defined __stub_socket || defined __stub___socket
45169 choke me
45170 #endif
45171
45172 int
45173 main ()
45174 {
45175 return socket ();
45176 ;
45177 return 0;
45178 }
45179 _ACEOF
45180 rm -f conftest.$ac_objext conftest$ac_exeext
45181 if { (ac_try="$ac_link"
45182 case "(($ac_try" in
45183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45184 *) ac_try_echo=$ac_try;;
45185 esac
45186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45187 (eval "$ac_link") 2>conftest.er1
45188 ac_status=$?
45189 grep -v '^ *+' conftest.er1 >conftest.err
45190 rm -f conftest.er1
45191 cat conftest.err >&5
45192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45193 (exit $ac_status); } && {
45194 test -z "$ac_c_werror_flag" ||
45195 test ! -s conftest.err
45196 } && test -s conftest$ac_exeext &&
45197 $as_test_x conftest$ac_exeext; then
45198 ac_cv_func_socket=yes
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203 ac_cv_func_socket=no
45204 fi
45205
45206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45207 conftest$ac_exeext conftest.$ac_ext
45208 fi
45209 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45210 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45211 if test $ac_cv_func_socket = yes; then
45212 :
45213 else
45214
45215 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45216 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45217 if test "${ac_cv_lib_socket_socket+set}" = set; then
45218 echo $ECHO_N "(cached) $ECHO_C" >&6
45219 else
45220 ac_check_lib_save_LIBS=$LIBS
45221 LIBS="-lsocket $LIBS"
45222 cat >conftest.$ac_ext <<_ACEOF
45223 /* confdefs.h. */
45224 _ACEOF
45225 cat confdefs.h >>conftest.$ac_ext
45226 cat >>conftest.$ac_ext <<_ACEOF
45227 /* end confdefs.h. */
45228
45229 /* Override any GCC internal prototype to avoid an error.
45230 Use char because int might match the return type of a GCC
45231 builtin and then its argument prototype would still apply. */
45232 #ifdef __cplusplus
45233 extern "C"
45234 #endif
45235 char socket ();
45236 int
45237 main ()
45238 {
45239 return socket ();
45240 ;
45241 return 0;
45242 }
45243 _ACEOF
45244 rm -f conftest.$ac_objext conftest$ac_exeext
45245 if { (ac_try="$ac_link"
45246 case "(($ac_try" in
45247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45248 *) ac_try_echo=$ac_try;;
45249 esac
45250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45251 (eval "$ac_link") 2>conftest.er1
45252 ac_status=$?
45253 grep -v '^ *+' conftest.er1 >conftest.err
45254 rm -f conftest.er1
45255 cat conftest.err >&5
45256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45257 (exit $ac_status); } && {
45258 test -z "$ac_c_werror_flag" ||
45259 test ! -s conftest.err
45260 } && test -s conftest$ac_exeext &&
45261 $as_test_x conftest$ac_exeext; then
45262 ac_cv_lib_socket_socket=yes
45263 else
45264 echo "$as_me: failed program was:" >&5
45265 sed 's/^/| /' conftest.$ac_ext >&5
45266
45267 ac_cv_lib_socket_socket=no
45268 fi
45269
45270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45271 conftest$ac_exeext conftest.$ac_ext
45272 LIBS=$ac_check_lib_save_LIBS
45273 fi
45274 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45275 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45276 if test $ac_cv_lib_socket_socket = yes; then
45277 if test "$INET_LINK" != " -lsocket"; then
45278 INET_LINK="$INET_LINK -lsocket"
45279 fi
45280 else
45281
45282 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45283 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45284 wxUSE_SOCKETS=no
45285
45286
45287 fi
45288
45289
45290
45291 fi
45292
45293 fi
45294 fi
45295
45296 if test "$wxUSE_SOCKETS" = "yes" ; then
45297 if test "$TOOLKIT" != "MSW"; then
45298 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45299 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45300 if test "${wx_cv_type_getsockname3+set}" = set; then
45301 echo $ECHO_N "(cached) $ECHO_C" >&6
45302 else
45303
45304 ac_ext=cpp
45305 ac_cpp='$CXXCPP $CPPFLAGS'
45306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45309
45310 cat >conftest.$ac_ext <<_ACEOF
45311 /* confdefs.h. */
45312 _ACEOF
45313 cat confdefs.h >>conftest.$ac_ext
45314 cat >>conftest.$ac_ext <<_ACEOF
45315 /* end confdefs.h. */
45316
45317 #include <sys/types.h>
45318 #include <sys/socket.h>
45319
45320 int
45321 main ()
45322 {
45323
45324 socklen_t len;
45325 getsockname(0, 0, &len);
45326
45327 ;
45328 return 0;
45329 }
45330 _ACEOF
45331 rm -f conftest.$ac_objext
45332 if { (ac_try="$ac_compile"
45333 case "(($ac_try" in
45334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45335 *) ac_try_echo=$ac_try;;
45336 esac
45337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45338 (eval "$ac_compile") 2>conftest.er1
45339 ac_status=$?
45340 grep -v '^ *+' conftest.er1 >conftest.err
45341 rm -f conftest.er1
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } && {
45345 test -z "$ac_cxx_werror_flag" ||
45346 test ! -s conftest.err
45347 } && test -s conftest.$ac_objext; then
45348 wx_cv_type_getsockname3=socklen_t
45349 else
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.$ac_ext >&5
45352
45353
45354 CFLAGS_OLD="$CFLAGS"
45355 if test "$GCC" = yes ; then
45356 CFLAGS="-Werror $CFLAGS"
45357 fi
45358
45359 cat >conftest.$ac_ext <<_ACEOF
45360 /* confdefs.h. */
45361 _ACEOF
45362 cat confdefs.h >>conftest.$ac_ext
45363 cat >>conftest.$ac_ext <<_ACEOF
45364 /* end confdefs.h. */
45365
45366 #include <sys/types.h>
45367 #include <sys/socket.h>
45368
45369 int
45370 main ()
45371 {
45372
45373 size_t len;
45374 getsockname(0, 0, &len);
45375
45376 ;
45377 return 0;
45378 }
45379 _ACEOF
45380 rm -f conftest.$ac_objext
45381 if { (ac_try="$ac_compile"
45382 case "(($ac_try" in
45383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45384 *) ac_try_echo=$ac_try;;
45385 esac
45386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45387 (eval "$ac_compile") 2>conftest.er1
45388 ac_status=$?
45389 grep -v '^ *+' conftest.er1 >conftest.err
45390 rm -f conftest.er1
45391 cat conftest.err >&5
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); } && {
45394 test -z "$ac_cxx_werror_flag" ||
45395 test ! -s conftest.err
45396 } && test -s conftest.$ac_objext; then
45397 wx_cv_type_getsockname3=size_t
45398 else
45399 echo "$as_me: failed program was:" >&5
45400 sed 's/^/| /' conftest.$ac_ext >&5
45401
45402 cat >conftest.$ac_ext <<_ACEOF
45403 /* confdefs.h. */
45404 _ACEOF
45405 cat confdefs.h >>conftest.$ac_ext
45406 cat >>conftest.$ac_ext <<_ACEOF
45407 /* end confdefs.h. */
45408
45409 #include <sys/types.h>
45410 #include <sys/socket.h>
45411
45412 int
45413 main ()
45414 {
45415
45416 int len;
45417 getsockname(0, 0, &len);
45418
45419 ;
45420 return 0;
45421 }
45422 _ACEOF
45423 rm -f conftest.$ac_objext
45424 if { (ac_try="$ac_compile"
45425 case "(($ac_try" in
45426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45427 *) ac_try_echo=$ac_try;;
45428 esac
45429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45430 (eval "$ac_compile") 2>conftest.er1
45431 ac_status=$?
45432 grep -v '^ *+' conftest.er1 >conftest.err
45433 rm -f conftest.er1
45434 cat conftest.err >&5
45435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45436 (exit $ac_status); } && {
45437 test -z "$ac_cxx_werror_flag" ||
45438 test ! -s conftest.err
45439 } && test -s conftest.$ac_objext; then
45440 wx_cv_type_getsockname3=int
45441 else
45442 echo "$as_me: failed program was:" >&5
45443 sed 's/^/| /' conftest.$ac_ext >&5
45444
45445 wx_cv_type_getsockname3=unknown
45446
45447 fi
45448
45449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45450
45451 fi
45452
45453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45454
45455 CFLAGS="$CFLAGS_OLD"
45456
45457
45458 fi
45459
45460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45461 ac_ext=c
45462 ac_cpp='$CPP $CPPFLAGS'
45463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45466
45467
45468 fi
45469 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45470 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45471
45472 if test "$wx_cv_type_getsockname3" = "unknown"; then
45473 wxUSE_SOCKETS=no
45474 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45475 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45476 else
45477 cat >>confdefs.h <<_ACEOF
45478 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45479 _ACEOF
45480
45481 fi
45482 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45483 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45484 if test "${wx_cv_type_getsockopt5+set}" = set; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45486 else
45487
45488 ac_ext=cpp
45489 ac_cpp='$CXXCPP $CPPFLAGS'
45490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45493
45494 cat >conftest.$ac_ext <<_ACEOF
45495 /* confdefs.h. */
45496 _ACEOF
45497 cat confdefs.h >>conftest.$ac_ext
45498 cat >>conftest.$ac_ext <<_ACEOF
45499 /* end confdefs.h. */
45500
45501 #include <sys/types.h>
45502 #include <sys/socket.h>
45503
45504 int
45505 main ()
45506 {
45507
45508 socklen_t len;
45509 getsockopt(0, 0, 0, 0, &len);
45510
45511 ;
45512 return 0;
45513 }
45514 _ACEOF
45515 rm -f conftest.$ac_objext
45516 if { (ac_try="$ac_compile"
45517 case "(($ac_try" in
45518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45519 *) ac_try_echo=$ac_try;;
45520 esac
45521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45522 (eval "$ac_compile") 2>conftest.er1
45523 ac_status=$?
45524 grep -v '^ *+' conftest.er1 >conftest.err
45525 rm -f conftest.er1
45526 cat conftest.err >&5
45527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528 (exit $ac_status); } && {
45529 test -z "$ac_cxx_werror_flag" ||
45530 test ! -s conftest.err
45531 } && test -s conftest.$ac_objext; then
45532 wx_cv_type_getsockopt5=socklen_t
45533 else
45534 echo "$as_me: failed program was:" >&5
45535 sed 's/^/| /' conftest.$ac_ext >&5
45536
45537
45538 cat >conftest.$ac_ext <<_ACEOF
45539 /* confdefs.h. */
45540 _ACEOF
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45544
45545 #include <sys/types.h>
45546 #include <sys/socket.h>
45547
45548 int
45549 main ()
45550 {
45551
45552 size_t len;
45553 getsockopt(0, 0, 0, 0, &len);
45554
45555 ;
45556 return 0;
45557 }
45558 _ACEOF
45559 rm -f conftest.$ac_objext
45560 if { (ac_try="$ac_compile"
45561 case "(($ac_try" in
45562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45563 *) ac_try_echo=$ac_try;;
45564 esac
45565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45566 (eval "$ac_compile") 2>conftest.er1
45567 ac_status=$?
45568 grep -v '^ *+' conftest.er1 >conftest.err
45569 rm -f conftest.er1
45570 cat conftest.err >&5
45571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45572 (exit $ac_status); } && {
45573 test -z "$ac_cxx_werror_flag" ||
45574 test ! -s conftest.err
45575 } && test -s conftest.$ac_objext; then
45576 wx_cv_type_getsockopt5=size_t
45577 else
45578 echo "$as_me: failed program was:" >&5
45579 sed 's/^/| /' conftest.$ac_ext >&5
45580
45581 cat >conftest.$ac_ext <<_ACEOF
45582 /* confdefs.h. */
45583 _ACEOF
45584 cat confdefs.h >>conftest.$ac_ext
45585 cat >>conftest.$ac_ext <<_ACEOF
45586 /* end confdefs.h. */
45587
45588 #include <sys/types.h>
45589 #include <sys/socket.h>
45590
45591 int
45592 main ()
45593 {
45594
45595 int len;
45596 getsockopt(0, 0, 0, 0, &len);
45597
45598 ;
45599 return 0;
45600 }
45601 _ACEOF
45602 rm -f conftest.$ac_objext
45603 if { (ac_try="$ac_compile"
45604 case "(($ac_try" in
45605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45606 *) ac_try_echo=$ac_try;;
45607 esac
45608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45609 (eval "$ac_compile") 2>conftest.er1
45610 ac_status=$?
45611 grep -v '^ *+' conftest.er1 >conftest.err
45612 rm -f conftest.er1
45613 cat conftest.err >&5
45614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45615 (exit $ac_status); } && {
45616 test -z "$ac_cxx_werror_flag" ||
45617 test ! -s conftest.err
45618 } && test -s conftest.$ac_objext; then
45619 wx_cv_type_getsockopt5=int
45620 else
45621 echo "$as_me: failed program was:" >&5
45622 sed 's/^/| /' conftest.$ac_ext >&5
45623
45624 wx_cv_type_getsockopt5=unknown
45625
45626 fi
45627
45628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45629
45630 fi
45631
45632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45633
45634
45635 fi
45636
45637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45638 ac_ext=c
45639 ac_cpp='$CPP $CPPFLAGS'
45640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45643
45644
45645 fi
45646 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45647 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45648
45649 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45650 wxUSE_SOCKETS=no
45651 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45652 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45653 else
45654 cat >>confdefs.h <<_ACEOF
45655 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45656 _ACEOF
45657
45658 fi
45659 fi
45660 fi
45661
45662 if test "$wxUSE_SOCKETS" = "yes" ; then
45663 if test "$wxUSE_IPV6" = "yes"; then
45664 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45665 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45666 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45667 echo $ECHO_N "(cached) $ECHO_C" >&6
45668 else
45669
45670 cat >conftest.$ac_ext <<_ACEOF
45671 /* confdefs.h. */
45672 _ACEOF
45673 cat confdefs.h >>conftest.$ac_ext
45674 cat >>conftest.$ac_ext <<_ACEOF
45675 /* end confdefs.h. */
45676
45677 #include <sys/types.h>
45678 #include <sys/socket.h>
45679 #include <netinet/in.h>
45680
45681 int
45682 main ()
45683 {
45684
45685 struct sockaddr_in6 sa6;
45686
45687 ;
45688 return 0;
45689 }
45690 _ACEOF
45691 rm -f conftest.$ac_objext
45692 if { (ac_try="$ac_compile"
45693 case "(($ac_try" in
45694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45695 *) ac_try_echo=$ac_try;;
45696 esac
45697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45698 (eval "$ac_compile") 2>conftest.er1
45699 ac_status=$?
45700 grep -v '^ *+' conftest.er1 >conftest.err
45701 rm -f conftest.er1
45702 cat conftest.err >&5
45703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45704 (exit $ac_status); } && {
45705 test -z "$ac_c_werror_flag" ||
45706 test ! -s conftest.err
45707 } && test -s conftest.$ac_objext; then
45708 wx_cv_type_sockaddr_in6=yes
45709 else
45710 echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713 wx_cv_type_sockaddr_in6=no
45714
45715 fi
45716
45717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45718
45719
45720 fi
45721 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45722 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45723
45724 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_IPV6 1
45727 _ACEOF
45728
45729 else
45730 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45731 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45732 fi
45733 fi
45734
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_SOCKETS 1
45737 _ACEOF
45738
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45740 fi
45741
45742 if test "$wxUSE_PROTOCOL" = "yes"; then
45743 if test "$wxUSE_SOCKETS" != "yes"; then
45744 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45745 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45746 wxUSE_PROTOCOL=no
45747 fi
45748 fi
45749
45750 if test "$wxUSE_PROTOCOL" = "yes"; then
45751 cat >>confdefs.h <<\_ACEOF
45752 #define wxUSE_PROTOCOL 1
45753 _ACEOF
45754
45755
45756 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_PROTOCOL_HTTP 1
45759 _ACEOF
45760
45761 fi
45762 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_PROTOCOL_FTP 1
45765 _ACEOF
45766
45767 fi
45768 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_PROTOCOL_FILE 1
45771 _ACEOF
45772
45773 fi
45774 else
45775 if test "$wxUSE_FS_INET" = "yes"; then
45776 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45777 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45778 wxUSE_FS_INET="no"
45779 fi
45780 fi
45781
45782 if test "$wxUSE_URL" = "yes"; then
45783 if test "$wxUSE_PROTOCOL" != "yes"; then
45784 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45785 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45786 wxUSE_URL=no
45787 fi
45788 if test "$wxUSE_URL" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_URL 1
45791 _ACEOF
45792
45793 fi
45794 fi
45795
45796 if test "$wxUSE_VARIANT" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_VARIANT 1
45799 _ACEOF
45800
45801 fi
45802
45803 if test "$wxUSE_FS_INET" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_FS_INET 1
45806 _ACEOF
45807
45808 fi
45809
45810
45811 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45812 wxUSE_JOYSTICK=no
45813
45814 if test "$TOOLKIT" = "MSW"; then
45815 wxUSE_JOYSTICK=yes
45816
45817 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45818 if test "$USE_DARWIN" = 1; then
45819 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45820 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45821 ac_ext=cpp
45822 ac_cpp='$CXXCPP $CPPFLAGS'
45823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45826
45827 cat >conftest.$ac_ext <<_ACEOF
45828 /* confdefs.h. */
45829 _ACEOF
45830 cat confdefs.h >>conftest.$ac_ext
45831 cat >>conftest.$ac_ext <<_ACEOF
45832 /* end confdefs.h. */
45833 #include <IOKit/hid/IOHIDLib.h>
45834 int
45835 main ()
45836 {
45837 IOHIDQueueInterface *qi = NULL;
45838 IOHIDCallbackFunction cb = NULL;
45839 qi->setEventCallout(NULL, cb, NULL, NULL);
45840 ;
45841 return 0;
45842 }
45843 _ACEOF
45844 rm -f conftest.$ac_objext
45845 if { (ac_try="$ac_compile"
45846 case "(($ac_try" in
45847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45848 *) ac_try_echo=$ac_try;;
45849 esac
45850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45851 (eval "$ac_compile") 2>conftest.er1
45852 ac_status=$?
45853 grep -v '^ *+' conftest.er1 >conftest.err
45854 rm -f conftest.er1
45855 cat conftest.err >&5
45856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45857 (exit $ac_status); } && {
45858 test -z "$ac_cxx_werror_flag" ||
45859 test ! -s conftest.err
45860 } && test -s conftest.$ac_objext; then
45861 wxUSE_JOYSTICK=yes
45862
45863 else
45864 echo "$as_me: failed program was:" >&5
45865 sed 's/^/| /' conftest.$ac_ext >&5
45866
45867
45868 fi
45869
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871 ac_ext=c
45872 ac_cpp='$CPP $CPPFLAGS'
45873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45876
45877 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45878 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45879 fi
45880
45881 else
45882 if test "$wxUSE_MGL" != 1; then
45883
45884 for ac_header in linux/joystick.h
45885 do
45886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45890 echo $ECHO_N "(cached) $ECHO_C" >&6
45891 else
45892 cat >conftest.$ac_ext <<_ACEOF
45893 /* confdefs.h. */
45894 _ACEOF
45895 cat confdefs.h >>conftest.$ac_ext
45896 cat >>conftest.$ac_ext <<_ACEOF
45897 /* end confdefs.h. */
45898 $ac_includes_default
45899
45900 #include <$ac_header>
45901 _ACEOF
45902 rm -f conftest.$ac_objext
45903 if { (ac_try="$ac_compile"
45904 case "(($ac_try" in
45905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45906 *) ac_try_echo=$ac_try;;
45907 esac
45908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45909 (eval "$ac_compile") 2>conftest.er1
45910 ac_status=$?
45911 grep -v '^ *+' conftest.er1 >conftest.err
45912 rm -f conftest.er1
45913 cat conftest.err >&5
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); } && {
45916 test -z "$ac_c_werror_flag" ||
45917 test ! -s conftest.err
45918 } && test -s conftest.$ac_objext; then
45919 eval "$as_ac_Header=yes"
45920 else
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45923
45924 eval "$as_ac_Header=no"
45925 fi
45926
45927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45928 fi
45929 ac_res=`eval echo '${'$as_ac_Header'}'`
45930 { echo "$as_me:$LINENO: result: $ac_res" >&5
45931 echo "${ECHO_T}$ac_res" >&6; }
45932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45933 cat >>confdefs.h <<_ACEOF
45934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45935 _ACEOF
45936 wxUSE_JOYSTICK=yes
45937 fi
45938
45939 done
45940
45941 fi
45942 fi
45943
45944 if test "$wxUSE_JOYSTICK" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_JOYSTICK 1
45947 _ACEOF
45948
45949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45950 else
45951 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45952 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45953 fi
45954 fi
45955
45956
45957
45958 if test "$wxUSE_FONTENUM" = "yes" ; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_FONTENUM 1
45961 _ACEOF
45962
45963 fi
45964
45965 if test "$wxUSE_FONTMAP" = "yes" ; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_FONTMAP 1
45968 _ACEOF
45969
45970 fi
45971
45972 if test "$wxUSE_UNICODE" = "yes" ; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_UNICODE 1
45975 _ACEOF
45976
45977
45978 if test "$USE_WIN32" != 1; then
45979 wxUSE_UNICODE_MSLU=no
45980 fi
45981
45982 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45983 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45984 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45985 if test "${ac_cv_lib_unicows_main+set}" = set; then
45986 echo $ECHO_N "(cached) $ECHO_C" >&6
45987 else
45988 ac_check_lib_save_LIBS=$LIBS
45989 LIBS="-lunicows $LIBS"
45990 cat >conftest.$ac_ext <<_ACEOF
45991 /* confdefs.h. */
45992 _ACEOF
45993 cat confdefs.h >>conftest.$ac_ext
45994 cat >>conftest.$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
45996
45997
45998 int
45999 main ()
46000 {
46001 return main ();
46002 ;
46003 return 0;
46004 }
46005 _ACEOF
46006 rm -f conftest.$ac_objext conftest$ac_exeext
46007 if { (ac_try="$ac_link"
46008 case "(($ac_try" in
46009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46010 *) ac_try_echo=$ac_try;;
46011 esac
46012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46013 (eval "$ac_link") 2>conftest.er1
46014 ac_status=$?
46015 grep -v '^ *+' conftest.er1 >conftest.err
46016 rm -f conftest.er1
46017 cat conftest.err >&5
46018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46019 (exit $ac_status); } && {
46020 test -z "$ac_c_werror_flag" ||
46021 test ! -s conftest.err
46022 } && test -s conftest$ac_exeext &&
46023 $as_test_x conftest$ac_exeext; then
46024 ac_cv_lib_unicows_main=yes
46025 else
46026 echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.$ac_ext >&5
46028
46029 ac_cv_lib_unicows_main=no
46030 fi
46031
46032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46033 conftest$ac_exeext conftest.$ac_ext
46034 LIBS=$ac_check_lib_save_LIBS
46035 fi
46036 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46037 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46038 if test $ac_cv_lib_unicows_main = yes; then
46039
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_UNICODE_MSLU 1
46042 _ACEOF
46043
46044
46045 else
46046
46047 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46048 Applications will only run on Windows NT/2000/XP!" >&5
46049 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46050 Applications will only run on Windows NT/2000/XP!" >&2;}
46051 wxUSE_UNICODE_MSLU=no
46052
46053 fi
46054
46055 fi
46056 fi
46057
46058 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_UNICODE_UTF8 1
46061 _ACEOF
46062
46063
46064 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_UTF8_LOCALE_ONLY 1
46067 _ACEOF
46068
46069 fi
46070 fi
46071
46072
46073 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_CONSTRAINTS 1
46076 _ACEOF
46077
46078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46079 fi
46080
46081 if test "$wxUSE_MDI" = "yes"; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_MDI 1
46084 _ACEOF
46085
46086
46087 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define wxUSE_MDI_ARCHITECTURE 1
46090 _ACEOF
46091
46092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46093 fi
46094 fi
46095
46096 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46099 _ACEOF
46100
46101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46102 fi
46103
46104 if test "$wxUSE_HELP" = "yes"; then
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_HELP 1
46107 _ACEOF
46108
46109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46110
46111 if test "$wxUSE_MSW" = 1; then
46112 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_MS_HTML_HELP 1
46115 _ACEOF
46116
46117 fi
46118 fi
46119
46120 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46121 if test "$wxUSE_HTML" = "yes"; then
46122 cat >>confdefs.h <<\_ACEOF
46123 #define wxUSE_WXHTML_HELP 1
46124 _ACEOF
46125
46126 else
46127 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46128 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46129 wxUSE_WXHTML_HELP=no
46130 fi
46131 fi
46132 fi
46133
46134 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_PRINTING_ARCHITECTURE 1
46137 _ACEOF
46138
46139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46140 fi
46141
46142 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46143 cat >>confdefs.h <<\_ACEOF
46144 #define wxUSE_POSTSCRIPT 1
46145 _ACEOF
46146
46147 fi
46148
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46151 _ACEOF
46152
46153
46154 if test "$wxUSE_SVG" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_SVG 1
46157 _ACEOF
46158
46159 fi
46160
46161
46162 if test "$wxUSE_METAFILE" = "yes"; then
46163 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46164 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46165 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46166 wxUSE_METAFILE=no
46167 fi
46168 fi
46169
46170
46171 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46172 -o "$wxUSE_CLIPBOARD" = "yes" \
46173 -o "$wxUSE_OLE" = "yes" \
46174 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46175 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46176 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46177 if test "${ac_cv_header_ole2_h+set}" = set; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46179 else
46180 cat >conftest.$ac_ext <<_ACEOF
46181 /* confdefs.h. */
46182 _ACEOF
46183 cat confdefs.h >>conftest.$ac_ext
46184 cat >>conftest.$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186
46187
46188 #include <ole2.h>
46189 _ACEOF
46190 rm -f conftest.$ac_objext
46191 if { (ac_try="$ac_compile"
46192 case "(($ac_try" in
46193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46194 *) ac_try_echo=$ac_try;;
46195 esac
46196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46197 (eval "$ac_compile") 2>conftest.er1
46198 ac_status=$?
46199 grep -v '^ *+' conftest.er1 >conftest.err
46200 rm -f conftest.er1
46201 cat conftest.err >&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); } && {
46204 test -z "$ac_c_werror_flag" ||
46205 test ! -s conftest.err
46206 } && test -s conftest.$ac_objext; then
46207 ac_cv_header_ole2_h=yes
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46211
46212 ac_cv_header_ole2_h=no
46213 fi
46214
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216 fi
46217 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46218 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46219
46220
46221
46222 if test "$ac_cv_header_ole2_h" = "yes" ; then
46223 if test "$GCC" = yes ; then
46224 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46225 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46226 cat >conftest.$ac_ext <<_ACEOF
46227 /* confdefs.h. */
46228 _ACEOF
46229 cat confdefs.h >>conftest.$ac_ext
46230 cat >>conftest.$ac_ext <<_ACEOF
46231 /* end confdefs.h. */
46232 #include <windows.h>
46233 #include <ole2.h>
46234 int
46235 main ()
46236 {
46237
46238 ;
46239 return 0;
46240 }
46241 _ACEOF
46242 rm -f conftest.$ac_objext
46243 if { (ac_try="$ac_compile"
46244 case "(($ac_try" in
46245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46246 *) ac_try_echo=$ac_try;;
46247 esac
46248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46249 (eval "$ac_compile") 2>conftest.er1
46250 ac_status=$?
46251 grep -v '^ *+' conftest.er1 >conftest.err
46252 rm -f conftest.er1
46253 cat conftest.err >&5
46254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46255 (exit $ac_status); } && {
46256 test -z "$ac_c_werror_flag" ||
46257 test ! -s conftest.err
46258 } && test -s conftest.$ac_objext; then
46259 { echo "$as_me:$LINENO: result: no" >&5
46260 echo "${ECHO_T}no" >&6; }
46261 else
46262 echo "$as_me: failed program was:" >&5
46263 sed 's/^/| /' conftest.$ac_ext >&5
46264
46265 { echo "$as_me:$LINENO: result: yes" >&5
46266 echo "${ECHO_T}yes" >&6; }
46267 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46268 fi
46269
46270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46271 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46272 if test "$wxUSE_OLE" = "yes" ; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_OLE 1
46275 _ACEOF
46276
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_OLE_AUTOMATION 1
46279 _ACEOF
46280
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_ACTIVEX 1
46283 _ACEOF
46284
46285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46286 fi
46287 fi
46288
46289 if test "$wxUSE_DATAOBJ" = "yes" ; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define wxUSE_DATAOBJ 1
46292 _ACEOF
46293
46294 fi
46295 else
46296 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46297 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46298
46299 wxUSE_CLIPBOARD=no
46300 wxUSE_DRAG_AND_DROP=no
46301 wxUSE_DATAOBJ=no
46302 wxUSE_OLE=no
46303 fi
46304
46305 if test "$wxUSE_METAFILE" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_METAFILE 1
46308 _ACEOF
46309
46310
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_ENH_METAFILE 1
46313 _ACEOF
46314
46315 fi
46316 fi
46317
46318 if test "$wxUSE_IPC" = "yes"; then
46319 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46320 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46321 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46322 wxUSE_IPC=no
46323 fi
46324
46325 if test "$wxUSE_IPC" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_IPC 1
46328 _ACEOF
46329
46330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46331 fi
46332 fi
46333
46334 if test "$wxUSE_DATAOBJ" = "yes"; then
46335 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46336 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46337 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46338 wxUSE_DATAOBJ=no
46339 else
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_DATAOBJ 1
46342 _ACEOF
46343
46344 fi
46345 else
46346 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46347 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46348 wxUSE_CLIPBOARD=no
46349 wxUSE_DRAG_AND_DROP=no
46350 fi
46351
46352 if test "$wxUSE_CLIPBOARD" = "yes"; then
46353 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46354 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46355 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46356 wxUSE_CLIPBOARD=no
46357 fi
46358
46359 if test "$wxUSE_CLIPBOARD" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_CLIPBOARD 1
46362 _ACEOF
46363
46364 fi
46365 fi
46366
46367 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46368 if test "$wxUSE_GTK" = 1; then
46369 if test "$WXGTK12" != 1; then
46370 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46371 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46372 wxUSE_DRAG_AND_DROP=no
46373 fi
46374 fi
46375
46376 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46377 "$wxUSE_DFB" = 1; then
46378 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46379 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46380 wxUSE_DRAG_AND_DROP=no
46381 fi
46382
46383 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_DRAG_AND_DROP 1
46386 _ACEOF
46387
46388 fi
46389
46390 fi
46391
46392 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46394 fi
46395
46396 if test "$wxUSE_CLIPBOARD" = "yes"; then
46397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46398 fi
46399
46400 if test "$wxUSE_SPLINES" = "yes" ; then
46401 cat >>confdefs.h <<\_ACEOF
46402 #define wxUSE_SPLINES 1
46403 _ACEOF
46404
46405 fi
46406
46407 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_MOUSEWHEEL 1
46410 _ACEOF
46411
46412 fi
46413
46414 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_UIACTIONSIMULATOR 1
46417 _ACEOF
46418
46419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
46420 fi
46421
46422
46423 USES_CONTROLS=0
46424 if test "$wxUSE_CONTROLS" = "yes"; then
46425 USES_CONTROLS=1
46426 fi
46427
46428 if test "$wxUSE_ACCEL" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_ACCEL 1
46431 _ACEOF
46432
46433 USES_CONTROLS=1
46434 fi
46435
46436 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_ANIMATIONCTRL 1
46439 _ACEOF
46440
46441 USES_CONTROLS=1
46442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46443 fi
46444
46445 if test "$wxUSE_BUTTON" = "yes"; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_BUTTON 1
46448 _ACEOF
46449
46450 USES_CONTROLS=1
46451 fi
46452
46453 if test "$wxUSE_BMPBUTTON" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_BMPBUTTON 1
46456 _ACEOF
46457
46458 USES_CONTROLS=1
46459 fi
46460
46461 if test "$wxUSE_CALCTRL" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_CALENDARCTRL 1
46464 _ACEOF
46465
46466 USES_CONTROLS=1
46467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46468 fi
46469
46470 if test "$wxUSE_CARET" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_CARET 1
46473 _ACEOF
46474
46475 USES_CONTROLS=1
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46477 fi
46478
46479 if test "$wxUSE_COLLPANE" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_COLLPANE 1
46482 _ACEOF
46483
46484 USES_CONTROLS=1
46485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46486 fi
46487
46488 if test "$wxUSE_COMBOBOX" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_COMBOBOX 1
46491 _ACEOF
46492
46493 USES_CONTROLS=1
46494 fi
46495
46496 if test "$wxUSE_COMBOCTRL" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_COMBOCTRL 1
46499 _ACEOF
46500
46501 USES_CONTROLS=1
46502 fi
46503
46504 if test "$wxUSE_CHOICE" = "yes"; then
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_CHOICE 1
46507 _ACEOF
46508
46509 USES_CONTROLS=1
46510 fi
46511
46512 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_CHOICEBOOK 1
46515 _ACEOF
46516
46517 USES_CONTROLS=1
46518 fi
46519
46520 if test "$wxUSE_CHECKBOX" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_CHECKBOX 1
46523 _ACEOF
46524
46525 USES_CONTROLS=1
46526 fi
46527
46528 if test "$wxUSE_CHECKLST" = "yes"; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_CHECKLISTBOX 1
46531 _ACEOF
46532
46533 USES_CONTROLS=1
46534 fi
46535
46536 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_COLOURPICKERCTRL 1
46539 _ACEOF
46540
46541 USES_CONTROLS=1
46542 fi
46543
46544 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_DATEPICKCTRL 1
46547 _ACEOF
46548
46549 USES_CONTROLS=1
46550 fi
46551
46552 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_DIRPICKERCTRL 1
46555 _ACEOF
46556
46557 USES_CONTROLS=1
46558 fi
46559
46560 if test "$wxUSE_FILECTRL" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_FILECTRL 1
46563 _ACEOF
46564
46565 USES_CONTROLS=1
46566 fi
46567
46568 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_FILEPICKERCTRL 1
46571 _ACEOF
46572
46573 USES_CONTROLS=1
46574 fi
46575
46576 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_FONTPICKERCTRL 1
46579 _ACEOF
46580
46581 USES_CONTROLS=1
46582 fi
46583
46584 if test "$wxUSE_DISPLAY" = "yes"; then
46585 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46586 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46587 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46588 wxUSE_DISPLAY=no
46589 else
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_DISPLAY 1
46592 _ACEOF
46593
46594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46595 fi
46596 fi
46597
46598 if test "$wxUSE_DETECT_SM" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_DETECT_SM 1
46601 _ACEOF
46602
46603 fi
46604
46605 if test "$wxUSE_GAUGE" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_GAUGE 1
46608 _ACEOF
46609
46610 USES_CONTROLS=1
46611 fi
46612
46613 if test "$wxUSE_GRID" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_GRID 1
46616 _ACEOF
46617
46618 USES_CONTROLS=1
46619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46620 fi
46621
46622 if test "$wxUSE_HEADERCTRL" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_HEADERCTRL 1
46625 _ACEOF
46626
46627 USES_CONTROLS=1
46628 fi
46629
46630 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_HYPERLINKCTRL 1
46633 _ACEOF
46634
46635 USES_CONTROLS=1
46636 fi
46637
46638 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_BITMAPCOMBOBOX 1
46641 _ACEOF
46642
46643 USES_CONTROLS=1
46644 fi
46645
46646 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_DATAVIEWCTRL 1
46649 _ACEOF
46650
46651 USES_CONTROLS=1
46652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46653 fi
46654
46655 if test "$wxUSE_IMAGLIST" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_IMAGLIST 1
46658 _ACEOF
46659
46660 fi
46661
46662 if test "$wxUSE_INFOBAR" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_INFOBAR 1
46665 _ACEOF
46666
46667 fi
46668
46669 if test "$wxUSE_LISTBOOK" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_LISTBOOK 1
46672 _ACEOF
46673
46674 USES_CONTROLS=1
46675 fi
46676
46677 if test "$wxUSE_LISTBOX" = "yes"; then
46678 cat >>confdefs.h <<\_ACEOF
46679 #define wxUSE_LISTBOX 1
46680 _ACEOF
46681
46682 USES_CONTROLS=1
46683 fi
46684
46685 if test "$wxUSE_LISTCTRL" = "yes"; then
46686 if test "$wxUSE_IMAGLIST" = "yes"; then
46687 cat >>confdefs.h <<\_ACEOF
46688 #define wxUSE_LISTCTRL 1
46689 _ACEOF
46690
46691 USES_CONTROLS=1
46692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46693 else
46694 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46695 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46696 fi
46697 fi
46698
46699 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_EDITABLELISTBOX 1
46702 _ACEOF
46703
46704 USES_CONTROLS=1
46705 fi
46706
46707 if test "$wxUSE_NOTEBOOK" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_NOTEBOOK 1
46710 _ACEOF
46711
46712 USES_CONTROLS=1
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46714 fi
46715
46716 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46717 cat >>confdefs.h <<\_ACEOF
46718 #define wxUSE_NOTIFICATION_MESSAGE 1
46719 _ACEOF
46720
46721 fi
46722
46723 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_ODCOMBOBOX 1
46726 _ACEOF
46727
46728 USES_CONTROLS=1
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46730 fi
46731
46732 if test "$wxUSE_RADIOBOX" = "yes"; then
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_RADIOBOX 1
46735 _ACEOF
46736
46737 USES_CONTROLS=1
46738 fi
46739
46740 if test "$wxUSE_RADIOBTN" = "yes"; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_RADIOBTN 1
46743 _ACEOF
46744
46745 USES_CONTROLS=1
46746 fi
46747
46748 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_REARRANGECTRL 1
46751 _ACEOF
46752
46753 fi
46754
46755 if test "$wxUSE_SASH" = "yes"; then
46756 cat >>confdefs.h <<\_ACEOF
46757 #define wxUSE_SASH 1
46758 _ACEOF
46759
46760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46761 fi
46762
46763 if test "$wxUSE_SCROLLBAR" = "yes"; then
46764 cat >>confdefs.h <<\_ACEOF
46765 #define wxUSE_SCROLLBAR 1
46766 _ACEOF
46767
46768 USES_CONTROLS=1
46769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46770 fi
46771
46772 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46773 cat >>confdefs.h <<\_ACEOF
46774 #define wxUSE_SEARCHCTRL 1
46775 _ACEOF
46776
46777 USES_CONTROLS=1
46778 fi
46779
46780 if test "$wxUSE_SLIDER" = "yes"; then
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_SLIDER 1
46783 _ACEOF
46784
46785 USES_CONTROLS=1
46786 fi
46787
46788 if test "$wxUSE_SPINBTN" = "yes"; then
46789 cat >>confdefs.h <<\_ACEOF
46790 #define wxUSE_SPINBTN 1
46791 _ACEOF
46792
46793 USES_CONTROLS=1
46794 fi
46795
46796 if test "$wxUSE_SPINCTRL" = "yes"; then
46797 cat >>confdefs.h <<\_ACEOF
46798 #define wxUSE_SPINCTRL 1
46799 _ACEOF
46800
46801 USES_CONTROLS=1
46802 fi
46803
46804 if test "$wxUSE_SPLITTER" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_SPLITTER 1
46807 _ACEOF
46808
46809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46810 fi
46811
46812 if test "$wxUSE_STATBMP" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_STATBMP 1
46815 _ACEOF
46816
46817 USES_CONTROLS=1
46818 fi
46819
46820 if test "$wxUSE_STATBOX" = "yes"; then
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_STATBOX 1
46823 _ACEOF
46824
46825 USES_CONTROLS=1
46826 fi
46827
46828 if test "$wxUSE_STATTEXT" = "yes"; then
46829 cat >>confdefs.h <<\_ACEOF
46830 #define wxUSE_STATTEXT 1
46831 _ACEOF
46832
46833 USES_CONTROLS=1
46834 fi
46835
46836 if test "$wxUSE_STATLINE" = "yes"; then
46837 cat >>confdefs.h <<\_ACEOF
46838 #define wxUSE_STATLINE 1
46839 _ACEOF
46840
46841 USES_CONTROLS=1
46842 fi
46843
46844 if test "$wxUSE_STATUSBAR" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_NATIVE_STATUSBAR 1
46847 _ACEOF
46848
46849 cat >>confdefs.h <<\_ACEOF
46850 #define wxUSE_STATUSBAR 1
46851 _ACEOF
46852
46853 USES_CONTROLS=1
46854
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46856 fi
46857
46858 if test "$wxUSE_TEXTCTRL" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_TEXTCTRL 1
46861 _ACEOF
46862
46863 USES_CONTROLS=1
46864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46865
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_RICHEDIT 1
46868 _ACEOF
46869
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_RICHEDIT2 1
46872 _ACEOF
46873
46874 fi
46875
46876 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46877 if test "$wxUSE_OLD_COCOA" = 1 ; then
46878 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46879 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46880 wxUSE_TOGGLEBTN=no
46881 fi
46882
46883 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_TOGGLEBTN 1
46886 _ACEOF
46887
46888 USES_CONTROLS=1
46889 fi
46890 fi
46891
46892 if test "$wxUSE_TOOLBAR" = "yes"; then
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_TOOLBAR 1
46895 _ACEOF
46896
46897 USES_CONTROLS=1
46898
46899 if test "$wxUSE_UNIVERSAL" = "yes"; then
46900 wxUSE_TOOLBAR_NATIVE="no"
46901 else
46902 wxUSE_TOOLBAR_NATIVE="yes"
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_TOOLBAR_NATIVE 1
46905 _ACEOF
46906
46907 fi
46908
46909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46910 fi
46911
46912 if test "$wxUSE_TOOLTIPS" = "yes"; then
46913 if test "$wxUSE_MOTIF" = 1; then
46914 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46915 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46916 else
46917 if test "$wxUSE_UNIVERSAL" = "yes"; then
46918 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46919 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46920 else
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_TOOLTIPS 1
46923 _ACEOF
46924
46925 fi
46926 fi
46927 fi
46928
46929 if test "$wxUSE_TREEBOOK" = "yes"; then
46930 cat >>confdefs.h <<\_ACEOF
46931 #define wxUSE_TREEBOOK 1
46932 _ACEOF
46933
46934 USES_CONTROLS=1
46935 fi
46936
46937 if test "$wxUSE_TOOLBOOK" = "yes"; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_TOOLBOOK 1
46940 _ACEOF
46941
46942 USES_CONTROLS=1
46943 fi
46944
46945 if test "$wxUSE_TREECTRL" = "yes"; then
46946 if test "$wxUSE_IMAGLIST" = "yes"; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_TREECTRL 1
46949 _ACEOF
46950
46951 USES_CONTROLS=1
46952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46953 else
46954 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46955 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46956 fi
46957 fi
46958
46959 if test "$wxUSE_POPUPWIN" = "yes"; then
46960 if test "$wxUSE_OLD_COCOA" = 1 ; then
46961 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46962 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46963 else
46964 if test "$wxUSE_PM" = 1; then
46965 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46966 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46967 else
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_POPUPWIN 1
46970 _ACEOF
46971
46972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46973
46974 USES_CONTROLS=1
46975 fi
46976 fi
46977 fi
46978
46979 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46980 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46981 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46982 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46983 else
46984 cat >>confdefs.h <<\_ACEOF
46985 #define wxUSE_DIALUP_MANAGER 1
46986 _ACEOF
46987
46988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46989 fi
46990 fi
46991
46992 if test "$wxUSE_TIPWINDOW" = "yes"; then
46993 if test "$wxUSE_PM" = 1; then
46994 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46995 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46996 else
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_TIPWINDOW 1
46999 _ACEOF
47000
47001 fi
47002 fi
47003
47004 if test "$USES_CONTROLS" = 1; then
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_CONTROLS 1
47007 _ACEOF
47008
47009 fi
47010
47011
47012 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_ACCESSIBILITY 1
47015 _ACEOF
47016
47017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47018 fi
47019
47020 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47021 cat >>confdefs.h <<\_ACEOF
47022 #define wxUSE_DRAGIMAGE 1
47023 _ACEOF
47024
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47026 fi
47027
47028 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47029 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47030 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47031 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47032 else
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_EXCEPTIONS 1
47035 _ACEOF
47036
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47038 fi
47039 fi
47040
47041 USE_HTML=0
47042 if test "$wxUSE_HTML" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_HTML 1
47045 _ACEOF
47046
47047 USE_HTML=1
47048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47049 fi
47050 if test "$wxUSE_WEBKIT" = "yes"; then
47051 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47052 old_CPPFLAGS="$CPPFLAGS"
47053 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47054 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47055 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47056 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47058 else
47059 cat >conftest.$ac_ext <<_ACEOF
47060 /* confdefs.h. */
47061 _ACEOF
47062 cat confdefs.h >>conftest.$ac_ext
47063 cat >>conftest.$ac_ext <<_ACEOF
47064 /* end confdefs.h. */
47065
47066 #include <Carbon/Carbon.h>
47067 #include <WebKit/WebKit.h>
47068
47069
47070 #include <WebKit/HIWebView.h>
47071 _ACEOF
47072 rm -f conftest.$ac_objext
47073 if { (ac_try="$ac_compile"
47074 case "(($ac_try" in
47075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47076 *) ac_try_echo=$ac_try;;
47077 esac
47078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47079 (eval "$ac_compile") 2>conftest.er1
47080 ac_status=$?
47081 grep -v '^ *+' conftest.er1 >conftest.err
47082 rm -f conftest.er1
47083 cat conftest.err >&5
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); } && {
47086 test -z "$ac_c_werror_flag" ||
47087 test ! -s conftest.err
47088 } && test -s conftest.$ac_objext; then
47089 ac_cv_header_WebKit_HIWebView_h=yes
47090 else
47091 echo "$as_me: failed program was:" >&5
47092 sed 's/^/| /' conftest.$ac_ext >&5
47093
47094 ac_cv_header_WebKit_HIWebView_h=no
47095 fi
47096
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 fi
47099 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47100 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47101 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47102
47103 cat >>confdefs.h <<\_ACEOF
47104 #define wxUSE_WEBKIT 1
47105 _ACEOF
47106
47107 WEBKIT_LINK="-framework WebKit"
47108
47109 else
47110
47111 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47112 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47113 wxUSE_WEBKIT=no
47114
47115 fi
47116
47117
47118 CPPFLAGS="$old_CPPFLAGS"
47119 elif test "$wxUSE_OLD_COCOA" = 1; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_WEBKIT 1
47122 _ACEOF
47123
47124 else
47125 wxUSE_WEBKIT=no
47126 fi
47127 if test "$wxUSE_WEBKIT" = "yes"; then
47128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47129 fi
47130 fi
47131
47132 USE_XRC=0
47133 if test "$wxUSE_XRC" = "yes"; then
47134 if test "$wxUSE_XML" != "yes"; then
47135 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47136 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47137 wxUSE_XRC=no
47138 else
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_XRC 1
47141 _ACEOF
47142
47143 USE_XRC=1
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47145 fi
47146 fi
47147
47148 USE_AUI=0
47149 if test "$wxUSE_AUI" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_AUI 1
47152 _ACEOF
47153
47154 USE_AUI=1
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47156 fi
47157
47158 USE_PROPGRID=0
47159 if test "$wxUSE_PROPGRID" = "yes"; then
47160 cat >>confdefs.h <<\_ACEOF
47161 #define wxUSE_PROPGRID 1
47162 _ACEOF
47163
47164 USE_PROPGRID=1
47165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47166 fi
47167
47168 USE_RIBBON=0
47169 if test "$wxUSE_RIBBON" = "yes"; then
47170 cat >>confdefs.h <<\_ACEOF
47171 #define wxUSE_RIBBON 1
47172 _ACEOF
47173
47174 USE_RIBBON=1
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47176 fi
47177
47178 USE_STC=0
47179 if test "$wxUSE_STC" = "yes"; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_STC 1
47182 _ACEOF
47183
47184 USE_STC=1
47185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47186
47187 # Extract the first word of "python", so it can be a program name with args.
47188 set dummy python; ac_word=$2
47189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47191 if test "${ac_cv_path_PYTHON+set}" = set; then
47192 echo $ECHO_N "(cached) $ECHO_C" >&6
47193 else
47194 case $PYTHON in
47195 [\\/]* | ?:[\\/]*)
47196 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47197 ;;
47198 *)
47199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47200 for as_dir in $PATH
47201 do
47202 IFS=$as_save_IFS
47203 test -z "$as_dir" && as_dir=.
47204 for ac_exec_ext in '' $ac_executable_extensions; do
47205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47206 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47208 break 2
47209 fi
47210 done
47211 done
47212 IFS=$as_save_IFS
47213
47214 ;;
47215 esac
47216 fi
47217 PYTHON=$ac_cv_path_PYTHON
47218 if test -n "$PYTHON"; then
47219 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47220 echo "${ECHO_T}$PYTHON" >&6; }
47221 else
47222 { echo "$as_me:$LINENO: result: no" >&5
47223 echo "${ECHO_T}no" >&6; }
47224 fi
47225
47226
47227 if test "x$PYTHON" = "x"; then
47228 COND_PYTHON="#"
47229 fi
47230
47231 fi
47232
47233 if test "$wxUSE_MENUS" = "yes"; then
47234 cat >>confdefs.h <<\_ACEOF
47235 #define wxUSE_MENUS 1
47236 _ACEOF
47237
47238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47239 fi
47240
47241 if test "$wxUSE_METAFILE" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_METAFILE 1
47244 _ACEOF
47245
47246 fi
47247
47248 if test "$wxUSE_MIMETYPE" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_MIMETYPE 1
47251 _ACEOF
47252
47253 fi
47254
47255 if test "$wxUSE_MINIFRAME" = "yes"; then
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_MINIFRAME 1
47258 _ACEOF
47259
47260 fi
47261
47262 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_SYSTEM_OPTIONS 1
47265 _ACEOF
47266
47267 fi
47268
47269 if test "$wxUSE_TASKBARICON" = "yes"; then
47270 cat >>confdefs.h <<\_ACEOF
47271 #define wxUSE_TASKBARICON 1
47272 _ACEOF
47273
47274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47275 fi
47276
47277
47278 if test "$wxUSE_VALIDATORS" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_VALIDATORS 1
47281 _ACEOF
47282
47283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47284 fi
47285
47286 if test "$wxUSE_PALETTE" = "yes" ; then
47287 if test "$wxUSE_DFB" = 1; then
47288 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47289 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47290 wxUSE_PALETTE=no
47291 else
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_PALETTE 1
47294 _ACEOF
47295
47296 fi
47297 fi
47298
47299 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47300 LIBS=" -lunicows $LIBS"
47301 fi
47302
47303 USE_RICHTEXT=0
47304 if test "$wxUSE_RICHTEXT" = "yes"; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_RICHTEXT 1
47307 _ACEOF
47308
47309 USE_RICHTEXT=1
47310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47311 fi
47312
47313
47314 if test "$wxUSE_IMAGE" = "yes" ; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_IMAGE 1
47317 _ACEOF
47318
47319
47320 if test "$wxUSE_GIF" = "yes" ; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_GIF 1
47323 _ACEOF
47324
47325 fi
47326
47327 if test "$wxUSE_PCX" = "yes" ; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_PCX 1
47330 _ACEOF
47331
47332 fi
47333
47334 if test "$wxUSE_TGA" = "yes" ; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_TGA 1
47337 _ACEOF
47338
47339 fi
47340
47341 if test "$wxUSE_IFF" = "yes" ; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_IFF 1
47344 _ACEOF
47345
47346 fi
47347
47348 if test "$wxUSE_PNM" = "yes" ; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_PNM 1
47351 _ACEOF
47352
47353 fi
47354
47355 if test "$wxUSE_XPM" = "yes" ; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_XPM 1
47358 _ACEOF
47359
47360 fi
47361
47362 if test "$wxUSE_ICO_CUR" = "yes" ; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_ICO_CUR 1
47365 _ACEOF
47366
47367 fi
47368 fi
47369
47370
47371 if test "$wxUSE_ABOUTDLG" = "yes"; then
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_ABOUTDLG 1
47374 _ACEOF
47375
47376 fi
47377
47378 if test "$wxUSE_CHOICEDLG" = "yes"; then
47379 cat >>confdefs.h <<\_ACEOF
47380 #define wxUSE_CHOICEDLG 1
47381 _ACEOF
47382
47383 fi
47384
47385 if test "$wxUSE_COLOURDLG" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_COLOURDLG 1
47388 _ACEOF
47389
47390 fi
47391
47392 if test "$wxUSE_FILEDLG" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_FILEDLG 1
47395 _ACEOF
47396
47397 fi
47398
47399 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_FINDREPLDLG 1
47402 _ACEOF
47403
47404 fi
47405
47406 if test "$wxUSE_FONTDLG" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_FONTDLG 1
47409 _ACEOF
47410
47411 fi
47412
47413 if test "$wxUSE_DIRDLG" = "yes"; then
47414 if test "$wxUSE_TREECTRL" != "yes"; then
47415 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47416 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47417 else
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_DIRDLG 1
47420 _ACEOF
47421
47422 fi
47423 fi
47424
47425 if test "$wxUSE_MSGDLG" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_MSGDLG 1
47428 _ACEOF
47429
47430 fi
47431
47432 if test "$wxUSE_NUMBERDLG" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_NUMBERDLG 1
47435 _ACEOF
47436
47437 fi
47438
47439 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_PROGRESSDLG 1
47442 _ACEOF
47443
47444 fi
47445
47446 if test "$wxUSE_SPLASH" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_SPLASH 1
47449 _ACEOF
47450
47451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47452 fi
47453
47454 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_STARTUP_TIPS 1
47457 _ACEOF
47458
47459 fi
47460
47461 if test "$wxUSE_TEXTDLG" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_TEXTDLG 1
47464 _ACEOF
47465
47466 fi
47467
47468 if test "$wxUSE_WIZARDDLG" = "yes"; then
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_WIZARDDLG 1
47471 _ACEOF
47472
47473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47474 fi
47475
47476
47477 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47478 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_OWNER_DRAWN 1
47481 _ACEOF
47482
47483 fi
47484 fi
47485
47486
47487 if test "$wxUSE_MSW" = 1 ; then
47488
47489 if test "$wxUSE_DC_CACHEING" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_DC_CACHEING 1
47492 _ACEOF
47493
47494 fi
47495
47496 if test "$wxUSE_DIB" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_WXDIB 1
47499 _ACEOF
47500
47501 fi
47502
47503 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47506 _ACEOF
47507
47508 fi
47509
47510 if test "$wxUSE_UXTHEME" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_UXTHEME 1
47513 _ACEOF
47514
47515 fi
47516
47517 fi
47518
47519 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_AUTOID_MANAGEMENT 1
47522 _ACEOF
47523
47524 fi
47525
47526 if test "$USE_WIN32" = 1 ; then
47527 if test "$wxUSE_INICONF" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_INICONF 1
47530 _ACEOF
47531
47532 fi
47533
47534 if test "$wxUSE_REGKEY" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_REGKEY 1
47537 _ACEOF
47538
47539 fi
47540 fi
47541
47542
47543 if test "$wxUSE_MAC" = 1; then
47544 wxUSE_GRAPHICS_CONTEXT="yes"
47545 fi
47546
47547 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47548 wx_has_graphics=0
47549 if test "$wxUSE_MSW" = 1; then
47550 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47551 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47552 if test "${wx_cv_lib_gdiplus+set}" = set; then
47553 echo $ECHO_N "(cached) $ECHO_C" >&6
47554 else
47555
47556 ac_ext=cpp
47557 ac_cpp='$CXXCPP $CPPFLAGS'
47558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47561
47562 cat >conftest.$ac_ext <<_ACEOF
47563 /* confdefs.h. */
47564 _ACEOF
47565 cat confdefs.h >>conftest.$ac_ext
47566 cat >>conftest.$ac_ext <<_ACEOF
47567 /* end confdefs.h. */
47568 #include <windows.h>
47569 #include <gdiplus.h>
47570 int
47571 main ()
47572 {
47573
47574 using namespace Gdiplus;
47575
47576 ;
47577 return 0;
47578 }
47579 _ACEOF
47580 rm -f conftest.$ac_objext
47581 if { (ac_try="$ac_compile"
47582 case "(($ac_try" in
47583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47584 *) ac_try_echo=$ac_try;;
47585 esac
47586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47587 (eval "$ac_compile") 2>conftest.er1
47588 ac_status=$?
47589 grep -v '^ *+' conftest.er1 >conftest.err
47590 rm -f conftest.er1
47591 cat conftest.err >&5
47592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47593 (exit $ac_status); } && {
47594 test -z "$ac_cxx_werror_flag" ||
47595 test ! -s conftest.err
47596 } && test -s conftest.$ac_objext; then
47597 wx_cv_lib_gdiplus=yes
47598 else
47599 echo "$as_me: failed program was:" >&5
47600 sed 's/^/| /' conftest.$ac_ext >&5
47601
47602 wx_cv_lib_gdiplus=no
47603
47604 fi
47605
47606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47607 ac_ext=c
47608 ac_cpp='$CPP $CPPFLAGS'
47609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47612
47613
47614
47615 fi
47616 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47617 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47618 if test "$wx_cv_lib_gdiplus" = "yes"; then
47619 wx_has_graphics=1
47620 fi
47621 elif test "$wxUSE_GTK" = 1; then
47622
47623 pkg_failed=no
47624 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47625 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47626
47627 if test -n "$PKG_CONFIG"; then
47628 if test -n "$CAIRO_CFLAGS"; then
47629 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47630 else
47631 if test -n "$PKG_CONFIG" && \
47632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47633 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47634 ac_status=$?
47635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); }; then
47637 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47638 else
47639 pkg_failed=yes
47640 fi
47641 fi
47642 else
47643 pkg_failed=untried
47644 fi
47645 if test -n "$PKG_CONFIG"; then
47646 if test -n "$CAIRO_LIBS"; then
47647 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47648 else
47649 if test -n "$PKG_CONFIG" && \
47650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47651 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47652 ac_status=$?
47653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654 (exit $ac_status); }; then
47655 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47656 else
47657 pkg_failed=yes
47658 fi
47659 fi
47660 else
47661 pkg_failed=untried
47662 fi
47663
47664
47665
47666 if test $pkg_failed = yes; then
47667
47668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47669 _pkg_short_errors_supported=yes
47670 else
47671 _pkg_short_errors_supported=no
47672 fi
47673 if test $_pkg_short_errors_supported = yes; then
47674 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47675 else
47676 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47677 fi
47678 # Put the nasty error message in config.log where it belongs
47679 echo "$CAIRO_PKG_ERRORS" >&5
47680
47681 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47682 echo "$as_me: WARNING: Cairo library not found" >&2;}
47683
47684 elif test $pkg_failed = untried; then
47685 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47686 echo "$as_me: WARNING: Cairo library not found" >&2;}
47687
47688 else
47689 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47690 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47691 { echo "$as_me:$LINENO: result: yes" >&5
47692 echo "${ECHO_T}yes" >&6; }
47693 wx_has_graphics=1
47694 fi
47695 else
47696 wx_has_graphics=1
47697 fi
47698
47699 if test "$wx_has_graphics" = 1; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_GRAPHICS_CONTEXT 1
47702 _ACEOF
47703
47704 else
47705 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47706 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47707 fi
47708 fi
47709
47710
47711 USE_MEDIA=0
47712
47713 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47714 USE_MEDIA=1
47715
47716 if test "$wxUSE_GTK" = 1; then
47717 wxUSE_GSTREAMER="no"
47718
47719 GST_VERSION_MAJOR=0
47720 GST_VERSION_MINOR=10
47721 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47722
47723 if test "$wxUSE_GSTREAMER8" = "no"; then
47724
47725 pkg_failed=no
47726 { echo "$as_me:$LINENO: checking for GST" >&5
47727 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47728
47729 if test -n "$PKG_CONFIG"; then
47730 if test -n "$GST_CFLAGS"; then
47731 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47732 else
47733 if test -n "$PKG_CONFIG" && \
47734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47735 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47736 ac_status=$?
47737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47738 (exit $ac_status); }; then
47739 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47740 else
47741 pkg_failed=yes
47742 fi
47743 fi
47744 else
47745 pkg_failed=untried
47746 fi
47747 if test -n "$PKG_CONFIG"; then
47748 if test -n "$GST_LIBS"; then
47749 pkg_cv_GST_LIBS="$GST_LIBS"
47750 else
47751 if test -n "$PKG_CONFIG" && \
47752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47753 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47754 ac_status=$?
47755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47756 (exit $ac_status); }; then
47757 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47758 else
47759 pkg_failed=yes
47760 fi
47761 fi
47762 else
47763 pkg_failed=untried
47764 fi
47765
47766
47767
47768 if test $pkg_failed = yes; then
47769
47770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47771 _pkg_short_errors_supported=yes
47772 else
47773 _pkg_short_errors_supported=no
47774 fi
47775 if test $_pkg_short_errors_supported = yes; then
47776 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47777 else
47778 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47779 fi
47780 # Put the nasty error message in config.log where it belongs
47781 echo "$GST_PKG_ERRORS" >&5
47782
47783
47784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47786 GST_VERSION_MINOR=8
47787
47788
47789 elif test $pkg_failed = untried; then
47790
47791 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47792 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47793 GST_VERSION_MINOR=8
47794
47795
47796 else
47797 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47798 GST_LIBS=$pkg_cv_GST_LIBS
47799 { echo "$as_me:$LINENO: result: yes" >&5
47800 echo "${ECHO_T}yes" >&6; }
47801
47802 wxUSE_GSTREAMER="yes"
47803 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47804
47805 fi
47806 else
47807 GST_VERSION_MINOR=8
47808 fi
47809
47810 if test $GST_VERSION_MINOR = "8"; then
47811 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47812
47813 pkg_failed=no
47814 { echo "$as_me:$LINENO: checking for GST" >&5
47815 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47816
47817 if test -n "$PKG_CONFIG"; then
47818 if test -n "$GST_CFLAGS"; then
47819 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47820 else
47821 if test -n "$PKG_CONFIG" && \
47822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47823 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47824 ac_status=$?
47825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47826 (exit $ac_status); }; then
47827 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47828 else
47829 pkg_failed=yes
47830 fi
47831 fi
47832 else
47833 pkg_failed=untried
47834 fi
47835 if test -n "$PKG_CONFIG"; then
47836 if test -n "$GST_LIBS"; then
47837 pkg_cv_GST_LIBS="$GST_LIBS"
47838 else
47839 if test -n "$PKG_CONFIG" && \
47840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47841 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47842 ac_status=$?
47843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47844 (exit $ac_status); }; then
47845 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47846 else
47847 pkg_failed=yes
47848 fi
47849 fi
47850 else
47851 pkg_failed=untried
47852 fi
47853
47854
47855
47856 if test $pkg_failed = yes; then
47857
47858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47859 _pkg_short_errors_supported=yes
47860 else
47861 _pkg_short_errors_supported=no
47862 fi
47863 if test $_pkg_short_errors_supported = yes; then
47864 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47865 else
47866 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47867 fi
47868 # Put the nasty error message in config.log where it belongs
47869 echo "$GST_PKG_ERRORS" >&5
47870
47871
47872 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47873 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47874
47875 elif test $pkg_failed = untried; then
47876
47877 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47878 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47879
47880 else
47881 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47882 GST_LIBS=$pkg_cv_GST_LIBS
47883 { echo "$as_me:$LINENO: result: yes" >&5
47884 echo "${ECHO_T}yes" >&6; }
47885 wxUSE_GSTREAMER="yes"
47886 fi
47887 fi
47888
47889
47890 if test "$wxUSE_GSTREAMER" = "yes"; then
47891 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47892 EXTRALIBS_MEDIA="$GST_LIBS"
47893
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_GSTREAMER 1
47896 _ACEOF
47897
47898 else
47899 USE_MEDIA=0
47900 fi
47901 fi
47902
47903 if test $USE_MEDIA = 1; then
47904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47905 cat >>confdefs.h <<\_ACEOF
47906 #define wxUSE_MEDIACTRL 1
47907 _ACEOF
47908
47909 else
47910 if test "$wxUSE_MEDIACTRL" = "yes"; then
47911 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47912 echo "$as_me: error: GStreamer not available" >&2;}
47913 { (exit 1); exit 1; }; }
47914 else
47915 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47916 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47917 fi
47918 fi
47919 fi
47920
47921
47922 if test "$cross_compiling" != "no"; then
47923 OSINFO="\"$host\""
47924 else
47925 OSINFO=`uname -s -r -m`
47926 OSINFO="\"$OSINFO\""
47927 fi
47928
47929 cat >>confdefs.h <<_ACEOF
47930 #define WXWIN_OS_DESCRIPTION $OSINFO
47931 _ACEOF
47932
47933
47934
47935 if test "x$prefix" != "xNONE"; then
47936 wxPREFIX=$prefix
47937 else
47938 wxPREFIX=$ac_default_prefix
47939 fi
47940
47941 cat >>confdefs.h <<_ACEOF
47942 #define wxINSTALL_PREFIX "$wxPREFIX"
47943 _ACEOF
47944
47945
47946
47947
47948 STD_BASE_LIBS="base"
47949 STD_GUI_LIBS=""
47950 BUILT_WX_LIBS="base"
47951 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47952
47953 if test "$wxUSE_SOCKETS" = "yes" ; then
47954 STD_BASE_LIBS="net $STD_BASE_LIBS"
47955 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47956 fi
47957 if test "$wxUSE_XML" = "yes" ; then
47958 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47959 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47960 fi
47961
47962 if test "$wxUSE_GUI" = "yes"; then
47963 STD_GUI_LIBS="adv core"
47964 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47965
47966 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47967 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47968 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47969 fi
47970 if test "$wxUSE_HTML" = "yes" ; then
47971 STD_GUI_LIBS="html $STD_GUI_LIBS"
47972 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47973 fi
47974 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47975 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47976 fi
47977 if test "$wxUSE_OPENGL" = "yes" ; then
47978 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47979 fi
47980 if test "$wxUSE_AUI" = "yes" ; then
47981 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47982 fi
47983 if test "$wxUSE_PROPGRID" = "yes" ; then
47984 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47985 fi
47986 if test "$wxUSE_RIBBON" = "yes" ; then
47987 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47988 fi
47989 if test "$wxUSE_RICHTEXT" = "yes" ; then
47990 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47991 fi
47992 if test "$wxUSE_STC" = "yes" ; then
47993 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47994 fi
47995 if test "$wxUSE_XRC" = "yes" ; then
47996 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47997 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47998 fi
47999 fi
48000
48001
48002
48003
48004
48005
48006
48007 EXTRA_FRAMEWORKS=
48008 if test "$wxUSE_MAC" = 1 ; then
48009 if test "$USE_DARWIN" = 1; then
48010 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48011 fi
48012 fi
48013 if test "$wxUSE_OLD_COCOA" = 1 ; then
48014 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48015 if test "$wxUSE_MEDIACTRL" = "yes"; then
48016 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48017 fi
48018 fi
48019 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48020 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48021 fi
48022
48023 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48024 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48025
48026 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48027
48028 if test "$wxUSE_GUI" = "yes"; then
48029
48030
48031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48032 erase event exec font image minimal render \
48033 shaped svg taborder vscroll widgets wrapsizer"
48034
48035 if test "$wxUSE_MONOLITHIC" != "yes"; then
48036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48037 fi
48038 if test "$TOOLKIT" = "MSW"; then
48039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48040 if test "$wxUSE_UNIVERSAL" != "yes"; then
48041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48042 fi
48043 fi
48044 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48046 fi
48047 else
48048 SAMPLES_SUBDIRS="console"
48049 if test "$wxUSE_SOCKETS" = "yes" ; then
48050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48051 fi
48052 if test "$wxUSE_IPC" = "yes" ; then
48053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48054 fi
48055 fi
48056
48057
48058 if test "x$INTELCC" = "xyes" ; then
48059 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48060 elif test "$GCC" = yes ; then
48061 CWARNINGS="-Wall -Wundef"
48062 fi
48063
48064 if test "x$INTELCXX" = "xyes" ; then
48065 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48066 elif test "$GXX" = yes ; then
48067 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48068 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48069 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48070 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48071 echo $ECHO_N "(cached) $ECHO_C" >&6
48072 else
48073 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48074
48075 ac_ext=cpp
48076 ac_cpp='$CXXCPP $CPPFLAGS'
48077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48080
48081 ac_save_CXXFLAGS="$CXXFLAGS"
48082 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48083 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48084 cat >conftest.$ac_ext <<_ACEOF
48085 /* confdefs.h. */
48086 _ACEOF
48087 cat confdefs.h >>conftest.$ac_ext
48088 cat >>conftest.$ac_ext <<_ACEOF
48089 /* end confdefs.h. */
48090
48091 int
48092 main ()
48093 {
48094 return 0;
48095 ;
48096 return 0;
48097 }
48098 _ACEOF
48099 rm -f conftest.$ac_objext
48100 if { (ac_try="$ac_compile"
48101 case "(($ac_try" in
48102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48103 *) ac_try_echo=$ac_try;;
48104 esac
48105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48106 (eval "$ac_compile") 2>conftest.er1
48107 ac_status=$?
48108 grep -v '^ *+' conftest.er1 >conftest.err
48109 rm -f conftest.er1
48110 cat conftest.err >&5
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); } && {
48113 test -z "$ac_cxx_werror_flag" ||
48114 test ! -s conftest.err
48115 } && test -s conftest.$ac_objext; then
48116 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48117 else
48118 echo "$as_me: failed program was:" >&5
48119 sed 's/^/| /' conftest.$ac_ext >&5
48120
48121
48122 fi
48123
48124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48125 done
48126 CXXFLAGS="$ac_save_CXXFLAGS"
48127 ac_ext=c
48128 ac_cpp='$CPP $CPPFLAGS'
48129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48132
48133
48134 fi
48135 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48136 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48137 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48138 .ok|.ok,*) ;;
48139 .|.no|.no,*) ;;
48140 *)
48141 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48142 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48143 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48144 ac_status=$?
48145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48146 (exit $ac_status); }
48147 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48148 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }
48152 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48153 fi
48154 ;;
48155 esac
48156
48157
48158 if test "$wxUSE_MAC" = 1 ; then
48159 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48160 fi
48161 fi
48162
48163
48164 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48165 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48166
48167
48168 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48169 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48170 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48171 $CPPFLAGS `
48172
48173 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48174 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48175 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48176 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48177 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48178
48179 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48180
48181
48182 if test "x$MWCC" = "xyes"; then
48183
48184 CC="$CC -cwd source -I-"
48185 CXX="$CXX -cwd source -I-"
48186 fi
48187
48188
48189 LIBS=`echo $LIBS`
48190 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48191 EXTRALIBS_XML="$EXPAT_LINK"
48192 EXTRALIBS_HTML="$MSPACK_LINK"
48193 EXTRALIBS_MEDIA="$GST_LIBS"
48194 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48195 if test "$wxUSE_GUI" = "yes"; then
48196 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48197 fi
48198 if test "$wxUSE_OPENGL" = "yes"; then
48199 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48200 fi
48201
48202 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48203
48204 WXCONFIG_LIBS="$LIBS"
48205
48206 if test "$wxUSE_REGEX" = "builtin" ; then
48207 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48208 fi
48209 if test "$wxUSE_EXPAT" = "builtin" ; then
48210 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48211 fi
48212 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48213 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48214 fi
48215 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48216 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48217 fi
48218 if test "$wxUSE_LIBPNG" = "builtin" ; then
48219 wxconfig_3rdparty="png $wxconfig_3rdparty"
48220 fi
48221 if test "$wxUSE_ZLIB" = "builtin" ; then
48222 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48223 fi
48224
48225 for i in $wxconfig_3rdparty ; do
48226 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48227 done
48228
48229
48230 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48231 WXUNIV=1
48232
48233 case "$wxUNIV_THEMES" in
48234 ''|all)
48235 cat >>confdefs.h <<\_ACEOF
48236 #define wxUSE_ALL_THEMES 1
48237 _ACEOF
48238
48239 ;;
48240
48241 *)
48242 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48243 cat >>confdefs.h <<_ACEOF
48244 #define wxUSE_THEME_$t 1
48245 _ACEOF
48246
48247 done
48248 esac
48249 else
48250 WXUNIV=0
48251 fi
48252
48253
48254
48255
48256
48257
48258
48259
48260 if test $wxUSE_MONOLITHIC = "yes" ; then
48261 MONOLITHIC=1
48262 else
48263 MONOLITHIC=0
48264 fi
48265
48266 if test $wxUSE_PLUGINS = "yes" ; then
48267 USE_PLUGINS=1
48268 else
48269 USE_PLUGINS=0
48270 fi
48271
48272 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48273 USE_QA=1
48274 else
48275 USE_QA=0
48276 fi
48277
48278 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48279 OFFICIAL_BUILD=1
48280 else
48281 OFFICIAL_BUILD=0
48282 fi
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321 case "$TOOLKIT" in
48322 GTK)
48323 TOOLKIT_DESC="GTK+"
48324 if test "$WXGTK2" = 1; then
48325 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48326 if test "$wxUSE_GTKPRINT" = "yes" ; then
48327 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48328 fi
48329 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48330 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48331 fi
48332 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48333 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48334 fi
48335 if test "$wxUSE_LIBHILDON" = "yes"; then
48336 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48337 fi
48338 if test "$wxUSE_LIBHILDON2" = "yes"; then
48339 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48340 fi
48341
48342 if test "$TOOLKIT_EXTRA" != ""; then
48343 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48344 fi
48345 fi
48346 ;;
48347
48348 ?*)
48349 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48350 ;;
48351
48352 *)
48353 TOOLKIT_DESC="base only"
48354 ;;
48355 esac
48356
48357 if test "$wxUSE_WINE" = "yes"; then
48358 BAKEFILE_FORCE_PLATFORM=win32
48359 fi
48360
48361 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48362 then
48363 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48364 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48365 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48366 echo $ECHO_N "(cached) $ECHO_C" >&6
48367 else
48368
48369 echo '#include <stdio.h>
48370 const wchar_t test_var[] = L"awidetest";' > conftest.h
48371
48372 echo '#include "conftest.h"
48373 int main()
48374 {
48375 printf("%ls", test_var);
48376 return 0;
48377 }' > conftest.cpp
48378
48379 wx_cv_gcc_pch_bug="pch not supported"
48380
48381 if $CXX conftest.h >/dev/null 2>&1
48382 then
48383 wx_cv_gcc_pch_bug=
48384
48385 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48386 then
48387 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48388 grep awidetest >/dev/null
48389 then
48390 wx_cv_gcc_pch_bug=no
48391 else
48392 wx_cv_gcc_pch_bug=yes
48393 fi
48394 fi
48395 fi
48396
48397 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48398
48399 fi
48400 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48401 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48402
48403 if test "$wx_cv_gcc_pch_bug" = yes; then
48404 bk_use_pch=no
48405 fi
48406 fi
48407
48408
48409
48410
48411
48412
48413
48414 if test "x$BAKEFILE_HOST" = "x"; then
48415 if test "x${host}" = "x" ; then
48416 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48417 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48418 { (exit 1); exit 1; }; }
48419 fi
48420
48421 BAKEFILE_HOST="${host}"
48422 fi
48423
48424 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48425
48426 if test -n "$ac_tool_prefix"; then
48427 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48428 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48431 if test "${ac_cv_prog_RANLIB+set}" = set; then
48432 echo $ECHO_N "(cached) $ECHO_C" >&6
48433 else
48434 if test -n "$RANLIB"; then
48435 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48436 else
48437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48438 for as_dir in $PATH
48439 do
48440 IFS=$as_save_IFS
48441 test -z "$as_dir" && as_dir=.
48442 for ac_exec_ext in '' $ac_executable_extensions; do
48443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48444 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48446 break 2
48447 fi
48448 done
48449 done
48450 IFS=$as_save_IFS
48451
48452 fi
48453 fi
48454 RANLIB=$ac_cv_prog_RANLIB
48455 if test -n "$RANLIB"; then
48456 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48457 echo "${ECHO_T}$RANLIB" >&6; }
48458 else
48459 { echo "$as_me:$LINENO: result: no" >&5
48460 echo "${ECHO_T}no" >&6; }
48461 fi
48462
48463
48464 fi
48465 if test -z "$ac_cv_prog_RANLIB"; then
48466 ac_ct_RANLIB=$RANLIB
48467 # Extract the first word of "ranlib", so it can be a program name with args.
48468 set dummy ranlib; ac_word=$2
48469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48471 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48472 echo $ECHO_N "(cached) $ECHO_C" >&6
48473 else
48474 if test -n "$ac_ct_RANLIB"; then
48475 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48476 else
48477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48478 for as_dir in $PATH
48479 do
48480 IFS=$as_save_IFS
48481 test -z "$as_dir" && as_dir=.
48482 for ac_exec_ext in '' $ac_executable_extensions; do
48483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48484 ac_cv_prog_ac_ct_RANLIB="ranlib"
48485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48486 break 2
48487 fi
48488 done
48489 done
48490 IFS=$as_save_IFS
48491
48492 fi
48493 fi
48494 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48495 if test -n "$ac_ct_RANLIB"; then
48496 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48497 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48498 else
48499 { echo "$as_me:$LINENO: result: no" >&5
48500 echo "${ECHO_T}no" >&6; }
48501 fi
48502
48503 if test "x$ac_ct_RANLIB" = x; then
48504 RANLIB=":"
48505 else
48506 case $cross_compiling:$ac_tool_warned in
48507 yes:)
48508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48509 whose name does not start with the host triplet. If you think this
48510 configuration is useful to you, please write to autoconf@gnu.org." >&5
48511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48512 whose name does not start with the host triplet. If you think this
48513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48514 ac_tool_warned=yes ;;
48515 esac
48516 RANLIB=$ac_ct_RANLIB
48517 fi
48518 else
48519 RANLIB="$ac_cv_prog_RANLIB"
48520 fi
48521
48522 # Find a good install program. We prefer a C program (faster),
48523 # so one script is as good as another. But avoid the broken or
48524 # incompatible versions:
48525 # SysV /etc/install, /usr/sbin/install
48526 # SunOS /usr/etc/install
48527 # IRIX /sbin/install
48528 # AIX /bin/install
48529 # AmigaOS /C/install, which installs bootblocks on floppy discs
48530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48533 # OS/2's system install, which has a completely different semantic
48534 # ./install, which can be erroneously created by make from ./install.sh.
48535 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48537 if test -z "$INSTALL"; then
48538 if test "${ac_cv_path_install+set}" = set; then
48539 echo $ECHO_N "(cached) $ECHO_C" >&6
48540 else
48541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48542 for as_dir in $PATH
48543 do
48544 IFS=$as_save_IFS
48545 test -z "$as_dir" && as_dir=.
48546 # Account for people who put trailing slashes in PATH elements.
48547 case $as_dir/ in
48548 ./ | .// | /cC/* | \
48549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48550 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48551 /usr/ucb/* ) ;;
48552 *)
48553 # OSF1 and SCO ODT 3.0 have their own names for install.
48554 # Don't use installbsd from OSF since it installs stuff as root
48555 # by default.
48556 for ac_prog in ginstall scoinst install; do
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48559 if test $ac_prog = install &&
48560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48561 # AIX install. It has an incompatible calling convention.
48562 :
48563 elif test $ac_prog = install &&
48564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48565 # program-specific install script used by HP pwplus--don't use.
48566 :
48567 else
48568 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48569 break 3
48570 fi
48571 fi
48572 done
48573 done
48574 ;;
48575 esac
48576 done
48577 IFS=$as_save_IFS
48578
48579
48580 fi
48581 if test "${ac_cv_path_install+set}" = set; then
48582 INSTALL=$ac_cv_path_install
48583 else
48584 # As a last resort, use the slow shell script. Don't cache a
48585 # value for INSTALL within a source directory, because that will
48586 # break other packages using the cache if that directory is
48587 # removed, or if the value is a relative name.
48588 INSTALL=$ac_install_sh
48589 fi
48590 fi
48591 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48592 echo "${ECHO_T}$INSTALL" >&6; }
48593
48594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48595 # It thinks the first close brace ends the variable substitution.
48596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48597
48598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48599
48600 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48601
48602 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48603 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48604 LN_S=$as_ln_s
48605 if test "$LN_S" = "ln -s"; then
48606 { echo "$as_me:$LINENO: result: yes" >&5
48607 echo "${ECHO_T}yes" >&6; }
48608 else
48609 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48610 echo "${ECHO_T}no, using $LN_S" >&6; }
48611 fi
48612
48613
48614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48618 echo $ECHO_N "(cached) $ECHO_C" >&6
48619 else
48620 cat >conftest.make <<\_ACEOF
48621 SHELL = /bin/sh
48622 all:
48623 @echo '@@@%%%=$(MAKE)=@@@%%%'
48624 _ACEOF
48625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48627 *@@@%%%=?*=@@@%%%*)
48628 eval ac_cv_prog_make_${ac_make}_set=yes;;
48629 *)
48630 eval ac_cv_prog_make_${ac_make}_set=no;;
48631 esac
48632 rm -f conftest.make
48633 fi
48634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48635 { echo "$as_me:$LINENO: result: yes" >&5
48636 echo "${ECHO_T}yes" >&6; }
48637 SET_MAKE=
48638 else
48639 { echo "$as_me:$LINENO: result: no" >&5
48640 echo "${ECHO_T}no" >&6; }
48641 SET_MAKE="MAKE=${MAKE-make}"
48642 fi
48643
48644
48645
48646 if test "x$SUNCXX" = "xyes"; then
48647 AR=$CXX
48648 AROPTIONS="-xar -o"
48649
48650 elif test "x$SGICC" = "xyes"; then
48651 AR=$CXX
48652 AROPTIONS="-ar -o"
48653
48654 else
48655 if test -n "$ac_tool_prefix"; then
48656 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48657 set dummy ${ac_tool_prefix}ar; ac_word=$2
48658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48660 if test "${ac_cv_prog_AR+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48663 if test -n "$AR"; then
48664 ac_cv_prog_AR="$AR" # Let the user override the test.
48665 else
48666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48667 for as_dir in $PATH
48668 do
48669 IFS=$as_save_IFS
48670 test -z "$as_dir" && as_dir=.
48671 for ac_exec_ext in '' $ac_executable_extensions; do
48672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48673 ac_cv_prog_AR="${ac_tool_prefix}ar"
48674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48675 break 2
48676 fi
48677 done
48678 done
48679 IFS=$as_save_IFS
48680
48681 fi
48682 fi
48683 AR=$ac_cv_prog_AR
48684 if test -n "$AR"; then
48685 { echo "$as_me:$LINENO: result: $AR" >&5
48686 echo "${ECHO_T}$AR" >&6; }
48687 else
48688 { echo "$as_me:$LINENO: result: no" >&5
48689 echo "${ECHO_T}no" >&6; }
48690 fi
48691
48692
48693 fi
48694 if test -z "$ac_cv_prog_AR"; then
48695 ac_ct_AR=$AR
48696 # Extract the first word of "ar", so it can be a program name with args.
48697 set dummy ar; ac_word=$2
48698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48701 echo $ECHO_N "(cached) $ECHO_C" >&6
48702 else
48703 if test -n "$ac_ct_AR"; then
48704 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48705 else
48706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48707 for as_dir in $PATH
48708 do
48709 IFS=$as_save_IFS
48710 test -z "$as_dir" && as_dir=.
48711 for ac_exec_ext in '' $ac_executable_extensions; do
48712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48713 ac_cv_prog_ac_ct_AR="ar"
48714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48715 break 2
48716 fi
48717 done
48718 done
48719 IFS=$as_save_IFS
48720
48721 fi
48722 fi
48723 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48724 if test -n "$ac_ct_AR"; then
48725 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48726 echo "${ECHO_T}$ac_ct_AR" >&6; }
48727 else
48728 { echo "$as_me:$LINENO: result: no" >&5
48729 echo "${ECHO_T}no" >&6; }
48730 fi
48731
48732 if test "x$ac_ct_AR" = x; then
48733 AR="ar"
48734 else
48735 case $cross_compiling:$ac_tool_warned in
48736 yes:)
48737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48738 whose name does not start with the host triplet. If you think this
48739 configuration is useful to you, please write to autoconf@gnu.org." >&5
48740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48741 whose name does not start with the host triplet. If you think this
48742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48743 ac_tool_warned=yes ;;
48744 esac
48745 AR=$ac_ct_AR
48746 fi
48747 else
48748 AR="$ac_cv_prog_AR"
48749 fi
48750
48751 AROPTIONS=rcu
48752 fi
48753
48754
48755 if test -n "$ac_tool_prefix"; then
48756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48757 set dummy ${ac_tool_prefix}strip; ac_word=$2
48758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48760 if test "${ac_cv_prog_STRIP+set}" = set; then
48761 echo $ECHO_N "(cached) $ECHO_C" >&6
48762 else
48763 if test -n "$STRIP"; then
48764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48765 else
48766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48767 for as_dir in $PATH
48768 do
48769 IFS=$as_save_IFS
48770 test -z "$as_dir" && as_dir=.
48771 for ac_exec_ext in '' $ac_executable_extensions; do
48772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48773 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48775 break 2
48776 fi
48777 done
48778 done
48779 IFS=$as_save_IFS
48780
48781 fi
48782 fi
48783 STRIP=$ac_cv_prog_STRIP
48784 if test -n "$STRIP"; then
48785 { echo "$as_me:$LINENO: result: $STRIP" >&5
48786 echo "${ECHO_T}$STRIP" >&6; }
48787 else
48788 { echo "$as_me:$LINENO: result: no" >&5
48789 echo "${ECHO_T}no" >&6; }
48790 fi
48791
48792
48793 fi
48794 if test -z "$ac_cv_prog_STRIP"; then
48795 ac_ct_STRIP=$STRIP
48796 # Extract the first word of "strip", so it can be a program name with args.
48797 set dummy strip; ac_word=$2
48798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48800 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48801 echo $ECHO_N "(cached) $ECHO_C" >&6
48802 else
48803 if test -n "$ac_ct_STRIP"; then
48804 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48805 else
48806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48807 for as_dir in $PATH
48808 do
48809 IFS=$as_save_IFS
48810 test -z "$as_dir" && as_dir=.
48811 for ac_exec_ext in '' $ac_executable_extensions; do
48812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48813 ac_cv_prog_ac_ct_STRIP="strip"
48814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48815 break 2
48816 fi
48817 done
48818 done
48819 IFS=$as_save_IFS
48820
48821 fi
48822 fi
48823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48824 if test -n "$ac_ct_STRIP"; then
48825 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48826 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48827 else
48828 { echo "$as_me:$LINENO: result: no" >&5
48829 echo "${ECHO_T}no" >&6; }
48830 fi
48831
48832 if test "x$ac_ct_STRIP" = x; then
48833 STRIP=":"
48834 else
48835 case $cross_compiling:$ac_tool_warned in
48836 yes:)
48837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48838 whose name does not start with the host triplet. If you think this
48839 configuration is useful to you, please write to autoconf@gnu.org." >&5
48840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48841 whose name does not start with the host triplet. If you think this
48842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48843 ac_tool_warned=yes ;;
48844 esac
48845 STRIP=$ac_ct_STRIP
48846 fi
48847 else
48848 STRIP="$ac_cv_prog_STRIP"
48849 fi
48850
48851 if test -n "$ac_tool_prefix"; then
48852 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48853 set dummy ${ac_tool_prefix}nm; ac_word=$2
48854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48856 if test "${ac_cv_prog_NM+set}" = set; then
48857 echo $ECHO_N "(cached) $ECHO_C" >&6
48858 else
48859 if test -n "$NM"; then
48860 ac_cv_prog_NM="$NM" # Let the user override the test.
48861 else
48862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48863 for as_dir in $PATH
48864 do
48865 IFS=$as_save_IFS
48866 test -z "$as_dir" && as_dir=.
48867 for ac_exec_ext in '' $ac_executable_extensions; do
48868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48869 ac_cv_prog_NM="${ac_tool_prefix}nm"
48870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48871 break 2
48872 fi
48873 done
48874 done
48875 IFS=$as_save_IFS
48876
48877 fi
48878 fi
48879 NM=$ac_cv_prog_NM
48880 if test -n "$NM"; then
48881 { echo "$as_me:$LINENO: result: $NM" >&5
48882 echo "${ECHO_T}$NM" >&6; }
48883 else
48884 { echo "$as_me:$LINENO: result: no" >&5
48885 echo "${ECHO_T}no" >&6; }
48886 fi
48887
48888
48889 fi
48890 if test -z "$ac_cv_prog_NM"; then
48891 ac_ct_NM=$NM
48892 # Extract the first word of "nm", so it can be a program name with args.
48893 set dummy nm; ac_word=$2
48894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48896 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48897 echo $ECHO_N "(cached) $ECHO_C" >&6
48898 else
48899 if test -n "$ac_ct_NM"; then
48900 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48901 else
48902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48903 for as_dir in $PATH
48904 do
48905 IFS=$as_save_IFS
48906 test -z "$as_dir" && as_dir=.
48907 for ac_exec_ext in '' $ac_executable_extensions; do
48908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48909 ac_cv_prog_ac_ct_NM="nm"
48910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48911 break 2
48912 fi
48913 done
48914 done
48915 IFS=$as_save_IFS
48916
48917 fi
48918 fi
48919 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48920 if test -n "$ac_ct_NM"; then
48921 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48922 echo "${ECHO_T}$ac_ct_NM" >&6; }
48923 else
48924 { echo "$as_me:$LINENO: result: no" >&5
48925 echo "${ECHO_T}no" >&6; }
48926 fi
48927
48928 if test "x$ac_ct_NM" = x; then
48929 NM=":"
48930 else
48931 case $cross_compiling:$ac_tool_warned in
48932 yes:)
48933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48934 whose name does not start with the host triplet. If you think this
48935 configuration is useful to you, please write to autoconf@gnu.org." >&5
48936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48937 whose name does not start with the host triplet. If you think this
48938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48939 ac_tool_warned=yes ;;
48940 esac
48941 NM=$ac_ct_NM
48942 fi
48943 else
48944 NM="$ac_cv_prog_NM"
48945 fi
48946
48947
48948 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48949 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48950 INSTALL_TEST_DIR=acbftest$$
48951 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48952 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48953 rmdir $INSTALL_TEST_DIR
48954 INSTALL_DIR='$(INSTALL) -d'
48955 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48956 echo "${ECHO_T}$INSTALL -d" >&6; }
48957 else
48958 INSTALL_DIR="mkdir -p"
48959 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48960 echo "${ECHO_T}mkdir -p" >&6; }
48961 fi
48962
48963
48964 LDFLAGS_GUI=
48965 case ${BAKEFILE_HOST} in
48966 *-*-cygwin* | *-*-mingw32* )
48967 LDFLAGS_GUI="-mwindows"
48968 esac
48969
48970
48971 fi
48972
48973 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48974 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48975 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48976 echo $ECHO_N "(cached) $ECHO_C" >&6
48977 else
48978
48979 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48980 egrep -s GNU > /dev/null); then
48981 bakefile_cv_prog_makeisgnu="yes"
48982 else
48983 bakefile_cv_prog_makeisgnu="no"
48984 fi
48985
48986 fi
48987 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48988 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48989
48990 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48991 IF_GNU_MAKE=""
48992 else
48993 IF_GNU_MAKE="#"
48994 fi
48995
48996
48997
48998 PLATFORM_UNIX=0
48999 PLATFORM_WIN32=0
49000 PLATFORM_MSDOS=0
49001 PLATFORM_MAC=0
49002 PLATFORM_MACOS=0
49003 PLATFORM_MACOSX=0
49004 PLATFORM_OS2=0
49005 PLATFORM_BEOS=0
49006
49007 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49008 case "${BAKEFILE_HOST}" in
49009 *-*-mingw32* )
49010 PLATFORM_WIN32=1
49011 ;;
49012 *-pc-msdosdjgpp )
49013 PLATFORM_MSDOS=1
49014 ;;
49015 *-pc-os2_emx | *-pc-os2-emx )
49016 PLATFORM_OS2=1
49017 ;;
49018 *-*-darwin* )
49019 PLATFORM_MAC=1
49020 PLATFORM_MACOSX=1
49021 ;;
49022 *-*-beos* )
49023 PLATFORM_BEOS=1
49024 ;;
49025 powerpc-apple-macos* )
49026 PLATFORM_MAC=1
49027 PLATFORM_MACOS=1
49028 ;;
49029 * )
49030 PLATFORM_UNIX=1
49031 ;;
49032 esac
49033 else
49034 case "$BAKEFILE_FORCE_PLATFORM" in
49035 win32 )
49036 PLATFORM_WIN32=1
49037 ;;
49038 msdos )
49039 PLATFORM_MSDOS=1
49040 ;;
49041 os2 )
49042 PLATFORM_OS2=1
49043 ;;
49044 darwin )
49045 PLATFORM_MAC=1
49046 PLATFORM_MACOSX=1
49047 ;;
49048 unix )
49049 PLATFORM_UNIX=1
49050 ;;
49051 beos )
49052 PLATFORM_BEOS=1
49053 ;;
49054 * )
49055 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49056 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49057 { (exit 1); exit 1; }; }
49058 ;;
49059 esac
49060 fi
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072 # Check whether --enable-omf was given.
49073 if test "${enable_omf+set}" = set; then
49074 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49075 fi
49076
49077
49078 case "${BAKEFILE_HOST}" in
49079 *-*-darwin* )
49080 if test "x$GCC" = "xyes"; then
49081 CFLAGS="$CFLAGS -fno-common"
49082 CXXFLAGS="$CXXFLAGS -fno-common"
49083 fi
49084 if test "x$XLCC" = "xyes"; then
49085 CFLAGS="$CFLAGS -qnocommon"
49086 CXXFLAGS="$CXXFLAGS -qnocommon"
49087 fi
49088 ;;
49089
49090 *-pc-os2_emx | *-pc-os2-emx )
49091 if test "x$bk_os2_use_omf" = "xyes" ; then
49092 AR=emxomfar
49093 RANLIB=:
49094 LDFLAGS="-Zomf $LDFLAGS"
49095 CFLAGS="-Zomf $CFLAGS"
49096 CXXFLAGS="-Zomf $CXXFLAGS"
49097 OS2_LIBEXT="lib"
49098 else
49099 OS2_LIBEXT="a"
49100 fi
49101 ;;
49102
49103 i*86-*-beos* )
49104 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49105 ;;
49106 esac
49107
49108
49109 SO_SUFFIX="so"
49110 SO_SUFFIX_MODULE="so"
49111 EXEEXT=""
49112 LIBPREFIX="lib"
49113 LIBEXT=".a"
49114 DLLPREFIX="lib"
49115 DLLPREFIX_MODULE=""
49116 DLLIMP_SUFFIX=""
49117 dlldir="$libdir"
49118
49119 case "${BAKEFILE_HOST}" in
49120 ia64-hp-hpux* )
49121 ;;
49122 *-hp-hpux* )
49123 SO_SUFFIX="sl"
49124 SO_SUFFIX_MODULE="sl"
49125 ;;
49126 *-*-aix* )
49127 SO_SUFFIX="a"
49128 SO_SUFFIX_MODULE="a"
49129 ;;
49130 *-*-cygwin* )
49131 SO_SUFFIX="dll"
49132 SO_SUFFIX_MODULE="dll"
49133 DLLIMP_SUFFIX="dll.a"
49134 EXEEXT=".exe"
49135 DLLPREFIX="cyg"
49136 dlldir="$bindir"
49137 ;;
49138 *-*-mingw32* )
49139 SO_SUFFIX="dll"
49140 SO_SUFFIX_MODULE="dll"
49141 DLLIMP_SUFFIX="dll.a"
49142 EXEEXT=".exe"
49143 DLLPREFIX=""
49144 dlldir="$bindir"
49145 ;;
49146 *-pc-msdosdjgpp )
49147 EXEEXT=".exe"
49148 DLLPREFIX=""
49149 dlldir="$bindir"
49150 ;;
49151 *-pc-os2_emx | *-pc-os2-emx )
49152 SO_SUFFIX="dll"
49153 SO_SUFFIX_MODULE="dll"
49154 DLLIMP_SUFFIX=$OS2_LIBEXT
49155 EXEEXT=".exe"
49156 DLLPREFIX=""
49157 LIBPREFIX=""
49158 LIBEXT=".$OS2_LIBEXT"
49159 dlldir="$bindir"
49160 ;;
49161 *-*-darwin* )
49162 SO_SUFFIX="dylib"
49163 SO_SUFFIX_MODULE="bundle"
49164 ;;
49165 esac
49166
49167 if test "x$DLLIMP_SUFFIX" = "x" ; then
49168 DLLIMP_SUFFIX="$SO_SUFFIX"
49169 fi
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182 PIC_FLAG=""
49183 if test "x$GCC" = "xyes"; then
49184 PIC_FLAG="-fPIC"
49185 fi
49186
49187 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49188 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49189 WINDOWS_IMPLIB=0
49190
49191 case "${BAKEFILE_HOST}" in
49192 *-hp-hpux* )
49193 if test "x$GCC" != "xyes"; then
49194 LDFLAGS="$LDFLAGS -L/usr/lib"
49195
49196 SHARED_LD_CC="${CC} -b -o"
49197 SHARED_LD_CXX="${CXX} -b -o"
49198 PIC_FLAG="+Z"
49199 fi
49200 ;;
49201
49202 *-*-linux* )
49203 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49204 PIC_FLAG="-KPIC"
49205 elif test "x$SUNCXX" = "xyes"; then
49206 SHARED_LD_CC="${CC} -G -o"
49207 SHARED_LD_CXX="${CXX} -G -o"
49208 PIC_FLAG="-KPIC"
49209 fi
49210 ;;
49211
49212 *-*-solaris2* )
49213 if test "x$SUNCXX" = xyes ; then
49214 SHARED_LD_CC="${CC} -G -o"
49215 SHARED_LD_CXX="${CXX} -G -o"
49216 PIC_FLAG="-KPIC"
49217 fi
49218 ;;
49219
49220 *-*-darwin* )
49221
49222 D='$'
49223 cat <<EOF >shared-ld-sh
49224 #!/bin/sh
49225 #-----------------------------------------------------------------------------
49226 #-- Name: distrib/mac/shared-ld-sh
49227 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49228 #-- Author: Gilles Depeyrot
49229 #-- Copyright: (c) 2002 Gilles Depeyrot
49230 #-- Licence: any use permitted
49231 #-----------------------------------------------------------------------------
49232
49233 verbose=0
49234 args=""
49235 objects=""
49236 linking_flag="-dynamiclib"
49237 ldargs="-r -keep_private_externs -nostdlib"
49238
49239 if test "x${D}CXX" = "x"; then
49240 CXX="c++"
49241 fi
49242
49243 while test ${D}# -gt 0; do
49244 case ${D}1 in
49245
49246 -v)
49247 verbose=1
49248 ;;
49249
49250 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49251 # collect these options and values
49252 args="${D}{args} ${D}1 ${D}2"
49253 shift
49254 ;;
49255
49256 -arch|-isysroot)
49257 # collect these options and values
49258 ldargs="${D}{ldargs} ${D}1 ${D}2"
49259 shift
49260 ;;
49261
49262 -s|-Wl,*)
49263 # collect these load args
49264 ldargs="${D}{ldargs} ${D}1"
49265 ;;
49266
49267 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49268 # collect these options
49269 args="${D}{args} ${D}1"
49270 ;;
49271
49272 -dynamiclib|-bundle)
49273 linking_flag="${D}1"
49274 ;;
49275
49276 -*)
49277 echo "shared-ld: unhandled option '${D}1'"
49278 exit 1
49279 ;;
49280
49281 *.o | *.a | *.dylib)
49282 # collect object files
49283 objects="${D}{objects} ${D}1"
49284 ;;
49285
49286 *)
49287 echo "shared-ld: unhandled argument '${D}1'"
49288 exit 1
49289 ;;
49290
49291 esac
49292 shift
49293 done
49294
49295 status=0
49296
49297 #
49298 # Link one module containing all the others
49299 #
49300 if test ${D}{verbose} = 1; then
49301 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49302 fi
49303 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49304 status=${D}?
49305
49306 #
49307 # Link the shared library from the single module created, but only if the
49308 # previous command didn't fail:
49309 #
49310 if test ${D}{status} = 0; then
49311 if test ${D}{verbose} = 1; then
49312 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49313 fi
49314 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49315 status=${D}?
49316 fi
49317
49318 #
49319 # Remove intermediate module
49320 #
49321 rm -f master.${D}${D}.o
49322
49323 exit ${D}status
49324 EOF
49325
49326 chmod +x shared-ld-sh
49327
49328 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49329 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49330
49331
49332 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49333 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49334 if test "${bakefile_cv_gcc31+set}" = set; then
49335 echo $ECHO_N "(cached) $ECHO_C" >&6
49336 else
49337
49338 cat >conftest.$ac_ext <<_ACEOF
49339 /* confdefs.h. */
49340 _ACEOF
49341 cat confdefs.h >>conftest.$ac_ext
49342 cat >>conftest.$ac_ext <<_ACEOF
49343 /* end confdefs.h. */
49344
49345 int
49346 main ()
49347 {
49348
49349 #if (__GNUC__ < 3) || \
49350 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49351 This is old gcc
49352 #endif
49353
49354 ;
49355 return 0;
49356 }
49357 _ACEOF
49358 rm -f conftest.$ac_objext
49359 if { (ac_try="$ac_compile"
49360 case "(($ac_try" in
49361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49362 *) ac_try_echo=$ac_try;;
49363 esac
49364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49365 (eval "$ac_compile") 2>conftest.er1
49366 ac_status=$?
49367 grep -v '^ *+' conftest.er1 >conftest.err
49368 rm -f conftest.er1
49369 cat conftest.err >&5
49370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49371 (exit $ac_status); } && {
49372 test -z "$ac_c_werror_flag" ||
49373 test ! -s conftest.err
49374 } && test -s conftest.$ac_objext; then
49375
49376 bakefile_cv_gcc31=yes
49377
49378 else
49379 echo "$as_me: failed program was:" >&5
49380 sed 's/^/| /' conftest.$ac_ext >&5
49381
49382
49383 bakefile_cv_gcc31=no
49384
49385
49386 fi
49387
49388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49389
49390 fi
49391 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49392 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49393 if test "$bakefile_cv_gcc31" = "no"; then
49394 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49395 SHARED_LD_CXX="$SHARED_LD_CC"
49396 else
49397 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49398 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49399 fi
49400
49401 if test "x$GCC" == "xyes"; then
49402 PIC_FLAG="-dynamic -fPIC"
49403 fi
49404 if test "x$XLCC" = "xyes"; then
49405 PIC_FLAG="-dynamic -DPIC"
49406 fi
49407 ;;
49408
49409 *-*-aix* )
49410 if test "x$GCC" = "xyes"; then
49411 PIC_FLAG=""
49412
49413 case "${BAKEFILE_HOST}" in
49414 *-*-aix5* )
49415 LD_EXPFULL="-Wl,-bexpfull"
49416 ;;
49417 esac
49418
49419 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49420 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49421 else
49422 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49423 set dummy makeC++SharedLib; ac_word=$2
49424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49426 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49427 echo $ECHO_N "(cached) $ECHO_C" >&6
49428 else
49429 if test -n "$AIX_CXX_LD"; then
49430 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49431 else
49432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49433 for as_dir in $PATH
49434 do
49435 IFS=$as_save_IFS
49436 test -z "$as_dir" && as_dir=.
49437 for ac_exec_ext in '' $ac_executable_extensions; do
49438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49439 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49441 break 2
49442 fi
49443 done
49444 done
49445 IFS=$as_save_IFS
49446
49447 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49448 fi
49449 fi
49450 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49451 if test -n "$AIX_CXX_LD"; then
49452 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49453 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49454 else
49455 { echo "$as_me:$LINENO: result: no" >&5
49456 echo "${ECHO_T}no" >&6; }
49457 fi
49458
49459
49460 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49461 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49462 fi
49463 ;;
49464
49465 *-*-beos* )
49466 SHARED_LD_CC="${LD} -nostart -o"
49467 SHARED_LD_CXX="${LD} -nostart -o"
49468 ;;
49469
49470 *-*-irix* )
49471 if test "x$GCC" != "xyes"; then
49472 PIC_FLAG="-KPIC"
49473 fi
49474 ;;
49475
49476 *-*-cygwin* | *-*-mingw32* )
49477 PIC_FLAG=""
49478 SHARED_LD_CC="\$(CC) -shared -o"
49479 SHARED_LD_CXX="\$(CXX) -shared -o"
49480 WINDOWS_IMPLIB=1
49481 ;;
49482
49483 *-pc-os2_emx | *-pc-os2-emx )
49484 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49485 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49486 PIC_FLAG=""
49487
49488 D='$'
49489 cat <<EOF >dllar.sh
49490 #!/bin/sh
49491 #
49492 # dllar - a tool to build both a .dll and an .a file
49493 # from a set of object (.o) files for EMX/OS2.
49494 #
49495 # Written by Andrew Zabolotny, bit@freya.etu.ru
49496 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49497 #
49498 # This script will accept a set of files on the command line.
49499 # All the public symbols from the .o files will be exported into
49500 # a .DEF file, then linker will be run (through gcc) against them to
49501 # build a shared library consisting of all given .o files. All libraries
49502 # (.a) will be first decompressed into component .o files then act as
49503 # described above. You can optionally give a description (-d "description")
49504 # which will be put into .DLL. To see the list of accepted options (as well
49505 # as command-line format) simply run this program without options. The .DLL
49506 # is built to be imported by name (there is no guarantee that new versions
49507 # of the library you build will have same ordinals for same symbols).
49508 #
49509 # dllar is free software; you can redistribute it and/or modify
49510 # it under the terms of the GNU General Public License as published by
49511 # the Free Software Foundation; either version 2, or (at your option)
49512 # any later version.
49513 #
49514 # dllar is distributed in the hope that it will be useful,
49515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49517 # GNU General Public License for more details.
49518 #
49519 # You should have received a copy of the GNU General Public License
49520 # along with dllar; see the file COPYING. If not, write to the Free
49521 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49522 # 02111-1307, USA.
49523
49524 # To successfuly run this program you will need:
49525 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49526 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49527 # - gcc
49528 # (used to build the .dll)
49529 # - emxexp
49530 # (used to create .def file from .o files)
49531 # - emximp
49532 # (used to create .a file from .def file)
49533 # - GNU text utilites (cat, sort, uniq)
49534 # used to process emxexp output
49535 # - GNU file utilities (mv, rm)
49536 # - GNU sed
49537 # - lxlite (optional, see flag below)
49538 # (used for general .dll cleanup)
49539 #
49540
49541 flag_USE_LXLITE=1;
49542
49543 #
49544 # helper functions
49545 # basnam, variant of basename, which does _not_ remove the path, _iff_
49546 # second argument (suffix to remove) is given
49547 basnam(){
49548 case ${D}# in
49549 1)
49550 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49551 ;;
49552 2)
49553 echo ${D}1 | sed 's/'${D}2'${D}//'
49554 ;;
49555 *)
49556 echo "error in basnam ${D}*"
49557 exit 8
49558 ;;
49559 esac
49560 }
49561
49562 # Cleanup temporary files and output
49563 CleanUp() {
49564 cd ${D}curDir
49565 for i in ${D}inputFiles ; do
49566 case ${D}i in
49567 *!)
49568 rm -rf \`basnam ${D}i !\`
49569 ;;
49570 *)
49571 ;;
49572 esac
49573 done
49574
49575 # Kill result in case of failure as there is just to many stupid make/nmake
49576 # things out there which doesn't do this.
49577 if [ ${D}# -eq 0 ]; then
49578 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49579 fi
49580 }
49581
49582 # Print usage and exit script with rc=1.
49583 PrintHelp() {
49584 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49585 echo ' [-name-mangler-script script.sh]'
49586 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49587 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49588 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49589 echo ' [*.o] [*.a]'
49590 echo '*> "output_file" should have no extension.'
49591 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49592 echo ' The import library name is derived from this and is set to "name".a,'
49593 echo ' unless overridden by -import'
49594 echo '*> "importlib_name" should have no extension.'
49595 echo ' If it has the .o, or .a extension, it is automatically removed.'
49596 echo ' This name is used as the import library name and may be longer and'
49597 echo ' more descriptive than the DLL name which has to follow the old '
49598 echo ' 8.3 convention of FAT.'
49599 echo '*> "script.sh may be given to override the output_file name by a'
49600 echo ' different name. It is mainly useful if the regular make process'
49601 echo ' of some package does not take into account OS/2 restriction of'
49602 echo ' DLL name lengths. It takes the importlib name as input and is'
49603 echo ' supposed to procude a shorter name as output. The script should'
49604 echo ' expect to get importlib_name without extension and should produce'
49605 echo ' a (max.) 8 letter name without extension.'
49606 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49607 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49608 echo ' These flags will be put at the start of GCC command line.'
49609 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49610 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49611 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49612 echo ' If the last character of a symbol is "*", all symbols beginning'
49613 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49614 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49615 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49616 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49617 echo ' C runtime DLLs.'
49618 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49619 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49620 echo ' unchanged to GCC at the end of command line.'
49621 echo '*> If you create a DLL from a library and you do not specify -o,'
49622 echo ' the basename for DLL and import library will be set to library name,'
49623 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49624 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49625 echo ' library will be renamed into gcc_s.a.'
49626 echo '--------'
49627 echo 'Example:'
49628 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49629 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49630 CleanUp
49631 exit 1
49632 }
49633
49634 # Execute a command.
49635 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49636 # @Uses Whatever CleanUp() uses.
49637 doCommand() {
49638 echo "${D}*"
49639 eval ${D}*
49640 rcCmd=${D}?
49641
49642 if [ ${D}rcCmd -ne 0 ]; then
49643 echo "command failed, exit code="${D}rcCmd
49644 CleanUp
49645 exit ${D}rcCmd
49646 fi
49647 }
49648
49649 # main routine
49650 # setup globals
49651 cmdLine=${D}*
49652 outFile=""
49653 outimpFile=""
49654 inputFiles=""
49655 renameScript=""
49656 description=""
49657 CC=gcc.exe
49658 CFLAGS="-s -Zcrtdll"
49659 EXTRA_CFLAGS=""
49660 EXPORT_BY_ORDINALS=0
49661 exclude_symbols=""
49662 library_flags=""
49663 curDir=\`pwd\`
49664 curDirS=curDir
49665 case ${D}curDirS in
49666 */)
49667 ;;
49668 *)
49669 curDirS=${D}{curDirS}"/"
49670 ;;
49671 esac
49672 # Parse commandline
49673 libsToLink=0
49674 omfLinking=0
49675 while [ ${D}1 ]; do
49676 case ${D}1 in
49677 -ord*)
49678 EXPORT_BY_ORDINALS=1;
49679 ;;
49680 -o*)
49681 shift
49682 outFile=${D}1
49683 ;;
49684 -i*)
49685 shift
49686 outimpFile=${D}1
49687 ;;
49688 -name-mangler-script)
49689 shift
49690 renameScript=${D}1
49691 ;;
49692 -d*)
49693 shift
49694 description=${D}1
49695 ;;
49696 -f*)
49697 shift
49698 CFLAGS=${D}1
49699 ;;
49700 -c*)
49701 shift
49702 CC=${D}1
49703 ;;
49704 -h*)
49705 PrintHelp
49706 ;;
49707 -ex*)
49708 shift
49709 exclude_symbols=${D}{exclude_symbols}${D}1" "
49710 ;;
49711 -libf*)
49712 shift
49713 library_flags=${D}{library_flags}${D}1" "
49714 ;;
49715 -nocrt*)
49716 CFLAGS="-s"
49717 ;;
49718 -nolxl*)
49719 flag_USE_LXLITE=0
49720 ;;
49721 -* | /*)
49722 case ${D}1 in
49723 -L* | -l*)
49724 libsToLink=1
49725 ;;
49726 -Zomf)
49727 omfLinking=1
49728 ;;
49729 *)
49730 ;;
49731 esac
49732 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49733 ;;
49734 *.dll)
49735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49736 if [ ${D}omfLinking -eq 1 ]; then
49737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49738 else
49739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49740 fi
49741 ;;
49742 *)
49743 found=0;
49744 if [ ${D}libsToLink -ne 0 ]; then
49745 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49746 else
49747 for file in ${D}1 ; do
49748 if [ -f ${D}file ]; then
49749 inputFiles="${D}{inputFiles} ${D}file"
49750 found=1
49751 fi
49752 done
49753 if [ ${D}found -eq 0 ]; then
49754 echo "ERROR: No file(s) found: "${D}1
49755 exit 8
49756 fi
49757 fi
49758 ;;
49759 esac
49760 shift
49761 done # iterate cmdline words
49762
49763 #
49764 if [ -z "${D}inputFiles" ]; then
49765 echo "dllar: no input files"
49766 PrintHelp
49767 fi
49768
49769 # Now extract all .o files from .a files
49770 newInputFiles=""
49771 for file in ${D}inputFiles ; do
49772 case ${D}file in
49773 *.a | *.lib)
49774 case ${D}file in
49775 *.a)
49776 suffix=".a"
49777 AR="ar"
49778 ;;
49779 *.lib)
49780 suffix=".lib"
49781 AR="emxomfar"
49782 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49783 ;;
49784 *)
49785 ;;
49786 esac
49787 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49788 mkdir ${D}dirname
49789 if [ ${D}? -ne 0 ]; then
49790 echo "Failed to create subdirectory ./${D}dirname"
49791 CleanUp
49792 exit 8;
49793 fi
49794 # Append '!' to indicate archive
49795 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49796 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49797 cd ${D}curDir
49798 found=0;
49799 for subfile in ${D}dirname/*.o* ; do
49800 if [ -f ${D}subfile ]; then
49801 found=1
49802 if [ -s ${D}subfile ]; then
49803 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49804 newInputFiles="${D}newInputFiles ${D}subfile"
49805 fi
49806 fi
49807 done
49808 if [ ${D}found -eq 0 ]; then
49809 echo "WARNING: there are no files in archive \\'${D}file\\'"
49810 fi
49811 ;;
49812 *)
49813 newInputFiles="${D}{newInputFiles} ${D}file"
49814 ;;
49815 esac
49816 done
49817 inputFiles="${D}newInputFiles"
49818
49819 # Output filename(s).
49820 do_backup=0;
49821 if [ -z ${D}outFile ]; then
49822 do_backup=1;
49823 set outFile ${D}inputFiles; outFile=${D}2
49824 fi
49825
49826 # If it is an archive, remove the '!' and the '_%' suffixes
49827 case ${D}outFile in
49828 *_%!)
49829 outFile=\`basnam ${D}outFile _%!\`
49830 ;;
49831 *)
49832 ;;
49833 esac
49834 case ${D}outFile in
49835 *.dll)
49836 outFile=\`basnam ${D}outFile .dll\`
49837 ;;
49838 *.DLL)
49839 outFile=\`basnam ${D}outFile .DLL\`
49840 ;;
49841 *.o)
49842 outFile=\`basnam ${D}outFile .o\`
49843 ;;
49844 *.obj)
49845 outFile=\`basnam ${D}outFile .obj\`
49846 ;;
49847 *.a)
49848 outFile=\`basnam ${D}outFile .a\`
49849 ;;
49850 *.lib)
49851 outFile=\`basnam ${D}outFile .lib\`
49852 ;;
49853 *)
49854 ;;
49855 esac
49856 case ${D}outimpFile in
49857 *.a)
49858 outimpFile=\`basnam ${D}outimpFile .a\`
49859 ;;
49860 *.lib)
49861 outimpFile=\`basnam ${D}outimpFile .lib\`
49862 ;;
49863 *)
49864 ;;
49865 esac
49866 if [ -z ${D}outimpFile ]; then
49867 outimpFile=${D}outFile
49868 fi
49869 defFile="${D}{outFile}.def"
49870 arcFile="${D}{outimpFile}.a"
49871 arcFile2="${D}{outimpFile}.lib"
49872
49873 #create ${D}dllFile as something matching 8.3 restrictions,
49874 if [ -z ${D}renameScript ] ; then
49875 dllFile="${D}outFile"
49876 else
49877 dllFile=\`${D}renameScript ${D}outimpFile\`
49878 fi
49879
49880 if [ ${D}do_backup -ne 0 ] ; then
49881 if [ -f ${D}arcFile ] ; then
49882 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49883 fi
49884 if [ -f ${D}arcFile2 ] ; then
49885 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49886 fi
49887 fi
49888
49889 # Extract public symbols from all the object files.
49890 tmpdefFile=${D}{defFile}_%
49891 rm -f ${D}tmpdefFile
49892 for file in ${D}inputFiles ; do
49893 case ${D}file in
49894 *!)
49895 ;;
49896 *)
49897 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49898 ;;
49899 esac
49900 done
49901
49902 # Create the def file.
49903 rm -f ${D}defFile
49904 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49905 dllFile="${D}{dllFile}.dll"
49906 if [ ! -z ${D}description ]; then
49907 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49908 fi
49909 echo "EXPORTS" >> ${D}defFile
49910
49911 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49912 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49913
49914 # Checks if the export is ok or not.
49915 for word in ${D}exclude_symbols; do
49916 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49917 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49918 done
49919
49920
49921 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49922 sed "=" < ${D}tmpdefFile | \\
49923 sed '
49924 N
49925 : loop
49926 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49927 t loop
49928 ' > ${D}{tmpdefFile}%
49929 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49930 else
49931 rm -f ${D}{tmpdefFile}%
49932 fi
49933 cat ${D}tmpdefFile >> ${D}defFile
49934 rm -f ${D}tmpdefFile
49935
49936 # Do linking, create implib, and apply lxlite.
49937 gccCmdl="";
49938 for file in ${D}inputFiles ; do
49939 case ${D}file in
49940 *!)
49941 ;;
49942 *)
49943 gccCmdl="${D}gccCmdl ${D}file"
49944 ;;
49945 esac
49946 done
49947 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49948 touch "${D}{outFile}.dll"
49949
49950 doCommand "emximp -o ${D}arcFile ${D}defFile"
49951 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49952 add_flags="";
49953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49954 add_flags="-ynd"
49955 fi
49956 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49957 fi
49958 doCommand "emxomf -s -l ${D}arcFile"
49959
49960 # Successful exit.
49961 CleanUp 1
49962 exit 0
49963 EOF
49964
49965 chmod +x dllar.sh
49966 ;;
49967
49968 powerpc-apple-macos* | \
49969 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49970 *-*-mirbsd* | \
49971 *-*-sunos4* | \
49972 *-*-osf* | \
49973 *-*-dgux5* | \
49974 *-*-sysv5* | \
49975 *-pc-msdosdjgpp )
49976 ;;
49977
49978 *)
49979 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49980 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49981 { (exit 1); exit 1; }; }
49982 esac
49983
49984 if test "x$PIC_FLAG" != "x" ; then
49985 PIC_FLAG="$PIC_FLAG -DPIC"
49986 fi
49987
49988 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49989 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49990 fi
49991 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49992 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49993 fi
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003 USE_SOVERSION=0
50004 USE_SOVERLINUX=0
50005 USE_SOVERSOLARIS=0
50006 USE_SOVERCYGWIN=0
50007 USE_SOTWOSYMLINKS=0
50008 USE_MACVERSION=0
50009 SONAME_FLAG=
50010
50011 case "${BAKEFILE_HOST}" in
50012 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50013 *-*-k*bsd*-gnu | *-*-mirbsd* )
50014 if test "x$SUNCXX" = "xyes"; then
50015 SONAME_FLAG="-h "
50016 else
50017 SONAME_FLAG="-Wl,-soname,"
50018 fi
50019 USE_SOVERSION=1
50020 USE_SOVERLINUX=1
50021 USE_SOTWOSYMLINKS=1
50022 ;;
50023
50024 *-*-solaris2* )
50025 SONAME_FLAG="-h "
50026 USE_SOVERSION=1
50027 USE_SOVERSOLARIS=1
50028 ;;
50029
50030 *-*-darwin* )
50031 USE_MACVERSION=1
50032 USE_SOVERSION=1
50033 USE_SOTWOSYMLINKS=1
50034 ;;
50035
50036 *-*-cygwin* )
50037 USE_SOVERSION=1
50038 USE_SOVERCYGWIN=1
50039 ;;
50040 esac
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051 # Check whether --enable-dependency-tracking was given.
50052 if test "${enable_dependency_tracking+set}" = set; then
50053 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50054 fi
50055
50056
50057 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50058 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50059
50060 BK_DEPS=""
50061 if test "x$bk_use_trackdeps" = "xno" ; then
50062 DEPS_TRACKING=0
50063 { echo "$as_me:$LINENO: result: disabled" >&5
50064 echo "${ECHO_T}disabled" >&6; }
50065 else
50066 DEPS_TRACKING=1
50067
50068 if test "x$GCC" = "xyes"; then
50069 DEPSMODE=gcc
50070 case "${BAKEFILE_HOST}" in
50071 *-*-darwin* )
50072 DEPSFLAG="-no-cpp-precomp -MMD"
50073 ;;
50074 * )
50075 DEPSFLAG="-MMD"
50076 ;;
50077 esac
50078 { echo "$as_me:$LINENO: result: gcc" >&5
50079 echo "${ECHO_T}gcc" >&6; }
50080 elif test "x$MWCC" = "xyes"; then
50081 DEPSMODE=mwcc
50082 DEPSFLAG="-MM"
50083 { echo "$as_me:$LINENO: result: mwcc" >&5
50084 echo "${ECHO_T}mwcc" >&6; }
50085 elif test "x$SUNCC" = "xyes"; then
50086 DEPSMODE=unixcc
50087 DEPSFLAG="-xM1"
50088 { echo "$as_me:$LINENO: result: Sun cc" >&5
50089 echo "${ECHO_T}Sun cc" >&6; }
50090 elif test "x$SGICC" = "xyes"; then
50091 DEPSMODE=unixcc
50092 DEPSFLAG="-M"
50093 { echo "$as_me:$LINENO: result: SGI cc" >&5
50094 echo "${ECHO_T}SGI cc" >&6; }
50095 elif test "x$HPCC" = "xyes"; then
50096 DEPSMODE=unixcc
50097 DEPSFLAG="+make"
50098 { echo "$as_me:$LINENO: result: HP cc" >&5
50099 echo "${ECHO_T}HP cc" >&6; }
50100 elif test "x$COMPAQCC" = "xyes"; then
50101 DEPSMODE=gcc
50102 DEPSFLAG="-MD"
50103 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50104 echo "${ECHO_T}Compaq cc" >&6; }
50105 else
50106 DEPS_TRACKING=0
50107 { echo "$as_me:$LINENO: result: none" >&5
50108 echo "${ECHO_T}none" >&6; }
50109 fi
50110
50111 if test $DEPS_TRACKING = 1 ; then
50112
50113 D='$'
50114 cat <<EOF >bk-deps
50115 #!/bin/sh
50116
50117 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50118 # script. It is used to track C/C++ files dependencies in portable way.
50119 #
50120 # Permission is given to use this file in any way.
50121
50122 DEPSMODE=${DEPSMODE}
50123 DEPSFLAG="${DEPSFLAG}"
50124 DEPSDIRBASE=.deps
50125
50126 if test ${D}DEPSMODE = gcc ; then
50127 ${D}* ${D}{DEPSFLAG}
50128 status=${D}?
50129
50130 # determine location of created files:
50131 while test ${D}# -gt 0; do
50132 case "${D}1" in
50133 -o )
50134 shift
50135 objfile=${D}1
50136 ;;
50137 -* )
50138 ;;
50139 * )
50140 srcfile=${D}1
50141 ;;
50142 esac
50143 shift
50144 done
50145 objfilebase=\`basename ${D}objfile\`
50146 builddir=\`dirname ${D}objfile\`
50147 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50148 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50149 depsdir=${D}builddir/${D}DEPSDIRBASE
50150 mkdir -p ${D}depsdir
50151
50152 # if the compiler failed, we're done:
50153 if test ${D}{status} != 0 ; then
50154 rm -f ${D}depfile
50155 exit ${D}{status}
50156 fi
50157
50158 # move created file to the location we want it in:
50159 if test -f ${D}depfile ; then
50160 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50161 rm -f ${D}depfile
50162 else
50163 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50164 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50165 if test ! -f ${D}depfile ; then
50166 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50167 depfile="${D}objfile.d"
50168 fi
50169 if test -f ${D}depfile ; then
50170 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50171 rm -f ${D}depfile
50172 fi
50173 fi
50174 exit 0
50175
50176 elif test ${D}DEPSMODE = mwcc ; then
50177 ${D}* || exit ${D}?
50178 # Run mwcc again with -MM and redirect into the dep file we want
50179 # NOTE: We can't use shift here because we need ${D}* to be valid
50180 prevarg=
50181 for arg in ${D}* ; do
50182 if test "${D}prevarg" = "-o"; then
50183 objfile=${D}arg
50184 else
50185 case "${D}arg" in
50186 -* )
50187 ;;
50188 * )
50189 srcfile=${D}arg
50190 ;;
50191 esac
50192 fi
50193 prevarg="${D}arg"
50194 done
50195
50196 objfilebase=\`basename ${D}objfile\`
50197 builddir=\`dirname ${D}objfile\`
50198 depsdir=${D}builddir/${D}DEPSDIRBASE
50199 mkdir -p ${D}depsdir
50200
50201 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50202 exit 0
50203
50204 elif test ${D}DEPSMODE = unixcc; then
50205 ${D}* || exit ${D}?
50206 # Run compiler again with deps flag and redirect into the dep file.
50207 # It doesn't work if the '-o FILE' option is used, but without it the
50208 # dependency file will contain the wrong name for the object. So it is
50209 # removed from the command line, and the dep file is fixed with sed.
50210 cmd=""
50211 while test ${D}# -gt 0; do
50212 case "${D}1" in
50213 -o )
50214 shift
50215 objfile=${D}1
50216 ;;
50217 * )
50218 eval arg${D}#=\\${D}1
50219 cmd="${D}cmd \\${D}arg${D}#"
50220 ;;
50221 esac
50222 shift
50223 done
50224
50225 objfilebase=\`basename ${D}objfile\`
50226 builddir=\`dirname ${D}objfile\`
50227 depsdir=${D}builddir/${D}DEPSDIRBASE
50228 mkdir -p ${D}depsdir
50229
50230 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50231 exit 0
50232
50233 else
50234 ${D}*
50235 exit ${D}?
50236 fi
50237 EOF
50238
50239 chmod +x bk-deps
50240 BK_DEPS="`pwd`/bk-deps"
50241 fi
50242 fi
50243
50244
50245
50246
50247
50248 case ${BAKEFILE_HOST} in
50249 *-*-cygwin* | *-*-mingw32* )
50250 if test -n "$ac_tool_prefix"; then
50251 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50252 set dummy ${ac_tool_prefix}windres; ac_word=$2
50253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50255 if test "${ac_cv_prog_WINDRES+set}" = set; then
50256 echo $ECHO_N "(cached) $ECHO_C" >&6
50257 else
50258 if test -n "$WINDRES"; then
50259 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50260 else
50261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50262 for as_dir in $PATH
50263 do
50264 IFS=$as_save_IFS
50265 test -z "$as_dir" && as_dir=.
50266 for ac_exec_ext in '' $ac_executable_extensions; do
50267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50268 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50270 break 2
50271 fi
50272 done
50273 done
50274 IFS=$as_save_IFS
50275
50276 fi
50277 fi
50278 WINDRES=$ac_cv_prog_WINDRES
50279 if test -n "$WINDRES"; then
50280 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50281 echo "${ECHO_T}$WINDRES" >&6; }
50282 else
50283 { echo "$as_me:$LINENO: result: no" >&5
50284 echo "${ECHO_T}no" >&6; }
50285 fi
50286
50287
50288 fi
50289 if test -z "$ac_cv_prog_WINDRES"; then
50290 ac_ct_WINDRES=$WINDRES
50291 # Extract the first word of "windres", so it can be a program name with args.
50292 set dummy windres; ac_word=$2
50293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50295 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50296 echo $ECHO_N "(cached) $ECHO_C" >&6
50297 else
50298 if test -n "$ac_ct_WINDRES"; then
50299 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50300 else
50301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50302 for as_dir in $PATH
50303 do
50304 IFS=$as_save_IFS
50305 test -z "$as_dir" && as_dir=.
50306 for ac_exec_ext in '' $ac_executable_extensions; do
50307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50308 ac_cv_prog_ac_ct_WINDRES="windres"
50309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50310 break 2
50311 fi
50312 done
50313 done
50314 IFS=$as_save_IFS
50315
50316 fi
50317 fi
50318 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50319 if test -n "$ac_ct_WINDRES"; then
50320 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50321 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50322 else
50323 { echo "$as_me:$LINENO: result: no" >&5
50324 echo "${ECHO_T}no" >&6; }
50325 fi
50326
50327 if test "x$ac_ct_WINDRES" = x; then
50328 WINDRES=""
50329 else
50330 case $cross_compiling:$ac_tool_warned in
50331 yes:)
50332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50333 whose name does not start with the host triplet. If you think this
50334 configuration is useful to you, please write to autoconf@gnu.org." >&5
50335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50336 whose name does not start with the host triplet. If you think this
50337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50338 ac_tool_warned=yes ;;
50339 esac
50340 WINDRES=$ac_ct_WINDRES
50341 fi
50342 else
50343 WINDRES="$ac_cv_prog_WINDRES"
50344 fi
50345
50346 ;;
50347
50348 *-*-darwin* | powerpc-apple-macos* )
50349 # Extract the first word of "Rez", so it can be a program name with args.
50350 set dummy Rez; ac_word=$2
50351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50353 if test "${ac_cv_prog_REZ+set}" = set; then
50354 echo $ECHO_N "(cached) $ECHO_C" >&6
50355 else
50356 if test -n "$REZ"; then
50357 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50358 else
50359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50360 for as_dir in $PATH
50361 do
50362 IFS=$as_save_IFS
50363 test -z "$as_dir" && as_dir=.
50364 for ac_exec_ext in '' $ac_executable_extensions; do
50365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50366 ac_cv_prog_REZ="Rez"
50367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50368 break 2
50369 fi
50370 done
50371 done
50372 IFS=$as_save_IFS
50373
50374 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50375 fi
50376 fi
50377 REZ=$ac_cv_prog_REZ
50378 if test -n "$REZ"; then
50379 { echo "$as_me:$LINENO: result: $REZ" >&5
50380 echo "${ECHO_T}$REZ" >&6; }
50381 else
50382 { echo "$as_me:$LINENO: result: no" >&5
50383 echo "${ECHO_T}no" >&6; }
50384 fi
50385
50386
50387 # Extract the first word of "SetFile", so it can be a program name with args.
50388 set dummy SetFile; ac_word=$2
50389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50391 if test "${ac_cv_prog_SETFILE+set}" = set; then
50392 echo $ECHO_N "(cached) $ECHO_C" >&6
50393 else
50394 if test -n "$SETFILE"; then
50395 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50396 else
50397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50398 for as_dir in $PATH
50399 do
50400 IFS=$as_save_IFS
50401 test -z "$as_dir" && as_dir=.
50402 for ac_exec_ext in '' $ac_executable_extensions; do
50403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50404 ac_cv_prog_SETFILE="SetFile"
50405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50406 break 2
50407 fi
50408 done
50409 done
50410 IFS=$as_save_IFS
50411
50412 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50413 fi
50414 fi
50415 SETFILE=$ac_cv_prog_SETFILE
50416 if test -n "$SETFILE"; then
50417 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50418 echo "${ECHO_T}$SETFILE" >&6; }
50419 else
50420 { echo "$as_me:$LINENO: result: no" >&5
50421 echo "${ECHO_T}no" >&6; }
50422 fi
50423
50424
50425 ;;
50426 esac
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50437
50438
50439 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50440
50441
50442
50443 # Check whether --enable-precomp-headers was given.
50444 if test "${enable_precomp_headers+set}" = set; then
50445 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50446 fi
50447
50448
50449 GCC_PCH=0
50450 ICC_PCH=0
50451 USE_PCH=0
50452 BK_MAKE_PCH=""
50453
50454 case ${BAKEFILE_HOST} in
50455 *-*-cygwin* )
50456 bk_use_pch="no"
50457 ;;
50458 esac
50459
50460 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50461 if test "x$GCC" = "xyes"; then
50462 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50463 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50464 cat >conftest.$ac_ext <<_ACEOF
50465 /* confdefs.h. */
50466 _ACEOF
50467 cat confdefs.h >>conftest.$ac_ext
50468 cat >>conftest.$ac_ext <<_ACEOF
50469 /* end confdefs.h. */
50470
50471 int
50472 main ()
50473 {
50474
50475 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50476 There is no PCH support
50477 #endif
50478 #if (__GNUC__ < 3)
50479 There is no PCH support
50480 #endif
50481 #if (__GNUC__ == 3) && \
50482 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50483 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50484 ( defined(__INTEL_COMPILER) )
50485 There is no PCH support
50486 #endif
50487
50488 ;
50489 return 0;
50490 }
50491 _ACEOF
50492 rm -f conftest.$ac_objext
50493 if { (ac_try="$ac_compile"
50494 case "(($ac_try" in
50495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50496 *) ac_try_echo=$ac_try;;
50497 esac
50498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50499 (eval "$ac_compile") 2>conftest.er1
50500 ac_status=$?
50501 grep -v '^ *+' conftest.er1 >conftest.err
50502 rm -f conftest.er1
50503 cat conftest.err >&5
50504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50505 (exit $ac_status); } && {
50506 test -z "$ac_c_werror_flag" ||
50507 test ! -s conftest.err
50508 } && test -s conftest.$ac_objext; then
50509
50510 { echo "$as_me:$LINENO: result: yes" >&5
50511 echo "${ECHO_T}yes" >&6; }
50512 GCC_PCH=1
50513
50514 else
50515 echo "$as_me: failed program was:" >&5
50516 sed 's/^/| /' conftest.$ac_ext >&5
50517
50518
50519 if test "$INTELCXX8" = "yes"; then
50520 { echo "$as_me:$LINENO: result: yes" >&5
50521 echo "${ECHO_T}yes" >&6; }
50522 ICC_PCH=1
50523 if test "$INTELCXX10" = "yes"; then
50524 ICC_PCH_CREATE_SWITCH="-pch-create"
50525 ICC_PCH_USE_SWITCH="-pch-use"
50526 else
50527 ICC_PCH_CREATE_SWITCH="-create-pch"
50528 ICC_PCH_USE_SWITCH="-use-pch"
50529 fi
50530 else
50531 { echo "$as_me:$LINENO: result: no" >&5
50532 echo "${ECHO_T}no" >&6; }
50533 fi
50534
50535 fi
50536
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50539 USE_PCH=1
50540
50541 D='$'
50542 cat <<EOF >bk-make-pch
50543 #!/bin/sh
50544
50545 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50546 # script. It is used to generated precompiled headers.
50547 #
50548 # Permission is given to use this file in any way.
50549
50550 outfile="${D}{1}"
50551 header="${D}{2}"
50552 shift
50553 shift
50554
50555 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50556
50557 compiler=""
50558 headerfile=""
50559
50560 while test ${D}{#} -gt 0; do
50561 add_to_cmdline=1
50562 case "${D}{1}" in
50563 -I* )
50564 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50565 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50566 headerfile="${D}{incdir}/${D}{header}"
50567 fi
50568 ;;
50569 -use-pch|-use_pch|-pch-use )
50570 shift
50571 add_to_cmdline=0
50572 ;;
50573 esac
50574 if test ${D}add_to_cmdline = 1 ; then
50575 compiler="${D}{compiler} ${D}{1}"
50576 fi
50577 shift
50578 done
50579
50580 if test "x${D}{headerfile}" = "x" ; then
50581 echo "error: can't find header ${D}{header} in include paths" >&2
50582 else
50583 if test -f ${D}{outfile} ; then
50584 rm -f ${D}{outfile}
50585 else
50586 mkdir -p \`dirname ${D}{outfile}\`
50587 fi
50588 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50589 mkdir -p ${D}{builddir}/.deps
50590 if test "x${GCC_PCH}" = "x1" ; then
50591 # can do this because gcc is >= 3.4:
50592 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50593 elif test "x${ICC_PCH}" = "x1" ; then
50594 filename=pch_gen-${D}${D}
50595 file=${D}{filename}.c
50596 dfile=${D}{filename}.d
50597 cat > ${D}file <<EOT
50598 #include "${D}header"
50599 EOT
50600 # using -MF icc complains about differing command lines in creation/use
50601 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50602 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50603 rm -f ${D}file ${D}dfile ${D}{filename}.o
50604 fi
50605 exit ${D}{?}
50606 fi
50607 EOF
50608
50609 chmod +x bk-make-pch
50610 BK_MAKE_PCH="`pwd`/bk-make-pch"
50611 fi
50612 fi
50613 fi
50614
50615
50616
50617
50618
50619
50620
50621 COND_BUILD_DEBUG="#"
50622 if test "x$BUILD" = "xdebug" ; then
50623 COND_BUILD_DEBUG=""
50624 fi
50625
50626 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50628 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50629 fi
50630
50631 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50633 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50634 fi
50635
50636 COND_BUILD_DEBUG_UNICODE_0="#"
50637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50638 COND_BUILD_DEBUG_UNICODE_0=""
50639 fi
50640
50641 COND_BUILD_DEBUG_UNICODE_1="#"
50642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50643 COND_BUILD_DEBUG_UNICODE_1=""
50644 fi
50645
50646 COND_BUILD_RELEASE="#"
50647 if test "x$BUILD" = "xrelease" ; then
50648 COND_BUILD_RELEASE=""
50649 fi
50650
50651 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50652 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50653 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50654 fi
50655
50656 COND_BUILD_RELEASE_UNICODE_0="#"
50657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50658 COND_BUILD_RELEASE_UNICODE_0=""
50659 fi
50660
50661 COND_BUILD_RELEASE_UNICODE_1="#"
50662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50663 COND_BUILD_RELEASE_UNICODE_1=""
50664 fi
50665
50666 COND_BUILD_debug="#"
50667 if test "x$BUILD" = "xdebug" ; then
50668 COND_BUILD_debug=""
50669 fi
50670
50671 COND_BUILD_debug_DEBUG_FLAG_default="#"
50672 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50673 COND_BUILD_debug_DEBUG_FLAG_default=""
50674 fi
50675
50676 COND_BUILD_debug_DEBUG_INFO_default="#"
50677 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50678 COND_BUILD_debug_DEBUG_INFO_default=""
50679 fi
50680
50681 COND_BUILD_debug_UNICODE_0="#"
50682 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50683 COND_BUILD_debug_UNICODE_0=""
50684 fi
50685
50686 COND_BUILD_debug_UNICODE_1="#"
50687 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50688 COND_BUILD_debug_UNICODE_1=""
50689 fi
50690
50691 COND_BUILD_release="#"
50692 if test "x$BUILD" = "xrelease" ; then
50693 COND_BUILD_release=""
50694 fi
50695
50696 COND_BUILD_release_DEBUG_INFO_default="#"
50697 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50698 COND_BUILD_release_DEBUG_INFO_default=""
50699 fi
50700
50701 COND_BUILD_release_UNICODE_0="#"
50702 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50703 COND_BUILD_release_UNICODE_0=""
50704 fi
50705
50706 COND_BUILD_release_UNICODE_1="#"
50707 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50708 COND_BUILD_release_UNICODE_1=""
50709 fi
50710
50711 COND_DEBUG_FLAG_0="#"
50712 if test "x$DEBUG_FLAG" = "x0" ; then
50713 COND_DEBUG_FLAG_0=""
50714 fi
50715
50716 COND_DEBUG_FLAG_1="#"
50717 if test "x$DEBUG_FLAG" = "x1" ; then
50718 COND_DEBUG_FLAG_1=""
50719 fi
50720
50721 COND_DEBUG_INFO_0="#"
50722 if test "x$DEBUG_INFO" = "x0" ; then
50723 COND_DEBUG_INFO_0=""
50724 fi
50725
50726 COND_DEBUG_INFO_1="#"
50727 if test "x$DEBUG_INFO" = "x1" ; then
50728 COND_DEBUG_INFO_1=""
50729 fi
50730
50731 COND_DEPS_TRACKING_0="#"
50732 if test "x$DEPS_TRACKING" = "x0" ; then
50733 COND_DEPS_TRACKING_0=""
50734 fi
50735
50736 COND_DEPS_TRACKING_1="#"
50737 if test "x$DEPS_TRACKING" = "x1" ; then
50738 COND_DEPS_TRACKING_1=""
50739 fi
50740
50741 COND_GCC_PCH_1="#"
50742 if test "x$GCC_PCH" = "x1" ; then
50743 COND_GCC_PCH_1=""
50744 fi
50745
50746 COND_ICC_PCH_1="#"
50747 if test "x$ICC_PCH" = "x1" ; then
50748 COND_ICC_PCH_1=""
50749 fi
50750
50751 COND_MONOLITHIC_0="#"
50752 if test "x$MONOLITHIC" = "x0" ; then
50753 COND_MONOLITHIC_0=""
50754 fi
50755
50756 COND_MONOLITHIC_0_SHARED_0="#"
50757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50758 COND_MONOLITHIC_0_SHARED_0=""
50759 fi
50760
50761 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50763 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50764 fi
50765
50766 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50768 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50769 fi
50770
50771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50774 fi
50775
50776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50779 fi
50780
50781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50784 fi
50785
50786 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50788 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50789 fi
50790
50791 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50793 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50794 fi
50795
50796 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50798 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50799 fi
50800
50801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50803 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50804 fi
50805
50806 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50808 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50809 fi
50810
50811 COND_MONOLITHIC_0_SHARED_1="#"
50812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50813 COND_MONOLITHIC_0_SHARED_1=""
50814 fi
50815
50816 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50818 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50819 fi
50820
50821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50824 fi
50825
50826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50829 fi
50830
50831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50834 fi
50835
50836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50839 fi
50840
50841 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50843 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50844 fi
50845
50846 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50848 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50849 fi
50850
50851 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50853 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50854 fi
50855
50856 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50858 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50859 fi
50860
50861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50864 fi
50865
50866 COND_MONOLITHIC_0_USE_AUI_1="#"
50867 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50868 COND_MONOLITHIC_0_USE_AUI_1=""
50869 fi
50870
50871 COND_MONOLITHIC_0_USE_GUI_1="#"
50872 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50873 COND_MONOLITHIC_0_USE_GUI_1=""
50874 fi
50875
50876 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50877 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50878 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50879 fi
50880
50881 COND_MONOLITHIC_0_USE_HTML_1="#"
50882 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50883 COND_MONOLITHIC_0_USE_HTML_1=""
50884 fi
50885
50886 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50887 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50888 COND_MONOLITHIC_0_USE_MEDIA_1=""
50889 fi
50890
50891 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50892 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50893 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50894 fi
50895
50896 COND_MONOLITHIC_0_USE_QA_1="#"
50897 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50898 COND_MONOLITHIC_0_USE_QA_1=""
50899 fi
50900
50901 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50902 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50903 COND_MONOLITHIC_0_USE_RIBBON_1=""
50904 fi
50905
50906 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50907 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50908 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50909 fi
50910
50911 COND_MONOLITHIC_0_USE_STC_1="#"
50912 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50913 COND_MONOLITHIC_0_USE_STC_1=""
50914 fi
50915
50916 COND_MONOLITHIC_0_USE_XRC_1="#"
50917 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50918 COND_MONOLITHIC_0_USE_XRC_1=""
50919 fi
50920
50921 COND_MONOLITHIC_1="#"
50922 if test "x$MONOLITHIC" = "x1" ; then
50923 COND_MONOLITHIC_1=""
50924 fi
50925
50926 COND_MONOLITHIC_1_SHARED_0="#"
50927 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50928 COND_MONOLITHIC_1_SHARED_0=""
50929 fi
50930
50931 COND_MONOLITHIC_1_SHARED_1="#"
50932 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50933 COND_MONOLITHIC_1_SHARED_1=""
50934 fi
50935
50936 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50937 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50938 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50939 fi
50940
50941 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50942 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50943 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50944 fi
50945
50946 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50947 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50948 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50949 fi
50950
50951 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50952 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50953 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50954 fi
50955
50956 COND_PLATFORM_MACOSX_1="#"
50957 if test "x$PLATFORM_MACOSX" = "x1" ; then
50958 COND_PLATFORM_MACOSX_1=""
50959 fi
50960
50961 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50963 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50964 fi
50965
50966 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50968 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50969 fi
50970
50971 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50974 fi
50975
50976 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50978 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50979 fi
50980
50981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50983 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50984 fi
50985
50986 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50987 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50988 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50989 fi
50990
50991 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50992 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50993 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50994 fi
50995
50996 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50997 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50998 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50999 fi
51000
51001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51002 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51003 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51004 fi
51005
51006 COND_PLATFORM_MACOS_1="#"
51007 if test "x$PLATFORM_MACOS" = "x1" ; then
51008 COND_PLATFORM_MACOS_1=""
51009 fi
51010
51011 COND_PLATFORM_MAC_0="#"
51012 if test "x$PLATFORM_MAC" = "x0" ; then
51013 COND_PLATFORM_MAC_0=""
51014 fi
51015
51016 COND_PLATFORM_MAC_1="#"
51017 if test "x$PLATFORM_MAC" = "x1" ; then
51018 COND_PLATFORM_MAC_1=""
51019 fi
51020
51021 COND_PLATFORM_MSDOS_0="#"
51022 if test "x$PLATFORM_MSDOS" = "x0" ; then
51023 COND_PLATFORM_MSDOS_0=""
51024 fi
51025
51026 COND_PLATFORM_MSDOS_1="#"
51027 if test "x$PLATFORM_MSDOS" = "x1" ; then
51028 COND_PLATFORM_MSDOS_1=""
51029 fi
51030
51031 COND_PLATFORM_OS2_1="#"
51032 if test "x$PLATFORM_OS2" = "x1" ; then
51033 COND_PLATFORM_OS2_1=""
51034 fi
51035
51036 COND_PLATFORM_UNIX_0="#"
51037 if test "x$PLATFORM_UNIX" = "x0" ; then
51038 COND_PLATFORM_UNIX_0=""
51039 fi
51040
51041 COND_PLATFORM_UNIX_1="#"
51042 if test "x$PLATFORM_UNIX" = "x1" ; then
51043 COND_PLATFORM_UNIX_1=""
51044 fi
51045
51046 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51047 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51048 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51049 fi
51050
51051 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51052 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51054 fi
51055
51056 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51057 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51058 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51059 fi
51060
51061 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51062 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51064 fi
51065
51066 COND_PLATFORM_WIN32_0="#"
51067 if test "x$PLATFORM_WIN32" = "x0" ; then
51068 COND_PLATFORM_WIN32_0=""
51069 fi
51070
51071 COND_PLATFORM_WIN32_1="#"
51072 if test "x$PLATFORM_WIN32" = "x1" ; then
51073 COND_PLATFORM_WIN32_1=""
51074 fi
51075
51076 COND_PLATFORM_WIN32_1_SHARED_0="#"
51077 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51078 COND_PLATFORM_WIN32_1_SHARED_0=""
51079 fi
51080
51081 COND_SHARED_0="#"
51082 if test "x$SHARED" = "x0" ; then
51083 COND_SHARED_0=""
51084 fi
51085
51086 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51087 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51089 fi
51090
51091 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51092 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51094 fi
51095
51096 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51097 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51099 fi
51100
51101 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51102 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51104 fi
51105
51106 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51107 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51109 fi
51110
51111 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51112 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51114 fi
51115
51116 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51117 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51119 fi
51120
51121 COND_SHARED_0_USE_STC_1="#"
51122 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51123 COND_SHARED_0_USE_STC_1=""
51124 fi
51125
51126 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51127 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51128 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51129 fi
51130
51131 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51132 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51133 COND_SHARED_0_wxUSE_REGEX_builtin=""
51134 fi
51135
51136 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51137 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51138 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51139 fi
51140
51141 COND_SHARED_1="#"
51142 if test "x$SHARED" = "x1" ; then
51143 COND_SHARED_1=""
51144 fi
51145
51146 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51147 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51148 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51149 fi
51150
51151 COND_TOOLKIT_="#"
51152 if test "x$TOOLKIT" = "x" ; then
51153 COND_TOOLKIT_=""
51154 fi
51155
51156 COND_TOOLKIT_COCOA="#"
51157 if test "x$TOOLKIT" = "xCOCOA" ; then
51158 COND_TOOLKIT_COCOA=""
51159 fi
51160
51161 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51162 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51163 COND_TOOLKIT_COCOA_USE_GUI_1=""
51164 fi
51165
51166 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51167 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51168 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51169 fi
51170
51171 COND_TOOLKIT_DFB="#"
51172 if test "x$TOOLKIT" = "xDFB" ; then
51173 COND_TOOLKIT_DFB=""
51174 fi
51175
51176 COND_TOOLKIT_DFB_USE_GUI_1="#"
51177 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51178 COND_TOOLKIT_DFB_USE_GUI_1=""
51179 fi
51180
51181 COND_TOOLKIT_GTK="#"
51182 if test "x$TOOLKIT" = "xGTK" ; then
51183 COND_TOOLKIT_GTK=""
51184 fi
51185
51186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51189 fi
51190
51191 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51194 fi
51195
51196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51197 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51199 fi
51200
51201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51202 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51204 fi
51205
51206 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51207 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51208 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51209 fi
51210
51211 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51212 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51213 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51214 fi
51215
51216 COND_TOOLKIT_GTK_USE_GUI_1="#"
51217 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51218 COND_TOOLKIT_GTK_USE_GUI_1=""
51219 fi
51220
51221 COND_TOOLKIT_MAC="#"
51222 if test "x$TOOLKIT" = "xMAC" ; then
51223 COND_TOOLKIT_MAC=""
51224 fi
51225
51226 COND_TOOLKIT_MGL="#"
51227 if test "x$TOOLKIT" = "xMGL" ; then
51228 COND_TOOLKIT_MGL=""
51229 fi
51230
51231 COND_TOOLKIT_MGL_USE_GUI_1="#"
51232 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51233 COND_TOOLKIT_MGL_USE_GUI_1=""
51234 fi
51235
51236 COND_TOOLKIT_MOTIF="#"
51237 if test "x$TOOLKIT" = "xMOTIF" ; then
51238 COND_TOOLKIT_MOTIF=""
51239 fi
51240
51241 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51242 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51243 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51244 fi
51245
51246 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51247 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51248 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51249 fi
51250
51251 COND_TOOLKIT_MSW="#"
51252 if test "x$TOOLKIT" = "xMSW" ; then
51253 COND_TOOLKIT_MSW=""
51254 fi
51255
51256 COND_TOOLKIT_MSW_USE_GUI_1="#"
51257 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51258 COND_TOOLKIT_MSW_USE_GUI_1=""
51259 fi
51260
51261 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51262 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51263 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51264 fi
51265
51266 COND_TOOLKIT_MSW_WXUNIV_0="#"
51267 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51268 COND_TOOLKIT_MSW_WXUNIV_0=""
51269 fi
51270
51271 COND_TOOLKIT_OSX_CARBON="#"
51272 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51273 COND_TOOLKIT_OSX_CARBON=""
51274 fi
51275
51276 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51277 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51278 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51279 fi
51280
51281 COND_TOOLKIT_OSX_COCOA="#"
51282 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51283 COND_TOOLKIT_OSX_COCOA=""
51284 fi
51285
51286 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51287 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51288 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51289 fi
51290
51291 COND_TOOLKIT_OSX_IPHONE="#"
51292 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51293 COND_TOOLKIT_OSX_IPHONE=""
51294 fi
51295
51296 COND_TOOLKIT_PM="#"
51297 if test "x$TOOLKIT" = "xPM" ; then
51298 COND_TOOLKIT_PM=""
51299 fi
51300
51301 COND_TOOLKIT_PM_USE_GUI_1="#"
51302 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51303 COND_TOOLKIT_PM_USE_GUI_1=""
51304 fi
51305
51306 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51307 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51308 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51309 fi
51310
51311 COND_TOOLKIT_WINCE="#"
51312 if test "x$TOOLKIT" = "xWINCE" ; then
51313 COND_TOOLKIT_WINCE=""
51314 fi
51315
51316 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51317 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51318 COND_TOOLKIT_WINCE_USE_GUI_1=""
51319 fi
51320
51321 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51322 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51323 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51324 fi
51325
51326 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51327 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51328 COND_TOOLKIT_WINCE_WXUNIV_0=""
51329 fi
51330
51331 COND_TOOLKIT_X11="#"
51332 if test "x$TOOLKIT" = "xX11" ; then
51333 COND_TOOLKIT_X11=""
51334 fi
51335
51336 COND_TOOLKIT_X11_USE_GUI_1="#"
51337 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51338 COND_TOOLKIT_X11_USE_GUI_1=""
51339 fi
51340
51341 COND_UNICODE_1="#"
51342 if test "x$UNICODE" = "x1" ; then
51343 COND_UNICODE_1=""
51344 fi
51345
51346 COND_USE_CAIRO_1="#"
51347 if test "x$USE_CAIRO" = "x1" ; then
51348 COND_USE_CAIRO_1=""
51349 fi
51350
51351 COND_USE_EXCEPTIONS_0="#"
51352 if test "x$USE_EXCEPTIONS" = "x0" ; then
51353 COND_USE_EXCEPTIONS_0=""
51354 fi
51355
51356 COND_USE_EXCEPTIONS_1="#"
51357 if test "x$USE_EXCEPTIONS" = "x1" ; then
51358 COND_USE_EXCEPTIONS_1=""
51359 fi
51360
51361 COND_USE_GUI_0="#"
51362 if test "x$USE_GUI" = "x0" ; then
51363 COND_USE_GUI_0=""
51364 fi
51365
51366 COND_USE_GUI_1="#"
51367 if test "x$USE_GUI" = "x1" ; then
51368 COND_USE_GUI_1=""
51369 fi
51370
51371 COND_USE_GUI_1_USE_OPENGL_1="#"
51372 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51373 COND_USE_GUI_1_USE_OPENGL_1=""
51374 fi
51375
51376 COND_USE_GUI_1_WXUNIV_0="#"
51377 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51378 COND_USE_GUI_1_WXUNIV_0=""
51379 fi
51380
51381 COND_USE_GUI_1_WXUNIV_1="#"
51382 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51383 COND_USE_GUI_1_WXUNIV_1=""
51384 fi
51385
51386 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51388 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51389 fi
51390
51391 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51392 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51393 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51394 fi
51395
51396 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51397 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51398 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51399 fi
51400
51401 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51402 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51403 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51404 fi
51405
51406 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51407 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51408 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51409 fi
51410
51411 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51412 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51413 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51414 fi
51415
51416 COND_USE_OPENGL_1="#"
51417 if test "x$USE_OPENGL" = "x1" ; then
51418 COND_USE_OPENGL_1=""
51419 fi
51420
51421 COND_USE_PCH_1="#"
51422 if test "x$USE_PCH" = "x1" ; then
51423 COND_USE_PCH_1=""
51424 fi
51425
51426 COND_USE_PLUGINS_0="#"
51427 if test "x$USE_PLUGINS" = "x0" ; then
51428 COND_USE_PLUGINS_0=""
51429 fi
51430
51431 COND_USE_RTTI_0="#"
51432 if test "x$USE_RTTI" = "x0" ; then
51433 COND_USE_RTTI_0=""
51434 fi
51435
51436 COND_USE_RTTI_1="#"
51437 if test "x$USE_RTTI" = "x1" ; then
51438 COND_USE_RTTI_1=""
51439 fi
51440
51441 COND_USE_SOTWOSYMLINKS_1="#"
51442 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51443 COND_USE_SOTWOSYMLINKS_1=""
51444 fi
51445
51446 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51447 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51448 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51449 fi
51450
51451 COND_USE_SOVERLINUX_1="#"
51452 if test "x$USE_SOVERLINUX" = "x1" ; then
51453 COND_USE_SOVERLINUX_1=""
51454 fi
51455
51456 COND_USE_SOVERSION_0="#"
51457 if test "x$USE_SOVERSION" = "x0" ; then
51458 COND_USE_SOVERSION_0=""
51459 fi
51460
51461 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51462 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51463 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51464 fi
51465
51466 COND_USE_SOVERSOLARIS_1="#"
51467 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51468 COND_USE_SOVERSOLARIS_1=""
51469 fi
51470
51471 COND_USE_STC_1="#"
51472 if test "x$USE_STC" = "x1" ; then
51473 COND_USE_STC_1=""
51474 fi
51475
51476 COND_USE_THREADS_0="#"
51477 if test "x$USE_THREADS" = "x0" ; then
51478 COND_USE_THREADS_0=""
51479 fi
51480
51481 COND_USE_THREADS_1="#"
51482 if test "x$USE_THREADS" = "x1" ; then
51483 COND_USE_THREADS_1=""
51484 fi
51485
51486 COND_USE_XRC_1="#"
51487 if test "x$USE_XRC" = "x1" ; then
51488 COND_USE_XRC_1=""
51489 fi
51490
51491 COND_WINDOWS_IMPLIB_1="#"
51492 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51493 COND_WINDOWS_IMPLIB_1=""
51494 fi
51495
51496 COND_WITH_PLUGIN_SDL_1="#"
51497 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51498 COND_WITH_PLUGIN_SDL_1=""
51499 fi
51500
51501 COND_WXUNIV_0="#"
51502 if test "x$WXUNIV" = "x0" ; then
51503 COND_WXUNIV_0=""
51504 fi
51505
51506 COND_WXUNIV_1="#"
51507 if test "x$WXUNIV" = "x1" ; then
51508 COND_WXUNIV_1=""
51509 fi
51510
51511 COND_WXUSE_EXPAT_BUILTIN="#"
51512 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51513 COND_WXUSE_EXPAT_BUILTIN=""
51514 fi
51515
51516 COND_WXUSE_LIBJPEG_BUILTIN="#"
51517 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51518 COND_WXUSE_LIBJPEG_BUILTIN=""
51519 fi
51520
51521 COND_WXUSE_LIBPNG_BUILTIN="#"
51522 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51523 COND_WXUSE_LIBPNG_BUILTIN=""
51524 fi
51525
51526 COND_WXUSE_LIBTIFF_BUILTIN="#"
51527 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51528 COND_WXUSE_LIBTIFF_BUILTIN=""
51529 fi
51530
51531 COND_WXUSE_REGEX_BUILTIN="#"
51532 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51533 COND_WXUSE_REGEX_BUILTIN=""
51534 fi
51535
51536 COND_WXUSE_ZLIB_BUILTIN="#"
51537 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51538 COND_WXUSE_ZLIB_BUILTIN=""
51539 fi
51540
51541 COND_wxUSE_EXPAT_builtin="#"
51542 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51543 COND_wxUSE_EXPAT_builtin=""
51544 fi
51545
51546 COND_wxUSE_LIBJPEG_builtin="#"
51547 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51548 COND_wxUSE_LIBJPEG_builtin=""
51549 fi
51550
51551 COND_wxUSE_LIBPNG_builtin="#"
51552 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51553 COND_wxUSE_LIBPNG_builtin=""
51554 fi
51555
51556 COND_wxUSE_LIBTIFF_builtin="#"
51557 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51558 COND_wxUSE_LIBTIFF_builtin=""
51559 fi
51560
51561 COND_wxUSE_REGEX_builtin="#"
51562 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51563 COND_wxUSE_REGEX_builtin=""
51564 fi
51565
51566 COND_wxUSE_ZLIB_builtin="#"
51567 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51568 COND_wxUSE_ZLIB_builtin=""
51569 fi
51570
51571
51572
51573 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51574 { { 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
51575 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;}
51576 { (exit 1); exit 1; }; }
51577 fi
51578
51579 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51580 { { 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
51581 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;}
51582 { (exit 1); exit 1; }; }
51583 fi
51584
51585
51586 case ${INSTALL} in
51587 /* ) # Absolute
51588 ;;
51589 ?:* ) # Drive letter, considered as absolute.
51590 ;;
51591 *)
51592 INSTALL=`pwd`/${INSTALL} ;;
51593 esac
51594
51595 if test "$wxUSE_GUI" = "yes"; then
51596
51597 if test "$wxUSE_MSW" = 1 ; then
51598 if test "x$WINDRES" = "x"; then
51599 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51600 echo "$as_me: error: Required windres program not found" >&2;}
51601 { (exit 1); exit 1; }; }
51602 fi
51603
51604 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51605 fi
51606
51607 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51608 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51609 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51610
51611 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51612
51613 # Extract the first word of "DeRez", so it can be a program name with args.
51614 set dummy DeRez; ac_word=$2
51615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51617 if test "${ac_cv_prog_DEREZ+set}" = set; then
51618 echo $ECHO_N "(cached) $ECHO_C" >&6
51619 else
51620 if test -n "$DEREZ"; then
51621 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51622 else
51623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51624 for as_dir in $PATH
51625 do
51626 IFS=$as_save_IFS
51627 test -z "$as_dir" && as_dir=.
51628 for ac_exec_ext in '' $ac_executable_extensions; do
51629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51630 ac_cv_prog_DEREZ="DeRez"
51631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51632 break 2
51633 fi
51634 done
51635 done
51636 IFS=$as_save_IFS
51637
51638 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51639 fi
51640 fi
51641 DEREZ=$ac_cv_prog_DEREZ
51642 if test -n "$DEREZ"; then
51643 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51644 echo "${ECHO_T}$DEREZ" >&6; }
51645 else
51646 { echo "$as_me:$LINENO: result: no" >&5
51647 echo "${ECHO_T}no" >&6; }
51648 fi
51649
51650
51651
51652 MACSETFILE="\$(SETFILE)"
51653
51654 if test "$wxUSE_OSX_CARBON" = 1; then
51655 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51656 RESCOMP="$REZ"
51657 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51658 else
51659 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51660 RESCOMP="cat /dev/null \| $REZ"
51661 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51662 fi
51663
51664 else
51665 MACSETFILE="@true"
51666
51667 if test "$wxUSE_PM" = 1; then
51668 RESCOMP="emxbind"
51669 WXCONFIG_RESFLAGS="-ep"
51670
51671 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51672 else
51673 POSTLINK_COMMAND="@true"
51674 fi
51675 fi
51676
51677 fi
51678
51679
51680 if test $GCC_PCH = 1
51681 then
51682 if test "$wx_cv_gcc_pch_bug" = yes; then
51683 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51684 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51685 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51686 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51687 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51688 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51689 fi
51690
51691 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51692 # the headers that benefit from precompilation are mostly C++ headers.
51693 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51694 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51695 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51696 fi
51697
51698
51699 if test "$wxUSE_MAC" = 1 ; then
51700 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51701 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51702 mv temp bk-deps
51703 chmod +x bk-deps
51704 fi
51705 fi
51706
51707 if test "$wxUSE_SHARED" = "yes"; then
51708 case "${host}" in
51709 *-pc-os2_emx | *-pc-os2-emx )
51710 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51711 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51712 cp -p ${srcdir}/src/os2/dllnames.sh .
51713 cp -p ${srcdir}/src/os2/dllar.sh .
51714 ;;
51715 esac
51716 fi
51717 if test "$wxUSE_OMF" = "yes"; then
51718 case "${host}" in
51719 *-pc-os2_emx | *-pc-os2-emx )
51720 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51721 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51722 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51723 ;;
51724 esac
51725 fi
51726
51727 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51728
51729
51730 case "${host}" in
51731 *-*-solaris2* )
51732 if test "$GCC" = yes; then
51733 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51734 LIBS=`echo $LIBS | sed 's/-mt//'`
51735 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51736 fi
51737 ;;
51738
51739 *-*-linux* )
51740 if test "x$SUNCXX" = xyes; then
51741 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51742 LIBS=`echo $LIBS | sed 's/-pthread//'`
51743 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51744 fi
51745 ;;
51746 esac
51747
51748 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51749 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51750 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51751 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51752
51753 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51754
51755
51756
51757
51758
51759
51760
51761
51762
51763
51764
51765
51766
51767
51768
51769
51770
51771
51772
51773
51774
51775
51776
51777
51778
51779
51780
51781
51782
51783
51784
51785
51786
51787
51788
51789
51790
51791
51792
51793
51794
51795
51796
51797
51798
51799
51800
51801
51802
51803
51804
51805
51806
51807
51808
51809
51810
51811
51812
51813
51814 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51816 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51817 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51818 echo $ECHO_N "(cached) $ECHO_C" >&6
51819 else
51820 cat >conftest.make <<\_ACEOF
51821 SHELL = /bin/sh
51822 all:
51823 @echo '@@@%%%=$(MAKE)=@@@%%%'
51824 _ACEOF
51825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51826 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51827 *@@@%%%=?*=@@@%%%*)
51828 eval ac_cv_prog_make_${ac_make}_set=yes;;
51829 *)
51830 eval ac_cv_prog_make_${ac_make}_set=no;;
51831 esac
51832 rm -f conftest.make
51833 fi
51834 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51835 { echo "$as_me:$LINENO: result: yes" >&5
51836 echo "${ECHO_T}yes" >&6; }
51837 SET_MAKE=
51838 else
51839 { echo "$as_me:$LINENO: result: no" >&5
51840 echo "${ECHO_T}no" >&6; }
51841 SET_MAKE="MAKE=${MAKE-make}"
51842 fi
51843
51844
51845
51846 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51847
51848
51849 if test "$USE_WIN32" = 1; then
51850 ac_config_commands="$ac_config_commands rcdefs.h"
51851
51852 fi
51853
51854 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51855
51856
51857 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51858
51859
51860 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51861
51862
51863 if test "$wx_cv_version_script" = "yes"; then
51864 ac_config_files="$ac_config_files version-script"
51865
51866 fi
51867 ac_config_files="$ac_config_files Makefile"
51868
51869
51870 ac_config_commands="$ac_config_commands wx-config"
51871
51872
51873
51874 if test "$wxWITH_SUBDIRS" != "no"; then
51875 if test "$wxUSE_GUI" = "yes"; then
51876 SUBDIRS="samples demos utils"
51877 else
51878 SUBDIRS="samples utils"
51879 fi
51880
51881
51882
51883 # Check whether --with-cppunit-prefix was given.
51884 if test "${with_cppunit_prefix+set}" = set; then
51885 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51886 else
51887 cppunit_config_prefix=""
51888 fi
51889
51890
51891 # Check whether --with-cppunit-exec-prefix was given.
51892 if test "${with_cppunit_exec_prefix+set}" = set; then
51893 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51894 else
51895 cppunit_config_exec_prefix=""
51896 fi
51897
51898
51899 if test x$cppunit_config_exec_prefix != x ; then
51900 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51901 if test x${CPPUNIT_CONFIG+set} != xset ; then
51902 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51903 fi
51904 fi
51905 if test x$cppunit_config_prefix != x ; then
51906 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51907 if test x${CPPUNIT_CONFIG+set} != xset ; then
51908 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51909 fi
51910 fi
51911
51912 # Extract the first word of "cppunit-config", so it can be a program name with args.
51913 set dummy cppunit-config; ac_word=$2
51914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51916 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51917 echo $ECHO_N "(cached) $ECHO_C" >&6
51918 else
51919 case $CPPUNIT_CONFIG in
51920 [\\/]* | ?:[\\/]*)
51921 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51922 ;;
51923 *)
51924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51925 for as_dir in $PATH
51926 do
51927 IFS=$as_save_IFS
51928 test -z "$as_dir" && as_dir=.
51929 for ac_exec_ext in '' $ac_executable_extensions; do
51930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51931 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51933 break 2
51934 fi
51935 done
51936 done
51937 IFS=$as_save_IFS
51938
51939 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51940 ;;
51941 esac
51942 fi
51943 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51944 if test -n "$CPPUNIT_CONFIG"; then
51945 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51946 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51947 else
51948 { echo "$as_me:$LINENO: result: no" >&5
51949 echo "${ECHO_T}no" >&6; }
51950 fi
51951
51952
51953 cppunit_version_min=1.8.0
51954
51955 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51956 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51957 no_cppunit=""
51958 if test "$CPPUNIT_CONFIG" = "no" ; then
51959 { echo "$as_me:$LINENO: result: no" >&5
51960 echo "${ECHO_T}no" >&6; }
51961 no_cppunit=yes
51962 else
51963 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51964 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51965 cppunit_version=`$CPPUNIT_CONFIG --version`
51966
51967 cppunit_major_version=`echo $cppunit_version | \
51968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51969 cppunit_minor_version=`echo $cppunit_version | \
51970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51971 cppunit_micro_version=`echo $cppunit_version | \
51972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51973
51974 cppunit_major_min=`echo $cppunit_version_min | \
51975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51976 cppunit_minor_min=`echo $cppunit_version_min | \
51977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51978 cppunit_micro_min=`echo $cppunit_version_min | \
51979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51980
51981 cppunit_version_proper=`expr \
51982 $cppunit_major_version \> $cppunit_major_min \| \
51983 $cppunit_major_version \= $cppunit_major_min \& \
51984 $cppunit_minor_version \> $cppunit_minor_min \| \
51985 $cppunit_major_version \= $cppunit_major_min \& \
51986 $cppunit_minor_version \= $cppunit_minor_min \& \
51987 $cppunit_micro_version \>= $cppunit_micro_min `
51988
51989 if test "$cppunit_version_proper" = "1" ; then
51990 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51991 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51992 else
51993 { echo "$as_me:$LINENO: result: no" >&5
51994 echo "${ECHO_T}no" >&6; }
51995 no_cppunit=yes
51996 fi
51997 fi
51998
51999 if test "x$no_cppunit" = x ; then
52000 SUBDIRS="$SUBDIRS tests"
52001 else
52002 CPPUNIT_CFLAGS=""
52003 CPPUNIT_LIBS=""
52004 :
52005 fi
52006
52007
52008
52009
52010
52011 for subdir in $SUBDIRS; do
52012 if test -d ${srcdir}/${subdir} ; then
52013 if test "$wxUSE_GUI" = "yes"; then
52014 if test ${subdir} = "samples"; then
52015 makefiles="samples/Makefile.in $makefiles"
52016 for sample in $SAMPLES_SUBDIRS; do
52017 if test -d $srcdir/samples/$sample; then
52018 makefiles="samples/$sample/Makefile.in $makefiles"
52019 fi
52020 done
52021 else
52022 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52023 eval "disabled=\$$disabled_var"
52024 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52025 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52026 fi
52027 else
52028 if test ${subdir} = "samples"; then
52029 makefiles="samples/Makefile.in $makefiles"
52030 for sample in `echo $SAMPLES_SUBDIRS`; do
52031 if test -d $srcdir/samples/$sample; then
52032 makefiles="samples/$sample/Makefile.in $makefiles"
52033 fi
52034 done
52035 elif test ${subdir} = "utils"; then
52036 makefiles=""
52037 for util in ifacecheck ; do
52038 if test -d $srcdir/utils/$util ; then
52039 makefiles="utils/$util/src/Makefile.in \
52040 $makefiles"
52041 fi
52042 done
52043 else
52044 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52045 fi
52046 fi
52047
52048 for mkin in $makefiles ; do
52049 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52050 ac_config_files="$ac_config_files $mk"
52051
52052 done
52053 fi
52054 done
52055 fi
52056 cat >confcache <<\_ACEOF
52057 # This file is a shell script that caches the results of configure
52058 # tests run on this system so they can be shared between configure
52059 # scripts and configure runs, see configure's option --config-cache.
52060 # It is not useful on other systems. If it contains results you don't
52061 # want to keep, you may remove or edit it.
52062 #
52063 # config.status only pays attention to the cache file if you give it
52064 # the --recheck option to rerun configure.
52065 #
52066 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52067 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52068 # following values.
52069
52070 _ACEOF
52071
52072 # The following way of writing the cache mishandles newlines in values,
52073 # but we know of no workaround that is simple, portable, and efficient.
52074 # So, we kill variables containing newlines.
52075 # Ultrix sh set writes to stderr and can't be redirected directly,
52076 # and sets the high bit in the cache file unless we assign to the vars.
52077 (
52078 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52079 eval ac_val=\$$ac_var
52080 case $ac_val in #(
52081 *${as_nl}*)
52082 case $ac_var in #(
52083 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52084 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52085 esac
52086 case $ac_var in #(
52087 _ | IFS | as_nl) ;; #(
52088 *) $as_unset $ac_var ;;
52089 esac ;;
52090 esac
52091 done
52092
52093 (set) 2>&1 |
52094 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52095 *${as_nl}ac_space=\ *)
52096 # `set' does not quote correctly, so add quotes (double-quote
52097 # substitution turns \\\\ into \\, and sed turns \\ into \).
52098 sed -n \
52099 "s/'/'\\\\''/g;
52100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52101 ;; #(
52102 *)
52103 # `set' quotes correctly as required by POSIX, so do not add quotes.
52104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52105 ;;
52106 esac |
52107 sort
52108 ) |
52109 sed '
52110 /^ac_cv_env_/b end
52111 t clear
52112 :clear
52113 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52114 t end
52115 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52116 :end' >>confcache
52117 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52118 if test -w "$cache_file"; then
52119 test "x$cache_file" != "x/dev/null" &&
52120 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52121 echo "$as_me: updating cache $cache_file" >&6;}
52122 cat confcache >$cache_file
52123 else
52124 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52125 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52126 fi
52127 fi
52128 rm -f confcache
52129
52130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52131 # Let make expand exec_prefix.
52132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52133
52134 DEFS=-DHAVE_CONFIG_H
52135
52136 ac_libobjs=
52137 ac_ltlibobjs=
52138 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52139 # 1. Remove the extension, and $U if already installed.
52140 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52141 ac_i=`echo "$ac_i" | sed "$ac_script"`
52142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52143 # will be set to the directory where LIBOBJS objects are built.
52144 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52145 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52146 done
52147 LIBOBJS=$ac_libobjs
52148
52149 LTLIBOBJS=$ac_ltlibobjs
52150
52151
52152
52153 : ${CONFIG_STATUS=./config.status}
52154 ac_clean_files_save=$ac_clean_files
52155 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52158 cat >$CONFIG_STATUS <<_ACEOF
52159 #! $SHELL
52160 # Generated by $as_me.
52161 # Run this file to recreate the current configuration.
52162 # Compiler output produced by configure, useful for debugging
52163 # configure, is in config.log if it exists.
52164
52165 debug=false
52166 ac_cs_recheck=false
52167 ac_cs_silent=false
52168 SHELL=\${CONFIG_SHELL-$SHELL}
52169 _ACEOF
52170
52171 cat >>$CONFIG_STATUS <<\_ACEOF
52172 ## --------------------- ##
52173 ## M4sh Initialization. ##
52174 ## --------------------- ##
52175
52176 # Be more Bourne compatible
52177 DUALCASE=1; export DUALCASE # for MKS sh
52178 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52179 emulate sh
52180 NULLCMD=:
52181 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52182 # is contrary to our usage. Disable this feature.
52183 alias -g '${1+"$@"}'='"$@"'
52184 setopt NO_GLOB_SUBST
52185 else
52186 case `(set -o) 2>/dev/null` in
52187 *posix*) set -o posix ;;
52188 esac
52189
52190 fi
52191
52192
52193
52194
52195 # PATH needs CR
52196 # Avoid depending upon Character Ranges.
52197 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52198 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52199 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52200 as_cr_digits='0123456789'
52201 as_cr_alnum=$as_cr_Letters$as_cr_digits
52202
52203 # The user is always right.
52204 if test "${PATH_SEPARATOR+set}" != set; then
52205 echo "#! /bin/sh" >conf$$.sh
52206 echo "exit 0" >>conf$$.sh
52207 chmod +x conf$$.sh
52208 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52209 PATH_SEPARATOR=';'
52210 else
52211 PATH_SEPARATOR=:
52212 fi
52213 rm -f conf$$.sh
52214 fi
52215
52216 # Support unset when possible.
52217 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52218 as_unset=unset
52219 else
52220 as_unset=false
52221 fi
52222
52223
52224 # IFS
52225 # We need space, tab and new line, in precisely that order. Quoting is
52226 # there to prevent editors from complaining about space-tab.
52227 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52228 # splitting by setting IFS to empty value.)
52229 as_nl='
52230 '
52231 IFS=" "" $as_nl"
52232
52233 # Find who we are. Look in the path if we contain no directory separator.
52234 case $0 in
52235 *[\\/]* ) as_myself=$0 ;;
52236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52237 for as_dir in $PATH
52238 do
52239 IFS=$as_save_IFS
52240 test -z "$as_dir" && as_dir=.
52241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52242 done
52243 IFS=$as_save_IFS
52244
52245 ;;
52246 esac
52247 # We did not find ourselves, most probably we were run as `sh COMMAND'
52248 # in which case we are not to be found in the path.
52249 if test "x$as_myself" = x; then
52250 as_myself=$0
52251 fi
52252 if test ! -f "$as_myself"; then
52253 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52254 { (exit 1); exit 1; }
52255 fi
52256
52257 # Work around bugs in pre-3.0 UWIN ksh.
52258 for as_var in ENV MAIL MAILPATH
52259 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52260 done
52261 PS1='$ '
52262 PS2='> '
52263 PS4='+ '
52264
52265 # NLS nuisances.
52266 for as_var in \
52267 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52268 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52269 LC_TELEPHONE LC_TIME
52270 do
52271 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52272 eval $as_var=C; export $as_var
52273 else
52274 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52275 fi
52276 done
52277
52278 # Required to use basename.
52279 if expr a : '\(a\)' >/dev/null 2>&1 &&
52280 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52281 as_expr=expr
52282 else
52283 as_expr=false
52284 fi
52285
52286 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52287 as_basename=basename
52288 else
52289 as_basename=false
52290 fi
52291
52292
52293 # Name of the executable.
52294 as_me=`$as_basename -- "$0" ||
52295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52296 X"$0" : 'X\(//\)$' \| \
52297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52298 echo X/"$0" |
52299 sed '/^.*\/\([^/][^/]*\)\/*$/{
52300 s//\1/
52301 q
52302 }
52303 /^X\/\(\/\/\)$/{
52304 s//\1/
52305 q
52306 }
52307 /^X\/\(\/\).*/{
52308 s//\1/
52309 q
52310 }
52311 s/.*/./; q'`
52312
52313 # CDPATH.
52314 $as_unset CDPATH
52315
52316
52317
52318 as_lineno_1=$LINENO
52319 as_lineno_2=$LINENO
52320 test "x$as_lineno_1" != "x$as_lineno_2" &&
52321 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52322
52323 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52324 # uniformly replaced by the line number. The first 'sed' inserts a
52325 # line-number line after each line using $LINENO; the second 'sed'
52326 # does the real work. The second script uses 'N' to pair each
52327 # line-number line with the line containing $LINENO, and appends
52328 # trailing '-' during substitution so that $LINENO is not a special
52329 # case at line end.
52330 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52331 # scripts with optimization help from Paolo Bonzini. Blame Lee
52332 # E. McMahon (1931-1989) for sed's syntax. :-)
52333 sed -n '
52334 p
52335 /[$]LINENO/=
52336 ' <$as_myself |
52337 sed '
52338 s/[$]LINENO.*/&-/
52339 t lineno
52340 b
52341 :lineno
52342 N
52343 :loop
52344 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52345 t loop
52346 s/-\n.*//
52347 ' >$as_me.lineno &&
52348 chmod +x "$as_me.lineno" ||
52349 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52350 { (exit 1); exit 1; }; }
52351
52352 # Don't try to exec as it changes $[0], causing all sort of problems
52353 # (the dirname of $[0] is not the place where we might find the
52354 # original and so on. Autoconf is especially sensitive to this).
52355 . "./$as_me.lineno"
52356 # Exit status is that of the last command.
52357 exit
52358 }
52359
52360
52361 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52362 as_dirname=dirname
52363 else
52364 as_dirname=false
52365 fi
52366
52367 ECHO_C= ECHO_N= ECHO_T=
52368 case `echo -n x` in
52369 -n*)
52370 case `echo 'x\c'` in
52371 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52372 *) ECHO_C='\c';;
52373 esac;;
52374 *)
52375 ECHO_N='-n';;
52376 esac
52377
52378 if expr a : '\(a\)' >/dev/null 2>&1 &&
52379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52380 as_expr=expr
52381 else
52382 as_expr=false
52383 fi
52384
52385 rm -f conf$$ conf$$.exe conf$$.file
52386 if test -d conf$$.dir; then
52387 rm -f conf$$.dir/conf$$.file
52388 else
52389 rm -f conf$$.dir
52390 mkdir conf$$.dir
52391 fi
52392 echo >conf$$.file
52393 if ln -s conf$$.file conf$$ 2>/dev/null; then
52394 as_ln_s='ln -s'
52395 # ... but there are two gotchas:
52396 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52397 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52398 # In both cases, we have to default to `cp -p'.
52399 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52400 as_ln_s='cp -p'
52401 elif ln conf$$.file conf$$ 2>/dev/null; then
52402 as_ln_s=ln
52403 else
52404 as_ln_s='cp -p'
52405 fi
52406 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52407 rmdir conf$$.dir 2>/dev/null
52408
52409 if mkdir -p . 2>/dev/null; then
52410 as_mkdir_p=:
52411 else
52412 test -d ./-p && rmdir ./-p
52413 as_mkdir_p=false
52414 fi
52415
52416 if test -x / >/dev/null 2>&1; then
52417 as_test_x='test -x'
52418 else
52419 if ls -dL / >/dev/null 2>&1; then
52420 as_ls_L_option=L
52421 else
52422 as_ls_L_option=
52423 fi
52424 as_test_x='
52425 eval sh -c '\''
52426 if test -d "$1"; then
52427 test -d "$1/.";
52428 else
52429 case $1 in
52430 -*)set "./$1";;
52431 esac;
52432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52433 ???[sx]*):;;*)false;;esac;fi
52434 '\'' sh
52435 '
52436 fi
52437 as_executable_p=$as_test_x
52438
52439 # Sed expression to map a string onto a valid CPP name.
52440 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52441
52442 # Sed expression to map a string onto a valid variable name.
52443 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52444
52445
52446 exec 6>&1
52447
52448 # Save the log message, to keep $[0] and so on meaningful, and to
52449 # report actual input values of CONFIG_FILES etc. instead of their
52450 # values after options handling.
52451 ac_log="
52452 This file was extended by wxWidgets $as_me 2.9.1, which was
52453 generated by GNU Autoconf 2.61. Invocation command line was
52454
52455 CONFIG_FILES = $CONFIG_FILES
52456 CONFIG_HEADERS = $CONFIG_HEADERS
52457 CONFIG_LINKS = $CONFIG_LINKS
52458 CONFIG_COMMANDS = $CONFIG_COMMANDS
52459 $ $0 $@
52460
52461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52462 "
52463
52464 _ACEOF
52465
52466 cat >>$CONFIG_STATUS <<_ACEOF
52467 # Files that config.status was made for.
52468 config_files="$ac_config_files"
52469 config_headers="$ac_config_headers"
52470 config_commands="$ac_config_commands"
52471
52472 _ACEOF
52473
52474 cat >>$CONFIG_STATUS <<\_ACEOF
52475 ac_cs_usage="\
52476 \`$as_me' instantiates files from templates according to the
52477 current configuration.
52478
52479 Usage: $0 [OPTIONS] [FILE]...
52480
52481 -h, --help print this help, then exit
52482 -V, --version print version number and configuration settings, then exit
52483 -q, --quiet do not print progress messages
52484 -d, --debug don't remove temporary files
52485 --recheck update $as_me by reconfiguring in the same conditions
52486 --file=FILE[:TEMPLATE]
52487 instantiate the configuration file FILE
52488 --header=FILE[:TEMPLATE]
52489 instantiate the configuration header FILE
52490
52491 Configuration files:
52492 $config_files
52493
52494 Configuration headers:
52495 $config_headers
52496
52497 Configuration commands:
52498 $config_commands
52499
52500 Report bugs to <bug-autoconf@gnu.org>."
52501
52502 _ACEOF
52503 cat >>$CONFIG_STATUS <<_ACEOF
52504 ac_cs_version="\\
52505 wxWidgets config.status 2.9.1
52506 configured by $0, generated by GNU Autoconf 2.61,
52507 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52508
52509 Copyright (C) 2006 Free Software Foundation, Inc.
52510 This config.status script is free software; the Free Software Foundation
52511 gives unlimited permission to copy, distribute and modify it."
52512
52513 ac_pwd='$ac_pwd'
52514 srcdir='$srcdir'
52515 INSTALL='$INSTALL'
52516 _ACEOF
52517
52518 cat >>$CONFIG_STATUS <<\_ACEOF
52519 # If no file are specified by the user, then we need to provide default
52520 # value. By we need to know if files were specified by the user.
52521 ac_need_defaults=:
52522 while test $# != 0
52523 do
52524 case $1 in
52525 --*=*)
52526 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52527 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52528 ac_shift=:
52529 ;;
52530 *)
52531 ac_option=$1
52532 ac_optarg=$2
52533 ac_shift=shift
52534 ;;
52535 esac
52536
52537 case $ac_option in
52538 # Handling of the options.
52539 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52540 ac_cs_recheck=: ;;
52541 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52542 echo "$ac_cs_version"; exit ;;
52543 --debug | --debu | --deb | --de | --d | -d )
52544 debug=: ;;
52545 --file | --fil | --fi | --f )
52546 $ac_shift
52547 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52548 ac_need_defaults=false;;
52549 --header | --heade | --head | --hea )
52550 $ac_shift
52551 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52552 ac_need_defaults=false;;
52553 --he | --h)
52554 # Conflict between --help and --header
52555 { echo "$as_me: error: ambiguous option: $1
52556 Try \`$0 --help' for more information." >&2
52557 { (exit 1); exit 1; }; };;
52558 --help | --hel | -h )
52559 echo "$ac_cs_usage"; exit ;;
52560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52561 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52562 ac_cs_silent=: ;;
52563
52564 # This is an error.
52565 -*) { echo "$as_me: error: unrecognized option: $1
52566 Try \`$0 --help' for more information." >&2
52567 { (exit 1); exit 1; }; } ;;
52568
52569 *) ac_config_targets="$ac_config_targets $1"
52570 ac_need_defaults=false ;;
52571
52572 esac
52573 shift
52574 done
52575
52576 ac_configure_extra_args=
52577
52578 if $ac_cs_silent; then
52579 exec 6>/dev/null
52580 ac_configure_extra_args="$ac_configure_extra_args --silent"
52581 fi
52582
52583 _ACEOF
52584 cat >>$CONFIG_STATUS <<_ACEOF
52585 if \$ac_cs_recheck; then
52586 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52587 CONFIG_SHELL=$SHELL
52588 export CONFIG_SHELL
52589 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52590 fi
52591
52592 _ACEOF
52593 cat >>$CONFIG_STATUS <<\_ACEOF
52594 exec 5>>config.log
52595 {
52596 echo
52597 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52598 ## Running $as_me. ##
52599 _ASBOX
52600 echo "$ac_log"
52601 } >&5
52602
52603 _ACEOF
52604 cat >>$CONFIG_STATUS <<_ACEOF
52605 #
52606 # INIT-COMMANDS
52607 #
52608
52609 CPP="$CPP"
52610 infile="$srcdir/include/wx/msw/genrcdefs.h"
52611 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52612
52613
52614 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52615 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52616 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52617 LN_S="${LN_S}"
52618
52619
52620 _ACEOF
52621
52622 cat >>$CONFIG_STATUS <<\_ACEOF
52623
52624 # Handling of arguments.
52625 for ac_config_target in $ac_config_targets
52626 do
52627 case $ac_config_target in
52628 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52629 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52630 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52631 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52632 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52633 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52634 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52635 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52636 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52637
52638 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52639 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52640 { (exit 1); exit 1; }; };;
52641 esac
52642 done
52643
52644
52645 # If the user did not use the arguments to specify the items to instantiate,
52646 # then the envvar interface is used. Set only those that are not.
52647 # We use the long form for the default assignment because of an extremely
52648 # bizarre bug on SunOS 4.1.3.
52649 if $ac_need_defaults; then
52650 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52651 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52652 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52653 fi
52654
52655 # Have a temporary directory for convenience. Make it in the build tree
52656 # simply because there is no reason against having it here, and in addition,
52657 # creating and moving files from /tmp can sometimes cause problems.
52658 # Hook for its removal unless debugging.
52659 # Note that there is a small window in which the directory will not be cleaned:
52660 # after its creation but before its name has been assigned to `$tmp'.
52661 $debug ||
52662 {
52663 tmp=
52664 trap 'exit_status=$?
52665 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52666 ' 0
52667 trap '{ (exit 1); exit 1; }' 1 2 13 15
52668 }
52669 # Create a (secure) tmp directory for tmp files.
52670
52671 {
52672 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52673 test -n "$tmp" && test -d "$tmp"
52674 } ||
52675 {
52676 tmp=./conf$$-$RANDOM
52677 (umask 077 && mkdir "$tmp")
52678 } ||
52679 {
52680 echo "$me: cannot create a temporary directory in ." >&2
52681 { (exit 1); exit 1; }
52682 }
52683
52684 #
52685 # Set up the sed scripts for CONFIG_FILES section.
52686 #
52687
52688 # No need to generate the scripts if there are no CONFIG_FILES.
52689 # This happens for instance when ./config.status config.h
52690 if test -n "$CONFIG_FILES"; then
52691
52692 _ACEOF
52693
52694
52695
52696 ac_delim='%!_!# '
52697 for ac_last_try in false false false false false :; do
52698 cat >conf$$subs.sed <<_ACEOF
52699 SHELL!$SHELL$ac_delim
52700 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52701 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52702 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52703 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52704 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52705 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52706 exec_prefix!$exec_prefix$ac_delim
52707 prefix!$prefix$ac_delim
52708 program_transform_name!$program_transform_name$ac_delim
52709 bindir!$bindir$ac_delim
52710 sbindir!$sbindir$ac_delim
52711 libexecdir!$libexecdir$ac_delim
52712 datarootdir!$datarootdir$ac_delim
52713 datadir!$datadir$ac_delim
52714 sysconfdir!$sysconfdir$ac_delim
52715 sharedstatedir!$sharedstatedir$ac_delim
52716 localstatedir!$localstatedir$ac_delim
52717 includedir!$includedir$ac_delim
52718 oldincludedir!$oldincludedir$ac_delim
52719 docdir!$docdir$ac_delim
52720 infodir!$infodir$ac_delim
52721 htmldir!$htmldir$ac_delim
52722 dvidir!$dvidir$ac_delim
52723 pdfdir!$pdfdir$ac_delim
52724 psdir!$psdir$ac_delim
52725 libdir!$libdir$ac_delim
52726 localedir!$localedir$ac_delim
52727 mandir!$mandir$ac_delim
52728 DEFS!$DEFS$ac_delim
52729 ECHO_C!$ECHO_C$ac_delim
52730 ECHO_N!$ECHO_N$ac_delim
52731 ECHO_T!$ECHO_T$ac_delim
52732 LIBS!$LIBS$ac_delim
52733 build_alias!$build_alias$ac_delim
52734 host_alias!$host_alias$ac_delim
52735 target_alias!$target_alias$ac_delim
52736 build!$build$ac_delim
52737 build_cpu!$build_cpu$ac_delim
52738 build_vendor!$build_vendor$ac_delim
52739 build_os!$build_os$ac_delim
52740 host!$host$ac_delim
52741 host_cpu!$host_cpu$ac_delim
52742 host_vendor!$host_vendor$ac_delim
52743 host_os!$host_os$ac_delim
52744 wx_top_builddir!$wx_top_builddir$ac_delim
52745 CC!$CC$ac_delim
52746 CFLAGS!$CFLAGS$ac_delim
52747 LDFLAGS!$LDFLAGS$ac_delim
52748 CPPFLAGS!$CPPFLAGS$ac_delim
52749 ac_ct_CC!$ac_ct_CC$ac_delim
52750 EXEEXT!$EXEEXT$ac_delim
52751 OBJEXT!$OBJEXT$ac_delim
52752 CPP!$CPP$ac_delim
52753 GREP!$GREP$ac_delim
52754 EGREP!$EGREP$ac_delim
52755 CXX!$CXX$ac_delim
52756 CXXFLAGS!$CXXFLAGS$ac_delim
52757 ac_ct_CXX!$ac_ct_CXX$ac_delim
52758 AR!$AR$ac_delim
52759 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52760 subdirs!$subdirs$ac_delim
52761 PKG_CONFIG!$PKG_CONFIG$ac_delim
52762 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52763 GTK_LIBS!$GTK_LIBS$ac_delim
52764 GTK_CONFIG!$GTK_CONFIG$ac_delim
52765 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52766 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52767 XMKMF!$XMKMF$ac_delim
52768 X_CFLAGS!$X_CFLAGS$ac_delim
52769 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52770 X_LIBS!$X_LIBS$ac_delim
52771 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52772 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52773 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52774 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52775 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52776 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52777 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52778 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52779 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52780 LIBICONV!$LIBICONV$ac_delim
52781 GXX_VERSION!$GXX_VERSION$ac_delim
52782 SDL_CONFIG!$SDL_CONFIG$ac_delim
52783 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52784 SDL_LIBS!$SDL_LIBS$ac_delim
52785 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52786 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52787 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52788 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52789 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52790 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52791 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52792 HILDON_LIBS!$HILDON_LIBS$ac_delim
52793 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52794 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52795 PYTHON!$PYTHON$ac_delim
52796 _ACEOF
52797
52798 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52799 break
52800 elif $ac_last_try; then
52801 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52802 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52803 { (exit 1); exit 1; }; }
52804 else
52805 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52806 fi
52807 done
52808
52809 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52810 if test -n "$ac_eof"; then
52811 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52812 ac_eof=`expr $ac_eof + 1`
52813 fi
52814
52815 cat >>$CONFIG_STATUS <<_ACEOF
52816 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52817 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52818 _ACEOF
52819 sed '
52820 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52821 s/^/s,@/; s/!/@,|#_!!_#|/
52822 :n
52823 t n
52824 s/'"$ac_delim"'$/,g/; t
52825 s/$/\\/; p
52826 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52827 ' >>$CONFIG_STATUS <conf$$subs.sed
52828 rm -f conf$$subs.sed
52829 cat >>$CONFIG_STATUS <<_ACEOF
52830 CEOF$ac_eof
52831 _ACEOF
52832
52833
52834 ac_delim='%!_!# '
52835 for ac_last_try in false false false false false :; do
52836 cat >conf$$subs.sed <<_ACEOF
52837 COND_PYTHON!$COND_PYTHON$ac_delim
52838 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52839 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52840 GST_CFLAGS!$GST_CFLAGS$ac_delim
52841 GST_LIBS!$GST_LIBS$ac_delim
52842 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52843 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52844 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52845 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52846 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52847 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52848 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52849 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52850 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52851 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52852 VENDOR!$VENDOR$ac_delim
52853 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52854 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52855 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52856 WXUNIV!$WXUNIV$ac_delim
52857 MONOLITHIC!$MONOLITHIC$ac_delim
52858 USE_PLUGINS!$USE_PLUGINS$ac_delim
52859 CXXWARNINGS!$CXXWARNINGS$ac_delim
52860 EXTRALIBS!$EXTRALIBS$ac_delim
52861 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52862 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52863 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52864 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52865 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52866 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52867 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52868 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52869 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52870 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52871 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52872 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52873 UNICODE!$UNICODE$ac_delim
52874 DEBUG_INFO!$DEBUG_INFO$ac_delim
52875 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52876 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52877 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52878 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52879 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52880 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52881 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52882 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52883 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52884 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52885 RANLIB!$RANLIB$ac_delim
52886 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52887 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52888 INSTALL_DATA!$INSTALL_DATA$ac_delim
52889 LN_S!$LN_S$ac_delim
52890 SET_MAKE!$SET_MAKE$ac_delim
52891 MAKE_SET!$MAKE_SET$ac_delim
52892 AROPTIONS!$AROPTIONS$ac_delim
52893 STRIP!$STRIP$ac_delim
52894 NM!$NM$ac_delim
52895 INSTALL_DIR!$INSTALL_DIR$ac_delim
52896 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52897 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52898 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52899 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52900 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52901 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52902 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52903 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52904 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52905 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52906 SO_SUFFIX!$SO_SUFFIX$ac_delim
52907 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52908 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52909 LIBPREFIX!$LIBPREFIX$ac_delim
52910 LIBEXT!$LIBEXT$ac_delim
52911 DLLPREFIX!$DLLPREFIX$ac_delim
52912 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52913 dlldir!$dlldir$ac_delim
52914 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52915 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52916 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52917 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52918 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52919 PIC_FLAG!$PIC_FLAG$ac_delim
52920 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52921 USE_SOVERSION!$USE_SOVERSION$ac_delim
52922 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52923 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52924 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52925 USE_MACVERSION!$USE_MACVERSION$ac_delim
52926 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52927 SONAME_FLAG!$SONAME_FLAG$ac_delim
52928 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52929 BK_DEPS!$BK_DEPS$ac_delim
52930 WINDRES!$WINDRES$ac_delim
52931 REZ!$REZ$ac_delim
52932 SETFILE!$SETFILE$ac_delim
52933 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52934 _ACEOF
52935
52936 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52937 break
52938 elif $ac_last_try; then
52939 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52940 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52941 { (exit 1); exit 1; }; }
52942 else
52943 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52944 fi
52945 done
52946
52947 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52948 if test -n "$ac_eof"; then
52949 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52950 ac_eof=`expr $ac_eof + 1`
52951 fi
52952
52953 cat >>$CONFIG_STATUS <<_ACEOF
52954 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52956 _ACEOF
52957 sed '
52958 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52959 s/^/s,@/; s/!/@,|#_!!_#|/
52960 :n
52961 t n
52962 s/'"$ac_delim"'$/,g/; t
52963 s/$/\\/; p
52964 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52965 ' >>$CONFIG_STATUS <conf$$subs.sed
52966 rm -f conf$$subs.sed
52967 cat >>$CONFIG_STATUS <<_ACEOF
52968 CEOF$ac_eof
52969 _ACEOF
52970
52971
52972 ac_delim='%!_!# '
52973 for ac_last_try in false false false false false :; do
52974 cat >conf$$subs.sed <<_ACEOF
52975 GCC_PCH!$GCC_PCH$ac_delim
52976 ICC_PCH!$ICC_PCH$ac_delim
52977 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52978 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52979 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52980 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52981 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52982 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52983 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52984 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52985 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52986 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52987 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52988 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52989 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52990 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52991 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52992 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52993 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52994 COND_BUILD_release!$COND_BUILD_release$ac_delim
52995 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52996 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52997 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52998 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52999 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53000 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53001 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53002 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53003 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53004 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53005 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53006 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53007 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53008 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53009 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53011 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53012 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53013 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53014 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53015 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53016 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53017 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53018 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53019 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53020 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53022 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53024 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53025 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53026 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53027 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53028 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53029 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53030 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53031 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53032 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53033 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53034 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53035 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53036 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53037 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53038 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53039 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53040 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53041 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53042 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53043 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53044 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53045 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53046 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53047 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53048 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53049 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53050 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53051 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
53052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53053 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
53054 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53055 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53056 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53057 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53058 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53059 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53060 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53061 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53062 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53063 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53064 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53065 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53066 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53067 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53069 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53070 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53071 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53072 _ACEOF
53073
53074 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53075 break
53076 elif $ac_last_try; then
53077 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53078 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53079 { (exit 1); exit 1; }; }
53080 else
53081 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53082 fi
53083 done
53084
53085 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53086 if test -n "$ac_eof"; then
53087 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53088 ac_eof=`expr $ac_eof + 1`
53089 fi
53090
53091 cat >>$CONFIG_STATUS <<_ACEOF
53092 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53093 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53094 _ACEOF
53095 sed '
53096 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53097 s/^/s,@/; s/!/@,|#_!!_#|/
53098 :n
53099 t n
53100 s/'"$ac_delim"'$/,g/; t
53101 s/$/\\/; p
53102 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53103 ' >>$CONFIG_STATUS <conf$$subs.sed
53104 rm -f conf$$subs.sed
53105 cat >>$CONFIG_STATUS <<_ACEOF
53106 CEOF$ac_eof
53107 _ACEOF
53108
53109
53110 ac_delim='%!_!# '
53111 for ac_last_try in false false false false false :; do
53112 cat >conf$$subs.sed <<_ACEOF
53113 COND_SHARED_0!$COND_SHARED_0$ac_delim
53114 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53115 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53116 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53117 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53119 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53120 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53121 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53122 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53123 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53124 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53125 COND_SHARED_1!$COND_SHARED_1$ac_delim
53126 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53127 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53128 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53129 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53130 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53131 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53132 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53133 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53135 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53138 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53139 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53140 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53141 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53142 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53143 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53144 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53145 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53146 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53147 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53148 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53149 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53150 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53151 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53152 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53153 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53154 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53155 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53156 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53157 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53158 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53159 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53160 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53161 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53162 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53163 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53164 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53165 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53166 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53167 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53168 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53169 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53170 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53171 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53172 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53173 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53174 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53175 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53176 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53177 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53178 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53179 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53180 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53181 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53182 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53183 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53184 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53185 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53186 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53187 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53188 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53189 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53190 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53191 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53192 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53193 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53194 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53195 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53196 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53197 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53198 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53199 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53200 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53201 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53202 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53203 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53204 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53205 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53206 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53207 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53208 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53209 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53210 _ACEOF
53211
53212 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53213 break
53214 elif $ac_last_try; then
53215 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53216 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53217 { (exit 1); exit 1; }; }
53218 else
53219 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53220 fi
53221 done
53222
53223 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53224 if test -n "$ac_eof"; then
53225 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53226 ac_eof=`expr $ac_eof + 1`
53227 fi
53228
53229 cat >>$CONFIG_STATUS <<_ACEOF
53230 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53231 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53232 _ACEOF
53233 sed '
53234 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53235 s/^/s,@/; s/!/@,|#_!!_#|/
53236 :n
53237 t n
53238 s/'"$ac_delim"'$/,g/; t
53239 s/$/\\/; p
53240 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53241 ' >>$CONFIG_STATUS <conf$$subs.sed
53242 rm -f conf$$subs.sed
53243 cat >>$CONFIG_STATUS <<_ACEOF
53244 CEOF$ac_eof
53245 _ACEOF
53246
53247
53248 ac_delim='%!_!# '
53249 for ac_last_try in false false false false false :; do
53250 cat >conf$$subs.sed <<_ACEOF
53251 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53252 DEREZ!$DEREZ$ac_delim
53253 SHARED!$SHARED$ac_delim
53254 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53255 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53256 USE_GUI!$USE_GUI$ac_delim
53257 AFMINSTALL!$AFMINSTALL$ac_delim
53258 WIN32INSTALL!$WIN32INSTALL$ac_delim
53259 TOOLKIT!$TOOLKIT$ac_delim
53260 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53261 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53262 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53263 cross_compiling!$cross_compiling$ac_delim
53264 WIDGET_SET!$WIDGET_SET$ac_delim
53265 WX_RELEASE!$WX_RELEASE$ac_delim
53266 WX_VERSION!$WX_VERSION$ac_delim
53267 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53268 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53269 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53270 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53271 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53272 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53273 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53274 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53275 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53276 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53277 GUIDIST!$GUIDIST$ac_delim
53278 DISTDIR!$DISTDIR$ac_delim
53279 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53280 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53281 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53282 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53283 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53284 RESCOMP!$RESCOMP$ac_delim
53285 RESFLAGS!$RESFLAGS$ac_delim
53286 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53287 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53288 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53289 LIBWXMACRES!$LIBWXMACRES$ac_delim
53290 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53291 MACSETFILE!$MACSETFILE$ac_delim
53292 GCC!$GCC$ac_delim
53293 DLLTOOL!$DLLTOOL$ac_delim
53294 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53295 LIBOBJS!$LIBOBJS$ac_delim
53296 LTLIBOBJS!$LTLIBOBJS$ac_delim
53297 _ACEOF
53298
53299 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53300 break
53301 elif $ac_last_try; then
53302 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53303 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53304 { (exit 1); exit 1; }; }
53305 else
53306 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53307 fi
53308 done
53309
53310 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53311 if test -n "$ac_eof"; then
53312 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53313 ac_eof=`expr $ac_eof + 1`
53314 fi
53315
53316 cat >>$CONFIG_STATUS <<_ACEOF
53317 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53318 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53319 _ACEOF
53320 sed '
53321 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53322 s/^/s,@/; s/!/@,|#_!!_#|/
53323 :n
53324 t n
53325 s/'"$ac_delim"'$/,g/; t
53326 s/$/\\/; p
53327 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53328 ' >>$CONFIG_STATUS <conf$$subs.sed
53329 rm -f conf$$subs.sed
53330 cat >>$CONFIG_STATUS <<_ACEOF
53331 :end
53332 s/|#_!!_#|//g
53333 CEOF$ac_eof
53334 _ACEOF
53335
53336
53337 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53338 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53339 # trailing colons and then remove the whole line if VPATH becomes empty
53340 # (actually we leave an empty line to preserve line numbers).
53341 if test "x$srcdir" = x.; then
53342 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53343 s/:*\$(srcdir):*/:/
53344 s/:*\${srcdir}:*/:/
53345 s/:*@srcdir@:*/:/
53346 s/^\([^=]*=[ ]*\):*/\1/
53347 s/:*$//
53348 s/^[^=]*=[ ]*$//
53349 }'
53350 fi
53351
53352 cat >>$CONFIG_STATUS <<\_ACEOF
53353 fi # test -n "$CONFIG_FILES"
53354
53355
53356 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53357 do
53358 case $ac_tag in
53359 :[FHLC]) ac_mode=$ac_tag; continue;;
53360 esac
53361 case $ac_mode$ac_tag in
53362 :[FHL]*:*);;
53363 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53364 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53365 { (exit 1); exit 1; }; };;
53366 :[FH]-) ac_tag=-:-;;
53367 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53368 esac
53369 ac_save_IFS=$IFS
53370 IFS=:
53371 set x $ac_tag
53372 IFS=$ac_save_IFS
53373 shift
53374 ac_file=$1
53375 shift
53376
53377 case $ac_mode in
53378 :L) ac_source=$1;;
53379 :[FH])
53380 ac_file_inputs=
53381 for ac_f
53382 do
53383 case $ac_f in
53384 -) ac_f="$tmp/stdin";;
53385 *) # Look for the file first in the build tree, then in the source tree
53386 # (if the path is not absolute). The absolute path cannot be DOS-style,
53387 # because $ac_f cannot contain `:'.
53388 test -f "$ac_f" ||
53389 case $ac_f in
53390 [\\/$]*) false;;
53391 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53392 esac ||
53393 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53394 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53395 { (exit 1); exit 1; }; };;
53396 esac
53397 ac_file_inputs="$ac_file_inputs $ac_f"
53398 done
53399
53400 # Let's still pretend it is `configure' which instantiates (i.e., don't
53401 # use $as_me), people would be surprised to read:
53402 # /* config.h. Generated by config.status. */
53403 configure_input="Generated from "`IFS=:
53404 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53405 if test x"$ac_file" != x-; then
53406 configure_input="$ac_file. $configure_input"
53407 { echo "$as_me:$LINENO: creating $ac_file" >&5
53408 echo "$as_me: creating $ac_file" >&6;}
53409 fi
53410
53411 case $ac_tag in
53412 *:-:* | *:-) cat >"$tmp/stdin";;
53413 esac
53414 ;;
53415 esac
53416
53417 ac_dir=`$as_dirname -- "$ac_file" ||
53418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53419 X"$ac_file" : 'X\(//\)[^/]' \| \
53420 X"$ac_file" : 'X\(//\)$' \| \
53421 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53422 echo X"$ac_file" |
53423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53424 s//\1/
53425 q
53426 }
53427 /^X\(\/\/\)[^/].*/{
53428 s//\1/
53429 q
53430 }
53431 /^X\(\/\/\)$/{
53432 s//\1/
53433 q
53434 }
53435 /^X\(\/\).*/{
53436 s//\1/
53437 q
53438 }
53439 s/.*/./; q'`
53440 { as_dir="$ac_dir"
53441 case $as_dir in #(
53442 -*) as_dir=./$as_dir;;
53443 esac
53444 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53445 as_dirs=
53446 while :; do
53447 case $as_dir in #(
53448 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53449 *) as_qdir=$as_dir;;
53450 esac
53451 as_dirs="'$as_qdir' $as_dirs"
53452 as_dir=`$as_dirname -- "$as_dir" ||
53453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53454 X"$as_dir" : 'X\(//\)[^/]' \| \
53455 X"$as_dir" : 'X\(//\)$' \| \
53456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53457 echo X"$as_dir" |
53458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53459 s//\1/
53460 q
53461 }
53462 /^X\(\/\/\)[^/].*/{
53463 s//\1/
53464 q
53465 }
53466 /^X\(\/\/\)$/{
53467 s//\1/
53468 q
53469 }
53470 /^X\(\/\).*/{
53471 s//\1/
53472 q
53473 }
53474 s/.*/./; q'`
53475 test -d "$as_dir" && break
53476 done
53477 test -z "$as_dirs" || eval "mkdir $as_dirs"
53478 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53479 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53480 { (exit 1); exit 1; }; }; }
53481 ac_builddir=.
53482
53483 case "$ac_dir" in
53484 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53485 *)
53486 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53487 # A ".." for each directory in $ac_dir_suffix.
53488 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53489 case $ac_top_builddir_sub in
53490 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53491 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53492 esac ;;
53493 esac
53494 ac_abs_top_builddir=$ac_pwd
53495 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53496 # for backward compatibility:
53497 ac_top_builddir=$ac_top_build_prefix
53498
53499 case $srcdir in
53500 .) # We are building in place.
53501 ac_srcdir=.
53502 ac_top_srcdir=$ac_top_builddir_sub
53503 ac_abs_top_srcdir=$ac_pwd ;;
53504 [\\/]* | ?:[\\/]* ) # Absolute name.
53505 ac_srcdir=$srcdir$ac_dir_suffix;
53506 ac_top_srcdir=$srcdir
53507 ac_abs_top_srcdir=$srcdir ;;
53508 *) # Relative name.
53509 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53510 ac_top_srcdir=$ac_top_build_prefix$srcdir
53511 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53512 esac
53513 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53514
53515
53516 case $ac_mode in
53517 :F)
53518 #
53519 # CONFIG_FILE
53520 #
53521
53522 case $INSTALL in
53523 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53524 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53525 esac
53526 _ACEOF
53527
53528 cat >>$CONFIG_STATUS <<\_ACEOF
53529 # If the template does not know about datarootdir, expand it.
53530 # FIXME: This hack should be removed a few years after 2.60.
53531 ac_datarootdir_hack=; ac_datarootdir_seen=
53532
53533 case `sed -n '/datarootdir/ {
53534 p
53535 q
53536 }
53537 /@datadir@/p
53538 /@docdir@/p
53539 /@infodir@/p
53540 /@localedir@/p
53541 /@mandir@/p
53542 ' $ac_file_inputs` in
53543 *datarootdir*) ac_datarootdir_seen=yes;;
53544 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53545 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53546 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53547 _ACEOF
53548 cat >>$CONFIG_STATUS <<_ACEOF
53549 ac_datarootdir_hack='
53550 s&@datadir@&$datadir&g
53551 s&@docdir@&$docdir&g
53552 s&@infodir@&$infodir&g
53553 s&@localedir@&$localedir&g
53554 s&@mandir@&$mandir&g
53555 s&\\\${datarootdir}&$datarootdir&g' ;;
53556 esac
53557 _ACEOF
53558
53559 # Neutralize VPATH when `$srcdir' = `.'.
53560 # Shell code in configure.ac might set extrasub.
53561 # FIXME: do we really want to maintain this feature?
53562 cat >>$CONFIG_STATUS <<_ACEOF
53563 sed "$ac_vpsub
53564 $extrasub
53565 _ACEOF
53566 cat >>$CONFIG_STATUS <<\_ACEOF
53567 :t
53568 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53569 s&@configure_input@&$configure_input&;t t
53570 s&@top_builddir@&$ac_top_builddir_sub&;t t
53571 s&@srcdir@&$ac_srcdir&;t t
53572 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53573 s&@top_srcdir@&$ac_top_srcdir&;t t
53574 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53575 s&@builddir@&$ac_builddir&;t t
53576 s&@abs_builddir@&$ac_abs_builddir&;t t
53577 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53578 s&@INSTALL@&$ac_INSTALL&;t t
53579 $ac_datarootdir_hack
53580 " $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
53581
53582 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53583 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53584 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53585 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53586 which seems to be undefined. Please make sure it is defined." >&5
53587 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53588 which seems to be undefined. Please make sure it is defined." >&2;}
53589
53590 rm -f "$tmp/stdin"
53591 case $ac_file in
53592 -) cat "$tmp/out"; rm -f "$tmp/out";;
53593 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53594 esac
53595 ;;
53596 :H)
53597 #
53598 # CONFIG_HEADER
53599 #
53600 _ACEOF
53601
53602 # Transform confdefs.h into a sed script `conftest.defines', that
53603 # substitutes the proper values into config.h.in to produce config.h.
53604 rm -f conftest.defines conftest.tail
53605 # First, append a space to every undef/define line, to ease matching.
53606 echo 's/$/ /' >conftest.defines
53607 # Then, protect against being on the right side of a sed subst, or in
53608 # an unquoted here document, in config.status. If some macros were
53609 # called several times there might be several #defines for the same
53610 # symbol, which is useless. But do not sort them, since the last
53611 # AC_DEFINE must be honored.
53612 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53613 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53614 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53615 # PARAMS is the parameter list in the macro definition--in most cases, it's
53616 # just an empty string.
53617 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53618 ac_dB='\\)[ (].*,\\1define\\2'
53619 ac_dC=' '
53620 ac_dD=' ,'
53621
53622 uniq confdefs.h |
53623 sed -n '
53624 t rset
53625 :rset
53626 s/^[ ]*#[ ]*define[ ][ ]*//
53627 t ok
53628 d
53629 :ok
53630 s/[\\&,]/\\&/g
53631 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53632 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53633 ' >>conftest.defines
53634
53635 # Remove the space that was appended to ease matching.
53636 # Then replace #undef with comments. This is necessary, for
53637 # example, in the case of _POSIX_SOURCE, which is predefined and required
53638 # on some systems where configure will not decide to define it.
53639 # (The regexp can be short, since the line contains either #define or #undef.)
53640 echo 's/ $//
53641 s,^[ #]*u.*,/* & */,' >>conftest.defines
53642
53643 # Break up conftest.defines:
53644 ac_max_sed_lines=50
53645
53646 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53647 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53648 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53649 # et cetera.
53650 ac_in='$ac_file_inputs'
53651 ac_out='"$tmp/out1"'
53652 ac_nxt='"$tmp/out2"'
53653
53654 while :
53655 do
53656 # Write a here document:
53657 cat >>$CONFIG_STATUS <<_ACEOF
53658 # First, check the format of the line:
53659 cat >"\$tmp/defines.sed" <<\\CEOF
53660 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53661 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53662 b
53663 :def
53664 _ACEOF
53665 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53666 echo 'CEOF
53667 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53668 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53669 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53670 grep . conftest.tail >/dev/null || break
53671 rm -f conftest.defines
53672 mv conftest.tail conftest.defines
53673 done
53674 rm -f conftest.defines conftest.tail
53675
53676 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53677 cat >>$CONFIG_STATUS <<\_ACEOF
53678 if test x"$ac_file" != x-; then
53679 echo "/* $configure_input */" >"$tmp/config.h"
53680 cat "$ac_result" >>"$tmp/config.h"
53681 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53682 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53683 echo "$as_me: $ac_file is unchanged" >&6;}
53684 else
53685 rm -f $ac_file
53686 mv "$tmp/config.h" $ac_file
53687 fi
53688 else
53689 echo "/* $configure_input */"
53690 cat "$ac_result"
53691 fi
53692 rm -f "$tmp/out12"
53693 ;;
53694
53695 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53696 echo "$as_me: executing $ac_file commands" >&6;}
53697 ;;
53698 esac
53699
53700
53701 case $ac_file$ac_mode in
53702 "rcdefs.h":C)
53703 mkdir -p $outdir &&
53704 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53705 ;;
53706 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53707 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53708 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53709 "wx-config":C) rm -f wx-config
53710 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53711 ;;
53712
53713 esac
53714 done # for ac_tag
53715
53716
53717 { (exit 0); exit 0; }
53718 _ACEOF
53719 chmod +x $CONFIG_STATUS
53720 ac_clean_files=$ac_clean_files_save
53721
53722
53723 # configure is writing to config.log, and then calls config.status.
53724 # config.status does its own redirection, appending to config.log.
53725 # Unfortunately, on DOS this fails, as config.log is still kept open
53726 # by configure, so config.status won't be able to write to it; its
53727 # output is simply discarded. So we exec the FD to /dev/null,
53728 # effectively closing config.log, so it can be properly (re)opened and
53729 # appended to by config.status. When coming back to configure, we
53730 # need to make the FD available again.
53731 if test "$no_create" != yes; then
53732 ac_cs_success=:
53733 ac_config_status_args=
53734 test "$silent" = yes &&
53735 ac_config_status_args="$ac_config_status_args --quiet"
53736 exec 5>/dev/null
53737 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53738 exec 5>>config.log
53739 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53740 # would make configure fail if this is the last instruction.
53741 $ac_cs_success || { (exit 1); exit 1; }
53742 fi
53743
53744 #
53745 # CONFIG_SUBDIRS section.
53746 #
53747 if test "$no_recursion" != yes; then
53748
53749 # Remove --cache-file and --srcdir arguments so they do not pile up.
53750 ac_sub_configure_args=
53751 ac_prev=
53752 eval "set x $ac_configure_args"
53753 shift
53754 for ac_arg
53755 do
53756 if test -n "$ac_prev"; then
53757 ac_prev=
53758 continue
53759 fi
53760 case $ac_arg in
53761 -cache-file | --cache-file | --cache-fil | --cache-fi \
53762 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53763 ac_prev=cache_file ;;
53764 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53765 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53766 | --c=*)
53767 ;;
53768 --config-cache | -C)
53769 ;;
53770 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53771 ac_prev=srcdir ;;
53772 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53773 ;;
53774 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53775 ac_prev=prefix ;;
53776 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53777 ;;
53778 *)
53779 case $ac_arg in
53780 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53781 esac
53782 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53783 esac
53784 done
53785
53786 # Always prepend --prefix to ensure using the same prefix
53787 # in subdir configurations.
53788 ac_arg="--prefix=$prefix"
53789 case $ac_arg in
53790 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53791 esac
53792 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53793
53794 # Pass --silent
53795 if test "$silent" = yes; then
53796 ac_sub_configure_args="--silent $ac_sub_configure_args"
53797 fi
53798
53799 ac_popdir=`pwd`
53800 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53801
53802 # Do not complain, so a configure script can configure whichever
53803 # parts of a large source tree are present.
53804 test -d "$srcdir/$ac_dir" || continue
53805
53806 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53807 echo "$as_me:$LINENO: $ac_msg" >&5
53808 echo "$ac_msg" >&6
53809 { as_dir="$ac_dir"
53810 case $as_dir in #(
53811 -*) as_dir=./$as_dir;;
53812 esac
53813 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53814 as_dirs=
53815 while :; do
53816 case $as_dir in #(
53817 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53818 *) as_qdir=$as_dir;;
53819 esac
53820 as_dirs="'$as_qdir' $as_dirs"
53821 as_dir=`$as_dirname -- "$as_dir" ||
53822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53823 X"$as_dir" : 'X\(//\)[^/]' \| \
53824 X"$as_dir" : 'X\(//\)$' \| \
53825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53826 echo X"$as_dir" |
53827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53828 s//\1/
53829 q
53830 }
53831 /^X\(\/\/\)[^/].*/{
53832 s//\1/
53833 q
53834 }
53835 /^X\(\/\/\)$/{
53836 s//\1/
53837 q
53838 }
53839 /^X\(\/\).*/{
53840 s//\1/
53841 q
53842 }
53843 s/.*/./; q'`
53844 test -d "$as_dir" && break
53845 done
53846 test -z "$as_dirs" || eval "mkdir $as_dirs"
53847 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53848 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53849 { (exit 1); exit 1; }; }; }
53850 ac_builddir=.
53851
53852 case "$ac_dir" in
53853 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53854 *)
53855 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53856 # A ".." for each directory in $ac_dir_suffix.
53857 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53858 case $ac_top_builddir_sub in
53859 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53860 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53861 esac ;;
53862 esac
53863 ac_abs_top_builddir=$ac_pwd
53864 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53865 # for backward compatibility:
53866 ac_top_builddir=$ac_top_build_prefix
53867
53868 case $srcdir in
53869 .) # We are building in place.
53870 ac_srcdir=.
53871 ac_top_srcdir=$ac_top_builddir_sub
53872 ac_abs_top_srcdir=$ac_pwd ;;
53873 [\\/]* | ?:[\\/]* ) # Absolute name.
53874 ac_srcdir=$srcdir$ac_dir_suffix;
53875 ac_top_srcdir=$srcdir
53876 ac_abs_top_srcdir=$srcdir ;;
53877 *) # Relative name.
53878 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53879 ac_top_srcdir=$ac_top_build_prefix$srcdir
53880 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53881 esac
53882 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53883
53884
53885 cd "$ac_dir"
53886
53887 # Check for guested configure; otherwise get Cygnus style configure.
53888 if test -f "$ac_srcdir/configure.gnu"; then
53889 ac_sub_configure=$ac_srcdir/configure.gnu
53890 elif test -f "$ac_srcdir/configure"; then
53891 ac_sub_configure=$ac_srcdir/configure
53892 elif test -f "$ac_srcdir/configure.in"; then
53893 # This should be Cygnus configure.
53894 ac_sub_configure=$ac_aux_dir/configure
53895 else
53896 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53897 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53898 ac_sub_configure=
53899 fi
53900
53901 # The recursion is here.
53902 if test -n "$ac_sub_configure"; then
53903 # Make the cache file name correct relative to the subdirectory.
53904 case $cache_file in
53905 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53906 *) # Relative name.
53907 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53908 esac
53909
53910 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53911 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53912 # The eval makes quoting arguments work.
53913 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53914 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53915 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53916 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53917 { (exit 1); exit 1; }; }
53918 fi
53919
53920 cd "$ac_popdir"
53921 done
53922 fi
53923
53924
53925 echo
53926 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53927 echo ""
53928 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53929 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53930 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53931 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53932 if test "$wxUSE_UNICODE" = "yes"; then
53933 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53934 echo " (using UTF-8)"
53935 else
53936 echo " (using wchar_t)"
53937 fi
53938 else
53939 echo
53940 fi
53941
53942 echo " What level of wxWidgets compatibility should be enabled?"
53943 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53944 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53945
53946 echo " Which libraries should wxWidgets use?"
53947 echo " STL ${wxUSE_STL}"
53948 echo " jpeg ${wxUSE_LIBJPEG-none}"
53949 echo " png ${wxUSE_LIBPNG-none}"
53950 echo " regex ${wxUSE_REGEX}"
53951 echo " tiff ${wxUSE_LIBTIFF-none}"
53952 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53953 echo " xpm ${wxUSE_LIBXPM-none}"
53954 fi
53955 echo " zlib ${wxUSE_ZLIB}"
53956 echo " expat ${wxUSE_EXPAT}"
53957 echo " libmspack ${wxUSE_LIBMSPACK}"
53958 echo " sdl ${wxUSE_LIBSDL}"
53959
53960 echo ""
53961