]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix warnings for the OSX WebKit backend.
[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.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile (Win32 only)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator (experimental)
1902 --enable-dctransform use wxDC::SetTransformMatrix and related
1903 --enable-palette use wxPalette class
1904 --enable-image use wxImage class
1905 --enable-gif use gif images (GIF file format)
1906 --enable-pcx use pcx images (PCX file format)
1907 --enable-tga use tga images (TGA file format)
1908 --enable-iff use iff images (IFF file format)
1909 --enable-pnm use pnm images (PNM file format)
1910 --enable-xpm use xpm images (XPM file format)
1911 --enable-ico_cur use Windows ICO and CUR formats
1912 --enable-dccache cache temporary wxDC objects (Win32 only)
1913 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1914 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1915 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1916 --enable-wxdib use wxDIB class (Win32 only)
1917 --enable-autoidman use automatic ids management
1918 --disable-largefile omit support for large files
1919 --disable-gtktest do not try to compile and run a test GTK+ program
1920 --disable-gtktest Do not try to compile and run a test GTK program
1921 --disable-sdltest Do not try to compile and run a test SDL program
1922 --enable-omf use OMF object format (OS/2)
1923 --disable-dependency-tracking
1924 don't use dependency tracking even if the compiler
1925 can
1926 --disable-precomp-headers
1927 don't use precompiled headers even if compiler can
1928
1929 Optional Packages:
1930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1932 --without-subdirs don't generate makefiles for samples/demos/...
1933 --with-flavour=NAME specify a name to identify this build
1934 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1935 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1936 --with-motif use Motif/Lesstif
1937 --with-osx_carbon use Mac OS X (Carbon)
1938 --with-osx_cocoa use Mac OS X (Cocoa)
1939 --with-osx_iphone use iPhone OS X port
1940 --with-osx use Mac OS X (default port, currently Carbon)
1941 --with-carbon same as --with-osx_carbon
1942 --with-cocoa same as --with-osx_cocoa
1943 --with-iphone same as --with-osx_iphone
1944 --with-mac same as --with-osx
1945 --with-old_cocoa use old, deprecated, Cocoa port
1946 --with-wine use Wine
1947 --with-msw use MS-Windows
1948 --with-pm use OS/2 Presentation Manager
1949 --with-mgl use SciTech MGL
1950 --with-directfb use DirectFB
1951 --with-microwin use MicroWindows
1952 --with-x11 use X11
1953 --with-libpng use libpng (PNG image format)
1954 --with-libjpeg use libjpeg (JPEG file format)
1955 --with-libtiff use libtiff (TIFF file format)
1956 --with-libxpm use libxpm (XPM file format)
1957 --with-libiconv use libiconv (character conversion)
1958 --with-libmspack use libmspack (CHM help files loading)
1959 --without-gtkprint don't use GTK printing support
1960 --without-gnomeprint don't use GNOME printing libraries
1961 --with-gnomevfs use GNOME VFS for associating MIME types
1962 --with-hildon use Hildon framework for Nokia 770/800/810
1963 --with-opengl use OpenGL (or Mesa)
1964 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1965 --with-sdl use SDL for audio on Unix
1966 --with-regex enable support for wxRegEx class
1967 --with-zlib use zlib for LZW compression
1968 --with-expat enable XML support using expat parser
1969 --with-macosx-sdk=PATH use an OS X SDK at PATH
1970 --with-macosx-version-min=VER build binaries which require at least this OS X version
1971 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1972 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1973 --with-x use the X Window System
1974 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1975 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1976 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1977 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1978 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1979
1980 Some influential environment variables:
1981 CC C compiler command
1982 CFLAGS C compiler flags
1983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1984 nonstandard directory <lib dir>
1985 LIBS libraries to pass to the linker, e.g. -l<library>
1986 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1987 you have headers in a nonstandard directory <include dir>
1988 CPP C preprocessor
1989 CXX C++ compiler command
1990 CXXFLAGS C++ compiler flags
1991 CXXCPP C++ preprocessor
1992 PKG_CONFIG path to pkg-config utility
1993 DIRECTFB_CFLAGS
1994 C compiler flags for DIRECTFB, overriding pkg-config
1995 DIRECTFB_LIBS
1996 linker flags for DIRECTFB, overriding pkg-config
1997 XMKMF Path to xmkmf, Makefile generator for X Window System
1998 PANGOX_CFLAGS
1999 C compiler flags for PANGOX, overriding pkg-config
2000 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2001 PANGOFT2_CFLAGS
2002 C compiler flags for PANGOFT2, overriding pkg-config
2003 PANGOFT2_LIBS
2004 linker flags for PANGOFT2, overriding pkg-config
2005 PANGOXFT_CFLAGS
2006 C compiler flags for PANGOXFT, overriding pkg-config
2007 PANGOXFT_LIBS
2008 linker flags for PANGOXFT, overriding pkg-config
2009 GTKPRINT_CFLAGS
2010 C compiler flags for GTKPRINT, overriding pkg-config
2011 GTKPRINT_LIBS
2012 linker flags for GTKPRINT, overriding pkg-config
2013 LIBGNOMEPRINTUI_CFLAGS
2014 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 LIBGNOMEPRINTUI_LIBS
2016 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 GNOMEVFS_CFLAGS
2018 C compiler flags for GNOMEVFS, overriding pkg-config
2019 GNOMEVFS_LIBS
2020 linker flags for GNOMEVFS, overriding pkg-config
2021 HILDON_CFLAGS
2022 C compiler flags for HILDON, overriding pkg-config
2023 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2024 HILDON2_CFLAGS
2025 C compiler flags for HILDON2, overriding pkg-config
2026 HILDON2_LIBS
2027 linker flags for HILDON2, overriding pkg-config
2028 CAIRO_CFLAGS
2029 C compiler flags for CAIRO, overriding pkg-config
2030 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2031 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2032 GST_LIBS linker flags for GST, overriding pkg-config
2033
2034 Use these variables to override the choices made by `configure' or to help
2035 it to find libraries and programs with nonstandard names/locations.
2036
2037 Report bugs to <wx-dev@lists.wxwidgets.org>.
2038 _ACEOF
2039 ac_status=$?
2040 fi
2041
2042 if test "$ac_init_help" = "recursive"; then
2043 # If there are subdirs, report their specific --help.
2044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2045 test -d "$ac_dir" || continue
2046 ac_builddir=.
2047
2048 case "$ac_dir" in
2049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2050 *)
2051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2052 # A ".." for each directory in $ac_dir_suffix.
2053 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2054 case $ac_top_builddir_sub in
2055 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2056 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2057 esac ;;
2058 esac
2059 ac_abs_top_builddir=$ac_pwd
2060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2061 # for backward compatibility:
2062 ac_top_builddir=$ac_top_build_prefix
2063
2064 case $srcdir in
2065 .) # We are building in place.
2066 ac_srcdir=.
2067 ac_top_srcdir=$ac_top_builddir_sub
2068 ac_abs_top_srcdir=$ac_pwd ;;
2069 [\\/]* | ?:[\\/]* ) # Absolute name.
2070 ac_srcdir=$srcdir$ac_dir_suffix;
2071 ac_top_srcdir=$srcdir
2072 ac_abs_top_srcdir=$srcdir ;;
2073 *) # Relative name.
2074 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2075 ac_top_srcdir=$ac_top_build_prefix$srcdir
2076 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2077 esac
2078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2079
2080 cd "$ac_dir" || { ac_status=$?; continue; }
2081 # Check for guested configure.
2082 if test -f "$ac_srcdir/configure.gnu"; then
2083 echo &&
2084 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2085 elif test -f "$ac_srcdir/configure"; then
2086 echo &&
2087 $SHELL "$ac_srcdir/configure" --help=recursive
2088 else
2089 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2090 fi || ac_status=$?
2091 cd "$ac_pwd" || { ac_status=$?; break; }
2092 done
2093 fi
2094
2095 test -n "$ac_init_help" && exit $ac_status
2096 if $ac_init_version; then
2097 cat <<\_ACEOF
2098 wxWidgets configure 2.9.3
2099 generated by GNU Autoconf 2.61
2100
2101 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2102 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2103 This configure script is free software; the Free Software Foundation
2104 gives unlimited permission to copy, distribute and modify it.
2105 _ACEOF
2106 exit
2107 fi
2108 cat >config.log <<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2111
2112 It was created by wxWidgets $as_me 2.9.3, which was
2113 generated by GNU Autoconf 2.61. Invocation command line was
2114
2115 $ $0 $@
2116
2117 _ACEOF
2118 exec 5>>config.log
2119 {
2120 cat <<_ASUNAME
2121 ## --------- ##
2122 ## Platform. ##
2123 ## --------- ##
2124
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2130
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2133
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141
2142 _ASUNAME
2143
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2146 do
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 echo "PATH: $as_dir"
2150 done
2151 IFS=$as_save_IFS
2152
2153 } >&5
2154
2155 cat >&5 <<_ACEOF
2156
2157
2158 ## ----------- ##
2159 ## Core tests. ##
2160 ## ----------- ##
2161
2162 _ACEOF
2163
2164
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_configure_args=
2171 ac_configure_args0=
2172 ac_configure_args1=
2173 ac_must_keep_next=false
2174 for ac_pass in 1 2
2175 do
2176 for ac_arg
2177 do
2178 case $ac_arg in
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2182 continue ;;
2183 *\'*)
2184 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 esac
2186 case $ac_pass in
2187 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2188 2)
2189 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2190 if test $ac_must_keep_next = true; then
2191 ac_must_keep_next=false # Got value, back to normal.
2192 else
2193 case $ac_arg in
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2200 esac
2201 ;;
2202 -* ) ac_must_keep_next=true ;;
2203 esac
2204 fi
2205 ac_configure_args="$ac_configure_args '$ac_arg'"
2206 ;;
2207 esac
2208 done
2209 done
2210 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2211 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2212
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2220 {
2221 echo
2222
2223 cat <<\_ASBOX
2224 ## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##
2227 _ASBOX
2228 echo
2229 # The following way of writing the cache mishandles newlines in values,
2230 (
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2233 case $ac_val in #(
2234 *${as_nl}*)
2235 case $ac_var in #(
2236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2238 esac
2239 case $ac_var in #(
2240 _ | IFS | as_nl) ;; #(
2241 *) $as_unset $ac_var ;;
2242 esac ;;
2243 esac
2244 done
2245 (set) 2>&1 |
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2248 sed -n \
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2251 ;; #(
2252 *)
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2254 ;;
2255 esac |
2256 sort
2257 )
2258 echo
2259
2260 cat <<\_ASBOX
2261 ## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##
2264 _ASBOX
2265 echo
2266 for ac_var in $ac_subst_vars
2267 do
2268 eval ac_val=\$$ac_var
2269 case $ac_val in
2270 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 esac
2272 echo "$ac_var='\''$ac_val'\''"
2273 done | sort
2274 echo
2275
2276 if test -n "$ac_subst_files"; then
2277 cat <<\_ASBOX
2278 ## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##
2281 _ASBOX
2282 echo
2283 for ac_var in $ac_subst_files
2284 do
2285 eval ac_val=\$$ac_var
2286 case $ac_val in
2287 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 esac
2289 echo "$ac_var='\''$ac_val'\''"
2290 done | sort
2291 echo
2292 fi
2293
2294 if test -s confdefs.h; then
2295 cat <<\_ASBOX
2296 ## ----------- ##
2297 ## confdefs.h. ##
2298 ## ----------- ##
2299 _ASBOX
2300 echo
2301 cat confdefs.h
2302 echo
2303 fi
2304 test "$ac_signal" != 0 &&
2305 echo "$as_me: caught signal $ac_signal"
2306 echo "$as_me: exit $exit_status"
2307 } >&5
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2310 exit $exit_status
2311 ' 0
2312 for ac_signal in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2314 done
2315 ac_signal=0
2316
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest* confdefs.h
2319
2320 # Predefined preprocessor variables.
2321
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 _ACEOF
2325
2326
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 _ACEOF
2330
2331
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 _ACEOF
2335
2336
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2339 _ACEOF
2340
2341
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 _ACEOF
2345
2346
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 set x "$CONFIG_SITE"
2351 elif test "x$prefix" != xNONE; then
2352 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2353 else
2354 set x "$ac_default_prefix/share/config.site" \
2355 "$ac_default_prefix/etc/config.site"
2356 fi
2357 shift
2358 for ac_site_file
2359 do
2360 if test -r "$ac_site_file"; then
2361 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2362 echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2364 . "$ac_site_file"
2365 fi
2366 done
2367
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special
2370 # files actually), so we avoid doing that.
2371 if test -f "$cache_file"; then
2372 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2373 echo "$as_me: loading cache $cache_file" >&6;}
2374 case $cache_file in
2375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2376 *) . "./$cache_file";;
2377 esac
2378 fi
2379 else
2380 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2381 echo "$as_me: creating cache $cache_file" >&6;}
2382 >$cache_file
2383 fi
2384
2385 # Check that the precious variables saved in the cache have kept the same
2386 # value.
2387 ac_cache_corrupted=false
2388 for ac_var in $ac_precious_vars; do
2389 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2390 eval ac_new_set=\$ac_env_${ac_var}_set
2391 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2392 eval ac_new_val=\$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2394 set,)
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2398 ,set)
2399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2402 ,);;
2403 *)
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2408 echo "$as_me: former value: $ac_old_val" >&2;}
2409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2410 echo "$as_me: current value: $ac_new_val" >&2;}
2411 ac_cache_corrupted=:
2412 fi;;
2413 esac
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2416 case $ac_new_val in
2417 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg=$ac_var=$ac_new_val ;;
2419 esac
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2423 esac
2424 fi
2425 done
2426 if $ac_cache_corrupted; then
2427 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2432 fi
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458 ac_ext=c
2459 ac_cpp='$CPP $CPPFLAGS'
2460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2463
2464
2465
2466
2467
2468 ac_aux_dir=
2469 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 break
2474 elif test -f "$ac_dir/install.sh"; then
2475 ac_aux_dir=$ac_dir
2476 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 break
2478 elif test -f "$ac_dir/shtool"; then
2479 ac_aux_dir=$ac_dir
2480 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 break
2482 fi
2483 done
2484 if test -z "$ac_aux_dir"; then
2485 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2486 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 # These three variables are undocumented and unsupported,
2491 # and are intended to be withdrawn in a future Autoconf release.
2492 # They can cause serious problems if a builder's source tree is in a directory
2493 # whose full name contains unusual characters.
2494 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2495 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2496 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2497
2498
2499 # Make sure we can run config.sub.
2500 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2501 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503 { (exit 1); exit 1; }; }
2504
2505 { echo "$as_me:$LINENO: checking build system type" >&5
2506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_build+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else
2510 ac_build_alias=$build_alias
2511 test "x$ac_build_alias" = x &&
2512 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x &&
2514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516 { (exit 1); exit 1; }; }
2517 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2521
2522 fi
2523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524 echo "${ECHO_T}$ac_cv_build" >&6; }
2525 case $ac_cv_build in
2526 *-*-*) ;;
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528 echo "$as_me: error: invalid value of canonical build" >&2;}
2529 { (exit 1); exit 1; }; };;
2530 esac
2531 build=$ac_cv_build
2532 ac_save_IFS=$IFS; IFS='-'
2533 set x $ac_cv_build
2534 shift
2535 build_cpu=$1
2536 build_vendor=$2
2537 shift; shift
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2540 build_os=$*
2541 IFS=$ac_save_IFS
2542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2543
2544
2545 { echo "$as_me:$LINENO: checking host system type" >&5
2546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547 if test "${ac_cv_host+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 else
2550 if test "x$host_alias" = x; then
2551 ac_cv_host=$ac_cv_build
2552 else
2553 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556 { (exit 1); exit 1; }; }
2557 fi
2558
2559 fi
2560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561 echo "${ECHO_T}$ac_cv_host" >&6; }
2562 case $ac_cv_host in
2563 *-*-*) ;;
2564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565 echo "$as_me: error: invalid value of canonical host" >&2;}
2566 { (exit 1); exit 1; }; };;
2567 esac
2568 host=$ac_cv_host
2569 ac_save_IFS=$IFS; IFS='-'
2570 set x $ac_cv_host
2571 shift
2572 host_cpu=$1
2573 host_vendor=$2
2574 shift; shift
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2577 host_os=$*
2578 IFS=$ac_save_IFS
2579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580
2581
2582
2583 if test "$cross_compiling" != "no"; then
2584 HOST_PREFIX="${host_alias}-"
2585 HOST_SUFFIX="-$host_alias"
2586 else
2587 HOST_PREFIX=
2588 HOST_SUFFIX=
2589 fi
2590
2591
2592 wx_major_version_number=2
2593 wx_minor_version_number=9
2594 wx_release_number=3
2595 wx_subrelease_number=0
2596
2597 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2598 WX_VERSION=$WX_RELEASE.$wx_release_number
2599 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2600
2601 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2602
2603
2604 wx_top_builddir="`pwd`"
2605
2606
2607
2608
2609 USE_UNIX=1
2610 USE_OS2=0
2611 USE_WIN32=0
2612 USE_DOS=0
2613 USE_BEOS=0
2614 USE_MAC=0
2615
2616 USE_AIX=
2617 USE_BSD= USE_DARWIN= USE_FREEBSD=
2618 USE_GNU= USE_HPUX=
2619 USE_LINUX=
2620 USE_NETBSD=
2621 USE_OPENBSD=
2622 USE_OSF= USE_SGI=
2623 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2624 USE_ULTRIX=
2625 USE_UNIXWARE=
2626
2627 USE_ALPHA=
2628
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2630
2631 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2632
2633 DEFAULT_wxUSE_OLD_COCOA=0
2634 DEFAULT_wxUSE_GTK=0
2635 DEFAULT_wxUSE_OSX_CARBON=0
2636 DEFAULT_wxUSE_OSX_COCOA=0
2637 DEFAULT_wxUSE_OSX_IPHONE=0
2638 DEFAULT_wxUSE_MGL=0
2639 DEFAULT_wxUSE_MICROWIN=0
2640 DEFAULT_wxUSE_MOTIF=0
2641 DEFAULT_wxUSE_MSW=0
2642 DEFAULT_wxUSE_PM=0
2643 DEFAULT_wxUSE_X11=0
2644 DEFAULT_wxUSE_DFB=0
2645
2646 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2647 DEFAULT_DEFAULT_wxUSE_GTK=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2651 DEFAULT_DEFAULT_wxUSE_MGL=0
2652 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2654 DEFAULT_DEFAULT_wxUSE_MSW=0
2655 DEFAULT_DEFAULT_wxUSE_PM=0
2656 DEFAULT_DEFAULT_wxUSE_X11=0
2657 DEFAULT_DEFAULT_wxUSE_DFB=0
2658
2659 PROGRAM_EXT=
2660 SAMPLES_RPATH_FLAG=
2661 DYLIB_RPATH_INSTALL=
2662 DYLIB_RPATH_POSTLINK=
2663
2664 DEFAULT_STD_FLAG=yes
2665
2666 case "${host}" in
2667 *-hp-hpux* )
2668 USE_HPUX=1
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __HPUX__ 1
2673 _ACEOF
2674
2675
2676 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2677 ;;
2678 *-*-linux* )
2679 USE_LINUX=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __LINUX__ 1
2682 _ACEOF
2683
2684 TMP=`uname -m`
2685 if test "x$TMP" = "xalpha"; then
2686 USE_ALPHA=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __ALPHA__ 1
2689 _ACEOF
2690
2691 fi
2692 DEFAULT_DEFAULT_wxUSE_GTK=1
2693 ;;
2694 *-*-gnu* | *-*-k*bsd*-gnu )
2695 USE_GNU=1
2696 TMP=`uname -m`
2697 if test "x$TMP" = "xalpha"; then
2698 USE_ALPHA=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __ALPHA__ 1
2701 _ACEOF
2702
2703 fi
2704 DEFAULT_DEFAULT_wxUSE_GTK=1
2705 ;;
2706 *-*-irix5* | *-*-irix6* )
2707 USE_SGI=1
2708 USE_SVR4=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SGI__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SVR4__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 ;;
2719 *-*-qnx*)
2720 USE_QNX=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __QNX__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_X11=1
2726 ;;
2727 *-*-solaris2* )
2728 USE_SUN=1
2729 USE_SOLARIS=1
2730 USE_SVR4=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __SUN__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SOLARIS__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __SVR4__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745 ;;
2746 *-*-sunos4* )
2747 USE_SUN=1
2748 USE_SUNOS=1
2749 USE_BSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __SUN__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __SUNOS__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __BSD__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 ;;
2764 *-*-freebsd*)
2765 USE_BSD=1
2766 USE_FREEBSD=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __FREEBSD__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __BSD__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_GTK=1
2776 ;;
2777 *-*-openbsd*|*-*-mirbsd*)
2778 USE_BSD=1
2779 USE_OPENBSD=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __OPENBSD__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __BSD__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_GTK=1
2789 ;;
2790 *-*-netbsd*)
2791 USE_BSD=1
2792 USE_NETBSD=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __NETBSD__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __BSD__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_GTK=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2803
2804 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2805 ;;
2806 *-*-osf* )
2807 USE_ALPHA=1
2808 USE_OSF=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __ALPHA__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __OSF__ 1
2815 _ACEOF
2816
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2819 ;;
2820 *-*-dgux5* )
2821 USE_ALPHA=1
2822 USE_SVR4=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __ALPHA__ 1
2825 _ACEOF
2826
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __SVR4__ 1
2829 _ACEOF
2830
2831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2832 ;;
2833 *-*-sysv5* )
2834 USE_SYSV=1
2835 USE_SVR4=1
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846 *-*-aix* )
2847 USE_AIX=1
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __AIX__ 1
2852 _ACEOF
2853
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __SYSV__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __SVR4__ 1
2860 _ACEOF
2861
2862 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2863 ;;
2864
2865 *-*-*UnixWare*)
2866 USE_SYSV=1
2867 USE_SVR4=1
2868 USE_UNIXWARE=1
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __UNIXWARE__ 1
2871 _ACEOF
2872
2873 ;;
2874
2875 *-*-cygwin* | *-*-mingw32* )
2876 PROGRAM_EXT=".exe"
2877 DEFAULT_DEFAULT_wxUSE_MSW=1
2878 ;;
2879
2880 *-pc-msdosdjgpp )
2881 USE_UNIX=0
2882 USE_DOS=1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __DOS__ 1
2885 _ACEOF
2886
2887 PROGRAM_EXT=".exe"
2888 DEFAULT_DEFAULT_wxUSE_MGL=1
2889 ;;
2890
2891 *-pc-os2_emx | *-pc-os2-emx )
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __EMX__ 1
2894 _ACEOF
2895
2896 USE_OS2=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __OS2__ 1
2899 _ACEOF
2900
2901 PROGRAM_EXT=".exe"
2902 DEFAULT_DEFAULT_wxUSE_PM=1
2903 CXX=gcc
2904 LDFLAGS="$LDFLAGS -Zcrtdll"
2905 ac_executable_extensions=".exe"
2906 export ac_executable_extensions
2907 ac_save_IFS="$IFS"
2908 IFS='\\'
2909 ac_TEMP_PATH=
2910 for ac_dir in $PATH; do
2911 IFS=$ac_save_IFS
2912 if test -z "$ac_TEMP_PATH"; then
2913 ac_TEMP_PATH="$ac_dir"
2914 else
2915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2916 fi
2917 done
2918 export PATH="$ac_TEMP_PATH"
2919 unset ac_TEMP_PATH
2920 DEFAULT_STD_FLAG=no
2921 ;;
2922
2923 arm-apple-darwin*)
2924 USE_BSD=1
2925 USE_DARWIN=1
2926 cat >>confdefs.h <<\_ACEOF
2927 #define __BSD__ 1
2928 _ACEOF
2929
2930 cat >>confdefs.h <<\_ACEOF
2931 #define __DARWIN__ 1
2932 _ACEOF
2933
2934 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2935 ;;
2936
2937 *-*-darwin* )
2938 USE_BSD=1
2939 USE_DARWIN=1
2940 cat >>confdefs.h <<\_ACEOF
2941 #define __BSD__ 1
2942 _ACEOF
2943
2944 cat >>confdefs.h <<\_ACEOF
2945 #define __DARWIN__ 1
2946 _ACEOF
2947
2948 cat >>confdefs.h <<\_ACEOF
2949 #define TARGET_CARBON 1
2950 _ACEOF
2951
2952 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2953 ;;
2954
2955 *-*-beos* )
2956 USE_BEOS=1
2957 cat >>confdefs.h <<\_ACEOF
2958 #define __BEOS__ 1
2959 _ACEOF
2960
2961 ;;
2962
2963 *)
2964 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2965 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2966 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2967 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2968
2969 DEFAULT_DEFAULT_wxUSE_X11=1
2970 DEFAULT_wxUSE_SHARED=no
2971 esac
2972
2973
2974
2975 DEFAULT_wxUSE_ALL_FEATURES=yes
2976
2977 DEFAULT_wxUSE_STD_CONTAINERS=no
2978 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2979 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2980
2981 DEFAULT_wxUSE_DMALLOC=no
2982 DEFAULT_wxUSE_LIBGNOMEVFS=no
2983 DEFAULT_wxUSE_LIBHILDON=no
2984 DEFAULT_wxUSE_LIBHILDON2=no
2985 DEFAULT_wxUSE_LIBMSPACK=no
2986 DEFAULT_wxUSE_LIBSDL=no
2987
2988 DEFAULT_wxUSE_ACCESSIBILITY=no
2989 DEFAULT_wxUSE_IPV6=no
2990 DEFAULT_wxUSE_GSTREAMER8=no
2991
2992 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8=auto
2994 DEFAULT_wxUSE_OPENGL=auto
2995 DEFAULT_wxUSE_MEDIACTRL=auto
2996 DEFAULT_wxUSE_COMPILER_TLS=auto
2997
2998 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2999
3000 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3001 DEFAULT_wxUSE_MAC_ARCH=no
3002
3003 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3004
3005 DEFAULT_wxUSE_GTK2=yes
3006
3007 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3008
3009
3010
3011
3012
3013 enablestring=disable
3014 defaultval=
3015 if test -z "$defaultval"; then
3016 if test x"$enablestring" = xdisable; then
3017 defaultval=yes
3018 else
3019 defaultval=no
3020 fi
3021 fi
3022
3023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3024 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3025 # Check whether --enable-gui was given.
3026 if test "${enable_gui+set}" = set; then
3027 enableval=$enable_gui;
3028 if test "$enableval" = yes; then
3029 wx_cv_use_gui='wxUSE_GUI=yes'
3030 else
3031 wx_cv_use_gui='wxUSE_GUI=no'
3032 fi
3033
3034 else
3035
3036 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3037
3038 fi
3039
3040
3041 eval "$wx_cv_use_gui"
3042
3043 if test x"$enablestring" = xdisable; then
3044 if test $wxUSE_GUI = no; then
3045 result=yes
3046 else
3047 result=no
3048 fi
3049 else
3050 result=$wxUSE_GUI
3051 fi
3052
3053 { echo "$as_me:$LINENO: result: $result" >&5
3054 echo "${ECHO_T}$result" >&6; }
3055
3056
3057 enablestring=
3058 defaultval=
3059 if test -z "$defaultval"; then
3060 if test x"$enablestring" = xdisable; then
3061 defaultval=yes
3062 else
3063 defaultval=no
3064 fi
3065 fi
3066
3067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3068 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3069 # Check whether --enable-monolithic was given.
3070 if test "${enable_monolithic+set}" = set; then
3071 enableval=$enable_monolithic;
3072 if test "$enableval" = yes; then
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3074 else
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3076 fi
3077
3078 else
3079
3080 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3081
3082 fi
3083
3084
3085 eval "$wx_cv_use_monolithic"
3086
3087 if test x"$enablestring" = xdisable; then
3088 if test $wxUSE_MONOLITHIC = no; then
3089 result=yes
3090 else
3091 result=no
3092 fi
3093 else
3094 result=$wxUSE_MONOLITHIC
3095 fi
3096
3097 { echo "$as_me:$LINENO: result: $result" >&5
3098 echo "${ECHO_T}$result" >&6; }
3099
3100
3101 enablestring=
3102 defaultval=
3103 if test -z "$defaultval"; then
3104 if test x"$enablestring" = xdisable; then
3105 defaultval=yes
3106 else
3107 defaultval=no
3108 fi
3109 fi
3110
3111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3112 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3113 # Check whether --enable-plugins was given.
3114 if test "${enable_plugins+set}" = set; then
3115 enableval=$enable_plugins;
3116 if test "$enableval" = yes; then
3117 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3118 else
3119 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3120 fi
3121
3122 else
3123
3124 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3125
3126 fi
3127
3128
3129 eval "$wx_cv_use_plugins"
3130
3131 if test x"$enablestring" = xdisable; then
3132 if test $wxUSE_PLUGINS = no; then
3133 result=yes
3134 else
3135 result=no
3136 fi
3137 else
3138 result=$wxUSE_PLUGINS
3139 fi
3140
3141 { echo "$as_me:$LINENO: result: $result" >&5
3142 echo "${ECHO_T}$result" >&6; }
3143
3144
3145 withstring=without
3146 defaultval=$wxUSE_ALL_FEATURES
3147 if test -z "$defaultval"; then
3148 if test x"$withstring" = xwithout; then
3149 defaultval=yes
3150 else
3151 defaultval=no
3152 fi
3153 fi
3154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3156
3157 # Check whether --with-subdirs was given.
3158 if test "${with_subdirs+set}" = set; then
3159 withval=$with_subdirs;
3160 if test "$withval" = yes; then
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3162 else
3163 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3164 fi
3165
3166 else
3167
3168 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3169
3170 fi
3171
3172
3173 eval "$wx_cv_use_subdirs"
3174
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3177 result=no
3178 else
3179 result=yes
3180 fi
3181 else
3182 result=$wxWITH_SUBDIRS
3183 fi
3184
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3187
3188
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3192 fi
3193
3194
3195 enablestring=
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3212 else
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_official_build"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = no; then
3227 result=yes
3228 else
3229 result=no
3230 fi
3231 else
3232 result=$wxUSE_OFFICIAL_BUILD
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3241 fi
3242
3243 if test "x$VENDOR" = "x"; then
3244 VENDOR="custom"
3245 fi
3246
3247
3248 enablestring=disable
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3265 else
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3267 fi
3268
3269 else
3270
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3272
3273 fi
3274
3275
3276 eval "$wx_cv_use_all_features"
3277
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_ALL_FEATURES = no; then
3280 result=yes
3281 else
3282 result=no
3283 fi
3284 else
3285 result=$wxUSE_ALL_FEATURES
3286 fi
3287
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3290
3291
3292 if test "$wxUSE_ALL_FEATURES" = "no"; then
3293 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3294 DEFAULT_wxUSE_MEDIACTRL=no
3295 fi
3296
3297
3298 if test "$wxUSE_GUI" = "yes"; then
3299
3300
3301 enablestring=
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval=$enable_universal;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3318 else
3319 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3320 fi
3321
3322 else
3323
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3325
3326 fi
3327
3328
3329 eval "$wx_cv_use_universal"
3330
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_UNIVERSAL = no; then
3333 result=yes
3334 else
3335 result=no
3336 fi
3337 else
3338 result=$wxUSE_UNIVERSAL
3339 fi
3340
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3343
3344 if test "$wxUSE_UNIVERSAL" = "yes"; then
3345
3346 # Check whether --with-themes was given.
3347 if test "${with_themes+set}" = set; then
3348 withval=$with_themes; wxUNIV_THEMES="$withval"
3349 fi
3350
3351 fi
3352
3353
3354 # Check whether --with-gtk was given.
3355 if test "${with_gtk+set}" = set; then
3356 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-motif was given.
3361 if test "${with_motif+set}" = set; then
3362 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-osx_carbon was given.
3367 if test "${with_osx_carbon+set}" = set; then
3368 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-osx_cocoa was given.
3373 if test "${with_osx_cocoa+set}" = set; then
3374 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-osx_iphone was given.
3379 if test "${with_osx_iphone+set}" = set; then
3380 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-osx was given.
3385 if test "${with_osx+set}" = set; then
3386 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-carbon was given.
3391 if test "${with_carbon+set}" = set; then
3392 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-iphone was given.
3403 if test "${with_iphone+set}" = set; then
3404 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-mac was given.
3409 if test "${with_mac+set}" = set; then
3410 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-old_cocoa was given.
3415 if test "${with_old_cocoa+set}" = set; then
3416 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-wine was given.
3421 if test "${with_wine+set}" = set; then
3422 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3423 fi
3424
3425
3426 # Check whether --with-msw was given.
3427 if test "${with_msw+set}" = set; then
3428 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-pm was given.
3433 if test "${with_pm+set}" = set; then
3434 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-mgl was given.
3439 if test "${with_mgl+set}" = set; then
3440 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-directfb was given.
3445 if test "${with_directfb+set}" = set; then
3446 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 # Check whether --with-microwin was given.
3451 if test "${with_microwin+set}" = set; then
3452 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3453 fi
3454
3455
3456 # Check whether --with-x11 was given.
3457 if test "${with_x11+set}" = set; then
3458 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3459 fi
3460
3461
3462 enablestring=
3463 defaultval=
3464 if test -z "$defaultval"; then
3465 if test x"$enablestring" = xdisable; then
3466 defaultval=yes
3467 else
3468 defaultval=no
3469 fi
3470 fi
3471
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3474 # Check whether --enable-nanox was given.
3475 if test "${enable_nanox+set}" = set; then
3476 enableval=$enable_nanox;
3477 if test "$enableval" = yes; then
3478 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 else
3480 wx_cv_use_nanox='wxUSE_NANOX=no'
3481 fi
3482
3483 else
3484
3485 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3486
3487 fi
3488
3489
3490 eval "$wx_cv_use_nanox"
3491
3492 if test x"$enablestring" = xdisable; then
3493 if test $wxUSE_NANOX = no; then
3494 result=yes
3495 else
3496 result=no
3497 fi
3498 else
3499 result=$wxUSE_NANOX
3500 fi
3501
3502 { echo "$as_me:$LINENO: result: $result" >&5
3503 echo "${ECHO_T}$result" >&6; }
3504
3505
3506 # Check whether --enable-gtk2 was given.
3507 if test "${enable_gtk2+set}" = set; then
3508 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3509 fi
3510
3511
3512 enablestring=
3513 defaultval=
3514 if test -z "$defaultval"; then
3515 if test x"$enablestring" = xdisable; then
3516 defaultval=yes
3517 else
3518 defaultval=no
3519 fi
3520 fi
3521
3522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3523 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3524 # Check whether --enable-gpe was given.
3525 if test "${enable_gpe+set}" = set; then
3526 enableval=$enable_gpe;
3527 if test "$enableval" = yes; then
3528 wx_cv_use_gpe='wxUSE_GPE=yes'
3529 else
3530 wx_cv_use_gpe='wxUSE_GPE=no'
3531 fi
3532
3533 else
3534
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3536
3537 fi
3538
3539
3540 eval "$wx_cv_use_gpe"
3541
3542 if test x"$enablestring" = xdisable; then
3543 if test $wxUSE_GPE = no; then
3544 result=yes
3545 else
3546 result=no
3547 fi
3548 else
3549 result=$wxUSE_GPE
3550 fi
3551
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3554
3555
3556
3557 { echo "$as_me:$LINENO: checking for toolkit" >&5
3558 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3559
3560
3561
3562 # In Wine, we need to default to MSW, not GTK or MOTIF
3563 if test "$wxUSE_WINE" = "yes"; then
3564 DEFAULT_DEFAULT_wxUSE_GTK=0
3565 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3566 DEFAULT_DEFAULT_wxUSE_MSW=1
3567 wxUSE_SHARED=no
3568 CC=${CC:-winegcc}
3569 CXX=${CXX:-wineg++}
3570 fi
3571
3572
3573 if test "$wxUSE_GUI" = "yes"; then
3574
3575 if test "$USE_BEOS" = 1; then
3576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3578 { (exit 1); exit 1; }; }
3579 fi
3580
3581 if test "$TOOLKIT_GIVEN" = 1; then
3582 for toolkit in $ALL_TOOLKITS; do
3583 var=wxUSE_$toolkit
3584 eval "value=\$${var}"
3585 if test "x$value" = "xno"; then
3586 eval "$var=0"
3587 elif test "x$value" != "x"; then
3588 eval "$var=1"
3589 fi
3590
3591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3592 eval "wx${toolkit}_VERSION=$value"
3593 fi
3594 done
3595 else
3596 for toolkit in $ALL_TOOLKITS; do
3597 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3598 eval "wxUSE_$toolkit=\$${var}"
3599 done
3600 fi
3601
3602 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3603 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3604 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3605
3606 case "${host}" in
3607 *-pc-os2_emx | *-pc-os2-emx )
3608 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3609 esac
3610
3611 case "$NUM_TOOLKITS" in
3612 1)
3613 ;;
3614 0)
3615 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3616 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3617 { (exit 1); exit 1; }; }
3618 ;;
3619 *)
3620 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3621 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3622 { (exit 1); exit 1; }; }
3623 esac
3624
3625 # to be removed when --disable-gtk2 isn't needed
3626 if test "x$wxUSE_GTK2" = "xyes"; then
3627 wxGTK_VERSION=2
3628 wxUSE_GTK1=0
3629 elif test "x$wxUSE_GTK2" = "xno"; then
3630 wxGTK_VERSION=1
3631 wxUSE_GTK1=1
3632 fi
3633
3634 for toolkit in $ALL_TOOLKITS; do
3635 var=wxUSE_$toolkit
3636 eval "value=\$${var}"
3637 if test "$value" = 1; then
3638 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3639 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3640 echo "${ECHO_T}$toolkit_echo" >&6; }
3641 fi
3642 done
3643 else
3644 if test "x$host_alias" != "x"; then
3645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3647 else
3648 { echo "$as_me:$LINENO: result: base only" >&5
3649 echo "${ECHO_T}base only" >&6; }
3650 fi
3651 fi
3652
3653 wxUSE_MAC=0
3654 if test "$wxUSE_OSX_CARBON" = 1 \
3655 -o "$wxUSE_OSX_COCOA" = 1 \
3656 -o "$wxUSE_OSX_IPHONE" = 1; then
3657 wxUSE_MAC=1
3658 fi
3659
3660
3661
3662 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3663 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3664
3665 # Check whether --with-libpng was given.
3666 if test "${with_libpng+set}" = set; then
3667 withval=$with_libpng;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3670 elif test "$withval" = no; then
3671 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3672 elif test "$withval" = sys; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3676 else
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3680 fi
3681
3682 else
3683
3684 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3685
3686 fi
3687
3688
3689 eval "$wx_cv_use_libpng"
3690
3691 if test "$wxUSE_LIBPNG" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 elif test "$wxUSE_LIBPNG" = no; then
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 elif test "$wxUSE_LIBPNG" = sys; then
3698 { echo "$as_me:$LINENO: result: system version" >&5
3699 echo "${ECHO_T}system version" >&6; }
3700 elif test "$wxUSE_LIBPNG" = builtin; then
3701 { echo "$as_me:$LINENO: result: builtin version" >&5
3702 echo "${ECHO_T}builtin version" >&6; }
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709
3710 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3711 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3712
3713 # Check whether --with-libjpeg was given.
3714 if test "${with_libjpeg+set}" = set; then
3715 withval=$with_libjpeg;
3716 if test "$withval" = yes; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3718 elif test "$withval" = no; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3720 elif test "$withval" = sys; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3722 elif test "$withval" = builtin; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730 else
3731
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3733
3734 fi
3735
3736
3737 eval "$wx_cv_use_libjpeg"
3738
3739 if test "$wxUSE_LIBJPEG" = yes; then
3740 { echo "$as_me:$LINENO: result: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = no; then
3743 { echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6; }
3745 elif test "$wxUSE_LIBJPEG" = sys; then
3746 { echo "$as_me:$LINENO: result: system version" >&5
3747 echo "${ECHO_T}system version" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = builtin; then
3749 { echo "$as_me:$LINENO: result: builtin version" >&5
3750 echo "${ECHO_T}builtin version" >&6; }
3751 else
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3755 fi
3756
3757
3758 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3759 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3760
3761 # Check whether --with-libtiff was given.
3762 if test "${with_libtiff+set}" = set; then
3763 withval=$with_libtiff;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3766 elif test "$withval" = no; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3768 elif test "$withval" = sys; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3770 elif test "$withval" = builtin; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3772 else
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3776 fi
3777
3778 else
3779
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3781
3782 fi
3783
3784
3785 eval "$wx_cv_use_libtiff"
3786
3787 if test "$wxUSE_LIBTIFF" = yes; then
3788 { echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = no; then
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3793 elif test "$wxUSE_LIBTIFF" = sys; then
3794 { echo "$as_me:$LINENO: result: system version" >&5
3795 echo "${ECHO_T}system version" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = builtin; then
3797 { echo "$as_me:$LINENO: result: builtin version" >&5
3798 echo "${ECHO_T}builtin version" >&6; }
3799 else
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3803 fi
3804
3805
3806 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3807 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3808
3809 # Check whether --with-libxpm was given.
3810 if test "${with_libxpm+set}" = set; then
3811 withval=$with_libxpm;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3814 elif test "$withval" = no; then
3815 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3816 elif test "$withval" = sys; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3818 elif test "$withval" = builtin; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3820 else
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3824 fi
3825
3826 else
3827
3828 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3829
3830 fi
3831
3832
3833 eval "$wx_cv_use_libxpm"
3834
3835 if test "$wxUSE_LIBXPM" = yes; then
3836 { echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6; }
3838 elif test "$wxUSE_LIBXPM" = no; then
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3841 elif test "$wxUSE_LIBXPM" = sys; then
3842 { echo "$as_me:$LINENO: result: system version" >&5
3843 echo "${ECHO_T}system version" >&6; }
3844 elif test "$wxUSE_LIBXPM" = builtin; then
3845 { echo "$as_me:$LINENO: result: builtin version" >&5
3846 echo "${ECHO_T}builtin version" >&6; }
3847 else
3848 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3849 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3850 { (exit 1); exit 1; }; }
3851 fi
3852
3853
3854 withstring=
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3858 defaultval=yes
3859 else
3860 defaultval=no
3861 fi
3862 fi
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3865
3866 # Check whether --with-libiconv was given.
3867 if test "${with_libiconv+set}" = set; then
3868 withval=$with_libiconv;
3869 if test "$withval" = yes; then
3870 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3871 else
3872 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3873 fi
3874
3875 else
3876
3877 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3878
3879 fi
3880
3881
3882 eval "$wx_cv_use_libiconv"
3883
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBICONV = yes; then
3886 result=no
3887 else
3888 result=yes
3889 fi
3890 else
3891 result=$wxUSE_LIBICONV
3892 fi
3893
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3896
3897
3898 withstring=
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3902 defaultval=yes
3903 else
3904 defaultval=no
3905 fi
3906 fi
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3909
3910 # Check whether --with-libmspack was given.
3911 if test "${with_libmspack+set}" = set; then
3912 withval=$with_libmspack;
3913 if test "$withval" = yes; then
3914 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3915 else
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3917 fi
3918
3919 else
3920
3921 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3922
3923 fi
3924
3925
3926 eval "$wx_cv_use_libmspack"
3927
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBMSPACK = yes; then
3930 result=no
3931 else
3932 result=yes
3933 fi
3934 else
3935 result=$wxUSE_LIBMSPACK
3936 fi
3937
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3940
3941
3942 withstring=without
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3946 defaultval=yes
3947 else
3948 defaultval=no
3949 fi
3950 fi
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3953
3954 # Check whether --with-gtkprint was given.
3955 if test "${with_gtkprint+set}" = set; then
3956 withval=$with_gtkprint;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3959 else
3960 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3961 fi
3962
3963 else
3964
3965 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gtkprint"
3971
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_GTKPRINT = yes; then
3974 result=no
3975 else
3976 result=yes
3977 fi
3978 else
3979 result=$wxUSE_GTKPRINT
3980 fi
3981
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3984
3985
3986 withstring=without
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3990 defaultval=yes
3991 else
3992 defaultval=no
3993 fi
3994 fi
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3997
3998 # Check whether --with-gnomeprint was given.
3999 if test "${with_gnomeprint+set}" = set; then
4000 withval=$with_gnomeprint;
4001 if test "$withval" = yes; then
4002 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4003 else
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4005 fi
4006
4007 else
4008
4009 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4010
4011 fi
4012
4013
4014 eval "$wx_cv_use_gnomeprint"
4015
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBGNOMEPRINT = yes; then
4018 result=no
4019 else
4020 result=yes
4021 fi
4022 else
4023 result=$wxUSE_LIBGNOMEPRINT
4024 fi
4025
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4028
4029
4030 withstring=
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4034 defaultval=yes
4035 else
4036 defaultval=no
4037 fi
4038 fi
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4041
4042 # Check whether --with-gnomevfs was given.
4043 if test "${with_gnomevfs+set}" = set; then
4044 withval=$with_gnomevfs;
4045 if test "$withval" = yes; then
4046 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4047 else
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4049 fi
4050
4051 else
4052
4053 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4054
4055 fi
4056
4057
4058 eval "$wx_cv_use_gnomevfs"
4059
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_LIBGNOMEVFS = yes; then
4062 result=no
4063 else
4064 result=yes
4065 fi
4066 else
4067 result=$wxUSE_LIBGNOMEVFS
4068 fi
4069
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4072
4073
4074 withstring=
4075 defaultval=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x"$withstring" = xwithout; then
4078 defaultval=yes
4079 else
4080 defaultval=no
4081 fi
4082 fi
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4085
4086 # Check whether --with-hildon was given.
4087 if test "${with_hildon+set}" = set; then
4088 withval=$with_hildon;
4089 if test "$withval" = yes; then
4090 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4091 else
4092 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4093 fi
4094
4095 else
4096
4097 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4098
4099 fi
4100
4101
4102 eval "$wx_cv_use_hildon"
4103
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_LIBHILDON = yes; then
4106 result=no
4107 else
4108 result=yes
4109 fi
4110 else
4111 result=$wxUSE_LIBHILDON
4112 fi
4113
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4116
4117
4118 withstring=
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4122 defaultval=yes
4123 else
4124 defaultval=no
4125 fi
4126 fi
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4129
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then
4132 withval=$with_opengl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4135 else
4136 wx_cv_use_opengl='wxUSE_OPENGL=no'
4137 fi
4138
4139 else
4140
4141 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4142
4143 fi
4144
4145
4146 eval "$wx_cv_use_opengl"
4147
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_OPENGL = yes; then
4150 result=no
4151 else
4152 result=yes
4153 fi
4154 else
4155 result=$wxUSE_OPENGL
4156 fi
4157
4158 { echo "$as_me:$LINENO: result: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4160
4161
4162 fi
4163
4164
4165 withstring=
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4169 defaultval=yes
4170 else
4171 defaultval=no
4172 fi
4173 fi
4174 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4175 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4176
4177 # Check whether --with-dmalloc was given.
4178 if test "${with_dmalloc+set}" = set; then
4179 withval=$with_dmalloc;
4180 if test "$withval" = yes; then
4181 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4182 else
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4184 fi
4185
4186 else
4187
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4189
4190 fi
4191
4192
4193 eval "$wx_cv_use_dmalloc"
4194
4195 if test x"$withstring" = xwithout; then
4196 if test $wxUSE_DMALLOC = yes; then
4197 result=no
4198 else
4199 result=yes
4200 fi
4201 else
4202 result=$wxUSE_DMALLOC
4203 fi
4204
4205 { echo "$as_me:$LINENO: result: $result" >&5
4206 echo "${ECHO_T}$result" >&6; }
4207
4208
4209 withstring=
4210 defaultval=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x"$withstring" = xwithout; then
4213 defaultval=yes
4214 else
4215 defaultval=no
4216 fi
4217 fi
4218 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4219 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4220
4221 # Check whether --with-sdl was given.
4222 if test "${with_sdl+set}" = set; then
4223 withval=$with_sdl;
4224 if test "$withval" = yes; then
4225 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4226 else
4227 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4228 fi
4229
4230 else
4231
4232 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4233
4234 fi
4235
4236
4237 eval "$wx_cv_use_sdl"
4238
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_LIBSDL = yes; then
4241 result=no
4242 else
4243 result=yes
4244 fi
4245 else
4246 result=$wxUSE_LIBSDL
4247 fi
4248
4249 { echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6; }
4251
4252
4253 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4255
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 wx_cv_use_regex='wxUSE_REGEX=yes'
4261 elif test "$withval" = no; then
4262 wx_cv_use_regex='wxUSE_REGEX=no'
4263 elif test "$withval" = sys; then
4264 wx_cv_use_regex='wxUSE_REGEX=sys'
4265 elif test "$withval" = builtin; then
4266 wx_cv_use_regex='wxUSE_REGEX=builtin'
4267 else
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4271 fi
4272
4273 else
4274
4275 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4276
4277 fi
4278
4279
4280 eval "$wx_cv_use_regex"
4281
4282 if test "$wxUSE_REGEX" = yes; then
4283 { echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6; }
4285 elif test "$wxUSE_REGEX" = no; then
4286 { echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6; }
4288 elif test "$wxUSE_REGEX" = sys; then
4289 { echo "$as_me:$LINENO: result: system version" >&5
4290 echo "${ECHO_T}system version" >&6; }
4291 elif test "$wxUSE_REGEX" = builtin; then
4292 { echo "$as_me:$LINENO: result: builtin version" >&5
4293 echo "${ECHO_T}builtin version" >&6; }
4294 else
4295 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4296 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4298 fi
4299
4300
4301 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4302 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4303
4304 # Check whether --with-zlib was given.
4305 if test "${with_zlib+set}" = set; then
4306 withval=$with_zlib;
4307 if test "$withval" = yes; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4309 elif test "$withval" = no; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=no'
4311 elif test "$withval" = sys; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4313 elif test "$withval" = builtin; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4315 else
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4319 fi
4320
4321 else
4322
4323 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4324
4325 fi
4326
4327
4328 eval "$wx_cv_use_zlib"
4329
4330 if test "$wxUSE_ZLIB" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ZLIB" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ZLIB" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ZLIB" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4351
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no; then
4358 wx_cv_use_expat='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys; then
4360 wx_cv_use_expat='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4363 else
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4367 fi
4368
4369 else
4370
4371 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4372
4373 fi
4374
4375
4376 eval "$wx_cv_use_expat"
4377
4378 if test "$wxUSE_EXPAT" = yes; then
4379 { echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6; }
4381 elif test "$wxUSE_EXPAT" = no; then
4382 { echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6; }
4384 elif test "$wxUSE_EXPAT" = sys; then
4385 { echo "$as_me:$LINENO: result: system version" >&5
4386 echo "${ECHO_T}system version" >&6; }
4387 elif test "$wxUSE_EXPAT" = builtin; then
4388 { echo "$as_me:$LINENO: result: builtin version" >&5
4389 echo "${ECHO_T}builtin version" >&6; }
4390 else
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4394 fi
4395
4396
4397 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4398 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4399
4400 # Check whether --with-macosx-sdk was given.
4401 if test "${with_macosx_sdk+set}" = set; then
4402 withval=$with_macosx_sdk;
4403 wxUSE_MACOSX_SDK=$withval
4404 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4405
4406 fi
4407
4408 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4409 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4410
4411 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4412 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4413
4414 # Check whether --with-macosx-version-min was given.
4415 if test "${with_macosx_version_min+set}" = set; then
4416 withval=$with_macosx_version_min;
4417 wxUSE_MACOSX_VERSION_MIN=$withval
4418 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4419
4420 fi
4421
4422 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4423 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4424
4425
4426 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4427 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4428 # Check whether --enable-debug was given.
4429 if test "${enable_debug+set}" = set; then
4430 enableval=$enable_debug;
4431 if test "$enableval" = yes; then
4432 wxUSE_DEBUG=yes
4433 elif test "$enableval" = no; then
4434 wxUSE_DEBUG=no
4435 elif test "$enableval" = max; then
4436 wxUSE_DEBUG=yes
4437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4438 else
4439 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4440 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4441 { (exit 1); exit 1; }; }
4442 fi
4443
4444 else
4445 wxUSE_DEBUG=default
4446
4447 fi
4448
4449
4450 case "$wxUSE_DEBUG" in
4451 yes)
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=yes
4454
4455 DEFAULT_wxUSE_OPTIMISE=no
4456 ;;
4457
4458 no)
4459 DEFAULT_wxUSE_DEBUG_FLAG=no
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4461 ;;
4462
4463 default)
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=no
4466 ;;
4467 esac
4468
4469
4470 enablestring=disable
4471 defaultval=
4472 if test -z "$defaultval"; then
4473 if test x"$enablestring" = xdisable; then
4474 defaultval=yes
4475 else
4476 defaultval=no
4477 fi
4478 fi
4479
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_flag was given.
4483 if test "${enable_debug_flag+set}" = set; then
4484 enableval=$enable_debug_flag;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4487 else
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4489 fi
4490
4491 else
4492
4493 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4494
4495 fi
4496
4497
4498 eval "$wx_cv_use_debug_flag"
4499
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_FLAG = no; then
4502 result=yes
4503 else
4504 result=no
4505 fi
4506 else
4507 result=$wxUSE_DEBUG_FLAG
4508 fi
4509
4510 { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4512
4513
4514 enablestring=
4515 defaultval=
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4518 defaultval=yes
4519 else
4520 defaultval=no
4521 fi
4522 fi
4523
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4526 # Check whether --enable-debug_info was given.
4527 if test "${enable_debug_info+set}" = set; then
4528 enableval=$enable_debug_info;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4531 else
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4533 fi
4534
4535 else
4536
4537 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4538
4539 fi
4540
4541
4542 eval "$wx_cv_use_debug_info"
4543
4544 if test x"$enablestring" = xdisable; then
4545 if test $wxUSE_DEBUG_INFO = no; then
4546 result=yes
4547 else
4548 result=no
4549 fi
4550 else
4551 result=$wxUSE_DEBUG_INFO
4552 fi
4553
4554 { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4556
4557
4558
4559
4560 enablestring=
4561 defaultval=
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4564 defaultval=yes
4565 else
4566 defaultval=no
4567 fi
4568 fi
4569
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4572 # Check whether --enable-debug_gdb was given.
4573 if test "${enable_debug_gdb+set}" = set; then
4574 enableval=$enable_debug_gdb;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4577 else
4578 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4579 fi
4580
4581 else
4582
4583 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4584
4585 fi
4586
4587
4588 eval "$wx_cv_use_debug_gdb"
4589
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_DEBUG_GDB = no; then
4592 result=yes
4593 else
4594 result=no
4595 fi
4596 else
4597 result=$wxUSE_DEBUG_GDB
4598 fi
4599
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4602
4603
4604 enablestring=
4605 defaultval=
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4608 defaultval=yes
4609 else
4610 defaultval=no
4611 fi
4612 fi
4613
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4616 # Check whether --enable-debug_cntxt was given.
4617 if test "${enable_debug_cntxt+set}" = set; then
4618 enableval=$enable_debug_cntxt;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4621 else
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4623 fi
4624
4625 else
4626
4627 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4628
4629 fi
4630
4631
4632 eval "$wx_cv_use_debug_cntxt"
4633
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_DEBUG_CONTEXT = no; then
4636 result=yes
4637 else
4638 result=no
4639 fi
4640 else
4641 result=$wxUSE_DEBUG_CONTEXT
4642 fi
4643
4644 { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4646
4647
4648 enablestring=
4649 defaultval=
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4652 defaultval=yes
4653 else
4654 defaultval=no
4655 fi
4656 fi
4657
4658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4660 # Check whether --enable-mem_tracing was given.
4661 if test "${enable_mem_tracing+set}" = set; then
4662 enableval=$enable_mem_tracing;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4665 else
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4667 fi
4668
4669 else
4670
4671 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4672
4673 fi
4674
4675
4676 eval "$wx_cv_use_mem_tracing"
4677
4678 if test x"$enablestring" = xdisable; then
4679 if test $wxUSE_MEM_TRACING = no; then
4680 result=yes
4681 else
4682 result=no
4683 fi
4684 else
4685 result=$wxUSE_MEM_TRACING
4686 fi
4687
4688 { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4690
4691
4692
4693
4694 enablestring=disable
4695 defaultval=
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4698 defaultval=yes
4699 else
4700 defaultval=no
4701 fi
4702 fi
4703
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared='wxUSE_SHARED=yes'
4711 else
4712 wx_cv_use_shared='wxUSE_SHARED=no'
4713 fi
4714
4715 else
4716
4717 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4718
4719 fi
4720
4721
4722 eval "$wx_cv_use_shared"
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = no; then
4726 result=yes
4727 else
4728 result=no
4729 fi
4730 else
4731 result=$wxUSE_SHARED
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4750 # Check whether --enable-stl was given.
4751 if test "${enable_stl+set}" = set; then
4752 enableval=$enable_stl;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_stl='wxUSE_STL=yes'
4755 else
4756 wx_cv_use_stl='wxUSE_STL=no'
4757 fi
4758
4759 else
4760
4761 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_stl"
4767
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STL = no; then
4770 result=yes
4771 else
4772 result=no
4773 fi
4774 else
4775 result=$wxUSE_STL
4776 fi
4777
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4780
4781 if test "$wxUSE_STL" = "yes"; then
4782 DEFAULT_wxUSE_STD_CONTAINERS=yes
4783 DEFAULT_wxUSE_STD_IOSTREAM=yes
4784 DEFAULT_wxUSE_STD_STRING=yes
4785 fi
4786
4787 enablestring=
4788 defaultval=
4789 if test -z "$defaultval"; then
4790 if test x"$enablestring" = xdisable; then
4791 defaultval=yes
4792 else
4793 defaultval=no
4794 fi
4795 fi
4796
4797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4799 # Check whether --enable-std_containers was given.
4800 if test "${enable_std_containers+set}" = set; then
4801 enableval=$enable_std_containers;
4802 if test "$enableval" = yes; then
4803 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4804 else
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4806 fi
4807
4808 else
4809
4810 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4811
4812 fi
4813
4814
4815 eval "$wx_cv_use_std_containers"
4816
4817 if test x"$enablestring" = xdisable; then
4818 if test $wxUSE_STD_CONTAINERS = no; then
4819 result=yes
4820 else
4821 result=no
4822 fi
4823 else
4824 result=$wxUSE_STD_CONTAINERS
4825 fi
4826
4827 { echo "$as_me:$LINENO: result: $result" >&5
4828 echo "${ECHO_T}$result" >&6; }
4829
4830
4831 enablestring=
4832 defaultval=
4833 if test -z "$defaultval"; then
4834 if test x"$enablestring" = xdisable; then
4835 defaultval=yes
4836 else
4837 defaultval=no
4838 fi
4839 fi
4840
4841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4843 # Check whether --enable-std_iostreams was given.
4844 if test "${enable_std_iostreams+set}" = set; then
4845 enableval=$enable_std_iostreams;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4848 else
4849 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4850 fi
4851
4852 else
4853
4854 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4855
4856 fi
4857
4858
4859 eval "$wx_cv_use_std_iostreams"
4860
4861 if test x"$enablestring" = xdisable; then
4862 if test $wxUSE_STD_IOSTREAM = no; then
4863 result=yes
4864 else
4865 result=no
4866 fi
4867 else
4868 result=$wxUSE_STD_IOSTREAM
4869 fi
4870
4871 { echo "$as_me:$LINENO: result: $result" >&5
4872 echo "${ECHO_T}$result" >&6; }
4873
4874
4875 enablestring=
4876 defaultval=
4877 if test -z "$defaultval"; then
4878 if test x"$enablestring" = xdisable; then
4879 defaultval=yes
4880 else
4881 defaultval=no
4882 fi
4883 fi
4884
4885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4886 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4887 # Check whether --enable-std_string was given.
4888 if test "${enable_std_string+set}" = set; then
4889 enableval=$enable_std_string;
4890 if test "$enableval" = yes; then
4891 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4892 else
4893 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4894 fi
4895
4896 else
4897
4898 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4899
4900 fi
4901
4902
4903 eval "$wx_cv_use_std_string"
4904
4905 if test x"$enablestring" = xdisable; then
4906 if test $wxUSE_STD_STRING = no; then
4907 result=yes
4908 else
4909 result=no
4910 fi
4911 else
4912 result=$wxUSE_STD_STRING
4913 fi
4914
4915 { echo "$as_me:$LINENO: result: $result" >&5
4916 echo "${ECHO_T}$result" >&6; }
4917
4918
4919 enablestring=
4920 defaultval=
4921 if test -z "$defaultval"; then
4922 if test x"$enablestring" = xdisable; then
4923 defaultval=yes
4924 else
4925 defaultval=no
4926 fi
4927 fi
4928
4929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4931 # Check whether --enable-std_string_conv_in_wxstring was given.
4932 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4933 enableval=$enable_std_string_conv_in_wxstring;
4934 if test "$enableval" = yes; then
4935 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4936 else
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4938 fi
4939
4940 else
4941
4942 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4943
4944 fi
4945
4946
4947 eval "$wx_cv_use_std_string_conv_in_wxstring"
4948
4949 if test x"$enablestring" = xdisable; then
4950 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4951 result=yes
4952 else
4953 result=no
4954 fi
4955 else
4956 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4957 fi
4958
4959 { echo "$as_me:$LINENO: result: $result" >&5
4960 echo "${ECHO_T}$result" >&6; }
4961
4962
4963 enablestring=disable
4964 defaultval=
4965 if test -z "$defaultval"; then
4966 if test x"$enablestring" = xdisable; then
4967 defaultval=yes
4968 else
4969 defaultval=no
4970 fi
4971 fi
4972
4973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4975 # Check whether --enable-unicode was given.
4976 if test "${enable_unicode+set}" = set; then
4977 enableval=$enable_unicode;
4978 if test "$enableval" = yes; then
4979 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4980 else
4981 wx_cv_use_unicode='wxUSE_UNICODE=no'
4982 fi
4983
4984 else
4985
4986 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4987
4988 fi
4989
4990
4991 eval "$wx_cv_use_unicode"
4992
4993 if test x"$enablestring" = xdisable; then
4994 if test $wxUSE_UNICODE = no; then
4995 result=yes
4996 else
4997 result=no
4998 fi
4999 else
5000 result=$wxUSE_UNICODE
5001 fi
5002
5003 { echo "$as_me:$LINENO: result: $result" >&5
5004 echo "${ECHO_T}$result" >&6; }
5005
5006
5007 enablestring=
5008 defaultval=
5009 if test -z "$defaultval"; then
5010 if test x"$enablestring" = xdisable; then
5011 defaultval=yes
5012 else
5013 defaultval=no
5014 fi
5015 fi
5016
5017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5018 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5019 # Check whether --enable-mslu was given.
5020 if test "${enable_mslu+set}" = set; then
5021 enableval=$enable_mslu;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5024 else
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5026 fi
5027
5028 else
5029
5030 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5031
5032 fi
5033
5034
5035 eval "$wx_cv_use_mslu"
5036
5037 if test x"$enablestring" = xdisable; then
5038 if test $wxUSE_UNICODE_MSLU = no; then
5039 result=yes
5040 else
5041 result=no
5042 fi
5043 else
5044 result=$wxUSE_UNICODE_MSLU
5045 fi
5046
5047 { echo "$as_me:$LINENO: result: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5049
5050
5051 enablestring=
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5054 # Check whether --enable-utf8 was given.
5055 if test "${enable_utf8+set}" = set; then
5056 enableval=$enable_utf8;
5057 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5058
5059 else
5060
5061 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5062
5063 fi
5064
5065
5066 eval "$wx_cv_use_utf8"
5067
5068 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5069 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5070
5071
5072 enablestring=
5073 defaultval=
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5076 defaultval=yes
5077 else
5078 defaultval=no
5079 fi
5080 fi
5081
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5084 # Check whether --enable-utf8only was given.
5085 if test "${enable_utf8only+set}" = set; then
5086 enableval=$enable_utf8only;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5089 else
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5091 fi
5092
5093 else
5094
5095 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5096
5097 fi
5098
5099
5100 eval "$wx_cv_use_utf8only"
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5104 result=yes
5105 else
5106 result=no
5107 fi
5108 else
5109 result=$wxUSE_UNICODE_UTF8_LOCALE
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-extended_rtti was given.
5129 if test "${enable_extended_rtti+set}" = set; then
5130 enableval=$enable_extended_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5133 else
5134 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5135 fi
5136
5137 else
5138
5139 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5140
5141 fi
5142
5143
5144 eval "$wx_cv_use_extended_rtti"
5145
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_EXTENDED_RTTI = no; then
5148 result=yes
5149 else
5150 result=no
5151 fi
5152 else
5153 result=$wxUSE_EXTENDED_RTTI
5154 fi
5155
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5158
5159 if test "$USE_OS2" = 1; then
5160 DEFAULT_wxUSE_OMF=no
5161
5162 enablestring=
5163 defaultval=
5164 if test -z "$defaultval"; then
5165 if test x"$enablestring" = xdisable; then
5166 defaultval=yes
5167 else
5168 defaultval=no
5169 fi
5170 fi
5171
5172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5173 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5174 # Check whether --enable-omf was given.
5175 if test "${enable_omf+set}" = set; then
5176 enableval=$enable_omf;
5177 if test "$enableval" = yes; then
5178 wx_cv_use_omf='wxUSE_OMF=yes'
5179 else
5180 wx_cv_use_omf='wxUSE_OMF=no'
5181 fi
5182
5183 else
5184
5185 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5186
5187 fi
5188
5189
5190 eval "$wx_cv_use_omf"
5191
5192 if test x"$enablestring" = xdisable; then
5193 if test $wxUSE_OMF = no; then
5194 result=yes
5195 else
5196 result=no
5197 fi
5198 else
5199 result=$wxUSE_OMF
5200 fi
5201
5202 { echo "$as_me:$LINENO: result: $result" >&5
5203 echo "${ECHO_T}$result" >&6; }
5204
5205 fi
5206
5207
5208 enablestring=disable
5209 defaultval=
5210 if test -z "$defaultval"; then
5211 if test x"$enablestring" = xdisable; then
5212 defaultval=yes
5213 else
5214 defaultval=no
5215 fi
5216 fi
5217
5218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5220 # Check whether --enable-optimise was given.
5221 if test "${enable_optimise+set}" = set; then
5222 enableval=$enable_optimise;
5223 if test "$enableval" = yes; then
5224 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5225 else
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5227 fi
5228
5229 else
5230
5231 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5232
5233 fi
5234
5235
5236 eval "$wx_cv_use_optimise"
5237
5238 if test x"$enablestring" = xdisable; then
5239 if test $wxUSE_OPTIMISE = no; then
5240 result=yes
5241 else
5242 result=no
5243 fi
5244 else
5245 result=$wxUSE_OPTIMISE
5246 fi
5247
5248 { echo "$as_me:$LINENO: result: $result" >&5
5249 echo "${ECHO_T}$result" >&6; }
5250
5251
5252
5253 enablestring=
5254 defaultval=
5255 if test -z "$defaultval"; then
5256 if test x"$enablestring" = xdisable; then
5257 defaultval=yes
5258 else
5259 defaultval=no
5260 fi
5261 fi
5262
5263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5264 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5265 # Check whether --enable-profile was given.
5266 if test "${enable_profile+set}" = set; then
5267 enableval=$enable_profile;
5268 if test "$enableval" = yes; then
5269 wx_cv_use_profile='wxUSE_PROFILE=yes'
5270 else
5271 wx_cv_use_profile='wxUSE_PROFILE=no'
5272 fi
5273
5274 else
5275
5276 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5277
5278 fi
5279
5280
5281 eval "$wx_cv_use_profile"
5282
5283 if test x"$enablestring" = xdisable; then
5284 if test $wxUSE_PROFILE = no; then
5285 result=yes
5286 else
5287 result=no
5288 fi
5289 else
5290 result=$wxUSE_PROFILE
5291 fi
5292
5293 { echo "$as_me:$LINENO: result: $result" >&5
5294 echo "${ECHO_T}$result" >&6; }
5295
5296
5297 enablestring=
5298 defaultval=
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5309 # Check whether --enable-no_rtti was given.
5310 if test "${enable_no_rtti+set}" = set; then
5311 enableval=$enable_no_rtti;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5314 else
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5316 fi
5317
5318 else
5319
5320 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5321
5322 fi
5323
5324
5325 eval "$wx_cv_use_no_rtti"
5326
5327 if test x"$enablestring" = xdisable; then
5328 if test $wxUSE_NO_RTTI = no; then
5329 result=yes
5330 else
5331 result=no
5332 fi
5333 else
5334 result=$wxUSE_NO_RTTI
5335 fi
5336
5337 { echo "$as_me:$LINENO: result: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5339
5340
5341 enablestring=
5342 defaultval=
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5345 defaultval=yes
5346 else
5347 defaultval=no
5348 fi
5349 fi
5350
5351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5353 # Check whether --enable-no_exceptions was given.
5354 if test "${enable_no_exceptions+set}" = set; then
5355 enableval=$enable_no_exceptions;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5358 else
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5360 fi
5361
5362 else
5363
5364 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5365
5366 fi
5367
5368
5369 eval "$wx_cv_use_no_exceptions"
5370
5371 if test x"$enablestring" = xdisable; then
5372 if test $wxUSE_NO_EXCEPTIONS = no; then
5373 result=yes
5374 else
5375 result=no
5376 fi
5377 else
5378 result=$wxUSE_NO_EXCEPTIONS
5379 fi
5380
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5383
5384
5385 enablestring=
5386 defaultval=
5387 if test -z "$defaultval"; then
5388 if test x"$enablestring" = xdisable; then
5389 defaultval=yes
5390 else
5391 defaultval=no
5392 fi
5393 fi
5394
5395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5396 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5397 # Check whether --enable-permissive was given.
5398 if test "${enable_permissive+set}" = set; then
5399 enableval=$enable_permissive;
5400 if test "$enableval" = yes; then
5401 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5402 else
5403 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5404 fi
5405
5406 else
5407
5408 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5409
5410 fi
5411
5412
5413 eval "$wx_cv_use_permissive"
5414
5415 if test x"$enablestring" = xdisable; then
5416 if test $wxUSE_PERMISSIVE = no; then
5417 result=yes
5418 else
5419 result=no
5420 fi
5421 else
5422 result=$wxUSE_PERMISSIVE
5423 fi
5424
5425 { echo "$as_me:$LINENO: result: $result" >&5
5426 echo "${ECHO_T}$result" >&6; }
5427
5428
5429 enablestring=
5430 defaultval=
5431 if test -z "$defaultval"; then
5432 if test x"$enablestring" = xdisable; then
5433 defaultval=yes
5434 else
5435 defaultval=no
5436 fi
5437 fi
5438
5439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5441 # Check whether --enable-no_deps was given.
5442 if test "${enable_no_deps+set}" = set; then
5443 enableval=$enable_no_deps;
5444 if test "$enableval" = yes; then
5445 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5446 else
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5448 fi
5449
5450 else
5451
5452 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5453
5454 fi
5455
5456
5457 eval "$wx_cv_use_no_deps"
5458
5459 if test x"$enablestring" = xdisable; then
5460 if test $wxUSE_NO_DEPS = no; then
5461 result=yes
5462 else
5463 result=no
5464 fi
5465 else
5466 result=$wxUSE_NO_DEPS
5467 fi
5468
5469 { echo "$as_me:$LINENO: result: $result" >&5
5470 echo "${ECHO_T}$result" >&6; }
5471
5472
5473 enablestring=disable
5474 defaultval=
5475 if test -z "$defaultval"; then
5476 if test x"$enablestring" = xdisable; then
5477 defaultval=yes
5478 else
5479 defaultval=no
5480 fi
5481 fi
5482
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5485 # Check whether --enable-vararg_macros was given.
5486 if test "${enable_vararg_macros+set}" = set; then
5487 enableval=$enable_vararg_macros;
5488 if test "$enableval" = yes; then
5489 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5490 else
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5492 fi
5493
5494 else
5495
5496 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5497
5498 fi
5499
5500
5501 eval "$wx_cv_use_vararg_macros"
5502
5503 if test x"$enablestring" = xdisable; then
5504 if test $wxUSE_VARARG_MACROS = no; then
5505 result=yes
5506 else
5507 result=no
5508 fi
5509 else
5510 result=$wxUSE_VARARG_MACROS
5511 fi
5512
5513 { echo "$as_me:$LINENO: result: $result" >&5
5514 echo "${ECHO_T}$result" >&6; }
5515
5516
5517
5518 enablestring=
5519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5520 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5521 # Check whether --enable-universal_binary was given.
5522 if test "${enable_universal_binary+set}" = set; then
5523 enableval=$enable_universal_binary;
5524 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5525
5526 else
5527
5528 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5529
5530 fi
5531
5532
5533 eval "$wx_cv_use_universal_binary"
5534
5535 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5536 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5537
5538
5539 enablestring=
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5542 # Check whether --enable-macosx_arch was given.
5543 if test "${enable_macosx_arch+set}" = set; then
5544 enableval=$enable_macosx_arch;
5545 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5546
5547 else
5548
5549 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5550
5551 fi
5552
5553
5554 eval "$wx_cv_use_macosx_arch"
5555
5556 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5557 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&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}-compat26" >&5
5572 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5573 # Check whether --enable-compat26 was given.
5574 if test "${enable_compat26+set}" = set; then
5575 enableval=$enable_compat26;
5576 if test "$enableval" = yes; then
5577 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5578 else
5579 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5580 fi
5581
5582 else
5583
5584 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5585
5586 fi
5587
5588
5589 eval "$wx_cv_use_compat26"
5590
5591 if test x"$enablestring" = xdisable; then
5592 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5593 result=yes
5594 else
5595 result=no
5596 fi
5597 else
5598 result=$WXWIN_COMPATIBILITY_2_6
5599 fi
5600
5601 { echo "$as_me:$LINENO: result: $result" >&5
5602 echo "${ECHO_T}$result" >&6; }
5603
5604
5605 enablestring=disable
5606 defaultval=
5607 if test -z "$defaultval"; then
5608 if test x"$enablestring" = xdisable; then
5609 defaultval=yes
5610 else
5611 defaultval=no
5612 fi
5613 fi
5614
5615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5617 # Check whether --enable-compat28 was given.
5618 if test "${enable_compat28+set}" = set; then
5619 enableval=$enable_compat28;
5620 if test "$enableval" = yes; then
5621 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5622 else
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5624 fi
5625
5626 else
5627
5628 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5629
5630 fi
5631
5632
5633 eval "$wx_cv_use_compat28"
5634
5635 if test x"$enablestring" = xdisable; then
5636 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5637 result=yes
5638 else
5639 result=no
5640 fi
5641 else
5642 result=$WXWIN_COMPATIBILITY_2_8
5643 fi
5644
5645 { echo "$as_me:$LINENO: result: $result" >&5
5646 echo "${ECHO_T}$result" >&6; }
5647
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}-rpath" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5662 # Check whether --enable-rpath was given.
5663 if test "${enable_rpath+set}" = set; then
5664 enableval=$enable_rpath;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_rpath='wxUSE_RPATH=yes'
5667 else
5668 wx_cv_use_rpath='wxUSE_RPATH=no'
5669 fi
5670
5671 else
5672
5673 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5674
5675 fi
5676
5677
5678 eval "$wx_cv_use_rpath"
5679
5680 if test x"$enablestring" = xdisable; then
5681 if test $wxUSE_RPATH = no; then
5682 result=yes
5683 else
5684 result=no
5685 fi
5686 else
5687 result=$wxUSE_RPATH
5688 fi
5689
5690 { echo "$as_me:$LINENO: result: $result" >&5
5691 echo "${ECHO_T}$result" >&6; }
5692
5693
5694
5695 enablestring=
5696 defaultval=
5697 if test -z "$defaultval"; then
5698 if test x"$enablestring" = xdisable; then
5699 defaultval=yes
5700 else
5701 defaultval=no
5702 fi
5703 fi
5704
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5707 # Check whether --enable-objc_uniquifying was given.
5708 if test "${enable_objc_uniquifying+set}" = set; then
5709 enableval=$enable_objc_uniquifying;
5710 if test "$enableval" = yes; then
5711 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5712 else
5713 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5714 fi
5715
5716 else
5717
5718 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5719
5720 fi
5721
5722
5723 eval "$wx_cv_use_objc_uniquifying"
5724
5725 if test x"$enablestring" = xdisable; then
5726 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5727 result=yes
5728 else
5729 result=no
5730 fi
5731 else
5732 result=$wxUSE_OBJC_UNIQUIFYING
5733 fi
5734
5735 { echo "$as_me:$LINENO: result: $result" >&5
5736 echo "${ECHO_T}$result" >&6; }
5737
5738
5739
5740 enablestring=disable
5741 defaultval=
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}-visibility" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5752 # Check whether --enable-visibility was given.
5753 if test "${enable_visibility+set}" = set; then
5754 enableval=$enable_visibility;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5757 else
5758 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5759 fi
5760
5761 else
5762
5763 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5764
5765 fi
5766
5767
5768 eval "$wx_cv_use_visibility"
5769
5770 if test x"$enablestring" = xdisable; then
5771 if test $wxUSE_VISIBILITY = no; then
5772 result=yes
5773 else
5774 result=no
5775 fi
5776 else
5777 result=$wxUSE_VISIBILITY
5778 fi
5779
5780 { echo "$as_me:$LINENO: result: $result" >&5
5781 echo "${ECHO_T}$result" >&6; }
5782
5783
5784 enablestring=disable
5785 defaultval=
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}-tls" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5796 # Check whether --enable-tls was given.
5797 if test "${enable_tls+set}" = set; then
5798 enableval=$enable_tls;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5801 else
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5803 fi
5804
5805 else
5806
5807 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5808
5809 fi
5810
5811
5812 eval "$wx_cv_use_tls"
5813
5814 if test x"$enablestring" = xdisable; then
5815 if test $wxUSE_COMPILER_TLS = no; then
5816 result=yes
5817 else
5818 result=no
5819 fi
5820 else
5821 result=$wxUSE_COMPILER_TLS
5822 fi
5823
5824 { echo "$as_me:$LINENO: result: $result" >&5
5825 echo "${ECHO_T}$result" >&6; }
5826
5827
5828
5829
5830 enablestring=
5831 defaultval=$wxUSE_ALL_FEATURES
5832 if test -z "$defaultval"; then
5833 if test x"$enablestring" = xdisable; then
5834 defaultval=yes
5835 else
5836 defaultval=no
5837 fi
5838 fi
5839
5840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5842 # Check whether --enable-intl was given.
5843 if test "${enable_intl+set}" = set; then
5844 enableval=$enable_intl;
5845 if test "$enableval" = yes; then
5846 wx_cv_use_intl='wxUSE_INTL=yes'
5847 else
5848 wx_cv_use_intl='wxUSE_INTL=no'
5849 fi
5850
5851 else
5852
5853 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5854
5855 fi
5856
5857
5858 eval "$wx_cv_use_intl"
5859
5860 if test x"$enablestring" = xdisable; then
5861 if test $wxUSE_INTL = no; then
5862 result=yes
5863 else
5864 result=no
5865 fi
5866 else
5867 result=$wxUSE_INTL
5868 fi
5869
5870 { echo "$as_me:$LINENO: result: $result" >&5
5871 echo "${ECHO_T}$result" >&6; }
5872
5873
5874 enablestring=
5875 defaultval=$wxUSE_ALL_FEATURES
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5878 defaultval=yes
5879 else
5880 defaultval=no
5881 fi
5882 fi
5883
5884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5886 # Check whether --enable-xlocale was given.
5887 if test "${enable_xlocale+set}" = set; then
5888 enableval=$enable_xlocale;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5891 else
5892 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5893 fi
5894
5895 else
5896
5897 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5898
5899 fi
5900
5901
5902 eval "$wx_cv_use_xlocale"
5903
5904 if test x"$enablestring" = xdisable; then
5905 if test $wxUSE_XLOCALE = no; then
5906 result=yes
5907 else
5908 result=no
5909 fi
5910 else
5911 result=$wxUSE_XLOCALE
5912 fi
5913
5914 { echo "$as_me:$LINENO: result: $result" >&5
5915 echo "${ECHO_T}$result" >&6; }
5916
5917
5918 enablestring=
5919 defaultval=$wxUSE_ALL_FEATURES
5920 if test -z "$defaultval"; then
5921 if test x"$enablestring" = xdisable; then
5922 defaultval=yes
5923 else
5924 defaultval=no
5925 fi
5926 fi
5927
5928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5930 # Check whether --enable-config was given.
5931 if test "${enable_config+set}" = set; then
5932 enableval=$enable_config;
5933 if test "$enableval" = yes; then
5934 wx_cv_use_config='wxUSE_CONFIG=yes'
5935 else
5936 wx_cv_use_config='wxUSE_CONFIG=no'
5937 fi
5938
5939 else
5940
5941 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5942
5943 fi
5944
5945
5946 eval "$wx_cv_use_config"
5947
5948 if test x"$enablestring" = xdisable; then
5949 if test $wxUSE_CONFIG = no; then
5950 result=yes
5951 else
5952 result=no
5953 fi
5954 else
5955 result=$wxUSE_CONFIG
5956 fi
5957
5958 { echo "$as_me:$LINENO: result: $result" >&5
5959 echo "${ECHO_T}$result" >&6; }
5960
5961
5962
5963 enablestring=
5964 defaultval=$wxUSE_ALL_FEATURES
5965 if test -z "$defaultval"; then
5966 if test x"$enablestring" = xdisable; then
5967 defaultval=yes
5968 else
5969 defaultval=no
5970 fi
5971 fi
5972
5973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5975 # Check whether --enable-protocols was given.
5976 if test "${enable_protocols+set}" = set; then
5977 enableval=$enable_protocols;
5978 if test "$enableval" = yes; then
5979 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5980 else
5981 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5982 fi
5983
5984 else
5985
5986 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5987
5988 fi
5989
5990
5991 eval "$wx_cv_use_protocols"
5992
5993 if test x"$enablestring" = xdisable; then
5994 if test $wxUSE_PROTOCOL = no; then
5995 result=yes
5996 else
5997 result=no
5998 fi
5999 else
6000 result=$wxUSE_PROTOCOL
6001 fi
6002
6003 { echo "$as_me:$LINENO: result: $result" >&5
6004 echo "${ECHO_T}$result" >&6; }
6005
6006
6007 enablestring=
6008 defaultval=$wxUSE_ALL_FEATURES
6009 if test -z "$defaultval"; then
6010 if test x"$enablestring" = xdisable; then
6011 defaultval=yes
6012 else
6013 defaultval=no
6014 fi
6015 fi
6016
6017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6019 # Check whether --enable-ftp was given.
6020 if test "${enable_ftp+set}" = set; then
6021 enableval=$enable_ftp;
6022 if test "$enableval" = yes; then
6023 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6024 else
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6026 fi
6027
6028 else
6029
6030 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6031
6032 fi
6033
6034
6035 eval "$wx_cv_use_ftp"
6036
6037 if test x"$enablestring" = xdisable; then
6038 if test $wxUSE_PROTOCOL_FTP = no; then
6039 result=yes
6040 else
6041 result=no
6042 fi
6043 else
6044 result=$wxUSE_PROTOCOL_FTP
6045 fi
6046
6047 { echo "$as_me:$LINENO: result: $result" >&5
6048 echo "${ECHO_T}$result" >&6; }
6049
6050
6051 enablestring=
6052 defaultval=$wxUSE_ALL_FEATURES
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6055 defaultval=yes
6056 else
6057 defaultval=no
6058 fi
6059 fi
6060
6061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6063 # Check whether --enable-http was given.
6064 if test "${enable_http+set}" = set; then
6065 enableval=$enable_http;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6068 else
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6070 fi
6071
6072 else
6073
6074 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6075
6076 fi
6077
6078
6079 eval "$wx_cv_use_http"
6080
6081 if test x"$enablestring" = xdisable; then
6082 if test $wxUSE_PROTOCOL_HTTP = no; then
6083 result=yes
6084 else
6085 result=no
6086 fi
6087 else
6088 result=$wxUSE_PROTOCOL_HTTP
6089 fi
6090
6091 { echo "$as_me:$LINENO: result: $result" >&5
6092 echo "${ECHO_T}$result" >&6; }
6093
6094
6095 enablestring=
6096 defaultval=$wxUSE_ALL_FEATURES
6097 if test -z "$defaultval"; then
6098 if test x"$enablestring" = xdisable; then
6099 defaultval=yes
6100 else
6101 defaultval=no
6102 fi
6103 fi
6104
6105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6107 # Check whether --enable-fileproto was given.
6108 if test "${enable_fileproto+set}" = set; then
6109 enableval=$enable_fileproto;
6110 if test "$enableval" = yes; then
6111 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6112 else
6113 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6114 fi
6115
6116 else
6117
6118 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6119
6120 fi
6121
6122
6123 eval "$wx_cv_use_fileproto"
6124
6125 if test x"$enablestring" = xdisable; then
6126 if test $wxUSE_PROTOCOL_FILE = no; then
6127 result=yes
6128 else
6129 result=no
6130 fi
6131 else
6132 result=$wxUSE_PROTOCOL_FILE
6133 fi
6134
6135 { echo "$as_me:$LINENO: result: $result" >&5
6136 echo "${ECHO_T}$result" >&6; }
6137
6138
6139 enablestring=
6140 defaultval=$wxUSE_ALL_FEATURES
6141 if test -z "$defaultval"; then
6142 if test x"$enablestring" = xdisable; then
6143 defaultval=yes
6144 else
6145 defaultval=no
6146 fi
6147 fi
6148
6149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6151 # Check whether --enable-sockets was given.
6152 if test "${enable_sockets+set}" = set; then
6153 enableval=$enable_sockets;
6154 if test "$enableval" = yes; then
6155 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6156 else
6157 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6158 fi
6159
6160 else
6161
6162 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6163
6164 fi
6165
6166
6167 eval "$wx_cv_use_sockets"
6168
6169 if test x"$enablestring" = xdisable; then
6170 if test $wxUSE_SOCKETS = no; then
6171 result=yes
6172 else
6173 result=no
6174 fi
6175 else
6176 result=$wxUSE_SOCKETS
6177 fi
6178
6179 { echo "$as_me:$LINENO: result: $result" >&5
6180 echo "${ECHO_T}$result" >&6; }
6181
6182
6183 enablestring=
6184 defaultval=$wxUSE_ALL_FEATURES
6185 if test -z "$defaultval"; then
6186 if test x"$enablestring" = xdisable; then
6187 defaultval=yes
6188 else
6189 defaultval=no
6190 fi
6191 fi
6192
6193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6195 # Check whether --enable-ipv6 was given.
6196 if test "${enable_ipv6+set}" = set; then
6197 enableval=$enable_ipv6;
6198 if test "$enableval" = yes; then
6199 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6200 else
6201 wx_cv_use_ipv6='wxUSE_IPV6=no'
6202 fi
6203
6204 else
6205
6206 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6207
6208 fi
6209
6210
6211 eval "$wx_cv_use_ipv6"
6212
6213 if test x"$enablestring" = xdisable; then
6214 if test $wxUSE_IPV6 = no; then
6215 result=yes
6216 else
6217 result=no
6218 fi
6219 else
6220 result=$wxUSE_IPV6
6221 fi
6222
6223 { echo "$as_me:$LINENO: result: $result" >&5
6224 echo "${ECHO_T}$result" >&6; }
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}-ole" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6239 # Check whether --enable-ole was given.
6240 if test "${enable_ole+set}" = set; then
6241 enableval=$enable_ole;
6242 if test "$enableval" = yes; then
6243 wx_cv_use_ole='wxUSE_OLE=yes'
6244 else
6245 wx_cv_use_ole='wxUSE_OLE=no'
6246 fi
6247
6248 else
6249
6250 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6251
6252 fi
6253
6254
6255 eval "$wx_cv_use_ole"
6256
6257 if test x"$enablestring" = xdisable; then
6258 if test $wxUSE_OLE = no; then
6259 result=yes
6260 else
6261 result=no
6262 fi
6263 else
6264 result=$wxUSE_OLE
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}-dataobj" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6283 # Check whether --enable-dataobj was given.
6284 if test "${enable_dataobj+set}" = set; then
6285 enableval=$enable_dataobj;
6286 if test "$enableval" = yes; then
6287 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6288 else
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6290 fi
6291
6292 else
6293
6294 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6295
6296 fi
6297
6298
6299 eval "$wx_cv_use_dataobj"
6300
6301 if test x"$enablestring" = xdisable; then
6302 if test $wxUSE_DATAOBJ = no; then
6303 result=yes
6304 else
6305 result=no
6306 fi
6307 else
6308 result=$wxUSE_DATAOBJ
6309 fi
6310
6311 { echo "$as_me:$LINENO: result: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6313
6314
6315
6316 enablestring=
6317 defaultval=$wxUSE_ALL_FEATURES
6318 if test -z "$defaultval"; then
6319 if test x"$enablestring" = xdisable; then
6320 defaultval=yes
6321 else
6322 defaultval=no
6323 fi
6324 fi
6325
6326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6327 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6328 # Check whether --enable-ipc was given.
6329 if test "${enable_ipc+set}" = set; then
6330 enableval=$enable_ipc;
6331 if test "$enableval" = yes; then
6332 wx_cv_use_ipc='wxUSE_IPC=yes'
6333 else
6334 wx_cv_use_ipc='wxUSE_IPC=no'
6335 fi
6336
6337 else
6338
6339 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6340
6341 fi
6342
6343
6344 eval "$wx_cv_use_ipc"
6345
6346 if test x"$enablestring" = xdisable; then
6347 if test $wxUSE_IPC = no; then
6348 result=yes
6349 else
6350 result=no
6351 fi
6352 else
6353 result=$wxUSE_IPC
6354 fi
6355
6356 { echo "$as_me:$LINENO: result: $result" >&5
6357 echo "${ECHO_T}$result" >&6; }
6358
6359
6360
6361 enablestring=
6362 defaultval=$wxUSE_ALL_FEATURES
6363 if test -z "$defaultval"; then
6364 if test x"$enablestring" = xdisable; then
6365 defaultval=yes
6366 else
6367 defaultval=no
6368 fi
6369 fi
6370
6371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6373 # Check whether --enable-baseevtloop was given.
6374 if test "${enable_baseevtloop+set}" = set; then
6375 enableval=$enable_baseevtloop;
6376 if test "$enableval" = yes; then
6377 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6378 else
6379 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6380 fi
6381
6382 else
6383
6384 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6385
6386 fi
6387
6388
6389 eval "$wx_cv_use_baseevtloop"
6390
6391 if test x"$enablestring" = xdisable; then
6392 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6393 result=yes
6394 else
6395 result=no
6396 fi
6397 else
6398 result=$wxUSE_CONSOLE_EVENTLOOP
6399 fi
6400
6401 { echo "$as_me:$LINENO: result: $result" >&5
6402 echo "${ECHO_T}$result" >&6; }
6403
6404
6405 enablestring=
6406 defaultval=$wxUSE_ALL_FEATURES
6407 if test -z "$defaultval"; then
6408 if test x"$enablestring" = xdisable; then
6409 defaultval=yes
6410 else
6411 defaultval=no
6412 fi
6413 fi
6414
6415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6417 # Check whether --enable-epollloop was given.
6418 if test "${enable_epollloop+set}" = set; then
6419 enableval=$enable_epollloop;
6420 if test "$enableval" = yes; then
6421 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6422 else
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6424 fi
6425
6426 else
6427
6428 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6429
6430 fi
6431
6432
6433 eval "$wx_cv_use_epollloop"
6434
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_EPOLL_DISPATCHER = no; then
6437 result=yes
6438 else
6439 result=no
6440 fi
6441 else
6442 result=$wxUSE_EPOLL_DISPATCHER
6443 fi
6444
6445 { echo "$as_me:$LINENO: result: $result" >&5
6446 echo "${ECHO_T}$result" >&6; }
6447
6448
6449 enablestring=
6450 defaultval=$wxUSE_ALL_FEATURES
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6453 defaultval=yes
6454 else
6455 defaultval=no
6456 fi
6457 fi
6458
6459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6460 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6461 # Check whether --enable-selectloop was given.
6462 if test "${enable_selectloop+set}" = set; then
6463 enableval=$enable_selectloop;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6466 else
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6468 fi
6469
6470 else
6471
6472 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6473
6474 fi
6475
6476
6477 eval "$wx_cv_use_selectloop"
6478
6479 if test x"$enablestring" = xdisable; then
6480 if test $wxUSE_SELECT_DISPATCHER = no; then
6481 result=yes
6482 else
6483 result=no
6484 fi
6485 else
6486 result=$wxUSE_SELECT_DISPATCHER
6487 fi
6488
6489 { echo "$as_me:$LINENO: result: $result" >&5
6490 echo "${ECHO_T}$result" >&6; }
6491
6492
6493
6494 enablestring=
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6498 defaultval=yes
6499 else
6500 defaultval=no
6501 fi
6502 fi
6503
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6506 # Check whether --enable-any was given.
6507 if test "${enable_any+set}" = set; then
6508 enableval=$enable_any;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_any='wxUSE_ANY=yes'
6511 else
6512 wx_cv_use_any='wxUSE_ANY=no'
6513 fi
6514
6515 else
6516
6517 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6518
6519 fi
6520
6521
6522 eval "$wx_cv_use_any"
6523
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_ANY = no; then
6526 result=yes
6527 else
6528 result=no
6529 fi
6530 else
6531 result=$wxUSE_ANY
6532 fi
6533
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6536
6537
6538 enablestring=
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6542 defaultval=yes
6543 else
6544 defaultval=no
6545 fi
6546 fi
6547
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6550 # Check whether --enable-apple_ieee was given.
6551 if test "${enable_apple_ieee+set}" = set; then
6552 enableval=$enable_apple_ieee;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6555 else
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6557 fi
6558
6559 else
6560
6561 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6562
6563 fi
6564
6565
6566 eval "$wx_cv_use_apple_ieee"
6567
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_APPLE_IEEE = no; then
6570 result=yes
6571 else
6572 result=no
6573 fi
6574 else
6575 result=$wxUSE_APPLE_IEEE
6576 fi
6577
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6580
6581
6582 enablestring=
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6586 defaultval=yes
6587 else
6588 defaultval=no
6589 fi
6590 fi
6591
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6594 # Check whether --enable-arcstream was given.
6595 if test "${enable_arcstream+set}" = set; then
6596 enableval=$enable_arcstream;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6599 else
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6601 fi
6602
6603 else
6604
6605 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6606
6607 fi
6608
6609
6610 eval "$wx_cv_use_arcstream"
6611
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_ARCHIVE_STREAMS = no; then
6614 result=yes
6615 else
6616 result=no
6617 fi
6618 else
6619 result=$wxUSE_ARCHIVE_STREAMS
6620 fi
6621
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6624
6625
6626 enablestring=
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6630 defaultval=yes
6631 else
6632 defaultval=no
6633 fi
6634 fi
6635
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6638 # Check whether --enable-base64 was given.
6639 if test "${enable_base64+set}" = set; then
6640 enableval=$enable_base64;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_base64='wxUSE_BASE64=yes'
6643 else
6644 wx_cv_use_base64='wxUSE_BASE64=no'
6645 fi
6646
6647 else
6648
6649 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6650
6651 fi
6652
6653
6654 eval "$wx_cv_use_base64"
6655
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_BASE64 = no; then
6658 result=yes
6659 else
6660 result=no
6661 fi
6662 else
6663 result=$wxUSE_BASE64
6664 fi
6665
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6668
6669
6670 enablestring=
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6674 defaultval=yes
6675 else
6676 defaultval=no
6677 fi
6678 fi
6679
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6682 # Check whether --enable-backtrace was given.
6683 if test "${enable_backtrace+set}" = set; then
6684 enableval=$enable_backtrace;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6687 else
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6689 fi
6690
6691 else
6692
6693 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6694
6695 fi
6696
6697
6698 eval "$wx_cv_use_backtrace"
6699
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_STACKWALKER = no; then
6702 result=yes
6703 else
6704 result=no
6705 fi
6706 else
6707 result=$wxUSE_STACKWALKER
6708 fi
6709
6710 { echo "$as_me:$LINENO: result: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6712
6713
6714 enablestring=
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6718 defaultval=yes
6719 else
6720 defaultval=no
6721 fi
6722 fi
6723
6724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6726 # Check whether --enable-catch_segvs was given.
6727 if test "${enable_catch_segvs+set}" = set; then
6728 enableval=$enable_catch_segvs;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6731 else
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6733 fi
6734
6735 else
6736
6737 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6738
6739 fi
6740
6741
6742 eval "$wx_cv_use_catch_segvs"
6743
6744 if test x"$enablestring" = xdisable; then
6745 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6746 result=yes
6747 else
6748 result=no
6749 fi
6750 else
6751 result=$wxUSE_ON_FATAL_EXCEPTION
6752 fi
6753
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6756
6757
6758 enablestring=
6759 defaultval=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x"$enablestring" = xdisable; then
6762 defaultval=yes
6763 else
6764 defaultval=no
6765 fi
6766 fi
6767
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6770 # Check whether --enable-cmdline was given.
6771 if test "${enable_cmdline+set}" = set; then
6772 enableval=$enable_cmdline;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6775 else
6776 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6777 fi
6778
6779 else
6780
6781 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6782
6783 fi
6784
6785
6786 eval "$wx_cv_use_cmdline"
6787
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_CMDLINE_PARSER = no; then
6790 result=yes
6791 else
6792 result=no
6793 fi
6794 else
6795 result=$wxUSE_CMDLINE_PARSER
6796 fi
6797
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6800
6801
6802 enablestring=
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6806 defaultval=yes
6807 else
6808 defaultval=no
6809 fi
6810 fi
6811
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6814 # Check whether --enable-datetime was given.
6815 if test "${enable_datetime+set}" = set; then
6816 enableval=$enable_datetime;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6819 else
6820 wx_cv_use_datetime='wxUSE_DATETIME=no'
6821 fi
6822
6823 else
6824
6825 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6826
6827 fi
6828
6829
6830 eval "$wx_cv_use_datetime"
6831
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_DATETIME = no; then
6834 result=yes
6835 else
6836 result=no
6837 fi
6838 else
6839 result=$wxUSE_DATETIME
6840 fi
6841
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6844
6845
6846 enablestring=
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6850 defaultval=yes
6851 else
6852 defaultval=no
6853 fi
6854 fi
6855
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6858 # Check whether --enable-debugreport was given.
6859 if test "${enable_debugreport+set}" = set; then
6860 enableval=$enable_debugreport;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6863 else
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6865 fi
6866
6867 else
6868
6869 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6870
6871 fi
6872
6873
6874 eval "$wx_cv_use_debugreport"
6875
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_DEBUGREPORT = no; then
6878 result=yes
6879 else
6880 result=no
6881 fi
6882 else
6883 result=$wxUSE_DEBUGREPORT
6884 fi
6885
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6888
6889
6890 enablestring=
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6894 defaultval=yes
6895 else
6896 defaultval=no
6897 fi
6898 fi
6899
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6902 # Check whether --enable-dialupman was given.
6903 if test "${enable_dialupman+set}" = set; then
6904 enableval=$enable_dialupman;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6907 else
6908 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6909 fi
6910
6911 else
6912
6913 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6914
6915 fi
6916
6917
6918 eval "$wx_cv_use_dialupman"
6919
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_DIALUP_MANAGER = no; then
6922 result=yes
6923 else
6924 result=no
6925 fi
6926 else
6927 result=$wxUSE_DIALUP_MANAGER
6928 fi
6929
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6932
6933
6934 enablestring=
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6938 defaultval=yes
6939 else
6940 defaultval=no
6941 fi
6942 fi
6943
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6946 # Check whether --enable-dynlib was given.
6947 if test "${enable_dynlib+set}" = set; then
6948 enableval=$enable_dynlib;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6951 else
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6953 fi
6954
6955 else
6956
6957 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6958
6959 fi
6960
6961
6962 eval "$wx_cv_use_dynlib"
6963
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_DYNLIB_CLASS = no; then
6966 result=yes
6967 else
6968 result=no
6969 fi
6970 else
6971 result=$wxUSE_DYNLIB_CLASS
6972 fi
6973
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6976
6977
6978 enablestring=
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6982 defaultval=yes
6983 else
6984 defaultval=no
6985 fi
6986 fi
6987
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6990 # Check whether --enable-dynamicloader was given.
6991 if test "${enable_dynamicloader+set}" = set; then
6992 enableval=$enable_dynamicloader;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6995 else
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6997 fi
6998
6999 else
7000
7001 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7002
7003 fi
7004
7005
7006 eval "$wx_cv_use_dynamicloader"
7007
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_DYNAMIC_LOADER = no; then
7010 result=yes
7011 else
7012 result=no
7013 fi
7014 else
7015 result=$wxUSE_DYNAMIC_LOADER
7016 fi
7017
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7020
7021
7022 enablestring=
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7026 defaultval=yes
7027 else
7028 defaultval=no
7029 fi
7030 fi
7031
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7034 # Check whether --enable-exceptions was given.
7035 if test "${enable_exceptions+set}" = set; then
7036 enableval=$enable_exceptions;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7039 else
7040 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7041 fi
7042
7043 else
7044
7045 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7046
7047 fi
7048
7049
7050 eval "$wx_cv_use_exceptions"
7051
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_EXCEPTIONS = no; then
7054 result=yes
7055 else
7056 result=no
7057 fi
7058 else
7059 result=$wxUSE_EXCEPTIONS
7060 fi
7061
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7064
7065
7066 enablestring=
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7070 defaultval=yes
7071 else
7072 defaultval=no
7073 fi
7074 fi
7075
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7078 # Check whether --enable-ffile was given.
7079 if test "${enable_ffile+set}" = set; then
7080 enableval=$enable_ffile;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_ffile='wxUSE_FFILE=yes'
7083 else
7084 wx_cv_use_ffile='wxUSE_FFILE=no'
7085 fi
7086
7087 else
7088
7089 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7090
7091 fi
7092
7093
7094 eval "$wx_cv_use_ffile"
7095
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_FFILE = no; then
7098 result=yes
7099 else
7100 result=no
7101 fi
7102 else
7103 result=$wxUSE_FFILE
7104 fi
7105
7106 { echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7108
7109
7110 enablestring=
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7114 defaultval=yes
7115 else
7116 defaultval=no
7117 fi
7118 fi
7119
7120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7122 # Check whether --enable-file was given.
7123 if test "${enable_file+set}" = set; then
7124 enableval=$enable_file;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_file='wxUSE_FILE=yes'
7127 else
7128 wx_cv_use_file='wxUSE_FILE=no'
7129 fi
7130
7131 else
7132
7133 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7134
7135 fi
7136
7137
7138 eval "$wx_cv_use_file"
7139
7140 if test x"$enablestring" = xdisable; then
7141 if test $wxUSE_FILE = no; then
7142 result=yes
7143 else
7144 result=no
7145 fi
7146 else
7147 result=$wxUSE_FILE
7148 fi
7149
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7152
7153
7154 enablestring=
7155 defaultval=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x"$enablestring" = xdisable; then
7158 defaultval=yes
7159 else
7160 defaultval=no
7161 fi
7162 fi
7163
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7166 # Check whether --enable-filehistory was given.
7167 if test "${enable_filehistory+set}" = set; then
7168 enableval=$enable_filehistory;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7171 else
7172 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7173 fi
7174
7175 else
7176
7177 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7178
7179 fi
7180
7181
7182 eval "$wx_cv_use_filehistory"
7183
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_FILE_HISTORY = no; then
7186 result=yes
7187 else
7188 result=no
7189 fi
7190 else
7191 result=$wxUSE_FILE_HISTORY
7192 fi
7193
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7196
7197
7198 enablestring=
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7202 defaultval=yes
7203 else
7204 defaultval=no
7205 fi
7206 fi
7207
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7210 # Check whether --enable-filesystem was given.
7211 if test "${enable_filesystem+set}" = set; then
7212 enableval=$enable_filesystem;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7215 else
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7217 fi
7218
7219 else
7220
7221 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$wx_cv_use_filesystem"
7227
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_FILESYSTEM = no; then
7230 result=yes
7231 else
7232 result=no
7233 fi
7234 else
7235 result=$wxUSE_FILESYSTEM
7236 fi
7237
7238 { echo "$as_me:$LINENO: result: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7240
7241
7242 enablestring=
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7246 defaultval=yes
7247 else
7248 defaultval=no
7249 fi
7250 fi
7251
7252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7254 # Check whether --enable-fontenum was given.
7255 if test "${enable_fontenum+set}" = set; then
7256 enableval=$enable_fontenum;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7259 else
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7261 fi
7262
7263 else
7264
7265 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_fontenum"
7271
7272 if test x"$enablestring" = xdisable; then
7273 if test $wxUSE_FONTENUM = no; then
7274 result=yes
7275 else
7276 result=no
7277 fi
7278 else
7279 result=$wxUSE_FONTENUM
7280 fi
7281
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7284
7285
7286 enablestring=
7287 defaultval=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x"$enablestring" = xdisable; then
7290 defaultval=yes
7291 else
7292 defaultval=no
7293 fi
7294 fi
7295
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7298 # Check whether --enable-fontmap was given.
7299 if test "${enable_fontmap+set}" = set; then
7300 enableval=$enable_fontmap;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7303 else
7304 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7305 fi
7306
7307 else
7308
7309 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7310
7311 fi
7312
7313
7314 eval "$wx_cv_use_fontmap"
7315
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_FONTMAP = no; then
7318 result=yes
7319 else
7320 result=no
7321 fi
7322 else
7323 result=$wxUSE_FONTMAP
7324 fi
7325
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7328
7329
7330 enablestring=
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7334 defaultval=yes
7335 else
7336 defaultval=no
7337 fi
7338 fi
7339
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7342 # Check whether --enable-fs_archive was given.
7343 if test "${enable_fs_archive+set}" = set; then
7344 enableval=$enable_fs_archive;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7347 else
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7349 fi
7350
7351 else
7352
7353 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7354
7355 fi
7356
7357
7358 eval "$wx_cv_use_fs_archive"
7359
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_FS_ARCHIVE = no; then
7362 result=yes
7363 else
7364 result=no
7365 fi
7366 else
7367 result=$wxUSE_FS_ARCHIVE
7368 fi
7369
7370 { echo "$as_me:$LINENO: result: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7372
7373
7374 enablestring=
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7378 defaultval=yes
7379 else
7380 defaultval=no
7381 fi
7382 fi
7383
7384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7386 # Check whether --enable-fs_inet was given.
7387 if test "${enable_fs_inet+set}" = set; then
7388 enableval=$enable_fs_inet;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7391 else
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7393 fi
7394
7395 else
7396
7397 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7398
7399 fi
7400
7401
7402 eval "$wx_cv_use_fs_inet"
7403
7404 if test x"$enablestring" = xdisable; then
7405 if test $wxUSE_FS_INET = no; then
7406 result=yes
7407 else
7408 result=no
7409 fi
7410 else
7411 result=$wxUSE_FS_INET
7412 fi
7413
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7416
7417
7418 enablestring=
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7422 defaultval=yes
7423 else
7424 defaultval=no
7425 fi
7426 fi
7427
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7430 # Check whether --enable-fs_zip was given.
7431 if test "${enable_fs_zip+set}" = set; then
7432 enableval=$enable_fs_zip;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7435 else
7436 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7437 fi
7438
7439 else
7440
7441 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7442
7443 fi
7444
7445
7446 eval "$wx_cv_use_fs_zip"
7447
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_FS_ZIP = no; then
7450 result=yes
7451 else
7452 result=no
7453 fi
7454 else
7455 result=$wxUSE_FS_ZIP
7456 fi
7457
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7460
7461
7462 enablestring=
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7466 defaultval=yes
7467 else
7468 defaultval=no
7469 fi
7470 fi
7471
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7474 # Check whether --enable-fswatcher was given.
7475 if test "${enable_fswatcher+set}" = set; then
7476 enableval=$enable_fswatcher;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7479 else
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7481 fi
7482
7483 else
7484
7485 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7486
7487 fi
7488
7489
7490 eval "$wx_cv_use_fswatcher"
7491
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_FSWATCHER = no; then
7494 result=yes
7495 else
7496 result=no
7497 fi
7498 else
7499 result=$wxUSE_FSWATCHER
7500 fi
7501
7502 { echo "$as_me:$LINENO: result: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7504
7505
7506 enablestring=
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7510 defaultval=yes
7511 else
7512 defaultval=no
7513 fi
7514 fi
7515
7516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7518 # Check whether --enable-geometry was given.
7519 if test "${enable_geometry+set}" = set; then
7520 enableval=$enable_geometry;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7523 else
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7525 fi
7526
7527 else
7528
7529 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7530
7531 fi
7532
7533
7534 eval "$wx_cv_use_geometry"
7535
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_GEOMETRY = no; then
7538 result=yes
7539 else
7540 result=no
7541 fi
7542 else
7543 result=$wxUSE_GEOMETRY
7544 fi
7545
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7548
7549
7550 enablestring=
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7554 defaultval=yes
7555 else
7556 defaultval=no
7557 fi
7558 fi
7559
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7562 # Check whether --enable-log was given.
7563 if test "${enable_log+set}" = set; then
7564 enableval=$enable_log;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_log='wxUSE_LOG=yes'
7567 else
7568 wx_cv_use_log='wxUSE_LOG=no'
7569 fi
7570
7571 else
7572
7573 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7574
7575 fi
7576
7577
7578 eval "$wx_cv_use_log"
7579
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_LOG = no; then
7582 result=yes
7583 else
7584 result=no
7585 fi
7586 else
7587 result=$wxUSE_LOG
7588 fi
7589
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7592
7593
7594 enablestring=
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7598 defaultval=yes
7599 else
7600 defaultval=no
7601 fi
7602 fi
7603
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7606 # Check whether --enable-longlong was given.
7607 if test "${enable_longlong+set}" = set; then
7608 enableval=$enable_longlong;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7611 else
7612 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7613 fi
7614
7615 else
7616
7617 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7618
7619 fi
7620
7621
7622 eval "$wx_cv_use_longlong"
7623
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_LONGLONG = no; then
7626 result=yes
7627 else
7628 result=no
7629 fi
7630 else
7631 result=$wxUSE_LONGLONG
7632 fi
7633
7634 { echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7636
7637
7638 enablestring=
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7642 defaultval=yes
7643 else
7644 defaultval=no
7645 fi
7646 fi
7647
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7650 # Check whether --enable-mimetype was given.
7651 if test "${enable_mimetype+set}" = set; then
7652 enableval=$enable_mimetype;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7655 else
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7657 fi
7658
7659 else
7660
7661 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7662
7663 fi
7664
7665
7666 eval "$wx_cv_use_mimetype"
7667
7668 if test x"$enablestring" = xdisable; then
7669 if test $wxUSE_MIMETYPE = no; then
7670 result=yes
7671 else
7672 result=no
7673 fi
7674 else
7675 result=$wxUSE_MIMETYPE
7676 fi
7677
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7680
7681
7682 enablestring=
7683 defaultval=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x"$enablestring" = xdisable; then
7686 defaultval=yes
7687 else
7688 defaultval=no
7689 fi
7690 fi
7691
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7694 # Check whether --enable-printfposparam was given.
7695 if test "${enable_printfposparam+set}" = set; then
7696 enableval=$enable_printfposparam;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7699 else
7700 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7701 fi
7702
7703 else
7704
7705 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7706
7707 fi
7708
7709
7710 eval "$wx_cv_use_printfposparam"
7711
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7714 result=yes
7715 else
7716 result=no
7717 fi
7718 else
7719 result=$wxUSE_PRINTF_POS_PARAMS
7720 fi
7721
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7724
7725
7726 enablestring=
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7730 defaultval=yes
7731 else
7732 defaultval=no
7733 fi
7734 fi
7735
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7738 # Check whether --enable-snglinst was given.
7739 if test "${enable_snglinst+set}" = set; then
7740 enableval=$enable_snglinst;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7743 else
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7745 fi
7746
7747 else
7748
7749 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7750
7751 fi
7752
7753
7754 eval "$wx_cv_use_snglinst"
7755
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_SNGLINST_CHECKER = no; then
7758 result=yes
7759 else
7760 result=no
7761 fi
7762 else
7763 result=$wxUSE_SNGLINST_CHECKER
7764 fi
7765
7766 { echo "$as_me:$LINENO: result: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7768
7769
7770 enablestring=
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7774 defaultval=yes
7775 else
7776 defaultval=no
7777 fi
7778 fi
7779
7780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7782 # Check whether --enable-sound was given.
7783 if test "${enable_sound+set}" = set; then
7784 enableval=$enable_sound;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_sound='wxUSE_SOUND=yes'
7787 else
7788 wx_cv_use_sound='wxUSE_SOUND=no'
7789 fi
7790
7791 else
7792
7793 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7794
7795 fi
7796
7797
7798 eval "$wx_cv_use_sound"
7799
7800 if test x"$enablestring" = xdisable; then
7801 if test $wxUSE_SOUND = no; then
7802 result=yes
7803 else
7804 result=no
7805 fi
7806 else
7807 result=$wxUSE_SOUND
7808 fi
7809
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7812
7813
7814 enablestring=
7815 defaultval=$wxUSE_ALL_FEATURES
7816 if test -z "$defaultval"; then
7817 if test x"$enablestring" = xdisable; then
7818 defaultval=yes
7819 else
7820 defaultval=no
7821 fi
7822 fi
7823
7824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7826 # Check whether --enable-stdpaths was given.
7827 if test "${enable_stdpaths+set}" = set; then
7828 enableval=$enable_stdpaths;
7829 if test "$enableval" = yes; then
7830 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7831 else
7832 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7833 fi
7834
7835 else
7836
7837 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7838
7839 fi
7840
7841
7842 eval "$wx_cv_use_stdpaths"
7843
7844 if test x"$enablestring" = xdisable; then
7845 if test $wxUSE_STDPATHS = no; then
7846 result=yes
7847 else
7848 result=no
7849 fi
7850 else
7851 result=$wxUSE_STDPATHS
7852 fi
7853
7854 { echo "$as_me:$LINENO: result: $result" >&5
7855 echo "${ECHO_T}$result" >&6; }
7856
7857
7858 enablestring=
7859 defaultval=$wxUSE_ALL_FEATURES
7860 if test -z "$defaultval"; then
7861 if test x"$enablestring" = xdisable; then
7862 defaultval=yes
7863 else
7864 defaultval=no
7865 fi
7866 fi
7867
7868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7870 # Check whether --enable-stopwatch was given.
7871 if test "${enable_stopwatch+set}" = set; then
7872 enableval=$enable_stopwatch;
7873 if test "$enableval" = yes; then
7874 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7875 else
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7877 fi
7878
7879 else
7880
7881 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7882
7883 fi
7884
7885
7886 eval "$wx_cv_use_stopwatch"
7887
7888 if test x"$enablestring" = xdisable; then
7889 if test $wxUSE_STOPWATCH = no; then
7890 result=yes
7891 else
7892 result=no
7893 fi
7894 else
7895 result=$wxUSE_STOPWATCH
7896 fi
7897
7898 { echo "$as_me:$LINENO: result: $result" >&5
7899 echo "${ECHO_T}$result" >&6; }
7900
7901
7902 enablestring=
7903 defaultval=$wxUSE_ALL_FEATURES
7904 if test -z "$defaultval"; then
7905 if test x"$enablestring" = xdisable; then
7906 defaultval=yes
7907 else
7908 defaultval=no
7909 fi
7910 fi
7911
7912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7914 # Check whether --enable-streams was given.
7915 if test "${enable_streams+set}" = set; then
7916 enableval=$enable_streams;
7917 if test "$enableval" = yes; then
7918 wx_cv_use_streams='wxUSE_STREAMS=yes'
7919 else
7920 wx_cv_use_streams='wxUSE_STREAMS=no'
7921 fi
7922
7923 else
7924
7925 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7926
7927 fi
7928
7929
7930 eval "$wx_cv_use_streams"
7931
7932 if test x"$enablestring" = xdisable; then
7933 if test $wxUSE_STREAMS = no; then
7934 result=yes
7935 else
7936 result=no
7937 fi
7938 else
7939 result=$wxUSE_STREAMS
7940 fi
7941
7942 { echo "$as_me:$LINENO: result: $result" >&5
7943 echo "${ECHO_T}$result" >&6; }
7944
7945
7946 enablestring=
7947 defaultval=$wxUSE_ALL_FEATURES
7948 if test -z "$defaultval"; then
7949 if test x"$enablestring" = xdisable; then
7950 defaultval=yes
7951 else
7952 defaultval=no
7953 fi
7954 fi
7955
7956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7958 # Check whether --enable-sysoptions was given.
7959 if test "${enable_sysoptions+set}" = set; then
7960 enableval=$enable_sysoptions;
7961 if test "$enableval" = yes; then
7962 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7963 else
7964 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7965 fi
7966
7967 else
7968
7969 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7970
7971 fi
7972
7973
7974 eval "$wx_cv_use_sysoptions"
7975
7976 if test x"$enablestring" = xdisable; then
7977 if test $wxUSE_SYSTEM_OPTIONS = no; then
7978 result=yes
7979 else
7980 result=no
7981 fi
7982 else
7983 result=$wxUSE_SYSTEM_OPTIONS
7984 fi
7985
7986 { echo "$as_me:$LINENO: result: $result" >&5
7987 echo "${ECHO_T}$result" >&6; }
7988
7989
7990 enablestring=
7991 defaultval=$wxUSE_ALL_FEATURES
7992 if test -z "$defaultval"; then
7993 if test x"$enablestring" = xdisable; then
7994 defaultval=yes
7995 else
7996 defaultval=no
7997 fi
7998 fi
7999
8000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8002 # Check whether --enable-tarstream was given.
8003 if test "${enable_tarstream+set}" = set; then
8004 enableval=$enable_tarstream;
8005 if test "$enableval" = yes; then
8006 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8007 else
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8009 fi
8010
8011 else
8012
8013 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8014
8015 fi
8016
8017
8018 eval "$wx_cv_use_tarstream"
8019
8020 if test x"$enablestring" = xdisable; then
8021 if test $wxUSE_TARSTREAM = no; then
8022 result=yes
8023 else
8024 result=no
8025 fi
8026 else
8027 result=$wxUSE_TARSTREAM
8028 fi
8029
8030 { echo "$as_me:$LINENO: result: $result" >&5
8031 echo "${ECHO_T}$result" >&6; }
8032
8033
8034 enablestring=
8035 defaultval=$wxUSE_ALL_FEATURES
8036 if test -z "$defaultval"; then
8037 if test x"$enablestring" = xdisable; then
8038 defaultval=yes
8039 else
8040 defaultval=no
8041 fi
8042 fi
8043
8044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8045 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8046 # Check whether --enable-textbuf was given.
8047 if test "${enable_textbuf+set}" = set; then
8048 enableval=$enable_textbuf;
8049 if test "$enableval" = yes; then
8050 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8051 else
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8053 fi
8054
8055 else
8056
8057 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8058
8059 fi
8060
8061
8062 eval "$wx_cv_use_textbuf"
8063
8064 if test x"$enablestring" = xdisable; then
8065 if test $wxUSE_TEXTBUFFER = no; then
8066 result=yes
8067 else
8068 result=no
8069 fi
8070 else
8071 result=$wxUSE_TEXTBUFFER
8072 fi
8073
8074 { echo "$as_me:$LINENO: result: $result" >&5
8075 echo "${ECHO_T}$result" >&6; }
8076
8077
8078 enablestring=
8079 defaultval=$wxUSE_ALL_FEATURES
8080 if test -z "$defaultval"; then
8081 if test x"$enablestring" = xdisable; then
8082 defaultval=yes
8083 else
8084 defaultval=no
8085 fi
8086 fi
8087
8088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8089 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8090 # Check whether --enable-textfile was given.
8091 if test "${enable_textfile+set}" = set; then
8092 enableval=$enable_textfile;
8093 if test "$enableval" = yes; then
8094 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8095 else
8096 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8097 fi
8098
8099 else
8100
8101 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8102
8103 fi
8104
8105
8106 eval "$wx_cv_use_textfile"
8107
8108 if test x"$enablestring" = xdisable; then
8109 if test $wxUSE_TEXTFILE = no; then
8110 result=yes
8111 else
8112 result=no
8113 fi
8114 else
8115 result=$wxUSE_TEXTFILE
8116 fi
8117
8118 { echo "$as_me:$LINENO: result: $result" >&5
8119 echo "${ECHO_T}$result" >&6; }
8120
8121
8122 enablestring=
8123 defaultval=$wxUSE_ALL_FEATURES
8124 if test -z "$defaultval"; then
8125 if test x"$enablestring" = xdisable; then
8126 defaultval=yes
8127 else
8128 defaultval=no
8129 fi
8130 fi
8131
8132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8133 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8134 # Check whether --enable-timer was given.
8135 if test "${enable_timer+set}" = set; then
8136 enableval=$enable_timer;
8137 if test "$enableval" = yes; then
8138 wx_cv_use_timer='wxUSE_TIMER=yes'
8139 else
8140 wx_cv_use_timer='wxUSE_TIMER=no'
8141 fi
8142
8143 else
8144
8145 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8146
8147 fi
8148
8149
8150 eval "$wx_cv_use_timer"
8151
8152 if test x"$enablestring" = xdisable; then
8153 if test $wxUSE_TIMER = no; then
8154 result=yes
8155 else
8156 result=no
8157 fi
8158 else
8159 result=$wxUSE_TIMER
8160 fi
8161
8162 { echo "$as_me:$LINENO: result: $result" >&5
8163 echo "${ECHO_T}$result" >&6; }
8164
8165
8166 enablestring=
8167 defaultval=$wxUSE_ALL_FEATURES
8168 if test -z "$defaultval"; then
8169 if test x"$enablestring" = xdisable; then
8170 defaultval=yes
8171 else
8172 defaultval=no
8173 fi
8174 fi
8175
8176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8177 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8178 # Check whether --enable-variant was given.
8179 if test "${enable_variant+set}" = set; then
8180 enableval=$enable_variant;
8181 if test "$enableval" = yes; then
8182 wx_cv_use_variant='wxUSE_VARIANT=yes'
8183 else
8184 wx_cv_use_variant='wxUSE_VARIANT=no'
8185 fi
8186
8187 else
8188
8189 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8190
8191 fi
8192
8193
8194 eval "$wx_cv_use_variant"
8195
8196 if test x"$enablestring" = xdisable; then
8197 if test $wxUSE_VARIANT = no; then
8198 result=yes
8199 else
8200 result=no
8201 fi
8202 else
8203 result=$wxUSE_VARIANT
8204 fi
8205
8206 { echo "$as_me:$LINENO: result: $result" >&5
8207 echo "${ECHO_T}$result" >&6; }
8208
8209
8210 enablestring=
8211 defaultval=$wxUSE_ALL_FEATURES
8212 if test -z "$defaultval"; then
8213 if test x"$enablestring" = xdisable; then
8214 defaultval=yes
8215 else
8216 defaultval=no
8217 fi
8218 fi
8219
8220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8221 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8222 # Check whether --enable-zipstream was given.
8223 if test "${enable_zipstream+set}" = set; then
8224 enableval=$enable_zipstream;
8225 if test "$enableval" = yes; then
8226 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8227 else
8228 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8229 fi
8230
8231 else
8232
8233 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8234
8235 fi
8236
8237
8238 eval "$wx_cv_use_zipstream"
8239
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_ZIPSTREAM = no; then
8242 result=yes
8243 else
8244 result=no
8245 fi
8246 else
8247 result=$wxUSE_ZIPSTREAM
8248 fi
8249
8250 { echo "$as_me:$LINENO: result: $result" >&5
8251 echo "${ECHO_T}$result" >&6; }
8252
8253
8254
8255 enablestring=
8256 defaultval=$wxUSE_ALL_FEATURES
8257 if test -z "$defaultval"; then
8258 if test x"$enablestring" = xdisable; then
8259 defaultval=yes
8260 else
8261 defaultval=no
8262 fi
8263 fi
8264
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8267 # Check whether --enable-url was given.
8268 if test "${enable_url+set}" = set; then
8269 enableval=$enable_url;
8270 if test "$enableval" = yes; then
8271 wx_cv_use_url='wxUSE_URL=yes'
8272 else
8273 wx_cv_use_url='wxUSE_URL=no'
8274 fi
8275
8276 else
8277
8278 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8279
8280 fi
8281
8282
8283 eval "$wx_cv_use_url"
8284
8285 if test x"$enablestring" = xdisable; then
8286 if test $wxUSE_URL = no; then
8287 result=yes
8288 else
8289 result=no
8290 fi
8291 else
8292 result=$wxUSE_URL
8293 fi
8294
8295 { echo "$as_me:$LINENO: result: $result" >&5
8296 echo "${ECHO_T}$result" >&6; }
8297
8298
8299 enablestring=
8300 defaultval=$wxUSE_ALL_FEATURES
8301 if test -z "$defaultval"; then
8302 if test x"$enablestring" = xdisable; then
8303 defaultval=yes
8304 else
8305 defaultval=no
8306 fi
8307 fi
8308
8309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8310 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8311 # Check whether --enable-protocol was given.
8312 if test "${enable_protocol+set}" = set; then
8313 enableval=$enable_protocol;
8314 if test "$enableval" = yes; then
8315 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8316 else
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8318 fi
8319
8320 else
8321
8322 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8323
8324 fi
8325
8326
8327 eval "$wx_cv_use_protocol"
8328
8329 if test x"$enablestring" = xdisable; then
8330 if test $wxUSE_PROTOCOL = no; then
8331 result=yes
8332 else
8333 result=no
8334 fi
8335 else
8336 result=$wxUSE_PROTOCOL
8337 fi
8338
8339 { echo "$as_me:$LINENO: result: $result" >&5
8340 echo "${ECHO_T}$result" >&6; }
8341
8342
8343 enablestring=
8344 defaultval=$wxUSE_ALL_FEATURES
8345 if test -z "$defaultval"; then
8346 if test x"$enablestring" = xdisable; then
8347 defaultval=yes
8348 else
8349 defaultval=no
8350 fi
8351 fi
8352
8353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8354 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8355 # Check whether --enable-protocol_http was given.
8356 if test "${enable_protocol_http+set}" = set; then
8357 enableval=$enable_protocol_http;
8358 if test "$enableval" = yes; then
8359 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8360 else
8361 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8362 fi
8363
8364 else
8365
8366 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8367
8368 fi
8369
8370
8371 eval "$wx_cv_use_protocol_http"
8372
8373 if test x"$enablestring" = xdisable; then
8374 if test $wxUSE_PROTOCOL_HTTP = no; then
8375 result=yes
8376 else
8377 result=no
8378 fi
8379 else
8380 result=$wxUSE_PROTOCOL_HTTP
8381 fi
8382
8383 { echo "$as_me:$LINENO: result: $result" >&5
8384 echo "${ECHO_T}$result" >&6; }
8385
8386
8387 enablestring=
8388 defaultval=$wxUSE_ALL_FEATURES
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}-protocol_ftp" >&5
8398 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8399 # Check whether --enable-protocol_ftp was given.
8400 if test "${enable_protocol_ftp+set}" = set; then
8401 enableval=$enable_protocol_ftp;
8402 if test "$enableval" = yes; then
8403 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8404 else
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8406 fi
8407
8408 else
8409
8410 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8411
8412 fi
8413
8414
8415 eval "$wx_cv_use_protocol_ftp"
8416
8417 if test x"$enablestring" = xdisable; then
8418 if test $wxUSE_PROTOCOL_FTP = no; then
8419 result=yes
8420 else
8421 result=no
8422 fi
8423 else
8424 result=$wxUSE_PROTOCOL_FTP
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}-protocol_file" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8443 # Check whether --enable-protocol_file was given.
8444 if test "${enable_protocol_file+set}" = set; then
8445 enableval=$enable_protocol_file;
8446 if test "$enableval" = yes; then
8447 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8448 else
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8450 fi
8451
8452 else
8453
8454 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8455
8456 fi
8457
8458
8459 eval "$wx_cv_use_protocol_file"
8460
8461 if test x"$enablestring" = xdisable; then
8462 if test $wxUSE_PROTOCOL_FILE = no; then
8463 result=yes
8464 else
8465 result=no
8466 fi
8467 else
8468 result=$wxUSE_PROTOCOL_FILE
8469 fi
8470
8471 { echo "$as_me:$LINENO: result: $result" >&5
8472 echo "${ECHO_T}$result" >&6; }
8473
8474
8475
8476 enablestring=
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8480 defaultval=yes
8481 else
8482 defaultval=no
8483 fi
8484 fi
8485
8486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8488 # Check whether --enable-threads was given.
8489 if test "${enable_threads+set}" = set; then
8490 enableval=$enable_threads;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_threads='wxUSE_THREADS=yes'
8493 else
8494 wx_cv_use_threads='wxUSE_THREADS=no'
8495 fi
8496
8497 else
8498
8499 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8500
8501 fi
8502
8503
8504 eval "$wx_cv_use_threads"
8505
8506 if test x"$enablestring" = xdisable; then
8507 if test $wxUSE_THREADS = no; then
8508 result=yes
8509 else
8510 result=no
8511 fi
8512 else
8513 result=$wxUSE_THREADS
8514 fi
8515
8516 { echo "$as_me:$LINENO: result: $result" >&5
8517 echo "${ECHO_T}$result" >&6; }
8518
8519
8520
8521 enablestring=
8522 defaultval=
8523 if test -z "$defaultval"; then
8524 if test x"$enablestring" = xdisable; then
8525 defaultval=yes
8526 else
8527 defaultval=no
8528 fi
8529 fi
8530
8531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8533 # Check whether --enable-iniconf was given.
8534 if test "${enable_iniconf+set}" = set; then
8535 enableval=$enable_iniconf;
8536 if test "$enableval" = yes; then
8537 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8538 else
8539 wx_cv_use_iniconf='wxUSE_INICONF=no'
8540 fi
8541
8542 else
8543
8544 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8545
8546 fi
8547
8548
8549 eval "$wx_cv_use_iniconf"
8550
8551 if test x"$enablestring" = xdisable; then
8552 if test $wxUSE_INICONF = no; then
8553 result=yes
8554 else
8555 result=no
8556 fi
8557 else
8558 result=$wxUSE_INICONF
8559 fi
8560
8561 { echo "$as_me:$LINENO: result: $result" >&5
8562 echo "${ECHO_T}$result" >&6; }
8563
8564
8565 enablestring=
8566 defaultval=$wxUSE_ALL_FEATURES
8567 if test -z "$defaultval"; then
8568 if test x"$enablestring" = xdisable; then
8569 defaultval=yes
8570 else
8571 defaultval=no
8572 fi
8573 fi
8574
8575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8577 # Check whether --enable-regkey was given.
8578 if test "${enable_regkey+set}" = set; then
8579 enableval=$enable_regkey;
8580 if test "$enableval" = yes; then
8581 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8582 else
8583 wx_cv_use_regkey='wxUSE_REGKEY=no'
8584 fi
8585
8586 else
8587
8588 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8589
8590 fi
8591
8592
8593 eval "$wx_cv_use_regkey"
8594
8595 if test x"$enablestring" = xdisable; then
8596 if test $wxUSE_REGKEY = no; then
8597 result=yes
8598 else
8599 result=no
8600 fi
8601 else
8602 result=$wxUSE_REGKEY
8603 fi
8604
8605 { echo "$as_me:$LINENO: result: $result" >&5
8606 echo "${ECHO_T}$result" >&6; }
8607
8608
8609 if test "$wxUSE_GUI" = "yes"; then
8610
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8625 # Check whether --enable-docview was given.
8626 if test "${enable_docview+set}" = set; then
8627 enableval=$enable_docview;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8630 else
8631 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8632 fi
8633
8634 else
8635
8636 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8637
8638 fi
8639
8640
8641 eval "$wx_cv_use_docview"
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8645 result=yes
8646 else
8647 result=no
8648 fi
8649 else
8650 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8651 fi
8652
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8655
8656
8657 enablestring=
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8661 defaultval=yes
8662 else
8663 defaultval=no
8664 fi
8665 fi
8666
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8669 # Check whether --enable-help was given.
8670 if test "${enable_help+set}" = set; then
8671 enableval=$enable_help;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_help='wxUSE_HELP=yes'
8674 else
8675 wx_cv_use_help='wxUSE_HELP=no'
8676 fi
8677
8678 else
8679
8680 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8681
8682 fi
8683
8684
8685 eval "$wx_cv_use_help"
8686
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_HELP = no; then
8689 result=yes
8690 else
8691 result=no
8692 fi
8693 else
8694 result=$wxUSE_HELP
8695 fi
8696
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8699
8700
8701 enablestring=
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8705 defaultval=yes
8706 else
8707 defaultval=no
8708 fi
8709 fi
8710
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8713 # Check whether --enable-mshtmlhelp was given.
8714 if test "${enable_mshtmlhelp+set}" = set; then
8715 enableval=$enable_mshtmlhelp;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8718 else
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8720 fi
8721
8722 else
8723
8724 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_mshtmlhelp"
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_MS_HTML_HELP = no; then
8733 result=yes
8734 else
8735 result=no
8736 fi
8737 else
8738 result=$wxUSE_MS_HTML_HELP
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8757 # Check whether --enable-html was given.
8758 if test "${enable_html+set}" = set; then
8759 enableval=$enable_html;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_html='wxUSE_HTML=yes'
8762 else
8763 wx_cv_use_html='wxUSE_HTML=no'
8764 fi
8765
8766 else
8767
8768 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8769
8770 fi
8771
8772
8773 eval "$wx_cv_use_html"
8774
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_HTML = no; then
8777 result=yes
8778 else
8779 result=no
8780 fi
8781 else
8782 result=$wxUSE_HTML
8783 fi
8784
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8787
8788
8789 enablestring=
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8793 defaultval=yes
8794 else
8795 defaultval=no
8796 fi
8797 fi
8798
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8801 # Check whether --enable-htmlhelp was given.
8802 if test "${enable_htmlhelp+set}" = set; then
8803 enableval=$enable_htmlhelp;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8806 else
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8808 fi
8809
8810 else
8811
8812 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8813
8814 fi
8815
8816
8817 eval "$wx_cv_use_htmlhelp"
8818
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_WXHTML_HELP = no; then
8821 result=yes
8822 else
8823 result=no
8824 fi
8825 else
8826 result=$wxUSE_WXHTML_HELP
8827 fi
8828
8829 { echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8831
8832
8833 enablestring=
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8837 defaultval=yes
8838 else
8839 defaultval=no
8840 fi
8841 fi
8842
8843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8845 # Check whether --enable-xrc was given.
8846 if test "${enable_xrc+set}" = set; then
8847 enableval=$enable_xrc;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_xrc='wxUSE_XRC=yes'
8850 else
8851 wx_cv_use_xrc='wxUSE_XRC=no'
8852 fi
8853
8854 else
8855
8856 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8857
8858 fi
8859
8860
8861 eval "$wx_cv_use_xrc"
8862
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_XRC = no; then
8865 result=yes
8866 else
8867 result=no
8868 fi
8869 else
8870 result=$wxUSE_XRC
8871 fi
8872
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8875
8876
8877 enablestring=
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8881 defaultval=yes
8882 else
8883 defaultval=no
8884 fi
8885 fi
8886
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8889 # Check whether --enable-aui was given.
8890 if test "${enable_aui+set}" = set; then
8891 enableval=$enable_aui;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_aui='wxUSE_AUI=yes'
8894 else
8895 wx_cv_use_aui='wxUSE_AUI=no'
8896 fi
8897
8898 else
8899
8900 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8901
8902 fi
8903
8904
8905 eval "$wx_cv_use_aui"
8906
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_AUI = no; then
8909 result=yes
8910 else
8911 result=no
8912 fi
8913 else
8914 result=$wxUSE_AUI
8915 fi
8916
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8919
8920
8921 enablestring=
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8925 defaultval=yes
8926 else
8927 defaultval=no
8928 fi
8929 fi
8930
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8933 # Check whether --enable-propgrid was given.
8934 if test "${enable_propgrid+set}" = set; then
8935 enableval=$enable_propgrid;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8938 else
8939 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8940 fi
8941
8942 else
8943
8944 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8945
8946 fi
8947
8948
8949 eval "$wx_cv_use_propgrid"
8950
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_PROPGRID = no; then
8953 result=yes
8954 else
8955 result=no
8956 fi
8957 else
8958 result=$wxUSE_PROPGRID
8959 fi
8960
8961 { echo "$as_me:$LINENO: result: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8963
8964
8965 enablestring=
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8969 defaultval=yes
8970 else
8971 defaultval=no
8972 fi
8973 fi
8974
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8977 # Check whether --enable-ribbon was given.
8978 if test "${enable_ribbon+set}" = set; then
8979 enableval=$enable_ribbon;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8982 else
8983 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8984 fi
8985
8986 else
8987
8988 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8989
8990 fi
8991
8992
8993 eval "$wx_cv_use_ribbon"
8994
8995 if test x"$enablestring" = xdisable; then
8996 if test $wxUSE_RIBBON = no; then
8997 result=yes
8998 else
8999 result=no
9000 fi
9001 else
9002 result=$wxUSE_RIBBON
9003 fi
9004
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9007
9008
9009 enablestring=
9010 defaultval=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x"$enablestring" = xdisable; then
9013 defaultval=yes
9014 else
9015 defaultval=no
9016 fi
9017 fi
9018
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9021 # Check whether --enable-stc was given.
9022 if test "${enable_stc+set}" = set; then
9023 enableval=$enable_stc;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_stc='wxUSE_STC=yes'
9026 else
9027 wx_cv_use_stc='wxUSE_STC=no'
9028 fi
9029
9030 else
9031
9032 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9033
9034 fi
9035
9036
9037 eval "$wx_cv_use_stc"
9038
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_STC = no; then
9041 result=yes
9042 else
9043 result=no
9044 fi
9045 else
9046 result=$wxUSE_STC
9047 fi
9048
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9051
9052
9053 enablestring=
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9057 defaultval=yes
9058 else
9059 defaultval=no
9060 fi
9061 fi
9062
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9065 # Check whether --enable-constraints was given.
9066 if test "${enable_constraints+set}" = set; then
9067 enableval=$enable_constraints;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9070 else
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9072 fi
9073
9074 else
9075
9076 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9077
9078 fi
9079
9080
9081 eval "$wx_cv_use_constraints"
9082
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_CONSTRAINTS = no; then
9085 result=yes
9086 else
9087 result=no
9088 fi
9089 else
9090 result=$wxUSE_CONSTRAINTS
9091 fi
9092
9093 { echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9095
9096
9097 enablestring=
9098 defaultval=$wxUSE_ALL_FEATURES
9099 if test -z "$defaultval"; then
9100 if test x"$enablestring" = xdisable; then
9101 defaultval=yes
9102 else
9103 defaultval=no
9104 fi
9105 fi
9106
9107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9109 # Check whether --enable-loggui was given.
9110 if test "${enable_loggui+set}" = set; then
9111 enableval=$enable_loggui;
9112 if test "$enableval" = yes; then
9113 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9114 else
9115 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9116 fi
9117
9118 else
9119
9120 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9121
9122 fi
9123
9124
9125 eval "$wx_cv_use_loggui"
9126
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_LOGGUI = no; then
9129 result=yes
9130 else
9131 result=no
9132 fi
9133 else
9134 result=$wxUSE_LOGGUI
9135 fi
9136
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9139
9140
9141 enablestring=
9142 defaultval=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x"$enablestring" = xdisable; then
9145 defaultval=yes
9146 else
9147 defaultval=no
9148 fi
9149 fi
9150
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9153 # Check whether --enable-logwin was given.
9154 if test "${enable_logwin+set}" = set; then
9155 enableval=$enable_logwin;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9158 else
9159 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9160 fi
9161
9162 else
9163
9164 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9165
9166 fi
9167
9168
9169 eval "$wx_cv_use_logwin"
9170
9171 if test x"$enablestring" = xdisable; then
9172 if test $wxUSE_LOGWINDOW = no; then
9173 result=yes
9174 else
9175 result=no
9176 fi
9177 else
9178 result=$wxUSE_LOGWINDOW
9179 fi
9180
9181 { echo "$as_me:$LINENO: result: $result" >&5
9182 echo "${ECHO_T}$result" >&6; }
9183
9184
9185 enablestring=
9186 defaultval=$wxUSE_ALL_FEATURES
9187 if test -z "$defaultval"; then
9188 if test x"$enablestring" = xdisable; then
9189 defaultval=yes
9190 else
9191 defaultval=no
9192 fi
9193 fi
9194
9195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9197 # Check whether --enable-logdialog was given.
9198 if test "${enable_logdialog+set}" = set; then
9199 enableval=$enable_logdialog;
9200 if test "$enableval" = yes; then
9201 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9202 else
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9204 fi
9205
9206 else
9207
9208 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9209
9210 fi
9211
9212
9213 eval "$wx_cv_use_logdialog"
9214
9215 if test x"$enablestring" = xdisable; then
9216 if test $wxUSE_LOGDIALOG = no; then
9217 result=yes
9218 else
9219 result=no
9220 fi
9221 else
9222 result=$wxUSE_LOGDIALOG
9223 fi
9224
9225 { echo "$as_me:$LINENO: result: $result" >&5
9226 echo "${ECHO_T}$result" >&6; }
9227
9228
9229 enablestring=
9230 defaultval=$wxUSE_ALL_FEATURES
9231 if test -z "$defaultval"; then
9232 if test x"$enablestring" = xdisable; then
9233 defaultval=yes
9234 else
9235 defaultval=no
9236 fi
9237 fi
9238
9239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9241 # Check whether --enable-mdi was given.
9242 if test "${enable_mdi+set}" = set; then
9243 enableval=$enable_mdi;
9244 if test "$enableval" = yes; then
9245 wx_cv_use_mdi='wxUSE_MDI=yes'
9246 else
9247 wx_cv_use_mdi='wxUSE_MDI=no'
9248 fi
9249
9250 else
9251
9252 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9253
9254 fi
9255
9256
9257 eval "$wx_cv_use_mdi"
9258
9259 if test x"$enablestring" = xdisable; then
9260 if test $wxUSE_MDI = no; then
9261 result=yes
9262 else
9263 result=no
9264 fi
9265 else
9266 result=$wxUSE_MDI
9267 fi
9268
9269 { echo "$as_me:$LINENO: result: $result" >&5
9270 echo "${ECHO_T}$result" >&6; }
9271
9272
9273 enablestring=
9274 defaultval=$wxUSE_ALL_FEATURES
9275 if test -z "$defaultval"; then
9276 if test x"$enablestring" = xdisable; then
9277 defaultval=yes
9278 else
9279 defaultval=no
9280 fi
9281 fi
9282
9283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9284 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9285 # Check whether --enable-mdidoc was given.
9286 if test "${enable_mdidoc+set}" = set; then
9287 enableval=$enable_mdidoc;
9288 if test "$enableval" = yes; then
9289 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9290 else
9291 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9292 fi
9293
9294 else
9295
9296 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9297
9298 fi
9299
9300
9301 eval "$wx_cv_use_mdidoc"
9302
9303 if test x"$enablestring" = xdisable; then
9304 if test $wxUSE_MDI_ARCHITECTURE = no; then
9305 result=yes
9306 else
9307 result=no
9308 fi
9309 else
9310 result=$wxUSE_MDI_ARCHITECTURE
9311 fi
9312
9313 { echo "$as_me:$LINENO: result: $result" >&5
9314 echo "${ECHO_T}$result" >&6; }
9315
9316
9317 enablestring=
9318 defaultval=$wxUSE_ALL_FEATURES
9319 if test -z "$defaultval"; then
9320 if test x"$enablestring" = xdisable; then
9321 defaultval=yes
9322 else
9323 defaultval=no
9324 fi
9325 fi
9326
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9329 # Check whether --enable-mediactrl was given.
9330 if test "${enable_mediactrl+set}" = set; then
9331 enableval=$enable_mediactrl;
9332 if test "$enableval" = yes; then
9333 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9334 else
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9336 fi
9337
9338 else
9339
9340 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9341
9342 fi
9343
9344
9345 eval "$wx_cv_use_mediactrl"
9346
9347 if test x"$enablestring" = xdisable; then
9348 if test $wxUSE_MEDIACTRL = no; then
9349 result=yes
9350 else
9351 result=no
9352 fi
9353 else
9354 result=$wxUSE_MEDIACTRL
9355 fi
9356
9357 { echo "$as_me:$LINENO: result: $result" >&5
9358 echo "${ECHO_T}$result" >&6; }
9359
9360
9361 enablestring=
9362 defaultval=$wxUSE_ALL_FEATURES
9363 if test -z "$defaultval"; then
9364 if test x"$enablestring" = xdisable; then
9365 defaultval=yes
9366 else
9367 defaultval=no
9368 fi
9369 fi
9370
9371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9372 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9373 # Check whether --enable-gstreamer8 was given.
9374 if test "${enable_gstreamer8+set}" = set; then
9375 enableval=$enable_gstreamer8;
9376 if test "$enableval" = yes; then
9377 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9378 else
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9380 fi
9381
9382 else
9383
9384 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9385
9386 fi
9387
9388
9389 eval "$wx_cv_use_gstreamer8"
9390
9391 if test x"$enablestring" = xdisable; then
9392 if test $wxUSE_GSTREAMER8 = no; then
9393 result=yes
9394 else
9395 result=no
9396 fi
9397 else
9398 result=$wxUSE_GSTREAMER8
9399 fi
9400
9401 { echo "$as_me:$LINENO: result: $result" >&5
9402 echo "${ECHO_T}$result" >&6; }
9403
9404
9405 enablestring=
9406 defaultval=$wxUSE_ALL_FEATURES
9407 if test -z "$defaultval"; then
9408 if test x"$enablestring" = xdisable; then
9409 defaultval=yes
9410 else
9411 defaultval=no
9412 fi
9413 fi
9414
9415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9416 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9417 # Check whether --enable-webkit was given.
9418 if test "${enable_webkit+set}" = set; then
9419 enableval=$enable_webkit;
9420 if test "$enableval" = yes; then
9421 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9422 else
9423 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9424 fi
9425
9426 else
9427
9428 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9429
9430 fi
9431
9432
9433 eval "$wx_cv_use_webkit"
9434
9435 if test x"$enablestring" = xdisable; then
9436 if test $wxUSE_WEBKIT = no; then
9437 result=yes
9438 else
9439 result=no
9440 fi
9441 else
9442 result=$wxUSE_WEBKIT
9443 fi
9444
9445 { echo "$as_me:$LINENO: result: $result" >&5
9446 echo "${ECHO_T}$result" >&6; }
9447
9448
9449 enablestring=
9450 defaultval=$wxUSE_ALL_FEATURES
9451 if test -z "$defaultval"; then
9452 if test x"$enablestring" = xdisable; then
9453 defaultval=yes
9454 else
9455 defaultval=no
9456 fi
9457 fi
9458
9459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9460 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9461 # Check whether --enable-richtext was given.
9462 if test "${enable_richtext+set}" = set; then
9463 enableval=$enable_richtext;
9464 if test "$enableval" = yes; then
9465 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9466 else
9467 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9468 fi
9469
9470 else
9471
9472 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9473
9474 fi
9475
9476
9477 eval "$wx_cv_use_richtext"
9478
9479 if test x"$enablestring" = xdisable; then
9480 if test $wxUSE_RICHTEXT = no; then
9481 result=yes
9482 else
9483 result=no
9484 fi
9485 else
9486 result=$wxUSE_RICHTEXT
9487 fi
9488
9489 { echo "$as_me:$LINENO: result: $result" >&5
9490 echo "${ECHO_T}$result" >&6; }
9491
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}-postscript" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9505 # Check whether --enable-postscript was given.
9506 if test "${enable_postscript+set}" = set; then
9507 enableval=$enable_postscript;
9508 if test "$enableval" = yes; then
9509 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9510 else
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9512 fi
9513
9514 else
9515
9516 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9517
9518 fi
9519
9520
9521 eval "$wx_cv_use_postscript"
9522
9523 if test x"$enablestring" = xdisable; then
9524 if test $wxUSE_POSTSCRIPT = no; then
9525 result=yes
9526 else
9527 result=no
9528 fi
9529 else
9530 result=$wxUSE_POSTSCRIPT
9531 fi
9532
9533 { echo "$as_me:$LINENO: result: $result" >&5
9534 echo "${ECHO_T}$result" >&6; }
9535
9536
9537 enablestring=
9538 defaultval=$wxUSE_ALL_FEATURES
9539 if test -z "$defaultval"; then
9540 if test x"$enablestring" = xdisable; then
9541 defaultval=yes
9542 else
9543 defaultval=no
9544 fi
9545 fi
9546
9547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9549 # Check whether --enable-printarch was given.
9550 if test "${enable_printarch+set}" = set; then
9551 enableval=$enable_printarch;
9552 if test "$enableval" = yes; then
9553 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9554 else
9555 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9556 fi
9557
9558 else
9559
9560 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9561
9562 fi
9563
9564
9565 eval "$wx_cv_use_printarch"
9566
9567 if test x"$enablestring" = xdisable; then
9568 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9569 result=yes
9570 else
9571 result=no
9572 fi
9573 else
9574 result=$wxUSE_PRINTING_ARCHITECTURE
9575 fi
9576
9577 { echo "$as_me:$LINENO: result: $result" >&5
9578 echo "${ECHO_T}$result" >&6; }
9579
9580
9581 enablestring=
9582 defaultval=$wxUSE_ALL_FEATURES
9583 if test -z "$defaultval"; then
9584 if test x"$enablestring" = xdisable; then
9585 defaultval=yes
9586 else
9587 defaultval=no
9588 fi
9589 fi
9590
9591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9593 # Check whether --enable-svg was given.
9594 if test "${enable_svg+set}" = set; then
9595 enableval=$enable_svg;
9596 if test "$enableval" = yes; then
9597 wx_cv_use_svg='wxUSE_SVG=yes'
9598 else
9599 wx_cv_use_svg='wxUSE_SVG=no'
9600 fi
9601
9602 else
9603
9604 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9605
9606 fi
9607
9608
9609 eval "$wx_cv_use_svg"
9610
9611 if test x"$enablestring" = xdisable; then
9612 if test $wxUSE_SVG = no; then
9613 result=yes
9614 else
9615 result=no
9616 fi
9617 else
9618 result=$wxUSE_SVG
9619 fi
9620
9621 { echo "$as_me:$LINENO: result: $result" >&5
9622 echo "${ECHO_T}$result" >&6; }
9623
9624
9625 if test "$wxUSE_MAC" != 1; then
9626
9627 enablestring=
9628 defaultval=$wxUSE_ALL_FEATURES
9629 if test -z "$defaultval"; then
9630 if test x"$enablestring" = xdisable; then
9631 defaultval=yes
9632 else
9633 defaultval=no
9634 fi
9635 fi
9636
9637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9639 # Check whether --enable-graphics_ctx was given.
9640 if test "${enable_graphics_ctx+set}" = set; then
9641 enableval=$enable_graphics_ctx;
9642 if test "$enableval" = yes; then
9643 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9644 else
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9646 fi
9647
9648 else
9649
9650 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9651
9652 fi
9653
9654
9655 eval "$wx_cv_use_graphics_ctx"
9656
9657 if test x"$enablestring" = xdisable; then
9658 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9659 result=yes
9660 else
9661 result=no
9662 fi
9663 else
9664 result=$wxUSE_GRAPHICS_CONTEXT
9665 fi
9666
9667 { echo "$as_me:$LINENO: result: $result" >&5
9668 echo "${ECHO_T}$result" >&6; }
9669
9670 fi
9671
9672
9673
9674 enablestring=
9675 defaultval=$wxUSE_ALL_FEATURES
9676 if test -z "$defaultval"; then
9677 if test x"$enablestring" = xdisable; then
9678 defaultval=yes
9679 else
9680 defaultval=no
9681 fi
9682 fi
9683
9684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9686 # Check whether --enable-clipboard was given.
9687 if test "${enable_clipboard+set}" = set; then
9688 enableval=$enable_clipboard;
9689 if test "$enableval" = yes; then
9690 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9691 else
9692 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9693 fi
9694
9695 else
9696
9697 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9698
9699 fi
9700
9701
9702 eval "$wx_cv_use_clipboard"
9703
9704 if test x"$enablestring" = xdisable; then
9705 if test $wxUSE_CLIPBOARD = no; then
9706 result=yes
9707 else
9708 result=no
9709 fi
9710 else
9711 result=$wxUSE_CLIPBOARD
9712 fi
9713
9714 { echo "$as_me:$LINENO: result: $result" >&5
9715 echo "${ECHO_T}$result" >&6; }
9716
9717
9718 enablestring=
9719 defaultval=$wxUSE_ALL_FEATURES
9720 if test -z "$defaultval"; then
9721 if test x"$enablestring" = xdisable; then
9722 defaultval=yes
9723 else
9724 defaultval=no
9725 fi
9726 fi
9727
9728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9730 # Check whether --enable-dnd was given.
9731 if test "${enable_dnd+set}" = set; then
9732 enableval=$enable_dnd;
9733 if test "$enableval" = yes; then
9734 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9735 else
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9737 fi
9738
9739 else
9740
9741 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9742
9743 fi
9744
9745
9746 eval "$wx_cv_use_dnd"
9747
9748 if test x"$enablestring" = xdisable; then
9749 if test $wxUSE_DRAG_AND_DROP = no; then
9750 result=yes
9751 else
9752 result=no
9753 fi
9754 else
9755 result=$wxUSE_DRAG_AND_DROP
9756 fi
9757
9758 { echo "$as_me:$LINENO: result: $result" >&5
9759 echo "${ECHO_T}$result" >&6; }
9760
9761
9762 enablestring=
9763 defaultval=$wxUSE_ALL_FEATURES
9764 if test -z "$defaultval"; then
9765 if test x"$enablestring" = xdisable; then
9766 defaultval=yes
9767 else
9768 defaultval=no
9769 fi
9770 fi
9771
9772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9773 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9774 # Check whether --enable-metafile was given.
9775 if test "${enable_metafile+set}" = set; then
9776 enableval=$enable_metafile;
9777 if test "$enableval" = yes; then
9778 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9779 else
9780 wx_cv_use_metafile='wxUSE_METAFILE=no'
9781 fi
9782
9783 else
9784
9785 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9786
9787 fi
9788
9789
9790 eval "$wx_cv_use_metafile"
9791
9792 if test x"$enablestring" = xdisable; then
9793 if test $wxUSE_METAFILE = no; then
9794 result=yes
9795 else
9796 result=no
9797 fi
9798 else
9799 result=$wxUSE_METAFILE
9800 fi
9801
9802 { echo "$as_me:$LINENO: result: $result" >&5
9803 echo "${ECHO_T}$result" >&6; }
9804
9805
9806
9807 DEFAULT_wxUSE_CONTROLS=none
9808
9809 enablestring=disable
9810 defaultval=
9811 if test -z "$defaultval"; then
9812 if test x"$enablestring" = xdisable; then
9813 defaultval=yes
9814 else
9815 defaultval=no
9816 fi
9817 fi
9818
9819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9821 # Check whether --enable-controls was given.
9822 if test "${enable_controls+set}" = set; then
9823 enableval=$enable_controls;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9826 else
9827 wx_cv_use_controls='wxUSE_CONTROLS=no'
9828 fi
9829
9830 else
9831
9832 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9833
9834 fi
9835
9836
9837 eval "$wx_cv_use_controls"
9838
9839 if test x"$enablestring" = xdisable; then
9840 if test $wxUSE_CONTROLS = no; then
9841 result=yes
9842 else
9843 result=no
9844 fi
9845 else
9846 result=$wxUSE_CONTROLS
9847 fi
9848
9849 { echo "$as_me:$LINENO: result: $result" >&5
9850 echo "${ECHO_T}$result" >&6; }
9851
9852
9853 if test "$wxUSE_CONTROLS" = "no"; then
9854 DEFAULT_wxUSE_ACCEL=no
9855 DEFAULT_wxUSE_ANIMATIONCTRL=no
9856 DEFAULT_wxUSE_BMPBUTTON=no
9857 DEFAULT_wxUSE_BUTTON=no
9858 DEFAULT_wxUSE_CALCTRL=no
9859 DEFAULT_wxUSE_CARET=no
9860 DEFAULT_wxUSE_CHECKBOX=no
9861 DEFAULT_wxUSE_CHECKLISTBOX=no
9862 DEFAULT_wxUSE_CHOICE=no
9863 DEFAULT_wxUSE_CHOICEBOOK=no
9864 DEFAULT_wxUSE_COLLPANE=no
9865 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9866 DEFAULT_wxUSE_COMBOBOX=no
9867 DEFAULT_wxUSE_COMBOBOX=no
9868 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9869 DEFAULT_wxUSE_DATAVIEWCTRL=no
9870 DEFAULT_wxUSE_DATEPICKCTRL=no
9871 DEFAULT_wxUSE_DETECT_SM=no
9872 DEFAULT_wxUSE_DIRPICKERCTRL=no
9873 DEFAULT_wxUSE_DISPLAY=no
9874 DEFAULT_wxUSE_FILECTRL=no
9875 DEFAULT_wxUSE_FILEPICKERCTRL=no
9876 DEFAULT_wxUSE_FONTPICKERCTRL=no
9877 DEFAULT_wxUSE_GAUGE=no
9878 DEFAULT_wxUSE_GRID=no
9879 DEFAULT_wxUSE_HEADERCTRL=no
9880 DEFAULT_wxUSE_HYPERLINKCTRL=no
9881 DEFAULT_wxUSE_IMAGLIST=no
9882 DEFAULT_wxUSE_LISTBOOK=no
9883 DEFAULT_wxUSE_LISTBOX=no
9884 DEFAULT_wxUSE_LISTCTRL=no
9885 DEFAULT_wxUSE_MARKUP=no
9886 DEFAULT_wxUSE_NOTEBOOK=no
9887 DEFAULT_wxUSE_POPUPWIN=no
9888 DEFAULT_wxUSE_RADIOBOX=no
9889 DEFAULT_wxUSE_RADIOBTN=no
9890 DEFAULT_wxUSE_RICHMSGDLG=no
9891 DEFAULT_wxUSE_REARRANGECTRL=no
9892 DEFAULT_wxUSE_SASH=no
9893 DEFAULT_wxUSE_SCROLLBAR=no
9894 DEFAULT_wxUSE_SEARCHCTRL=no
9895 DEFAULT_wxUSE_SLIDER=no
9896 DEFAULT_wxUSE_SPINBTN=no
9897 DEFAULT_wxUSE_SPINCTRL=no
9898 DEFAULT_wxUSE_SPLITTER=no
9899 DEFAULT_wxUSE_STATBMP=no
9900 DEFAULT_wxUSE_STATBOX=no
9901 DEFAULT_wxUSE_STATLINE=no
9902 DEFAULT_wxUSE_STATUSBAR=no
9903 DEFAULT_wxUSE_TIPWINDOW=no
9904 DEFAULT_wxUSE_TOGGLEBTN=no
9905 DEFAULT_wxUSE_TOOLBAR=no
9906 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9907 DEFAULT_wxUSE_TOOLBOOK=no
9908 DEFAULT_wxUSE_TOOLTIPS=no
9909 DEFAULT_wxUSE_TREEBOOK=no
9910 DEFAULT_wxUSE_TREECTRL=no
9911 fi
9912
9913
9914 enablestring=
9915 defaultval=$wxUSE_ALL_FEATURES
9916 if test -z "$defaultval"; then
9917 if test x"$enablestring" = xdisable; then
9918 defaultval=yes
9919 else
9920 defaultval=no
9921 fi
9922 fi
9923
9924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9925 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9926 # Check whether --enable-markup was given.
9927 if test "${enable_markup+set}" = set; then
9928 enableval=$enable_markup;
9929 if test "$enableval" = yes; then
9930 wx_cv_use_markup='wxUSE_MARKUP=yes'
9931 else
9932 wx_cv_use_markup='wxUSE_MARKUP=no'
9933 fi
9934
9935 else
9936
9937 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9938
9939 fi
9940
9941
9942 eval "$wx_cv_use_markup"
9943
9944 if test x"$enablestring" = xdisable; then
9945 if test $wxUSE_MARKUP = no; then
9946 result=yes
9947 else
9948 result=no
9949 fi
9950 else
9951 result=$wxUSE_MARKUP
9952 fi
9953
9954 { echo "$as_me:$LINENO: result: $result" >&5
9955 echo "${ECHO_T}$result" >&6; }
9956
9957
9958
9959 enablestring=
9960 defaultval=$wxUSE_ALL_FEATURES
9961 if test -z "$defaultval"; then
9962 if test x"$enablestring" = xdisable; then
9963 defaultval=yes
9964 else
9965 defaultval=no
9966 fi
9967 fi
9968
9969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9971 # Check whether --enable-accel was given.
9972 if test "${enable_accel+set}" = set; then
9973 enableval=$enable_accel;
9974 if test "$enableval" = yes; then
9975 wx_cv_use_accel='wxUSE_ACCEL=yes'
9976 else
9977 wx_cv_use_accel='wxUSE_ACCEL=no'
9978 fi
9979
9980 else
9981
9982 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9983
9984 fi
9985
9986
9987 eval "$wx_cv_use_accel"
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_ACCEL = no; then
9991 result=yes
9992 else
9993 result=no
9994 fi
9995 else
9996 result=$wxUSE_ACCEL
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003 enablestring=
10004 defaultval=$wxUSE_ALL_FEATURES
10005 if test -z "$defaultval"; then
10006 if test x"$enablestring" = xdisable; then
10007 defaultval=yes
10008 else
10009 defaultval=no
10010 fi
10011 fi
10012
10013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10014 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10015 # Check whether --enable-animatectrl was given.
10016 if test "${enable_animatectrl+set}" = set; then
10017 enableval=$enable_animatectrl;
10018 if test "$enableval" = yes; then
10019 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10020 else
10021 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10022 fi
10023
10024 else
10025
10026 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10027
10028 fi
10029
10030
10031 eval "$wx_cv_use_animatectrl"
10032
10033 if test x"$enablestring" = xdisable; then
10034 if test $wxUSE_ANIMATIONCTRL = no; then
10035 result=yes
10036 else
10037 result=no
10038 fi
10039 else
10040 result=$wxUSE_ANIMATIONCTRL
10041 fi
10042
10043 { echo "$as_me:$LINENO: result: $result" >&5
10044 echo "${ECHO_T}$result" >&6; }
10045
10046
10047 enablestring=
10048 defaultval=$wxUSE_ALL_FEATURES
10049 if test -z "$defaultval"; then
10050 if test x"$enablestring" = xdisable; then
10051 defaultval=yes
10052 else
10053 defaultval=no
10054 fi
10055 fi
10056
10057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10058 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10059 # Check whether --enable-artstd was given.
10060 if test "${enable_artstd+set}" = set; then
10061 enableval=$enable_artstd;
10062 if test "$enableval" = yes; then
10063 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10064 else
10065 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10066 fi
10067
10068 else
10069
10070 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10071
10072 fi
10073
10074
10075 eval "$wx_cv_use_artstd"
10076
10077 if test x"$enablestring" = xdisable; then
10078 if test $wxUSE_ARTPROVIDER_STD = no; then
10079 result=yes
10080 else
10081 result=no
10082 fi
10083 else
10084 result=$wxUSE_ARTPROVIDER_STD
10085 fi
10086
10087 { echo "$as_me:$LINENO: result: $result" >&5
10088 echo "${ECHO_T}$result" >&6; }
10089
10090
10091 enablestring=
10092 defaultval=$wxUSE_ALL_FEATURES
10093 if test -z "$defaultval"; then
10094 if test x"$enablestring" = xdisable; then
10095 defaultval=yes
10096 else
10097 defaultval=no
10098 fi
10099 fi
10100
10101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10102 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10103 # Check whether --enable-arttango was given.
10104 if test "${enable_arttango+set}" = set; then
10105 enableval=$enable_arttango;
10106 if test "$enableval" = yes; then
10107 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10108 else
10109 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10110 fi
10111
10112 else
10113
10114 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10115
10116 fi
10117
10118
10119 eval "$wx_cv_use_arttango"
10120
10121 if test x"$enablestring" = xdisable; then
10122 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10123 result=yes
10124 else
10125 result=no
10126 fi
10127 else
10128 result=$wxUSE_ARTPROVIDER_TANGO
10129 fi
10130
10131 { echo "$as_me:$LINENO: result: $result" >&5
10132 echo "${ECHO_T}$result" >&6; }
10133
10134
10135 enablestring=
10136 defaultval=$wxUSE_ALL_FEATURES
10137 if test -z "$defaultval"; then
10138 if test x"$enablestring" = xdisable; then
10139 defaultval=yes
10140 else
10141 defaultval=no
10142 fi
10143 fi
10144
10145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10146 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10147 # Check whether --enable-bmpbutton was given.
10148 if test "${enable_bmpbutton+set}" = set; then
10149 enableval=$enable_bmpbutton;
10150 if test "$enableval" = yes; then
10151 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10152 else
10153 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10154 fi
10155
10156 else
10157
10158 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10159
10160 fi
10161
10162
10163 eval "$wx_cv_use_bmpbutton"
10164
10165 if test x"$enablestring" = xdisable; then
10166 if test $wxUSE_BMPBUTTON = no; then
10167 result=yes
10168 else
10169 result=no
10170 fi
10171 else
10172 result=$wxUSE_BMPBUTTON
10173 fi
10174
10175 { echo "$as_me:$LINENO: result: $result" >&5
10176 echo "${ECHO_T}$result" >&6; }
10177
10178
10179 enablestring=
10180 defaultval=$wxUSE_ALL_FEATURES
10181 if test -z "$defaultval"; then
10182 if test x"$enablestring" = xdisable; then
10183 defaultval=yes
10184 else
10185 defaultval=no
10186 fi
10187 fi
10188
10189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10190 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10191 # Check whether --enable-bmpcombobox was given.
10192 if test "${enable_bmpcombobox+set}" = set; then
10193 enableval=$enable_bmpcombobox;
10194 if test "$enableval" = yes; then
10195 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10196 else
10197 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10198 fi
10199
10200 else
10201
10202 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10203
10204 fi
10205
10206
10207 eval "$wx_cv_use_bmpcombobox"
10208
10209 if test x"$enablestring" = xdisable; then
10210 if test $wxUSE_BITMAPCOMBOBOX = no; then
10211 result=yes
10212 else
10213 result=no
10214 fi
10215 else
10216 result=$wxUSE_BITMAPCOMBOBOX
10217 fi
10218
10219 { echo "$as_me:$LINENO: result: $result" >&5
10220 echo "${ECHO_T}$result" >&6; }
10221
10222
10223 enablestring=
10224 defaultval=$wxUSE_ALL_FEATURES
10225 if test -z "$defaultval"; then
10226 if test x"$enablestring" = xdisable; then
10227 defaultval=yes
10228 else
10229 defaultval=no
10230 fi
10231 fi
10232
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10235 # Check whether --enable-button was given.
10236 if test "${enable_button+set}" = set; then
10237 enableval=$enable_button;
10238 if test "$enableval" = yes; then
10239 wx_cv_use_button='wxUSE_BUTTON=yes'
10240 else
10241 wx_cv_use_button='wxUSE_BUTTON=no'
10242 fi
10243
10244 else
10245
10246 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10247
10248 fi
10249
10250
10251 eval "$wx_cv_use_button"
10252
10253 if test x"$enablestring" = xdisable; then
10254 if test $wxUSE_BUTTON = no; then
10255 result=yes
10256 else
10257 result=no
10258 fi
10259 else
10260 result=$wxUSE_BUTTON
10261 fi
10262
10263 { echo "$as_me:$LINENO: result: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10265
10266
10267 enablestring=
10268 defaultval=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x"$enablestring" = xdisable; then
10271 defaultval=yes
10272 else
10273 defaultval=no
10274 fi
10275 fi
10276
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10279 # Check whether --enable-calendar was given.
10280 if test "${enable_calendar+set}" = set; then
10281 enableval=$enable_calendar;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10284 else
10285 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10286 fi
10287
10288 else
10289
10290 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10291
10292 fi
10293
10294
10295 eval "$wx_cv_use_calendar"
10296
10297 if test x"$enablestring" = xdisable; then
10298 if test $wxUSE_CALCTRL = no; then
10299 result=yes
10300 else
10301 result=no
10302 fi
10303 else
10304 result=$wxUSE_CALCTRL
10305 fi
10306
10307 { echo "$as_me:$LINENO: result: $result" >&5
10308 echo "${ECHO_T}$result" >&6; }
10309
10310
10311 enablestring=
10312 defaultval=$wxUSE_ALL_FEATURES
10313 if test -z "$defaultval"; then
10314 if test x"$enablestring" = xdisable; then
10315 defaultval=yes
10316 else
10317 defaultval=no
10318 fi
10319 fi
10320
10321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10323 # Check whether --enable-caret was given.
10324 if test "${enable_caret+set}" = set; then
10325 enableval=$enable_caret;
10326 if test "$enableval" = yes; then
10327 wx_cv_use_caret='wxUSE_CARET=yes'
10328 else
10329 wx_cv_use_caret='wxUSE_CARET=no'
10330 fi
10331
10332 else
10333
10334 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10335
10336 fi
10337
10338
10339 eval "$wx_cv_use_caret"
10340
10341 if test x"$enablestring" = xdisable; then
10342 if test $wxUSE_CARET = no; then
10343 result=yes
10344 else
10345 result=no
10346 fi
10347 else
10348 result=$wxUSE_CARET
10349 fi
10350
10351 { echo "$as_me:$LINENO: result: $result" >&5
10352 echo "${ECHO_T}$result" >&6; }
10353
10354
10355 enablestring=
10356 defaultval=$wxUSE_ALL_FEATURES
10357 if test -z "$defaultval"; then
10358 if test x"$enablestring" = xdisable; then
10359 defaultval=yes
10360 else
10361 defaultval=no
10362 fi
10363 fi
10364
10365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10366 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10367 # Check whether --enable-checkbox was given.
10368 if test "${enable_checkbox+set}" = set; then
10369 enableval=$enable_checkbox;
10370 if test "$enableval" = yes; then
10371 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10372 else
10373 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10374 fi
10375
10376 else
10377
10378 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10379
10380 fi
10381
10382
10383 eval "$wx_cv_use_checkbox"
10384
10385 if test x"$enablestring" = xdisable; then
10386 if test $wxUSE_CHECKBOX = no; then
10387 result=yes
10388 else
10389 result=no
10390 fi
10391 else
10392 result=$wxUSE_CHECKBOX
10393 fi
10394
10395 { echo "$as_me:$LINENO: result: $result" >&5
10396 echo "${ECHO_T}$result" >&6; }
10397
10398
10399 enablestring=
10400 defaultval=$wxUSE_ALL_FEATURES
10401 if test -z "$defaultval"; then
10402 if test x"$enablestring" = xdisable; then
10403 defaultval=yes
10404 else
10405 defaultval=no
10406 fi
10407 fi
10408
10409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10410 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10411 # Check whether --enable-checklst was given.
10412 if test "${enable_checklst+set}" = set; then
10413 enableval=$enable_checklst;
10414 if test "$enableval" = yes; then
10415 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10416 else
10417 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10418 fi
10419
10420 else
10421
10422 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10423
10424 fi
10425
10426
10427 eval "$wx_cv_use_checklst"
10428
10429 if test x"$enablestring" = xdisable; then
10430 if test $wxUSE_CHECKLST = no; then
10431 result=yes
10432 else
10433 result=no
10434 fi
10435 else
10436 result=$wxUSE_CHECKLST
10437 fi
10438
10439 { echo "$as_me:$LINENO: result: $result" >&5
10440 echo "${ECHO_T}$result" >&6; }
10441
10442
10443 enablestring=
10444 defaultval=$wxUSE_ALL_FEATURES
10445 if test -z "$defaultval"; then
10446 if test x"$enablestring" = xdisable; then
10447 defaultval=yes
10448 else
10449 defaultval=no
10450 fi
10451 fi
10452
10453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10454 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10455 # Check whether --enable-choice was given.
10456 if test "${enable_choice+set}" = set; then
10457 enableval=$enable_choice;
10458 if test "$enableval" = yes; then
10459 wx_cv_use_choice='wxUSE_CHOICE=yes'
10460 else
10461 wx_cv_use_choice='wxUSE_CHOICE=no'
10462 fi
10463
10464 else
10465
10466 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10467
10468 fi
10469
10470
10471 eval "$wx_cv_use_choice"
10472
10473 if test x"$enablestring" = xdisable; then
10474 if test $wxUSE_CHOICE = no; then
10475 result=yes
10476 else
10477 result=no
10478 fi
10479 else
10480 result=$wxUSE_CHOICE
10481 fi
10482
10483 { echo "$as_me:$LINENO: result: $result" >&5
10484 echo "${ECHO_T}$result" >&6; }
10485
10486
10487 enablestring=
10488 defaultval=$wxUSE_ALL_FEATURES
10489 if test -z "$defaultval"; then
10490 if test x"$enablestring" = xdisable; then
10491 defaultval=yes
10492 else
10493 defaultval=no
10494 fi
10495 fi
10496
10497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10499 # Check whether --enable-choicebook was given.
10500 if test "${enable_choicebook+set}" = set; then
10501 enableval=$enable_choicebook;
10502 if test "$enableval" = yes; then
10503 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10504 else
10505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10506 fi
10507
10508 else
10509
10510 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10511
10512 fi
10513
10514
10515 eval "$wx_cv_use_choicebook"
10516
10517 if test x"$enablestring" = xdisable; then
10518 if test $wxUSE_CHOICEBOOK = no; then
10519 result=yes
10520 else
10521 result=no
10522 fi
10523 else
10524 result=$wxUSE_CHOICEBOOK
10525 fi
10526
10527 { echo "$as_me:$LINENO: result: $result" >&5
10528 echo "${ECHO_T}$result" >&6; }
10529
10530
10531 enablestring=
10532 defaultval=$wxUSE_ALL_FEATURES
10533 if test -z "$defaultval"; then
10534 if test x"$enablestring" = xdisable; then
10535 defaultval=yes
10536 else
10537 defaultval=no
10538 fi
10539 fi
10540
10541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10543 # Check whether --enable-collpane was given.
10544 if test "${enable_collpane+set}" = set; then
10545 enableval=$enable_collpane;
10546 if test "$enableval" = yes; then
10547 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10548 else
10549 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10550 fi
10551
10552 else
10553
10554 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10555
10556 fi
10557
10558
10559 eval "$wx_cv_use_collpane"
10560
10561 if test x"$enablestring" = xdisable; then
10562 if test $wxUSE_COLLPANE = no; then
10563 result=yes
10564 else
10565 result=no
10566 fi
10567 else
10568 result=$wxUSE_COLLPANE
10569 fi
10570
10571 { echo "$as_me:$LINENO: result: $result" >&5
10572 echo "${ECHO_T}$result" >&6; }
10573
10574
10575 enablestring=
10576 defaultval=$wxUSE_ALL_FEATURES
10577 if test -z "$defaultval"; then
10578 if test x"$enablestring" = xdisable; then
10579 defaultval=yes
10580 else
10581 defaultval=no
10582 fi
10583 fi
10584
10585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10586 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10587 # Check whether --enable-colourpicker was given.
10588 if test "${enable_colourpicker+set}" = set; then
10589 enableval=$enable_colourpicker;
10590 if test "$enableval" = yes; then
10591 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10592 else
10593 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10594 fi
10595
10596 else
10597
10598 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10599
10600 fi
10601
10602
10603 eval "$wx_cv_use_colourpicker"
10604
10605 if test x"$enablestring" = xdisable; then
10606 if test $wxUSE_COLOURPICKERCTRL = no; then
10607 result=yes
10608 else
10609 result=no
10610 fi
10611 else
10612 result=$wxUSE_COLOURPICKERCTRL
10613 fi
10614
10615 { echo "$as_me:$LINENO: result: $result" >&5
10616 echo "${ECHO_T}$result" >&6; }
10617
10618
10619 enablestring=
10620 defaultval=$wxUSE_ALL_FEATURES
10621 if test -z "$defaultval"; then
10622 if test x"$enablestring" = xdisable; then
10623 defaultval=yes
10624 else
10625 defaultval=no
10626 fi
10627 fi
10628
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10631 # Check whether --enable-combobox was given.
10632 if test "${enable_combobox+set}" = set; then
10633 enableval=$enable_combobox;
10634 if test "$enableval" = yes; then
10635 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10636 else
10637 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10638 fi
10639
10640 else
10641
10642 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10643
10644 fi
10645
10646
10647 eval "$wx_cv_use_combobox"
10648
10649 if test x"$enablestring" = xdisable; then
10650 if test $wxUSE_COMBOBOX = no; then
10651 result=yes
10652 else
10653 result=no
10654 fi
10655 else
10656 result=$wxUSE_COMBOBOX
10657 fi
10658
10659 { echo "$as_me:$LINENO: result: $result" >&5
10660 echo "${ECHO_T}$result" >&6; }
10661
10662
10663 enablestring=
10664 defaultval=$wxUSE_ALL_FEATURES
10665 if test -z "$defaultval"; then
10666 if test x"$enablestring" = xdisable; then
10667 defaultval=yes
10668 else
10669 defaultval=no
10670 fi
10671 fi
10672
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10675 # Check whether --enable-comboctrl was given.
10676 if test "${enable_comboctrl+set}" = set; then
10677 enableval=$enable_comboctrl;
10678 if test "$enableval" = yes; then
10679 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10680 else
10681 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10682 fi
10683
10684 else
10685
10686 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10687
10688 fi
10689
10690
10691 eval "$wx_cv_use_comboctrl"
10692
10693 if test x"$enablestring" = xdisable; then
10694 if test $wxUSE_COMBOCTRL = no; then
10695 result=yes
10696 else
10697 result=no
10698 fi
10699 else
10700 result=$wxUSE_COMBOCTRL
10701 fi
10702
10703 { echo "$as_me:$LINENO: result: $result" >&5
10704 echo "${ECHO_T}$result" >&6; }
10705
10706
10707 enablestring=
10708 defaultval=$wxUSE_ALL_FEATURES
10709 if test -z "$defaultval"; then
10710 if test x"$enablestring" = xdisable; then
10711 defaultval=yes
10712 else
10713 defaultval=no
10714 fi
10715 fi
10716
10717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10718 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10719 # Check whether --enable-commandlinkbutton was given.
10720 if test "${enable_commandlinkbutton+set}" = set; then
10721 enableval=$enable_commandlinkbutton;
10722 if test "$enableval" = yes; then
10723 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10724 else
10725 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10726 fi
10727
10728 else
10729
10730 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10731
10732 fi
10733
10734
10735 eval "$wx_cv_use_commandlinkbutton"
10736
10737 if test x"$enablestring" = xdisable; then
10738 if test $wxUSE_COMMANDLINKBUTTON = no; then
10739 result=yes
10740 else
10741 result=no
10742 fi
10743 else
10744 result=$wxUSE_COMMANDLINKBUTTON
10745 fi
10746
10747 { echo "$as_me:$LINENO: result: $result" >&5
10748 echo "${ECHO_T}$result" >&6; }
10749
10750
10751 enablestring=
10752 defaultval=$wxUSE_ALL_FEATURES
10753 if test -z "$defaultval"; then
10754 if test x"$enablestring" = xdisable; then
10755 defaultval=yes
10756 else
10757 defaultval=no
10758 fi
10759 fi
10760
10761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10763 # Check whether --enable-dataviewctrl was given.
10764 if test "${enable_dataviewctrl+set}" = set; then
10765 enableval=$enable_dataviewctrl;
10766 if test "$enableval" = yes; then
10767 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10768 else
10769 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10770 fi
10771
10772 else
10773
10774 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10775
10776 fi
10777
10778
10779 eval "$wx_cv_use_dataviewctrl"
10780
10781 if test x"$enablestring" = xdisable; then
10782 if test $wxUSE_DATAVIEWCTRL = no; then
10783 result=yes
10784 else
10785 result=no
10786 fi
10787 else
10788 result=$wxUSE_DATAVIEWCTRL
10789 fi
10790
10791 { echo "$as_me:$LINENO: result: $result" >&5
10792 echo "${ECHO_T}$result" >&6; }
10793
10794
10795 enablestring=
10796 defaultval=$wxUSE_ALL_FEATURES
10797 if test -z "$defaultval"; then
10798 if test x"$enablestring" = xdisable; then
10799 defaultval=yes
10800 else
10801 defaultval=no
10802 fi
10803 fi
10804
10805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10807 # Check whether --enable-datepick was given.
10808 if test "${enable_datepick+set}" = set; then
10809 enableval=$enable_datepick;
10810 if test "$enableval" = yes; then
10811 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10812 else
10813 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10814 fi
10815
10816 else
10817
10818 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10819
10820 fi
10821
10822
10823 eval "$wx_cv_use_datepick"
10824
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_DATEPICKCTRL = no; then
10827 result=yes
10828 else
10829 result=no
10830 fi
10831 else
10832 result=$wxUSE_DATEPICKCTRL
10833 fi
10834
10835 { echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6; }
10837
10838
10839 enablestring=
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10851 # Check whether --enable-detect_sm was given.
10852 if test "${enable_detect_sm+set}" = set; then
10853 enableval=$enable_detect_sm;
10854 if test "$enableval" = yes; then
10855 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10856 else
10857 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10858 fi
10859
10860 else
10861
10862 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10863
10864 fi
10865
10866
10867 eval "$wx_cv_use_detect_sm"
10868
10869 if test x"$enablestring" = xdisable; then
10870 if test $wxUSE_DETECT_SM = no; then
10871 result=yes
10872 else
10873 result=no
10874 fi
10875 else
10876 result=$wxUSE_DETECT_SM
10877 fi
10878
10879 { echo "$as_me:$LINENO: result: $result" >&5
10880 echo "${ECHO_T}$result" >&6; }
10881
10882
10883 enablestring=
10884 defaultval=$wxUSE_ALL_FEATURES
10885 if test -z "$defaultval"; then
10886 if test x"$enablestring" = xdisable; then
10887 defaultval=yes
10888 else
10889 defaultval=no
10890 fi
10891 fi
10892
10893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10894 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10895 # Check whether --enable-dirpicker was given.
10896 if test "${enable_dirpicker+set}" = set; then
10897 enableval=$enable_dirpicker;
10898 if test "$enableval" = yes; then
10899 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10900 else
10901 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10902 fi
10903
10904 else
10905
10906 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10907
10908 fi
10909
10910
10911 eval "$wx_cv_use_dirpicker"
10912
10913 if test x"$enablestring" = xdisable; then
10914 if test $wxUSE_DIRPICKERCTRL = no; then
10915 result=yes
10916 else
10917 result=no
10918 fi
10919 else
10920 result=$wxUSE_DIRPICKERCTRL
10921 fi
10922
10923 { echo "$as_me:$LINENO: result: $result" >&5
10924 echo "${ECHO_T}$result" >&6; }
10925
10926
10927 enablestring=
10928 defaultval=$wxUSE_ALL_FEATURES
10929 if test -z "$defaultval"; then
10930 if test x"$enablestring" = xdisable; then
10931 defaultval=yes
10932 else
10933 defaultval=no
10934 fi
10935 fi
10936
10937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10938 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10939 # Check whether --enable-display was given.
10940 if test "${enable_display+set}" = set; then
10941 enableval=$enable_display;
10942 if test "$enableval" = yes; then
10943 wx_cv_use_display='wxUSE_DISPLAY=yes'
10944 else
10945 wx_cv_use_display='wxUSE_DISPLAY=no'
10946 fi
10947
10948 else
10949
10950 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10951
10952 fi
10953
10954
10955 eval "$wx_cv_use_display"
10956
10957 if test x"$enablestring" = xdisable; then
10958 if test $wxUSE_DISPLAY = no; then
10959 result=yes
10960 else
10961 result=no
10962 fi
10963 else
10964 result=$wxUSE_DISPLAY
10965 fi
10966
10967 { echo "$as_me:$LINENO: result: $result" >&5
10968 echo "${ECHO_T}$result" >&6; }
10969
10970
10971 enablestring=
10972 defaultval=$wxUSE_ALL_FEATURES
10973 if test -z "$defaultval"; then
10974 if test x"$enablestring" = xdisable; then
10975 defaultval=yes
10976 else
10977 defaultval=no
10978 fi
10979 fi
10980
10981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10982 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10983 # Check whether --enable-editablebox was given.
10984 if test "${enable_editablebox+set}" = set; then
10985 enableval=$enable_editablebox;
10986 if test "$enableval" = yes; then
10987 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10988 else
10989 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10990 fi
10991
10992 else
10993
10994 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10995
10996 fi
10997
10998
10999 eval "$wx_cv_use_editablebox"
11000
11001 if test x"$enablestring" = xdisable; then
11002 if test $wxUSE_EDITABLELISTBOX = no; then
11003 result=yes
11004 else
11005 result=no
11006 fi
11007 else
11008 result=$wxUSE_EDITABLELISTBOX
11009 fi
11010
11011 { echo "$as_me:$LINENO: result: $result" >&5
11012 echo "${ECHO_T}$result" >&6; }
11013
11014
11015 enablestring=
11016 defaultval=$wxUSE_ALL_FEATURES
11017 if test -z "$defaultval"; then
11018 if test x"$enablestring" = xdisable; then
11019 defaultval=yes
11020 else
11021 defaultval=no
11022 fi
11023 fi
11024
11025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11026 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11027 # Check whether --enable-filectrl was given.
11028 if test "${enable_filectrl+set}" = set; then
11029 enableval=$enable_filectrl;
11030 if test "$enableval" = yes; then
11031 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11032 else
11033 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11034 fi
11035
11036 else
11037
11038 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11039
11040 fi
11041
11042
11043 eval "$wx_cv_use_filectrl"
11044
11045 if test x"$enablestring" = xdisable; then
11046 if test $wxUSE_FILECTRL = no; then
11047 result=yes
11048 else
11049 result=no
11050 fi
11051 else
11052 result=$wxUSE_FILECTRL
11053 fi
11054
11055 { echo "$as_me:$LINENO: result: $result" >&5
11056 echo "${ECHO_T}$result" >&6; }
11057
11058
11059 enablestring=
11060 defaultval=$wxUSE_ALL_FEATURES
11061 if test -z "$defaultval"; then
11062 if test x"$enablestring" = xdisable; then
11063 defaultval=yes
11064 else
11065 defaultval=no
11066 fi
11067 fi
11068
11069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11070 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11071 # Check whether --enable-filepicker was given.
11072 if test "${enable_filepicker+set}" = set; then
11073 enableval=$enable_filepicker;
11074 if test "$enableval" = yes; then
11075 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11076 else
11077 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11078 fi
11079
11080 else
11081
11082 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11083
11084 fi
11085
11086
11087 eval "$wx_cv_use_filepicker"
11088
11089 if test x"$enablestring" = xdisable; then
11090 if test $wxUSE_FILEPICKERCTRL = no; then
11091 result=yes
11092 else
11093 result=no
11094 fi
11095 else
11096 result=$wxUSE_FILEPICKERCTRL
11097 fi
11098
11099 { echo "$as_me:$LINENO: result: $result" >&5
11100 echo "${ECHO_T}$result" >&6; }
11101
11102
11103 enablestring=
11104 defaultval=$wxUSE_ALL_FEATURES
11105 if test -z "$defaultval"; then
11106 if test x"$enablestring" = xdisable; then
11107 defaultval=yes
11108 else
11109 defaultval=no
11110 fi
11111 fi
11112
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11115 # Check whether --enable-fontpicker was given.
11116 if test "${enable_fontpicker+set}" = set; then
11117 enableval=$enable_fontpicker;
11118 if test "$enableval" = yes; then
11119 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11120 else
11121 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11122 fi
11123
11124 else
11125
11126 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11127
11128 fi
11129
11130
11131 eval "$wx_cv_use_fontpicker"
11132
11133 if test x"$enablestring" = xdisable; then
11134 if test $wxUSE_FONTPICKERCTRL = no; then
11135 result=yes
11136 else
11137 result=no
11138 fi
11139 else
11140 result=$wxUSE_FONTPICKERCTRL
11141 fi
11142
11143 { echo "$as_me:$LINENO: result: $result" >&5
11144 echo "${ECHO_T}$result" >&6; }
11145
11146
11147 enablestring=
11148 defaultval=$wxUSE_ALL_FEATURES
11149 if test -z "$defaultval"; then
11150 if test x"$enablestring" = xdisable; then
11151 defaultval=yes
11152 else
11153 defaultval=no
11154 fi
11155 fi
11156
11157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11158 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11159 # Check whether --enable-gauge was given.
11160 if test "${enable_gauge+set}" = set; then
11161 enableval=$enable_gauge;
11162 if test "$enableval" = yes; then
11163 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11164 else
11165 wx_cv_use_gauge='wxUSE_GAUGE=no'
11166 fi
11167
11168 else
11169
11170 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11171
11172 fi
11173
11174
11175 eval "$wx_cv_use_gauge"
11176
11177 if test x"$enablestring" = xdisable; then
11178 if test $wxUSE_GAUGE = no; then
11179 result=yes
11180 else
11181 result=no
11182 fi
11183 else
11184 result=$wxUSE_GAUGE
11185 fi
11186
11187 { echo "$as_me:$LINENO: result: $result" >&5
11188 echo "${ECHO_T}$result" >&6; }
11189
11190
11191 enablestring=
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11195 defaultval=yes
11196 else
11197 defaultval=no
11198 fi
11199 fi
11200
11201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11203 # Check whether --enable-grid was given.
11204 if test "${enable_grid+set}" = set; then
11205 enableval=$enable_grid;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_grid='wxUSE_GRID=yes'
11208 else
11209 wx_cv_use_grid='wxUSE_GRID=no'
11210 fi
11211
11212 else
11213
11214 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11215
11216 fi
11217
11218
11219 eval "$wx_cv_use_grid"
11220
11221 if test x"$enablestring" = xdisable; then
11222 if test $wxUSE_GRID = no; then
11223 result=yes
11224 else
11225 result=no
11226 fi
11227 else
11228 result=$wxUSE_GRID
11229 fi
11230
11231 { echo "$as_me:$LINENO: result: $result" >&5
11232 echo "${ECHO_T}$result" >&6; }
11233
11234
11235 enablestring=
11236 defaultval=$wxUSE_ALL_FEATURES
11237 if test -z "$defaultval"; then
11238 if test x"$enablestring" = xdisable; then
11239 defaultval=yes
11240 else
11241 defaultval=no
11242 fi
11243 fi
11244
11245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11246 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11247 # Check whether --enable-headerctrl was given.
11248 if test "${enable_headerctrl+set}" = set; then
11249 enableval=$enable_headerctrl;
11250 if test "$enableval" = yes; then
11251 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11252 else
11253 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11254 fi
11255
11256 else
11257
11258 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11259
11260 fi
11261
11262
11263 eval "$wx_cv_use_headerctrl"
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_HEADERCTRL = no; then
11267 result=yes
11268 else
11269 result=no
11270 fi
11271 else
11272 result=$wxUSE_HEADERCTRL
11273 fi
11274
11275 { echo "$as_me:$LINENO: result: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11290 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11291 # Check whether --enable-hyperlink was given.
11292 if test "${enable_hyperlink+set}" = set; then
11293 enableval=$enable_hyperlink;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11296 else
11297 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11298 fi
11299
11300 else
11301
11302 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11303
11304 fi
11305
11306
11307 eval "$wx_cv_use_hyperlink"
11308
11309 if test x"$enablestring" = xdisable; then
11310 if test $wxUSE_HYPERLINKCTRL = no; then
11311 result=yes
11312 else
11313 result=no
11314 fi
11315 else
11316 result=$wxUSE_HYPERLINKCTRL
11317 fi
11318
11319 { echo "$as_me:$LINENO: result: $result" >&5
11320 echo "${ECHO_T}$result" >&6; }
11321
11322
11323 enablestring=
11324 defaultval=$wxUSE_ALL_FEATURES
11325 if test -z "$defaultval"; then
11326 if test x"$enablestring" = xdisable; then
11327 defaultval=yes
11328 else
11329 defaultval=no
11330 fi
11331 fi
11332
11333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11334 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11335 # Check whether --enable-imaglist was given.
11336 if test "${enable_imaglist+set}" = set; then
11337 enableval=$enable_imaglist;
11338 if test "$enableval" = yes; then
11339 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11340 else
11341 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11342 fi
11343
11344 else
11345
11346 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11347
11348 fi
11349
11350
11351 eval "$wx_cv_use_imaglist"
11352
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_IMAGLIST = no; then
11355 result=yes
11356 else
11357 result=no
11358 fi
11359 else
11360 result=$wxUSE_IMAGLIST
11361 fi
11362
11363 { echo "$as_me:$LINENO: result: $result" >&5
11364 echo "${ECHO_T}$result" >&6; }
11365
11366
11367 enablestring=
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11371 defaultval=yes
11372 else
11373 defaultval=no
11374 fi
11375 fi
11376
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11379 # Check whether --enable-infobar was given.
11380 if test "${enable_infobar+set}" = set; then
11381 enableval=$enable_infobar;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11384 else
11385 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11386 fi
11387
11388 else
11389
11390 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11391
11392 fi
11393
11394
11395 eval "$wx_cv_use_infobar"
11396
11397 if test x"$enablestring" = xdisable; then
11398 if test $wxUSE_INFOBAR = no; then
11399 result=yes
11400 else
11401 result=no
11402 fi
11403 else
11404 result=$wxUSE_INFOBAR
11405 fi
11406
11407 { echo "$as_me:$LINENO: result: $result" >&5
11408 echo "${ECHO_T}$result" >&6; }
11409
11410
11411 enablestring=
11412 defaultval=$wxUSE_ALL_FEATURES
11413 if test -z "$defaultval"; then
11414 if test x"$enablestring" = xdisable; then
11415 defaultval=yes
11416 else
11417 defaultval=no
11418 fi
11419 fi
11420
11421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11422 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11423 # Check whether --enable-listbook was given.
11424 if test "${enable_listbook+set}" = set; then
11425 enableval=$enable_listbook;
11426 if test "$enableval" = yes; then
11427 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11428 else
11429 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11430 fi
11431
11432 else
11433
11434 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11435
11436 fi
11437
11438
11439 eval "$wx_cv_use_listbook"
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_LISTBOOK = no; then
11443 result=yes
11444 else
11445 result=no
11446 fi
11447 else
11448 result=$wxUSE_LISTBOOK
11449 fi
11450
11451 { echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6; }
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11467 # Check whether --enable-listbox was given.
11468 if test "${enable_listbox+set}" = set; then
11469 enableval=$enable_listbox;
11470 if test "$enableval" = yes; then
11471 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11472 else
11473 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11474 fi
11475
11476 else
11477
11478 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11479
11480 fi
11481
11482
11483 eval "$wx_cv_use_listbox"
11484
11485 if test x"$enablestring" = xdisable; then
11486 if test $wxUSE_LISTBOX = no; then
11487 result=yes
11488 else
11489 result=no
11490 fi
11491 else
11492 result=$wxUSE_LISTBOX
11493 fi
11494
11495 { echo "$as_me:$LINENO: result: $result" >&5
11496 echo "${ECHO_T}$result" >&6; }
11497
11498
11499 enablestring=
11500 defaultval=$wxUSE_ALL_FEATURES
11501 if test -z "$defaultval"; then
11502 if test x"$enablestring" = xdisable; then
11503 defaultval=yes
11504 else
11505 defaultval=no
11506 fi
11507 fi
11508
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11511 # Check whether --enable-listctrl was given.
11512 if test "${enable_listctrl+set}" = set; then
11513 enableval=$enable_listctrl;
11514 if test "$enableval" = yes; then
11515 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11516 else
11517 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11518 fi
11519
11520 else
11521
11522 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11523
11524 fi
11525
11526
11527 eval "$wx_cv_use_listctrl"
11528
11529 if test x"$enablestring" = xdisable; then
11530 if test $wxUSE_LISTCTRL = no; then
11531 result=yes
11532 else
11533 result=no
11534 fi
11535 else
11536 result=$wxUSE_LISTCTRL
11537 fi
11538
11539 { echo "$as_me:$LINENO: result: $result" >&5
11540 echo "${ECHO_T}$result" >&6; }
11541
11542
11543 enablestring=
11544 defaultval=$wxUSE_ALL_FEATURES
11545 if test -z "$defaultval"; then
11546 if test x"$enablestring" = xdisable; then
11547 defaultval=yes
11548 else
11549 defaultval=no
11550 fi
11551 fi
11552
11553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11554 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11555 # Check whether --enable-notebook was given.
11556 if test "${enable_notebook+set}" = set; then
11557 enableval=$enable_notebook;
11558 if test "$enableval" = yes; then
11559 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11560 else
11561 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11562 fi
11563
11564 else
11565
11566 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11567
11568 fi
11569
11570
11571 eval "$wx_cv_use_notebook"
11572
11573 if test x"$enablestring" = xdisable; then
11574 if test $wxUSE_NOTEBOOK = no; then
11575 result=yes
11576 else
11577 result=no
11578 fi
11579 else
11580 result=$wxUSE_NOTEBOOK
11581 fi
11582
11583 { echo "$as_me:$LINENO: result: $result" >&5
11584 echo "${ECHO_T}$result" >&6; }
11585
11586
11587 enablestring=
11588 defaultval=$wxUSE_ALL_FEATURES
11589 if test -z "$defaultval"; then
11590 if test x"$enablestring" = xdisable; then
11591 defaultval=yes
11592 else
11593 defaultval=no
11594 fi
11595 fi
11596
11597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11598 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11599 # Check whether --enable-notifmsg was given.
11600 if test "${enable_notifmsg+set}" = set; then
11601 enableval=$enable_notifmsg;
11602 if test "$enableval" = yes; then
11603 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11604 else
11605 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11606 fi
11607
11608 else
11609
11610 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11611
11612 fi
11613
11614
11615 eval "$wx_cv_use_notifmsg"
11616
11617 if test x"$enablestring" = xdisable; then
11618 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11619 result=yes
11620 else
11621 result=no
11622 fi
11623 else
11624 result=$wxUSE_NOTIFICATION_MESSAGE
11625 fi
11626
11627 { echo "$as_me:$LINENO: result: $result" >&5
11628 echo "${ECHO_T}$result" >&6; }
11629
11630
11631 enablestring=
11632 defaultval=$wxUSE_ALL_FEATURES
11633 if test -z "$defaultval"; then
11634 if test x"$enablestring" = xdisable; then
11635 defaultval=yes
11636 else
11637 defaultval=no
11638 fi
11639 fi
11640
11641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11642 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11643 # Check whether --enable-odcombobox was given.
11644 if test "${enable_odcombobox+set}" = set; then
11645 enableval=$enable_odcombobox;
11646 if test "$enableval" = yes; then
11647 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11648 else
11649 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11650 fi
11651
11652 else
11653
11654 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11655
11656 fi
11657
11658
11659 eval "$wx_cv_use_odcombobox"
11660
11661 if test x"$enablestring" = xdisable; then
11662 if test $wxUSE_ODCOMBOBOX = no; then
11663 result=yes
11664 else
11665 result=no
11666 fi
11667 else
11668 result=$wxUSE_ODCOMBOBOX
11669 fi
11670
11671 { echo "$as_me:$LINENO: result: $result" >&5
11672 echo "${ECHO_T}$result" >&6; }
11673
11674
11675 enablestring=
11676 defaultval=$wxUSE_ALL_FEATURES
11677 if test -z "$defaultval"; then
11678 if test x"$enablestring" = xdisable; then
11679 defaultval=yes
11680 else
11681 defaultval=no
11682 fi
11683 fi
11684
11685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11686 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11687 # Check whether --enable-popupwin was given.
11688 if test "${enable_popupwin+set}" = set; then
11689 enableval=$enable_popupwin;
11690 if test "$enableval" = yes; then
11691 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11692 else
11693 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11694 fi
11695
11696 else
11697
11698 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11699
11700 fi
11701
11702
11703 eval "$wx_cv_use_popupwin"
11704
11705 if test x"$enablestring" = xdisable; then
11706 if test $wxUSE_POPUPWIN = no; then
11707 result=yes
11708 else
11709 result=no
11710 fi
11711 else
11712 result=$wxUSE_POPUPWIN
11713 fi
11714
11715 { echo "$as_me:$LINENO: result: $result" >&5
11716 echo "${ECHO_T}$result" >&6; }
11717
11718
11719 enablestring=
11720 defaultval=$wxUSE_ALL_FEATURES
11721 if test -z "$defaultval"; then
11722 if test x"$enablestring" = xdisable; then
11723 defaultval=yes
11724 else
11725 defaultval=no
11726 fi
11727 fi
11728
11729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11730 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11731 # Check whether --enable-radiobox was given.
11732 if test "${enable_radiobox+set}" = set; then
11733 enableval=$enable_radiobox;
11734 if test "$enableval" = yes; then
11735 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11736 else
11737 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11738 fi
11739
11740 else
11741
11742 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11743
11744 fi
11745
11746
11747 eval "$wx_cv_use_radiobox"
11748
11749 if test x"$enablestring" = xdisable; then
11750 if test $wxUSE_RADIOBOX = no; then
11751 result=yes
11752 else
11753 result=no
11754 fi
11755 else
11756 result=$wxUSE_RADIOBOX
11757 fi
11758
11759 { echo "$as_me:$LINENO: result: $result" >&5
11760 echo "${ECHO_T}$result" >&6; }
11761
11762
11763 enablestring=
11764 defaultval=$wxUSE_ALL_FEATURES
11765 if test -z "$defaultval"; then
11766 if test x"$enablestring" = xdisable; then
11767 defaultval=yes
11768 else
11769 defaultval=no
11770 fi
11771 fi
11772
11773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11774 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11775 # Check whether --enable-radiobtn was given.
11776 if test "${enable_radiobtn+set}" = set; then
11777 enableval=$enable_radiobtn;
11778 if test "$enableval" = yes; then
11779 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11780 else
11781 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11782 fi
11783
11784 else
11785
11786 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11787
11788 fi
11789
11790
11791 eval "$wx_cv_use_radiobtn"
11792
11793 if test x"$enablestring" = xdisable; then
11794 if test $wxUSE_RADIOBTN = no; then
11795 result=yes
11796 else
11797 result=no
11798 fi
11799 else
11800 result=$wxUSE_RADIOBTN
11801 fi
11802
11803 { echo "$as_me:$LINENO: result: $result" >&5
11804 echo "${ECHO_T}$result" >&6; }
11805
11806
11807 enablestring=
11808 defaultval=$wxUSE_ALL_FEATURES
11809 if test -z "$defaultval"; then
11810 if test x"$enablestring" = xdisable; then
11811 defaultval=yes
11812 else
11813 defaultval=no
11814 fi
11815 fi
11816
11817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11818 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11819 # Check whether --enable-richmsgdlg was given.
11820 if test "${enable_richmsgdlg+set}" = set; then
11821 enableval=$enable_richmsgdlg;
11822 if test "$enableval" = yes; then
11823 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11824 else
11825 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11826 fi
11827
11828 else
11829
11830 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11831
11832 fi
11833
11834
11835 eval "$wx_cv_use_richmsgdlg"
11836
11837 if test x"$enablestring" = xdisable; then
11838 if test $wxUSE_RICHMSGDLG = no; then
11839 result=yes
11840 else
11841 result=no
11842 fi
11843 else
11844 result=$wxUSE_RICHMSGDLG
11845 fi
11846
11847 { echo "$as_me:$LINENO: result: $result" >&5
11848 echo "${ECHO_T}$result" >&6; }
11849
11850
11851 enablestring=
11852 defaultval=$wxUSE_ALL_FEATURES
11853 if test -z "$defaultval"; then
11854 if test x"$enablestring" = xdisable; then
11855 defaultval=yes
11856 else
11857 defaultval=no
11858 fi
11859 fi
11860
11861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11863 # Check whether --enable-rearrangectrl was given.
11864 if test "${enable_rearrangectrl+set}" = set; then
11865 enableval=$enable_rearrangectrl;
11866 if test "$enableval" = yes; then
11867 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11868 else
11869 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11870 fi
11871
11872 else
11873
11874 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11875
11876 fi
11877
11878
11879 eval "$wx_cv_use_rearrangectrl"
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_REARRANGECTRL = no; then
11883 result=yes
11884 else
11885 result=no
11886 fi
11887 else
11888 result=$wxUSE_REARRANGECTRL
11889 fi
11890
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11907 # Check whether --enable-sash was given.
11908 if test "${enable_sash+set}" = set; then
11909 enableval=$enable_sash;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_sash='wxUSE_SASH=yes'
11912 else
11913 wx_cv_use_sash='wxUSE_SASH=no'
11914 fi
11915
11916 else
11917
11918 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11919
11920 fi
11921
11922
11923 eval "$wx_cv_use_sash"
11924
11925 if test x"$enablestring" = xdisable; then
11926 if test $wxUSE_SASH = no; then
11927 result=yes
11928 else
11929 result=no
11930 fi
11931 else
11932 result=$wxUSE_SASH
11933 fi
11934
11935 { echo "$as_me:$LINENO: result: $result" >&5
11936 echo "${ECHO_T}$result" >&6; }
11937
11938
11939 enablestring=
11940 defaultval=$wxUSE_ALL_FEATURES
11941 if test -z "$defaultval"; then
11942 if test x"$enablestring" = xdisable; then
11943 defaultval=yes
11944 else
11945 defaultval=no
11946 fi
11947 fi
11948
11949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11950 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11951 # Check whether --enable-scrollbar was given.
11952 if test "${enable_scrollbar+set}" = set; then
11953 enableval=$enable_scrollbar;
11954 if test "$enableval" = yes; then
11955 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11956 else
11957 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11958 fi
11959
11960 else
11961
11962 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11963
11964 fi
11965
11966
11967 eval "$wx_cv_use_scrollbar"
11968
11969 if test x"$enablestring" = xdisable; then
11970 if test $wxUSE_SCROLLBAR = no; then
11971 result=yes
11972 else
11973 result=no
11974 fi
11975 else
11976 result=$wxUSE_SCROLLBAR
11977 fi
11978
11979 { echo "$as_me:$LINENO: result: $result" >&5
11980 echo "${ECHO_T}$result" >&6; }
11981
11982
11983 enablestring=
11984 defaultval=$wxUSE_ALL_FEATURES
11985 if test -z "$defaultval"; then
11986 if test x"$enablestring" = xdisable; then
11987 defaultval=yes
11988 else
11989 defaultval=no
11990 fi
11991 fi
11992
11993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11994 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11995 # Check whether --enable-searchctrl was given.
11996 if test "${enable_searchctrl+set}" = set; then
11997 enableval=$enable_searchctrl;
11998 if test "$enableval" = yes; then
11999 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12000 else
12001 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12002 fi
12003
12004 else
12005
12006 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12007
12008 fi
12009
12010
12011 eval "$wx_cv_use_searchctrl"
12012
12013 if test x"$enablestring" = xdisable; then
12014 if test $wxUSE_SEARCHCTRL = no; then
12015 result=yes
12016 else
12017 result=no
12018 fi
12019 else
12020 result=$wxUSE_SEARCHCTRL
12021 fi
12022
12023 { echo "$as_me:$LINENO: result: $result" >&5
12024 echo "${ECHO_T}$result" >&6; }
12025
12026
12027 enablestring=
12028 defaultval=$wxUSE_ALL_FEATURES
12029 if test -z "$defaultval"; then
12030 if test x"$enablestring" = xdisable; then
12031 defaultval=yes
12032 else
12033 defaultval=no
12034 fi
12035 fi
12036
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12039 # Check whether --enable-slider was given.
12040 if test "${enable_slider+set}" = set; then
12041 enableval=$enable_slider;
12042 if test "$enableval" = yes; then
12043 wx_cv_use_slider='wxUSE_SLIDER=yes'
12044 else
12045 wx_cv_use_slider='wxUSE_SLIDER=no'
12046 fi
12047
12048 else
12049
12050 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12051
12052 fi
12053
12054
12055 eval "$wx_cv_use_slider"
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_SLIDER = no; then
12059 result=yes
12060 else
12061 result=no
12062 fi
12063 else
12064 result=$wxUSE_SLIDER
12065 fi
12066
12067 { echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6; }
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12083 # Check whether --enable-spinbtn was given.
12084 if test "${enable_spinbtn+set}" = set; then
12085 enableval=$enable_spinbtn;
12086 if test "$enableval" = yes; then
12087 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12088 else
12089 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12090 fi
12091
12092 else
12093
12094 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12095
12096 fi
12097
12098
12099 eval "$wx_cv_use_spinbtn"
12100
12101 if test x"$enablestring" = xdisable; then
12102 if test $wxUSE_SPINBTN = no; then
12103 result=yes
12104 else
12105 result=no
12106 fi
12107 else
12108 result=$wxUSE_SPINBTN
12109 fi
12110
12111 { echo "$as_me:$LINENO: result: $result" >&5
12112 echo "${ECHO_T}$result" >&6; }
12113
12114
12115 enablestring=
12116 defaultval=$wxUSE_ALL_FEATURES
12117 if test -z "$defaultval"; then
12118 if test x"$enablestring" = xdisable; then
12119 defaultval=yes
12120 else
12121 defaultval=no
12122 fi
12123 fi
12124
12125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12126 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12127 # Check whether --enable-spinctrl was given.
12128 if test "${enable_spinctrl+set}" = set; then
12129 enableval=$enable_spinctrl;
12130 if test "$enableval" = yes; then
12131 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12132 else
12133 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12134 fi
12135
12136 else
12137
12138 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12139
12140 fi
12141
12142
12143 eval "$wx_cv_use_spinctrl"
12144
12145 if test x"$enablestring" = xdisable; then
12146 if test $wxUSE_SPINCTRL = no; then
12147 result=yes
12148 else
12149 result=no
12150 fi
12151 else
12152 result=$wxUSE_SPINCTRL
12153 fi
12154
12155 { echo "$as_me:$LINENO: result: $result" >&5
12156 echo "${ECHO_T}$result" >&6; }
12157
12158
12159 enablestring=
12160 defaultval=$wxUSE_ALL_FEATURES
12161 if test -z "$defaultval"; then
12162 if test x"$enablestring" = xdisable; then
12163 defaultval=yes
12164 else
12165 defaultval=no
12166 fi
12167 fi
12168
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12171 # Check whether --enable-splitter was given.
12172 if test "${enable_splitter+set}" = set; then
12173 enableval=$enable_splitter;
12174 if test "$enableval" = yes; then
12175 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12176 else
12177 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12178 fi
12179
12180 else
12181
12182 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12183
12184 fi
12185
12186
12187 eval "$wx_cv_use_splitter"
12188
12189 if test x"$enablestring" = xdisable; then
12190 if test $wxUSE_SPLITTER = no; then
12191 result=yes
12192 else
12193 result=no
12194 fi
12195 else
12196 result=$wxUSE_SPLITTER
12197 fi
12198
12199 { echo "$as_me:$LINENO: result: $result" >&5
12200 echo "${ECHO_T}$result" >&6; }
12201
12202
12203 enablestring=
12204 defaultval=$wxUSE_ALL_FEATURES
12205 if test -z "$defaultval"; then
12206 if test x"$enablestring" = xdisable; then
12207 defaultval=yes
12208 else
12209 defaultval=no
12210 fi
12211 fi
12212
12213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12214 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12215 # Check whether --enable-statbmp was given.
12216 if test "${enable_statbmp+set}" = set; then
12217 enableval=$enable_statbmp;
12218 if test "$enableval" = yes; then
12219 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12220 else
12221 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12222 fi
12223
12224 else
12225
12226 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12227
12228 fi
12229
12230
12231 eval "$wx_cv_use_statbmp"
12232
12233 if test x"$enablestring" = xdisable; then
12234 if test $wxUSE_STATBMP = no; then
12235 result=yes
12236 else
12237 result=no
12238 fi
12239 else
12240 result=$wxUSE_STATBMP
12241 fi
12242
12243 { echo "$as_me:$LINENO: result: $result" >&5
12244 echo "${ECHO_T}$result" >&6; }
12245
12246
12247 enablestring=
12248 defaultval=$wxUSE_ALL_FEATURES
12249 if test -z "$defaultval"; then
12250 if test x"$enablestring" = xdisable; then
12251 defaultval=yes
12252 else
12253 defaultval=no
12254 fi
12255 fi
12256
12257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12258 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12259 # Check whether --enable-statbox was given.
12260 if test "${enable_statbox+set}" = set; then
12261 enableval=$enable_statbox;
12262 if test "$enableval" = yes; then
12263 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12264 else
12265 wx_cv_use_statbox='wxUSE_STATBOX=no'
12266 fi
12267
12268 else
12269
12270 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12271
12272 fi
12273
12274
12275 eval "$wx_cv_use_statbox"
12276
12277 if test x"$enablestring" = xdisable; then
12278 if test $wxUSE_STATBOX = no; then
12279 result=yes
12280 else
12281 result=no
12282 fi
12283 else
12284 result=$wxUSE_STATBOX
12285 fi
12286
12287 { echo "$as_me:$LINENO: result: $result" >&5
12288 echo "${ECHO_T}$result" >&6; }
12289
12290
12291 enablestring=
12292 defaultval=$wxUSE_ALL_FEATURES
12293 if test -z "$defaultval"; then
12294 if test x"$enablestring" = xdisable; then
12295 defaultval=yes
12296 else
12297 defaultval=no
12298 fi
12299 fi
12300
12301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12302 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12303 # Check whether --enable-statline was given.
12304 if test "${enable_statline+set}" = set; then
12305 enableval=$enable_statline;
12306 if test "$enableval" = yes; then
12307 wx_cv_use_statline='wxUSE_STATLINE=yes'
12308 else
12309 wx_cv_use_statline='wxUSE_STATLINE=no'
12310 fi
12311
12312 else
12313
12314 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12315
12316 fi
12317
12318
12319 eval "$wx_cv_use_statline"
12320
12321 if test x"$enablestring" = xdisable; then
12322 if test $wxUSE_STATLINE = no; then
12323 result=yes
12324 else
12325 result=no
12326 fi
12327 else
12328 result=$wxUSE_STATLINE
12329 fi
12330
12331 { echo "$as_me:$LINENO: result: $result" >&5
12332 echo "${ECHO_T}$result" >&6; }
12333
12334
12335 enablestring=
12336 defaultval=$wxUSE_ALL_FEATURES
12337 if test -z "$defaultval"; then
12338 if test x"$enablestring" = xdisable; then
12339 defaultval=yes
12340 else
12341 defaultval=no
12342 fi
12343 fi
12344
12345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12346 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12347 # Check whether --enable-stattext was given.
12348 if test "${enable_stattext+set}" = set; then
12349 enableval=$enable_stattext;
12350 if test "$enableval" = yes; then
12351 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12352 else
12353 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12354 fi
12355
12356 else
12357
12358 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12359
12360 fi
12361
12362
12363 eval "$wx_cv_use_stattext"
12364
12365 if test x"$enablestring" = xdisable; then
12366 if test $wxUSE_STATTEXT = no; then
12367 result=yes
12368 else
12369 result=no
12370 fi
12371 else
12372 result=$wxUSE_STATTEXT
12373 fi
12374
12375 { echo "$as_me:$LINENO: result: $result" >&5
12376 echo "${ECHO_T}$result" >&6; }
12377
12378
12379 enablestring=
12380 defaultval=$wxUSE_ALL_FEATURES
12381 if test -z "$defaultval"; then
12382 if test x"$enablestring" = xdisable; then
12383 defaultval=yes
12384 else
12385 defaultval=no
12386 fi
12387 fi
12388
12389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12390 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12391 # Check whether --enable-statusbar was given.
12392 if test "${enable_statusbar+set}" = set; then
12393 enableval=$enable_statusbar;
12394 if test "$enableval" = yes; then
12395 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12396 else
12397 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12398 fi
12399
12400 else
12401
12402 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12403
12404 fi
12405
12406
12407 eval "$wx_cv_use_statusbar"
12408
12409 if test x"$enablestring" = xdisable; then
12410 if test $wxUSE_STATUSBAR = no; then
12411 result=yes
12412 else
12413 result=no
12414 fi
12415 else
12416 result=$wxUSE_STATUSBAR
12417 fi
12418
12419 { echo "$as_me:$LINENO: result: $result" >&5
12420 echo "${ECHO_T}$result" >&6; }
12421
12422
12423 enablestring=
12424 defaultval=$wxUSE_ALL_FEATURES
12425 if test -z "$defaultval"; then
12426 if test x"$enablestring" = xdisable; then
12427 defaultval=yes
12428 else
12429 defaultval=no
12430 fi
12431 fi
12432
12433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12434 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12435 # Check whether --enable-taskbaricon was given.
12436 if test "${enable_taskbaricon+set}" = set; then
12437 enableval=$enable_taskbaricon;
12438 if test "$enableval" = yes; then
12439 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12440 else
12441 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12442 fi
12443
12444 else
12445
12446 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12447
12448 fi
12449
12450
12451 eval "$wx_cv_use_taskbaricon"
12452
12453 if test x"$enablestring" = xdisable; then
12454 if test $wxUSE_TASKBARICON = no; then
12455 result=yes
12456 else
12457 result=no
12458 fi
12459 else
12460 result=$wxUSE_TASKBARICON
12461 fi
12462
12463 { echo "$as_me:$LINENO: result: $result" >&5
12464 echo "${ECHO_T}$result" >&6; }
12465
12466
12467 enablestring=
12468 defaultval=$wxUSE_ALL_FEATURES
12469 if test -z "$defaultval"; then
12470 if test x"$enablestring" = xdisable; then
12471 defaultval=yes
12472 else
12473 defaultval=no
12474 fi
12475 fi
12476
12477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12478 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12479 # Check whether --enable-tbarnative was given.
12480 if test "${enable_tbarnative+set}" = set; then
12481 enableval=$enable_tbarnative;
12482 if test "$enableval" = yes; then
12483 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12484 else
12485 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12486 fi
12487
12488 else
12489
12490 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12491
12492 fi
12493
12494
12495 eval "$wx_cv_use_tbarnative"
12496
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_TOOLBAR_NATIVE = no; then
12499 result=yes
12500 else
12501 result=no
12502 fi
12503 else
12504 result=$wxUSE_TOOLBAR_NATIVE
12505 fi
12506
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12509
12510
12511 enablestring=
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12515 defaultval=yes
12516 else
12517 defaultval=no
12518 fi
12519 fi
12520
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12523 # Check whether --enable-textctrl was given.
12524 if test "${enable_textctrl+set}" = set; then
12525 enableval=$enable_textctrl;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12528 else
12529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12530 fi
12531
12532 else
12533
12534 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12535
12536 fi
12537
12538
12539 eval "$wx_cv_use_textctrl"
12540
12541 if test x"$enablestring" = xdisable; then
12542 if test $wxUSE_TEXTCTRL = no; then
12543 result=yes
12544 else
12545 result=no
12546 fi
12547 else
12548 result=$wxUSE_TEXTCTRL
12549 fi
12550
12551 { echo "$as_me:$LINENO: result: $result" >&5
12552 echo "${ECHO_T}$result" >&6; }
12553
12554
12555 enablestring=
12556 defaultval=$wxUSE_ALL_FEATURES
12557 if test -z "$defaultval"; then
12558 if test x"$enablestring" = xdisable; then
12559 defaultval=yes
12560 else
12561 defaultval=no
12562 fi
12563 fi
12564
12565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12566 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12567 # Check whether --enable-tipwindow was given.
12568 if test "${enable_tipwindow+set}" = set; then
12569 enableval=$enable_tipwindow;
12570 if test "$enableval" = yes; then
12571 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12572 else
12573 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12574 fi
12575
12576 else
12577
12578 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12579
12580 fi
12581
12582
12583 eval "$wx_cv_use_tipwindow"
12584
12585 if test x"$enablestring" = xdisable; then
12586 if test $wxUSE_TIPWINDOW = no; then
12587 result=yes
12588 else
12589 result=no
12590 fi
12591 else
12592 result=$wxUSE_TIPWINDOW
12593 fi
12594
12595 { echo "$as_me:$LINENO: result: $result" >&5
12596 echo "${ECHO_T}$result" >&6; }
12597
12598
12599 enablestring=
12600 defaultval=$wxUSE_ALL_FEATURES
12601 if test -z "$defaultval"; then
12602 if test x"$enablestring" = xdisable; then
12603 defaultval=yes
12604 else
12605 defaultval=no
12606 fi
12607 fi
12608
12609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12610 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12611 # Check whether --enable-togglebtn was given.
12612 if test "${enable_togglebtn+set}" = set; then
12613 enableval=$enable_togglebtn;
12614 if test "$enableval" = yes; then
12615 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12616 else
12617 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12618 fi
12619
12620 else
12621
12622 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12623
12624 fi
12625
12626
12627 eval "$wx_cv_use_togglebtn"
12628
12629 if test x"$enablestring" = xdisable; then
12630 if test $wxUSE_TOGGLEBTN = no; then
12631 result=yes
12632 else
12633 result=no
12634 fi
12635 else
12636 result=$wxUSE_TOGGLEBTN
12637 fi
12638
12639 { echo "$as_me:$LINENO: result: $result" >&5
12640 echo "${ECHO_T}$result" >&6; }
12641
12642
12643 enablestring=
12644 defaultval=$wxUSE_ALL_FEATURES
12645 if test -z "$defaultval"; then
12646 if test x"$enablestring" = xdisable; then
12647 defaultval=yes
12648 else
12649 defaultval=no
12650 fi
12651 fi
12652
12653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12654 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12655 # Check whether --enable-toolbar was given.
12656 if test "${enable_toolbar+set}" = set; then
12657 enableval=$enable_toolbar;
12658 if test "$enableval" = yes; then
12659 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12660 else
12661 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12662 fi
12663
12664 else
12665
12666 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12667
12668 fi
12669
12670
12671 eval "$wx_cv_use_toolbar"
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_TOOLBAR = no; then
12675 result=yes
12676 else
12677 result=no
12678 fi
12679 else
12680 result=$wxUSE_TOOLBAR
12681 fi
12682
12683 { echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6; }
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12699 # Check whether --enable-toolbook was given.
12700 if test "${enable_toolbook+set}" = set; then
12701 enableval=$enable_toolbook;
12702 if test "$enableval" = yes; then
12703 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12704 else
12705 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12706 fi
12707
12708 else
12709
12710 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12711
12712 fi
12713
12714
12715 eval "$wx_cv_use_toolbook"
12716
12717 if test x"$enablestring" = xdisable; then
12718 if test $wxUSE_TOOLBOOK = no; then
12719 result=yes
12720 else
12721 result=no
12722 fi
12723 else
12724 result=$wxUSE_TOOLBOOK
12725 fi
12726
12727 { echo "$as_me:$LINENO: result: $result" >&5
12728 echo "${ECHO_T}$result" >&6; }
12729
12730
12731 enablestring=
12732 defaultval=$wxUSE_ALL_FEATURES
12733 if test -z "$defaultval"; then
12734 if test x"$enablestring" = xdisable; then
12735 defaultval=yes
12736 else
12737 defaultval=no
12738 fi
12739 fi
12740
12741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12742 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12743 # Check whether --enable-treebook was given.
12744 if test "${enable_treebook+set}" = set; then
12745 enableval=$enable_treebook;
12746 if test "$enableval" = yes; then
12747 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12748 else
12749 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12750 fi
12751
12752 else
12753
12754 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12755
12756 fi
12757
12758
12759 eval "$wx_cv_use_treebook"
12760
12761 if test x"$enablestring" = xdisable; then
12762 if test $wxUSE_TREEBOOK = no; then
12763 result=yes
12764 else
12765 result=no
12766 fi
12767 else
12768 result=$wxUSE_TREEBOOK
12769 fi
12770
12771 { echo "$as_me:$LINENO: result: $result" >&5
12772 echo "${ECHO_T}$result" >&6; }
12773
12774
12775 enablestring=
12776 defaultval=$wxUSE_ALL_FEATURES
12777 if test -z "$defaultval"; then
12778 if test x"$enablestring" = xdisable; then
12779 defaultval=yes
12780 else
12781 defaultval=no
12782 fi
12783 fi
12784
12785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12786 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12787 # Check whether --enable-treectrl was given.
12788 if test "${enable_treectrl+set}" = set; then
12789 enableval=$enable_treectrl;
12790 if test "$enableval" = yes; then
12791 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12792 else
12793 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12794 fi
12795
12796 else
12797
12798 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12799
12800 fi
12801
12802
12803 eval "$wx_cv_use_treectrl"
12804
12805 if test x"$enablestring" = xdisable; then
12806 if test $wxUSE_TREECTRL = no; then
12807 result=yes
12808 else
12809 result=no
12810 fi
12811 else
12812 result=$wxUSE_TREECTRL
12813 fi
12814
12815 { echo "$as_me:$LINENO: result: $result" >&5
12816 echo "${ECHO_T}$result" >&6; }
12817
12818
12819
12820
12821 enablestring=
12822 defaultval=$wxUSE_ALL_FEATURES
12823 if test -z "$defaultval"; then
12824 if test x"$enablestring" = xdisable; then
12825 defaultval=yes
12826 else
12827 defaultval=no
12828 fi
12829 fi
12830
12831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12832 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12833 # Check whether --enable-commondlg was given.
12834 if test "${enable_commondlg+set}" = set; then
12835 enableval=$enable_commondlg;
12836 if test "$enableval" = yes; then
12837 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12838 else
12839 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12840 fi
12841
12842 else
12843
12844 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12845
12846 fi
12847
12848
12849 eval "$wx_cv_use_commondlg"
12850
12851 if test x"$enablestring" = xdisable; then
12852 if test $wxUSE_COMMONDLGS = no; then
12853 result=yes
12854 else
12855 result=no
12856 fi
12857 else
12858 result=$wxUSE_COMMONDLGS
12859 fi
12860
12861 { echo "$as_me:$LINENO: result: $result" >&5
12862 echo "${ECHO_T}$result" >&6; }
12863
12864
12865 enablestring=
12866 defaultval=$wxUSE_ALL_FEATURES
12867 if test -z "$defaultval"; then
12868 if test x"$enablestring" = xdisable; then
12869 defaultval=yes
12870 else
12871 defaultval=no
12872 fi
12873 fi
12874
12875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12876 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12877 # Check whether --enable-aboutdlg was given.
12878 if test "${enable_aboutdlg+set}" = set; then
12879 enableval=$enable_aboutdlg;
12880 if test "$enableval" = yes; then
12881 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12882 else
12883 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12884 fi
12885
12886 else
12887
12888 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12889
12890 fi
12891
12892
12893 eval "$wx_cv_use_aboutdlg"
12894
12895 if test x"$enablestring" = xdisable; then
12896 if test $wxUSE_ABOUTDLG = no; then
12897 result=yes
12898 else
12899 result=no
12900 fi
12901 else
12902 result=$wxUSE_ABOUTDLG
12903 fi
12904
12905 { echo "$as_me:$LINENO: result: $result" >&5
12906 echo "${ECHO_T}$result" >&6; }
12907
12908
12909 enablestring=
12910 defaultval=$wxUSE_ALL_FEATURES
12911 if test -z "$defaultval"; then
12912 if test x"$enablestring" = xdisable; then
12913 defaultval=yes
12914 else
12915 defaultval=no
12916 fi
12917 fi
12918
12919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12920 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12921 # Check whether --enable-choicedlg was given.
12922 if test "${enable_choicedlg+set}" = set; then
12923 enableval=$enable_choicedlg;
12924 if test "$enableval" = yes; then
12925 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12926 else
12927 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12928 fi
12929
12930 else
12931
12932 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12933
12934 fi
12935
12936
12937 eval "$wx_cv_use_choicedlg"
12938
12939 if test x"$enablestring" = xdisable; then
12940 if test $wxUSE_CHOICEDLG = no; then
12941 result=yes
12942 else
12943 result=no
12944 fi
12945 else
12946 result=$wxUSE_CHOICEDLG
12947 fi
12948
12949 { echo "$as_me:$LINENO: result: $result" >&5
12950 echo "${ECHO_T}$result" >&6; }
12951
12952
12953 enablestring=
12954 defaultval=$wxUSE_ALL_FEATURES
12955 if test -z "$defaultval"; then
12956 if test x"$enablestring" = xdisable; then
12957 defaultval=yes
12958 else
12959 defaultval=no
12960 fi
12961 fi
12962
12963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12964 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12965 # Check whether --enable-coldlg was given.
12966 if test "${enable_coldlg+set}" = set; then
12967 enableval=$enable_coldlg;
12968 if test "$enableval" = yes; then
12969 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12970 else
12971 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12972 fi
12973
12974 else
12975
12976 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12977
12978 fi
12979
12980
12981 eval "$wx_cv_use_coldlg"
12982
12983 if test x"$enablestring" = xdisable; then
12984 if test $wxUSE_COLOURDLG = no; then
12985 result=yes
12986 else
12987 result=no
12988 fi
12989 else
12990 result=$wxUSE_COLOURDLG
12991 fi
12992
12993 { echo "$as_me:$LINENO: result: $result" >&5
12994 echo "${ECHO_T}$result" >&6; }
12995
12996
12997 enablestring=
12998 defaultval=$wxUSE_ALL_FEATURES
12999 if test -z "$defaultval"; then
13000 if test x"$enablestring" = xdisable; then
13001 defaultval=yes
13002 else
13003 defaultval=no
13004 fi
13005 fi
13006
13007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13008 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13009 # Check whether --enable-filedlg was given.
13010 if test "${enable_filedlg+set}" = set; then
13011 enableval=$enable_filedlg;
13012 if test "$enableval" = yes; then
13013 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13014 else
13015 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13016 fi
13017
13018 else
13019
13020 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13021
13022 fi
13023
13024
13025 eval "$wx_cv_use_filedlg"
13026
13027 if test x"$enablestring" = xdisable; then
13028 if test $wxUSE_FILEDLG = no; then
13029 result=yes
13030 else
13031 result=no
13032 fi
13033 else
13034 result=$wxUSE_FILEDLG
13035 fi
13036
13037 { echo "$as_me:$LINENO: result: $result" >&5
13038 echo "${ECHO_T}$result" >&6; }
13039
13040
13041 enablestring=
13042 defaultval=$wxUSE_ALL_FEATURES
13043 if test -z "$defaultval"; then
13044 if test x"$enablestring" = xdisable; then
13045 defaultval=yes
13046 else
13047 defaultval=no
13048 fi
13049 fi
13050
13051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13052 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13053 # Check whether --enable-finddlg was given.
13054 if test "${enable_finddlg+set}" = set; then
13055 enableval=$enable_finddlg;
13056 if test "$enableval" = yes; then
13057 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13058 else
13059 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13060 fi
13061
13062 else
13063
13064 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13065
13066 fi
13067
13068
13069 eval "$wx_cv_use_finddlg"
13070
13071 if test x"$enablestring" = xdisable; then
13072 if test $wxUSE_FINDREPLDLG = no; then
13073 result=yes
13074 else
13075 result=no
13076 fi
13077 else
13078 result=$wxUSE_FINDREPLDLG
13079 fi
13080
13081 { echo "$as_me:$LINENO: result: $result" >&5
13082 echo "${ECHO_T}$result" >&6; }
13083
13084
13085 enablestring=
13086 defaultval=$wxUSE_ALL_FEATURES
13087 if test -z "$defaultval"; then
13088 if test x"$enablestring" = xdisable; then
13089 defaultval=yes
13090 else
13091 defaultval=no
13092 fi
13093 fi
13094
13095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13096 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13097 # Check whether --enable-fontdlg was given.
13098 if test "${enable_fontdlg+set}" = set; then
13099 enableval=$enable_fontdlg;
13100 if test "$enableval" = yes; then
13101 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13102 else
13103 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13104 fi
13105
13106 else
13107
13108 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13109
13110 fi
13111
13112
13113 eval "$wx_cv_use_fontdlg"
13114
13115 if test x"$enablestring" = xdisable; then
13116 if test $wxUSE_FONTDLG = no; then
13117 result=yes
13118 else
13119 result=no
13120 fi
13121 else
13122 result=$wxUSE_FONTDLG
13123 fi
13124
13125 { echo "$as_me:$LINENO: result: $result" >&5
13126 echo "${ECHO_T}$result" >&6; }
13127
13128
13129 enablestring=
13130 defaultval=$wxUSE_ALL_FEATURES
13131 if test -z "$defaultval"; then
13132 if test x"$enablestring" = xdisable; then
13133 defaultval=yes
13134 else
13135 defaultval=no
13136 fi
13137 fi
13138
13139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13140 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13141 # Check whether --enable-dirdlg was given.
13142 if test "${enable_dirdlg+set}" = set; then
13143 enableval=$enable_dirdlg;
13144 if test "$enableval" = yes; then
13145 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13146 else
13147 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13148 fi
13149
13150 else
13151
13152 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13153
13154 fi
13155
13156
13157 eval "$wx_cv_use_dirdlg"
13158
13159 if test x"$enablestring" = xdisable; then
13160 if test $wxUSE_DIRDLG = no; then
13161 result=yes
13162 else
13163 result=no
13164 fi
13165 else
13166 result=$wxUSE_DIRDLG
13167 fi
13168
13169 { echo "$as_me:$LINENO: result: $result" >&5
13170 echo "${ECHO_T}$result" >&6; }
13171
13172
13173 enablestring=
13174 defaultval=$wxUSE_ALL_FEATURES
13175 if test -z "$defaultval"; then
13176 if test x"$enablestring" = xdisable; then
13177 defaultval=yes
13178 else
13179 defaultval=no
13180 fi
13181 fi
13182
13183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13184 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13185 # Check whether --enable-msgdlg was given.
13186 if test "${enable_msgdlg+set}" = set; then
13187 enableval=$enable_msgdlg;
13188 if test "$enableval" = yes; then
13189 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13190 else
13191 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13192 fi
13193
13194 else
13195
13196 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13197
13198 fi
13199
13200
13201 eval "$wx_cv_use_msgdlg"
13202
13203 if test x"$enablestring" = xdisable; then
13204 if test $wxUSE_MSGDLG = no; then
13205 result=yes
13206 else
13207 result=no
13208 fi
13209 else
13210 result=$wxUSE_MSGDLG
13211 fi
13212
13213 { echo "$as_me:$LINENO: result: $result" >&5
13214 echo "${ECHO_T}$result" >&6; }
13215
13216
13217 enablestring=
13218 defaultval=$wxUSE_ALL_FEATURES
13219 if test -z "$defaultval"; then
13220 if test x"$enablestring" = xdisable; then
13221 defaultval=yes
13222 else
13223 defaultval=no
13224 fi
13225 fi
13226
13227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13228 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13229 # Check whether --enable-numberdlg was given.
13230 if test "${enable_numberdlg+set}" = set; then
13231 enableval=$enable_numberdlg;
13232 if test "$enableval" = yes; then
13233 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13234 else
13235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13236 fi
13237
13238 else
13239
13240 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13241
13242 fi
13243
13244
13245 eval "$wx_cv_use_numberdlg"
13246
13247 if test x"$enablestring" = xdisable; then
13248 if test $wxUSE_NUMBERDLG = no; then
13249 result=yes
13250 else
13251 result=no
13252 fi
13253 else
13254 result=$wxUSE_NUMBERDLG
13255 fi
13256
13257 { echo "$as_me:$LINENO: result: $result" >&5
13258 echo "${ECHO_T}$result" >&6; }
13259
13260
13261 enablestring=
13262 defaultval=$wxUSE_ALL_FEATURES
13263 if test -z "$defaultval"; then
13264 if test x"$enablestring" = xdisable; then
13265 defaultval=yes
13266 else
13267 defaultval=no
13268 fi
13269 fi
13270
13271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13272 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13273 # Check whether --enable-splash was given.
13274 if test "${enable_splash+set}" = set; then
13275 enableval=$enable_splash;
13276 if test "$enableval" = yes; then
13277 wx_cv_use_splash='wxUSE_SPLASH=yes'
13278 else
13279 wx_cv_use_splash='wxUSE_SPLASH=no'
13280 fi
13281
13282 else
13283
13284 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13285
13286 fi
13287
13288
13289 eval "$wx_cv_use_splash"
13290
13291 if test x"$enablestring" = xdisable; then
13292 if test $wxUSE_SPLASH = no; then
13293 result=yes
13294 else
13295 result=no
13296 fi
13297 else
13298 result=$wxUSE_SPLASH
13299 fi
13300
13301 { echo "$as_me:$LINENO: result: $result" >&5
13302 echo "${ECHO_T}$result" >&6; }
13303
13304
13305 enablestring=
13306 defaultval=$wxUSE_ALL_FEATURES
13307 if test -z "$defaultval"; then
13308 if test x"$enablestring" = xdisable; then
13309 defaultval=yes
13310 else
13311 defaultval=no
13312 fi
13313 fi
13314
13315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13316 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13317 # Check whether --enable-textdlg was given.
13318 if test "${enable_textdlg+set}" = set; then
13319 enableval=$enable_textdlg;
13320 if test "$enableval" = yes; then
13321 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13322 else
13323 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13324 fi
13325
13326 else
13327
13328 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13329
13330 fi
13331
13332
13333 eval "$wx_cv_use_textdlg"
13334
13335 if test x"$enablestring" = xdisable; then
13336 if test $wxUSE_TEXTDLG = no; then
13337 result=yes
13338 else
13339 result=no
13340 fi
13341 else
13342 result=$wxUSE_TEXTDLG
13343 fi
13344
13345 { echo "$as_me:$LINENO: result: $result" >&5
13346 echo "${ECHO_T}$result" >&6; }
13347
13348
13349 enablestring=
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13353 defaultval=yes
13354 else
13355 defaultval=no
13356 fi
13357 fi
13358
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13361 # Check whether --enable-tipdlg was given.
13362 if test "${enable_tipdlg+set}" = set; then
13363 enableval=$enable_tipdlg;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13366 else
13367 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13368 fi
13369
13370 else
13371
13372 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13373
13374 fi
13375
13376
13377 eval "$wx_cv_use_tipdlg"
13378
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_STARTUP_TIPS = no; then
13381 result=yes
13382 else
13383 result=no
13384 fi
13385 else
13386 result=$wxUSE_STARTUP_TIPS
13387 fi
13388
13389 { echo "$as_me:$LINENO: result: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13391
13392
13393 enablestring=
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13397 defaultval=yes
13398 else
13399 defaultval=no
13400 fi
13401 fi
13402
13403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13405 # Check whether --enable-progressdlg was given.
13406 if test "${enable_progressdlg+set}" = set; then
13407 enableval=$enable_progressdlg;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13410 else
13411 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13412 fi
13413
13414 else
13415
13416 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13417
13418 fi
13419
13420
13421 eval "$wx_cv_use_progressdlg"
13422
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_PROGRESSDLG = no; then
13425 result=yes
13426 else
13427 result=no
13428 fi
13429 else
13430 result=$wxUSE_PROGRESSDLG
13431 fi
13432
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13435
13436
13437 enablestring=
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13441 defaultval=yes
13442 else
13443 defaultval=no
13444 fi
13445 fi
13446
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13449 # Check whether --enable-wizarddlg was given.
13450 if test "${enable_wizarddlg+set}" = set; then
13451 enableval=$enable_wizarddlg;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13454 else
13455 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13456 fi
13457
13458 else
13459
13460 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13461
13462 fi
13463
13464
13465 eval "$wx_cv_use_wizarddlg"
13466
13467 if test x"$enablestring" = xdisable; then
13468 if test $wxUSE_WIZARDDLG = no; then
13469 result=yes
13470 else
13471 result=no
13472 fi
13473 else
13474 result=$wxUSE_WIZARDDLG
13475 fi
13476
13477 { echo "$as_me:$LINENO: result: $result" >&5
13478 echo "${ECHO_T}$result" >&6; }
13479
13480
13481
13482
13483 enablestring=
13484 defaultval=$wxUSE_ALL_FEATURES
13485 if test -z "$defaultval"; then
13486 if test x"$enablestring" = xdisable; then
13487 defaultval=yes
13488 else
13489 defaultval=no
13490 fi
13491 fi
13492
13493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13494 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13495 # Check whether --enable-menus was given.
13496 if test "${enable_menus+set}" = set; then
13497 enableval=$enable_menus;
13498 if test "$enableval" = yes; then
13499 wx_cv_use_menus='wxUSE_MENUS=yes'
13500 else
13501 wx_cv_use_menus='wxUSE_MENUS=no'
13502 fi
13503
13504 else
13505
13506 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13507
13508 fi
13509
13510
13511 eval "$wx_cv_use_menus"
13512
13513 if test x"$enablestring" = xdisable; then
13514 if test $wxUSE_MENUS = no; then
13515 result=yes
13516 else
13517 result=no
13518 fi
13519 else
13520 result=$wxUSE_MENUS
13521 fi
13522
13523 { echo "$as_me:$LINENO: result: $result" >&5
13524 echo "${ECHO_T}$result" >&6; }
13525
13526
13527 enablestring=
13528 defaultval=$wxUSE_ALL_FEATURES
13529 if test -z "$defaultval"; then
13530 if test x"$enablestring" = xdisable; then
13531 defaultval=yes
13532 else
13533 defaultval=no
13534 fi
13535 fi
13536
13537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13538 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13539 # Check whether --enable-miniframe was given.
13540 if test "${enable_miniframe+set}" = set; then
13541 enableval=$enable_miniframe;
13542 if test "$enableval" = yes; then
13543 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13544 else
13545 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13546 fi
13547
13548 else
13549
13550 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13551
13552 fi
13553
13554
13555 eval "$wx_cv_use_miniframe"
13556
13557 if test x"$enablestring" = xdisable; then
13558 if test $wxUSE_MINIFRAME = no; then
13559 result=yes
13560 else
13561 result=no
13562 fi
13563 else
13564 result=$wxUSE_MINIFRAME
13565 fi
13566
13567 { echo "$as_me:$LINENO: result: $result" >&5
13568 echo "${ECHO_T}$result" >&6; }
13569
13570
13571 enablestring=
13572 defaultval=$wxUSE_ALL_FEATURES
13573 if test -z "$defaultval"; then
13574 if test x"$enablestring" = xdisable; then
13575 defaultval=yes
13576 else
13577 defaultval=no
13578 fi
13579 fi
13580
13581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13582 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13583 # Check whether --enable-tooltips was given.
13584 if test "${enable_tooltips+set}" = set; then
13585 enableval=$enable_tooltips;
13586 if test "$enableval" = yes; then
13587 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13588 else
13589 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13590 fi
13591
13592 else
13593
13594 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13595
13596 fi
13597
13598
13599 eval "$wx_cv_use_tooltips"
13600
13601 if test x"$enablestring" = xdisable; then
13602 if test $wxUSE_TOOLTIPS = no; then
13603 result=yes
13604 else
13605 result=no
13606 fi
13607 else
13608 result=$wxUSE_TOOLTIPS
13609 fi
13610
13611 { echo "$as_me:$LINENO: result: $result" >&5
13612 echo "${ECHO_T}$result" >&6; }
13613
13614
13615 enablestring=
13616 defaultval=$wxUSE_ALL_FEATURES
13617 if test -z "$defaultval"; then
13618 if test x"$enablestring" = xdisable; then
13619 defaultval=yes
13620 else
13621 defaultval=no
13622 fi
13623 fi
13624
13625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13626 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13627 # Check whether --enable-splines was given.
13628 if test "${enable_splines+set}" = set; then
13629 enableval=$enable_splines;
13630 if test "$enableval" = yes; then
13631 wx_cv_use_splines='wxUSE_SPLINES=yes'
13632 else
13633 wx_cv_use_splines='wxUSE_SPLINES=no'
13634 fi
13635
13636 else
13637
13638 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13639
13640 fi
13641
13642
13643 eval "$wx_cv_use_splines"
13644
13645 if test x"$enablestring" = xdisable; then
13646 if test $wxUSE_SPLINES = no; then
13647 result=yes
13648 else
13649 result=no
13650 fi
13651 else
13652 result=$wxUSE_SPLINES
13653 fi
13654
13655 { echo "$as_me:$LINENO: result: $result" >&5
13656 echo "${ECHO_T}$result" >&6; }
13657
13658
13659 enablestring=
13660 defaultval=$wxUSE_ALL_FEATURES
13661 if test -z "$defaultval"; then
13662 if test x"$enablestring" = xdisable; then
13663 defaultval=yes
13664 else
13665 defaultval=no
13666 fi
13667 fi
13668
13669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13670 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13671 # Check whether --enable-mousewheel was given.
13672 if test "${enable_mousewheel+set}" = set; then
13673 enableval=$enable_mousewheel;
13674 if test "$enableval" = yes; then
13675 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13676 else
13677 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13678 fi
13679
13680 else
13681
13682 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13683
13684 fi
13685
13686
13687 eval "$wx_cv_use_mousewheel"
13688
13689 if test x"$enablestring" = xdisable; then
13690 if test $wxUSE_MOUSEWHEEL = no; then
13691 result=yes
13692 else
13693 result=no
13694 fi
13695 else
13696 result=$wxUSE_MOUSEWHEEL
13697 fi
13698
13699 { echo "$as_me:$LINENO: result: $result" >&5
13700 echo "${ECHO_T}$result" >&6; }
13701
13702
13703 enablestring=
13704 defaultval=$wxUSE_ALL_FEATURES
13705 if test -z "$defaultval"; then
13706 if test x"$enablestring" = xdisable; then
13707 defaultval=yes
13708 else
13709 defaultval=no
13710 fi
13711 fi
13712
13713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13714 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13715 # Check whether --enable-validators was given.
13716 if test "${enable_validators+set}" = set; then
13717 enableval=$enable_validators;
13718 if test "$enableval" = yes; then
13719 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13720 else
13721 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13722 fi
13723
13724 else
13725
13726 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13727
13728 fi
13729
13730
13731 eval "$wx_cv_use_validators"
13732
13733 if test x"$enablestring" = xdisable; then
13734 if test $wxUSE_VALIDATORS = no; then
13735 result=yes
13736 else
13737 result=no
13738 fi
13739 else
13740 result=$wxUSE_VALIDATORS
13741 fi
13742
13743 { echo "$as_me:$LINENO: result: $result" >&5
13744 echo "${ECHO_T}$result" >&6; }
13745
13746
13747 enablestring=
13748 defaultval=$wxUSE_ALL_FEATURES
13749 if test -z "$defaultval"; then
13750 if test x"$enablestring" = xdisable; then
13751 defaultval=yes
13752 else
13753 defaultval=no
13754 fi
13755 fi
13756
13757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13758 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13759 # Check whether --enable-busyinfo was given.
13760 if test "${enable_busyinfo+set}" = set; then
13761 enableval=$enable_busyinfo;
13762 if test "$enableval" = yes; then
13763 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13764 else
13765 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13766 fi
13767
13768 else
13769
13770 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13771
13772 fi
13773
13774
13775 eval "$wx_cv_use_busyinfo"
13776
13777 if test x"$enablestring" = xdisable; then
13778 if test $wxUSE_BUSYINFO = no; then
13779 result=yes
13780 else
13781 result=no
13782 fi
13783 else
13784 result=$wxUSE_BUSYINFO
13785 fi
13786
13787 { echo "$as_me:$LINENO: result: $result" >&5
13788 echo "${ECHO_T}$result" >&6; }
13789
13790
13791 enablestring=
13792 defaultval=$wxUSE_ALL_FEATURES
13793 if test -z "$defaultval"; then
13794 if test x"$enablestring" = xdisable; then
13795 defaultval=yes
13796 else
13797 defaultval=no
13798 fi
13799 fi
13800
13801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13802 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13803 # Check whether --enable-joystick was given.
13804 if test "${enable_joystick+set}" = set; then
13805 enableval=$enable_joystick;
13806 if test "$enableval" = yes; then
13807 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13808 else
13809 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13810 fi
13811
13812 else
13813
13814 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13815
13816 fi
13817
13818
13819 eval "$wx_cv_use_joystick"
13820
13821 if test x"$enablestring" = xdisable; then
13822 if test $wxUSE_JOYSTICK = no; then
13823 result=yes
13824 else
13825 result=no
13826 fi
13827 else
13828 result=$wxUSE_JOYSTICK
13829 fi
13830
13831 { echo "$as_me:$LINENO: result: $result" >&5
13832 echo "${ECHO_T}$result" >&6; }
13833
13834
13835 enablestring=
13836 defaultval=$wxUSE_ALL_FEATURES
13837 if test -z "$defaultval"; then
13838 if test x"$enablestring" = xdisable; then
13839 defaultval=yes
13840 else
13841 defaultval=no
13842 fi
13843 fi
13844
13845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13846 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13847 # Check whether --enable-metafile was given.
13848 if test "${enable_metafile+set}" = set; then
13849 enableval=$enable_metafile;
13850 if test "$enableval" = yes; then
13851 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13852 else
13853 wx_cv_use_metafile='wxUSE_METAFILE=no'
13854 fi
13855
13856 else
13857
13858 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13859
13860 fi
13861
13862
13863 eval "$wx_cv_use_metafile"
13864
13865 if test x"$enablestring" = xdisable; then
13866 if test $wxUSE_METAFILE = no; then
13867 result=yes
13868 else
13869 result=no
13870 fi
13871 else
13872 result=$wxUSE_METAFILE
13873 fi
13874
13875 { echo "$as_me:$LINENO: result: $result" >&5
13876 echo "${ECHO_T}$result" >&6; }
13877
13878
13879 enablestring=
13880 defaultval=$wxUSE_ALL_FEATURES
13881 if test -z "$defaultval"; then
13882 if test x"$enablestring" = xdisable; then
13883 defaultval=yes
13884 else
13885 defaultval=no
13886 fi
13887 fi
13888
13889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13890 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13891 # Check whether --enable-dragimage was given.
13892 if test "${enable_dragimage+set}" = set; then
13893 enableval=$enable_dragimage;
13894 if test "$enableval" = yes; then
13895 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13896 else
13897 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13898 fi
13899
13900 else
13901
13902 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13903
13904 fi
13905
13906
13907 eval "$wx_cv_use_dragimage"
13908
13909 if test x"$enablestring" = xdisable; then
13910 if test $wxUSE_DRAGIMAGE = no; then
13911 result=yes
13912 else
13913 result=no
13914 fi
13915 else
13916 result=$wxUSE_DRAGIMAGE
13917 fi
13918
13919 { echo "$as_me:$LINENO: result: $result" >&5
13920 echo "${ECHO_T}$result" >&6; }
13921
13922
13923 enablestring=
13924 defaultval=$wxUSE_ALL_FEATURES
13925 if test -z "$defaultval"; then
13926 if test x"$enablestring" = xdisable; then
13927 defaultval=yes
13928 else
13929 defaultval=no
13930 fi
13931 fi
13932
13933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13934 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13935 # Check whether --enable-accessibility was given.
13936 if test "${enable_accessibility+set}" = set; then
13937 enableval=$enable_accessibility;
13938 if test "$enableval" = yes; then
13939 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13940 else
13941 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13942 fi
13943
13944 else
13945
13946 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13947
13948 fi
13949
13950
13951 eval "$wx_cv_use_accessibility"
13952
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_ACCESSIBILITY = no; then
13955 result=yes
13956 else
13957 result=no
13958 fi
13959 else
13960 result=$wxUSE_ACCESSIBILITY
13961 fi
13962
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13965
13966
13967 enablestring=
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13971 defaultval=yes
13972 else
13973 defaultval=no
13974 fi
13975 fi
13976
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13979 # Check whether --enable-uiactionsim was given.
13980 if test "${enable_uiactionsim+set}" = set; then
13981 enableval=$enable_uiactionsim;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13984 else
13985 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13986 fi
13987
13988 else
13989
13990 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13991
13992 fi
13993
13994
13995 eval "$wx_cv_use_uiactionsim"
13996
13997 if test x"$enablestring" = xdisable; then
13998 if test $wxUSE_UIACTIONSIMULATOR = no; then
13999 result=yes
14000 else
14001 result=no
14002 fi
14003 else
14004 result=$wxUSE_UIACTIONSIMULATOR
14005 fi
14006
14007 { echo "$as_me:$LINENO: result: $result" >&5
14008 echo "${ECHO_T}$result" >&6; }
14009
14010
14011 enablestring=
14012 defaultval=$wxUSE_ALL_FEATURES
14013 if test -z "$defaultval"; then
14014 if test x"$enablestring" = xdisable; then
14015 defaultval=yes
14016 else
14017 defaultval=no
14018 fi
14019 fi
14020
14021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14022 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14023 # Check whether --enable-dctransform was given.
14024 if test "${enable_dctransform+set}" = set; then
14025 enableval=$enable_dctransform;
14026 if test "$enableval" = yes; then
14027 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14028 else
14029 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14030 fi
14031
14032 else
14033
14034 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14035
14036 fi
14037
14038
14039 eval "$wx_cv_use_dctransform"
14040
14041 if test x"$enablestring" = xdisable; then
14042 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14043 result=yes
14044 else
14045 result=no
14046 fi
14047 else
14048 result=$wxUSE_DC_TRANSFORM_MATRIX
14049 fi
14050
14051 { echo "$as_me:$LINENO: result: $result" >&5
14052 echo "${ECHO_T}$result" >&6; }
14053
14054
14055
14056
14057 enablestring=
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14061 defaultval=yes
14062 else
14063 defaultval=no
14064 fi
14065 fi
14066
14067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14068 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14069 # Check whether --enable-palette was given.
14070 if test "${enable_palette+set}" = set; then
14071 enableval=$enable_palette;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_palette='wxUSE_PALETTE=yes'
14074 else
14075 wx_cv_use_palette='wxUSE_PALETTE=no'
14076 fi
14077
14078 else
14079
14080 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14081
14082 fi
14083
14084
14085 eval "$wx_cv_use_palette"
14086
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_PALETTE = no; then
14089 result=yes
14090 else
14091 result=no
14092 fi
14093 else
14094 result=$wxUSE_PALETTE
14095 fi
14096
14097 { echo "$as_me:$LINENO: result: $result" >&5
14098 echo "${ECHO_T}$result" >&6; }
14099
14100
14101 enablestring=
14102 defaultval=$wxUSE_ALL_FEATURES
14103 if test -z "$defaultval"; then
14104 if test x"$enablestring" = xdisable; then
14105 defaultval=yes
14106 else
14107 defaultval=no
14108 fi
14109 fi
14110
14111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14112 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14113 # Check whether --enable-image was given.
14114 if test "${enable_image+set}" = set; then
14115 enableval=$enable_image;
14116 if test "$enableval" = yes; then
14117 wx_cv_use_image='wxUSE_IMAGE=yes'
14118 else
14119 wx_cv_use_image='wxUSE_IMAGE=no'
14120 fi
14121
14122 else
14123
14124 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14125
14126 fi
14127
14128
14129 eval "$wx_cv_use_image"
14130
14131 if test x"$enablestring" = xdisable; then
14132 if test $wxUSE_IMAGE = no; then
14133 result=yes
14134 else
14135 result=no
14136 fi
14137 else
14138 result=$wxUSE_IMAGE
14139 fi
14140
14141 { echo "$as_me:$LINENO: result: $result" >&5
14142 echo "${ECHO_T}$result" >&6; }
14143
14144
14145 enablestring=
14146 defaultval=$wxUSE_ALL_FEATURES
14147 if test -z "$defaultval"; then
14148 if test x"$enablestring" = xdisable; then
14149 defaultval=yes
14150 else
14151 defaultval=no
14152 fi
14153 fi
14154
14155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14156 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14157 # Check whether --enable-gif was given.
14158 if test "${enable_gif+set}" = set; then
14159 enableval=$enable_gif;
14160 if test "$enableval" = yes; then
14161 wx_cv_use_gif='wxUSE_GIF=yes'
14162 else
14163 wx_cv_use_gif='wxUSE_GIF=no'
14164 fi
14165
14166 else
14167
14168 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14169
14170 fi
14171
14172
14173 eval "$wx_cv_use_gif"
14174
14175 if test x"$enablestring" = xdisable; then
14176 if test $wxUSE_GIF = no; then
14177 result=yes
14178 else
14179 result=no
14180 fi
14181 else
14182 result=$wxUSE_GIF
14183 fi
14184
14185 { echo "$as_me:$LINENO: result: $result" >&5
14186 echo "${ECHO_T}$result" >&6; }
14187
14188
14189 enablestring=
14190 defaultval=$wxUSE_ALL_FEATURES
14191 if test -z "$defaultval"; then
14192 if test x"$enablestring" = xdisable; then
14193 defaultval=yes
14194 else
14195 defaultval=no
14196 fi
14197 fi
14198
14199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14200 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14201 # Check whether --enable-pcx was given.
14202 if test "${enable_pcx+set}" = set; then
14203 enableval=$enable_pcx;
14204 if test "$enableval" = yes; then
14205 wx_cv_use_pcx='wxUSE_PCX=yes'
14206 else
14207 wx_cv_use_pcx='wxUSE_PCX=no'
14208 fi
14209
14210 else
14211
14212 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14213
14214 fi
14215
14216
14217 eval "$wx_cv_use_pcx"
14218
14219 if test x"$enablestring" = xdisable; then
14220 if test $wxUSE_PCX = no; then
14221 result=yes
14222 else
14223 result=no
14224 fi
14225 else
14226 result=$wxUSE_PCX
14227 fi
14228
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14231
14232
14233 enablestring=
14234 defaultval=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x"$enablestring" = xdisable; then
14237 defaultval=yes
14238 else
14239 defaultval=no
14240 fi
14241 fi
14242
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14245 # Check whether --enable-tga was given.
14246 if test "${enable_tga+set}" = set; then
14247 enableval=$enable_tga;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_tga='wxUSE_TGA=yes'
14250 else
14251 wx_cv_use_tga='wxUSE_TGA=no'
14252 fi
14253
14254 else
14255
14256 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14257
14258 fi
14259
14260
14261 eval "$wx_cv_use_tga"
14262
14263 if test x"$enablestring" = xdisable; then
14264 if test $wxUSE_TGA = no; then
14265 result=yes
14266 else
14267 result=no
14268 fi
14269 else
14270 result=$wxUSE_TGA
14271 fi
14272
14273 { echo "$as_me:$LINENO: result: $result" >&5
14274 echo "${ECHO_T}$result" >&6; }
14275
14276
14277 enablestring=
14278 defaultval=$wxUSE_ALL_FEATURES
14279 if test -z "$defaultval"; then
14280 if test x"$enablestring" = xdisable; then
14281 defaultval=yes
14282 else
14283 defaultval=no
14284 fi
14285 fi
14286
14287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14288 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14289 # Check whether --enable-iff was given.
14290 if test "${enable_iff+set}" = set; then
14291 enableval=$enable_iff;
14292 if test "$enableval" = yes; then
14293 wx_cv_use_iff='wxUSE_IFF=yes'
14294 else
14295 wx_cv_use_iff='wxUSE_IFF=no'
14296 fi
14297
14298 else
14299
14300 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14301
14302 fi
14303
14304
14305 eval "$wx_cv_use_iff"
14306
14307 if test x"$enablestring" = xdisable; then
14308 if test $wxUSE_IFF = no; then
14309 result=yes
14310 else
14311 result=no
14312 fi
14313 else
14314 result=$wxUSE_IFF
14315 fi
14316
14317 { echo "$as_me:$LINENO: result: $result" >&5
14318 echo "${ECHO_T}$result" >&6; }
14319
14320
14321 enablestring=
14322 defaultval=$wxUSE_ALL_FEATURES
14323 if test -z "$defaultval"; then
14324 if test x"$enablestring" = xdisable; then
14325 defaultval=yes
14326 else
14327 defaultval=no
14328 fi
14329 fi
14330
14331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14332 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14333 # Check whether --enable-pnm was given.
14334 if test "${enable_pnm+set}" = set; then
14335 enableval=$enable_pnm;
14336 if test "$enableval" = yes; then
14337 wx_cv_use_pnm='wxUSE_PNM=yes'
14338 else
14339 wx_cv_use_pnm='wxUSE_PNM=no'
14340 fi
14341
14342 else
14343
14344 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14345
14346 fi
14347
14348
14349 eval "$wx_cv_use_pnm"
14350
14351 if test x"$enablestring" = xdisable; then
14352 if test $wxUSE_PNM = no; then
14353 result=yes
14354 else
14355 result=no
14356 fi
14357 else
14358 result=$wxUSE_PNM
14359 fi
14360
14361 { echo "$as_me:$LINENO: result: $result" >&5
14362 echo "${ECHO_T}$result" >&6; }
14363
14364
14365 enablestring=
14366 defaultval=$wxUSE_ALL_FEATURES
14367 if test -z "$defaultval"; then
14368 if test x"$enablestring" = xdisable; then
14369 defaultval=yes
14370 else
14371 defaultval=no
14372 fi
14373 fi
14374
14375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14377 # Check whether --enable-xpm was given.
14378 if test "${enable_xpm+set}" = set; then
14379 enableval=$enable_xpm;
14380 if test "$enableval" = yes; then
14381 wx_cv_use_xpm='wxUSE_XPM=yes'
14382 else
14383 wx_cv_use_xpm='wxUSE_XPM=no'
14384 fi
14385
14386 else
14387
14388 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14389
14390 fi
14391
14392
14393 eval "$wx_cv_use_xpm"
14394
14395 if test x"$enablestring" = xdisable; then
14396 if test $wxUSE_XPM = no; then
14397 result=yes
14398 else
14399 result=no
14400 fi
14401 else
14402 result=$wxUSE_XPM
14403 fi
14404
14405 { echo "$as_me:$LINENO: result: $result" >&5
14406 echo "${ECHO_T}$result" >&6; }
14407
14408
14409 enablestring=
14410 defaultval=$wxUSE_ALL_FEATURES
14411 if test -z "$defaultval"; then
14412 if test x"$enablestring" = xdisable; then
14413 defaultval=yes
14414 else
14415 defaultval=no
14416 fi
14417 fi
14418
14419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14420 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14421 # Check whether --enable-ico_cur was given.
14422 if test "${enable_ico_cur+set}" = set; then
14423 enableval=$enable_ico_cur;
14424 if test "$enableval" = yes; then
14425 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14426 else
14427 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14428 fi
14429
14430 else
14431
14432 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14433
14434 fi
14435
14436
14437 eval "$wx_cv_use_ico_cur"
14438
14439 if test x"$enablestring" = xdisable; then
14440 if test $wxUSE_ICO_CUR = no; then
14441 result=yes
14442 else
14443 result=no
14444 fi
14445 else
14446 result=$wxUSE_ICO_CUR
14447 fi
14448
14449 { echo "$as_me:$LINENO: result: $result" >&5
14450 echo "${ECHO_T}$result" >&6; }
14451
14452
14453
14454
14455 enablestring=
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14459 defaultval=yes
14460 else
14461 defaultval=no
14462 fi
14463 fi
14464
14465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14466 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14467 # Check whether --enable-dccache was given.
14468 if test "${enable_dccache+set}" = set; then
14469 enableval=$enable_dccache;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14472 else
14473 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14474 fi
14475
14476 else
14477
14478 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14479
14480 fi
14481
14482
14483 eval "$wx_cv_use_dccache"
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_DC_CACHEING = no; then
14487 result=yes
14488 else
14489 result=no
14490 fi
14491 else
14492 result=$wxUSE_DC_CACHEING
14493 fi
14494
14495 { echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6; }
14497
14498
14499 enablestring=
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14503 defaultval=yes
14504 else
14505 defaultval=no
14506 fi
14507 fi
14508
14509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14511 # Check whether --enable-ps-in-msw was given.
14512 if test "${enable_ps_in_msw+set}" = set; then
14513 enableval=$enable_ps_in_msw;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14516 else
14517 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14518 fi
14519
14520 else
14521
14522 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14523
14524 fi
14525
14526
14527 eval "$wx_cv_use_ps_in_msw"
14528
14529 if test x"$enablestring" = xdisable; then
14530 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14531 result=yes
14532 else
14533 result=no
14534 fi
14535 else
14536 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14537 fi
14538
14539 { echo "$as_me:$LINENO: result: $result" >&5
14540 echo "${ECHO_T}$result" >&6; }
14541
14542
14543 enablestring=
14544 defaultval=$wxUSE_ALL_FEATURES
14545 if test -z "$defaultval"; then
14546 if test x"$enablestring" = xdisable; then
14547 defaultval=yes
14548 else
14549 defaultval=no
14550 fi
14551 fi
14552
14553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14554 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14555 # Check whether --enable-ownerdrawn was given.
14556 if test "${enable_ownerdrawn+set}" = set; then
14557 enableval=$enable_ownerdrawn;
14558 if test "$enableval" = yes; then
14559 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14560 else
14561 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14562 fi
14563
14564 else
14565
14566 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_ownerdrawn"
14572
14573 if test x"$enablestring" = xdisable; then
14574 if test $wxUSE_OWNER_DRAWN = no; then
14575 result=yes
14576 else
14577 result=no
14578 fi
14579 else
14580 result=$wxUSE_OWNER_DRAWN
14581 fi
14582
14583 { echo "$as_me:$LINENO: result: $result" >&5
14584 echo "${ECHO_T}$result" >&6; }
14585
14586
14587 enablestring=
14588 defaultval=$wxUSE_ALL_FEATURES
14589 if test -z "$defaultval"; then
14590 if test x"$enablestring" = xdisable; then
14591 defaultval=yes
14592 else
14593 defaultval=no
14594 fi
14595 fi
14596
14597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14598 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14599 # Check whether --enable-uxtheme was given.
14600 if test "${enable_uxtheme+set}" = set; then
14601 enableval=$enable_uxtheme;
14602 if test "$enableval" = yes; then
14603 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14604 else
14605 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14606 fi
14607
14608 else
14609
14610 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14611
14612 fi
14613
14614
14615 eval "$wx_cv_use_uxtheme"
14616
14617 if test x"$enablestring" = xdisable; then
14618 if test $wxUSE_UXTHEME = no; then
14619 result=yes
14620 else
14621 result=no
14622 fi
14623 else
14624 result=$wxUSE_UXTHEME
14625 fi
14626
14627 { echo "$as_me:$LINENO: result: $result" >&5
14628 echo "${ECHO_T}$result" >&6; }
14629
14630
14631 enablestring=
14632 defaultval=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x"$enablestring" = xdisable; then
14635 defaultval=yes
14636 else
14637 defaultval=no
14638 fi
14639 fi
14640
14641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14642 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14643 # Check whether --enable-wxdib was given.
14644 if test "${enable_wxdib+set}" = set; then
14645 enableval=$enable_wxdib;
14646 if test "$enableval" = yes; then
14647 wx_cv_use_wxdib='wxUSE_DIB=yes'
14648 else
14649 wx_cv_use_wxdib='wxUSE_DIB=no'
14650 fi
14651
14652 else
14653
14654 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14655
14656 fi
14657
14658
14659 eval "$wx_cv_use_wxdib"
14660
14661 if test x"$enablestring" = xdisable; then
14662 if test $wxUSE_DIB = no; then
14663 result=yes
14664 else
14665 result=no
14666 fi
14667 else
14668 result=$wxUSE_DIB
14669 fi
14670
14671 { echo "$as_me:$LINENO: result: $result" >&5
14672 echo "${ECHO_T}$result" >&6; }
14673
14674
14675 if test "$wxUSE_MSW" != 1; then
14676 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14677 fi
14678
14679
14680 enablestring=
14681 defaultval=$wxUSE_ALL_FEATURES
14682 if test -z "$defaultval"; then
14683 if test x"$enablestring" = xdisable; then
14684 defaultval=yes
14685 else
14686 defaultval=no
14687 fi
14688 fi
14689
14690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14691 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14692 # Check whether --enable-autoidman was given.
14693 if test "${enable_autoidman+set}" = set; then
14694 enableval=$enable_autoidman;
14695 if test "$enableval" = yes; then
14696 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14697 else
14698 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14699 fi
14700
14701 else
14702
14703 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14704
14705 fi
14706
14707
14708 eval "$wx_cv_use_autoidman"
14709
14710 if test x"$enablestring" = xdisable; then
14711 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14712 result=yes
14713 else
14714 result=no
14715 fi
14716 else
14717 result=$wxUSE_AUTOID_MANAGEMENT
14718 fi
14719
14720 { echo "$as_me:$LINENO: result: $result" >&5
14721 echo "${ECHO_T}$result" >&6; }
14722
14723
14724 fi
14725
14726
14727 cat >confcache <<\_ACEOF
14728 # This file is a shell script that caches the results of configure
14729 # tests run on this system so they can be shared between configure
14730 # scripts and configure runs, see configure's option --config-cache.
14731 # It is not useful on other systems. If it contains results you don't
14732 # want to keep, you may remove or edit it.
14733 #
14734 # config.status only pays attention to the cache file if you give it
14735 # the --recheck option to rerun configure.
14736 #
14737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14739 # following values.
14740
14741 _ACEOF
14742
14743 # The following way of writing the cache mishandles newlines in values,
14744 # but we know of no workaround that is simple, portable, and efficient.
14745 # So, we kill variables containing newlines.
14746 # Ultrix sh set writes to stderr and can't be redirected directly,
14747 # and sets the high bit in the cache file unless we assign to the vars.
14748 (
14749 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14750 eval ac_val=\$$ac_var
14751 case $ac_val in #(
14752 *${as_nl}*)
14753 case $ac_var in #(
14754 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14755 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14756 esac
14757 case $ac_var in #(
14758 _ | IFS | as_nl) ;; #(
14759 *) $as_unset $ac_var ;;
14760 esac ;;
14761 esac
14762 done
14763
14764 (set) 2>&1 |
14765 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14766 *${as_nl}ac_space=\ *)
14767 # `set' does not quote correctly, so add quotes (double-quote
14768 # substitution turns \\\\ into \\, and sed turns \\ into \).
14769 sed -n \
14770 "s/'/'\\\\''/g;
14771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14772 ;; #(
14773 *)
14774 # `set' quotes correctly as required by POSIX, so do not add quotes.
14775 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14776 ;;
14777 esac |
14778 sort
14779 ) |
14780 sed '
14781 /^ac_cv_env_/b end
14782 t clear
14783 :clear
14784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14785 t end
14786 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14787 :end' >>confcache
14788 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14789 if test -w "$cache_file"; then
14790 test "x$cache_file" != "x/dev/null" &&
14791 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14792 echo "$as_me: updating cache $cache_file" >&6;}
14793 cat confcache >$cache_file
14794 else
14795 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14796 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14797 fi
14798 fi
14799 rm -f confcache
14800
14801 CFLAGS=${CFLAGS:=}
14802 ac_ext=c
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14807 if test -n "$ac_tool_prefix"; then
14808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14809 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14812 if test "${ac_cv_prog_CC+set}" = set; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else
14815 if test -n "$CC"; then
14816 ac_cv_prog_CC="$CC" # Let the user override the test.
14817 else
14818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14819 for as_dir in $PATH
14820 do
14821 IFS=$as_save_IFS
14822 test -z "$as_dir" && as_dir=.
14823 for ac_exec_ext in '' $ac_executable_extensions; do
14824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14825 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14827 break 2
14828 fi
14829 done
14830 done
14831 IFS=$as_save_IFS
14832
14833 fi
14834 fi
14835 CC=$ac_cv_prog_CC
14836 if test -n "$CC"; then
14837 { echo "$as_me:$LINENO: result: $CC" >&5
14838 echo "${ECHO_T}$CC" >&6; }
14839 else
14840 { echo "$as_me:$LINENO: result: no" >&5
14841 echo "${ECHO_T}no" >&6; }
14842 fi
14843
14844
14845 fi
14846 if test -z "$ac_cv_prog_CC"; then
14847 ac_ct_CC=$CC
14848 # Extract the first word of "gcc", so it can be a program name with args.
14849 set dummy gcc; ac_word=$2
14850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14853 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 else
14855 if test -n "$ac_ct_CC"; then
14856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14857 else
14858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14859 for as_dir in $PATH
14860 do
14861 IFS=$as_save_IFS
14862 test -z "$as_dir" && as_dir=.
14863 for ac_exec_ext in '' $ac_executable_extensions; do
14864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14865 ac_cv_prog_ac_ct_CC="gcc"
14866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14867 break 2
14868 fi
14869 done
14870 done
14871 IFS=$as_save_IFS
14872
14873 fi
14874 fi
14875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14876 if test -n "$ac_ct_CC"; then
14877 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14878 echo "${ECHO_T}$ac_ct_CC" >&6; }
14879 else
14880 { echo "$as_me:$LINENO: result: no" >&5
14881 echo "${ECHO_T}no" >&6; }
14882 fi
14883
14884 if test "x$ac_ct_CC" = x; then
14885 CC=""
14886 else
14887 case $cross_compiling:$ac_tool_warned in
14888 yes:)
14889 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14890 whose name does not start with the host triplet. If you think this
14891 configuration is useful to you, please write to autoconf@gnu.org." >&5
14892 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14893 whose name does not start with the host triplet. If you think this
14894 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14895 ac_tool_warned=yes ;;
14896 esac
14897 CC=$ac_ct_CC
14898 fi
14899 else
14900 CC="$ac_cv_prog_CC"
14901 fi
14902
14903 if test -z "$CC"; then
14904 if test -n "$ac_tool_prefix"; then
14905 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14906 set dummy ${ac_tool_prefix}cc; ac_word=$2
14907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14909 if test "${ac_cv_prog_CC+set}" = set; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 else
14912 if test -n "$CC"; then
14913 ac_cv_prog_CC="$CC" # Let the user override the test.
14914 else
14915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14916 for as_dir in $PATH
14917 do
14918 IFS=$as_save_IFS
14919 test -z "$as_dir" && as_dir=.
14920 for ac_exec_ext in '' $ac_executable_extensions; do
14921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14922 ac_cv_prog_CC="${ac_tool_prefix}cc"
14923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14924 break 2
14925 fi
14926 done
14927 done
14928 IFS=$as_save_IFS
14929
14930 fi
14931 fi
14932 CC=$ac_cv_prog_CC
14933 if test -n "$CC"; then
14934 { echo "$as_me:$LINENO: result: $CC" >&5
14935 echo "${ECHO_T}$CC" >&6; }
14936 else
14937 { echo "$as_me:$LINENO: result: no" >&5
14938 echo "${ECHO_T}no" >&6; }
14939 fi
14940
14941
14942 fi
14943 fi
14944 if test -z "$CC"; then
14945 # Extract the first word of "cc", so it can be a program name with args.
14946 set dummy cc; ac_word=$2
14947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14949 if test "${ac_cv_prog_CC+set}" = set; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14951 else
14952 if test -n "$CC"; then
14953 ac_cv_prog_CC="$CC" # Let the user override the test.
14954 else
14955 ac_prog_rejected=no
14956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14957 for as_dir in $PATH
14958 do
14959 IFS=$as_save_IFS
14960 test -z "$as_dir" && as_dir=.
14961 for ac_exec_ext in '' $ac_executable_extensions; do
14962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14963 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14964 ac_prog_rejected=yes
14965 continue
14966 fi
14967 ac_cv_prog_CC="cc"
14968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14969 break 2
14970 fi
14971 done
14972 done
14973 IFS=$as_save_IFS
14974
14975 if test $ac_prog_rejected = yes; then
14976 # We found a bogon in the path, so make sure we never use it.
14977 set dummy $ac_cv_prog_CC
14978 shift
14979 if test $# != 0; then
14980 # We chose a different compiler from the bogus one.
14981 # However, it has the same basename, so the bogon will be chosen
14982 # first if we set CC to just the basename; use the full file name.
14983 shift
14984 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14985 fi
14986 fi
14987 fi
14988 fi
14989 CC=$ac_cv_prog_CC
14990 if test -n "$CC"; then
14991 { echo "$as_me:$LINENO: result: $CC" >&5
14992 echo "${ECHO_T}$CC" >&6; }
14993 else
14994 { echo "$as_me:$LINENO: result: no" >&5
14995 echo "${ECHO_T}no" >&6; }
14996 fi
14997
14998
14999 fi
15000 if test -z "$CC"; then
15001 if test -n "$ac_tool_prefix"; then
15002 for ac_prog in cl.exe
15003 do
15004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15008 if test "${ac_cv_prog_CC+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15011 if test -n "$CC"; then
15012 ac_cv_prog_CC="$CC" # Let the user override the test.
15013 else
15014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15015 for as_dir in $PATH
15016 do
15017 IFS=$as_save_IFS
15018 test -z "$as_dir" && as_dir=.
15019 for ac_exec_ext in '' $ac_executable_extensions; do
15020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15021 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 break 2
15024 fi
15025 done
15026 done
15027 IFS=$as_save_IFS
15028
15029 fi
15030 fi
15031 CC=$ac_cv_prog_CC
15032 if test -n "$CC"; then
15033 { echo "$as_me:$LINENO: result: $CC" >&5
15034 echo "${ECHO_T}$CC" >&6; }
15035 else
15036 { echo "$as_me:$LINENO: result: no" >&5
15037 echo "${ECHO_T}no" >&6; }
15038 fi
15039
15040
15041 test -n "$CC" && break
15042 done
15043 fi
15044 if test -z "$CC"; then
15045 ac_ct_CC=$CC
15046 for ac_prog in cl.exe
15047 do
15048 # Extract the first word of "$ac_prog", so it can be a program name with args.
15049 set dummy $ac_prog; ac_word=$2
15050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 else
15055 if test -n "$ac_ct_CC"; then
15056 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15057 else
15058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15059 for as_dir in $PATH
15060 do
15061 IFS=$as_save_IFS
15062 test -z "$as_dir" && as_dir=.
15063 for ac_exec_ext in '' $ac_executable_extensions; do
15064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15065 ac_cv_prog_ac_ct_CC="$ac_prog"
15066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 break 2
15068 fi
15069 done
15070 done
15071 IFS=$as_save_IFS
15072
15073 fi
15074 fi
15075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15076 if test -n "$ac_ct_CC"; then
15077 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15078 echo "${ECHO_T}$ac_ct_CC" >&6; }
15079 else
15080 { echo "$as_me:$LINENO: result: no" >&5
15081 echo "${ECHO_T}no" >&6; }
15082 fi
15083
15084
15085 test -n "$ac_ct_CC" && break
15086 done
15087
15088 if test "x$ac_ct_CC" = x; then
15089 CC=""
15090 else
15091 case $cross_compiling:$ac_tool_warned in
15092 yes:)
15093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15094 whose name does not start with the host triplet. If you think this
15095 configuration is useful to you, please write to autoconf@gnu.org." >&5
15096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15097 whose name does not start with the host triplet. If you think this
15098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15099 ac_tool_warned=yes ;;
15100 esac
15101 CC=$ac_ct_CC
15102 fi
15103 fi
15104
15105 fi
15106
15107
15108 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15109 See \`config.log' for more details." >&5
15110 echo "$as_me: error: no acceptable C compiler found in \$PATH
15111 See \`config.log' for more details." >&2;}
15112 { (exit 1); exit 1; }; }
15113
15114 # Provide some information about the compiler.
15115 echo "$as_me:$LINENO: checking for C compiler version" >&5
15116 ac_compiler=`set X $ac_compile; echo $2`
15117 { (ac_try="$ac_compiler --version >&5"
15118 case "(($ac_try" in
15119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15120 *) ac_try_echo=$ac_try;;
15121 esac
15122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15123 (eval "$ac_compiler --version >&5") 2>&5
15124 ac_status=$?
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }
15127 { (ac_try="$ac_compiler -v >&5"
15128 case "(($ac_try" in
15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15130 *) ac_try_echo=$ac_try;;
15131 esac
15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15133 (eval "$ac_compiler -v >&5") 2>&5
15134 ac_status=$?
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }
15137 { (ac_try="$ac_compiler -V >&5"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15141 esac
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_compiler -V >&5") 2>&5
15144 ac_status=$?
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }
15147
15148 cat >conftest.$ac_ext <<_ACEOF
15149 /* confdefs.h. */
15150 _ACEOF
15151 cat confdefs.h >>conftest.$ac_ext
15152 cat >>conftest.$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154
15155 int
15156 main ()
15157 {
15158
15159 ;
15160 return 0;
15161 }
15162 _ACEOF
15163 ac_clean_files_save=$ac_clean_files
15164 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15165 # Try to create an executable without -o first, disregard a.out.
15166 # It will help us diagnose broken compilers, and finding out an intuition
15167 # of exeext.
15168 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15169 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15170 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15171 #
15172 # List of possible output files, starting from the most likely.
15173 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15174 # only as a last resort. b.out is created by i960 compilers.
15175 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15176 #
15177 # The IRIX 6 linker writes into existing files which may not be
15178 # executable, retaining their permissions. Remove them first so a
15179 # subsequent execution test works.
15180 ac_rmfiles=
15181 for ac_file in $ac_files
15182 do
15183 case $ac_file in
15184 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15185 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15186 esac
15187 done
15188 rm -f $ac_rmfiles
15189
15190 if { (ac_try="$ac_link_default"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15194 esac
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link_default") 2>&5
15197 ac_status=$?
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; then
15200 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15201 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15202 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15203 # so that the user can short-circuit this test for compilers unknown to
15204 # Autoconf.
15205 for ac_file in $ac_files ''
15206 do
15207 test -f "$ac_file" || continue
15208 case $ac_file in
15209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15210 ;;
15211 [ab].out )
15212 # We found the default executable, but exeext='' is most
15213 # certainly right.
15214 break;;
15215 *.* )
15216 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15217 then :; else
15218 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15219 fi
15220 # We set ac_cv_exeext here because the later test for it is not
15221 # safe: cross compilers may not add the suffix if given an `-o'
15222 # argument, so we may need to know it at that point already.
15223 # Even if this section looks crufty: it has the advantage of
15224 # actually working.
15225 break;;
15226 * )
15227 break;;
15228 esac
15229 done
15230 test "$ac_cv_exeext" = no && ac_cv_exeext=
15231
15232 else
15233 ac_file=''
15234 fi
15235
15236 { echo "$as_me:$LINENO: result: $ac_file" >&5
15237 echo "${ECHO_T}$ac_file" >&6; }
15238 if test -z "$ac_file"; then
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15241
15242 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15243 See \`config.log' for more details." >&5
15244 echo "$as_me: error: C compiler cannot create executables
15245 See \`config.log' for more details." >&2;}
15246 { (exit 77); exit 77; }; }
15247 fi
15248
15249 ac_exeext=$ac_cv_exeext
15250
15251 # Check that the compiler produces executables we can run. If not, either
15252 # the compiler is broken, or we cross compile.
15253 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15254 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15255 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15256 # If not cross compiling, check that we can run a simple program.
15257 if test "$cross_compiling" != yes; then
15258 if { ac_try='./$ac_file'
15259 { (case "(($ac_try" in
15260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15261 *) ac_try_echo=$ac_try;;
15262 esac
15263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15264 (eval "$ac_try") 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 cross_compiling=no
15269 else
15270 if test "$cross_compiling" = maybe; then
15271 cross_compiling=yes
15272 else
15273 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15274 If you meant to cross compile, use \`--host'.
15275 See \`config.log' for more details." >&5
15276 echo "$as_me: error: cannot run C compiled programs.
15277 If you meant to cross compile, use \`--host'.
15278 See \`config.log' for more details." >&2;}
15279 { (exit 1); exit 1; }; }
15280 fi
15281 fi
15282 fi
15283 { echo "$as_me:$LINENO: result: yes" >&5
15284 echo "${ECHO_T}yes" >&6; }
15285
15286 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15287 ac_clean_files=$ac_clean_files_save
15288 # Check that the compiler produces executables we can run. If not, either
15289 # the compiler is broken, or we cross compile.
15290 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15291 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15292 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15293 echo "${ECHO_T}$cross_compiling" >&6; }
15294
15295 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15296 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15297 if { (ac_try="$ac_link"
15298 case "(($ac_try" in
15299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15301 esac
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_link") 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; then
15307 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15308 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15309 # work properly (i.e., refer to `conftest.exe'), while it won't with
15310 # `rm'.
15311 for ac_file in conftest.exe conftest conftest.*; do
15312 test -f "$ac_file" || continue
15313 case $ac_file in
15314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15315 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15316 break;;
15317 * ) break;;
15318 esac
15319 done
15320 else
15321 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15322 See \`config.log' for more details." >&5
15323 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15324 See \`config.log' for more details." >&2;}
15325 { (exit 1); exit 1; }; }
15326 fi
15327
15328 rm -f conftest$ac_cv_exeext
15329 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15330 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15331
15332 rm -f conftest.$ac_ext
15333 EXEEXT=$ac_cv_exeext
15334 ac_exeext=$EXEEXT
15335 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15336 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15337 if test "${ac_cv_objext+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340 cat >conftest.$ac_ext <<_ACEOF
15341 /* confdefs.h. */
15342 _ACEOF
15343 cat confdefs.h >>conftest.$ac_ext
15344 cat >>conftest.$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346
15347 int
15348 main ()
15349 {
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.o conftest.obj
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>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; then
15366 for ac_file in conftest.o conftest.obj conftest.*; do
15367 test -f "$ac_file" || continue;
15368 case $ac_file in
15369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15371 break;;
15372 esac
15373 done
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15377
15378 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15379 See \`config.log' for more details." >&5
15380 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15381 See \`config.log' for more details." >&2;}
15382 { (exit 1); exit 1; }; }
15383 fi
15384
15385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15386 fi
15387 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15388 echo "${ECHO_T}$ac_cv_objext" >&6; }
15389 OBJEXT=$ac_cv_objext
15390 ac_objext=$OBJEXT
15391 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15392 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15393 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15394 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 else
15396 cat >conftest.$ac_ext <<_ACEOF
15397 /* confdefs.h. */
15398 _ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402
15403 int
15404 main ()
15405 {
15406 #ifndef __GNUC__
15407 choke me
15408 #endif
15409
15410 ;
15411 return 0;
15412 }
15413 _ACEOF
15414 rm -f conftest.$ac_objext
15415 if { (ac_try="$ac_compile"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_compile") 2>conftest.er1
15422 ac_status=$?
15423 grep -v '^ *+' conftest.er1 >conftest.err
15424 rm -f conftest.er1
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && {
15428 test -z "$ac_c_werror_flag" ||
15429 test ! -s conftest.err
15430 } && test -s conftest.$ac_objext; then
15431 ac_compiler_gnu=yes
15432 else
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15435
15436 ac_compiler_gnu=no
15437 fi
15438
15439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15440 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15441
15442 fi
15443 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15444 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15445 GCC=`test $ac_compiler_gnu = yes && echo yes`
15446 ac_test_CFLAGS=${CFLAGS+set}
15447 ac_save_CFLAGS=$CFLAGS
15448 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15449 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15450 if test "${ac_cv_prog_cc_g+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 else
15453 ac_save_c_werror_flag=$ac_c_werror_flag
15454 ac_c_werror_flag=yes
15455 ac_cv_prog_cc_g=no
15456 CFLAGS="-g"
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15463
15464 int
15465 main ()
15466 {
15467
15468 ;
15469 return 0;
15470 }
15471 _ACEOF
15472 rm -f conftest.$ac_objext
15473 if { (ac_try="$ac_compile"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15477 esac
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_compile") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest.$ac_objext; then
15489 ac_cv_prog_cc_g=yes
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15493
15494 CFLAGS=""
15495 cat >conftest.$ac_ext <<_ACEOF
15496 /* confdefs.h. */
15497 _ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501
15502 int
15503 main ()
15504 {
15505
15506 ;
15507 return 0;
15508 }
15509 _ACEOF
15510 rm -f conftest.$ac_objext
15511 if { (ac_try="$ac_compile"
15512 case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15515 esac
15516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_compile") 2>conftest.er1
15518 ac_status=$?
15519 grep -v '^ *+' conftest.er1 >conftest.err
15520 rm -f conftest.er1
15521 cat conftest.err >&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } && {
15524 test -z "$ac_c_werror_flag" ||
15525 test ! -s conftest.err
15526 } && test -s conftest.$ac_objext; then
15527 :
15528 else
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15531
15532 ac_c_werror_flag=$ac_save_c_werror_flag
15533 CFLAGS="-g"
15534 cat >conftest.$ac_ext <<_ACEOF
15535 /* confdefs.h. */
15536 _ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15540
15541 int
15542 main ()
15543 {
15544
15545 ;
15546 return 0;
15547 }
15548 _ACEOF
15549 rm -f conftest.$ac_objext
15550 if { (ac_try="$ac_compile"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15554 esac
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_compile") 2>conftest.er1
15557 ac_status=$?
15558 grep -v '^ *+' conftest.er1 >conftest.err
15559 rm -f conftest.er1
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } && {
15563 test -z "$ac_c_werror_flag" ||
15564 test ! -s conftest.err
15565 } && test -s conftest.$ac_objext; then
15566 ac_cv_prog_cc_g=yes
15567 else
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15570
15571
15572 fi
15573
15574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15575 fi
15576
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15578 fi
15579
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581 ac_c_werror_flag=$ac_save_c_werror_flag
15582 fi
15583 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15584 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15585 if test "$ac_test_CFLAGS" = set; then
15586 CFLAGS=$ac_save_CFLAGS
15587 elif test $ac_cv_prog_cc_g = yes; then
15588 if test "$GCC" = yes; then
15589 CFLAGS="-g -O2"
15590 else
15591 CFLAGS="-g"
15592 fi
15593 else
15594 if test "$GCC" = yes; then
15595 CFLAGS="-O2"
15596 else
15597 CFLAGS=
15598 fi
15599 fi
15600 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15601 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15602 if test "${ac_cv_prog_cc_c89+set}" = set; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15604 else
15605 ac_cv_prog_cc_c89=no
15606 ac_save_CC=$CC
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 #include <stdarg.h>
15614 #include <stdio.h>
15615 #include <sys/types.h>
15616 #include <sys/stat.h>
15617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15618 struct buf { int x; };
15619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15620 static char *e (p, i)
15621 char **p;
15622 int i;
15623 {
15624 return p[i];
15625 }
15626 static char *f (char * (*g) (char **, int), char **p, ...)
15627 {
15628 char *s;
15629 va_list v;
15630 va_start (v,p);
15631 s = g (p, va_arg (v,int));
15632 va_end (v);
15633 return s;
15634 }
15635
15636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15637 function prototypes and stuff, but not '\xHH' hex character constants.
15638 These don't provoke an error unfortunately, instead are silently treated
15639 as 'x'. The following induces an error, until -std is added to get
15640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15641 array size at least. It's necessary to write '\x00'==0 to get something
15642 that's true only with -std. */
15643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15644
15645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15646 inside strings and character constants. */
15647 #define FOO(x) 'x'
15648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15649
15650 int test (int i, double x);
15651 struct s1 {int (*f) (int a);};
15652 struct s2 {int (*f) (double a);};
15653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15654 int argc;
15655 char **argv;
15656 int
15657 main ()
15658 {
15659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15660 ;
15661 return 0;
15662 }
15663 _ACEOF
15664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15666 do
15667 CC="$ac_save_CC $ac_arg"
15668 rm -f conftest.$ac_objext
15669 if { (ac_try="$ac_compile"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15673 esac
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_compile") 2>conftest.er1
15676 ac_status=$?
15677 grep -v '^ *+' conftest.er1 >conftest.err
15678 rm -f conftest.er1
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest.$ac_objext; then
15685 ac_cv_prog_cc_c89=$ac_arg
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15689
15690
15691 fi
15692
15693 rm -f core conftest.err conftest.$ac_objext
15694 test "x$ac_cv_prog_cc_c89" != "xno" && break
15695 done
15696 rm -f conftest.$ac_ext
15697 CC=$ac_save_CC
15698
15699 fi
15700 # AC_CACHE_VAL
15701 case "x$ac_cv_prog_cc_c89" in
15702 x)
15703 { echo "$as_me:$LINENO: result: none needed" >&5
15704 echo "${ECHO_T}none needed" >&6; } ;;
15705 xno)
15706 { echo "$as_me:$LINENO: result: unsupported" >&5
15707 echo "${ECHO_T}unsupported" >&6; } ;;
15708 *)
15709 CC="$CC $ac_cv_prog_cc_c89"
15710 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15711 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15712 esac
15713
15714
15715 ac_ext=c
15716 ac_cpp='$CPP $CPPFLAGS'
15717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15720
15721
15722
15723
15724
15725
15726
15727
15728 ac_ext=c
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15733
15734 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15735 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15736 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 else
15739 cat >conftest.$ac_ext <<_ACEOF
15740 /* confdefs.h. */
15741 _ACEOF
15742 cat confdefs.h >>conftest.$ac_ext
15743 cat >>conftest.$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15745
15746 int
15747 main ()
15748 {
15749
15750 #ifndef __INTEL_COMPILER
15751 choke me
15752 #endif
15753
15754 ;
15755 return 0;
15756 }
15757 _ACEOF
15758 rm -f conftest.$ac_objext
15759 if { (ac_try="$ac_compile"
15760 case "(($ac_try" in
15761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15762 *) ac_try_echo=$ac_try;;
15763 esac
15764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15765 (eval "$ac_compile") 2>conftest.er1
15766 ac_status=$?
15767 grep -v '^ *+' conftest.er1 >conftest.err
15768 rm -f conftest.er1
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } && {
15772 test -z "$ac_c_werror_flag" ||
15773 test ! -s conftest.err
15774 } && test -s conftest.$ac_objext; then
15775 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15776 else
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15779
15780 bakefile_cv_c_compiler___INTEL_COMPILER=no
15781
15782 fi
15783
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785
15786
15787 fi
15788 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15789 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15790 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15791 :; INTELCC=yes
15792 else
15793 :;
15794 fi
15795 ac_ext=c
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15800
15801
15802
15803
15804 if test "$INTELCC" = "yes"; then
15805
15806
15807 ac_ext=c
15808 ac_cpp='$CPP $CPPFLAGS'
15809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15812
15813 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15814 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15815 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 else
15818 cat >conftest.$ac_ext <<_ACEOF
15819 /* confdefs.h. */
15820 _ACEOF
15821 cat confdefs.h >>conftest.$ac_ext
15822 cat >>conftest.$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824
15825 int
15826 main ()
15827 {
15828
15829 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15830 choke me
15831 #endif
15832
15833 ;
15834 return 0;
15835 }
15836 _ACEOF
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15842 esac
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15845 ac_status=$?
15846 grep -v '^ *+' conftest.er1 >conftest.err
15847 rm -f conftest.er1
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15855 else
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15858
15859 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15860
15861 fi
15862
15863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15864
15865
15866 fi
15867 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15868 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15869 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15870 :; INTELCC8=yes
15871 else
15872 :;
15873 fi
15874 ac_ext=c
15875 ac_cpp='$CPP $CPPFLAGS'
15876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15879
15880
15881
15882
15883
15884 ac_ext=c
15885 ac_cpp='$CPP $CPPFLAGS'
15886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15889
15890 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15891 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15892 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 else
15895 cat >conftest.$ac_ext <<_ACEOF
15896 /* confdefs.h. */
15897 _ACEOF
15898 cat confdefs.h >>conftest.$ac_ext
15899 cat >>conftest.$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901
15902 int
15903 main ()
15904 {
15905
15906 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15907 choke me
15908 #endif
15909
15910 ;
15911 return 0;
15912 }
15913 _ACEOF
15914 rm -f conftest.$ac_objext
15915 if { (ac_try="$ac_compile"
15916 case "(($ac_try" in
15917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15919 esac
15920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_compile") 2>conftest.er1
15922 ac_status=$?
15923 grep -v '^ *+' conftest.er1 >conftest.err
15924 rm -f conftest.er1
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } && {
15928 test -z "$ac_c_werror_flag" ||
15929 test ! -s conftest.err
15930 } && test -s conftest.$ac_objext; then
15931 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15932 else
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15935
15936 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15937
15938 fi
15939
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941
15942
15943 fi
15944 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15945 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15946 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15947 :; INTELCC10=yes
15948 else
15949 :;
15950 fi
15951 ac_ext=c
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956
15957
15958
15959 fi
15960
15961 if test "x$GCC" != "xyes"; then
15962 if test "xCC" = "xC"; then
15963 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15964 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15965 if test "${bakefile_cv_c_exto+set}" = set; then
15966 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 else
15968 cat >conftest.$ac_ext <<_ACEOF
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974
15975 int
15976 main ()
15977 {
15978
15979 ;
15980 return 0;
15981 }
15982 _ACEOF
15983 rm -f conftest.$ac_objext conftest.$ac_ext.o
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; then
15989 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15990 case $ac_file in
15991 conftest.$ac_ext.o)
15992 bakefile_cv_c_exto="-ext o"
15993 ;;
15994 *)
15995 ;;
15996 esac
15997 done
15998 else
15999 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16000 See \`config.log' for more details." >&5
16001 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16002 See \`config.log' for more details." >&2;}
16003 { (exit 1); exit 1; }; }
16004
16005 fi
16006
16007 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16008
16009 fi
16010 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16011 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16012 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16013 if test "c" = "c"; then
16014 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16015 fi
16016 if test "c" = "cxx"; then
16017 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16018 fi
16019 fi
16020
16021 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16022 unset ac_cv_prog_cc_g
16023 ac_test_CFLAGS=${CFLAGS+set}
16024 ac_save_CFLAGS=$CFLAGS
16025 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16027 if test "${ac_cv_prog_cc_g+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 ac_save_c_werror_flag=$ac_c_werror_flag
16031 ac_c_werror_flag=yes
16032 ac_cv_prog_cc_g=no
16033 CFLAGS="-g"
16034 cat >conftest.$ac_ext <<_ACEOF
16035 /* confdefs.h. */
16036 _ACEOF
16037 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16040
16041 int
16042 main ()
16043 {
16044
16045 ;
16046 return 0;
16047 }
16048 _ACEOF
16049 rm -f conftest.$ac_objext
16050 if { (ac_try="$ac_compile"
16051 case "(($ac_try" in
16052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053 *) ac_try_echo=$ac_try;;
16054 esac
16055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056 (eval "$ac_compile") 2>conftest.er1
16057 ac_status=$?
16058 grep -v '^ *+' conftest.er1 >conftest.err
16059 rm -f conftest.er1
16060 cat conftest.err >&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); } && {
16063 test -z "$ac_c_werror_flag" ||
16064 test ! -s conftest.err
16065 } && test -s conftest.$ac_objext; then
16066 ac_cv_prog_cc_g=yes
16067 else
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.$ac_ext >&5
16070
16071 CFLAGS=""
16072 cat >conftest.$ac_ext <<_ACEOF
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078
16079 int
16080 main ()
16081 {
16082
16083 ;
16084 return 0;
16085 }
16086 _ACEOF
16087 rm -f conftest.$ac_objext
16088 if { (ac_try="$ac_compile"
16089 case "(($ac_try" in
16090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16091 *) ac_try_echo=$ac_try;;
16092 esac
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_compile") 2>conftest.er1
16095 ac_status=$?
16096 grep -v '^ *+' conftest.er1 >conftest.err
16097 rm -f conftest.er1
16098 cat conftest.err >&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); } && {
16101 test -z "$ac_c_werror_flag" ||
16102 test ! -s conftest.err
16103 } && test -s conftest.$ac_objext; then
16104 :
16105 else
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16108
16109 ac_c_werror_flag=$ac_save_c_werror_flag
16110 CFLAGS="-g"
16111 cat >conftest.$ac_ext <<_ACEOF
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117
16118 int
16119 main ()
16120 {
16121
16122 ;
16123 return 0;
16124 }
16125 _ACEOF
16126 rm -f conftest.$ac_objext
16127 if { (ac_try="$ac_compile"
16128 case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16131 esac
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_compile") 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } && {
16140 test -z "$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16142 } && test -s conftest.$ac_objext; then
16143 ac_cv_prog_cc_g=yes
16144 else
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16147
16148
16149 fi
16150
16151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16152 fi
16153
16154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16155 fi
16156
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16158 ac_c_werror_flag=$ac_save_c_werror_flag
16159 fi
16160 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16162 if test "$ac_test_CFLAGS" = set; then
16163 CFLAGS=$ac_save_CFLAGS
16164 elif test $ac_cv_prog_cc_g = yes; then
16165 if test "$GCC" = yes; then
16166 CFLAGS="-g -O2"
16167 else
16168 CFLAGS="-g"
16169 fi
16170 else
16171 if test "$GCC" = yes; then
16172 CFLAGS="-O2"
16173 else
16174 CFLAGS=
16175 fi
16176 fi
16177 fi
16178 fi
16179
16180 case `uname -s` in
16181 AIX*)
16182
16183
16184 ac_ext=c
16185 ac_cpp='$CPP $CPPFLAGS'
16186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16189
16190 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16191 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16192 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16193 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 else
16195 cat >conftest.$ac_ext <<_ACEOF
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201
16202 int
16203 main ()
16204 {
16205
16206 #ifndef __xlC__
16207 choke me
16208 #endif
16209
16210 ;
16211 return 0;
16212 }
16213 _ACEOF
16214 rm -f conftest.$ac_objext
16215 if { (ac_try="$ac_compile"
16216 case "(($ac_try" in
16217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;;
16219 esac
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16221 (eval "$ac_compile") 2>conftest.er1
16222 ac_status=$?
16223 grep -v '^ *+' conftest.er1 >conftest.err
16224 rm -f conftest.er1
16225 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } && {
16228 test -z "$ac_c_werror_flag" ||
16229 test ! -s conftest.err
16230 } && test -s conftest.$ac_objext; then
16231 bakefile_cv_c_compiler___xlC__=yes
16232 else
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16235
16236 bakefile_cv_c_compiler___xlC__=no
16237
16238 fi
16239
16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16241
16242
16243 fi
16244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16245 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16246 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16247 :; XLCC=yes
16248 else
16249 :;
16250 fi
16251 ac_ext=c
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16256
16257
16258
16259 ;;
16260
16261 Darwin)
16262
16263
16264 ac_ext=c
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
16270 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16271 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16272 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16274 else
16275 cat >conftest.$ac_ext <<_ACEOF
16276 /* confdefs.h. */
16277 _ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281
16282 int
16283 main ()
16284 {
16285
16286 #ifndef __MWERKS__
16287 choke me
16288 #endif
16289
16290 ;
16291 return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext
16295 if { (ac_try="$ac_compile"
16296 case "(($ac_try" in
16297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16298 *) ac_try_echo=$ac_try;;
16299 esac
16300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16301 (eval "$ac_compile") 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } && {
16308 test -z "$ac_c_werror_flag" ||
16309 test ! -s conftest.err
16310 } && test -s conftest.$ac_objext; then
16311 bakefile_cv_c_compiler___MWERKS__=yes
16312 else
16313 echo "$as_me: failed program was:" >&5
16314 sed 's/^/| /' conftest.$ac_ext >&5
16315
16316 bakefile_cv_c_compiler___MWERKS__=no
16317
16318 fi
16319
16320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16321
16322
16323 fi
16324 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16325 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16326 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16327 :; MWCC=yes
16328 else
16329 :;
16330 fi
16331 ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336
16337
16338
16339 if test "$MWCC" != "yes"; then
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 IBM xlC C compiler" >&5
16349 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16350 if test "${bakefile_cv_c_compiler___xlC__+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 __xlC__
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___xlC__=yes
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16393
16394 bakefile_cv_c_compiler___xlC__=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___xlC__" >&5
16403 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16404 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16405 :; XLCC=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 fi
16418 ;;
16419
16420 IRIX*)
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
16429 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16430 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16431 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434 cat >conftest.$ac_ext <<_ACEOF
16435 /* confdefs.h. */
16436 _ACEOF
16437 cat confdefs.h >>conftest.$ac_ext
16438 cat >>conftest.$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16440
16441 int
16442 main ()
16443 {
16444
16445 #ifndef _SGI_COMPILER_VERSION
16446 choke me
16447 #endif
16448
16449 ;
16450 return 0;
16451 }
16452 _ACEOF
16453 rm -f conftest.$ac_objext
16454 if { (ac_try="$ac_compile"
16455 case "(($ac_try" in
16456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16457 *) ac_try_echo=$ac_try;;
16458 esac
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_compile") 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } && {
16467 test -z "$ac_c_werror_flag" ||
16468 test ! -s conftest.err
16469 } && test -s conftest.$ac_objext; then
16470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16471 else
16472 echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.$ac_ext >&5
16474
16475 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16476
16477 fi
16478
16479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16480
16481
16482 fi
16483 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16484 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16485 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16486 :; SGICC=yes
16487 else
16488 :;
16489 fi
16490 ac_ext=c
16491 ac_cpp='$CPP $CPPFLAGS'
16492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16495
16496
16497
16498 ;;
16499
16500 Linux*)
16501 if test "$INTELCC" != "yes"; then
16502
16503
16504 ac_ext=c
16505 ac_cpp='$CPP $CPPFLAGS'
16506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16509
16510 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16511 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16512 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16513 echo $ECHO_N "(cached) $ECHO_C" >&6
16514 else
16515 cat >conftest.$ac_ext <<_ACEOF
16516 /* confdefs.h. */
16517 _ACEOF
16518 cat confdefs.h >>conftest.$ac_ext
16519 cat >>conftest.$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521
16522 int
16523 main ()
16524 {
16525
16526 #ifndef __SUNPRO_C
16527 choke me
16528 #endif
16529
16530 ;
16531 return 0;
16532 }
16533 _ACEOF
16534 rm -f conftest.$ac_objext
16535 if { (ac_try="$ac_compile"
16536 case "(($ac_try" in
16537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16538 *) ac_try_echo=$ac_try;;
16539 esac
16540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16541 (eval "$ac_compile") 2>conftest.er1
16542 ac_status=$?
16543 grep -v '^ *+' conftest.er1 >conftest.err
16544 rm -f conftest.er1
16545 cat conftest.err >&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } && {
16548 test -z "$ac_c_werror_flag" ||
16549 test ! -s conftest.err
16550 } && test -s conftest.$ac_objext; then
16551 bakefile_cv_c_compiler___SUNPRO_C=yes
16552 else
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16555
16556 bakefile_cv_c_compiler___SUNPRO_C=no
16557
16558 fi
16559
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16561
16562
16563 fi
16564 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16565 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16566 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16567 :; SUNCC=yes
16568 else
16569 :;
16570 fi
16571 ac_ext=c
16572 ac_cpp='$CPP $CPPFLAGS'
16573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16576
16577
16578
16579 fi
16580 ;;
16581
16582 HP-UX*)
16583
16584
16585 ac_ext=c
16586 ac_cpp='$CPP $CPPFLAGS'
16587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16590
16591 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16592 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16593 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 else
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602
16603 int
16604 main ()
16605 {
16606
16607 #ifndef __HP_cc
16608 choke me
16609 #endif
16610
16611 ;
16612 return 0;
16613 }
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (ac_try="$ac_compile"
16617 case "(($ac_try" in
16618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16619 *) ac_try_echo=$ac_try;;
16620 esac
16621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622 (eval "$ac_compile") 2>conftest.er1
16623 ac_status=$?
16624 grep -v '^ *+' conftest.er1 >conftest.err
16625 rm -f conftest.er1
16626 cat conftest.err >&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } && {
16629 test -z "$ac_c_werror_flag" ||
16630 test ! -s conftest.err
16631 } && test -s conftest.$ac_objext; then
16632 bakefile_cv_c_compiler___HP_cc=yes
16633 else
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16636
16637 bakefile_cv_c_compiler___HP_cc=no
16638
16639 fi
16640
16641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16642
16643
16644 fi
16645 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16646 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16647 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16648 :; HPCC=yes
16649 else
16650 :;
16651 fi
16652 ac_ext=c
16653 ac_cpp='$CPP $CPPFLAGS'
16654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16657
16658
16659
16660 ;;
16661
16662 OSF1)
16663
16664
16665 ac_ext=c
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16670
16671 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16672 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16673 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16674 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 else
16676 cat >conftest.$ac_ext <<_ACEOF
16677 /* confdefs.h. */
16678 _ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682
16683 int
16684 main ()
16685 {
16686
16687 #ifndef __DECC
16688 choke me
16689 #endif
16690
16691 ;
16692 return 0;
16693 }
16694 _ACEOF
16695 rm -f conftest.$ac_objext
16696 if { (ac_try="$ac_compile"
16697 case "(($ac_try" in
16698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16700 esac
16701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16702 (eval "$ac_compile") 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } && {
16709 test -z "$ac_c_werror_flag" ||
16710 test ! -s conftest.err
16711 } && test -s conftest.$ac_objext; then
16712 bakefile_cv_c_compiler___DECC=yes
16713 else
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.$ac_ext >&5
16716
16717 bakefile_cv_c_compiler___DECC=no
16718
16719 fi
16720
16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16722
16723
16724 fi
16725 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16726 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16727 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16728 :; COMPAQCC=yes
16729 else
16730 :;
16731 fi
16732 ac_ext=c
16733 ac_cpp='$CPP $CPPFLAGS'
16734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16737
16738
16739
16740 ;;
16741
16742 SunOS)
16743
16744
16745 ac_ext=c
16746 ac_cpp='$CPP $CPPFLAGS'
16747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16750
16751 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16752 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16753 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756 cat >conftest.$ac_ext <<_ACEOF
16757 /* confdefs.h. */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762
16763 int
16764 main ()
16765 {
16766
16767 #ifndef __SUNPRO_C
16768 choke me
16769 #endif
16770
16771 ;
16772 return 0;
16773 }
16774 _ACEOF
16775 rm -f conftest.$ac_objext
16776 if { (ac_try="$ac_compile"
16777 case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16780 esac
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_compile") 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } && {
16789 test -z "$ac_c_werror_flag" ||
16790 test ! -s conftest.err
16791 } && test -s conftest.$ac_objext; then
16792 bakefile_cv_c_compiler___SUNPRO_C=yes
16793 else
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16796
16797 bakefile_cv_c_compiler___SUNPRO_C=no
16798
16799 fi
16800
16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16802
16803
16804 fi
16805 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16806 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16807 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16808 :; SUNCC=yes
16809 else
16810 :;
16811 fi
16812 ac_ext=c
16813 ac_cpp='$CPP $CPPFLAGS'
16814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16817
16818
16819
16820 ;;
16821 esac
16822 fi
16823
16824
16825
16826 ac_ext=c
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16832 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16833 # On Suns, sometimes $CPP names a directory.
16834 if test -n "$CPP" && test -d "$CPP"; then
16835 CPP=
16836 fi
16837 if test -z "$CPP"; then
16838 if test "${ac_cv_prog_CPP+set}" = set; then
16839 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 else
16841 # Double quotes because CPP needs to be expanded
16842 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16843 do
16844 ac_preproc_ok=false
16845 for ac_c_preproc_warn_flag in '' yes
16846 do
16847 # Use a header file that comes with gcc, so configuring glibc
16848 # with a fresh cross-compiler works.
16849 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16850 # <limits.h> exists even on freestanding compilers.
16851 # On the NeXT, cc -E runs the code through the compiler's parser,
16852 # not just through cpp. "Syntax error" is here to catch this case.
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #ifdef __STDC__
16860 # include <limits.h>
16861 #else
16862 # include <assert.h>
16863 #endif
16864 Syntax error
16865 _ACEOF
16866 if { (ac_try="$ac_cpp conftest.$ac_ext"
16867 case "(($ac_try" in
16868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16869 *) ac_try_echo=$ac_try;;
16870 esac
16871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16873 ac_status=$?
16874 grep -v '^ *+' conftest.er1 >conftest.err
16875 rm -f conftest.er1
16876 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } >/dev/null && {
16879 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16880 test ! -s conftest.err
16881 }; then
16882 :
16883 else
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.$ac_ext >&5
16886
16887 # Broken: fails on valid input.
16888 continue
16889 fi
16890
16891 rm -f conftest.err conftest.$ac_ext
16892
16893 # OK, works on sane cases. Now check whether nonexistent headers
16894 # can be detected and how.
16895 cat >conftest.$ac_ext <<_ACEOF
16896 /* confdefs.h. */
16897 _ACEOF
16898 cat confdefs.h >>conftest.$ac_ext
16899 cat >>conftest.$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16901 #include <ac_nonexistent.h>
16902 _ACEOF
16903 if { (ac_try="$ac_cpp conftest.$ac_ext"
16904 case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16906 *) ac_try_echo=$ac_try;;
16907 esac
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } >/dev/null && {
16916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16917 test ! -s conftest.err
16918 }; then
16919 # Broken: success on invalid input.
16920 continue
16921 else
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 # Passes both tests.
16926 ac_preproc_ok=:
16927 break
16928 fi
16929
16930 rm -f conftest.err conftest.$ac_ext
16931
16932 done
16933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16934 rm -f conftest.err conftest.$ac_ext
16935 if $ac_preproc_ok; then
16936 break
16937 fi
16938
16939 done
16940 ac_cv_prog_CPP=$CPP
16941
16942 fi
16943 CPP=$ac_cv_prog_CPP
16944 else
16945 ac_cv_prog_CPP=$CPP
16946 fi
16947 { echo "$as_me:$LINENO: result: $CPP" >&5
16948 echo "${ECHO_T}$CPP" >&6; }
16949 ac_preproc_ok=false
16950 for ac_c_preproc_warn_flag in '' yes
16951 do
16952 # Use a header file that comes with gcc, so configuring glibc
16953 # with a fresh cross-compiler works.
16954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16955 # <limits.h> exists even on freestanding compilers.
16956 # On the NeXT, cc -E runs the code through the compiler's parser,
16957 # not just through cpp. "Syntax error" is here to catch this case.
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #ifdef __STDC__
16965 # include <limits.h>
16966 #else
16967 # include <assert.h>
16968 #endif
16969 Syntax error
16970 _ACEOF
16971 if { (ac_try="$ac_cpp conftest.$ac_ext"
16972 case "(($ac_try" in
16973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16974 *) ac_try_echo=$ac_try;;
16975 esac
16976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev/null && {
16984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16985 test ! -s conftest.err
16986 }; then
16987 :
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 # Broken: fails on valid input.
16993 continue
16994 fi
16995
16996 rm -f conftest.err conftest.$ac_ext
16997
16998 # OK, works on sane cases. Now check whether nonexistent headers
16999 # can be detected and how.
17000 cat >conftest.$ac_ext <<_ACEOF
17001 /* confdefs.h. */
17002 _ACEOF
17003 cat confdefs.h >>conftest.$ac_ext
17004 cat >>conftest.$ac_ext <<_ACEOF
17005 /* end confdefs.h. */
17006 #include <ac_nonexistent.h>
17007 _ACEOF
17008 if { (ac_try="$ac_cpp conftest.$ac_ext"
17009 case "(($ac_try" in
17010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17011 *) ac_try_echo=$ac_try;;
17012 esac
17013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17014 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17015 ac_status=$?
17016 grep -v '^ *+' conftest.er1 >conftest.err
17017 rm -f conftest.er1
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } >/dev/null && {
17021 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17022 test ! -s conftest.err
17023 }; then
17024 # Broken: success on invalid input.
17025 continue
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 # Passes both tests.
17031 ac_preproc_ok=:
17032 break
17033 fi
17034
17035 rm -f conftest.err conftest.$ac_ext
17036
17037 done
17038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17039 rm -f conftest.err conftest.$ac_ext
17040 if $ac_preproc_ok; then
17041 :
17042 else
17043 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17044 See \`config.log' for more details." >&5
17045 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17046 See \`config.log' for more details." >&2;}
17047 { (exit 1); exit 1; }; }
17048 fi
17049
17050 ac_ext=c
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17055
17056
17057 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17058 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17059 if test "${ac_cv_path_GREP+set}" = set; then
17060 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 else
17062 # Extract the first word of "grep ggrep" to use in msg output
17063 if test -z "$GREP"; then
17064 set dummy grep ggrep; ac_prog_name=$2
17065 if test "${ac_cv_path_GREP+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 else
17068 ac_path_GREP_found=false
17069 # Loop through the user's path and test for each of PROGNAME-LIST
17070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17071 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17072 do
17073 IFS=$as_save_IFS
17074 test -z "$as_dir" && as_dir=.
17075 for ac_prog in grep ggrep; do
17076 for ac_exec_ext in '' $ac_executable_extensions; do
17077 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17078 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17079 # Check for GNU ac_path_GREP and select it if it is found.
17080 # Check for GNU $ac_path_GREP
17081 case `"$ac_path_GREP" --version 2>&1` in
17082 *GNU*)
17083 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17084 *)
17085 ac_count=0
17086 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17087 while :
17088 do
17089 cat "conftest.in" "conftest.in" >"conftest.tmp"
17090 mv "conftest.tmp" "conftest.in"
17091 cp "conftest.in" "conftest.nl"
17092 echo 'GREP' >> "conftest.nl"
17093 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17095 ac_count=`expr $ac_count + 1`
17096 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17097 # Best one so far, save it but keep looking for a better one
17098 ac_cv_path_GREP="$ac_path_GREP"
17099 ac_path_GREP_max=$ac_count
17100 fi
17101 # 10*(2^10) chars as input seems more than enough
17102 test $ac_count -gt 10 && break
17103 done
17104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17105 esac
17106
17107
17108 $ac_path_GREP_found && break 3
17109 done
17110 done
17111
17112 done
17113 IFS=$as_save_IFS
17114
17115
17116 fi
17117
17118 GREP="$ac_cv_path_GREP"
17119 if test -z "$GREP"; then
17120 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17121 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17122 { (exit 1); exit 1; }; }
17123 fi
17124
17125 else
17126 ac_cv_path_GREP=$GREP
17127 fi
17128
17129
17130 fi
17131 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17132 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17133 GREP="$ac_cv_path_GREP"
17134
17135
17136 { echo "$as_me:$LINENO: checking for egrep" >&5
17137 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17138 if test "${ac_cv_path_EGREP+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17140 else
17141 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17142 then ac_cv_path_EGREP="$GREP -E"
17143 else
17144 # Extract the first word of "egrep" to use in msg output
17145 if test -z "$EGREP"; then
17146 set dummy egrep; ac_prog_name=$2
17147 if test "${ac_cv_path_EGREP+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 else
17150 ac_path_EGREP_found=false
17151 # Loop through the user's path and test for each of PROGNAME-LIST
17152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17153 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17154 do
17155 IFS=$as_save_IFS
17156 test -z "$as_dir" && as_dir=.
17157 for ac_prog in egrep; do
17158 for ac_exec_ext in '' $ac_executable_extensions; do
17159 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17160 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17161 # Check for GNU ac_path_EGREP and select it if it is found.
17162 # Check for GNU $ac_path_EGREP
17163 case `"$ac_path_EGREP" --version 2>&1` in
17164 *GNU*)
17165 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17166 *)
17167 ac_count=0
17168 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17169 while :
17170 do
17171 cat "conftest.in" "conftest.in" >"conftest.tmp"
17172 mv "conftest.tmp" "conftest.in"
17173 cp "conftest.in" "conftest.nl"
17174 echo 'EGREP' >> "conftest.nl"
17175 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17176 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17177 ac_count=`expr $ac_count + 1`
17178 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17179 # Best one so far, save it but keep looking for a better one
17180 ac_cv_path_EGREP="$ac_path_EGREP"
17181 ac_path_EGREP_max=$ac_count
17182 fi
17183 # 10*(2^10) chars as input seems more than enough
17184 test $ac_count -gt 10 && break
17185 done
17186 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17187 esac
17188
17189
17190 $ac_path_EGREP_found && break 3
17191 done
17192 done
17193
17194 done
17195 IFS=$as_save_IFS
17196
17197
17198 fi
17199
17200 EGREP="$ac_cv_path_EGREP"
17201 if test -z "$EGREP"; then
17202 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17203 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17204 { (exit 1); exit 1; }; }
17205 fi
17206
17207 else
17208 ac_cv_path_EGREP=$EGREP
17209 fi
17210
17211
17212 fi
17213 fi
17214 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17215 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17216 EGREP="$ac_cv_path_EGREP"
17217
17218
17219 if test $ac_cv_c_compiler_gnu = yes; then
17220 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17221 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17222 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17223 echo $ECHO_N "(cached) $ECHO_C" >&6
17224 else
17225 ac_pattern="Autoconf.*'x'"
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #include <sgtty.h>
17233 Autoconf TIOCGETP
17234 _ACEOF
17235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17236 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17237 ac_cv_prog_gcc_traditional=yes
17238 else
17239 ac_cv_prog_gcc_traditional=no
17240 fi
17241 rm -f conftest*
17242
17243
17244 if test $ac_cv_prog_gcc_traditional = no; then
17245 cat >conftest.$ac_ext <<_ACEOF
17246 /* confdefs.h. */
17247 _ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17251 #include <termio.h>
17252 Autoconf TCGETA
17253 _ACEOF
17254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17255 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17256 ac_cv_prog_gcc_traditional=yes
17257 fi
17258 rm -f conftest*
17259
17260 fi
17261 fi
17262 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17263 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17264 if test $ac_cv_prog_gcc_traditional = yes; then
17265 CC="$CC -traditional"
17266 fi
17267 fi
17268
17269
17270 CXXFLAGS=${CXXFLAGS:=}
17271 ac_ext=cpp
17272 ac_cpp='$CXXCPP $CPPFLAGS'
17273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17276 if test -z "$CXX"; then
17277 if test -n "$CCC"; then
17278 CXX=$CCC
17279 else
17280 if test -n "$ac_tool_prefix"; then
17281 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17282 do
17283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17287 if test "${ac_cv_prog_CXX+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 if test -n "$CXX"; then
17291 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17292 else
17293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17294 for as_dir in $PATH
17295 do
17296 IFS=$as_save_IFS
17297 test -z "$as_dir" && as_dir=.
17298 for ac_exec_ext in '' $ac_executable_extensions; do
17299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17300 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17302 break 2
17303 fi
17304 done
17305 done
17306 IFS=$as_save_IFS
17307
17308 fi
17309 fi
17310 CXX=$ac_cv_prog_CXX
17311 if test -n "$CXX"; then
17312 { echo "$as_me:$LINENO: result: $CXX" >&5
17313 echo "${ECHO_T}$CXX" >&6; }
17314 else
17315 { echo "$as_me:$LINENO: result: no" >&5
17316 echo "${ECHO_T}no" >&6; }
17317 fi
17318
17319
17320 test -n "$CXX" && break
17321 done
17322 fi
17323 if test -z "$CXX"; then
17324 ac_ct_CXX=$CXX
17325 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17326 do
17327 # Extract the first word of "$ac_prog", so it can be a program name with args.
17328 set dummy $ac_prog; ac_word=$2
17329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17331 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17333 else
17334 if test -n "$ac_ct_CXX"; then
17335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17336 else
17337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17338 for as_dir in $PATH
17339 do
17340 IFS=$as_save_IFS
17341 test -z "$as_dir" && as_dir=.
17342 for ac_exec_ext in '' $ac_executable_extensions; do
17343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17344 ac_cv_prog_ac_ct_CXX="$ac_prog"
17345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17346 break 2
17347 fi
17348 done
17349 done
17350 IFS=$as_save_IFS
17351
17352 fi
17353 fi
17354 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17355 if test -n "$ac_ct_CXX"; then
17356 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17357 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17358 else
17359 { echo "$as_me:$LINENO: result: no" >&5
17360 echo "${ECHO_T}no" >&6; }
17361 fi
17362
17363
17364 test -n "$ac_ct_CXX" && break
17365 done
17366
17367 if test "x$ac_ct_CXX" = x; then
17368 CXX="g++"
17369 else
17370 case $cross_compiling:$ac_tool_warned in
17371 yes:)
17372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17373 whose name does not start with the host triplet. If you think this
17374 configuration is useful to you, please write to autoconf@gnu.org." >&5
17375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17376 whose name does not start with the host triplet. If you think this
17377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17378 ac_tool_warned=yes ;;
17379 esac
17380 CXX=$ac_ct_CXX
17381 fi
17382 fi
17383
17384 fi
17385 fi
17386 # Provide some information about the compiler.
17387 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17388 ac_compiler=`set X $ac_compile; echo $2`
17389 { (ac_try="$ac_compiler --version >&5"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17392 *) ac_try_echo=$ac_try;;
17393 esac
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compiler --version >&5") 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }
17399 { (ac_try="$ac_compiler -v >&5"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17403 esac
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_compiler -v >&5") 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }
17409 { (ac_try="$ac_compiler -V >&5"
17410 case "(($ac_try" in
17411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17412 *) ac_try_echo=$ac_try;;
17413 esac
17414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17415 (eval "$ac_compiler -V >&5") 2>&5
17416 ac_status=$?
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); }
17419
17420 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17421 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17422 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 else
17425 cat >conftest.$ac_ext <<_ACEOF
17426 /* confdefs.h. */
17427 _ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17431
17432 int
17433 main ()
17434 {
17435 #ifndef __GNUC__
17436 choke me
17437 #endif
17438
17439 ;
17440 return 0;
17441 }
17442 _ACEOF
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 ac_compiler_gnu=yes
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 ac_compiler_gnu=no
17466 fi
17467
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17470
17471 fi
17472 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17473 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17474 GXX=`test $ac_compiler_gnu = yes && echo yes`
17475 ac_test_CXXFLAGS=${CXXFLAGS+set}
17476 ac_save_CXXFLAGS=$CXXFLAGS
17477 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17478 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17479 if test "${ac_cv_prog_cxx_g+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17483 ac_cxx_werror_flag=yes
17484 ac_cv_prog_cxx_g=no
17485 CXXFLAGS="-g"
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492
17493 int
17494 main ()
17495 {
17496
17497 ;
17498 return 0;
17499 }
17500 _ACEOF
17501 rm -f conftest.$ac_objext
17502 if { (ac_try="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17506 esac
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17509 ac_status=$?
17510 grep -v '^ *+' conftest.er1 >conftest.err
17511 rm -f conftest.er1
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_cxx_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 ac_cv_prog_cxx_g=yes
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17522
17523 CXXFLAGS=""
17524 cat >conftest.$ac_ext <<_ACEOF
17525 /* confdefs.h. */
17526 _ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530
17531 int
17532 main ()
17533 {
17534
17535 ;
17536 return 0;
17537 }
17538 _ACEOF
17539 rm -f conftest.$ac_objext
17540 if { (ac_try="$ac_compile"
17541 case "(($ac_try" in
17542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17543 *) ac_try_echo=$ac_try;;
17544 esac
17545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17546 (eval "$ac_compile") 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } && {
17553 test -z "$ac_cxx_werror_flag" ||
17554 test ! -s conftest.err
17555 } && test -s conftest.$ac_objext; then
17556 :
17557 else
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.$ac_ext >&5
17560
17561 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17562 CXXFLAGS="-g"
17563 cat >conftest.$ac_ext <<_ACEOF
17564 /* confdefs.h. */
17565 _ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569
17570 int
17571 main ()
17572 {
17573
17574 ;
17575 return 0;
17576 }
17577 _ACEOF
17578 rm -f conftest.$ac_objext
17579 if { (ac_try="$ac_compile"
17580 case "(($ac_try" in
17581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17582 *) ac_try_echo=$ac_try;;
17583 esac
17584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17585 (eval "$ac_compile") 2>conftest.er1
17586 ac_status=$?
17587 grep -v '^ *+' conftest.er1 >conftest.err
17588 rm -f conftest.er1
17589 cat conftest.err >&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } && {
17592 test -z "$ac_cxx_werror_flag" ||
17593 test ! -s conftest.err
17594 } && test -s conftest.$ac_objext; then
17595 ac_cv_prog_cxx_g=yes
17596 else
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17599
17600
17601 fi
17602
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 fi
17605
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 fi
17608
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17611 fi
17612 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17613 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17614 if test "$ac_test_CXXFLAGS" = set; then
17615 CXXFLAGS=$ac_save_CXXFLAGS
17616 elif test $ac_cv_prog_cxx_g = yes; then
17617 if test "$GXX" = yes; then
17618 CXXFLAGS="-g -O2"
17619 else
17620 CXXFLAGS="-g"
17621 fi
17622 else
17623 if test "$GXX" = yes; then
17624 CXXFLAGS="-O2"
17625 else
17626 CXXFLAGS=
17627 fi
17628 fi
17629 ac_ext=c
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17634
17635
17636
17637
17638
17639
17640
17641
17642 ac_ext=cpp
17643 ac_cpp='$CXXCPP $CPPFLAGS'
17644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17647
17648 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17649 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17650 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17652 else
17653 cat >conftest.$ac_ext <<_ACEOF
17654 /* confdefs.h. */
17655 _ACEOF
17656 cat confdefs.h >>conftest.$ac_ext
17657 cat >>conftest.$ac_ext <<_ACEOF
17658 /* end confdefs.h. */
17659
17660 int
17661 main ()
17662 {
17663
17664 #ifndef __INTEL_COMPILER
17665 choke me
17666 #endif
17667
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17677 esac
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17695
17696 fi
17697
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699
17700
17701 fi
17702 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17703 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17704 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17705 :; INTELCXX=yes
17706 else
17707 :;
17708 fi
17709 ac_ext=c
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714
17715
17716
17717
17718 if test "$INTELCXX" = "yes"; then
17719
17720
17721 ac_ext=cpp
17722 ac_cpp='$CXXCPP $CPPFLAGS'
17723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17726
17727 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17728 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17729 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17730 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 else
17732 cat >conftest.$ac_ext <<_ACEOF
17733 /* confdefs.h. */
17734 _ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738
17739 int
17740 main ()
17741 {
17742
17743 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17744 choke me
17745 #endif
17746
17747 ;
17748 return 0;
17749 }
17750 _ACEOF
17751 rm -f conftest.$ac_objext
17752 if { (ac_try="$ac_compile"
17753 case "(($ac_try" in
17754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17756 esac
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compile") 2>conftest.er1
17759 ac_status=$?
17760 grep -v '^ *+' conftest.er1 >conftest.err
17761 rm -f conftest.er1
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } && {
17765 test -z "$ac_cxx_werror_flag" ||
17766 test ! -s conftest.err
17767 } && test -s conftest.$ac_objext; then
17768 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17774
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17778
17779
17780 fi
17781 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17782 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17783 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17784 :; INTELCXX8=yes
17785 else
17786 :;
17787 fi
17788 ac_ext=c
17789 ac_cpp='$CPP $CPPFLAGS'
17790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17793
17794
17795
17796
17797
17798 ac_ext=cpp
17799 ac_cpp='$CXXCPP $CPPFLAGS'
17800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17803
17804 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17805 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17806 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17807 echo $ECHO_N "(cached) $ECHO_C" >&6
17808 else
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815
17816 int
17817 main ()
17818 {
17819
17820 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17821 choke me
17822 #endif
17823
17824 ;
17825 return 0;
17826 }
17827 _ACEOF
17828 rm -f conftest.$ac_objext
17829 if { (ac_try="$ac_compile"
17830 case "(($ac_try" in
17831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17832 *) ac_try_echo=$ac_try;;
17833 esac
17834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17836 ac_status=$?
17837 grep -v '^ *+' conftest.er1 >conftest.err
17838 rm -f conftest.er1
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_cxx_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17846 else
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17849
17850 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17851
17852 fi
17853
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17855
17856
17857 fi
17858 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17859 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17860 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17861 :; INTELCXX10=yes
17862 else
17863 :;
17864 fi
17865 ac_ext=c
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870
17871
17872
17873 fi
17874
17875 if test "x$GCXX" != "xyes"; then
17876 if test "xCXX" = "xC"; then
17877 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17878 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17879 if test "${bakefile_cv_c_exto+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 else
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888
17889 int
17890 main ()
17891 {
17892
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 rm -f conftest.$ac_objext conftest.$ac_ext.o
17898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17899 (eval $ac_compile) 2>&5
17900 ac_status=$?
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; then
17903 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17904 case $ac_file in
17905 conftest.$ac_ext.o)
17906 bakefile_cv_c_exto="-ext o"
17907 ;;
17908 *)
17909 ;;
17910 esac
17911 done
17912 else
17913 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17914 See \`config.log' for more details." >&5
17915 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17916 See \`config.log' for more details." >&2;}
17917 { (exit 1); exit 1; }; }
17918
17919 fi
17920
17921 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17922
17923 fi
17924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17925 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17926 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17927 if test "c" = "c"; then
17928 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17929 fi
17930 if test "c" = "cxx"; then
17931 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17932 fi
17933 fi
17934
17935 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17936 unset ac_cv_prog_cc_g
17937 ac_test_CFLAGS=${CFLAGS+set}
17938 ac_save_CFLAGS=$CFLAGS
17939 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17940 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17941 if test "${ac_cv_prog_cc_g+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 else
17944 ac_save_c_werror_flag=$ac_c_werror_flag
17945 ac_c_werror_flag=yes
17946 ac_cv_prog_cc_g=no
17947 CFLAGS="-g"
17948 cat >conftest.$ac_ext <<_ACEOF
17949 /* confdefs.h. */
17950 _ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17954
17955 int
17956 main ()
17957 {
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_c_werror_flag" ||
17978 test ! -s conftest.err
17979 } && test -s conftest.$ac_objext; then
17980 ac_cv_prog_cc_g=yes
17981 else
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17984
17985 CFLAGS=""
17986 cat >conftest.$ac_ext <<_ACEOF
17987 /* confdefs.h. */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992
17993 int
17994 main ()
17995 {
17996
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 rm -f conftest.$ac_objext
18002 if { (ac_try="$ac_compile"
18003 case "(($ac_try" in
18004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18005 *) ac_try_echo=$ac_try;;
18006 esac
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_compile") 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } && {
18015 test -z "$ac_c_werror_flag" ||
18016 test ! -s conftest.err
18017 } && test -s conftest.$ac_objext; then
18018 :
18019 else
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18022
18023 ac_c_werror_flag=$ac_save_c_werror_flag
18024 CFLAGS="-g"
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 ;
18037 return 0;
18038 }
18039 _ACEOF
18040 rm -f conftest.$ac_objext
18041 if { (ac_try="$ac_compile"
18042 case "(($ac_try" in
18043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18044 *) ac_try_echo=$ac_try;;
18045 esac
18046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18047 (eval "$ac_compile") 2>conftest.er1
18048 ac_status=$?
18049 grep -v '^ *+' conftest.er1 >conftest.err
18050 rm -f conftest.er1
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } && {
18054 test -z "$ac_c_werror_flag" ||
18055 test ! -s conftest.err
18056 } && test -s conftest.$ac_objext; then
18057 ac_cv_prog_cc_g=yes
18058 else
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062
18063 fi
18064
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066 fi
18067
18068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18069 fi
18070
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18072 ac_c_werror_flag=$ac_save_c_werror_flag
18073 fi
18074 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18076 if test "$ac_test_CFLAGS" = set; then
18077 CFLAGS=$ac_save_CFLAGS
18078 elif test $ac_cv_prog_cc_g = yes; then
18079 if test "$GCC" = yes; then
18080 CFLAGS="-g -O2"
18081 else
18082 CFLAGS="-g"
18083 fi
18084 else
18085 if test "$GCC" = yes; then
18086 CFLAGS="-O2"
18087 else
18088 CFLAGS=
18089 fi
18090 fi
18091 fi
18092 fi
18093
18094 case `uname -s` in
18095 AIX*)
18096
18097
18098 ac_ext=cpp
18099 ac_cpp='$CXXCPP $CPPFLAGS'
18100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18103
18104 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18105 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18106 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 else
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115
18116 int
18117 main ()
18118 {
18119
18120 #ifndef __xlC__
18121 choke me
18122 #endif
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 rm -f conftest.$ac_objext
18129 if { (ac_try="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18133 esac
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18136 ac_status=$?
18137 grep -v '^ *+' conftest.er1 >conftest.err
18138 rm -f conftest.er1
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_cxx_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 bakefile_cv_cxx_compiler___xlC__=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 bakefile_cv_cxx_compiler___xlC__=no
18151
18152 fi
18153
18154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18155
18156
18157 fi
18158 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18159 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18160 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18161 :; XLCXX=yes
18162 else
18163 :;
18164 fi
18165 ac_ext=c
18166 ac_cpp='$CPP $CPPFLAGS'
18167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18170
18171
18172
18173 ;;
18174
18175 Darwin)
18176
18177
18178 ac_ext=cpp
18179 ac_cpp='$CXXCPP $CPPFLAGS'
18180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18183
18184 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18185 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18186 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18189 cat >conftest.$ac_ext <<_ACEOF
18190 /* confdefs.h. */
18191 _ACEOF
18192 cat confdefs.h >>conftest.$ac_ext
18193 cat >>conftest.$ac_ext <<_ACEOF
18194 /* end confdefs.h. */
18195
18196 int
18197 main ()
18198 {
18199
18200 #ifndef __MWERKS__
18201 choke me
18202 #endif
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (ac_try="$ac_compile"
18210 case "(($ac_try" in
18211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 *) ac_try_echo=$ac_try;;
18213 esac
18214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 (eval "$ac_compile") 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } && {
18222 test -z "$ac_cxx_werror_flag" ||
18223 test ! -s conftest.err
18224 } && test -s conftest.$ac_objext; then
18225 bakefile_cv_cxx_compiler___MWERKS__=yes
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 bakefile_cv_cxx_compiler___MWERKS__=no
18231
18232 fi
18233
18234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235
18236
18237 fi
18238 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18239 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18240 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18241 :; MWCXX=yes
18242 else
18243 :;
18244 fi
18245 ac_ext=c
18246 ac_cpp='$CPP $CPPFLAGS'
18247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18250
18251
18252
18253 if test "$MWCXX" != "yes"; then
18254
18255
18256 ac_ext=cpp
18257 ac_cpp='$CXXCPP $CPPFLAGS'
18258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261
18262 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18263 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18264 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 else
18267 cat >conftest.$ac_ext <<_ACEOF
18268 /* confdefs.h. */
18269 _ACEOF
18270 cat confdefs.h >>conftest.$ac_ext
18271 cat >>conftest.$ac_ext <<_ACEOF
18272 /* end confdefs.h. */
18273
18274 int
18275 main ()
18276 {
18277
18278 #ifndef __xlC__
18279 choke me
18280 #endif
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290 *) ac_try_echo=$ac_try;;
18291 esac
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293 (eval "$ac_compile") 2>conftest.er1
18294 ac_status=$?
18295 grep -v '^ *+' conftest.er1 >conftest.err
18296 rm -f conftest.er1
18297 cat conftest.err >&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); } && {
18300 test -z "$ac_cxx_werror_flag" ||
18301 test ! -s conftest.err
18302 } && test -s conftest.$ac_objext; then
18303 bakefile_cv_cxx_compiler___xlC__=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18307
18308 bakefile_cv_cxx_compiler___xlC__=no
18309
18310 fi
18311
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313
18314
18315 fi
18316 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18317 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18318 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18319 :; XLCXX=yes
18320 else
18321 :;
18322 fi
18323 ac_ext=c
18324 ac_cpp='$CPP $CPPFLAGS'
18325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18328
18329
18330
18331 fi
18332 ;;
18333
18334 IRIX*)
18335
18336
18337 ac_ext=cpp
18338 ac_cpp='$CXXCPP $CPPFLAGS'
18339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18342
18343 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18344 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18345 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354
18355 int
18356 main ()
18357 {
18358
18359 #ifndef _SGI_COMPILER_VERSION
18360 choke me
18361 #endif
18362
18363 ;
18364 return 0;
18365 }
18366 _ACEOF
18367 rm -f conftest.$ac_objext
18368 if { (ac_try="$ac_compile"
18369 case "(($ac_try" in
18370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18372 esac
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_compile") 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && {
18381 test -z "$ac_cxx_werror_flag" ||
18382 test ! -s conftest.err
18383 } && test -s conftest.$ac_objext; then
18384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18390
18391 fi
18392
18393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394
18395
18396 fi
18397 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18398 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18399 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18400 :; SGICXX=yes
18401 else
18402 :;
18403 fi
18404 ac_ext=c
18405 ac_cpp='$CPP $CPPFLAGS'
18406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18409
18410
18411
18412 ;;
18413
18414 Linux*)
18415 if test "$INTELCXX" != "yes"; then
18416
18417
18418 ac_ext=cpp
18419 ac_cpp='$CXXCPP $CPPFLAGS'
18420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18423
18424 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18425 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18426 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18427 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 else
18429 cat >conftest.$ac_ext <<_ACEOF
18430 /* confdefs.h. */
18431 _ACEOF
18432 cat confdefs.h >>conftest.$ac_ext
18433 cat >>conftest.$ac_ext <<_ACEOF
18434 /* end confdefs.h. */
18435
18436 int
18437 main ()
18438 {
18439
18440 #ifndef __SUNPRO_CC
18441 choke me
18442 #endif
18443
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 rm -f conftest.$ac_objext
18449 if { (ac_try="$ac_compile"
18450 case "(($ac_try" in
18451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18452 *) ac_try_echo=$ac_try;;
18453 esac
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_compile") 2>conftest.er1
18456 ac_status=$?
18457 grep -v '^ *+' conftest.er1 >conftest.err
18458 rm -f conftest.er1
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && {
18462 test -z "$ac_cxx_werror_flag" ||
18463 test ! -s conftest.err
18464 } && test -s conftest.$ac_objext; then
18465 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18466 else
18467 echo "$as_me: failed program was:" >&5
18468 sed 's/^/| /' conftest.$ac_ext >&5
18469
18470 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18471
18472 fi
18473
18474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18475
18476
18477 fi
18478 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18480 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18481 :; SUNCXX=yes
18482 else
18483 :;
18484 fi
18485 ac_ext=c
18486 ac_cpp='$CPP $CPPFLAGS'
18487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18490
18491
18492
18493 fi
18494 ;;
18495
18496 HP-UX*)
18497
18498
18499 ac_ext=cpp
18500 ac_cpp='$CXXCPP $CPPFLAGS'
18501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18504
18505 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18506 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18507 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 else
18510 cat >conftest.$ac_ext <<_ACEOF
18511 /* confdefs.h. */
18512 _ACEOF
18513 cat confdefs.h >>conftest.$ac_ext
18514 cat >>conftest.$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516
18517 int
18518 main ()
18519 {
18520
18521 #ifndef __HP_aCC
18522 choke me
18523 #endif
18524
18525 ;
18526 return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_cxx_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 bakefile_cv_cxx_compiler___HP_aCC=yes
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18550
18551 bakefile_cv_cxx_compiler___HP_aCC=no
18552
18553 fi
18554
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556
18557
18558 fi
18559 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18560 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18561 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18562 :; HPCXX=yes
18563 else
18564 :;
18565 fi
18566 ac_ext=c
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18571
18572
18573
18574 ;;
18575
18576 OSF1)
18577
18578
18579 ac_ext=cpp
18580 ac_cpp='$CXXCPP $CPPFLAGS'
18581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18584
18585 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18586 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18587 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18589 else
18590 cat >conftest.$ac_ext <<_ACEOF
18591 /* confdefs.h. */
18592 _ACEOF
18593 cat confdefs.h >>conftest.$ac_ext
18594 cat >>conftest.$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596
18597 int
18598 main ()
18599 {
18600
18601 #ifndef __DECCXX
18602 choke me
18603 #endif
18604
18605 ;
18606 return 0;
18607 }
18608 _ACEOF
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18614 esac
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18617 ac_status=$?
18618 grep -v '^ *+' conftest.er1 >conftest.err
18619 rm -f conftest.er1
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_cxx_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.$ac_objext; then
18626 bakefile_cv_cxx_compiler___DECCXX=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 bakefile_cv_cxx_compiler___DECCXX=no
18632
18633 fi
18634
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636
18637
18638 fi
18639 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18640 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18641 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18642 :; COMPAQCXX=yes
18643 else
18644 :;
18645 fi
18646 ac_ext=c
18647 ac_cpp='$CPP $CPPFLAGS'
18648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18651
18652
18653
18654 ;;
18655
18656 SunOS)
18657
18658
18659 ac_ext=cpp
18660 ac_cpp='$CXXCPP $CPPFLAGS'
18661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18664
18665 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18666 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18667 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18668 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 else
18670 cat >conftest.$ac_ext <<_ACEOF
18671 /* confdefs.h. */
18672 _ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676
18677 int
18678 main ()
18679 {
18680
18681 #ifndef __SUNPRO_CC
18682 choke me
18683 #endif
18684
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext
18690 if { (ac_try="$ac_compile"
18691 case "(($ac_try" in
18692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18694 esac
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_compile") 2>conftest.er1
18697 ac_status=$?
18698 grep -v '^ *+' conftest.er1 >conftest.err
18699 rm -f conftest.er1
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_cxx_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest.$ac_objext; then
18706 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18710
18711 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18712
18713 fi
18714
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18716
18717
18718 fi
18719 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18720 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18721 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18722 :; SUNCXX=yes
18723 else
18724 :;
18725 fi
18726 ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733
18734 ;;
18735 esac
18736 fi
18737
18738
18739
18740 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18741 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18742 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18743 { (exit 1); exit 1; }; }
18744 fi
18745
18746 if test "x$SUNCXX" != xyes; then
18747 if test -n "$ac_tool_prefix"; then
18748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18749 set dummy ${ac_tool_prefix}ar; ac_word=$2
18750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18752 if test "${ac_cv_prog_AR+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 if test -n "$AR"; then
18756 ac_cv_prog_AR="$AR" # Let the user override the test.
18757 else
18758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18759 for as_dir in $PATH
18760 do
18761 IFS=$as_save_IFS
18762 test -z "$as_dir" && as_dir=.
18763 for ac_exec_ext in '' $ac_executable_extensions; do
18764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18765 ac_cv_prog_AR="${ac_tool_prefix}ar"
18766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18767 break 2
18768 fi
18769 done
18770 done
18771 IFS=$as_save_IFS
18772
18773 fi
18774 fi
18775 AR=$ac_cv_prog_AR
18776 if test -n "$AR"; then
18777 { echo "$as_me:$LINENO: result: $AR" >&5
18778 echo "${ECHO_T}$AR" >&6; }
18779 else
18780 { echo "$as_me:$LINENO: result: no" >&5
18781 echo "${ECHO_T}no" >&6; }
18782 fi
18783
18784
18785 fi
18786 if test -z "$ac_cv_prog_AR"; then
18787 ac_ct_AR=$AR
18788 # Extract the first word of "ar", so it can be a program name with args.
18789 set dummy ar; ac_word=$2
18790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18792 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18793 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 else
18795 if test -n "$ac_ct_AR"; then
18796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18797 else
18798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18799 for as_dir in $PATH
18800 do
18801 IFS=$as_save_IFS
18802 test -z "$as_dir" && as_dir=.
18803 for ac_exec_ext in '' $ac_executable_extensions; do
18804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18805 ac_cv_prog_ac_ct_AR="ar"
18806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18807 break 2
18808 fi
18809 done
18810 done
18811 IFS=$as_save_IFS
18812
18813 fi
18814 fi
18815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18816 if test -n "$ac_ct_AR"; then
18817 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18818 echo "${ECHO_T}$ac_ct_AR" >&6; }
18819 else
18820 { echo "$as_me:$LINENO: result: no" >&5
18821 echo "${ECHO_T}no" >&6; }
18822 fi
18823
18824 if test "x$ac_ct_AR" = x; then
18825 AR=""
18826 else
18827 case $cross_compiling:$ac_tool_warned in
18828 yes:)
18829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18830 whose name does not start with the host triplet. If you think this
18831 configuration is useful to you, please write to autoconf@gnu.org." >&5
18832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18833 whose name does not start with the host triplet. If you think this
18834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18835 ac_tool_warned=yes ;;
18836 esac
18837 AR=$ac_ct_AR
18838 fi
18839 else
18840 AR="$ac_cv_prog_AR"
18841 fi
18842
18843 if test "x$AR" = "x" ; then
18844 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18845 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18846 { (exit 1); exit 1; }; }
18847 fi
18848 fi
18849
18850
18851 if test "$wxUSE_MAC" = 1; then
18852
18853 retest_macosx_linking=no
18854
18855 OSX_ARCH_OPTS=""
18856 if test "x$wxUSE_MAC_ARCH" != xno; then
18857 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18858 fi
18859
18860 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18861 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18862 # Implicitly turn on the new --with-macosx-sdk using the default
18863 # SDK which provides the behaviour this option has always had.
18864 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18865 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18866 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18867 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18868 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18869 wxUSE_MACOSX_SDK=yes
18870 fi
18871 else
18872 # Complain to user if he specified an argument to --enable-universal_binary
18873 # and also 1) specified --with-macosx-sdk using the default (yes) or
18874 # 2) specified --with-macosx-sdk using a path or 3) specified
18875 # --without-macosx-sdk (no).
18876 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18877 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18878 See \`config.log' for more details." >&5
18879 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18880 See \`config.log' for more details." >&2;}
18881 { (exit 1); exit 1; }; }
18882 else
18883 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18884 # special-case the empty string because the below test simply
18885 # converts "no" to the empty string anyway.
18886 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18887 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18888 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18889 fi
18890 fi
18891 OSX_ARCH_OPTS="-arch ppc -arch i386"
18892 if test "$wxUSE_OSX_COCOA" = 1; then
18893 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18894 fi
18895 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18896 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18897 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18898 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18899
18900 retest_macosx_linking=yes
18901
18902 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18903 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18904 bk_use_pch=no
18905 fi
18906
18907 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18908 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18909 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18910 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18911 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18912
18913 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18914 wxUSE_MACOSX_SDK=
18915 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18916 # TODO: Search for most recent SDK and use it.
18917 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18918 fi
18919
18920
18921 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18922 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18923 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18924 if ! test -d "$wxUSE_MACOSX_SDK"; then
18925 { { echo "$as_me:$LINENO: error: not found
18926 See \`config.log' for more details." >&5
18927 echo "$as_me: error: not found
18928 See \`config.log' for more details." >&2;}
18929 { (exit 1); exit 1; }; }
18930 else
18931 { echo "$as_me:$LINENO: result: exists" >&5
18932 echo "${ECHO_T}exists" >&6; }
18933 fi
18934 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18935 retest_macosx_linking=yes
18936 fi
18937
18938 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18939 wxUSE_MACOSX_VERSION_MIN=
18940 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18941 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18942 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18943 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18944
18945 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/'`
18946
18947 # If that failed, try again with the new key
18948 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18949
18950 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/'`
18951
18952 fi
18953
18954 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18955 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18956 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18957 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18958 else
18959 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18960 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18961 wxUSE_MACOSX_VERSION_MIN=
18962 fi
18963 else
18964 wxUSE_MACOSX_VERSION_MIN=
18965 fi
18966 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18967 for ac_prog in sw_vers
18968 do
18969 # Extract the first word of "$ac_prog", so it can be a program name with args.
18970 set dummy $ac_prog; ac_word=$2
18971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18973 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 else
18976 if test -n "$OSX_SW_VERS"; then
18977 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18978 else
18979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18980 for as_dir in $PATH
18981 do
18982 IFS=$as_save_IFS
18983 test -z "$as_dir" && as_dir=.
18984 for ac_exec_ext in '' $ac_executable_extensions; do
18985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18986 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18988 break 2
18989 fi
18990 done
18991 done
18992 IFS=$as_save_IFS
18993
18994 fi
18995 fi
18996 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18997 if test -n "$OSX_SW_VERS"; then
18998 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18999 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19000 else
19001 { echo "$as_me:$LINENO: result: no" >&5
19002 echo "${ECHO_T}no" >&6; }
19003 fi
19004
19005
19006 test -n "$OSX_SW_VERS" && break
19007 done
19008
19009 if test "$OSX_SW_VERS" != ""; then
19010 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19011 else
19012 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19013 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19014 OSX_VERSION="10.4"
19015 fi
19016
19017 case "$OSX_VERSION" in
19018 10.4* )
19019 wxUSE_MACOSX_VERSION_MIN=10.4
19020 ;;
19021
19022 * )
19023 if test "$wxUSE_OSX_CARBON" = 1; then
19024 # otherwise configure stops on leopard for universal_binary
19025 wxUSE_MACOSX_VERSION_MIN=10.4
19026 else
19027 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19028 wxUSE_MACOSX_VERSION_MIN=10.5
19029 fi
19030 ;;
19031 esac
19032 fi
19033
19034 NEEDS_GCC40="no"
19035 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19036 NEEDS_GCC40="yes"
19037 fi
19038
19039 if test "$wxUSE_OSX_CARBON" = 1; then
19040 NEEDS_GCC40="yes"
19041 fi
19042
19043 if test "x$NEEDS_GCC40" == "xyes"; then
19044 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19045 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19046 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19047 if test "x$CC" = "xgcc"; then
19048 CCVERSION=`$CC --version | grep 4.[2-9].`
19049 if test "x$CCVERSION" != "x"; then
19050 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19051 CC="gcc-4.0"
19052 fi
19053 fi
19054
19055 if test "x$CXX" = "xg++"; then
19056 CCVERSION=`$CXX --version | grep 4.[2-9].`
19057 if test "x$CCVERSION" != "x"; then
19058 CXX="g++-4.0"
19059 fi
19060 fi
19061 fi
19062
19063 if test "x$MACOSX_SDK_OPTS" != "x"; then
19064 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19065 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19066 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19067 fi
19068
19069 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19070 if test "$wxUSE_OSX_IPHONE" = 1; then
19071 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19072 else
19073 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19074 fi
19075 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19076 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19077 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19078 retest_macosx_linking=yes
19079 fi
19080
19081 if test "x$retest_macosx_linking" = "xyes"; then
19082 ac_ext=c
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19087
19088 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19089 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096
19097 int
19098 main ()
19099 {
19100
19101 ;
19102 return 0;
19103 }
19104 _ACEOF
19105 rm -f conftest.$ac_objext conftest$ac_exeext
19106 if { (ac_try="$ac_link"
19107 case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19110 esac
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_link") 2>conftest.er1
19113 ac_status=$?
19114 grep -v '^ *+' conftest.er1 >conftest.err
19115 rm -f conftest.er1
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && {
19119 test -z "$ac_c_werror_flag" ||
19120 test ! -s conftest.err
19121 } && test -s conftest$ac_exeext &&
19122 $as_test_x conftest$ac_exeext; then
19123 { echo "$as_me:$LINENO: result: yes" >&5
19124 echo "${ECHO_T}yes" >&6; }
19125 else
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19128
19129 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19130 See \`config.log' for more details." >&5
19131 echo "$as_me: error: no. Try a different SDK
19132 See \`config.log' for more details." >&2;}
19133 { (exit 1); exit 1; }; }; exit 1
19134 fi
19135
19136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19137 conftest$ac_exeext conftest.$ac_ext
19138 ac_ext=c
19139 ac_cpp='$CPP $CPPFLAGS'
19140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19143
19144
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19152 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159
19160 int
19161 main ()
19162 {
19163
19164 ;
19165 return 0;
19166 }
19167 _ACEOF
19168 rm -f conftest.$ac_objext conftest$ac_exeext
19169 if { (ac_try="$ac_link"
19170 case "(($ac_try" in
19171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19172 *) ac_try_echo=$ac_try;;
19173 esac
19174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19175 (eval "$ac_link") 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } && {
19182 test -z "$ac_cxx_werror_flag" ||
19183 test ! -s conftest.err
19184 } && test -s conftest$ac_exeext &&
19185 $as_test_x conftest$ac_exeext; then
19186 { echo "$as_me:$LINENO: result: yes" >&5
19187 echo "${ECHO_T}yes" >&6; }
19188 else
19189 echo "$as_me: failed program was:" >&5
19190 sed 's/^/| /' conftest.$ac_ext >&5
19191
19192 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19193 See \`config.log' for more details." >&5
19194 echo "$as_me: error: no. Try a different SDK
19195 See \`config.log' for more details." >&2;}
19196 { (exit 1); exit 1; }; }; exit 1
19197 fi
19198
19199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19200 conftest$ac_exeext conftest.$ac_ext
19201 ac_ext=c
19202 ac_cpp='$CPP $CPPFLAGS'
19203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19206
19207 fi
19208
19209 fi
19210 case "${host}" in
19211
19212 *-*-darwin* )
19213 INSTALL_PROGRAM="cp -fp"
19214 INSTALL_DATA="cp -fp"
19215 ;;
19216 *)
19217 ;;
19218 esac
19219
19220
19221 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19222 CXXFLAGS="-qunique $CXXFLAGS"
19223 fi
19224
19225 case "${host}" in
19226 powerpc-*-darwin* )
19227 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19228 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235
19236 int
19237 main ()
19238 {
19239 #ifndef __POWERPC__
19240 choke me for lack of PowerPC
19241 #endif
19242
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext
19248 if { (ac_try="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19252 esac
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19255 ac_status=$?
19256 grep -v '^ *+' conftest.er1 >conftest.err
19257 rm -f conftest.er1
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19264 { echo "$as_me:$LINENO: result: yes" >&5
19265 echo "${ECHO_T}yes" >&6; }
19266 else
19267 echo "$as_me: failed program was:" >&5
19268 sed 's/^/| /' conftest.$ac_ext >&5
19269
19270 { echo "$as_me:$LINENO: result: no" >&5
19271 echo "${ECHO_T}no" >&6; }
19272 cat >>confdefs.h <<\_ACEOF
19273 #define __POWERPC__ 1
19274 _ACEOF
19275
19276
19277 fi
19278
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280 ;;
19281 esac
19282
19283 case "${host}" in
19284 *-*-darwin* )
19285 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19286 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <CoreFoundation/CFBase.h>
19294
19295 int
19296 main ()
19297 {
19298
19299 ;
19300 return 0;
19301 }
19302 _ACEOF
19303 rm -f conftest.$ac_objext
19304 if { (ac_try="$ac_compile"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_compile") 2>conftest.er1
19311 ac_status=$?
19312 grep -v '^ *+' conftest.er1 >conftest.err
19313 rm -f conftest.er1
19314 cat conftest.err >&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && {
19317 test -z "$ac_c_werror_flag" ||
19318 test ! -s conftest.err
19319 } && test -s conftest.$ac_objext; then
19320 { echo "$as_me:$LINENO: result: yes" >&5
19321 echo "${ECHO_T}yes" >&6; }
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 { echo "$as_me:$LINENO: result: no" >&5
19327 echo "${ECHO_T}no" >&6; }
19328 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19329 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19330 cat >conftest.$ac_ext <<_ACEOF
19331 /* confdefs.h. */
19332 _ACEOF
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19336 #define __CF_USE_FRAMEWORK_INCLUDES__
19337 #include <CoreFoundation/CFBase.h>
19338
19339 int
19340 main ()
19341 {
19342
19343 ;
19344 return 0;
19345 }
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (ac_try="$ac_compile"
19349 case "(($ac_try" in
19350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19351 *) ac_try_echo=$ac_try;;
19352 esac
19353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19354 (eval "$ac_compile") 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && {
19361 test -z "$ac_c_werror_flag" ||
19362 test ! -s conftest.err
19363 } && test -s conftest.$ac_objext; then
19364 { echo "$as_me:$LINENO: result: yes" >&5
19365 echo "${ECHO_T}yes" >&6; }
19366 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19367 else
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19370
19371 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19372 See \`config.log' for more details." >&5
19373 echo "$as_me: error: no. CoreFoundation not available.
19374 See \`config.log' for more details." >&2;}
19375 { (exit 1); exit 1; }; }
19376
19377 fi
19378
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19380
19381
19382 fi
19383
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19385 ;;
19386 esac
19387
19388 wants_win32=0
19389 doesnt_want_win32=0
19390 case "${host}" in
19391 *-*-cygwin*)
19392 if test "$wxUSE_MSW" = 1 ; then
19393 wants_win32=1
19394 else
19395 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19396 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19397 if test "${wx_cv_nocygwin+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 else
19400
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h. */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407
19408 int
19409 main ()
19410 {
19411
19412 #ifdef __MINGW32__
19413 choke me
19414 #endif
19415
19416 ;
19417 return 0;
19418 }
19419 _ACEOF
19420 rm -f conftest.$ac_objext
19421 if { (ac_try="$ac_compile"
19422 case "(($ac_try" in
19423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19424 *) ac_try_echo=$ac_try;;
19425 esac
19426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19427 (eval "$ac_compile") 2>conftest.er1
19428 ac_status=$?
19429 grep -v '^ *+' conftest.er1 >conftest.err
19430 rm -f conftest.er1
19431 cat conftest.err >&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } && {
19434 test -z "$ac_c_werror_flag" ||
19435 test ! -s conftest.err
19436 } && test -s conftest.$ac_objext; then
19437 wx_cv_nocygwin=no
19438 else
19439 echo "$as_me: failed program was:" >&5
19440 sed 's/^/| /' conftest.$ac_ext >&5
19441
19442 wx_cv_nocygwin=yes
19443
19444 fi
19445
19446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19447
19448
19449 fi
19450 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19451 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19452
19453 if test "$wx_cv_nocygwin" = "yes"; then
19454 wants_win32=1
19455 else
19456 doesnt_want_win32=1
19457 fi
19458 fi
19459 if test "$wants_win32" = 1 ; then
19460 BAKEFILE_FORCE_PLATFORM=win32
19461 fi
19462 ;;
19463 *-*-mingw*)
19464 wants_win32=1
19465 ;;
19466 esac
19467
19468 if test "$wxUSE_WINE" = "yes"; then
19469 wants_win32=1
19470 LDFLAGS_GUI="-mwindows"
19471 fi
19472
19473 if test "$wants_win32" = 1 ; then
19474 USE_UNIX=0
19475 USE_WIN32=1
19476 cat >>confdefs.h <<\_ACEOF
19477 #define __WIN32__ 1
19478 _ACEOF
19479
19480 cat >>confdefs.h <<\_ACEOF
19481 #define __WIN95__ 1
19482 _ACEOF
19483
19484 cat >>confdefs.h <<\_ACEOF
19485 #define __WINDOWS__ 1
19486 _ACEOF
19487
19488 cat >>confdefs.h <<\_ACEOF
19489 #define __GNUWIN32__ 1
19490 _ACEOF
19491
19492 cat >>confdefs.h <<\_ACEOF
19493 #define STRICT 1
19494 _ACEOF
19495
19496 fi
19497 if test "$doesnt_want_win32" = 1 ; then
19498 USE_UNIX=1
19499 USE_WIN32=0
19500 fi
19501
19502 if test "$USE_UNIX" = 1 ; then
19503 wxUSE_UNIX=yes
19504 cat >>confdefs.h <<\_ACEOF
19505 #define __UNIX__ 1
19506 _ACEOF
19507
19508 fi
19509
19510 case "${host}" in
19511 *-pc-os2_emx | *-pc-os2-emx )
19512 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19513 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19514 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19515 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19516 echo $ECHO_N "(cached) $ECHO_C" >&6
19517 else
19518 ac_check_lib_save_LIBS=$LIBS
19519 LIBS="-lcExt $LIBS"
19520 cat >conftest.$ac_ext <<_ACEOF
19521 /* confdefs.h. */
19522 _ACEOF
19523 cat confdefs.h >>conftest.$ac_ext
19524 cat >>conftest.$ac_ext <<_ACEOF
19525 /* end confdefs.h. */
19526
19527 /* Override any GCC internal prototype to avoid an error.
19528 Use char because int might match the return type of a GCC
19529 builtin and then its argument prototype would still apply. */
19530 #ifdef __cplusplus
19531 extern "C"
19532 #endif
19533 char drand48 ();
19534 int
19535 main ()
19536 {
19537 return drand48 ();
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 rm -f conftest.$ac_objext conftest$ac_exeext
19543 if { (ac_try="$ac_link"
19544 case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19547 esac
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_link") 2>conftest.er1
19550 ac_status=$?
19551 grep -v '^ *+' conftest.er1 >conftest.err
19552 rm -f conftest.er1
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest$ac_exeext &&
19559 $as_test_x conftest$ac_exeext; then
19560 ac_cv_lib_cExt_drand48=yes
19561 else
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 ac_cv_lib_cExt_drand48=no
19566 fi
19567
19568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19569 conftest$ac_exeext conftest.$ac_ext
19570 LIBS=$ac_check_lib_save_LIBS
19571 fi
19572 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19573 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19574 if test $ac_cv_lib_cExt_drand48 = yes; then
19575 LIBS="$LIBS -lcExt"
19576 fi
19577
19578 else
19579 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19580 fi
19581 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19582 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19583 if test "${wx_cv_gccversion+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586
19587 if test "$cross_compiling" = yes; then
19588 wx_cv_gccversion="EMX2"
19589
19590 else
19591 cat >conftest.$ac_ext <<_ACEOF
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597
19598 #include <stdio.h>
19599
19600 int main()
19601 {
19602 FILE *f=fopen("conftestval", "w");
19603 if (!f) exit(1);
19604 fprintf(f,
19605 #if (__GNUC__ < 3)
19606 "EMX2"
19607 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19608 "EMX3"
19609 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19610 "Innotek5"
19611 #else
19612 "Innotek6"
19613 #endif
19614 );
19615 exit(0);
19616 }
19617
19618 _ACEOF
19619 rm -f conftest$ac_exeext
19620 if { (ac_try="$ac_link"
19621 case "(($ac_try" in
19622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19623 *) ac_try_echo=$ac_try;;
19624 esac
19625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19626 (eval "$ac_link") 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19630 { (case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19633 esac
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_try") 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 wx_cv_gccversion=`cat conftestval`
19640 else
19641 echo "$as_me: program exited with status $ac_status" >&5
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ( exit $ac_status )
19646 wx_cv_gccversion="EMX2"
19647 fi
19648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19649 fi
19650
19651
19652
19653 fi
19654 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19655 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19656 if test "$wx_cv_gccversion" = "EMX2"; then
19657 LIBS="$LIBS -lstdcpp"
19658 LDFLAGS="$LDFLAGS -Zsysv-signals"
19659 else
19660 if test "$wx_cv_gccversion" = "EMX3"; then
19661 LIBS="$LIBS -lstdcxx -lgcc"
19662 LDFLAGS="$LDFLAGS -Zsysv-signals"
19663 else
19664 LIBS="$LIBS -lstdc++"
19665 fi
19666 fi
19667 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19668 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19669 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19670 wxUSE_OMF=yes
19671 enable_omf=yes
19672 fi
19673 ;;
19674 *)
19675
19676 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19677 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19678 if test "${ac_cv_string_strcasecmp+set}" = set; then
19679 echo $ECHO_N "(cached) $ECHO_C" >&6
19680 else
19681
19682 cat >conftest.$ac_ext <<_ACEOF
19683 /* confdefs.h. */
19684 _ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688
19689 #include <string.h>
19690
19691 int
19692 main ()
19693 {
19694
19695 strcasecmp("foo", "bar");
19696
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 rm -f conftest.$ac_objext conftest$ac_exeext
19702 if { (ac_try="$ac_link"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19706 esac
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_link") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest$ac_exeext &&
19718 $as_test_x conftest$ac_exeext; then
19719 ac_cv_string_strcasecmp=yes
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19723
19724 ac_cv_string_strcasecmp=no
19725
19726 fi
19727
19728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19729 conftest$ac_exeext conftest.$ac_ext
19730
19731 fi
19732 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19733 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19734
19735 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19736 cat >>confdefs.h <<\_ACEOF
19737 #define HAVE_STRCASECMP_IN_STRING_H 1
19738 _ACEOF
19739
19740 else
19741 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19742 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19743 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19745 else
19746
19747 cat >conftest.$ac_ext <<_ACEOF
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753
19754 #include <strings.h>
19755
19756 int
19757 main ()
19758 {
19759
19760 strcasecmp("foo", "bar");
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest.$ac_objext conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest$ac_exeext &&
19783 $as_test_x conftest$ac_exeext; then
19784 ac_cv_strings_strcasecmp=yes
19785 else
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19788
19789 ac_cv_strings_strcasecmp=no
19790
19791 fi
19792
19793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19794 conftest$ac_exeext conftest.$ac_ext
19795
19796 fi
19797 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19798 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19799
19800 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19801 cat >>confdefs.h <<\_ACEOF
19802 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19803 _ACEOF
19804
19805 else
19806 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19807 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19808 { (exit 1); exit 1; }; }
19809 fi
19810 fi
19811
19812 ;;
19813 esac
19814
19815
19816 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19817 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19818 if test "${ac_cv_header_stdc+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821 cat >conftest.$ac_ext <<_ACEOF
19822 /* confdefs.h. */
19823 _ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 #include <stdlib.h>
19828 #include <stdarg.h>
19829 #include <string.h>
19830 #include <float.h>
19831
19832 int
19833 main ()
19834 {
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_cv_header_stdc=yes
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_cv_header_stdc=no
19863 fi
19864
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866
19867 if test $ac_cv_header_stdc = yes; then
19868 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <string.h>
19876
19877 _ACEOF
19878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19879 $EGREP "memchr" >/dev/null 2>&1; then
19880 :
19881 else
19882 ac_cv_header_stdc=no
19883 fi
19884 rm -f conftest*
19885
19886 fi
19887
19888 if test $ac_cv_header_stdc = yes; then
19889 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <stdlib.h>
19897
19898 _ACEOF
19899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19900 $EGREP "free" >/dev/null 2>&1; then
19901 :
19902 else
19903 ac_cv_header_stdc=no
19904 fi
19905 rm -f conftest*
19906
19907 fi
19908
19909 if test $ac_cv_header_stdc = yes; then
19910 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19911 if test "$cross_compiling" = yes; then
19912 :
19913 else
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #include <ctype.h>
19921 #include <stdlib.h>
19922 #if ((' ' & 0x0FF) == 0x020)
19923 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19924 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19925 #else
19926 # define ISLOWER(c) \
19927 (('a' <= (c) && (c) <= 'i') \
19928 || ('j' <= (c) && (c) <= 'r') \
19929 || ('s' <= (c) && (c) <= 'z'))
19930 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19931 #endif
19932
19933 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19934 int
19935 main ()
19936 {
19937 int i;
19938 for (i = 0; i < 256; i++)
19939 if (XOR (islower (i), ISLOWER (i))
19940 || toupper (i) != TOUPPER (i))
19941 return 2;
19942 return 0;
19943 }
19944 _ACEOF
19945 rm -f conftest$ac_exeext
19946 if { (ac_try="$ac_link"
19947 case "(($ac_try" in
19948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19950 esac
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_link") 2>&5
19953 ac_status=$?
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19965 :
19966 else
19967 echo "$as_me: program exited with status $ac_status" >&5
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ( exit $ac_status )
19972 ac_cv_header_stdc=no
19973 fi
19974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19975 fi
19976
19977
19978 fi
19979 fi
19980 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19981 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19982 if test $ac_cv_header_stdc = yes; then
19983
19984 cat >>confdefs.h <<\_ACEOF
19985 #define STDC_HEADERS 1
19986 _ACEOF
19987
19988 fi
19989
19990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20001 inttypes.h stdint.h unistd.h
20002 do
20003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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
20017 #include <$ac_header>
20018 _ACEOF
20019 rm -f conftest.$ac_objext
20020 if { (ac_try="$ac_compile"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20024 esac
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_compile") 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } && {
20033 test -z "$ac_c_werror_flag" ||
20034 test ! -s conftest.err
20035 } && test -s conftest.$ac_objext; then
20036 eval "$as_ac_Header=yes"
20037 else
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20040
20041 eval "$as_ac_Header=no"
20042 fi
20043
20044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20045 fi
20046 ac_res=`eval echo '${'$as_ac_Header'}'`
20047 { echo "$as_me:$LINENO: result: $ac_res" >&5
20048 echo "${ECHO_T}$ac_res" >&6; }
20049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20050 cat >>confdefs.h <<_ACEOF
20051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20052 _ACEOF
20053
20054 fi
20055
20056 done
20057
20058
20059
20060
20061 for ac_header in langinfo.h wchar.h
20062 do
20063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20064 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20066 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20067 echo $ECHO_N "(cached) $ECHO_C" >&6
20068 else
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
20077 #include <$ac_header>
20078 _ACEOF
20079 rm -f conftest.$ac_objext
20080 if { (ac_try="$ac_compile"
20081 case "(($ac_try" in
20082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20083 *) ac_try_echo=$ac_try;;
20084 esac
20085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20086 (eval "$ac_compile") 2>conftest.er1
20087 ac_status=$?
20088 grep -v '^ *+' conftest.er1 >conftest.err
20089 rm -f conftest.er1
20090 cat conftest.err >&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); } && {
20093 test -z "$ac_c_werror_flag" ||
20094 test ! -s conftest.err
20095 } && test -s conftest.$ac_objext; then
20096 eval "$as_ac_Header=yes"
20097 else
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20100
20101 eval "$as_ac_Header=no"
20102 fi
20103
20104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20105 fi
20106 ac_res=`eval echo '${'$as_ac_Header'}'`
20107 { echo "$as_me:$LINENO: result: $ac_res" >&5
20108 echo "${ECHO_T}$ac_res" >&6; }
20109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20110 cat >>confdefs.h <<_ACEOF
20111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20112 _ACEOF
20113
20114 fi
20115
20116 done
20117
20118
20119 if test "$ac_cv_header_wchar_h" != "yes"; then
20120
20121 for ac_header in wcstr.h
20122 do
20123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20126 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 else
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 $ac_includes_default
20136
20137 #include <$ac_header>
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (ac_try="$ac_compile"
20141 case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;;
20144 esac
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_compile") 2>conftest.er1
20147 ac_status=$?
20148 grep -v '^ *+' conftest.er1 >conftest.err
20149 rm -f conftest.er1
20150 cat conftest.err >&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } && {
20153 test -z "$ac_c_werror_flag" ||
20154 test ! -s conftest.err
20155 } && test -s conftest.$ac_objext; then
20156 eval "$as_ac_Header=yes"
20157 else
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 eval "$as_ac_Header=no"
20162 fi
20163
20164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20165 fi
20166 ac_res=`eval echo '${'$as_ac_Header'}'`
20167 { echo "$as_me:$LINENO: result: $ac_res" >&5
20168 echo "${ECHO_T}$ac_res" >&6; }
20169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20170 cat >>confdefs.h <<_ACEOF
20171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20172 _ACEOF
20173
20174 fi
20175
20176 done
20177
20178 fi
20179
20180 case "${host}" in
20181 *-pc-os2_emx | *-pc-os2-emx )
20182 if test $ac_cv_header_langinfo_h = "yes" \
20183 -a \( "$wx_cv_gccversion" = "EMX2" \
20184 -o "$wx_cv_gccversion" = "EMX3" \
20185 -o "$wx_cv_gccversion" = "Innotek5" \); then
20186 LIBS="$LIBS -lintl"
20187 fi
20188 ;;
20189 esac
20190
20191 if test "$USE_UNIX" = 1 ; then
20192
20193 for ac_header in sys/select.h
20194 do
20195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20196 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20198 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 else
20201 cat >conftest.$ac_ext <<_ACEOF
20202 /* confdefs.h. */
20203 _ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20208
20209 #include <$ac_header>
20210 _ACEOF
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20216 esac
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.$ac_objext; then
20228 eval "$as_ac_Header=yes"
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233 eval "$as_ac_Header=no"
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 fi
20238 ac_res=`eval echo '${'$as_ac_Header'}'`
20239 { echo "$as_me:$LINENO: result: $ac_res" >&5
20240 echo "${ECHO_T}$ac_res" >&6; }
20241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20242 cat >>confdefs.h <<_ACEOF
20243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20244 _ACEOF
20245
20246 fi
20247
20248 done
20249
20250 fi
20251
20252
20253 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20254 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20255 if test "${ac_cv_c_const+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264
20265 int
20266 main ()
20267 {
20268 /* FIXME: Include the comments suggested by Paul. */
20269 #ifndef __cplusplus
20270 /* Ultrix mips cc rejects this. */
20271 typedef int charset[2];
20272 const charset cs;
20273 /* SunOS 4.1.1 cc rejects this. */
20274 char const *const *pcpcc;
20275 char **ppc;
20276 /* NEC SVR4.0.2 mips cc rejects this. */
20277 struct point {int x, y;};
20278 static struct point const zero = {0,0};
20279 /* AIX XL C 1.02.0.0 rejects this.
20280 It does not let you subtract one const X* pointer from another in
20281 an arm of an if-expression whose if-part is not a constant
20282 expression */
20283 const char *g = "string";
20284 pcpcc = &g + (g ? g-g : 0);
20285 /* HPUX 7.0 cc rejects these. */
20286 ++pcpcc;
20287 ppc = (char**) pcpcc;
20288 pcpcc = (char const *const *) ppc;
20289 { /* SCO 3.2v4 cc rejects this. */
20290 char *t;
20291 char const *s = 0 ? (char *) 0 : (char const *) 0;
20292
20293 *t++ = 0;
20294 if (s) return 0;
20295 }
20296 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20297 int x[] = {25, 17};
20298 const int *foo = &x[0];
20299 ++foo;
20300 }
20301 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20302 typedef const int *iptr;
20303 iptr p = 0;
20304 ++p;
20305 }
20306 { /* AIX XL C 1.02.0.0 rejects this saying
20307 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20308 struct s { int j; const int *ap[3]; };
20309 struct s *b; b->j = 5;
20310 }
20311 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20312 const int foo = 10;
20313 if (!foo) return 0;
20314 }
20315 return !cs[0] && !zero.x;
20316 #endif
20317
20318 ;
20319 return 0;
20320 }
20321 _ACEOF
20322 rm -f conftest.$ac_objext
20323 if { (ac_try="$ac_compile"
20324 case "(($ac_try" in
20325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20326 *) ac_try_echo=$ac_try;;
20327 esac
20328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20329 (eval "$ac_compile") 2>conftest.er1
20330 ac_status=$?
20331 grep -v '^ *+' conftest.er1 >conftest.err
20332 rm -f conftest.er1
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } && {
20336 test -z "$ac_c_werror_flag" ||
20337 test ! -s conftest.err
20338 } && test -s conftest.$ac_objext; then
20339 ac_cv_c_const=yes
20340 else
20341 echo "$as_me: failed program was:" >&5
20342 sed 's/^/| /' conftest.$ac_ext >&5
20343
20344 ac_cv_c_const=no
20345 fi
20346
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20348 fi
20349 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20350 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20351 if test $ac_cv_c_const = no; then
20352
20353 cat >>confdefs.h <<\_ACEOF
20354 #define const
20355 _ACEOF
20356
20357 fi
20358
20359 { echo "$as_me:$LINENO: checking for inline" >&5
20360 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20361 if test "${ac_cv_c_inline+set}" = set; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 else
20364 ac_cv_c_inline=no
20365 for ac_kw in inline __inline__ __inline; do
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #ifndef __cplusplus
20373 typedef int foo_t;
20374 static $ac_kw foo_t static_foo () {return 0; }
20375 $ac_kw foo_t foo () {return 0; }
20376 #endif
20377
20378 _ACEOF
20379 rm -f conftest.$ac_objext
20380 if { (ac_try="$ac_compile"
20381 case "(($ac_try" in
20382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20383 *) ac_try_echo=$ac_try;;
20384 esac
20385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20386 (eval "$ac_compile") 2>conftest.er1
20387 ac_status=$?
20388 grep -v '^ *+' conftest.er1 >conftest.err
20389 rm -f conftest.er1
20390 cat conftest.err >&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } && {
20393 test -z "$ac_c_werror_flag" ||
20394 test ! -s conftest.err
20395 } && test -s conftest.$ac_objext; then
20396 ac_cv_c_inline=$ac_kw
20397 else
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20400
20401
20402 fi
20403
20404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20405 test "$ac_cv_c_inline" != no && break
20406 done
20407
20408 fi
20409 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20410 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20411
20412
20413 case $ac_cv_c_inline in
20414 inline | yes) ;;
20415 *)
20416 case $ac_cv_c_inline in
20417 no) ac_val=;;
20418 *) ac_val=$ac_cv_c_inline;;
20419 esac
20420 cat >>confdefs.h <<_ACEOF
20421 #ifndef __cplusplus
20422 #define inline $ac_val
20423 #endif
20424 _ACEOF
20425 ;;
20426 esac
20427
20428
20429 { echo "$as_me:$LINENO: checking for short" >&5
20430 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20431 if test "${ac_cv_type_short+set}" = set; then
20432 echo $ECHO_N "(cached) $ECHO_C" >&6
20433 else
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h. */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 typedef short ac__type_new_;
20442 int
20443 main ()
20444 {
20445 if ((ac__type_new_ *) 0)
20446 return 0;
20447 if (sizeof (ac__type_new_))
20448 return 0;
20449 ;
20450 return 0;
20451 }
20452 _ACEOF
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20458 esac
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 ac_cv_type_short=yes
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_cv_type_short=no
20476 fi
20477
20478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 fi
20480 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20481 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20482
20483 # The cast to long int works around a bug in the HP C Compiler
20484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20486 # This bug is HP SR number 8606223364.
20487 { echo "$as_me:$LINENO: checking size of short" >&5
20488 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20489 if test "${ac_cv_sizeof_short+set}" = set; then
20490 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 else
20492 if test "$cross_compiling" = yes; then
20493 # Depending upon the size, compute the lo and hi bounds.
20494 cat >conftest.$ac_ext <<_ACEOF
20495 /* confdefs.h. */
20496 _ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 $ac_includes_default
20501 typedef short ac__type_sizeof_;
20502 int
20503 main ()
20504 {
20505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20506 test_array [0] = 0
20507
20508 ;
20509 return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (ac_try="$ac_compile"
20514 case "(($ac_try" in
20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20516 *) ac_try_echo=$ac_try;;
20517 esac
20518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20519 (eval "$ac_compile") 2>conftest.er1
20520 ac_status=$?
20521 grep -v '^ *+' conftest.er1 >conftest.err
20522 rm -f conftest.er1
20523 cat conftest.err >&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); } && {
20526 test -z "$ac_c_werror_flag" ||
20527 test ! -s conftest.err
20528 } && test -s conftest.$ac_objext; then
20529 ac_lo=0 ac_mid=0
20530 while :; do
20531 cat >conftest.$ac_ext <<_ACEOF
20532 /* confdefs.h. */
20533 _ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 typedef short ac__type_sizeof_;
20539 int
20540 main ()
20541 {
20542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20543 test_array [0] = 0
20544
20545 ;
20546 return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest.$ac_objext
20550 if { (ac_try="$ac_compile"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20554 esac
20555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_compile") 2>conftest.er1
20557 ac_status=$?
20558 grep -v '^ *+' conftest.er1 >conftest.err
20559 rm -f conftest.er1
20560 cat conftest.err >&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } && {
20563 test -z "$ac_c_werror_flag" ||
20564 test ! -s conftest.err
20565 } && test -s conftest.$ac_objext; then
20566 ac_hi=$ac_mid; break
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20570
20571 ac_lo=`expr $ac_mid + 1`
20572 if test $ac_lo -le $ac_mid; then
20573 ac_lo= ac_hi=
20574 break
20575 fi
20576 ac_mid=`expr 2 '*' $ac_mid + 1`
20577 fi
20578
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20580 done
20581 else
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20584
20585 cat >conftest.$ac_ext <<_ACEOF
20586 /* confdefs.h. */
20587 _ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 $ac_includes_default
20592 typedef short ac__type_sizeof_;
20593 int
20594 main ()
20595 {
20596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20597 test_array [0] = 0
20598
20599 ;
20600 return 0;
20601 }
20602 _ACEOF
20603 rm -f conftest.$ac_objext
20604 if { (ac_try="$ac_compile"
20605 case "(($ac_try" in
20606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20607 *) ac_try_echo=$ac_try;;
20608 esac
20609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20610 (eval "$ac_compile") 2>conftest.er1
20611 ac_status=$?
20612 grep -v '^ *+' conftest.er1 >conftest.err
20613 rm -f conftest.er1
20614 cat conftest.err >&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } && {
20617 test -z "$ac_c_werror_flag" ||
20618 test ! -s conftest.err
20619 } && test -s conftest.$ac_objext; then
20620 ac_hi=-1 ac_mid=-1
20621 while :; do
20622 cat >conftest.$ac_ext <<_ACEOF
20623 /* confdefs.h. */
20624 _ACEOF
20625 cat confdefs.h >>conftest.$ac_ext
20626 cat >>conftest.$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20628 $ac_includes_default
20629 typedef short ac__type_sizeof_;
20630 int
20631 main ()
20632 {
20633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20634 test_array [0] = 0
20635
20636 ;
20637 return 0;
20638 }
20639 _ACEOF
20640 rm -f conftest.$ac_objext
20641 if { (ac_try="$ac_compile"
20642 case "(($ac_try" in
20643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20644 *) ac_try_echo=$ac_try;;
20645 esac
20646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20647 (eval "$ac_compile") 2>conftest.er1
20648 ac_status=$?
20649 grep -v '^ *+' conftest.er1 >conftest.err
20650 rm -f conftest.er1
20651 cat conftest.err >&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); } && {
20654 test -z "$ac_c_werror_flag" ||
20655 test ! -s conftest.err
20656 } && test -s conftest.$ac_objext; then
20657 ac_lo=$ac_mid; break
20658 else
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20661
20662 ac_hi=`expr '(' $ac_mid ')' - 1`
20663 if test $ac_mid -le $ac_hi; then
20664 ac_lo= ac_hi=
20665 break
20666 fi
20667 ac_mid=`expr 2 '*' $ac_mid`
20668 fi
20669
20670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20671 done
20672 else
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20675
20676 ac_lo= ac_hi=
20677 fi
20678
20679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20680 fi
20681
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 # Binary search between lo and hi bounds.
20684 while test "x$ac_lo" != "x$ac_hi"; do
20685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20686 cat >conftest.$ac_ext <<_ACEOF
20687 /* confdefs.h. */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 $ac_includes_default
20693 typedef short ac__type_sizeof_;
20694 int
20695 main ()
20696 {
20697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20698 test_array [0] = 0
20699
20700 ;
20701 return 0;
20702 }
20703 _ACEOF
20704 rm -f conftest.$ac_objext
20705 if { (ac_try="$ac_compile"
20706 case "(($ac_try" in
20707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20708 *) ac_try_echo=$ac_try;;
20709 esac
20710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20711 (eval "$ac_compile") 2>conftest.er1
20712 ac_status=$?
20713 grep -v '^ *+' conftest.er1 >conftest.err
20714 rm -f conftest.er1
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } && {
20718 test -z "$ac_c_werror_flag" ||
20719 test ! -s conftest.err
20720 } && test -s conftest.$ac_objext; then
20721 ac_hi=$ac_mid
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20725
20726 ac_lo=`expr '(' $ac_mid ')' + 1`
20727 fi
20728
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 done
20731 case $ac_lo in
20732 ?*) ac_cv_sizeof_short=$ac_lo;;
20733 '') if test "$ac_cv_type_short" = yes; then
20734 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20735 See \`config.log' for more details." >&5
20736 echo "$as_me: error: cannot compute sizeof (short)
20737 See \`config.log' for more details." >&2;}
20738 { (exit 77); exit 77; }; }
20739 else
20740 ac_cv_sizeof_short=0
20741 fi ;;
20742 esac
20743 else
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 typedef short ac__type_sizeof_;
20752 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20753 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20754 #include <stdio.h>
20755 #include <stdlib.h>
20756 int
20757 main ()
20758 {
20759
20760 FILE *f = fopen ("conftest.val", "w");
20761 if (! f)
20762 return 1;
20763 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20764 {
20765 long int i = longval ();
20766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20767 return 1;
20768 fprintf (f, "%ld\n", i);
20769 }
20770 else
20771 {
20772 unsigned long int i = ulongval ();
20773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20774 return 1;
20775 fprintf (f, "%lu\n", i);
20776 }
20777 return ferror (f) || fclose (f) != 0;
20778
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 rm -f conftest$ac_exeext
20784 if { (ac_try="$ac_link"
20785 case "(($ac_try" in
20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20787 *) ac_try_echo=$ac_try;;
20788 esac
20789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20790 (eval "$ac_link") 2>&5
20791 ac_status=$?
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20794 { (case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20797 esac
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_try") 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; }; then
20803 ac_cv_sizeof_short=`cat conftest.val`
20804 else
20805 echo "$as_me: program exited with status $ac_status" >&5
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.$ac_ext >&5
20808
20809 ( exit $ac_status )
20810 if test "$ac_cv_type_short" = yes; then
20811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20812 See \`config.log' for more details." >&5
20813 echo "$as_me: error: cannot compute sizeof (short)
20814 See \`config.log' for more details." >&2;}
20815 { (exit 77); exit 77; }; }
20816 else
20817 ac_cv_sizeof_short=0
20818 fi
20819 fi
20820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20821 fi
20822 rm -f conftest.val
20823 fi
20824 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20825 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20826
20827
20828
20829 cat >>confdefs.h <<_ACEOF
20830 #define SIZEOF_SHORT $ac_cv_sizeof_short
20831 _ACEOF
20832
20833
20834 { echo "$as_me:$LINENO: checking for void *" >&5
20835 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20836 if test "${ac_cv_type_void_p+set}" = set; then
20837 echo $ECHO_N "(cached) $ECHO_C" >&6
20838 else
20839 cat >conftest.$ac_ext <<_ACEOF
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 typedef void * ac__type_new_;
20847 int
20848 main ()
20849 {
20850 if ((ac__type_new_ *) 0)
20851 return 0;
20852 if (sizeof (ac__type_new_))
20853 return 0;
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 rm -f conftest.$ac_objext
20859 if { (ac_try="$ac_compile"
20860 case "(($ac_try" in
20861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20862 *) ac_try_echo=$ac_try;;
20863 esac
20864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20865 (eval "$ac_compile") 2>conftest.er1
20866 ac_status=$?
20867 grep -v '^ *+' conftest.er1 >conftest.err
20868 rm -f conftest.er1
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } && {
20872 test -z "$ac_c_werror_flag" ||
20873 test ! -s conftest.err
20874 } && test -s conftest.$ac_objext; then
20875 ac_cv_type_void_p=yes
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20879
20880 ac_cv_type_void_p=no
20881 fi
20882
20883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20884 fi
20885 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20886 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20887
20888 # The cast to long int works around a bug in the HP C Compiler
20889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20891 # This bug is HP SR number 8606223364.
20892 { echo "$as_me:$LINENO: checking size of void *" >&5
20893 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20894 if test "${ac_cv_sizeof_void_p+set}" = set; then
20895 echo $ECHO_N "(cached) $ECHO_C" >&6
20896 else
20897 if test "$cross_compiling" = yes; then
20898 # Depending upon the size, compute the lo and hi bounds.
20899 cat >conftest.$ac_ext <<_ACEOF
20900 /* confdefs.h. */
20901 _ACEOF
20902 cat confdefs.h >>conftest.$ac_ext
20903 cat >>conftest.$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905 $ac_includes_default
20906 typedef void * ac__type_sizeof_;
20907 int
20908 main ()
20909 {
20910 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20911 test_array [0] = 0
20912
20913 ;
20914 return 0;
20915 }
20916 _ACEOF
20917 rm -f conftest.$ac_objext
20918 if { (ac_try="$ac_compile"
20919 case "(($ac_try" in
20920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20921 *) ac_try_echo=$ac_try;;
20922 esac
20923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20924 (eval "$ac_compile") 2>conftest.er1
20925 ac_status=$?
20926 grep -v '^ *+' conftest.er1 >conftest.err
20927 rm -f conftest.er1
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } && {
20931 test -z "$ac_c_werror_flag" ||
20932 test ! -s conftest.err
20933 } && test -s conftest.$ac_objext; then
20934 ac_lo=0 ac_mid=0
20935 while :; do
20936 cat >conftest.$ac_ext <<_ACEOF
20937 /* confdefs.h. */
20938 _ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20943 typedef void * ac__type_sizeof_;
20944 int
20945 main ()
20946 {
20947 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20948 test_array [0] = 0
20949
20950 ;
20951 return 0;
20952 }
20953 _ACEOF
20954 rm -f conftest.$ac_objext
20955 if { (ac_try="$ac_compile"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20959 esac
20960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_compile") 2>conftest.er1
20962 ac_status=$?
20963 grep -v '^ *+' conftest.er1 >conftest.err
20964 rm -f conftest.er1
20965 cat conftest.err >&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); } && {
20968 test -z "$ac_c_werror_flag" ||
20969 test ! -s conftest.err
20970 } && test -s conftest.$ac_objext; then
20971 ac_hi=$ac_mid; break
20972 else
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ac_lo=`expr $ac_mid + 1`
20977 if test $ac_lo -le $ac_mid; then
20978 ac_lo= ac_hi=
20979 break
20980 fi
20981 ac_mid=`expr 2 '*' $ac_mid + 1`
20982 fi
20983
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 done
20986 else
20987 echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.$ac_ext >&5
20989
20990 cat >conftest.$ac_ext <<_ACEOF
20991 /* confdefs.h. */
20992 _ACEOF
20993 cat confdefs.h >>conftest.$ac_ext
20994 cat >>conftest.$ac_ext <<_ACEOF
20995 /* end confdefs.h. */
20996 $ac_includes_default
20997 typedef void * ac__type_sizeof_;
20998 int
20999 main ()
21000 {
21001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21002 test_array [0] = 0
21003
21004 ;
21005 return 0;
21006 }
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (ac_try="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21013 esac
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21016 ac_status=$?
21017 grep -v '^ *+' conftest.er1 >conftest.err
21018 rm -f conftest.er1
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } && {
21022 test -z "$ac_c_werror_flag" ||
21023 test ! -s conftest.err
21024 } && test -s conftest.$ac_objext; then
21025 ac_hi=-1 ac_mid=-1
21026 while :; do
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21034 typedef void * ac__type_sizeof_;
21035 int
21036 main ()
21037 {
21038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21039 test_array [0] = 0
21040
21041 ;
21042 return 0;
21043 }
21044 _ACEOF
21045 rm -f conftest.$ac_objext
21046 if { (ac_try="$ac_compile"
21047 case "(($ac_try" in
21048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049 *) ac_try_echo=$ac_try;;
21050 esac
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_compile") 2>conftest.er1
21053 ac_status=$?
21054 grep -v '^ *+' conftest.er1 >conftest.err
21055 rm -f conftest.er1
21056 cat conftest.err >&5
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && {
21059 test -z "$ac_c_werror_flag" ||
21060 test ! -s conftest.err
21061 } && test -s conftest.$ac_objext; then
21062 ac_lo=$ac_mid; break
21063 else
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21066
21067 ac_hi=`expr '(' $ac_mid ')' - 1`
21068 if test $ac_mid -le $ac_hi; then
21069 ac_lo= ac_hi=
21070 break
21071 fi
21072 ac_mid=`expr 2 '*' $ac_mid`
21073 fi
21074
21075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21076 done
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 ac_lo= ac_hi=
21082 fi
21083
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 fi
21086
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21088 # Binary search between lo and hi bounds.
21089 while test "x$ac_lo" != "x$ac_hi"; do
21090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098 typedef void * ac__type_sizeof_;
21099 int
21100 main ()
21101 {
21102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21103 test_array [0] = 0
21104
21105 ;
21106 return 0;
21107 }
21108 _ACEOF
21109 rm -f conftest.$ac_objext
21110 if { (ac_try="$ac_compile"
21111 case "(($ac_try" in
21112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21113 *) ac_try_echo=$ac_try;;
21114 esac
21115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21116 (eval "$ac_compile") 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } && {
21123 test -z "$ac_c_werror_flag" ||
21124 test ! -s conftest.err
21125 } && test -s conftest.$ac_objext; then
21126 ac_hi=$ac_mid
21127 else
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21130
21131 ac_lo=`expr '(' $ac_mid ')' + 1`
21132 fi
21133
21134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21135 done
21136 case $ac_lo in
21137 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21138 '') if test "$ac_cv_type_void_p" = yes; then
21139 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21140 See \`config.log' for more details." >&5
21141 echo "$as_me: error: cannot compute sizeof (void *)
21142 See \`config.log' for more details." >&2;}
21143 { (exit 77); exit 77; }; }
21144 else
21145 ac_cv_sizeof_void_p=0
21146 fi ;;
21147 esac
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef void * ac__type_sizeof_;
21157 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21158 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21159 #include <stdio.h>
21160 #include <stdlib.h>
21161 int
21162 main ()
21163 {
21164
21165 FILE *f = fopen ("conftest.val", "w");
21166 if (! f)
21167 return 1;
21168 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21169 {
21170 long int i = longval ();
21171 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21172 return 1;
21173 fprintf (f, "%ld\n", i);
21174 }
21175 else
21176 {
21177 unsigned long int i = ulongval ();
21178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21179 return 1;
21180 fprintf (f, "%lu\n", i);
21181 }
21182 return ferror (f) || fclose (f) != 0;
21183
21184 ;
21185 return 0;
21186 }
21187 _ACEOF
21188 rm -f conftest$ac_exeext
21189 if { (ac_try="$ac_link"
21190 case "(($ac_try" in
21191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21192 *) ac_try_echo=$ac_try;;
21193 esac
21194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21195 (eval "$ac_link") 2>&5
21196 ac_status=$?
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21199 { (case "(($ac_try" in
21200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21201 *) ac_try_echo=$ac_try;;
21202 esac
21203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21204 (eval "$ac_try") 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_cv_sizeof_void_p=`cat conftest.val`
21209 else
21210 echo "$as_me: program exited with status $ac_status" >&5
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21213
21214 ( exit $ac_status )
21215 if test "$ac_cv_type_void_p" = yes; then
21216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21217 See \`config.log' for more details." >&5
21218 echo "$as_me: error: cannot compute sizeof (void *)
21219 See \`config.log' for more details." >&2;}
21220 { (exit 77); exit 77; }; }
21221 else
21222 ac_cv_sizeof_void_p=0
21223 fi
21224 fi
21225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21226 fi
21227 rm -f conftest.val
21228 fi
21229 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21230 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21231
21232
21233
21234 cat >>confdefs.h <<_ACEOF
21235 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21236 _ACEOF
21237
21238
21239 { echo "$as_me:$LINENO: checking for int" >&5
21240 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21241 if test "${ac_cv_type_int+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21244 cat >conftest.$ac_ext <<_ACEOF
21245 /* confdefs.h. */
21246 _ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 $ac_includes_default
21251 typedef int ac__type_new_;
21252 int
21253 main ()
21254 {
21255 if ((ac__type_new_ *) 0)
21256 return 0;
21257 if (sizeof (ac__type_new_))
21258 return 0;
21259 ;
21260 return 0;
21261 }
21262 _ACEOF
21263 rm -f conftest.$ac_objext
21264 if { (ac_try="$ac_compile"
21265 case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21268 esac
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_compile") 2>conftest.er1
21271 ac_status=$?
21272 grep -v '^ *+' conftest.er1 >conftest.err
21273 rm -f conftest.er1
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest.$ac_objext; then
21280 ac_cv_type_int=yes
21281 else
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.$ac_ext >&5
21284
21285 ac_cv_type_int=no
21286 fi
21287
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 fi
21290 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21291 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21292
21293 # The cast to long int works around a bug in the HP C Compiler
21294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21296 # This bug is HP SR number 8606223364.
21297 { echo "$as_me:$LINENO: checking size of int" >&5
21298 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21299 if test "${ac_cv_sizeof_int+set}" = set; then
21300 echo $ECHO_N "(cached) $ECHO_C" >&6
21301 else
21302 if test "$cross_compiling" = yes; then
21303 # Depending upon the size, compute the lo and hi bounds.
21304 cat >conftest.$ac_ext <<_ACEOF
21305 /* confdefs.h. */
21306 _ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 $ac_includes_default
21311 typedef int ac__type_sizeof_;
21312 int
21313 main ()
21314 {
21315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21316 test_array [0] = 0
21317
21318 ;
21319 return 0;
21320 }
21321 _ACEOF
21322 rm -f conftest.$ac_objext
21323 if { (ac_try="$ac_compile"
21324 case "(($ac_try" in
21325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21326 *) ac_try_echo=$ac_try;;
21327 esac
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_compile") 2>conftest.er1
21330 ac_status=$?
21331 grep -v '^ *+' conftest.er1 >conftest.err
21332 rm -f conftest.er1
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } && {
21336 test -z "$ac_c_werror_flag" ||
21337 test ! -s conftest.err
21338 } && test -s conftest.$ac_objext; then
21339 ac_lo=0 ac_mid=0
21340 while :; do
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 typedef int ac__type_sizeof_;
21349 int
21350 main ()
21351 {
21352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21353 test_array [0] = 0
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (ac_try="$ac_compile"
21361 case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_compile") 2>conftest.er1
21367 ac_status=$?
21368 grep -v '^ *+' conftest.er1 >conftest.err
21369 rm -f conftest.er1
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && {
21373 test -z "$ac_c_werror_flag" ||
21374 test ! -s conftest.err
21375 } && test -s conftest.$ac_objext; then
21376 ac_hi=$ac_mid; break
21377 else
21378 echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.$ac_ext >&5
21380
21381 ac_lo=`expr $ac_mid + 1`
21382 if test $ac_lo -le $ac_mid; then
21383 ac_lo= ac_hi=
21384 break
21385 fi
21386 ac_mid=`expr 2 '*' $ac_mid + 1`
21387 fi
21388
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390 done
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21394
21395 cat >conftest.$ac_ext <<_ACEOF
21396 /* confdefs.h. */
21397 _ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h. */
21401 $ac_includes_default
21402 typedef int ac__type_sizeof_;
21403 int
21404 main ()
21405 {
21406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21407 test_array [0] = 0
21408
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 rm -f conftest.$ac_objext
21414 if { (ac_try="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21418 esac
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21421 ac_status=$?
21422 grep -v '^ *+' conftest.er1 >conftest.err
21423 rm -f conftest.er1
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } && {
21427 test -z "$ac_c_werror_flag" ||
21428 test ! -s conftest.err
21429 } && test -s conftest.$ac_objext; then
21430 ac_hi=-1 ac_mid=-1
21431 while :; do
21432 cat >conftest.$ac_ext <<_ACEOF
21433 /* confdefs.h. */
21434 _ACEOF
21435 cat confdefs.h >>conftest.$ac_ext
21436 cat >>conftest.$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21439 typedef int ac__type_sizeof_;
21440 int
21441 main ()
21442 {
21443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21444 test_array [0] = 0
21445
21446 ;
21447 return 0;
21448 }
21449 _ACEOF
21450 rm -f conftest.$ac_objext
21451 if { (ac_try="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21455 esac
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21458 ac_status=$?
21459 grep -v '^ *+' conftest.er1 >conftest.err
21460 rm -f conftest.er1
21461 cat conftest.err >&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.$ac_objext; then
21467 ac_lo=$ac_mid; break
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 ac_hi=`expr '(' $ac_mid ')' - 1`
21473 if test $ac_mid -le $ac_hi; then
21474 ac_lo= ac_hi=
21475 break
21476 fi
21477 ac_mid=`expr 2 '*' $ac_mid`
21478 fi
21479
21480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 done
21482 else
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21485
21486 ac_lo= ac_hi=
21487 fi
21488
21489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21490 fi
21491
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 # Binary search between lo and hi bounds.
21494 while test "x$ac_lo" != "x$ac_hi"; do
21495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502 $ac_includes_default
21503 typedef int ac__type_sizeof_;
21504 int
21505 main ()
21506 {
21507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21508 test_array [0] = 0
21509
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 rm -f conftest.$ac_objext
21515 if { (ac_try="$ac_compile"
21516 case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21519 esac
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_compile") 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } && {
21528 test -z "$ac_c_werror_flag" ||
21529 test ! -s conftest.err
21530 } && test -s conftest.$ac_objext; then
21531 ac_hi=$ac_mid
21532 else
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21535
21536 ac_lo=`expr '(' $ac_mid ')' + 1`
21537 fi
21538
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 done
21541 case $ac_lo in
21542 ?*) ac_cv_sizeof_int=$ac_lo;;
21543 '') if test "$ac_cv_type_int" = yes; then
21544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21545 See \`config.log' for more details." >&5
21546 echo "$as_me: error: cannot compute sizeof (int)
21547 See \`config.log' for more details." >&2;}
21548 { (exit 77); exit 77; }; }
21549 else
21550 ac_cv_sizeof_int=0
21551 fi ;;
21552 esac
21553 else
21554 cat >conftest.$ac_ext <<_ACEOF
21555 /* confdefs.h. */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 $ac_includes_default
21561 typedef int ac__type_sizeof_;
21562 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21563 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21564 #include <stdio.h>
21565 #include <stdlib.h>
21566 int
21567 main ()
21568 {
21569
21570 FILE *f = fopen ("conftest.val", "w");
21571 if (! f)
21572 return 1;
21573 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21574 {
21575 long int i = longval ();
21576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21577 return 1;
21578 fprintf (f, "%ld\n", i);
21579 }
21580 else
21581 {
21582 unsigned long int i = ulongval ();
21583 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21584 return 1;
21585 fprintf (f, "%lu\n", i);
21586 }
21587 return ferror (f) || fclose (f) != 0;
21588
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 rm -f conftest$ac_exeext
21594 if { (ac_try="$ac_link"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_link") 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21604 { (case "(($ac_try" in
21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21606 *) ac_try_echo=$ac_try;;
21607 esac
21608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21609 (eval "$ac_try") 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_sizeof_int=`cat conftest.val`
21614 else
21615 echo "$as_me: program exited with status $ac_status" >&5
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.$ac_ext >&5
21618
21619 ( exit $ac_status )
21620 if test "$ac_cv_type_int" = yes; then
21621 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21622 See \`config.log' for more details." >&5
21623 echo "$as_me: error: cannot compute sizeof (int)
21624 See \`config.log' for more details." >&2;}
21625 { (exit 77); exit 77; }; }
21626 else
21627 ac_cv_sizeof_int=0
21628 fi
21629 fi
21630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21631 fi
21632 rm -f conftest.val
21633 fi
21634 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21635 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21636
21637
21638
21639 cat >>confdefs.h <<_ACEOF
21640 #define SIZEOF_INT $ac_cv_sizeof_int
21641 _ACEOF
21642
21643
21644 { echo "$as_me:$LINENO: checking for long" >&5
21645 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21646 if test "${ac_cv_type_long+set}" = set; then
21647 echo $ECHO_N "(cached) $ECHO_C" >&6
21648 else
21649 cat >conftest.$ac_ext <<_ACEOF
21650 /* confdefs.h. */
21651 _ACEOF
21652 cat confdefs.h >>conftest.$ac_ext
21653 cat >>conftest.$ac_ext <<_ACEOF
21654 /* end confdefs.h. */
21655 $ac_includes_default
21656 typedef long ac__type_new_;
21657 int
21658 main ()
21659 {
21660 if ((ac__type_new_ *) 0)
21661 return 0;
21662 if (sizeof (ac__type_new_))
21663 return 0;
21664 ;
21665 return 0;
21666 }
21667 _ACEOF
21668 rm -f conftest.$ac_objext
21669 if { (ac_try="$ac_compile"
21670 case "(($ac_try" in
21671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21672 *) ac_try_echo=$ac_try;;
21673 esac
21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21675 (eval "$ac_compile") 2>conftest.er1
21676 ac_status=$?
21677 grep -v '^ *+' conftest.er1 >conftest.err
21678 rm -f conftest.er1
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } && {
21682 test -z "$ac_c_werror_flag" ||
21683 test ! -s conftest.err
21684 } && test -s conftest.$ac_objext; then
21685 ac_cv_type_long=yes
21686 else
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21689
21690 ac_cv_type_long=no
21691 fi
21692
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 fi
21695 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21696 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21697
21698 # The cast to long int works around a bug in the HP C Compiler
21699 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21700 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21701 # This bug is HP SR number 8606223364.
21702 { echo "$as_me:$LINENO: checking size of long" >&5
21703 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21704 if test "${ac_cv_sizeof_long+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 else
21707 if test "$cross_compiling" = yes; then
21708 # Depending upon the size, compute the lo and hi bounds.
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 typedef long ac__type_sizeof_;
21717 int
21718 main ()
21719 {
21720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21721 test_array [0] = 0
21722
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (ac_try="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21732 esac
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } && {
21741 test -z "$ac_c_werror_flag" ||
21742 test ! -s conftest.err
21743 } && test -s conftest.$ac_objext; then
21744 ac_lo=0 ac_mid=0
21745 while :; do
21746 cat >conftest.$ac_ext <<_ACEOF
21747 /* confdefs.h. */
21748 _ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef long ac__type_sizeof_;
21754 int
21755 main ()
21756 {
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21758 test_array [0] = 0
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21781 ac_hi=$ac_mid; break
21782 else
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21785
21786 ac_lo=`expr $ac_mid + 1`
21787 if test $ac_lo -le $ac_mid; then
21788 ac_lo= ac_hi=
21789 break
21790 fi
21791 ac_mid=`expr 2 '*' $ac_mid + 1`
21792 fi
21793
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21795 done
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef long ac__type_sizeof_;
21808 int
21809 main ()
21810 {
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21812 test_array [0] = 0
21813
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (ac_try="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21823 esac
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21835 ac_hi=-1 ac_mid=-1
21836 while :; do
21837 cat >conftest.$ac_ext <<_ACEOF
21838 /* confdefs.h. */
21839 _ACEOF
21840 cat confdefs.h >>conftest.$ac_ext
21841 cat >>conftest.$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 $ac_includes_default
21844 typedef long ac__type_sizeof_;
21845 int
21846 main ()
21847 {
21848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21849 test_array [0] = 0
21850
21851 ;
21852 return 0;
21853 }
21854 _ACEOF
21855 rm -f conftest.$ac_objext
21856 if { (ac_try="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21860 esac
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21863 ac_status=$?
21864 grep -v '^ *+' conftest.er1 >conftest.err
21865 rm -f conftest.er1
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21872 ac_lo=$ac_mid; break
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 ac_hi=`expr '(' $ac_mid ')' - 1`
21878 if test $ac_mid -le $ac_hi; then
21879 ac_lo= ac_hi=
21880 break
21881 fi
21882 ac_mid=`expr 2 '*' $ac_mid`
21883 fi
21884
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 done
21887 else
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21890
21891 ac_lo= ac_hi=
21892 fi
21893
21894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21895 fi
21896
21897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21898 # Binary search between lo and hi bounds.
21899 while test "x$ac_lo" != "x$ac_hi"; do
21900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21901 cat >conftest.$ac_ext <<_ACEOF
21902 /* confdefs.h. */
21903 _ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907 $ac_includes_default
21908 typedef long ac__type_sizeof_;
21909 int
21910 main ()
21911 {
21912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21913 test_array [0] = 0
21914
21915 ;
21916 return 0;
21917 }
21918 _ACEOF
21919 rm -f conftest.$ac_objext
21920 if { (ac_try="$ac_compile"
21921 case "(($ac_try" in
21922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21923 *) ac_try_echo=$ac_try;;
21924 esac
21925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21926 (eval "$ac_compile") 2>conftest.er1
21927 ac_status=$?
21928 grep -v '^ *+' conftest.er1 >conftest.err
21929 rm -f conftest.er1
21930 cat conftest.err >&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } && {
21933 test -z "$ac_c_werror_flag" ||
21934 test ! -s conftest.err
21935 } && test -s conftest.$ac_objext; then
21936 ac_hi=$ac_mid
21937 else
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 ac_lo=`expr '(' $ac_mid ')' + 1`
21942 fi
21943
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 done
21946 case $ac_lo in
21947 ?*) ac_cv_sizeof_long=$ac_lo;;
21948 '') if test "$ac_cv_type_long" = yes; then
21949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21950 See \`config.log' for more details." >&5
21951 echo "$as_me: error: cannot compute sizeof (long)
21952 See \`config.log' for more details." >&2;}
21953 { (exit 77); exit 77; }; }
21954 else
21955 ac_cv_sizeof_long=0
21956 fi ;;
21957 esac
21958 else
21959 cat >conftest.$ac_ext <<_ACEOF
21960 /* confdefs.h. */
21961 _ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 $ac_includes_default
21966 typedef long ac__type_sizeof_;
21967 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21968 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21969 #include <stdio.h>
21970 #include <stdlib.h>
21971 int
21972 main ()
21973 {
21974
21975 FILE *f = fopen ("conftest.val", "w");
21976 if (! f)
21977 return 1;
21978 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21979 {
21980 long int i = longval ();
21981 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21982 return 1;
21983 fprintf (f, "%ld\n", i);
21984 }
21985 else
21986 {
21987 unsigned long int i = ulongval ();
21988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21989 return 1;
21990 fprintf (f, "%lu\n", i);
21991 }
21992 return ferror (f) || fclose (f) != 0;
21993
21994 ;
21995 return 0;
21996 }
21997 _ACEOF
21998 rm -f conftest$ac_exeext
21999 if { (ac_try="$ac_link"
22000 case "(($ac_try" in
22001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22002 *) ac_try_echo=$ac_try;;
22003 esac
22004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22005 (eval "$ac_link") 2>&5
22006 ac_status=$?
22007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22009 { (case "(($ac_try" in
22010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22011 *) ac_try_echo=$ac_try;;
22012 esac
22013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22014 (eval "$ac_try") 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_sizeof_long=`cat conftest.val`
22019 else
22020 echo "$as_me: program exited with status $ac_status" >&5
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 ( exit $ac_status )
22025 if test "$ac_cv_type_long" = yes; then
22026 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22027 See \`config.log' for more details." >&5
22028 echo "$as_me: error: cannot compute sizeof (long)
22029 See \`config.log' for more details." >&2;}
22030 { (exit 77); exit 77; }; }
22031 else
22032 ac_cv_sizeof_long=0
22033 fi
22034 fi
22035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22036 fi
22037 rm -f conftest.val
22038 fi
22039 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22040 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22041
22042
22043
22044 cat >>confdefs.h <<_ACEOF
22045 #define SIZEOF_LONG $ac_cv_sizeof_long
22046 _ACEOF
22047
22048
22049 { echo "$as_me:$LINENO: checking for size_t" >&5
22050 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22051 if test "${ac_cv_type_size_t+set}" = set; then
22052 echo $ECHO_N "(cached) $ECHO_C" >&6
22053 else
22054 cat >conftest.$ac_ext <<_ACEOF
22055 /* confdefs.h. */
22056 _ACEOF
22057 cat confdefs.h >>conftest.$ac_ext
22058 cat >>conftest.$ac_ext <<_ACEOF
22059 /* end confdefs.h. */
22060 $ac_includes_default
22061 typedef size_t ac__type_new_;
22062 int
22063 main ()
22064 {
22065 if ((ac__type_new_ *) 0)
22066 return 0;
22067 if (sizeof (ac__type_new_))
22068 return 0;
22069 ;
22070 return 0;
22071 }
22072 _ACEOF
22073 rm -f conftest.$ac_objext
22074 if { (ac_try="$ac_compile"
22075 case "(($ac_try" in
22076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22077 *) ac_try_echo=$ac_try;;
22078 esac
22079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22080 (eval "$ac_compile") 2>conftest.er1
22081 ac_status=$?
22082 grep -v '^ *+' conftest.er1 >conftest.err
22083 rm -f conftest.er1
22084 cat conftest.err >&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } && {
22087 test -z "$ac_c_werror_flag" ||
22088 test ! -s conftest.err
22089 } && test -s conftest.$ac_objext; then
22090 ac_cv_type_size_t=yes
22091 else
22092 echo "$as_me: failed program was:" >&5
22093 sed 's/^/| /' conftest.$ac_ext >&5
22094
22095 ac_cv_type_size_t=no
22096 fi
22097
22098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22099 fi
22100 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22101 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22102
22103 # The cast to long int works around a bug in the HP C Compiler
22104 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22105 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22106 # This bug is HP SR number 8606223364.
22107 { echo "$as_me:$LINENO: checking size of size_t" >&5
22108 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22109 if test "${ac_cv_sizeof_size_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 else
22112 if test "$cross_compiling" = yes; then
22113 # Depending upon the size, compute the lo and hi bounds.
22114 cat >conftest.$ac_ext <<_ACEOF
22115 /* confdefs.h. */
22116 _ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef size_t ac__type_sizeof_;
22122 int
22123 main ()
22124 {
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22126 test_array [0] = 0
22127
22128 ;
22129 return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22136 *) ac_try_echo=$ac_try;;
22137 esac
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22140 ac_status=$?
22141 grep -v '^ *+' conftest.er1 >conftest.err
22142 rm -f conftest.er1
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.$ac_objext; then
22149 ac_lo=0 ac_mid=0
22150 while :; do
22151 cat >conftest.$ac_ext <<_ACEOF
22152 /* confdefs.h. */
22153 _ACEOF
22154 cat confdefs.h >>conftest.$ac_ext
22155 cat >>conftest.$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157 $ac_includes_default
22158 typedef size_t ac__type_sizeof_;
22159 int
22160 main ()
22161 {
22162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22163 test_array [0] = 0
22164
22165 ;
22166 return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest.$ac_objext
22170 if { (ac_try="$ac_compile"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_compile") 2>conftest.er1
22177 ac_status=$?
22178 grep -v '^ *+' conftest.er1 >conftest.err
22179 rm -f conftest.er1
22180 cat conftest.err >&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && {
22183 test -z "$ac_c_werror_flag" ||
22184 test ! -s conftest.err
22185 } && test -s conftest.$ac_objext; then
22186 ac_hi=$ac_mid; break
22187 else
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22190
22191 ac_lo=`expr $ac_mid + 1`
22192 if test $ac_lo -le $ac_mid; then
22193 ac_lo= ac_hi=
22194 break
22195 fi
22196 ac_mid=`expr 2 '*' $ac_mid + 1`
22197 fi
22198
22199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22200 done
22201 else
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22204
22205 cat >conftest.$ac_ext <<_ACEOF
22206 /* confdefs.h. */
22207 _ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef size_t ac__type_sizeof_;
22213 int
22214 main ()
22215 {
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22217 test_array [0] = 0
22218
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22228 esac
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_hi=-1 ac_mid=-1
22241 while :; do
22242 cat >conftest.$ac_ext <<_ACEOF
22243 /* confdefs.h. */
22244 _ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef size_t ac__type_sizeof_;
22250 int
22251 main ()
22252 {
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22254 test_array [0] = 0
22255
22256 ;
22257 return 0;
22258 }
22259 _ACEOF
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22265 esac
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22277 ac_lo=$ac_mid; break
22278 else
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.$ac_ext >&5
22281
22282 ac_hi=`expr '(' $ac_mid ')' - 1`
22283 if test $ac_mid -le $ac_hi; then
22284 ac_lo= ac_hi=
22285 break
22286 fi
22287 ac_mid=`expr 2 '*' $ac_mid`
22288 fi
22289
22290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22291 done
22292 else
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22295
22296 ac_lo= ac_hi=
22297 fi
22298
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300 fi
22301
22302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22303 # Binary search between lo and hi bounds.
22304 while test "x$ac_lo" != "x$ac_hi"; do
22305 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22306 cat >conftest.$ac_ext <<_ACEOF
22307 /* confdefs.h. */
22308 _ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312 $ac_includes_default
22313 typedef size_t ac__type_sizeof_;
22314 int
22315 main ()
22316 {
22317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22318 test_array [0] = 0
22319
22320 ;
22321 return 0;
22322 }
22323 _ACEOF
22324 rm -f conftest.$ac_objext
22325 if { (ac_try="$ac_compile"
22326 case "(($ac_try" in
22327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22329 esac
22330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_compile") 2>conftest.er1
22332 ac_status=$?
22333 grep -v '^ *+' conftest.er1 >conftest.err
22334 rm -f conftest.er1
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } && {
22338 test -z "$ac_c_werror_flag" ||
22339 test ! -s conftest.err
22340 } && test -s conftest.$ac_objext; then
22341 ac_hi=$ac_mid
22342 else
22343 echo "$as_me: failed program was:" >&5
22344 sed 's/^/| /' conftest.$ac_ext >&5
22345
22346 ac_lo=`expr '(' $ac_mid ')' + 1`
22347 fi
22348
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350 done
22351 case $ac_lo in
22352 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22353 '') if test "$ac_cv_type_size_t" = yes; then
22354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22355 See \`config.log' for more details." >&5
22356 echo "$as_me: error: cannot compute sizeof (size_t)
22357 See \`config.log' for more details." >&2;}
22358 { (exit 77); exit 77; }; }
22359 else
22360 ac_cv_sizeof_size_t=0
22361 fi ;;
22362 esac
22363 else
22364 cat >conftest.$ac_ext <<_ACEOF
22365 /* confdefs.h. */
22366 _ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 $ac_includes_default
22371 typedef size_t ac__type_sizeof_;
22372 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22373 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22374 #include <stdio.h>
22375 #include <stdlib.h>
22376 int
22377 main ()
22378 {
22379
22380 FILE *f = fopen ("conftest.val", "w");
22381 if (! f)
22382 return 1;
22383 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22384 {
22385 long int i = longval ();
22386 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22387 return 1;
22388 fprintf (f, "%ld\n", i);
22389 }
22390 else
22391 {
22392 unsigned long int i = ulongval ();
22393 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22394 return 1;
22395 fprintf (f, "%lu\n", i);
22396 }
22397 return ferror (f) || fclose (f) != 0;
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest$ac_exeext
22404 if { (ac_try="$ac_link"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_link") 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22414 { (case "(($ac_try" in
22415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22417 esac
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_try") 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 ac_cv_sizeof_size_t=`cat conftest.val`
22424 else
22425 echo "$as_me: program exited with status $ac_status" >&5
22426 echo "$as_me: failed program was:" >&5
22427 sed 's/^/| /' conftest.$ac_ext >&5
22428
22429 ( exit $ac_status )
22430 if test "$ac_cv_type_size_t" = yes; then
22431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22432 See \`config.log' for more details." >&5
22433 echo "$as_me: error: cannot compute sizeof (size_t)
22434 See \`config.log' for more details." >&2;}
22435 { (exit 77); exit 77; }; }
22436 else
22437 ac_cv_sizeof_size_t=0
22438 fi
22439 fi
22440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22441 fi
22442 rm -f conftest.val
22443 fi
22444 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22445 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22446
22447
22448
22449 cat >>confdefs.h <<_ACEOF
22450 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22451 _ACEOF
22452
22453
22454
22455 case "${host}" in
22456 arm-*-linux* )
22457 { echo "$as_me:$LINENO: checking for long long" >&5
22458 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22459 if test "${ac_cv_type_long_long+set}" = set; then
22460 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 else
22462 cat >conftest.$ac_ext <<_ACEOF
22463 /* confdefs.h. */
22464 _ACEOF
22465 cat confdefs.h >>conftest.$ac_ext
22466 cat >>conftest.$ac_ext <<_ACEOF
22467 /* end confdefs.h. */
22468 $ac_includes_default
22469 typedef long long ac__type_new_;
22470 int
22471 main ()
22472 {
22473 if ((ac__type_new_ *) 0)
22474 return 0;
22475 if (sizeof (ac__type_new_))
22476 return 0;
22477 ;
22478 return 0;
22479 }
22480 _ACEOF
22481 rm -f conftest.$ac_objext
22482 if { (ac_try="$ac_compile"
22483 case "(($ac_try" in
22484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22485 *) ac_try_echo=$ac_try;;
22486 esac
22487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22488 (eval "$ac_compile") 2>conftest.er1
22489 ac_status=$?
22490 grep -v '^ *+' conftest.er1 >conftest.err
22491 rm -f conftest.er1
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && {
22495 test -z "$ac_c_werror_flag" ||
22496 test ! -s conftest.err
22497 } && test -s conftest.$ac_objext; then
22498 ac_cv_type_long_long=yes
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 ac_cv_type_long_long=no
22504 fi
22505
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 fi
22508 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22509 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22510
22511 # The cast to long int works around a bug in the HP C Compiler
22512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22514 # This bug is HP SR number 8606223364.
22515 { echo "$as_me:$LINENO: checking size of long long" >&5
22516 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22517 if test "${ac_cv_sizeof_long_long+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 else
22520 if test "$cross_compiling" = yes; then
22521 # Depending upon the size, compute the lo and hi bounds.
22522 cat >conftest.$ac_ext <<_ACEOF
22523 /* confdefs.h. */
22524 _ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 typedef long long ac__type_sizeof_;
22530 int
22531 main ()
22532 {
22533 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22534 test_array [0] = 0
22535
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 rm -f conftest.$ac_objext
22541 if { (ac_try="$ac_compile"
22542 case "(($ac_try" in
22543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22544 *) ac_try_echo=$ac_try;;
22545 esac
22546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22547 (eval "$ac_compile") 2>conftest.er1
22548 ac_status=$?
22549 grep -v '^ *+' conftest.er1 >conftest.err
22550 rm -f conftest.er1
22551 cat conftest.err >&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && {
22554 test -z "$ac_c_werror_flag" ||
22555 test ! -s conftest.err
22556 } && test -s conftest.$ac_objext; then
22557 ac_lo=0 ac_mid=0
22558 while :; do
22559 cat >conftest.$ac_ext <<_ACEOF
22560 /* confdefs.h. */
22561 _ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565 $ac_includes_default
22566 typedef long long ac__type_sizeof_;
22567 int
22568 main ()
22569 {
22570 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22571 test_array [0] = 0
22572
22573 ;
22574 return 0;
22575 }
22576 _ACEOF
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22581 *) ac_try_echo=$ac_try;;
22582 esac
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_compile") 2>conftest.er1
22585 ac_status=$?
22586 grep -v '^ *+' conftest.er1 >conftest.err
22587 rm -f conftest.er1
22588 cat conftest.err >&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest.$ac_objext; then
22594 ac_hi=$ac_mid; break
22595 else
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.$ac_ext >&5
22598
22599 ac_lo=`expr $ac_mid + 1`
22600 if test $ac_lo -le $ac_mid; then
22601 ac_lo= ac_hi=
22602 break
22603 fi
22604 ac_mid=`expr 2 '*' $ac_mid + 1`
22605 fi
22606
22607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22608 done
22609 else
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22612
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 $ac_includes_default
22620 typedef long long ac__type_sizeof_;
22621 int
22622 main ()
22623 {
22624 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22625 test_array [0] = 0
22626
22627 ;
22628 return 0;
22629 }
22630 _ACEOF
22631 rm -f conftest.$ac_objext
22632 if { (ac_try="$ac_compile"
22633 case "(($ac_try" in
22634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22635 *) ac_try_echo=$ac_try;;
22636 esac
22637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22638 (eval "$ac_compile") 2>conftest.er1
22639 ac_status=$?
22640 grep -v '^ *+' conftest.er1 >conftest.err
22641 rm -f conftest.er1
22642 cat conftest.err >&5
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } && {
22645 test -z "$ac_c_werror_flag" ||
22646 test ! -s conftest.err
22647 } && test -s conftest.$ac_objext; then
22648 ac_hi=-1 ac_mid=-1
22649 while :; do
22650 cat >conftest.$ac_ext <<_ACEOF
22651 /* confdefs.h. */
22652 _ACEOF
22653 cat confdefs.h >>conftest.$ac_ext
22654 cat >>conftest.$ac_ext <<_ACEOF
22655 /* end confdefs.h. */
22656 $ac_includes_default
22657 typedef long long ac__type_sizeof_;
22658 int
22659 main ()
22660 {
22661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22662 test_array [0] = 0
22663
22664 ;
22665 return 0;
22666 }
22667 _ACEOF
22668 rm -f conftest.$ac_objext
22669 if { (ac_try="$ac_compile"
22670 case "(($ac_try" in
22671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22672 *) ac_try_echo=$ac_try;;
22673 esac
22674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22675 (eval "$ac_compile") 2>conftest.er1
22676 ac_status=$?
22677 grep -v '^ *+' conftest.er1 >conftest.err
22678 rm -f conftest.er1
22679 cat conftest.err >&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } && {
22682 test -z "$ac_c_werror_flag" ||
22683 test ! -s conftest.err
22684 } && test -s conftest.$ac_objext; then
22685 ac_lo=$ac_mid; break
22686 else
22687 echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.$ac_ext >&5
22689
22690 ac_hi=`expr '(' $ac_mid ')' - 1`
22691 if test $ac_mid -le $ac_hi; then
22692 ac_lo= ac_hi=
22693 break
22694 fi
22695 ac_mid=`expr 2 '*' $ac_mid`
22696 fi
22697
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 done
22700 else
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22703
22704 ac_lo= ac_hi=
22705 fi
22706
22707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22708 fi
22709
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711 # Binary search between lo and hi bounds.
22712 while test "x$ac_lo" != "x$ac_hi"; do
22713 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22714 cat >conftest.$ac_ext <<_ACEOF
22715 /* confdefs.h. */
22716 _ACEOF
22717 cat confdefs.h >>conftest.$ac_ext
22718 cat >>conftest.$ac_ext <<_ACEOF
22719 /* end confdefs.h. */
22720 $ac_includes_default
22721 typedef long long ac__type_sizeof_;
22722 int
22723 main ()
22724 {
22725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22726 test_array [0] = 0
22727
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest.$ac_objext
22733 if { (ac_try="$ac_compile"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22737 esac
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_compile") 2>conftest.er1
22740 ac_status=$?
22741 grep -v '^ *+' conftest.er1 >conftest.err
22742 rm -f conftest.er1
22743 cat conftest.err >&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); } && {
22746 test -z "$ac_c_werror_flag" ||
22747 test ! -s conftest.err
22748 } && test -s conftest.$ac_objext; then
22749 ac_hi=$ac_mid
22750 else
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22753
22754 ac_lo=`expr '(' $ac_mid ')' + 1`
22755 fi
22756
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758 done
22759 case $ac_lo in
22760 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22761 '') if test "$ac_cv_type_long_long" = yes; then
22762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22763 See \`config.log' for more details." >&5
22764 echo "$as_me: error: cannot compute sizeof (long long)
22765 See \`config.log' for more details." >&2;}
22766 { (exit 77); exit 77; }; }
22767 else
22768 ac_cv_sizeof_long_long=0
22769 fi ;;
22770 esac
22771 else
22772 cat >conftest.$ac_ext <<_ACEOF
22773 /* confdefs.h. */
22774 _ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 $ac_includes_default
22779 typedef long long ac__type_sizeof_;
22780 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22781 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22782 #include <stdio.h>
22783 #include <stdlib.h>
22784 int
22785 main ()
22786 {
22787
22788 FILE *f = fopen ("conftest.val", "w");
22789 if (! f)
22790 return 1;
22791 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22792 {
22793 long int i = longval ();
22794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22795 return 1;
22796 fprintf (f, "%ld\n", i);
22797 }
22798 else
22799 {
22800 unsigned long int i = ulongval ();
22801 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22802 return 1;
22803 fprintf (f, "%lu\n", i);
22804 }
22805 return ferror (f) || fclose (f) != 0;
22806
22807 ;
22808 return 0;
22809 }
22810 _ACEOF
22811 rm -f conftest$ac_exeext
22812 if { (ac_try="$ac_link"
22813 case "(($ac_try" in
22814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22815 *) ac_try_echo=$ac_try;;
22816 esac
22817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22818 (eval "$ac_link") 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22822 { (case "(($ac_try" in
22823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22824 *) ac_try_echo=$ac_try;;
22825 esac
22826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22827 (eval "$ac_try") 2>&5
22828 ac_status=$?
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 ac_cv_sizeof_long_long=`cat conftest.val`
22832 else
22833 echo "$as_me: program exited with status $ac_status" >&5
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22836
22837 ( exit $ac_status )
22838 if test "$ac_cv_type_long_long" = yes; then
22839 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22840 See \`config.log' for more details." >&5
22841 echo "$as_me: error: cannot compute sizeof (long long)
22842 See \`config.log' for more details." >&2;}
22843 { (exit 77); exit 77; }; }
22844 else
22845 ac_cv_sizeof_long_long=0
22846 fi
22847 fi
22848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22849 fi
22850 rm -f conftest.val
22851 fi
22852 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22853 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22854
22855
22856
22857 cat >>confdefs.h <<_ACEOF
22858 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22859 _ACEOF
22860
22861
22862 ;;
22863 *-hp-hpux* )
22864 { echo "$as_me:$LINENO: checking for long long" >&5
22865 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22866 if test "${ac_cv_type_long_long+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 else
22869 cat >conftest.$ac_ext <<_ACEOF
22870 /* confdefs.h. */
22871 _ACEOF
22872 cat confdefs.h >>conftest.$ac_ext
22873 cat >>conftest.$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875 $ac_includes_default
22876 typedef long long ac__type_new_;
22877 int
22878 main ()
22879 {
22880 if ((ac__type_new_ *) 0)
22881 return 0;
22882 if (sizeof (ac__type_new_))
22883 return 0;
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext
22889 if { (ac_try="$ac_compile"
22890 case "(($ac_try" in
22891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22892 *) ac_try_echo=$ac_try;;
22893 esac
22894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22895 (eval "$ac_compile") 2>conftest.er1
22896 ac_status=$?
22897 grep -v '^ *+' conftest.er1 >conftest.err
22898 rm -f conftest.er1
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } && {
22902 test -z "$ac_c_werror_flag" ||
22903 test ! -s conftest.err
22904 } && test -s conftest.$ac_objext; then
22905 ac_cv_type_long_long=yes
22906 else
22907 echo "$as_me: failed program was:" >&5
22908 sed 's/^/| /' conftest.$ac_ext >&5
22909
22910 ac_cv_type_long_long=no
22911 fi
22912
22913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22914 fi
22915 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22916 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22917
22918 # The cast to long int works around a bug in the HP C Compiler
22919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22921 # This bug is HP SR number 8606223364.
22922 { echo "$as_me:$LINENO: checking size of long long" >&5
22923 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22924 if test "${ac_cv_sizeof_long_long+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 else
22927 if test "$cross_compiling" = yes; then
22928 # Depending upon the size, compute the lo and hi bounds.
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935 $ac_includes_default
22936 typedef long long ac__type_sizeof_;
22937 int
22938 main ()
22939 {
22940 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22941 test_array [0] = 0
22942
22943 ;
22944 return 0;
22945 }
22946 _ACEOF
22947 rm -f conftest.$ac_objext
22948 if { (ac_try="$ac_compile"
22949 case "(($ac_try" in
22950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22952 esac
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_compile") 2>conftest.er1
22955 ac_status=$?
22956 grep -v '^ *+' conftest.er1 >conftest.err
22957 rm -f conftest.er1
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } && {
22961 test -z "$ac_c_werror_flag" ||
22962 test ! -s conftest.err
22963 } && test -s conftest.$ac_objext; then
22964 ac_lo=0 ac_mid=0
22965 while :; do
22966 cat >conftest.$ac_ext <<_ACEOF
22967 /* confdefs.h. */
22968 _ACEOF
22969 cat confdefs.h >>conftest.$ac_ext
22970 cat >>conftest.$ac_ext <<_ACEOF
22971 /* end confdefs.h. */
22972 $ac_includes_default
22973 typedef long long ac__type_sizeof_;
22974 int
22975 main ()
22976 {
22977 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22978 test_array [0] = 0
22979
22980 ;
22981 return 0;
22982 }
22983 _ACEOF
22984 rm -f conftest.$ac_objext
22985 if { (ac_try="$ac_compile"
22986 case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22989 esac
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_compile") 2>conftest.er1
22992 ac_status=$?
22993 grep -v '^ *+' conftest.er1 >conftest.err
22994 rm -f conftest.er1
22995 cat conftest.err >&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } && {
22998 test -z "$ac_c_werror_flag" ||
22999 test ! -s conftest.err
23000 } && test -s conftest.$ac_objext; then
23001 ac_hi=$ac_mid; break
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 ac_lo=`expr $ac_mid + 1`
23007 if test $ac_lo -le $ac_mid; then
23008 ac_lo= ac_hi=
23009 break
23010 fi
23011 ac_mid=`expr 2 '*' $ac_mid + 1`
23012 fi
23013
23014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 done
23016 else
23017 echo "$as_me: failed program was:" >&5
23018 sed 's/^/| /' conftest.$ac_ext >&5
23019
23020 cat >conftest.$ac_ext <<_ACEOF
23021 /* confdefs.h. */
23022 _ACEOF
23023 cat confdefs.h >>conftest.$ac_ext
23024 cat >>conftest.$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23026 $ac_includes_default
23027 typedef long long ac__type_sizeof_;
23028 int
23029 main ()
23030 {
23031 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23032 test_array [0] = 0
23033
23034 ;
23035 return 0;
23036 }
23037 _ACEOF
23038 rm -f conftest.$ac_objext
23039 if { (ac_try="$ac_compile"
23040 case "(($ac_try" in
23041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23043 esac
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_compile") 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } && {
23052 test -z "$ac_c_werror_flag" ||
23053 test ! -s conftest.err
23054 } && test -s conftest.$ac_objext; then
23055 ac_hi=-1 ac_mid=-1
23056 while :; do
23057 cat >conftest.$ac_ext <<_ACEOF
23058 /* confdefs.h. */
23059 _ACEOF
23060 cat confdefs.h >>conftest.$ac_ext
23061 cat >>conftest.$ac_ext <<_ACEOF
23062 /* end confdefs.h. */
23063 $ac_includes_default
23064 typedef long long ac__type_sizeof_;
23065 int
23066 main ()
23067 {
23068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23069 test_array [0] = 0
23070
23071 ;
23072 return 0;
23073 }
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (ac_try="$ac_compile"
23077 case "(($ac_try" in
23078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23080 esac
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_compile") 2>conftest.er1
23083 ac_status=$?
23084 grep -v '^ *+' conftest.er1 >conftest.err
23085 rm -f conftest.er1
23086 cat conftest.err >&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } && {
23089 test -z "$ac_c_werror_flag" ||
23090 test ! -s conftest.err
23091 } && test -s conftest.$ac_objext; then
23092 ac_lo=$ac_mid; break
23093 else
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.$ac_ext >&5
23096
23097 ac_hi=`expr '(' $ac_mid ')' - 1`
23098 if test $ac_mid -le $ac_hi; then
23099 ac_lo= ac_hi=
23100 break
23101 fi
23102 ac_mid=`expr 2 '*' $ac_mid`
23103 fi
23104
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 done
23107 else
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23110
23111 ac_lo= ac_hi=
23112 fi
23113
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23115 fi
23116
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118 # Binary search between lo and hi bounds.
23119 while test "x$ac_lo" != "x$ac_hi"; do
23120 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23121 cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h. */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23127 $ac_includes_default
23128 typedef long long ac__type_sizeof_;
23129 int
23130 main ()
23131 {
23132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23133 test_array [0] = 0
23134
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23144 esac
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23147 ac_status=$?
23148 grep -v '^ *+' conftest.er1 >conftest.err
23149 rm -f conftest.er1
23150 cat conftest.err >&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && {
23153 test -z "$ac_c_werror_flag" ||
23154 test ! -s conftest.err
23155 } && test -s conftest.$ac_objext; then
23156 ac_hi=$ac_mid
23157 else
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 ac_lo=`expr '(' $ac_mid ')' + 1`
23162 fi
23163
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 done
23166 case $ac_lo in
23167 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23168 '') if test "$ac_cv_type_long_long" = yes; then
23169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23170 See \`config.log' for more details." >&5
23171 echo "$as_me: error: cannot compute sizeof (long long)
23172 See \`config.log' for more details." >&2;}
23173 { (exit 77); exit 77; }; }
23174 else
23175 ac_cv_sizeof_long_long=0
23176 fi ;;
23177 esac
23178 else
23179 cat >conftest.$ac_ext <<_ACEOF
23180 /* confdefs.h. */
23181 _ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 $ac_includes_default
23186 typedef long long ac__type_sizeof_;
23187 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23188 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23189 #include <stdio.h>
23190 #include <stdlib.h>
23191 int
23192 main ()
23193 {
23194
23195 FILE *f = fopen ("conftest.val", "w");
23196 if (! f)
23197 return 1;
23198 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23199 {
23200 long int i = longval ();
23201 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23202 return 1;
23203 fprintf (f, "%ld\n", i);
23204 }
23205 else
23206 {
23207 unsigned long int i = ulongval ();
23208 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23209 return 1;
23210 fprintf (f, "%lu\n", i);
23211 }
23212 return ferror (f) || fclose (f) != 0;
23213
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest$ac_exeext
23219 if { (ac_try="$ac_link"
23220 case "(($ac_try" in
23221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23222 *) ac_try_echo=$ac_try;;
23223 esac
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_link") 2>&5
23226 ac_status=$?
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23229 { (case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_try") 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_cv_sizeof_long_long=`cat conftest.val`
23239 else
23240 echo "$as_me: program exited with status $ac_status" >&5
23241 echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23243
23244 ( exit $ac_status )
23245 if test "$ac_cv_type_long_long" = yes; then
23246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23247 See \`config.log' for more details." >&5
23248 echo "$as_me: error: cannot compute sizeof (long long)
23249 See \`config.log' for more details." >&2;}
23250 { (exit 77); exit 77; }; }
23251 else
23252 ac_cv_sizeof_long_long=0
23253 fi
23254 fi
23255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23256 fi
23257 rm -f conftest.val
23258 fi
23259 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23260 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23261
23262
23263
23264 cat >>confdefs.h <<_ACEOF
23265 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23266 _ACEOF
23267
23268
23269 if test "$ac_cv_sizeof_long_long" != 0; then
23270 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23271 fi
23272 ;;
23273 * )
23274 { echo "$as_me:$LINENO: checking for long long" >&5
23275 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23276 if test "${ac_cv_type_long_long+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 else
23279 cat >conftest.$ac_ext <<_ACEOF
23280 /* confdefs.h. */
23281 _ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h. */
23285 $ac_includes_default
23286 typedef long long ac__type_new_;
23287 int
23288 main ()
23289 {
23290 if ((ac__type_new_ *) 0)
23291 return 0;
23292 if (sizeof (ac__type_new_))
23293 return 0;
23294 ;
23295 return 0;
23296 }
23297 _ACEOF
23298 rm -f conftest.$ac_objext
23299 if { (ac_try="$ac_compile"
23300 case "(($ac_try" in
23301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23302 *) ac_try_echo=$ac_try;;
23303 esac
23304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23305 (eval "$ac_compile") 2>conftest.er1
23306 ac_status=$?
23307 grep -v '^ *+' conftest.er1 >conftest.err
23308 rm -f conftest.er1
23309 cat conftest.err >&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } && {
23312 test -z "$ac_c_werror_flag" ||
23313 test ! -s conftest.err
23314 } && test -s conftest.$ac_objext; then
23315 ac_cv_type_long_long=yes
23316 else
23317 echo "$as_me: failed program was:" >&5
23318 sed 's/^/| /' conftest.$ac_ext >&5
23319
23320 ac_cv_type_long_long=no
23321 fi
23322
23323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23324 fi
23325 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23326 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23327
23328 # The cast to long int works around a bug in the HP C Compiler
23329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23331 # This bug is HP SR number 8606223364.
23332 { echo "$as_me:$LINENO: checking size of long long" >&5
23333 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23334 if test "${ac_cv_sizeof_long_long+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337 if test "$cross_compiling" = yes; then
23338 # Depending upon the size, compute the lo and hi bounds.
23339 cat >conftest.$ac_ext <<_ACEOF
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 $ac_includes_default
23346 typedef long long ac__type_sizeof_;
23347 int
23348 main ()
23349 {
23350 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23351 test_array [0] = 0
23352
23353 ;
23354 return 0;
23355 }
23356 _ACEOF
23357 rm -f conftest.$ac_objext
23358 if { (ac_try="$ac_compile"
23359 case "(($ac_try" in
23360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23361 *) ac_try_echo=$ac_try;;
23362 esac
23363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23364 (eval "$ac_compile") 2>conftest.er1
23365 ac_status=$?
23366 grep -v '^ *+' conftest.er1 >conftest.err
23367 rm -f conftest.er1
23368 cat conftest.err >&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } && {
23371 test -z "$ac_c_werror_flag" ||
23372 test ! -s conftest.err
23373 } && test -s conftest.$ac_objext; then
23374 ac_lo=0 ac_mid=0
23375 while :; do
23376 cat >conftest.$ac_ext <<_ACEOF
23377 /* confdefs.h. */
23378 _ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382 $ac_includes_default
23383 typedef long long ac__type_sizeof_;
23384 int
23385 main ()
23386 {
23387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23388 test_array [0] = 0
23389
23390 ;
23391 return 0;
23392 }
23393 _ACEOF
23394 rm -f conftest.$ac_objext
23395 if { (ac_try="$ac_compile"
23396 case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23399 esac
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_compile") 2>conftest.er1
23402 ac_status=$?
23403 grep -v '^ *+' conftest.er1 >conftest.err
23404 rm -f conftest.er1
23405 cat conftest.err >&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } && {
23408 test -z "$ac_c_werror_flag" ||
23409 test ! -s conftest.err
23410 } && test -s conftest.$ac_objext; then
23411 ac_hi=$ac_mid; break
23412 else
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23415
23416 ac_lo=`expr $ac_mid + 1`
23417 if test $ac_lo -le $ac_mid; then
23418 ac_lo= ac_hi=
23419 break
23420 fi
23421 ac_mid=`expr 2 '*' $ac_mid + 1`
23422 fi
23423
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 done
23426 else
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.$ac_ext >&5
23429
23430 cat >conftest.$ac_ext <<_ACEOF
23431 /* confdefs.h. */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 $ac_includes_default
23437 typedef long long ac__type_sizeof_;
23438 int
23439 main ()
23440 {
23441 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23442 test_array [0] = 0
23443
23444 ;
23445 return 0;
23446 }
23447 _ACEOF
23448 rm -f conftest.$ac_objext
23449 if { (ac_try="$ac_compile"
23450 case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23453 esac
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_compile") 2>conftest.er1
23456 ac_status=$?
23457 grep -v '^ *+' conftest.er1 >conftest.err
23458 rm -f conftest.er1
23459 cat conftest.err >&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); } && {
23462 test -z "$ac_c_werror_flag" ||
23463 test ! -s conftest.err
23464 } && test -s conftest.$ac_objext; then
23465 ac_hi=-1 ac_mid=-1
23466 while :; do
23467 cat >conftest.$ac_ext <<_ACEOF
23468 /* confdefs.h. */
23469 _ACEOF
23470 cat confdefs.h >>conftest.$ac_ext
23471 cat >>conftest.$ac_ext <<_ACEOF
23472 /* end confdefs.h. */
23473 $ac_includes_default
23474 typedef long long ac__type_sizeof_;
23475 int
23476 main ()
23477 {
23478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23479 test_array [0] = 0
23480
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_c_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.$ac_objext; then
23502 ac_lo=$ac_mid; break
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 ac_hi=`expr '(' $ac_mid ')' - 1`
23508 if test $ac_mid -le $ac_hi; then
23509 ac_lo= ac_hi=
23510 break
23511 fi
23512 ac_mid=`expr 2 '*' $ac_mid`
23513 fi
23514
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 done
23517 else
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23520
23521 ac_lo= ac_hi=
23522 fi
23523
23524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23525 fi
23526
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23528 # Binary search between lo and hi bounds.
23529 while test "x$ac_lo" != "x$ac_hi"; do
23530 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 $ac_includes_default
23538 typedef long long ac__type_sizeof_;
23539 int
23540 main ()
23541 {
23542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23543 test_array [0] = 0
23544
23545 ;
23546 return 0;
23547 }
23548 _ACEOF
23549 rm -f conftest.$ac_objext
23550 if { (ac_try="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23554 esac
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_c_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23566 ac_hi=$ac_mid
23567 else
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 ac_lo=`expr '(' $ac_mid ')' + 1`
23572 fi
23573
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23575 done
23576 case $ac_lo in
23577 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23578 '') if test "$ac_cv_type_long_long" = yes; then
23579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23580 See \`config.log' for more details." >&5
23581 echo "$as_me: error: cannot compute sizeof (long long)
23582 See \`config.log' for more details." >&2;}
23583 { (exit 77); exit 77; }; }
23584 else
23585 ac_cv_sizeof_long_long=0
23586 fi ;;
23587 esac
23588 else
23589 cat >conftest.$ac_ext <<_ACEOF
23590 /* confdefs.h. */
23591 _ACEOF
23592 cat confdefs.h >>conftest.$ac_ext
23593 cat >>conftest.$ac_ext <<_ACEOF
23594 /* end confdefs.h. */
23595 $ac_includes_default
23596 typedef long long ac__type_sizeof_;
23597 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23598 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23599 #include <stdio.h>
23600 #include <stdlib.h>
23601 int
23602 main ()
23603 {
23604
23605 FILE *f = fopen ("conftest.val", "w");
23606 if (! f)
23607 return 1;
23608 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23609 {
23610 long int i = longval ();
23611 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23612 return 1;
23613 fprintf (f, "%ld\n", i);
23614 }
23615 else
23616 {
23617 unsigned long int i = ulongval ();
23618 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23619 return 1;
23620 fprintf (f, "%lu\n", i);
23621 }
23622 return ferror (f) || fclose (f) != 0;
23623
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23633 esac
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_link") 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23642 esac
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 ac_cv_sizeof_long_long=`cat conftest.val`
23649 else
23650 echo "$as_me: program exited with status $ac_status" >&5
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ( exit $ac_status )
23655 if test "$ac_cv_type_long_long" = yes; then
23656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23657 See \`config.log' for more details." >&5
23658 echo "$as_me: error: cannot compute sizeof (long long)
23659 See \`config.log' for more details." >&2;}
23660 { (exit 77); exit 77; }; }
23661 else
23662 ac_cv_sizeof_long_long=0
23663 fi
23664 fi
23665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23666 fi
23667 rm -f conftest.val
23668 fi
23669 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23670 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23671
23672
23673
23674 cat >>confdefs.h <<_ACEOF
23675 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23676 _ACEOF
23677
23678
23679 esac
23680
23681 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23682 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23683 if test "${ac_cv_type_wchar_t+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686 cat >conftest.$ac_ext <<_ACEOF
23687 /* confdefs.h. */
23688 _ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692
23693 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23694 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23695 # error "fake wchar_t"
23696 #endif
23697 #ifdef HAVE_WCHAR_H
23698 # ifdef __CYGWIN__
23699 # include <stddef.h>
23700 # endif
23701 # include <wchar.h>
23702 #endif
23703 #ifdef HAVE_STDLIB_H
23704 # include <stdlib.h>
23705 #endif
23706 #include <stdio.h>
23707
23708
23709
23710 typedef wchar_t ac__type_new_;
23711 int
23712 main ()
23713 {
23714 if ((ac__type_new_ *) 0)
23715 return 0;
23716 if (sizeof (ac__type_new_))
23717 return 0;
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest.$ac_objext
23723 if { (ac_try="$ac_compile"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_compile") 2>conftest.er1
23730 ac_status=$?
23731 grep -v '^ *+' conftest.er1 >conftest.err
23732 rm -f conftest.er1
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } && {
23736 test -z "$ac_c_werror_flag" ||
23737 test ! -s conftest.err
23738 } && test -s conftest.$ac_objext; then
23739 ac_cv_type_wchar_t=yes
23740 else
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23743
23744 ac_cv_type_wchar_t=no
23745 fi
23746
23747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23748 fi
23749 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23750 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23751
23752 # The cast to long int works around a bug in the HP C Compiler
23753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23755 # This bug is HP SR number 8606223364.
23756 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23757 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23758 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23761 if test "$cross_compiling" = yes; then
23762 # Depending upon the size, compute the lo and hi bounds.
23763 cat >conftest.$ac_ext <<_ACEOF
23764 /* confdefs.h. */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769
23770 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23771 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23772 # error "fake wchar_t"
23773 #endif
23774 #ifdef HAVE_WCHAR_H
23775 # ifdef __CYGWIN__
23776 # include <stddef.h>
23777 # endif
23778 # include <wchar.h>
23779 #endif
23780 #ifdef HAVE_STDLIB_H
23781 # include <stdlib.h>
23782 #endif
23783 #include <stdio.h>
23784
23785
23786
23787 typedef wchar_t ac__type_sizeof_;
23788 int
23789 main ()
23790 {
23791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23792 test_array [0] = 0
23793
23794 ;
23795 return 0;
23796 }
23797 _ACEOF
23798 rm -f conftest.$ac_objext
23799 if { (ac_try="$ac_compile"
23800 case "(($ac_try" in
23801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23802 *) ac_try_echo=$ac_try;;
23803 esac
23804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23805 (eval "$ac_compile") 2>conftest.er1
23806 ac_status=$?
23807 grep -v '^ *+' conftest.er1 >conftest.err
23808 rm -f conftest.er1
23809 cat conftest.err >&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); } && {
23812 test -z "$ac_c_werror_flag" ||
23813 test ! -s conftest.err
23814 } && test -s conftest.$ac_objext; then
23815 ac_lo=0 ac_mid=0
23816 while :; do
23817 cat >conftest.$ac_ext <<_ACEOF
23818 /* confdefs.h. */
23819 _ACEOF
23820 cat confdefs.h >>conftest.$ac_ext
23821 cat >>conftest.$ac_ext <<_ACEOF
23822 /* end confdefs.h. */
23823
23824 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23825 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23826 # error "fake wchar_t"
23827 #endif
23828 #ifdef HAVE_WCHAR_H
23829 # ifdef __CYGWIN__
23830 # include <stddef.h>
23831 # endif
23832 # include <wchar.h>
23833 #endif
23834 #ifdef HAVE_STDLIB_H
23835 # include <stdlib.h>
23836 #endif
23837 #include <stdio.h>
23838
23839
23840
23841 typedef wchar_t ac__type_sizeof_;
23842 int
23843 main ()
23844 {
23845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23846 test_array [0] = 0
23847
23848 ;
23849 return 0;
23850 }
23851 _ACEOF
23852 rm -f conftest.$ac_objext
23853 if { (ac_try="$ac_compile"
23854 case "(($ac_try" in
23855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23856 *) ac_try_echo=$ac_try;;
23857 esac
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_compile") 2>conftest.er1
23860 ac_status=$?
23861 grep -v '^ *+' conftest.er1 >conftest.err
23862 rm -f conftest.er1
23863 cat conftest.err >&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); } && {
23866 test -z "$ac_c_werror_flag" ||
23867 test ! -s conftest.err
23868 } && test -s conftest.$ac_objext; then
23869 ac_hi=$ac_mid; break
23870 else
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.$ac_ext >&5
23873
23874 ac_lo=`expr $ac_mid + 1`
23875 if test $ac_lo -le $ac_mid; then
23876 ac_lo= ac_hi=
23877 break
23878 fi
23879 ac_mid=`expr 2 '*' $ac_mid + 1`
23880 fi
23881
23882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23883 done
23884 else
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.$ac_ext >&5
23887
23888 cat >conftest.$ac_ext <<_ACEOF
23889 /* confdefs.h. */
23890 _ACEOF
23891 cat confdefs.h >>conftest.$ac_ext
23892 cat >>conftest.$ac_ext <<_ACEOF
23893 /* end confdefs.h. */
23894
23895 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23896 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23897 # error "fake wchar_t"
23898 #endif
23899 #ifdef HAVE_WCHAR_H
23900 # ifdef __CYGWIN__
23901 # include <stddef.h>
23902 # endif
23903 # include <wchar.h>
23904 #endif
23905 #ifdef HAVE_STDLIB_H
23906 # include <stdlib.h>
23907 #endif
23908 #include <stdio.h>
23909
23910
23911
23912 typedef wchar_t ac__type_sizeof_;
23913 int
23914 main ()
23915 {
23916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23917 test_array [0] = 0
23918
23919 ;
23920 return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext
23924 if { (ac_try="$ac_compile"
23925 case "(($ac_try" in
23926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23928 esac
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_compile") 2>conftest.er1
23931 ac_status=$?
23932 grep -v '^ *+' conftest.er1 >conftest.err
23933 rm -f conftest.er1
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } && {
23937 test -z "$ac_c_werror_flag" ||
23938 test ! -s conftest.err
23939 } && test -s conftest.$ac_objext; then
23940 ac_hi=-1 ac_mid=-1
23941 while :; do
23942 cat >conftest.$ac_ext <<_ACEOF
23943 /* confdefs.h. */
23944 _ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23948
23949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23951 # error "fake wchar_t"
23952 #endif
23953 #ifdef HAVE_WCHAR_H
23954 # ifdef __CYGWIN__
23955 # include <stddef.h>
23956 # endif
23957 # include <wchar.h>
23958 #endif
23959 #ifdef HAVE_STDLIB_H
23960 # include <stdlib.h>
23961 #endif
23962 #include <stdio.h>
23963
23964
23965
23966 typedef wchar_t ac__type_sizeof_;
23967 int
23968 main ()
23969 {
23970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23971 test_array [0] = 0
23972
23973 ;
23974 return 0;
23975 }
23976 _ACEOF
23977 rm -f conftest.$ac_objext
23978 if { (ac_try="$ac_compile"
23979 case "(($ac_try" in
23980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23981 *) ac_try_echo=$ac_try;;
23982 esac
23983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23984 (eval "$ac_compile") 2>conftest.er1
23985 ac_status=$?
23986 grep -v '^ *+' conftest.er1 >conftest.err
23987 rm -f conftest.er1
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } && {
23991 test -z "$ac_c_werror_flag" ||
23992 test ! -s conftest.err
23993 } && test -s conftest.$ac_objext; then
23994 ac_lo=$ac_mid; break
23995 else
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.$ac_ext >&5
23998
23999 ac_hi=`expr '(' $ac_mid ')' - 1`
24000 if test $ac_mid -le $ac_hi; then
24001 ac_lo= ac_hi=
24002 break
24003 fi
24004 ac_mid=`expr 2 '*' $ac_mid`
24005 fi
24006
24007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24008 done
24009 else
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 ac_lo= ac_hi=
24014 fi
24015
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24017 fi
24018
24019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24020 # Binary search between lo and hi bounds.
24021 while test "x$ac_lo" != "x$ac_hi"; do
24022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24023 cat >conftest.$ac_ext <<_ACEOF
24024 /* confdefs.h. */
24025 _ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029
24030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24032 # error "fake wchar_t"
24033 #endif
24034 #ifdef HAVE_WCHAR_H
24035 # ifdef __CYGWIN__
24036 # include <stddef.h>
24037 # endif
24038 # include <wchar.h>
24039 #endif
24040 #ifdef HAVE_STDLIB_H
24041 # include <stdlib.h>
24042 #endif
24043 #include <stdio.h>
24044
24045
24046
24047 typedef wchar_t ac__type_sizeof_;
24048 int
24049 main ()
24050 {
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24052 test_array [0] = 0
24053
24054 ;
24055 return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24063 esac
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24075 ac_hi=$ac_mid
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24081 fi
24082
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 done
24085 case $ac_lo in
24086 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24087 '') if test "$ac_cv_type_wchar_t" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24089 See \`config.log' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (wchar_t)
24091 See \`config.log' for more details." >&2;}
24092 { (exit 77); exit 77; }; }
24093 else
24094 ac_cv_sizeof_wchar_t=0
24095 fi ;;
24096 esac
24097 else
24098 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h. */
24100 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24104
24105 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24106 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24107 # error "fake wchar_t"
24108 #endif
24109 #ifdef HAVE_WCHAR_H
24110 # ifdef __CYGWIN__
24111 # include <stddef.h>
24112 # endif
24113 # include <wchar.h>
24114 #endif
24115 #ifdef HAVE_STDLIB_H
24116 # include <stdlib.h>
24117 #endif
24118 #include <stdio.h>
24119
24120
24121
24122 typedef wchar_t ac__type_sizeof_;
24123 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24124 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24125 #include <stdio.h>
24126 #include <stdlib.h>
24127 int
24128 main ()
24129 {
24130
24131 FILE *f = fopen ("conftest.val", "w");
24132 if (! f)
24133 return 1;
24134 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24135 {
24136 long int i = longval ();
24137 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24138 return 1;
24139 fprintf (f, "%ld\n", i);
24140 }
24141 else
24142 {
24143 unsigned long int i = ulongval ();
24144 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24145 return 1;
24146 fprintf (f, "%lu\n", i);
24147 }
24148 return ferror (f) || fclose (f) != 0;
24149
24150 ;
24151 return 0;
24152 }
24153 _ACEOF
24154 rm -f conftest$ac_exeext
24155 if { (ac_try="$ac_link"
24156 case "(($ac_try" in
24157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24158 *) ac_try_echo=$ac_try;;
24159 esac
24160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24161 (eval "$ac_link") 2>&5
24162 ac_status=$?
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24165 { (case "(($ac_try" in
24166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24167 *) ac_try_echo=$ac_try;;
24168 esac
24169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24170 (eval "$ac_try") 2>&5
24171 ac_status=$?
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; }; then
24174 ac_cv_sizeof_wchar_t=`cat conftest.val`
24175 else
24176 echo "$as_me: program exited with status $ac_status" >&5
24177 echo "$as_me: failed program was:" >&5
24178 sed 's/^/| /' conftest.$ac_ext >&5
24179
24180 ( exit $ac_status )
24181 if test "$ac_cv_type_wchar_t" = yes; then
24182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24183 See \`config.log' for more details." >&5
24184 echo "$as_me: error: cannot compute sizeof (wchar_t)
24185 See \`config.log' for more details." >&2;}
24186 { (exit 77); exit 77; }; }
24187 else
24188 ac_cv_sizeof_wchar_t=0
24189 fi
24190 fi
24191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24192 fi
24193 rm -f conftest.val
24194 fi
24195 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24196 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24197
24198
24199
24200 cat >>confdefs.h <<_ACEOF
24201 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24202 _ACEOF
24203
24204
24205 if test "$ac_cv_sizeof_wchar_t" = 0; then
24206 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24207 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24208 { (exit 1); exit 1; }; }
24209 fi
24210 cat >>confdefs.h <<\_ACEOF
24211 #define wxUSE_WCHAR_T 1
24212 _ACEOF
24213
24214
24215 { echo "$as_me:$LINENO: checking for va_copy" >&5
24216 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24217 if test "${wx_cv_func_va_copy+set}" = set; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24219 else
24220
24221 ac_ext=cpp
24222 ac_cpp='$CXXCPP $CPPFLAGS'
24223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24226
24227 cat >conftest.$ac_ext <<_ACEOF
24228
24229 #include <stdarg.h>
24230 void foo(char *f, ...)
24231 {
24232 va_list ap1, ap2;
24233 va_start(ap1, f);
24234 va_copy(ap2, ap1);
24235 va_end(ap2);
24236 va_end(ap1);
24237 }
24238 int main()
24239 {
24240 foo("hi", 17);
24241 return 0;
24242 }
24243 _ACEOF
24244 rm -f conftest.$ac_objext conftest$ac_exeext
24245 if { (ac_try="$ac_link"
24246 case "(($ac_try" in
24247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24248 *) ac_try_echo=$ac_try;;
24249 esac
24250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24251 (eval "$ac_link") 2>conftest.er1
24252 ac_status=$?
24253 grep -v '^ *+' conftest.er1 >conftest.err
24254 rm -f conftest.er1
24255 cat conftest.err >&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); } && {
24258 test -z "$ac_cxx_werror_flag" ||
24259 test ! -s conftest.err
24260 } && test -s conftest$ac_exeext &&
24261 $as_test_x conftest$ac_exeext; then
24262 wx_cv_func_va_copy=yes
24263 else
24264 echo "$as_me: failed program was:" >&5
24265 sed 's/^/| /' conftest.$ac_ext >&5
24266
24267 wx_cv_func_va_copy=no
24268
24269 fi
24270
24271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24272 conftest$ac_exeext conftest.$ac_ext
24273 ac_ext=c
24274 ac_cpp='$CPP $CPPFLAGS'
24275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24278
24279
24280
24281 fi
24282 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24283 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24284
24285 if test $wx_cv_func_va_copy = "yes"; then
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_VA_COPY 1
24288 _ACEOF
24289
24290 else
24291 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24292 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24293 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296
24297 if test "$cross_compiling" = yes; then
24298 wx_cv_type_va_list_lvalue=yes
24299
24300 else
24301 cat >conftest.$ac_ext <<_ACEOF
24302
24303 #include <stdarg.h>
24304 int foo(char *f, ...)
24305 {
24306 va_list ap1, ap2;
24307 va_start(ap1, f);
24308 ap2 = ap1;
24309 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24310 return 1;
24311 va_end(ap2);
24312 va_end(ap1);
24313 return 0;
24314 }
24315 int main()
24316 {
24317 return foo("hi", 17);
24318 }
24319 _ACEOF
24320 rm -f conftest$ac_exeext
24321 if { (ac_try="$ac_link"
24322 case "(($ac_try" in
24323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24324 *) ac_try_echo=$ac_try;;
24325 esac
24326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24327 (eval "$ac_link") 2>&5
24328 ac_status=$?
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24331 { (case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24334 esac
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_try") 2>&5
24337 ac_status=$?
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); }; }; then
24340 wx_cv_type_va_list_lvalue=yes
24341 else
24342 echo "$as_me: program exited with status $ac_status" >&5
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24345
24346 ( exit $ac_status )
24347 wx_cv_type_va_list_lvalue=no
24348 fi
24349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24350 fi
24351
24352
24353
24354
24355 fi
24356 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24357 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24358
24359 if test $wx_cv_type_va_list_lvalue != "yes"; then
24360 cat >>confdefs.h <<\_ACEOF
24361 #define VA_LIST_IS_ARRAY 1
24362 _ACEOF
24363
24364 fi
24365 fi
24366
24367 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24368
24369 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24370 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24371 if test "${wx_cv_have_variadic_macros+set}" = set; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24373 else
24374
24375 ac_ext=cpp
24376 ac_cpp='$CXXCPP $CPPFLAGS'
24377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24380
24381 cat >conftest.$ac_ext <<_ACEOF
24382 /* confdefs.h. */
24383 _ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387
24388 #include <stdio.h>
24389 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24390
24391 int
24392 main ()
24393 {
24394
24395 test("%s %d %p", "test", 1, 0);
24396
24397
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext
24403 if { (ac_try="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24407 esac
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24410 ac_status=$?
24411 grep -v '^ *+' conftest.er1 >conftest.err
24412 rm -f conftest.er1
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_cxx_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24419 wx_cv_have_variadic_macros=yes
24420 else
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.$ac_ext >&5
24423
24424 wx_cv_have_variadic_macros=no
24425
24426 fi
24427
24428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24429 ac_ext=c
24430 ac_cpp='$CPP $CPPFLAGS'
24431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434
24435
24436
24437 fi
24438 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24439 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24440
24441 if test $wx_cv_have_variadic_macros = "yes"; then
24442 cat >>confdefs.h <<\_ACEOF
24443 #define HAVE_VARIADIC_MACROS 1
24444 _ACEOF
24445
24446 fi
24447
24448 fi
24449
24450 LARGEFILE_CPPFLAGS=
24451 # Check whether --enable-largefile was given.
24452 if test "${enable_largefile+set}" = set; then
24453 enableval=$enable_largefile;
24454 fi
24455
24456 if test "$enable_largefile" != no; then
24457 wx_largefile=no
24458
24459 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24460 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24461 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 else
24464
24465 cat >conftest.$ac_ext <<_ACEOF
24466 /* confdefs.h. */
24467 _ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471 #define _FILE_OFFSET_BITS 64
24472 #include <sys/types.h>
24473 int
24474 main ()
24475 {
24476 typedef struct {
24477 unsigned int field: sizeof(off_t) == 8;
24478 } wxlf;
24479
24480 ;
24481 return 0;
24482 }
24483 _ACEOF
24484 rm -f conftest.$ac_objext
24485 if { (ac_try="$ac_compile"
24486 case "(($ac_try" in
24487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24488 *) ac_try_echo=$ac_try;;
24489 esac
24490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24491 (eval "$ac_compile") 2>conftest.er1
24492 ac_status=$?
24493 grep -v '^ *+' conftest.er1 >conftest.err
24494 rm -f conftest.er1
24495 cat conftest.err >&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } && {
24498 test -z "$ac_c_werror_flag" ||
24499 test ! -s conftest.err
24500 } && test -s conftest.$ac_objext; then
24501 ac_cv_sys_file_offset_bits=64
24502 else
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506 ac_cv_sys_file_offset_bits=no
24507 fi
24508
24509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24510
24511
24512 fi
24513 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24514 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24515
24516 if test "$ac_cv_sys_file_offset_bits" != no; then
24517 wx_largefile=yes
24518 cat >>confdefs.h <<_ACEOF
24519 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24520 _ACEOF
24521
24522 fi
24523
24524 if test "x$wx_largefile" != "xyes"; then
24525
24526 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24527 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24528 if test "${ac_cv_sys_large_files+set}" = set; then
24529 echo $ECHO_N "(cached) $ECHO_C" >&6
24530 else
24531
24532 cat >conftest.$ac_ext <<_ACEOF
24533 /* confdefs.h. */
24534 _ACEOF
24535 cat confdefs.h >>conftest.$ac_ext
24536 cat >>conftest.$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24538 #define _LARGE_FILES 1
24539 #include <sys/types.h>
24540 int
24541 main ()
24542 {
24543 typedef struct {
24544 unsigned int field: sizeof(off_t) == 8;
24545 } wxlf;
24546
24547 ;
24548 return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest.$ac_objext
24552 if { (ac_try="$ac_compile"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24556 esac
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_compile") 2>conftest.er1
24559 ac_status=$?
24560 grep -v '^ *+' conftest.er1 >conftest.err
24561 rm -f conftest.er1
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } && {
24565 test -z "$ac_c_werror_flag" ||
24566 test ! -s conftest.err
24567 } && test -s conftest.$ac_objext; then
24568 ac_cv_sys_large_files=1
24569 else
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24572
24573 ac_cv_sys_large_files=no
24574 fi
24575
24576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24577
24578
24579 fi
24580 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24581 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24582
24583 if test "$ac_cv_sys_large_files" != no; then
24584 wx_largefile=yes
24585 cat >>confdefs.h <<_ACEOF
24586 #define _LARGE_FILES $ac_cv_sys_large_files
24587 _ACEOF
24588
24589 fi
24590
24591 fi
24592
24593 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24594 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24595 if test "x$wx_largefile" = "xyes"; then
24596 cat >>confdefs.h <<\_ACEOF
24597 #define HAVE_LARGEFILE_SUPPORT 1
24598 _ACEOF
24599
24600 fi
24601 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24602 echo "${ECHO_T}$wx_largefile" >&6; }
24603 fi
24604
24605 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24606 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24607 elif test "$ac_cv_sys_large_files" = 1; then
24608 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24609 fi
24610
24611 if test -n "$LARGEFILE_CPPFLAGS"; then
24612 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24613
24614 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24615 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24616 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24617 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24620
24621 ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24626
24627 cat >conftest.$ac_ext <<_ACEOF
24628 /* confdefs.h. */
24629 _ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633
24634 int
24635 main ()
24636 {
24637
24638 #ifndef __STDC_EXT__
24639 choke me
24640 #endif
24641
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext
24647 if { (ac_try="$ac_compile"
24648 case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24651 esac
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_compile") 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && {
24660 test -z "$ac_cxx_werror_flag" ||
24661 test ! -s conftest.err
24662 } && test -s conftest.$ac_objext; then
24663 wx_cv_STDC_EXT_required=no
24664 else
24665 echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24667
24668 wx_cv_STDC_EXT_required=yes
24669
24670 fi
24671
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673 ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24678
24679
24680
24681 fi
24682 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24683 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24684 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24685 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24686 fi
24687 fi
24688 fi
24689
24690 ac_ext=cpp
24691 ac_cpp='$CXXCPP $CPPFLAGS'
24692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24695
24696 old_CPPFLAGS="$CPPFLAGS"
24697 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24698 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24699 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24700 if test "${ac_cv_sys_largefile_source+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 else
24703 while :; do
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 #include <sys/types.h> /* for off_t */
24711 #include <stdio.h>
24712 int
24713 main ()
24714 {
24715 int (*fp) (FILE *, off_t, int) = fseeko;
24716 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 rm -f conftest.$ac_objext conftest$ac_exeext
24722 if { (ac_try="$ac_link"
24723 case "(($ac_try" in
24724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24725 *) ac_try_echo=$ac_try;;
24726 esac
24727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24728 (eval "$ac_link") 2>conftest.er1
24729 ac_status=$?
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } && {
24735 test -z "$ac_cxx_werror_flag" ||
24736 test ! -s conftest.err
24737 } && test -s conftest$ac_exeext &&
24738 $as_test_x conftest$ac_exeext; then
24739 ac_cv_sys_largefile_source=no; break
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24743
24744
24745 fi
24746
24747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24748 conftest$ac_exeext conftest.$ac_ext
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 #define _LARGEFILE_SOURCE 1
24756 #include <sys/types.h> /* for off_t */
24757 #include <stdio.h>
24758 int
24759 main ()
24760 {
24761 int (*fp) (FILE *, off_t, int) = fseeko;
24762 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24763 ;
24764 return 0;
24765 }
24766 _ACEOF
24767 rm -f conftest.$ac_objext conftest$ac_exeext
24768 if { (ac_try="$ac_link"
24769 case "(($ac_try" in
24770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24771 *) ac_try_echo=$ac_try;;
24772 esac
24773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24774 (eval "$ac_link") 2>conftest.er1
24775 ac_status=$?
24776 grep -v '^ *+' conftest.er1 >conftest.err
24777 rm -f conftest.er1
24778 cat conftest.err >&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } && {
24781 test -z "$ac_cxx_werror_flag" ||
24782 test ! -s conftest.err
24783 } && test -s conftest$ac_exeext &&
24784 $as_test_x conftest$ac_exeext; then
24785 ac_cv_sys_largefile_source=1; break
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790
24791 fi
24792
24793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24794 conftest$ac_exeext conftest.$ac_ext
24795 ac_cv_sys_largefile_source=unknown
24796 break
24797 done
24798 fi
24799 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24800 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24801 case $ac_cv_sys_largefile_source in #(
24802 no | unknown) ;;
24803 *)
24804 cat >>confdefs.h <<_ACEOF
24805 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24806 _ACEOF
24807 ;;
24808 esac
24809 rm -f conftest*
24810
24811 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24812 # in glibc 2.1.3, but that breaks too many other things.
24813 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24814 if test $ac_cv_sys_largefile_source != unknown; then
24815
24816 cat >>confdefs.h <<\_ACEOF
24817 #define HAVE_FSEEKO 1
24818 _ACEOF
24819
24820 fi
24821
24822 CPPFLAGS="$old_CPPFLAGS"
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829 if test "$ac_cv_sys_largefile_source" != no; then
24830 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24831 fi
24832
24833 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24834 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24835 if test "${ac_cv_c_bigendian+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 else
24838 ac_cv_c_bigendian=unknown
24839 # See if sys/param.h defines the BYTE_ORDER macro.
24840 cat >conftest.$ac_ext <<_ACEOF
24841 /* confdefs.h. */
24842 _ACEOF
24843 cat confdefs.h >>conftest.$ac_ext
24844 cat >>conftest.$ac_ext <<_ACEOF
24845 /* end confdefs.h. */
24846 #include <sys/types.h>
24847 #include <sys/param.h>
24848 int
24849 main ()
24850 {
24851
24852 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24853 bogus endian macros
24854 #endif
24855 ;
24856 return 0;
24857 }
24858 _ACEOF
24859 rm -f conftest.$ac_objext
24860 if { (ac_try="$ac_compile"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24864 esac
24865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_compile") 2>conftest.er1
24867 ac_status=$?
24868 grep -v '^ *+' conftest.er1 >conftest.err
24869 rm -f conftest.er1
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); } && {
24873 test -z "$ac_c_werror_flag" ||
24874 test ! -s conftest.err
24875 } && test -s conftest.$ac_objext; then
24876 # It does; now see whether it defined to BIG_ENDIAN or not.
24877 cat >conftest.$ac_ext <<_ACEOF
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883 #include <sys/types.h>
24884 #include <sys/param.h>
24885 int
24886 main ()
24887 {
24888
24889 #if BYTE_ORDER != BIG_ENDIAN
24890 not big endian
24891 #endif
24892 ;
24893 return 0;
24894 }
24895 _ACEOF
24896 rm -f conftest.$ac_objext
24897 if { (ac_try="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24901 esac
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 ac_cv_c_bigendian=yes
24914 else
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.$ac_ext >&5
24917
24918 ac_cv_c_bigendian=no
24919 fi
24920
24921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24922 else
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.$ac_ext >&5
24925
24926
24927 fi
24928
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 if test $ac_cv_c_bigendian = unknown; then
24931 if test "$cross_compiling" = yes; then
24932 ac_cv_c_bigendian=unknown
24933 else
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940 main () {
24941 /* Are we little or big endian? From Harbison&Steele. */
24942 union
24943 {
24944 long l;
24945 char c[sizeof (long)];
24946 } u;
24947 u.l = 1;
24948 exit (u.c[sizeof (long) - 1] == 1);
24949 }
24950 _ACEOF
24951 rm -f conftest$ac_exeext
24952 if { (ac_try="$ac_link"
24953 case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24956 esac
24957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24958 (eval "$ac_link") 2>&5
24959 ac_status=$?
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24962 { (case "(($ac_try" in
24963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24964 *) ac_try_echo=$ac_try;;
24965 esac
24966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24967 (eval "$ac_try") 2>&5
24968 ac_status=$?
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 ac_cv_c_bigendian=no
24972 else
24973 echo "$as_me: program exited with status $ac_status" >&5
24974 echo "$as_me: failed program was:" >&5
24975 sed 's/^/| /' conftest.$ac_ext >&5
24976
24977 ( exit $ac_status )
24978 ac_cv_c_bigendian=yes
24979 fi
24980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24981 fi
24982
24983
24984 fi
24985 fi
24986 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24987 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24988 if test $ac_cv_c_bigendian = unknown; then
24989 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24990 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24991 fi
24992 if test $ac_cv_c_bigendian = yes; then
24993 cat >>confdefs.h <<\_ACEOF
24994 #define WORDS_BIGENDIAN 1
24995 _ACEOF
24996
24997 fi
24998
24999
25000
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008
25009
25010 for ac_header in iostream
25011 do
25012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25017 else
25018 cat >conftest.$ac_ext <<_ACEOF
25019 /* confdefs.h. */
25020 _ACEOF
25021 cat confdefs.h >>conftest.$ac_ext
25022 cat >>conftest.$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25024
25025
25026 #include <$ac_header>
25027 _ACEOF
25028 rm -f conftest.$ac_objext
25029 if { (ac_try="$ac_compile"
25030 case "(($ac_try" in
25031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25032 *) ac_try_echo=$ac_try;;
25033 esac
25034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25035 (eval "$ac_compile") 2>conftest.er1
25036 ac_status=$?
25037 grep -v '^ *+' conftest.er1 >conftest.err
25038 rm -f conftest.er1
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } && {
25042 test -z "$ac_cxx_werror_flag" ||
25043 test ! -s conftest.err
25044 } && test -s conftest.$ac_objext; then
25045 eval "$as_ac_Header=yes"
25046 else
25047 echo "$as_me: failed program was:" >&5
25048 sed 's/^/| /' conftest.$ac_ext >&5
25049
25050 eval "$as_ac_Header=no"
25051 fi
25052
25053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25054 fi
25055 ac_res=`eval echo '${'$as_ac_Header'}'`
25056 { echo "$as_me:$LINENO: result: $ac_res" >&5
25057 echo "${ECHO_T}$ac_res" >&6; }
25058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25059 cat >>confdefs.h <<_ACEOF
25060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25061 _ACEOF
25062
25063 fi
25064
25065 done
25066
25067
25068 if test "$ac_cv_header_iostream" = "yes" ; then
25069 :
25070 else
25071 cat >>confdefs.h <<\_ACEOF
25072 #define wxUSE_IOSTREAMH 1
25073 _ACEOF
25074
25075 fi
25076
25077 ac_ext=c
25078 ac_cpp='$CPP $CPPFLAGS'
25079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25082
25083
25084
25085
25086 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25087 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25088 if test "${wx_cv_explicit+set}" = set; then
25089 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 else
25091
25092
25093 ac_ext=cpp
25094 ac_cpp='$CXXCPP $CPPFLAGS'
25095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25098
25099
25100 cat >conftest.$ac_ext <<_ACEOF
25101 /* confdefs.h. */
25102 _ACEOF
25103 cat confdefs.h >>conftest.$ac_ext
25104 cat >>conftest.$ac_ext <<_ACEOF
25105 /* end confdefs.h. */
25106
25107 class Foo { public: explicit Foo(int) {} };
25108
25109 int
25110 main ()
25111 {
25112
25113 return 0;
25114
25115 ;
25116 return 0;
25117 }
25118 _ACEOF
25119 rm -f conftest.$ac_objext
25120 if { (ac_try="$ac_compile"
25121 case "(($ac_try" in
25122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25123 *) ac_try_echo=$ac_try;;
25124 esac
25125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25126 (eval "$ac_compile") 2>conftest.er1
25127 ac_status=$?
25128 grep -v '^ *+' conftest.er1 >conftest.err
25129 rm -f conftest.er1
25130 cat conftest.err >&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } && {
25133 test -z "$ac_cxx_werror_flag" ||
25134 test ! -s conftest.err
25135 } && test -s conftest.$ac_objext; then
25136
25137 cat >conftest.$ac_ext <<_ACEOF
25138 /* confdefs.h. */
25139 _ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143
25144 class Foo { public: explicit Foo(int) {} };
25145 static void TakeFoo(const Foo& foo) { }
25146
25147 int
25148 main ()
25149 {
25150
25151 TakeFoo(17);
25152 return 0;
25153
25154 ;
25155 return 0;
25156 }
25157 _ACEOF
25158 rm -f conftest.$ac_objext
25159 if { (ac_try="$ac_compile"
25160 case "(($ac_try" in
25161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25162 *) ac_try_echo=$ac_try;;
25163 esac
25164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25165 (eval "$ac_compile") 2>conftest.er1
25166 ac_status=$?
25167 grep -v '^ *+' conftest.er1 >conftest.err
25168 rm -f conftest.er1
25169 cat conftest.err >&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } && {
25172 test -z "$ac_cxx_werror_flag" ||
25173 test ! -s conftest.err
25174 } && test -s conftest.$ac_objext; then
25175 wx_cv_explicit=no
25176 else
25177 echo "$as_me: failed program was:" >&5
25178 sed 's/^/| /' conftest.$ac_ext >&5
25179
25180 wx_cv_explicit=yes
25181
25182 fi
25183
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25185
25186 else
25187 echo "$as_me: failed program was:" >&5
25188 sed 's/^/| /' conftest.$ac_ext >&5
25189
25190 wx_cv_explicit=no
25191
25192 fi
25193
25194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25195
25196 ac_ext=c
25197 ac_cpp='$CPP $CPPFLAGS'
25198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25201
25202
25203 fi
25204 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25205 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25206
25207 if test "$wx_cv_explicit" = "yes"; then
25208 cat >>confdefs.h <<\_ACEOF
25209 #define HAVE_EXPLICIT 1
25210 _ACEOF
25211
25212 fi
25213
25214
25215 if test "x$SUNCXX" = xyes; then
25216 CXXFLAGS="-features=tmplife $CXXFLAGS"
25217 fi
25218
25219 if test "x$SUNCC" = xyes; then
25220 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25221 fi
25222
25223 if test "x$SGICC" = "xyes"; then
25224 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25225 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25226 if test "${wx_cv_prog_sgicc744+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236
25237 int
25238 main ()
25239 {
25240
25241 #if _SGI_COMPILER_VERSION >= 744
25242 chock me: mipsPro is 7.4.4 or later
25243 #endif
25244
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 rm -f conftest.$ac_objext
25250 if { (ac_try="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25254 esac
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_c_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_prog_sgicc744=no
25267 else
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25270
25271 wx_cv_prog_sgicc744=yes
25272
25273 fi
25274
25275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25276
25277
25278 fi
25279 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25280 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25281
25282 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25283 CFLAGS="-woff 3970 $CFLAGS"
25284 fi
25285 fi
25286 if test "x$SGICXX" = "xyes"; then
25287 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25288 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25289 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292
25293 ac_ext=cpp
25294 ac_cpp='$CXXCPP $CPPFLAGS'
25295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25298
25299 cat >conftest.$ac_ext <<_ACEOF
25300 /* confdefs.h. */
25301 _ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305
25306 int
25307 main ()
25308 {
25309
25310 #if _SGI_COMPILER_VERSION >= 744
25311 chock me: mipsPro is 7.4.4 or later
25312 #endif
25313
25314 ;
25315 return 0;
25316 }
25317 _ACEOF
25318 rm -f conftest.$ac_objext
25319 if { (ac_try="$ac_compile"
25320 case "(($ac_try" in
25321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25322 *) ac_try_echo=$ac_try;;
25323 esac
25324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325 (eval "$ac_compile") 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } && {
25332 test -z "$ac_cxx_werror_flag" ||
25333 test ! -s conftest.err
25334 } && test -s conftest.$ac_objext; then
25335 wx_cv_prog_sgicxx744=no
25336 else
25337 echo "$as_me: failed program was:" >&5
25338 sed 's/^/| /' conftest.$ac_ext >&5
25339
25340 wx_cv_prog_sgicxx744=yes
25341
25342 fi
25343
25344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25345 ac_ext=c
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350
25351
25352
25353 fi
25354 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25355 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25356
25357 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25358 CXXFLAGS="-woff 3970 $CXXFLAGS"
25359 fi
25360 fi
25361
25362 if test "x$HPCC" = "xyes"; then
25363 CFLAGS="+W 2011,2450 $CFLAGS"
25364 fi
25365 if test "x$HPCXX" = "xyes"; then
25366 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25367 fi
25368
25369 if test "x$COMPAQCXX" = "xyes"; then
25370 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25371 fi
25372
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378
25379
25380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25381 if test "$wxUSE_UNICODE" = "yes"; then
25382 std_string="std::wstring"
25383 char_type="wchar_t"
25384 else
25385 std_string="std::string"
25386 char_type="char"
25387 fi
25388
25389 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25390 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25391 if test "${wx_cv_class_stdstring+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394
25395 cat >conftest.$ac_ext <<_ACEOF
25396 /* confdefs.h. */
25397 _ACEOF
25398 cat confdefs.h >>conftest.$ac_ext
25399 cat >>conftest.$ac_ext <<_ACEOF
25400 /* end confdefs.h. */
25401 #include <string>
25402 int
25403 main ()
25404 {
25405 $std_string foo;
25406 ;
25407 return 0;
25408 }
25409 _ACEOF
25410 rm -f conftest.$ac_objext
25411 if { (ac_try="$ac_compile"
25412 case "(($ac_try" in
25413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25414 *) ac_try_echo=$ac_try;;
25415 esac
25416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25417 (eval "$ac_compile") 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } && {
25424 test -z "$ac_cxx_werror_flag" ||
25425 test ! -s conftest.err
25426 } && test -s conftest.$ac_objext; then
25427 wx_cv_class_stdstring=yes
25428 else
25429 echo "$as_me: failed program was:" >&5
25430 sed 's/^/| /' conftest.$ac_ext >&5
25431
25432 wx_cv_class_stdstring=no
25433
25434 fi
25435
25436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25437
25438
25439 fi
25440 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25441 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25442
25443 if test "$wx_cv_class_stdstring" = yes; then
25444 if test "$wxUSE_UNICODE" = "yes"; then
25445 cat >>confdefs.h <<\_ACEOF
25446 #define HAVE_STD_WSTRING 1
25447 _ACEOF
25448
25449 fi
25450 else
25451 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25452 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25453 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 else
25456
25457 cat >conftest.$ac_ext <<_ACEOF
25458 /* confdefs.h. */
25459 _ACEOF
25460 cat confdefs.h >>conftest.$ac_ext
25461 cat >>conftest.$ac_ext <<_ACEOF
25462 /* end confdefs.h. */
25463
25464 #ifdef HAVE_WCHAR_H
25465 # ifdef __CYGWIN__
25466 # include <stddef.h>
25467 # endif
25468 # include <wchar.h>
25469 #endif
25470 #ifdef HAVE_STDLIB_H
25471 # include <stdlib.h>
25472 #endif
25473 #include <stdio.h>
25474 #include <string>
25475
25476 int
25477 main ()
25478 {
25479 std::basic_string<$char_type> foo;
25480 const $char_type* dummy = foo.c_str();
25481 ;
25482 return 0;
25483 }
25484 _ACEOF
25485 rm -f conftest.$ac_objext
25486 if { (ac_try="$ac_compile"
25487 case "(($ac_try" in
25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25489 *) ac_try_echo=$ac_try;;
25490 esac
25491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25492 (eval "$ac_compile") 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } && {
25499 test -z "$ac_cxx_werror_flag" ||
25500 test ! -s conftest.err
25501 } && test -s conftest.$ac_objext; then
25502 wx_cv_class_stdbasicstring=yes
25503 else
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 wx_cv_class_stdbasicstring=no
25508
25509 fi
25510
25511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25512
25513
25514 fi
25515 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25516 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25517
25518 if test "$wx_cv_class_stdbasicstring" != yes; then
25519 if test "$wxUSE_STL" = "yes"; then
25520 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25521 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25522 { (exit 1); exit 1; }; }
25523 elif test "$wxUSE_STD_STRING" = "yes"; then
25524 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25525 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25526 { (exit 1); exit 1; }; }
25527 else
25528 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25529 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25530 wxUSE_STD_STRING=no
25531 fi
25532 fi
25533 fi
25534 fi
25535
25536 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25537 { echo "$as_me:$LINENO: checking for std::istream" >&5
25538 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25539 if test "${ac_cv_type_std__istream+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542 cat >conftest.$ac_ext <<_ACEOF
25543 /* confdefs.h. */
25544 _ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h. */
25548 #include <iostream>
25549
25550 typedef std::istream ac__type_new_;
25551 int
25552 main ()
25553 {
25554 if ((ac__type_new_ *) 0)
25555 return 0;
25556 if (sizeof (ac__type_new_))
25557 return 0;
25558 ;
25559 return 0;
25560 }
25561 _ACEOF
25562 rm -f conftest.$ac_objext
25563 if { (ac_try="$ac_compile"
25564 case "(($ac_try" in
25565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25566 *) ac_try_echo=$ac_try;;
25567 esac
25568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25569 (eval "$ac_compile") 2>conftest.er1
25570 ac_status=$?
25571 grep -v '^ *+' conftest.er1 >conftest.err
25572 rm -f conftest.er1
25573 cat conftest.err >&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } && {
25576 test -z "$ac_cxx_werror_flag" ||
25577 test ! -s conftest.err
25578 } && test -s conftest.$ac_objext; then
25579 ac_cv_type_std__istream=yes
25580 else
25581 echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 ac_cv_type_std__istream=no
25585 fi
25586
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 fi
25589 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25590 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25591 if test $ac_cv_type_std__istream = yes; then
25592
25593 cat >>confdefs.h <<_ACEOF
25594 #define HAVE_STD__ISTREAM 1
25595 _ACEOF
25596
25597
25598 else
25599 wxUSE_STD_IOSTREAM=no
25600 fi
25601 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25602 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25603 if test "${ac_cv_type_std__ostream+set}" = set; then
25604 echo $ECHO_N "(cached) $ECHO_C" >&6
25605 else
25606 cat >conftest.$ac_ext <<_ACEOF
25607 /* confdefs.h. */
25608 _ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 #include <iostream>
25613
25614 typedef std::ostream ac__type_new_;
25615 int
25616 main ()
25617 {
25618 if ((ac__type_new_ *) 0)
25619 return 0;
25620 if (sizeof (ac__type_new_))
25621 return 0;
25622 ;
25623 return 0;
25624 }
25625 _ACEOF
25626 rm -f conftest.$ac_objext
25627 if { (ac_try="$ac_compile"
25628 case "(($ac_try" in
25629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25630 *) ac_try_echo=$ac_try;;
25631 esac
25632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25633 (eval "$ac_compile") 2>conftest.er1
25634 ac_status=$?
25635 grep -v '^ *+' conftest.er1 >conftest.err
25636 rm -f conftest.er1
25637 cat conftest.err >&5
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); } && {
25640 test -z "$ac_cxx_werror_flag" ||
25641 test ! -s conftest.err
25642 } && test -s conftest.$ac_objext; then
25643 ac_cv_type_std__ostream=yes
25644 else
25645 echo "$as_me: failed program was:" >&5
25646 sed 's/^/| /' conftest.$ac_ext >&5
25647
25648 ac_cv_type_std__ostream=no
25649 fi
25650
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 fi
25653 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25654 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25655 if test $ac_cv_type_std__ostream = yes; then
25656
25657 cat >>confdefs.h <<_ACEOF
25658 #define HAVE_STD__OSTREAM 1
25659 _ACEOF
25660
25661
25662 else
25663 wxUSE_STD_IOSTREAM=no
25664 fi
25665
25666
25667 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25668 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25669 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25670 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25671 { (exit 1); exit 1; }; }
25672 else
25673 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25674 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25675 fi
25676 fi
25677 fi
25678
25679 if test "$wxUSE_STL" = "yes"; then
25680 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25682 if test "${wx_cv_lib_stl+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25684 else
25685 cat >conftest.$ac_ext <<_ACEOF
25686 /* confdefs.h. */
25687 _ACEOF
25688 cat confdefs.h >>conftest.$ac_ext
25689 cat >>conftest.$ac_ext <<_ACEOF
25690 /* end confdefs.h. */
25691 #include <string>
25692 #include <functional>
25693 #include <algorithm>
25694 #include <vector>
25695 #include <list>
25696 int
25697 main ()
25698 {
25699 std::vector<int> moo;
25700 std::list<int> foo;
25701 std::vector<int>::iterator it =
25702 std::find_if(moo.begin(), moo.end(),
25703 std::bind2nd(std::less<int>(), 3));
25704 ;
25705 return 0;
25706 }
25707 _ACEOF
25708 rm -f conftest.$ac_objext
25709 if { (ac_try="$ac_compile"
25710 case "(($ac_try" in
25711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25712 *) ac_try_echo=$ac_try;;
25713 esac
25714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25715 (eval "$ac_compile") 2>conftest.er1
25716 ac_status=$?
25717 grep -v '^ *+' conftest.er1 >conftest.err
25718 rm -f conftest.er1
25719 cat conftest.err >&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); } && {
25722 test -z "$ac_cxx_werror_flag" ||
25723 test ! -s conftest.err
25724 } && test -s conftest.$ac_objext; then
25725 wx_cv_lib_stl=yes
25726 else
25727 echo "$as_me: failed program was:" >&5
25728 sed 's/^/| /' conftest.$ac_ext >&5
25729
25730 wx_cv_lib_stl=no
25731
25732 fi
25733
25734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25735
25736 fi
25737 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25738 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25739
25740 if test "$wx_cv_lib_stl" != yes; then
25741 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25742 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25743 { (exit 1); exit 1; }; }
25744 fi
25745
25746 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25747 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25748 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757 #include <string>
25758 int
25759 main ()
25760 {
25761 std::string foo, bar;
25762 foo.compare(bar);
25763 foo.compare(1, 1, bar);
25764 foo.compare(1, 1, bar, 1, 1);
25765 foo.compare("");
25766 foo.compare(1, 1, "");
25767 foo.compare(1, 1, "", 2);
25768 ;
25769 return 0;
25770 }
25771 _ACEOF
25772 rm -f conftest.$ac_objext
25773 if { (ac_try="$ac_compile"
25774 case "(($ac_try" in
25775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25776 *) ac_try_echo=$ac_try;;
25777 esac
25778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25779 (eval "$ac_compile") 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } && {
25786 test -z "$ac_cxx_werror_flag" ||
25787 test ! -s conftest.err
25788 } && test -s conftest.$ac_objext; then
25789 wx_cv_func_stdstring_compare=yes
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25793
25794 wx_cv_func_stdstring_compare=no
25795
25796 fi
25797
25798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25799
25800 fi
25801 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25803
25804 if test "$wx_cv_func_stdstring_compare" = yes; then
25805 cat >>confdefs.h <<\_ACEOF
25806 #define HAVE_STD_STRING_COMPARE 1
25807 _ACEOF
25808
25809 fi
25810
25811 if test "$wx_cv_class_gnuhashmapset" = yes; then
25812 cat >>confdefs.h <<\_ACEOF
25813 #define HAVE_EXT_HASH_MAP 1
25814 _ACEOF
25815
25816 cat >>confdefs.h <<\_ACEOF
25817 #define HAVE_GNU_CXX_HASH_MAP 1
25818 _ACEOF
25819
25820 fi
25821
25822 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25823 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25824 if test "${ac_cv_header_unordered_map+set}" = set; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 else
25827 cat >conftest.$ac_ext <<_ACEOF
25828 /* confdefs.h. */
25829 _ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25833
25834
25835
25836 #include <unordered_map>
25837 _ACEOF
25838 rm -f conftest.$ac_objext
25839 if { (ac_try="$ac_compile"
25840 case "(($ac_try" in
25841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25842 *) ac_try_echo=$ac_try;;
25843 esac
25844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25845 (eval "$ac_compile") 2>conftest.er1
25846 ac_status=$?
25847 grep -v '^ *+' conftest.er1 >conftest.err
25848 rm -f conftest.er1
25849 cat conftest.err >&5
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); } && {
25852 test -z "$ac_cxx_werror_flag" ||
25853 test ! -s conftest.err
25854 } && test -s conftest.$ac_objext; then
25855 ac_cv_header_unordered_map=yes
25856 else
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25859
25860 ac_cv_header_unordered_map=no
25861 fi
25862
25863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25864 fi
25865 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25866 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25867 if test $ac_cv_header_unordered_map = yes; then
25868 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25869 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25870 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25871 echo $ECHO_N "(cached) $ECHO_C" >&6
25872 else
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879 #include <unordered_map>
25880 #include <unordered_set>
25881 int
25882 main ()
25883 {
25884 std::unordered_map<double*, char*> test1;
25885 std::unordered_set<char*> test2;
25886 ;
25887 return 0;
25888 }
25889 _ACEOF
25890 rm -f conftest.$ac_objext
25891 if { (ac_try="$ac_compile"
25892 case "(($ac_try" in
25893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25894 *) ac_try_echo=$ac_try;;
25895 esac
25896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25897 (eval "$ac_compile") 2>conftest.er1
25898 ac_status=$?
25899 grep -v '^ *+' conftest.er1 >conftest.err
25900 rm -f conftest.er1
25901 cat conftest.err >&5
25902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25903 (exit $ac_status); } && {
25904 test -z "$ac_cxx_werror_flag" ||
25905 test ! -s conftest.err
25906 } && test -s conftest.$ac_objext; then
25907 wx_cv_class_stdunorderedmapset=yes
25908 else
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.$ac_ext >&5
25911
25912 wx_cv_class_stdunorderedmapset=no
25913 fi
25914
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916
25917
25918 fi
25919 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25920 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25921 fi
25922
25923
25924
25925 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_STD_UNORDERED_MAP 1
25928 _ACEOF
25929
25930 cat >>confdefs.h <<\_ACEOF
25931 #define HAVE_STD_UNORDERED_SET 1
25932 _ACEOF
25933
25934 else
25935 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25936 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25937 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25939 else
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946
25947
25948
25949 #include <tr1/unordered_map>
25950 _ACEOF
25951 rm -f conftest.$ac_objext
25952 if { (ac_try="$ac_compile"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25956 esac
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_compile") 2>conftest.er1
25959 ac_status=$?
25960 grep -v '^ *+' conftest.er1 >conftest.err
25961 rm -f conftest.er1
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_cxx_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest.$ac_objext; then
25968 ac_cv_header_tr1_unordered_map=yes
25969 else
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25972
25973 ac_cv_header_tr1_unordered_map=no
25974 fi
25975
25976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25977 fi
25978 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25979 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25980 if test $ac_cv_header_tr1_unordered_map = yes; then
25981 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25982 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25983 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 else
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <tr1/unordered_map>
25993 #include <tr1/unordered_set>
25994 int
25995 main ()
25996 {
25997 std::tr1::unordered_map<double*, char*> test1;
25998 std::tr1::unordered_set<char*> test2;
25999 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26000 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26001 #endif
26002 ;
26003 return 0;
26004 }
26005 _ACEOF
26006 rm -f conftest.$ac_objext
26007 if { (ac_try="$ac_compile"
26008 case "(($ac_try" in
26009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26010 *) ac_try_echo=$ac_try;;
26011 esac
26012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26013 (eval "$ac_compile") 2>conftest.er1
26014 ac_status=$?
26015 grep -v '^ *+' conftest.er1 >conftest.err
26016 rm -f conftest.er1
26017 cat conftest.err >&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } && {
26020 test -z "$ac_cxx_werror_flag" ||
26021 test ! -s conftest.err
26022 } && test -s conftest.$ac_objext; then
26023 wx_cv_class_tr1unorderedmapset=yes
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26027
26028 wx_cv_class_tr1unorderedmapset=no
26029 fi
26030
26031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26032
26033
26034 fi
26035 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26036 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26037 fi
26038
26039
26040
26041 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26042 cat >>confdefs.h <<\_ACEOF
26043 #define HAVE_TR1_UNORDERED_MAP 1
26044 _ACEOF
26045
26046 cat >>confdefs.h <<\_ACEOF
26047 #define HAVE_TR1_UNORDERED_SET 1
26048 _ACEOF
26049
26050 else
26051 { echo "$as_me:$LINENO: checking for hash_map" >&5
26052 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26053 if test "${ac_cv_header_hash_map+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 else
26056 cat >conftest.$ac_ext <<_ACEOF
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062
26063
26064
26065 #include <hash_map>
26066 _ACEOF
26067 rm -f conftest.$ac_objext
26068 if { (ac_try="$ac_compile"
26069 case "(($ac_try" in
26070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26071 *) ac_try_echo=$ac_try;;
26072 esac
26073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26074 (eval "$ac_compile") 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } && {
26081 test -z "$ac_cxx_werror_flag" ||
26082 test ! -s conftest.err
26083 } && test -s conftest.$ac_objext; then
26084 ac_cv_header_hash_map=yes
26085 else
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.$ac_ext >&5
26088
26089 ac_cv_header_hash_map=no
26090 fi
26091
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 fi
26094 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26095 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26096 if test $ac_cv_header_hash_map = yes; then
26097 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26098 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26099 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26101 else
26102 cat >conftest.$ac_ext <<_ACEOF
26103 /* confdefs.h. */
26104 _ACEOF
26105 cat confdefs.h >>conftest.$ac_ext
26106 cat >>conftest.$ac_ext <<_ACEOF
26107 /* end confdefs.h. */
26108 #include <hash_map>
26109 #include <hash_set>
26110 int
26111 main ()
26112 {
26113 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26114 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26115 ;
26116 return 0;
26117 }
26118 _ACEOF
26119 rm -f conftest.$ac_objext
26120 if { (ac_try="$ac_compile"
26121 case "(($ac_try" in
26122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26123 *) ac_try_echo=$ac_try;;
26124 esac
26125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26126 (eval "$ac_compile") 2>conftest.er1
26127 ac_status=$?
26128 grep -v '^ *+' conftest.er1 >conftest.err
26129 rm -f conftest.er1
26130 cat conftest.err >&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } && {
26133 test -z "$ac_cxx_werror_flag" ||
26134 test ! -s conftest.err
26135 } && test -s conftest.$ac_objext; then
26136 wx_cv_class_stdhashmapset=yes
26137 else
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26140
26141 wx_cv_class_stdhashmapset=no
26142 fi
26143
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145
26146
26147 fi
26148 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26149 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26150 fi
26151
26152
26153
26154 if test "$wx_cv_class_stdhashmapset" = yes; then
26155 cat >>confdefs.h <<\_ACEOF
26156 #define HAVE_HASH_MAP 1
26157 _ACEOF
26158
26159 cat >>confdefs.h <<\_ACEOF
26160 #define HAVE_STD_HASH_MAP 1
26161 _ACEOF
26162
26163 fi
26164
26165 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26166 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26167 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170 cat >conftest.$ac_ext <<_ACEOF
26171 /* confdefs.h. */
26172 _ACEOF
26173 cat confdefs.h >>conftest.$ac_ext
26174 cat >>conftest.$ac_ext <<_ACEOF
26175 /* end confdefs.h. */
26176
26177
26178
26179 #include <ext/hash_map>
26180 _ACEOF
26181 rm -f conftest.$ac_objext
26182 if { (ac_try="$ac_compile"
26183 case "(($ac_try" in
26184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26185 *) ac_try_echo=$ac_try;;
26186 esac
26187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26188 (eval "$ac_compile") 2>conftest.er1
26189 ac_status=$?
26190 grep -v '^ *+' conftest.er1 >conftest.err
26191 rm -f conftest.er1
26192 cat conftest.err >&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); } && {
26195 test -z "$ac_cxx_werror_flag" ||
26196 test ! -s conftest.err
26197 } && test -s conftest.$ac_objext; then
26198 ac_cv_header_ext_hash_map=yes
26199 else
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26202
26203 ac_cv_header_ext_hash_map=no
26204 fi
26205
26206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26207 fi
26208 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26209 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26210 if test $ac_cv_header_ext_hash_map = yes; then
26211 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26212 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26213 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222 #include <ext/hash_map>
26223 #include <ext/hash_set>
26224 int
26225 main ()
26226 {
26227 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26228 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26229 ;
26230 return 0;
26231 }
26232 _ACEOF
26233 rm -f conftest.$ac_objext
26234 if { (ac_try="$ac_compile"
26235 case "(($ac_try" in
26236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26237 *) ac_try_echo=$ac_try;;
26238 esac
26239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26240 (eval "$ac_compile") 2>conftest.er1
26241 ac_status=$?
26242 grep -v '^ *+' conftest.er1 >conftest.err
26243 rm -f conftest.er1
26244 cat conftest.err >&5
26245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246 (exit $ac_status); } && {
26247 test -z "$ac_cxx_werror_flag" ||
26248 test ! -s conftest.err
26249 } && test -s conftest.$ac_objext; then
26250 wx_cv_class_gnuhashmapset=yes
26251 else
26252 echo "$as_me: failed program was:" >&5
26253 sed 's/^/| /' conftest.$ac_ext >&5
26254
26255 wx_cv_class_gnuhashmapset=no
26256 fi
26257
26258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26259
26260
26261 fi
26262 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26263 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26264 fi
26265
26266
26267
26268 fi
26269 fi
26270 fi
26271
26272 ac_ext=cpp
26273 ac_cpp='$CXXCPP $CPPFLAGS'
26274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26277 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26278 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26279 if test -z "$CXXCPP"; then
26280 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26281 echo $ECHO_N "(cached) $ECHO_C" >&6
26282 else
26283 # Double quotes because CXXCPP needs to be expanded
26284 for CXXCPP in "$CXX -E" "/lib/cpp"
26285 do
26286 ac_preproc_ok=false
26287 for ac_cxx_preproc_warn_flag in '' yes
26288 do
26289 # Use a header file that comes with gcc, so configuring glibc
26290 # with a fresh cross-compiler works.
26291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26292 # <limits.h> exists even on freestanding compilers.
26293 # On the NeXT, cc -E runs the code through the compiler's parser,
26294 # not just through cpp. "Syntax error" is here to catch this case.
26295 cat >conftest.$ac_ext <<_ACEOF
26296 /* confdefs.h. */
26297 _ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26301 #ifdef __STDC__
26302 # include <limits.h>
26303 #else
26304 # include <assert.h>
26305 #endif
26306 Syntax error
26307 _ACEOF
26308 if { (ac_try="$ac_cpp conftest.$ac_ext"
26309 case "(($ac_try" in
26310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26311 *) ac_try_echo=$ac_try;;
26312 esac
26313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26314 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26315 ac_status=$?
26316 grep -v '^ *+' conftest.er1 >conftest.err
26317 rm -f conftest.er1
26318 cat conftest.err >&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } >/dev/null && {
26321 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26322 test ! -s conftest.err
26323 }; then
26324 :
26325 else
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.$ac_ext >&5
26328
26329 # Broken: fails on valid input.
26330 continue
26331 fi
26332
26333 rm -f conftest.err conftest.$ac_ext
26334
26335 # OK, works on sane cases. Now check whether nonexistent headers
26336 # can be detected and how.
26337 cat >conftest.$ac_ext <<_ACEOF
26338 /* confdefs.h. */
26339 _ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <ac_nonexistent.h>
26344 _ACEOF
26345 if { (ac_try="$ac_cpp conftest.$ac_ext"
26346 case "(($ac_try" in
26347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26348 *) ac_try_echo=$ac_try;;
26349 esac
26350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26352 ac_status=$?
26353 grep -v '^ *+' conftest.er1 >conftest.err
26354 rm -f conftest.er1
26355 cat conftest.err >&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } >/dev/null && {
26358 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26359 test ! -s conftest.err
26360 }; then
26361 # Broken: success on invalid input.
26362 continue
26363 else
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26366
26367 # Passes both tests.
26368 ac_preproc_ok=:
26369 break
26370 fi
26371
26372 rm -f conftest.err conftest.$ac_ext
26373
26374 done
26375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26376 rm -f conftest.err conftest.$ac_ext
26377 if $ac_preproc_ok; then
26378 break
26379 fi
26380
26381 done
26382 ac_cv_prog_CXXCPP=$CXXCPP
26383
26384 fi
26385 CXXCPP=$ac_cv_prog_CXXCPP
26386 else
26387 ac_cv_prog_CXXCPP=$CXXCPP
26388 fi
26389 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26390 echo "${ECHO_T}$CXXCPP" >&6; }
26391 ac_preproc_ok=false
26392 for ac_cxx_preproc_warn_flag in '' yes
26393 do
26394 # Use a header file that comes with gcc, so configuring glibc
26395 # with a fresh cross-compiler works.
26396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397 # <limits.h> exists even on freestanding compilers.
26398 # On the NeXT, cc -E runs the code through the compiler's parser,
26399 # not just through cpp. "Syntax error" is here to catch this case.
26400 cat >conftest.$ac_ext <<_ACEOF
26401 /* confdefs.h. */
26402 _ACEOF
26403 cat confdefs.h >>conftest.$ac_ext
26404 cat >>conftest.$ac_ext <<_ACEOF
26405 /* end confdefs.h. */
26406 #ifdef __STDC__
26407 # include <limits.h>
26408 #else
26409 # include <assert.h>
26410 #endif
26411 Syntax error
26412 _ACEOF
26413 if { (ac_try="$ac_cpp conftest.$ac_ext"
26414 case "(($ac_try" in
26415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26416 *) ac_try_echo=$ac_try;;
26417 esac
26418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26420 ac_status=$?
26421 grep -v '^ *+' conftest.er1 >conftest.err
26422 rm -f conftest.er1
26423 cat conftest.err >&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } >/dev/null && {
26426 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26427 test ! -s conftest.err
26428 }; then
26429 :
26430 else
26431 echo "$as_me: failed program was:" >&5
26432 sed 's/^/| /' conftest.$ac_ext >&5
26433
26434 # Broken: fails on valid input.
26435 continue
26436 fi
26437
26438 rm -f conftest.err conftest.$ac_ext
26439
26440 # OK, works on sane cases. Now check whether nonexistent headers
26441 # can be detected and how.
26442 cat >conftest.$ac_ext <<_ACEOF
26443 /* confdefs.h. */
26444 _ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h. */
26448 #include <ac_nonexistent.h>
26449 _ACEOF
26450 if { (ac_try="$ac_cpp conftest.$ac_ext"
26451 case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 *) ac_try_echo=$ac_try;;
26454 esac
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26457 ac_status=$?
26458 grep -v '^ *+' conftest.er1 >conftest.err
26459 rm -f conftest.er1
26460 cat conftest.err >&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } >/dev/null && {
26463 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26464 test ! -s conftest.err
26465 }; then
26466 # Broken: success on invalid input.
26467 continue
26468 else
26469 echo "$as_me: failed program was:" >&5
26470 sed 's/^/| /' conftest.$ac_ext >&5
26471
26472 # Passes both tests.
26473 ac_preproc_ok=:
26474 break
26475 fi
26476
26477 rm -f conftest.err conftest.$ac_ext
26478
26479 done
26480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26481 rm -f conftest.err conftest.$ac_ext
26482 if $ac_preproc_ok; then
26483 :
26484 else
26485 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26486 See \`config.log' for more details." >&5
26487 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26488 See \`config.log' for more details." >&2;}
26489 { (exit 1); exit 1; }; }
26490 fi
26491
26492 ac_ext=cpp
26493 ac_cpp='$CXXCPP $CPPFLAGS'
26494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26497
26498
26499
26500
26501 for ac_header in type_traits tr1/type_traits
26502 do
26503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26504 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 fi
26510 ac_res=`eval echo '${'$as_ac_Header'}'`
26511 { echo "$as_me:$LINENO: result: $ac_res" >&5
26512 echo "${ECHO_T}$ac_res" >&6; }
26513 else
26514 # Is the header compilable?
26515 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26517 cat >conftest.$ac_ext <<_ACEOF
26518 /* confdefs.h. */
26519 _ACEOF
26520 cat confdefs.h >>conftest.$ac_ext
26521 cat >>conftest.$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26523 $ac_includes_default
26524 #include <$ac_header>
26525 _ACEOF
26526 rm -f conftest.$ac_objext
26527 if { (ac_try="$ac_compile"
26528 case "(($ac_try" in
26529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26530 *) ac_try_echo=$ac_try;;
26531 esac
26532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26533 (eval "$ac_compile") 2>conftest.er1
26534 ac_status=$?
26535 grep -v '^ *+' conftest.er1 >conftest.err
26536 rm -f conftest.er1
26537 cat conftest.err >&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } && {
26540 test -z "$ac_cxx_werror_flag" ||
26541 test ! -s conftest.err
26542 } && test -s conftest.$ac_objext; then
26543 ac_header_compiler=yes
26544 else
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26547
26548 ac_header_compiler=no
26549 fi
26550
26551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26552 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26553 echo "${ECHO_T}$ac_header_compiler" >&6; }
26554
26555 # Is the header present?
26556 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26558 cat >conftest.$ac_ext <<_ACEOF
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 #include <$ac_header>
26565 _ACEOF
26566 if { (ac_try="$ac_cpp conftest.$ac_ext"
26567 case "(($ac_try" in
26568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26569 *) ac_try_echo=$ac_try;;
26570 esac
26571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26573 ac_status=$?
26574 grep -v '^ *+' conftest.er1 >conftest.err
26575 rm -f conftest.er1
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } >/dev/null && {
26579 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26580 test ! -s conftest.err
26581 }; then
26582 ac_header_preproc=yes
26583 else
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26586
26587 ac_header_preproc=no
26588 fi
26589
26590 rm -f conftest.err conftest.$ac_ext
26591 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26592 echo "${ECHO_T}$ac_header_preproc" >&6; }
26593
26594 # So? What about this header?
26595 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26596 yes:no: )
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26601 ac_header_preproc=yes
26602 ;;
26603 no:yes:* )
26604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26616 ( cat <<\_ASBOX
26617 ## ----------------------------------------- ##
26618 ## Report this to wx-dev@lists.wxwidgets.org ##
26619 ## ----------------------------------------- ##
26620 _ASBOX
26621 ) | sed "s/^/$as_me: WARNING: /" >&2
26622 ;;
26623 esac
26624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26628 else
26629 eval "$as_ac_Header=\$ac_header_preproc"
26630 fi
26631 ac_res=`eval echo '${'$as_ac_Header'}'`
26632 { echo "$as_me:$LINENO: result: $ac_res" >&5
26633 echo "${ECHO_T}$ac_res" >&6; }
26634
26635 fi
26636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26637 cat >>confdefs.h <<_ACEOF
26638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26639 _ACEOF
26640
26641 fi
26642
26643 done
26644
26645
26646
26647
26648 if test -n "$GCC"; then
26649 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26650 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26651 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26653 else
26654
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661
26662 int
26663 main ()
26664 {
26665
26666 unsigned int value=0;
26667 /* wxAtomicInc doesn't use return value here */
26668 __sync_fetch_and_add(&value, 2);
26669 __sync_sub_and_fetch(&value, 1);
26670 /* but wxAtomicDec does, so mimic that: */
26671 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26672
26673 ;
26674 return 0;
26675 }
26676 _ACEOF
26677 rm -f conftest.$ac_objext conftest$ac_exeext
26678 if { (ac_try="$ac_link"
26679 case "(($ac_try" in
26680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26681 *) ac_try_echo=$ac_try;;
26682 esac
26683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26684 (eval "$ac_link") 2>conftest.er1
26685 ac_status=$?
26686 grep -v '^ *+' conftest.er1 >conftest.err
26687 rm -f conftest.er1
26688 cat conftest.err >&5
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); } && {
26691 test -z "$ac_cxx_werror_flag" ||
26692 test ! -s conftest.err
26693 } && test -s conftest$ac_exeext &&
26694 $as_test_x conftest$ac_exeext; then
26695 wx_cv_cc_gcc_atomic_builtins=yes
26696 else
26697 echo "$as_me: failed program was:" >&5
26698 sed 's/^/| /' conftest.$ac_ext >&5
26699
26700 wx_cv_cc_gcc_atomic_builtins=no
26701 fi
26702
26703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26704 conftest$ac_exeext conftest.$ac_ext
26705
26706 fi
26707
26708 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26709 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26710 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26711 cat >>confdefs.h <<\_ACEOF
26712 #define HAVE_GCC_ATOMIC_BUILTINS 1
26713 _ACEOF
26714
26715 fi
26716 fi
26717
26718
26719 ac_ext=c
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26724
26725
26726
26727 SEARCH_INCLUDE="\
26728 /usr/local/include \
26729 /usr/local/X11/include \
26730 /usr/local/include/X11 \
26731 /usr/local/X11R7/include \
26732 /usr/local/X11R6/include \
26733 /usr/local/include/X11R7 \
26734 /usr/local/include/X11R6 \
26735 \
26736 /usr/Motif-2.1/include \
26737 /usr/Motif-1.2/include \
26738 /usr/include/Motif1.2 \
26739 \
26740 /usr/dt/include \
26741 /usr/openwin/include \
26742 \
26743 /usr/include/Xm \
26744 \
26745 /usr/X11R7/include \
26746 /usr/X11R6/include \
26747 /usr/X11R6.4/include \
26748 \
26749 /usr/include/X11R7 \
26750 /usr/include/X11R6 \
26751 \
26752 /usr/X11/include \
26753 /usr/include/X11 \
26754 \
26755 /usr/XFree86/include/X11 \
26756 /usr/pkg/include \
26757 \
26758 /usr/local/X1R5/include \
26759 /usr/local/include/X11R5 \
26760 /usr/X11R5/include \
26761 /usr/include/X11R5 \
26762 \
26763 /usr/local/X11R4/include \
26764 /usr/local/include/X11R4 \
26765 /usr/X11R4/include \
26766 /usr/include/X11R4 \
26767 \
26768 /usr/openwin/share/include"
26769
26770 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26771 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26772
26773 case "${host}" in
26774 *-*-irix6* )
26775 if test "${wx_cv_std_libpath+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26777 else
26778
26779 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26780 for e in a so sl dylib dll.a; do
26781 libc="$d/libc.$e"
26782 if test -f $libc; then
26783 save_LIBS="$LIBS"
26784 LIBS="$libc"
26785 cat >conftest.$ac_ext <<_ACEOF
26786 int main() { return 0; }
26787 _ACEOF
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (ac_try="$ac_link"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26793 esac
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_link") 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest$ac_exeext &&
26805 $as_test_x conftest$ac_exeext; then
26806 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811
26812 fi
26813
26814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26815 conftest$ac_exeext conftest.$ac_ext
26816 LIBS="$save_LIBS"
26817 if test "x$wx_cv_std_libpath" != "x"; then
26818 break 2
26819 fi
26820 fi
26821 done
26822 done
26823 if test "x$wx_cv_std_libpath" = "x"; then
26824 wx_cv_std_libpath="lib"
26825 fi
26826
26827
26828 fi
26829
26830 ;;
26831
26832 *-*-solaris2* )
26833 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26834 wx_cv_std_libpath="lib/64"
26835 else
26836 wx_cv_std_libpath="lib"
26837 fi
26838 ;;
26839
26840 *-*-linux* )
26841 if test "$ac_cv_sizeof_void_p" = 8 -a \
26842 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26843 wx_cv_std_libpath="lib64"
26844 else
26845 wx_cv_std_libpath="lib"
26846 fi
26847 ;;
26848
26849 *)
26850 wx_cv_std_libpath="lib";
26851 ;;
26852 esac
26853
26854 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26855 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26856
26857 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26858
26859 if test "$build" != "$host" -a "$GCC" = yes; then
26860 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26861 cross_root=`dirname $cross_root`
26862 cross_root=`dirname $cross_root`
26863
26864 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26865 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26866 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26867
26868 if test -z "$PKG_CONFIG_PATH"; then
26869 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26870 export PKG_CONFIG_PATH
26871 fi
26872
26873 if test -z "$x_includes" -o "$x_includes" = NONE; then
26874
26875 ac_find_includes=
26876 for ac_dir in $SEARCH_INCLUDE /usr/include
26877 do
26878 if test -f "$ac_dir/X11/Intrinsic.h"; then
26879 ac_find_includes=$ac_dir
26880 break
26881 fi
26882 done
26883
26884 x_includes=$ac_find_includes
26885 fi
26886 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26887
26888 ac_find_libraries=
26889 for ac_dir in $SEARCH_LIB
26890 do
26891 for ac_extension in a so sl dylib dll.a; do
26892 if test -f "$ac_dir/libXt.$ac_extension"; then
26893 ac_find_libraries=$ac_dir
26894 break 2
26895 fi
26896 done
26897 done
26898
26899 x_libraries=$ac_find_libraries
26900 fi
26901 fi
26902 fi
26903
26904
26905 cat >confcache <<\_ACEOF
26906 # This file is a shell script that caches the results of configure
26907 # tests run on this system so they can be shared between configure
26908 # scripts and configure runs, see configure's option --config-cache.
26909 # It is not useful on other systems. If it contains results you don't
26910 # want to keep, you may remove or edit it.
26911 #
26912 # config.status only pays attention to the cache file if you give it
26913 # the --recheck option to rerun configure.
26914 #
26915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26917 # following values.
26918
26919 _ACEOF
26920
26921 # The following way of writing the cache mishandles newlines in values,
26922 # but we know of no workaround that is simple, portable, and efficient.
26923 # So, we kill variables containing newlines.
26924 # Ultrix sh set writes to stderr and can't be redirected directly,
26925 # and sets the high bit in the cache file unless we assign to the vars.
26926 (
26927 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26928 eval ac_val=\$$ac_var
26929 case $ac_val in #(
26930 *${as_nl}*)
26931 case $ac_var in #(
26932 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26933 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26934 esac
26935 case $ac_var in #(
26936 _ | IFS | as_nl) ;; #(
26937 *) $as_unset $ac_var ;;
26938 esac ;;
26939 esac
26940 done
26941
26942 (set) 2>&1 |
26943 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26944 *${as_nl}ac_space=\ *)
26945 # `set' does not quote correctly, so add quotes (double-quote
26946 # substitution turns \\\\ into \\, and sed turns \\ into \).
26947 sed -n \
26948 "s/'/'\\\\''/g;
26949 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26950 ;; #(
26951 *)
26952 # `set' quotes correctly as required by POSIX, so do not add quotes.
26953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26954 ;;
26955 esac |
26956 sort
26957 ) |
26958 sed '
26959 /^ac_cv_env_/b end
26960 t clear
26961 :clear
26962 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26963 t end
26964 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26965 :end' >>confcache
26966 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26967 if test -w "$cache_file"; then
26968 test "x$cache_file" != "x/dev/null" &&
26969 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26970 echo "$as_me: updating cache $cache_file" >&6;}
26971 cat confcache >$cache_file
26972 else
26973 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26974 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26975 fi
26976 fi
26977 rm -f confcache
26978
26979 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26980 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26981 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26982 if test "${wx_cv_lib_glibc21+set}" = set; then
26983 echo $ECHO_N "(cached) $ECHO_C" >&6
26984 else
26985
26986 cat >conftest.$ac_ext <<_ACEOF
26987 /* confdefs.h. */
26988 _ACEOF
26989 cat confdefs.h >>conftest.$ac_ext
26990 cat >>conftest.$ac_ext <<_ACEOF
26991 /* end confdefs.h. */
26992 #include <features.h>
26993 int
26994 main ()
26995 {
26996
26997 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26998 not glibc 2.1
26999 #endif
27000
27001 ;
27002 return 0;
27003 }
27004 _ACEOF
27005 rm -f conftest.$ac_objext
27006 if { (ac_try="$ac_compile"
27007 case "(($ac_try" in
27008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27009 *) ac_try_echo=$ac_try;;
27010 esac
27011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27012 (eval "$ac_compile") 2>conftest.er1
27013 ac_status=$?
27014 grep -v '^ *+' conftest.er1 >conftest.err
27015 rm -f conftest.er1
27016 cat conftest.err >&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); } && {
27019 test -z "$ac_c_werror_flag" ||
27020 test ! -s conftest.err
27021 } && test -s conftest.$ac_objext; then
27022
27023 wx_cv_lib_glibc21=yes
27024
27025 else
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27028
27029
27030 wx_cv_lib_glibc21=no
27031
27032
27033 fi
27034
27035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27036
27037 fi
27038 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27039 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27040 if test "$wx_cv_lib_glibc21" = "yes"; then
27041 cat >>confdefs.h <<\_ACEOF
27042 #define wxHAVE_GLIBC2 1
27043 _ACEOF
27044
27045 fi
27046 fi
27047
27048 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27049 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27050 cat >>confdefs.h <<\_ACEOF
27051 #define _GNU_SOURCE 1
27052 _ACEOF
27053
27054 fi
27055 fi
27056
27057 have_cos=0
27058 have_floor=0
27059
27060 for ac_func in cos
27061 do
27062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27066 echo $ECHO_N "(cached) $ECHO_C" >&6
27067 else
27068 cat >conftest.$ac_ext <<_ACEOF
27069 /* confdefs.h. */
27070 _ACEOF
27071 cat confdefs.h >>conftest.$ac_ext
27072 cat >>conftest.$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27076 #define $ac_func innocuous_$ac_func
27077
27078 /* System header to define __stub macros and hopefully few prototypes,
27079 which can conflict with char $ac_func (); below.
27080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27081 <limits.h> exists even on freestanding compilers. */
27082
27083 #ifdef __STDC__
27084 # include <limits.h>
27085 #else
27086 # include <assert.h>
27087 #endif
27088
27089 #undef $ac_func
27090
27091 /* Override any GCC internal prototype to avoid an error.
27092 Use char because int might match the return type of a GCC
27093 builtin and then its argument prototype would still apply. */
27094 #ifdef __cplusplus
27095 extern "C"
27096 #endif
27097 char $ac_func ();
27098 /* The GNU C library defines this for functions which it implements
27099 to always fail with ENOSYS. Some functions are actually named
27100 something starting with __ and the normal name is an alias. */
27101 #if defined __stub_$ac_func || defined __stub___$ac_func
27102 choke me
27103 #endif
27104
27105 int
27106 main ()
27107 {
27108 return $ac_func ();
27109 ;
27110 return 0;
27111 }
27112 _ACEOF
27113 rm -f conftest.$ac_objext conftest$ac_exeext
27114 if { (ac_try="$ac_link"
27115 case "(($ac_try" in
27116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27117 *) ac_try_echo=$ac_try;;
27118 esac
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_link") 2>conftest.er1
27121 ac_status=$?
27122 grep -v '^ *+' conftest.er1 >conftest.err
27123 rm -f conftest.er1
27124 cat conftest.err >&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_c_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest$ac_exeext &&
27130 $as_test_x conftest$ac_exeext; then
27131 eval "$as_ac_var=yes"
27132 else
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.$ac_ext >&5
27135
27136 eval "$as_ac_var=no"
27137 fi
27138
27139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27140 conftest$ac_exeext conftest.$ac_ext
27141 fi
27142 ac_res=`eval echo '${'$as_ac_var'}'`
27143 { echo "$as_me:$LINENO: result: $ac_res" >&5
27144 echo "${ECHO_T}$ac_res" >&6; }
27145 if test `eval echo '${'$as_ac_var'}'` = yes; then
27146 cat >>confdefs.h <<_ACEOF
27147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27148 _ACEOF
27149 have_cos=1
27150 fi
27151 done
27152
27153
27154 for ac_func in floor
27155 do
27156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27159 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 else
27162 cat >conftest.$ac_ext <<_ACEOF
27163 /* confdefs.h. */
27164 _ACEOF
27165 cat confdefs.h >>conftest.$ac_ext
27166 cat >>conftest.$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27170 #define $ac_func innocuous_$ac_func
27171
27172 /* System header to define __stub macros and hopefully few prototypes,
27173 which can conflict with char $ac_func (); below.
27174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27175 <limits.h> exists even on freestanding compilers. */
27176
27177 #ifdef __STDC__
27178 # include <limits.h>
27179 #else
27180 # include <assert.h>
27181 #endif
27182
27183 #undef $ac_func
27184
27185 /* Override any GCC internal prototype to avoid an error.
27186 Use char because int might match the return type of a GCC
27187 builtin and then its argument prototype would still apply. */
27188 #ifdef __cplusplus
27189 extern "C"
27190 #endif
27191 char $ac_func ();
27192 /* The GNU C library defines this for functions which it implements
27193 to always fail with ENOSYS. Some functions are actually named
27194 something starting with __ and the normal name is an alias. */
27195 #if defined __stub_$ac_func || defined __stub___$ac_func
27196 choke me
27197 #endif
27198
27199 int
27200 main ()
27201 {
27202 return $ac_func ();
27203 ;
27204 return 0;
27205 }
27206 _ACEOF
27207 rm -f conftest.$ac_objext conftest$ac_exeext
27208 if { (ac_try="$ac_link"
27209 case "(($ac_try" in
27210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27211 *) ac_try_echo=$ac_try;;
27212 esac
27213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27214 (eval "$ac_link") 2>conftest.er1
27215 ac_status=$?
27216 grep -v '^ *+' conftest.er1 >conftest.err
27217 rm -f conftest.er1
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } && {
27221 test -z "$ac_c_werror_flag" ||
27222 test ! -s conftest.err
27223 } && test -s conftest$ac_exeext &&
27224 $as_test_x conftest$ac_exeext; then
27225 eval "$as_ac_var=yes"
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27229
27230 eval "$as_ac_var=no"
27231 fi
27232
27233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27234 conftest$ac_exeext conftest.$ac_ext
27235 fi
27236 ac_res=`eval echo '${'$as_ac_var'}'`
27237 { echo "$as_me:$LINENO: result: $ac_res" >&5
27238 echo "${ECHO_T}$ac_res" >&6; }
27239 if test `eval echo '${'$as_ac_var'}'` = yes; then
27240 cat >>confdefs.h <<_ACEOF
27241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27242 _ACEOF
27243 have_floor=1
27244 fi
27245 done
27246
27247 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27248 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27249 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27250 { echo "$as_me:$LINENO: result: yes" >&5
27251 echo "${ECHO_T}yes" >&6; }
27252 else
27253 { echo "$as_me:$LINENO: result: no" >&5
27254 echo "${ECHO_T}no" >&6; }
27255 LIBS="$LIBS -lm"
27256 # use different functions to avoid configure caching
27257 have_sin=0
27258 have_ceil=0
27259
27260 for ac_func in sin
27261 do
27262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 else
27268 cat >conftest.$ac_ext <<_ACEOF
27269 /* confdefs.h. */
27270 _ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27276 #define $ac_func innocuous_$ac_func
27277
27278 /* System header to define __stub macros and hopefully few prototypes,
27279 which can conflict with char $ac_func (); below.
27280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27281 <limits.h> exists even on freestanding compilers. */
27282
27283 #ifdef __STDC__
27284 # include <limits.h>
27285 #else
27286 # include <assert.h>
27287 #endif
27288
27289 #undef $ac_func
27290
27291 /* Override any GCC internal prototype to avoid an error.
27292 Use char because int might match the return type of a GCC
27293 builtin and then its argument prototype would still apply. */
27294 #ifdef __cplusplus
27295 extern "C"
27296 #endif
27297 char $ac_func ();
27298 /* The GNU C library defines this for functions which it implements
27299 to always fail with ENOSYS. Some functions are actually named
27300 something starting with __ and the normal name is an alias. */
27301 #if defined __stub_$ac_func || defined __stub___$ac_func
27302 choke me
27303 #endif
27304
27305 int
27306 main ()
27307 {
27308 return $ac_func ();
27309 ;
27310 return 0;
27311 }
27312 _ACEOF
27313 rm -f conftest.$ac_objext conftest$ac_exeext
27314 if { (ac_try="$ac_link"
27315 case "(($ac_try" in
27316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27317 *) ac_try_echo=$ac_try;;
27318 esac
27319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27320 (eval "$ac_link") 2>conftest.er1
27321 ac_status=$?
27322 grep -v '^ *+' conftest.er1 >conftest.err
27323 rm -f conftest.er1
27324 cat conftest.err >&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } && {
27327 test -z "$ac_c_werror_flag" ||
27328 test ! -s conftest.err
27329 } && test -s conftest$ac_exeext &&
27330 $as_test_x conftest$ac_exeext; then
27331 eval "$as_ac_var=yes"
27332 else
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.$ac_ext >&5
27335
27336 eval "$as_ac_var=no"
27337 fi
27338
27339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27340 conftest$ac_exeext conftest.$ac_ext
27341 fi
27342 ac_res=`eval echo '${'$as_ac_var'}'`
27343 { echo "$as_me:$LINENO: result: $ac_res" >&5
27344 echo "${ECHO_T}$ac_res" >&6; }
27345 if test `eval echo '${'$as_ac_var'}'` = yes; then
27346 cat >>confdefs.h <<_ACEOF
27347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27348 _ACEOF
27349 have_sin=1
27350 fi
27351 done
27352
27353
27354 for ac_func in ceil
27355 do
27356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27360 echo $ECHO_N "(cached) $ECHO_C" >&6
27361 else
27362 cat >conftest.$ac_ext <<_ACEOF
27363 /* confdefs.h. */
27364 _ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27370 #define $ac_func innocuous_$ac_func
27371
27372 /* System header to define __stub macros and hopefully few prototypes,
27373 which can conflict with char $ac_func (); below.
27374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27375 <limits.h> exists even on freestanding compilers. */
27376
27377 #ifdef __STDC__
27378 # include <limits.h>
27379 #else
27380 # include <assert.h>
27381 #endif
27382
27383 #undef $ac_func
27384
27385 /* Override any GCC internal prototype to avoid an error.
27386 Use char because int might match the return type of a GCC
27387 builtin and then its argument prototype would still apply. */
27388 #ifdef __cplusplus
27389 extern "C"
27390 #endif
27391 char $ac_func ();
27392 /* The GNU C library defines this for functions which it implements
27393 to always fail with ENOSYS. Some functions are actually named
27394 something starting with __ and the normal name is an alias. */
27395 #if defined __stub_$ac_func || defined __stub___$ac_func
27396 choke me
27397 #endif
27398
27399 int
27400 main ()
27401 {
27402 return $ac_func ();
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext conftest$ac_exeext
27408 if { (ac_try="$ac_link"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_link") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest$ac_exeext &&
27424 $as_test_x conftest$ac_exeext; then
27425 eval "$as_ac_var=yes"
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430 eval "$as_ac_var=no"
27431 fi
27432
27433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27434 conftest$ac_exeext conftest.$ac_ext
27435 fi
27436 ac_res=`eval echo '${'$as_ac_var'}'`
27437 { echo "$as_me:$LINENO: result: $ac_res" >&5
27438 echo "${ECHO_T}$ac_res" >&6; }
27439 if test `eval echo '${'$as_ac_var'}'` = yes; then
27440 cat >>confdefs.h <<_ACEOF
27441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27442 _ACEOF
27443 have_ceil=1
27444 fi
27445 done
27446
27447 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27448 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27449 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27450 { echo "$as_me:$LINENO: result: yes" >&5
27451 echo "${ECHO_T}yes" >&6; }
27452 else
27453 { echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6; }
27455 # not sure we should warn the user, crash, etc.
27456 fi
27457 fi
27458
27459 ac_ext=cpp
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464
27465 if test "wxUSE_UNICODE" = "yes"; then
27466
27467 for wx_func in wcstoull
27468 do
27469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27472 echo $ECHO_N "(cached) $ECHO_C" >&6
27473 else
27474
27475 cat >conftest.$ac_ext <<_ACEOF
27476
27477 /* confdefs.h. */
27478 _ACEOF
27479 cat confdefs.h >>conftest.$ac_ext
27480 cat >>conftest.$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27482
27483
27484 $ac_includes_default
27485
27486 int
27487 main ()
27488 {
27489
27490 #ifndef $wx_func
27491 &$wx_func;
27492 #endif
27493
27494
27495 ;
27496 return 0;
27497 }
27498
27499 _ACEOF
27500 rm -f conftest.$ac_objext conftest$ac_exeext
27501 if { (ac_try="$ac_link"
27502 case "(($ac_try" in
27503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27504 *) ac_try_echo=$ac_try;;
27505 esac
27506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27507 (eval "$ac_link") 2>conftest.er1
27508 ac_status=$?
27509 grep -v '^ *+' conftest.er1 >conftest.err
27510 rm -f conftest.er1
27511 cat conftest.err >&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } && {
27514 test -z "$ac_cxx_werror_flag" ||
27515 test ! -s conftest.err
27516 } && test -s conftest$ac_exeext &&
27517 $as_test_x conftest$ac_exeext; then
27518 eval wx_cv_func_$wx_func=yes
27519 else
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27522
27523 eval wx_cv_func_$wx_func=no
27524 fi
27525
27526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27527 conftest$ac_exeext conftest.$ac_ext
27528
27529 fi
27530 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27531 { echo "$as_me:$LINENO: result: $ac_res" >&5
27532 echo "${ECHO_T}$ac_res" >&6; }
27533
27534 if eval test \$wx_cv_func_$wx_func = yes
27535 then
27536 cat >>confdefs.h <<_ACEOF
27537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27538 _ACEOF
27539
27540
27541 else
27542 :
27543
27544 fi
27545 done
27546
27547 else
27548
27549 for wx_func in strtoull
27550 do
27551 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27552 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27553 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27555 else
27556
27557 cat >conftest.$ac_ext <<_ACEOF
27558
27559 /* confdefs.h. */
27560 _ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27564
27565
27566 $ac_includes_default
27567
27568 int
27569 main ()
27570 {
27571
27572 #ifndef $wx_func
27573 &$wx_func;
27574 #endif
27575
27576
27577 ;
27578 return 0;
27579 }
27580
27581 _ACEOF
27582 rm -f conftest.$ac_objext conftest$ac_exeext
27583 if { (ac_try="$ac_link"
27584 case "(($ac_try" in
27585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27586 *) ac_try_echo=$ac_try;;
27587 esac
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_link") 2>conftest.er1
27590 ac_status=$?
27591 grep -v '^ *+' conftest.er1 >conftest.err
27592 rm -f conftest.er1
27593 cat conftest.err >&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } && {
27596 test -z "$ac_cxx_werror_flag" ||
27597 test ! -s conftest.err
27598 } && test -s conftest$ac_exeext &&
27599 $as_test_x conftest$ac_exeext; then
27600 eval wx_cv_func_$wx_func=yes
27601 else
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27604
27605 eval wx_cv_func_$wx_func=no
27606 fi
27607
27608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27609 conftest$ac_exeext conftest.$ac_ext
27610
27611 fi
27612 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27613 { echo "$as_me:$LINENO: result: $ac_res" >&5
27614 echo "${ECHO_T}$ac_res" >&6; }
27615
27616 if eval test \$wx_cv_func_$wx_func = yes
27617 then
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27620 _ACEOF
27621
27622
27623 else
27624 :
27625
27626 fi
27627 done
27628
27629 fi
27630 ac_ext=c
27631 ac_cpp='$CPP $CPPFLAGS'
27632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27635
27636
27637
27638
27639 if test "$wxUSE_REGEX" != "no"; then
27640 cat >>confdefs.h <<\_ACEOF
27641 #define wxUSE_REGEX 1
27642 _ACEOF
27643
27644
27645 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27646 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27647 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27648 wxUSE_REGEX=builtin
27649 fi
27650
27651 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27652 { echo "$as_me:$LINENO: checking for regex.h" >&5
27653 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27654 if test "${ac_cv_header_regex_h+set}" = set; then
27655 echo $ECHO_N "(cached) $ECHO_C" >&6
27656 else
27657 cat >conftest.$ac_ext <<_ACEOF
27658 /* confdefs.h. */
27659 _ACEOF
27660 cat confdefs.h >>conftest.$ac_ext
27661 cat >>conftest.$ac_ext <<_ACEOF
27662 /* end confdefs.h. */
27663
27664
27665 #include <regex.h>
27666 _ACEOF
27667 rm -f conftest.$ac_objext
27668 if { (ac_try="$ac_compile"
27669 case "(($ac_try" in
27670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27671 *) ac_try_echo=$ac_try;;
27672 esac
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_compile") 2>conftest.er1
27675 ac_status=$?
27676 grep -v '^ *+' conftest.er1 >conftest.err
27677 rm -f conftest.er1
27678 cat conftest.err >&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } && {
27681 test -z "$ac_c_werror_flag" ||
27682 test ! -s conftest.err
27683 } && test -s conftest.$ac_objext; then
27684 ac_cv_header_regex_h=yes
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 ac_cv_header_regex_h=no
27690 fi
27691
27692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27693 fi
27694 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27696 if test $ac_cv_header_regex_h = yes; then
27697
27698
27699 for ac_func in regcomp re_search
27700 do
27701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 else
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27715 #define $ac_func innocuous_$ac_func
27716
27717 /* System header to define __stub macros and hopefully few prototypes,
27718 which can conflict with char $ac_func (); below.
27719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27720 <limits.h> exists even on freestanding compilers. */
27721
27722 #ifdef __STDC__
27723 # include <limits.h>
27724 #else
27725 # include <assert.h>
27726 #endif
27727
27728 #undef $ac_func
27729
27730 /* Override any GCC internal prototype to avoid an error.
27731 Use char because int might match the return type of a GCC
27732 builtin and then its argument prototype would still apply. */
27733 #ifdef __cplusplus
27734 extern "C"
27735 #endif
27736 char $ac_func ();
27737 /* The GNU C library defines this for functions which it implements
27738 to always fail with ENOSYS. Some functions are actually named
27739 something starting with __ and the normal name is an alias. */
27740 #if defined __stub_$ac_func || defined __stub___$ac_func
27741 choke me
27742 #endif
27743
27744 int
27745 main ()
27746 {
27747 return $ac_func ();
27748 ;
27749 return 0;
27750 }
27751 _ACEOF
27752 rm -f conftest.$ac_objext conftest$ac_exeext
27753 if { (ac_try="$ac_link"
27754 case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;;
27757 esac
27758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27759 (eval "$ac_link") 2>conftest.er1
27760 ac_status=$?
27761 grep -v '^ *+' conftest.er1 >conftest.err
27762 rm -f conftest.er1
27763 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err
27768 } && test -s conftest$ac_exeext &&
27769 $as_test_x conftest$ac_exeext; then
27770 eval "$as_ac_var=yes"
27771 else
27772 echo "$as_me: failed program was:" >&5
27773 sed 's/^/| /' conftest.$ac_ext >&5
27774
27775 eval "$as_ac_var=no"
27776 fi
27777
27778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27779 conftest$ac_exeext conftest.$ac_ext
27780 fi
27781 ac_res=`eval echo '${'$as_ac_var'}'`
27782 { echo "$as_me:$LINENO: result: $ac_res" >&5
27783 echo "${ECHO_T}$ac_res" >&6; }
27784 if test `eval echo '${'$as_ac_var'}'` = yes; then
27785 cat >>confdefs.h <<_ACEOF
27786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27787 _ACEOF
27788
27789 fi
27790 done
27791
27792 fi
27793
27794
27795
27796 if test "x$ac_cv_func_regcomp" != "xyes"; then
27797 if test "$wxUSE_REGEX" = "sys" ; then
27798 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27799 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27800 { (exit 1); exit 1; }; }
27801 else
27802 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27803 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27804 wxUSE_REGEX=builtin
27805 fi
27806 else
27807 wxUSE_REGEX=sys
27808 cat >>confdefs.h <<\_ACEOF
27809 #define WX_NO_REGEX_ADVANCED 1
27810 _ACEOF
27811
27812 fi
27813 fi
27814 fi
27815
27816
27817 ZLIB_LINK=
27818 if test "$wxUSE_ZLIB" != "no" ; then
27819 cat >>confdefs.h <<\_ACEOF
27820 #define wxUSE_ZLIB 1
27821 _ACEOF
27822
27823
27824 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27825 if test "$USE_DARWIN" = 1; then
27826 system_zlib_h_ok="yes"
27827 else
27828 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27829 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27830 if test "${ac_cv_header_zlib_h+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833 if test "$cross_compiling" = yes; then
27834 unset ac_cv_header_zlib_h
27835
27836 else
27837 cat >conftest.$ac_ext <<_ACEOF
27838 /* confdefs.h. */
27839 _ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27843
27844 #include <zlib.h>
27845 #include <stdio.h>
27846
27847 int main()
27848 {
27849 FILE *f=fopen("conftestval", "w");
27850 if (!f) exit(1);
27851 fprintf(f, "%s",
27852 ZLIB_VERSION[0] == '1' &&
27853 (ZLIB_VERSION[2] > '1' ||
27854 (ZLIB_VERSION[2] == '1' &&
27855 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27856 exit(0);
27857 }
27858
27859 _ACEOF
27860 rm -f conftest$ac_exeext
27861 if { (ac_try="$ac_link"
27862 case "(($ac_try" in
27863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27864 *) ac_try_echo=$ac_try;;
27865 esac
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_link") 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27871 { (case "(($ac_try" in
27872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27873 *) ac_try_echo=$ac_try;;
27874 esac
27875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27876 (eval "$ac_try") 2>&5
27877 ac_status=$?
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; }; then
27880 ac_cv_header_zlib_h=`cat conftestval`
27881 else
27882 echo "$as_me: program exited with status $ac_status" >&5
27883 echo "$as_me: failed program was:" >&5
27884 sed 's/^/| /' conftest.$ac_ext >&5
27885
27886 ( exit $ac_status )
27887 ac_cv_header_zlib_h=no
27888 fi
27889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27890 fi
27891
27892
27893
27894 fi
27895 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27896 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27897 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27898 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27899 if test "${ac_cv_header_zlib_h+set}" = set; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 else
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909
27910 #include <zlib.h>
27911 _ACEOF
27912 rm -f conftest.$ac_objext
27913 if { (ac_try="$ac_compile"
27914 case "(($ac_try" in
27915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27916 *) ac_try_echo=$ac_try;;
27917 esac
27918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919 (eval "$ac_compile") 2>conftest.er1
27920 ac_status=$?
27921 grep -v '^ *+' conftest.er1 >conftest.err
27922 rm -f conftest.er1
27923 cat conftest.err >&5
27924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925 (exit $ac_status); } && {
27926 test -z "$ac_c_werror_flag" ||
27927 test ! -s conftest.err
27928 } && test -s conftest.$ac_objext; then
27929 ac_cv_header_zlib_h=yes
27930 else
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.$ac_ext >&5
27933
27934 ac_cv_header_zlib_h=no
27935 fi
27936
27937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27938 fi
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27941
27942
27943
27944 system_zlib_h_ok=$ac_cv_header_zlib_h
27945 fi
27946
27947 if test "$system_zlib_h_ok" = "yes"; then
27948 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27949 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27950 if test "${ac_cv_lib_z_deflate+set}" = set; then
27951 echo $ECHO_N "(cached) $ECHO_C" >&6
27952 else
27953 ac_check_lib_save_LIBS=$LIBS
27954 LIBS="-lz $LIBS"
27955 cat >conftest.$ac_ext <<_ACEOF
27956 /* confdefs.h. */
27957 _ACEOF
27958 cat confdefs.h >>conftest.$ac_ext
27959 cat >>conftest.$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27961
27962 /* Override any GCC internal prototype to avoid an error.
27963 Use char because int might match the return type of a GCC
27964 builtin and then its argument prototype would still apply. */
27965 #ifdef __cplusplus
27966 extern "C"
27967 #endif
27968 char deflate ();
27969 int
27970 main ()
27971 {
27972 return deflate ();
27973 ;
27974 return 0;
27975 }
27976 _ACEOF
27977 rm -f conftest.$ac_objext conftest$ac_exeext
27978 if { (ac_try="$ac_link"
27979 case "(($ac_try" in
27980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27982 esac
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_link") 2>conftest.er1
27985 ac_status=$?
27986 grep -v '^ *+' conftest.er1 >conftest.err
27987 rm -f conftest.er1
27988 cat conftest.err >&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && {
27991 test -z "$ac_c_werror_flag" ||
27992 test ! -s conftest.err
27993 } && test -s conftest$ac_exeext &&
27994 $as_test_x conftest$ac_exeext; then
27995 ac_cv_lib_z_deflate=yes
27996 else
27997 echo "$as_me: failed program was:" >&5
27998 sed 's/^/| /' conftest.$ac_ext >&5
27999
28000 ac_cv_lib_z_deflate=no
28001 fi
28002
28003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28004 conftest$ac_exeext conftest.$ac_ext
28005 LIBS=$ac_check_lib_save_LIBS
28006 fi
28007 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28008 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28009 if test $ac_cv_lib_z_deflate = yes; then
28010 ZLIB_LINK=" -lz"
28011 fi
28012
28013 fi
28014
28015 if test "x$ZLIB_LINK" = "x" ; then
28016 if test "$wxUSE_ZLIB" = "sys" ; then
28017 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28018 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28019 { (exit 1); exit 1; }; }
28020 else
28021 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28022 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28023 wxUSE_ZLIB=builtin
28024 fi
28025 else
28026 wxUSE_ZLIB=sys
28027 fi
28028 fi
28029 fi
28030
28031
28032 PNG_LINK=
28033 if test "$wxUSE_LIBPNG" != "no" ; then
28034 cat >>confdefs.h <<\_ACEOF
28035 #define wxUSE_LIBPNG 1
28036 _ACEOF
28037
28038
28039 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28040 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28041 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28042 wxUSE_LIBPNG=sys
28043 fi
28044
28045 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28046 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28047 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28048 wxUSE_LIBPNG=builtin
28049 fi
28050
28051 if test "$wxUSE_MGL" != 1 ; then
28052 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28053 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28054 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28055 if test "${ac_cv_header_png_h+set}" = set; then
28056 echo $ECHO_N "(cached) $ECHO_C" >&6
28057 else
28058 if test "$cross_compiling" = yes; then
28059 unset ac_cv_header_png_h
28060
28061 else
28062 cat >conftest.$ac_ext <<_ACEOF
28063 /* confdefs.h. */
28064 _ACEOF
28065 cat confdefs.h >>conftest.$ac_ext
28066 cat >>conftest.$ac_ext <<_ACEOF
28067 /* end confdefs.h. */
28068
28069 #include <png.h>
28070 #include <stdio.h>
28071
28072 int main()
28073 {
28074 FILE *f=fopen("conftestval", "w");
28075 if (!f) exit(1);
28076 fprintf(f, "%s",
28077 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28078 exit(0);
28079 }
28080
28081 _ACEOF
28082 rm -f conftest$ac_exeext
28083 if { (ac_try="$ac_link"
28084 case "(($ac_try" in
28085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28086 *) ac_try_echo=$ac_try;;
28087 esac
28088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_link") 2>&5
28090 ac_status=$?
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28093 { (case "(($ac_try" in
28094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28095 *) ac_try_echo=$ac_try;;
28096 esac
28097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28098 (eval "$ac_try") 2>&5
28099 ac_status=$?
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; }; then
28102 ac_cv_header_png_h=`cat conftestval`
28103 else
28104 echo "$as_me: program exited with status $ac_status" >&5
28105 echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.$ac_ext >&5
28107
28108 ( exit $ac_status )
28109 ac_cv_header_png_h=no
28110 fi
28111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28112 fi
28113
28114
28115
28116 fi
28117 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28118 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28119 { echo "$as_me:$LINENO: checking for png.h" >&5
28120 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28121 if test "${ac_cv_header_png_h+set}" = set; then
28122 echo $ECHO_N "(cached) $ECHO_C" >&6
28123 else
28124 cat >conftest.$ac_ext <<_ACEOF
28125 /* confdefs.h. */
28126 _ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28130
28131
28132 #include <png.h>
28133 _ACEOF
28134 rm -f conftest.$ac_objext
28135 if { (ac_try="$ac_compile"
28136 case "(($ac_try" in
28137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28138 *) ac_try_echo=$ac_try;;
28139 esac
28140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28141 (eval "$ac_compile") 2>conftest.er1
28142 ac_status=$?
28143 grep -v '^ *+' conftest.er1 >conftest.err
28144 rm -f conftest.er1
28145 cat conftest.err >&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } && {
28148 test -z "$ac_c_werror_flag" ||
28149 test ! -s conftest.err
28150 } && test -s conftest.$ac_objext; then
28151 ac_cv_header_png_h=yes
28152 else
28153 echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.$ac_ext >&5
28155
28156 ac_cv_header_png_h=no
28157 fi
28158
28159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28160 fi
28161 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28162 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28163
28164
28165
28166 if test "$ac_cv_header_png_h" = "yes"; then
28167 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28168 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28169 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28171 else
28172 ac_check_lib_save_LIBS=$LIBS
28173 LIBS="-lpng -lz -lm $LIBS"
28174 cat >conftest.$ac_ext <<_ACEOF
28175 /* confdefs.h. */
28176 _ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180
28181 /* Override any GCC internal prototype to avoid an error.
28182 Use char because int might match the return type of a GCC
28183 builtin and then its argument prototype would still apply. */
28184 #ifdef __cplusplus
28185 extern "C"
28186 #endif
28187 char png_sig_cmp ();
28188 int
28189 main ()
28190 {
28191 return png_sig_cmp ();
28192 ;
28193 return 0;
28194 }
28195 _ACEOF
28196 rm -f conftest.$ac_objext conftest$ac_exeext
28197 if { (ac_try="$ac_link"
28198 case "(($ac_try" in
28199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28200 *) ac_try_echo=$ac_try;;
28201 esac
28202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28203 (eval "$ac_link") 2>conftest.er1
28204 ac_status=$?
28205 grep -v '^ *+' conftest.er1 >conftest.err
28206 rm -f conftest.er1
28207 cat conftest.err >&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } && {
28210 test -z "$ac_c_werror_flag" ||
28211 test ! -s conftest.err
28212 } && test -s conftest$ac_exeext &&
28213 $as_test_x conftest$ac_exeext; then
28214 ac_cv_lib_png_png_sig_cmp=yes
28215 else
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28218
28219 ac_cv_lib_png_png_sig_cmp=no
28220 fi
28221
28222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28223 conftest$ac_exeext conftest.$ac_ext
28224 LIBS=$ac_check_lib_save_LIBS
28225 fi
28226 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28227 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28228 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28229 PNG_LINK=" -lpng -lz"
28230 fi
28231
28232 fi
28233
28234 if test "x$PNG_LINK" = "x" ; then
28235 if test "$wxUSE_LIBPNG" = "sys" ; then
28236 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28237 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28238 { (exit 1); exit 1; }; }
28239 else
28240 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28241 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28242 wxUSE_LIBPNG=builtin
28243 fi
28244 else
28245 wxUSE_LIBPNG=sys
28246 fi
28247 fi
28248 fi
28249 fi
28250
28251
28252 JPEG_LINK=
28253 if test "$wxUSE_LIBJPEG" != "no" ; then
28254 cat >>confdefs.h <<\_ACEOF
28255 #define wxUSE_LIBJPEG 1
28256 _ACEOF
28257
28258
28259 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28260 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28261 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28262 wxUSE_LIBJPEG=sys
28263 fi
28264
28265 if test "$wxUSE_MGL" != 1 ; then
28266 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28267 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28268 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28269 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 else
28272 cat >conftest.$ac_ext <<_ACEOF
28273 /* confdefs.h. */
28274 _ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278
28279 #undef HAVE_STDLIB_H
28280 #include <stdio.h>
28281 #include <jpeglib.h>
28282
28283 int
28284 main ()
28285 {
28286
28287
28288 ;
28289 return 0;
28290 }
28291 _ACEOF
28292 rm -f conftest.$ac_objext
28293 if { (ac_try="$ac_compile"
28294 case "(($ac_try" in
28295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28296 *) ac_try_echo=$ac_try;;
28297 esac
28298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28299 (eval "$ac_compile") 2>conftest.er1
28300 ac_status=$?
28301 grep -v '^ *+' conftest.er1 >conftest.err
28302 rm -f conftest.er1
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } && {
28306 test -z "$ac_c_werror_flag" ||
28307 test ! -s conftest.err
28308 } && test -s conftest.$ac_objext; then
28309 ac_cv_header_jpeglib_h=yes
28310 else
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ac_cv_header_jpeglib_h=no
28315
28316 fi
28317
28318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28319
28320 fi
28321
28322 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28323 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28324
28325 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28326 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28327 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28328 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 else
28331 ac_check_lib_save_LIBS=$LIBS
28332 LIBS="-ljpeg $LIBS"
28333 cat >conftest.$ac_ext <<_ACEOF
28334 /* confdefs.h. */
28335 _ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339
28340 /* Override any GCC internal prototype to avoid an error.
28341 Use char because int might match the return type of a GCC
28342 builtin and then its argument prototype would still apply. */
28343 #ifdef __cplusplus
28344 extern "C"
28345 #endif
28346 char jpeg_read_header ();
28347 int
28348 main ()
28349 {
28350 return jpeg_read_header ();
28351 ;
28352 return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (ac_try="$ac_link"
28357 case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28360 esac
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_link") 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest$ac_exeext &&
28372 $as_test_x conftest$ac_exeext; then
28373 ac_cv_lib_jpeg_jpeg_read_header=yes
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378 ac_cv_lib_jpeg_jpeg_read_header=no
28379 fi
28380
28381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28382 conftest$ac_exeext conftest.$ac_ext
28383 LIBS=$ac_check_lib_save_LIBS
28384 fi
28385 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28386 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28387 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28388 JPEG_LINK=" -ljpeg"
28389 fi
28390
28391 fi
28392
28393 if test "x$JPEG_LINK" = "x" ; then
28394 if test "$wxUSE_LIBJPEG" = "sys" ; then
28395 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28396 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28397 { (exit 1); exit 1; }; }
28398 else
28399 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28400 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28401 wxUSE_LIBJPEG=builtin
28402 fi
28403 else
28404 wxUSE_LIBJPEG=sys
28405
28406 if test "$wxUSE_MSW" = 1; then
28407 { echo "$as_me:$LINENO: checking for boolean" >&5
28408 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28409 if test "${ac_cv_type_boolean+set}" = set; then
28410 echo $ECHO_N "(cached) $ECHO_C" >&6
28411 else
28412 cat >conftest.$ac_ext <<_ACEOF
28413 /* confdefs.h. */
28414 _ACEOF
28415 cat confdefs.h >>conftest.$ac_ext
28416 cat >>conftest.$ac_ext <<_ACEOF
28417 /* end confdefs.h. */
28418 #include <windows.h>
28419
28420 typedef boolean ac__type_new_;
28421 int
28422 main ()
28423 {
28424 if ((ac__type_new_ *) 0)
28425 return 0;
28426 if (sizeof (ac__type_new_))
28427 return 0;
28428 ;
28429 return 0;
28430 }
28431 _ACEOF
28432 rm -f conftest.$ac_objext
28433 if { (ac_try="$ac_compile"
28434 case "(($ac_try" in
28435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28436 *) ac_try_echo=$ac_try;;
28437 esac
28438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28439 (eval "$ac_compile") 2>conftest.er1
28440 ac_status=$?
28441 grep -v '^ *+' conftest.er1 >conftest.err
28442 rm -f conftest.er1
28443 cat conftest.err >&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); } && {
28446 test -z "$ac_c_werror_flag" ||
28447 test ! -s conftest.err
28448 } && test -s conftest.$ac_objext; then
28449 ac_cv_type_boolean=yes
28450 else
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.$ac_ext >&5
28453
28454 ac_cv_type_boolean=no
28455 fi
28456
28457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28458 fi
28459 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28460 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28461 if test $ac_cv_type_boolean = yes; then
28462
28463 cat >>confdefs.h <<_ACEOF
28464 #define HAVE_BOOLEAN 1
28465 _ACEOF
28466
28467
28468 { echo "$as_me:$LINENO: checking for boolean" >&5
28469 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28470 if test "${ac_cv_type_boolean+set}" = set; then
28471 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 else
28473 cat >conftest.$ac_ext <<_ACEOF
28474 /* confdefs.h. */
28475 _ACEOF
28476 cat confdefs.h >>conftest.$ac_ext
28477 cat >>conftest.$ac_ext <<_ACEOF
28478 /* end confdefs.h. */
28479
28480 #undef HAVE_BOOLEAN
28481 #include <stdio.h>
28482 #include <jpeglib.h>
28483
28484
28485 typedef boolean ac__type_new_;
28486 int
28487 main ()
28488 {
28489 if ((ac__type_new_ *) 0)
28490 return 0;
28491 if (sizeof (ac__type_new_))
28492 return 0;
28493 ;
28494 return 0;
28495 }
28496 _ACEOF
28497 rm -f conftest.$ac_objext
28498 if { (ac_try="$ac_compile"
28499 case "(($ac_try" in
28500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28501 *) ac_try_echo=$ac_try;;
28502 esac
28503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28504 (eval "$ac_compile") 2>conftest.er1
28505 ac_status=$?
28506 grep -v '^ *+' conftest.er1 >conftest.err
28507 rm -f conftest.er1
28508 cat conftest.err >&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); } && {
28511 test -z "$ac_c_werror_flag" ||
28512 test ! -s conftest.err
28513 } && test -s conftest.$ac_objext; then
28514 ac_cv_type_boolean=yes
28515 else
28516 echo "$as_me: failed program was:" >&5
28517 sed 's/^/| /' conftest.$ac_ext >&5
28518
28519 ac_cv_type_boolean=no
28520 fi
28521
28522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28523 fi
28524 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28525 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28526
28527 # The cast to long int works around a bug in the HP C Compiler
28528 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28529 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28530 # This bug is HP SR number 8606223364.
28531 { echo "$as_me:$LINENO: checking size of boolean" >&5
28532 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28533 if test "${ac_cv_sizeof_boolean+set}" = set; then
28534 echo $ECHO_N "(cached) $ECHO_C" >&6
28535 else
28536 if test "$cross_compiling" = yes; then
28537 # Depending upon the size, compute the lo and hi bounds.
28538 cat >conftest.$ac_ext <<_ACEOF
28539 /* confdefs.h. */
28540 _ACEOF
28541 cat confdefs.h >>conftest.$ac_ext
28542 cat >>conftest.$ac_ext <<_ACEOF
28543 /* end confdefs.h. */
28544
28545 #undef HAVE_BOOLEAN
28546 #include <stdio.h>
28547 #include <jpeglib.h>
28548
28549
28550 typedef boolean ac__type_sizeof_;
28551 int
28552 main ()
28553 {
28554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28555 test_array [0] = 0
28556
28557 ;
28558 return 0;
28559 }
28560 _ACEOF
28561 rm -f conftest.$ac_objext
28562 if { (ac_try="$ac_compile"
28563 case "(($ac_try" in
28564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28565 *) ac_try_echo=$ac_try;;
28566 esac
28567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28568 (eval "$ac_compile") 2>conftest.er1
28569 ac_status=$?
28570 grep -v '^ *+' conftest.er1 >conftest.err
28571 rm -f conftest.er1
28572 cat conftest.err >&5
28573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 (exit $ac_status); } && {
28575 test -z "$ac_c_werror_flag" ||
28576 test ! -s conftest.err
28577 } && test -s conftest.$ac_objext; then
28578 ac_lo=0 ac_mid=0
28579 while :; do
28580 cat >conftest.$ac_ext <<_ACEOF
28581 /* confdefs.h. */
28582 _ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28586
28587 #undef HAVE_BOOLEAN
28588 #include <stdio.h>
28589 #include <jpeglib.h>
28590
28591
28592 typedef boolean ac__type_sizeof_;
28593 int
28594 main ()
28595 {
28596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28597 test_array [0] = 0
28598
28599 ;
28600 return 0;
28601 }
28602 _ACEOF
28603 rm -f conftest.$ac_objext
28604 if { (ac_try="$ac_compile"
28605 case "(($ac_try" in
28606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28607 *) ac_try_echo=$ac_try;;
28608 esac
28609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28610 (eval "$ac_compile") 2>conftest.er1
28611 ac_status=$?
28612 grep -v '^ *+' conftest.er1 >conftest.err
28613 rm -f conftest.er1
28614 cat conftest.err >&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); } && {
28617 test -z "$ac_c_werror_flag" ||
28618 test ! -s conftest.err
28619 } && test -s conftest.$ac_objext; then
28620 ac_hi=$ac_mid; break
28621 else
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28624
28625 ac_lo=`expr $ac_mid + 1`
28626 if test $ac_lo -le $ac_mid; then
28627 ac_lo= ac_hi=
28628 break
28629 fi
28630 ac_mid=`expr 2 '*' $ac_mid + 1`
28631 fi
28632
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 done
28635 else
28636 echo "$as_me: failed program was:" >&5
28637 sed 's/^/| /' conftest.$ac_ext >&5
28638
28639 cat >conftest.$ac_ext <<_ACEOF
28640 /* confdefs.h. */
28641 _ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28645
28646 #undef HAVE_BOOLEAN
28647 #include <stdio.h>
28648 #include <jpeglib.h>
28649
28650
28651 typedef boolean ac__type_sizeof_;
28652 int
28653 main ()
28654 {
28655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28656 test_array [0] = 0
28657
28658 ;
28659 return 0;
28660 }
28661 _ACEOF
28662 rm -f conftest.$ac_objext
28663 if { (ac_try="$ac_compile"
28664 case "(($ac_try" in
28665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28666 *) ac_try_echo=$ac_try;;
28667 esac
28668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28669 (eval "$ac_compile") 2>conftest.er1
28670 ac_status=$?
28671 grep -v '^ *+' conftest.er1 >conftest.err
28672 rm -f conftest.er1
28673 cat conftest.err >&5
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); } && {
28676 test -z "$ac_c_werror_flag" ||
28677 test ! -s conftest.err
28678 } && test -s conftest.$ac_objext; then
28679 ac_hi=-1 ac_mid=-1
28680 while :; do
28681 cat >conftest.$ac_ext <<_ACEOF
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687
28688 #undef HAVE_BOOLEAN
28689 #include <stdio.h>
28690 #include <jpeglib.h>
28691
28692
28693 typedef boolean ac__type_sizeof_;
28694 int
28695 main ()
28696 {
28697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28698 test_array [0] = 0
28699
28700 ;
28701 return 0;
28702 }
28703 _ACEOF
28704 rm -f conftest.$ac_objext
28705 if { (ac_try="$ac_compile"
28706 case "(($ac_try" in
28707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28708 *) ac_try_echo=$ac_try;;
28709 esac
28710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28711 (eval "$ac_compile") 2>conftest.er1
28712 ac_status=$?
28713 grep -v '^ *+' conftest.er1 >conftest.err
28714 rm -f conftest.er1
28715 cat conftest.err >&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } && {
28718 test -z "$ac_c_werror_flag" ||
28719 test ! -s conftest.err
28720 } && test -s conftest.$ac_objext; then
28721 ac_lo=$ac_mid; break
28722 else
28723 echo "$as_me: failed program was:" >&5
28724 sed 's/^/| /' conftest.$ac_ext >&5
28725
28726 ac_hi=`expr '(' $ac_mid ')' - 1`
28727 if test $ac_mid -le $ac_hi; then
28728 ac_lo= ac_hi=
28729 break
28730 fi
28731 ac_mid=`expr 2 '*' $ac_mid`
28732 fi
28733
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 done
28736 else
28737 echo "$as_me: failed program was:" >&5
28738 sed 's/^/| /' conftest.$ac_ext >&5
28739
28740 ac_lo= ac_hi=
28741 fi
28742
28743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28744 fi
28745
28746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28747 # Binary search between lo and hi bounds.
28748 while test "x$ac_lo" != "x$ac_hi"; do
28749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28750 cat >conftest.$ac_ext <<_ACEOF
28751 /* confdefs.h. */
28752 _ACEOF
28753 cat confdefs.h >>conftest.$ac_ext
28754 cat >>conftest.$ac_ext <<_ACEOF
28755 /* end confdefs.h. */
28756
28757 #undef HAVE_BOOLEAN
28758 #include <stdio.h>
28759 #include <jpeglib.h>
28760
28761
28762 typedef boolean ac__type_sizeof_;
28763 int
28764 main ()
28765 {
28766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28767 test_array [0] = 0
28768
28769 ;
28770 return 0;
28771 }
28772 _ACEOF
28773 rm -f conftest.$ac_objext
28774 if { (ac_try="$ac_compile"
28775 case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_compile") 2>conftest.er1
28781 ac_status=$?
28782 grep -v '^ *+' conftest.er1 >conftest.err
28783 rm -f conftest.er1
28784 cat conftest.err >&5
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); } && {
28787 test -z "$ac_c_werror_flag" ||
28788 test ! -s conftest.err
28789 } && test -s conftest.$ac_objext; then
28790 ac_hi=$ac_mid
28791 else
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28794
28795 ac_lo=`expr '(' $ac_mid ')' + 1`
28796 fi
28797
28798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28799 done
28800 case $ac_lo in
28801 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28802 '') if test "$ac_cv_type_boolean" = yes; then
28803 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28804 See \`config.log' for more details." >&5
28805 echo "$as_me: error: cannot compute sizeof (boolean)
28806 See \`config.log' for more details." >&2;}
28807 { (exit 77); exit 77; }; }
28808 else
28809 ac_cv_sizeof_boolean=0
28810 fi ;;
28811 esac
28812 else
28813 cat >conftest.$ac_ext <<_ACEOF
28814 /* confdefs.h. */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819
28820 #undef HAVE_BOOLEAN
28821 #include <stdio.h>
28822 #include <jpeglib.h>
28823
28824
28825 typedef boolean ac__type_sizeof_;
28826 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28827 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28828 #include <stdio.h>
28829 #include <stdlib.h>
28830 int
28831 main ()
28832 {
28833
28834 FILE *f = fopen ("conftest.val", "w");
28835 if (! f)
28836 return 1;
28837 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28838 {
28839 long int i = longval ();
28840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28841 return 1;
28842 fprintf (f, "%ld\n", i);
28843 }
28844 else
28845 {
28846 unsigned long int i = ulongval ();
28847 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28848 return 1;
28849 fprintf (f, "%lu\n", i);
28850 }
28851 return ferror (f) || fclose (f) != 0;
28852
28853 ;
28854 return 0;
28855 }
28856 _ACEOF
28857 rm -f conftest$ac_exeext
28858 if { (ac_try="$ac_link"
28859 case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28862 esac
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_link") 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28868 { (case "(($ac_try" in
28869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28870 *) ac_try_echo=$ac_try;;
28871 esac
28872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28873 (eval "$ac_try") 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 ac_cv_sizeof_boolean=`cat conftest.val`
28878 else
28879 echo "$as_me: program exited with status $ac_status" >&5
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 ( exit $ac_status )
28884 if test "$ac_cv_type_boolean" = yes; then
28885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28886 See \`config.log' for more details." >&5
28887 echo "$as_me: error: cannot compute sizeof (boolean)
28888 See \`config.log' for more details." >&2;}
28889 { (exit 77); exit 77; }; }
28890 else
28891 ac_cv_sizeof_boolean=0
28892 fi
28893 fi
28894 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28895 fi
28896 rm -f conftest.val
28897 fi
28898 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28899 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28900
28901
28902
28903 cat >>confdefs.h <<_ACEOF
28904 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28905 _ACEOF
28906
28907
28908 cat >>confdefs.h <<_ACEOF
28909 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28910 _ACEOF
28911
28912
28913 fi
28914
28915 fi
28916 fi
28917 fi
28918 fi
28919 fi
28920
28921
28922 TIFF_LINK=
28923 TIFF_PREREQ_LINKS=-lm
28924 if test "$wxUSE_LIBTIFF" != "no" ; then
28925 cat >>confdefs.h <<\_ACEOF
28926 #define wxUSE_LIBTIFF 1
28927 _ACEOF
28928
28929
28930 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28931 if test "$wxUSE_LIBJPEG" = "sys"; then
28932 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28933 fi
28934 if test "$wxUSE_ZLIB" = "sys"; then
28935 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28936 fi
28937 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28938 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28939 if test "${ac_cv_header_tiffio_h+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948
28949
28950
28951 #include <tiffio.h>
28952 _ACEOF
28953 rm -f conftest.$ac_objext
28954 if { (ac_try="$ac_compile"
28955 case "(($ac_try" in
28956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28957 *) ac_try_echo=$ac_try;;
28958 esac
28959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28960 (eval "$ac_compile") 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } && {
28967 test -z "$ac_c_werror_flag" ||
28968 test ! -s conftest.err
28969 } && test -s conftest.$ac_objext; then
28970 ac_cv_header_tiffio_h=yes
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975 ac_cv_header_tiffio_h=no
28976 fi
28977
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 fi
28980 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28981 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28982 if test $ac_cv_header_tiffio_h = yes; then
28983
28984 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28985 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28986 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 else
28989 ac_check_lib_save_LIBS=$LIBS
28990 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 /* Override any GCC internal prototype to avoid an error.
28999 Use char because int might match the return type of a GCC
29000 builtin and then its argument prototype would still apply. */
29001 #ifdef __cplusplus
29002 extern "C"
29003 #endif
29004 char TIFFError ();
29005 int
29006 main ()
29007 {
29008 return TIFFError ();
29009 ;
29010 return 0;
29011 }
29012 _ACEOF
29013 rm -f conftest.$ac_objext conftest$ac_exeext
29014 if { (ac_try="$ac_link"
29015 case "(($ac_try" in
29016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29017 *) ac_try_echo=$ac_try;;
29018 esac
29019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29020 (eval "$ac_link") 2>conftest.er1
29021 ac_status=$?
29022 grep -v '^ *+' conftest.er1 >conftest.err
29023 rm -f conftest.er1
29024 cat conftest.err >&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } && {
29027 test -z "$ac_c_werror_flag" ||
29028 test ! -s conftest.err
29029 } && test -s conftest$ac_exeext &&
29030 $as_test_x conftest$ac_exeext; then
29031 ac_cv_lib_tiff_TIFFError=yes
29032 else
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.$ac_ext >&5
29035
29036 ac_cv_lib_tiff_TIFFError=no
29037 fi
29038
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29041 LIBS=$ac_check_lib_save_LIBS
29042 fi
29043 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29044 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29045 if test $ac_cv_lib_tiff_TIFFError = yes; then
29046 TIFF_LINK=" -ltiff"
29047 fi
29048
29049
29050 fi
29051
29052
29053
29054 if test "x$TIFF_LINK" = "x" ; then
29055 if test "$wxUSE_LIBTIFF" = "sys" ; then
29056 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29057 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29058 { (exit 1); exit 1; }; }
29059 else
29060 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29061 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29062 wxUSE_LIBTIFF=builtin
29063 fi
29064 else
29065 wxUSE_LIBTIFF=sys
29066 fi
29067 fi
29068 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29069 if test "$wxUSE_LIBJPEG" = "no"; then
29070 ac_configure_args="$ac_configure_args --disable-jpeg"
29071 fi
29072 subdirs="$subdirs src/tiff"
29073
29074 fi
29075 fi
29076
29077
29078 if test "$wxUSE_EXPAT" != "no"; then
29079 wxUSE_XML=yes
29080 cat >>confdefs.h <<\_ACEOF
29081 #define wxUSE_EXPAT 1
29082 _ACEOF
29083
29084 cat >>confdefs.h <<\_ACEOF
29085 #define wxUSE_XML 1
29086 _ACEOF
29087
29088
29089 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29090 { echo "$as_me:$LINENO: checking for expat.h" >&5
29091 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29092 if test "${ac_cv_header_expat_h+set}" = set; then
29093 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 else
29095 cat >conftest.$ac_ext <<_ACEOF
29096 /* confdefs.h. */
29097 _ACEOF
29098 cat confdefs.h >>conftest.$ac_ext
29099 cat >>conftest.$ac_ext <<_ACEOF
29100 /* end confdefs.h. */
29101
29102
29103 #include <expat.h>
29104 _ACEOF
29105 rm -f conftest.$ac_objext
29106 if { (ac_try="$ac_compile"
29107 case "(($ac_try" in
29108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29109 *) ac_try_echo=$ac_try;;
29110 esac
29111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_compile") 2>conftest.er1
29113 ac_status=$?
29114 grep -v '^ *+' conftest.er1 >conftest.err
29115 rm -f conftest.er1
29116 cat conftest.err >&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); } && {
29119 test -z "$ac_c_werror_flag" ||
29120 test ! -s conftest.err
29121 } && test -s conftest.$ac_objext; then
29122 ac_cv_header_expat_h=yes
29123 else
29124 echo "$as_me: failed program was:" >&5
29125 sed 's/^/| /' conftest.$ac_ext >&5
29126
29127 ac_cv_header_expat_h=no
29128 fi
29129
29130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29131 fi
29132 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29133 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29134 if test $ac_cv_header_expat_h = yes; then
29135 found_expat_h=1
29136 fi
29137
29138
29139 if test "x$found_expat_h" = "x1"; then
29140 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29141 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29142 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 else
29145
29146 ac_ext=cpp
29147 ac_cpp='$CXXCPP $CPPFLAGS'
29148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29151
29152 cat >conftest.$ac_ext <<_ACEOF
29153 /* confdefs.h. */
29154 _ACEOF
29155 cat confdefs.h >>conftest.$ac_ext
29156 cat >>conftest.$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29158 #include <expat.h>
29159 int
29160 main ()
29161 {
29162
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext
29168 if { (ac_try="$ac_compile"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29172 esac
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_compile") 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_cxx_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 wx_cv_expat_is_not_broken=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 wx_cv_expat_is_not_broken=no
29190
29191 fi
29192
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 ac_ext=c
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29199
29200
29201
29202 fi
29203 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29204 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29205 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29206 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29207 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29208 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29210 else
29211 ac_check_lib_save_LIBS=$LIBS
29212 LIBS="-lexpat $LIBS"
29213 cat >conftest.$ac_ext <<_ACEOF
29214 /* confdefs.h. */
29215 _ACEOF
29216 cat confdefs.h >>conftest.$ac_ext
29217 cat >>conftest.$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29219
29220 /* Override any GCC internal prototype to avoid an error.
29221 Use char because int might match the return type of a GCC
29222 builtin and then its argument prototype would still apply. */
29223 #ifdef __cplusplus
29224 extern "C"
29225 #endif
29226 char XML_ParserCreate ();
29227 int
29228 main ()
29229 {
29230 return XML_ParserCreate ();
29231 ;
29232 return 0;
29233 }
29234 _ACEOF
29235 rm -f conftest.$ac_objext conftest$ac_exeext
29236 if { (ac_try="$ac_link"
29237 case "(($ac_try" in
29238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29239 *) ac_try_echo=$ac_try;;
29240 esac
29241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29242 (eval "$ac_link") 2>conftest.er1
29243 ac_status=$?
29244 grep -v '^ *+' conftest.er1 >conftest.err
29245 rm -f conftest.er1
29246 cat conftest.err >&5
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); } && {
29249 test -z "$ac_c_werror_flag" ||
29250 test ! -s conftest.err
29251 } && test -s conftest$ac_exeext &&
29252 $as_test_x conftest$ac_exeext; then
29253 ac_cv_lib_expat_XML_ParserCreate=yes
29254 else
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29257
29258 ac_cv_lib_expat_XML_ParserCreate=no
29259 fi
29260
29261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29262 conftest$ac_exeext conftest.$ac_ext
29263 LIBS=$ac_check_lib_save_LIBS
29264 fi
29265 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29266 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29267 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29268 EXPAT_LINK=" -lexpat"
29269 fi
29270
29271 fi
29272 fi
29273 if test "x$EXPAT_LINK" = "x" ; then
29274 if test "$wxUSE_EXPAT" = "sys" ; then
29275 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29276 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29277 { (exit 1); exit 1; }; }
29278 else
29279 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29280 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29281 wxUSE_EXPAT=builtin
29282 fi
29283 else
29284 wxUSE_EXPAT=sys
29285 fi
29286 fi
29287 if test "$wxUSE_EXPAT" = "builtin" ; then
29288 subdirs="$subdirs src/expat"
29289
29290 fi
29291 fi
29292
29293
29294
29295 if test "$wxUSE_LIBMSPACK" != "no"; then
29296 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29297 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29298 if test "${ac_cv_header_mspack_h+set}" = set; then
29299 echo $ECHO_N "(cached) $ECHO_C" >&6
29300 else
29301 cat >conftest.$ac_ext <<_ACEOF
29302 /* confdefs.h. */
29303 _ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307
29308
29309 #include <mspack.h>
29310 _ACEOF
29311 rm -f conftest.$ac_objext
29312 if { (ac_try="$ac_compile"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29316 esac
29317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_compile") 2>conftest.er1
29319 ac_status=$?
29320 grep -v '^ *+' conftest.er1 >conftest.err
29321 rm -f conftest.er1
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest.$ac_objext; then
29328 ac_cv_header_mspack_h=yes
29329 else
29330 echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29332
29333 ac_cv_header_mspack_h=no
29334 fi
29335
29336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29337 fi
29338 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29339 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29340 if test $ac_cv_header_mspack_h = yes; then
29341 found_mspack_h=1
29342 fi
29343
29344
29345 if test "x$found_mspack_h" = "x1"; then
29346 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29347 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29348 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 ac_check_lib_save_LIBS=$LIBS
29352 LIBS="-lmspack $LIBS"
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h. */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29359
29360 /* Override any GCC internal prototype to avoid an error.
29361 Use char because int might match the return type of a GCC
29362 builtin and then its argument prototype would still apply. */
29363 #ifdef __cplusplus
29364 extern "C"
29365 #endif
29366 char mspack_create_chm_decompressor ();
29367 int
29368 main ()
29369 {
29370 return mspack_create_chm_decompressor ();
29371 ;
29372 return 0;
29373 }
29374 _ACEOF
29375 rm -f conftest.$ac_objext conftest$ac_exeext
29376 if { (ac_try="$ac_link"
29377 case "(($ac_try" in
29378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29379 *) ac_try_echo=$ac_try;;
29380 esac
29381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29382 (eval "$ac_link") 2>conftest.er1
29383 ac_status=$?
29384 grep -v '^ *+' conftest.er1 >conftest.err
29385 rm -f conftest.er1
29386 cat conftest.err >&5
29387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29388 (exit $ac_status); } && {
29389 test -z "$ac_c_werror_flag" ||
29390 test ! -s conftest.err
29391 } && test -s conftest$ac_exeext &&
29392 $as_test_x conftest$ac_exeext; then
29393 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29394 else
29395 echo "$as_me: failed program was:" >&5
29396 sed 's/^/| /' conftest.$ac_ext >&5
29397
29398 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29399 fi
29400
29401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29402 conftest$ac_exeext conftest.$ac_ext
29403 LIBS=$ac_check_lib_save_LIBS
29404 fi
29405 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29406 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29407 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29408 MSPACK_LINK=" -lmspack"
29409 fi
29410
29411 fi
29412 if test "x$MSPACK_LINK" = "x" ; then
29413 wxUSE_LIBMSPACK=no
29414 fi
29415 fi
29416
29417 if test "$wxUSE_LIBMSPACK" != "no"; then
29418 cat >>confdefs.h <<\_ACEOF
29419 #define wxUSE_LIBMSPACK 1
29420 _ACEOF
29421
29422 fi
29423
29424
29425
29426 AFMINSTALL=
29427 WIN32INSTALL=
29428
29429 TOOLKIT=
29430 TOOLKIT_INCLUDE=
29431 WIDGET_SET=
29432
29433 if test "$USE_WIN32" = 1 ; then
29434
29435 for ac_header in w32api.h
29436 do
29437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29441 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 else
29443 cat >conftest.$ac_ext <<_ACEOF
29444 /* confdefs.h. */
29445 _ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449
29450
29451 #include <$ac_header>
29452 _ACEOF
29453 rm -f conftest.$ac_objext
29454 if { (ac_try="$ac_compile"
29455 case "(($ac_try" in
29456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29457 *) ac_try_echo=$ac_try;;
29458 esac
29459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29460 (eval "$ac_compile") 2>conftest.er1
29461 ac_status=$?
29462 grep -v '^ *+' conftest.er1 >conftest.err
29463 rm -f conftest.er1
29464 cat conftest.err >&5
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); } && {
29467 test -z "$ac_c_werror_flag" ||
29468 test ! -s conftest.err
29469 } && test -s conftest.$ac_objext; then
29470 eval "$as_ac_Header=yes"
29471 else
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29474
29475 eval "$as_ac_Header=no"
29476 fi
29477
29478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29479 fi
29480 ac_res=`eval echo '${'$as_ac_Header'}'`
29481 { echo "$as_me:$LINENO: result: $ac_res" >&5
29482 echo "${ECHO_T}$ac_res" >&6; }
29483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29484 cat >>confdefs.h <<_ACEOF
29485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29486 _ACEOF
29487
29488 fi
29489
29490 done
29491
29492 { echo "$as_me:$LINENO: checking for windows.h" >&5
29493 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29494 if test "${ac_cv_header_windows_h+set}" = set; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29496 else
29497 cat >conftest.$ac_ext <<_ACEOF
29498 /* confdefs.h. */
29499 _ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503
29504
29505 #include <windows.h>
29506 _ACEOF
29507 rm -f conftest.$ac_objext
29508 if { (ac_try="$ac_compile"
29509 case "(($ac_try" in
29510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29511 *) ac_try_echo=$ac_try;;
29512 esac
29513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29514 (eval "$ac_compile") 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } && {
29521 test -z "$ac_c_werror_flag" ||
29522 test ! -s conftest.err
29523 } && test -s conftest.$ac_objext; then
29524 ac_cv_header_windows_h=yes
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29528
29529 ac_cv_header_windows_h=no
29530 fi
29531
29532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29533 fi
29534 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29535 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29536 if test $ac_cv_header_windows_h = yes; then
29537 :
29538 else
29539
29540 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29541 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29542 { (exit 1); exit 1; }; }
29543
29544 fi
29545
29546
29547
29548 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29549 case "${host}" in
29550 x86_64-*-mingw32* )
29551 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29552 ;;
29553 esac
29554 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29555 LIBS="$LIBS -loleacc"
29556 fi
29557
29558 case "${host}" in
29559 *-*-cygwin* )
29560 LIBS="$LIBS -lkernel32 -luser32"
29561 esac
29562
29563 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29564 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29565
29566 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29567
29568 WIN32INSTALL=win32install
29569
29570 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29571 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29572 if test "${ac_cv_header_pbt_h+set}" = set; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 else
29575 cat >conftest.$ac_ext <<_ACEOF
29576 /* confdefs.h. */
29577 _ACEOF
29578 cat confdefs.h >>conftest.$ac_ext
29579 cat >>conftest.$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29581
29582
29583 #include <pbt.h>
29584 _ACEOF
29585 rm -f conftest.$ac_objext
29586 if { (ac_try="$ac_compile"
29587 case "(($ac_try" in
29588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29589 *) ac_try_echo=$ac_try;;
29590 esac
29591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29592 (eval "$ac_compile") 2>conftest.er1
29593 ac_status=$?
29594 grep -v '^ *+' conftest.er1 >conftest.err
29595 rm -f conftest.er1
29596 cat conftest.err >&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); } && {
29599 test -z "$ac_c_werror_flag" ||
29600 test ! -s conftest.err
29601 } && test -s conftest.$ac_objext; then
29602 ac_cv_header_pbt_h=yes
29603 else
29604 echo "$as_me: failed program was:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29606
29607 ac_cv_header_pbt_h=no
29608 fi
29609
29610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29611 fi
29612 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29613 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29614 if test $ac_cv_header_pbt_h = yes; then
29615 :
29616 else
29617 cat >>confdefs.h <<\_ACEOF
29618 #define NEED_PBT_H 1
29619 _ACEOF
29620
29621 fi
29622
29623
29624 fi
29625
29626 if test "$wxUSE_GUI" = "yes"; then
29627 USE_GUI=1
29628
29629 GUI_TK_LIBRARY=
29630
29631 WXGTK12=
29632 WXGTK127=
29633 WXGTK2=
29634 WXGPE=
29635
29636 if test "$wxUSE_OLD_COCOA" = 1 ; then
29637 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29638 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29639 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29640 wxUSE_PRINTING_ARCHITECTURE=no
29641 fi
29642 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29643 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29644 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29645 wxUSE_DRAG_AND_DROP=no
29646 fi
29647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29648 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29649 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29650 wxUSE_DRAGIMAGE=no
29651 fi
29652 fi
29653
29654 if test "$wxUSE_MSW" = 1 ; then
29655 TOOLKIT=MSW
29656 GUIDIST=MSW_DIST
29657
29658 case "${host}" in
29659 *-*-mingw32* )
29660 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29661 esac
29662 fi
29663
29664 if test "$wxUSE_GTK" = 1; then
29665 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29666 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29667
29668 gtk_version_cached=1
29669 if test "${wx_cv_lib_gtk+set}" = set; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 else
29672
29673 gtk_version_cached=0
29674 { echo "$as_me:$LINENO: result: " >&5
29675 echo "${ECHO_T}" >&6; }
29676
29677 GTK_MODULES=
29678 if test "$wxUSE_THREADS" = "yes"; then
29679 GTK_MODULES=gthread
29680 fi
29681
29682 wx_cv_lib_gtk=
29683 if test "x$wxGTK_VERSION" != "x1"
29684 then
29685 case "${host}" in
29686 *-*-solaris2* )
29687 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29688 enable_gtktest=no
29689 fi
29690 esac
29691
29692 # Check whether --enable-gtktest was given.
29693 if test "${enable_gtktest+set}" = set; then
29694 enableval=$enable_gtktest;
29695 else
29696 enable_gtktest=yes
29697 fi
29698
29699
29700 pkg_config_args=gtk+-2.0
29701 for module in . $GTK_MODULES
29702 do
29703 case "$module" in
29704 gthread)
29705 pkg_config_args="$pkg_config_args gthread-2.0"
29706 ;;
29707 esac
29708 done
29709
29710 no_gtk=""
29711
29712 # Extract the first word of "pkg-config", so it can be a program name with args.
29713 set dummy pkg-config; ac_word=$2
29714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29716 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29717 echo $ECHO_N "(cached) $ECHO_C" >&6
29718 else
29719 case $PKG_CONFIG in
29720 [\\/]* | ?:[\\/]*)
29721 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29722 ;;
29723 *)
29724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29725 for as_dir in $PATH
29726 do
29727 IFS=$as_save_IFS
29728 test -z "$as_dir" && as_dir=.
29729 for ac_exec_ext in '' $ac_executable_extensions; do
29730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29731 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29733 break 2
29734 fi
29735 done
29736 done
29737 IFS=$as_save_IFS
29738
29739 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29740 ;;
29741 esac
29742 fi
29743 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29744 if test -n "$PKG_CONFIG"; then
29745 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29746 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29747 else
29748 { echo "$as_me:$LINENO: result: no" >&5
29749 echo "${ECHO_T}no" >&6; }
29750 fi
29751
29752
29753
29754 if test x$PKG_CONFIG != xno ; then
29755 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29756 :
29757 else
29758 echo "*** pkg-config too old; version 0.7 or better required."
29759 no_gtk=yes
29760 PKG_CONFIG=no
29761 fi
29762 else
29763 no_gtk=yes
29764 fi
29765
29766 min_gtk_version=2.4.0
29767 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29768 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29769
29770 if test x$PKG_CONFIG != xno ; then
29771 ## don't try to run the test against uninstalled libtool libs
29772 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29773 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29774 enable_gtktest=no
29775 fi
29776
29777 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29778 :
29779 else
29780 no_gtk=yes
29781 fi
29782 fi
29783
29784 if test x"$no_gtk" = x ; then
29785 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29786 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29787 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29789 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29790 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29791 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29792 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29793 if test "x$enable_gtktest" = "xyes" ; then
29794 ac_save_CFLAGS="$CFLAGS"
29795 ac_save_LIBS="$LIBS"
29796 CFLAGS="$CFLAGS $GTK_CFLAGS"
29797 LIBS="$GTK_LIBS $LIBS"
29798 rm -f conf.gtktest
29799 if test "$cross_compiling" = yes; then
29800 echo $ac_n "cross compiling; assumed OK... $ac_c"
29801 else
29802 cat >conftest.$ac_ext <<_ACEOF
29803 /* confdefs.h. */
29804 _ACEOF
29805 cat confdefs.h >>conftest.$ac_ext
29806 cat >>conftest.$ac_ext <<_ACEOF
29807 /* end confdefs.h. */
29808
29809 #include <gtk/gtk.h>
29810 #include <stdio.h>
29811 #include <stdlib.h>
29812
29813 int
29814 main ()
29815 {
29816 int major, minor, micro;
29817 char *tmp_version;
29818
29819 system ("touch conf.gtktest");
29820
29821 /* HP/UX 9 (%@#!) writes to sscanf strings */
29822 tmp_version = g_strdup("$min_gtk_version");
29823 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29824 printf("%s, bad version string\n", "$min_gtk_version");
29825 exit(1);
29826 }
29827
29828 if ((gtk_major_version != $gtk_config_major_version) ||
29829 (gtk_minor_version != $gtk_config_minor_version) ||
29830 (gtk_micro_version != $gtk_config_micro_version))
29831 {
29832 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29833 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29834 gtk_major_version, gtk_minor_version, gtk_micro_version);
29835 printf ("*** was found! If pkg-config was correct, then it is best\n");
29836 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29837 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29838 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29839 printf("*** required on your system.\n");
29840 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29841 printf("*** to point to the correct configuration files\n");
29842 }
29843 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29844 (gtk_minor_version != GTK_MINOR_VERSION) ||
29845 (gtk_micro_version != GTK_MICRO_VERSION))
29846 {
29847 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29848 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29849 printf("*** library (version %d.%d.%d)\n",
29850 gtk_major_version, gtk_minor_version, gtk_micro_version);
29851 }
29852 else
29853 {
29854 if ((gtk_major_version > major) ||
29855 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29856 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29857 {
29858 return 0;
29859 }
29860 else
29861 {
29862 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29863 gtk_major_version, gtk_minor_version, gtk_micro_version);
29864 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29865 major, minor, micro);
29866 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29867 printf("***\n");
29868 printf("*** If you have already installed a sufficiently new version, this error\n");
29869 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29870 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29871 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29872 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29873 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29874 printf("*** so that the correct libraries are found at run-time))\n");
29875 }
29876 }
29877 return 1;
29878 }
29879
29880 _ACEOF
29881 rm -f conftest$ac_exeext
29882 if { (ac_try="$ac_link"
29883 case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29886 esac
29887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_link") 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29892 { (case "(($ac_try" in
29893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29894 *) ac_try_echo=$ac_try;;
29895 esac
29896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29897 (eval "$ac_try") 2>&5
29898 ac_status=$?
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); }; }; then
29901 :
29902 else
29903 echo "$as_me: program exited with status $ac_status" >&5
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29906
29907 ( exit $ac_status )
29908 no_gtk=yes
29909 fi
29910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29911 fi
29912
29913
29914 CFLAGS="$ac_save_CFLAGS"
29915 LIBS="$ac_save_LIBS"
29916 fi
29917 fi
29918 if test "x$no_gtk" = x ; then
29919 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29920 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29921 wx_cv_lib_gtk=2.0
29922 else
29923 { echo "$as_me:$LINENO: result: no" >&5
29924 echo "${ECHO_T}no" >&6; }
29925 if test "$PKG_CONFIG" = "no" ; then
29926 echo "*** A new enough version of pkg-config was not found."
29927 echo "*** See http://pkgconfig.sourceforge.net"
29928 else
29929 if test -f conf.gtktest ; then
29930 :
29931 else
29932 echo "*** Could not run GTK+ test program, checking why..."
29933 ac_save_CFLAGS="$CFLAGS"
29934 ac_save_LIBS="$LIBS"
29935 CFLAGS="$CFLAGS $GTK_CFLAGS"
29936 LIBS="$LIBS $GTK_LIBS"
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h. */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29943
29944 #include <gtk/gtk.h>
29945 #include <stdio.h>
29946
29947 int
29948 main ()
29949 {
29950 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 rm -f conftest.$ac_objext conftest$ac_exeext
29956 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29972 $as_test_x conftest$ac_exeext; then
29973 echo "*** The test program compiled, but did not run. This usually means"
29974 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29975 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29976 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29977 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29978 echo "*** is required on your system"
29979 echo "***"
29980 echo "*** If you have an old version installed, it is best to remove it, although"
29981 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29982 else
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29985
29986 echo "*** The test program failed to compile or link. See the file config.log for the"
29987 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29988 fi
29989
29990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29991 conftest$ac_exeext conftest.$ac_ext
29992 CFLAGS="$ac_save_CFLAGS"
29993 LIBS="$ac_save_LIBS"
29994 fi
29995 fi
29996 GTK_CFLAGS=""
29997 GTK_LIBS=""
29998 :
29999 fi
30000
30001
30002 rm -f conf.gtktest
30003
30004
30005 GTK_LIBS="$GTK_LIBS -lX11"
30006 fi
30007
30008 if test -z "$wx_cv_lib_gtk"; then
30009 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30010
30011 # Check whether --with-gtk-prefix was given.
30012 if test "${with_gtk_prefix+set}" = set; then
30013 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30014 else
30015 gtk_config_prefix=""
30016 fi
30017
30018
30019 # Check whether --with-gtk-exec-prefix was given.
30020 if test "${with_gtk_exec_prefix+set}" = set; then
30021 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30022 else
30023 gtk_config_exec_prefix=""
30024 fi
30025
30026 # Check whether --enable-gtktest was given.
30027 if test "${enable_gtktest+set}" = set; then
30028 enableval=$enable_gtktest;
30029 else
30030 enable_gtktest=yes
30031 fi
30032
30033
30034 for module in . $GTK_MODULES
30035 do
30036 case "$module" in
30037 gthread)
30038 gtk_config_args="$gtk_config_args gthread"
30039 ;;
30040 esac
30041 done
30042
30043 if test x$gtk_config_exec_prefix != x ; then
30044 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30045 if test x${GTK_CONFIG+set} != xset ; then
30046 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30047 fi
30048 fi
30049 if test x$gtk_config_prefix != x ; then
30050 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30051 if test x${GTK_CONFIG+set} != xset ; then
30052 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30053 fi
30054 fi
30055
30056 # Extract the first word of "gtk-config", so it can be a program name with args.
30057 set dummy gtk-config; ac_word=$2
30058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30060 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 case $GTK_CONFIG in
30064 [\\/]* | ?:[\\/]*)
30065 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30066 ;;
30067 *)
30068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30069 for as_dir in $PATH
30070 do
30071 IFS=$as_save_IFS
30072 test -z "$as_dir" && as_dir=.
30073 for ac_exec_ext in '' $ac_executable_extensions; do
30074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30075 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30077 break 2
30078 fi
30079 done
30080 done
30081 IFS=$as_save_IFS
30082
30083 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30084 ;;
30085 esac
30086 fi
30087 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30088 if test -n "$GTK_CONFIG"; then
30089 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30090 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30091 else
30092 { echo "$as_me:$LINENO: result: no" >&5
30093 echo "${ECHO_T}no" >&6; }
30094 fi
30095
30096
30097 min_gtk_version=1.2.7
30098 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30099 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30100 no_gtk=""
30101 if test "$GTK_CONFIG" = "no" ; then
30102 no_gtk=yes
30103 else
30104 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30105 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30106 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30108 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30110 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30112 if test "x$enable_gtktest" = "xyes" ; then
30113 ac_save_CFLAGS="$CFLAGS"
30114 ac_save_LIBS="$LIBS"
30115 CFLAGS="$CFLAGS $GTK_CFLAGS"
30116 LIBS="$GTK_LIBS $LIBS"
30117 rm -f conf.gtktest
30118 if test "$cross_compiling" = yes; then
30119 echo $ac_n "cross compiling; assumed OK... $ac_c"
30120 else
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127
30128 #include <gtk/gtk.h>
30129 #include <stdio.h>
30130 #include <stdlib.h>
30131
30132 int
30133 main ()
30134 {
30135 int major, minor, micro;
30136 char *tmp_version;
30137
30138 system ("touch conf.gtktest");
30139
30140 /* HP/UX 9 (%@#!) writes to sscanf strings */
30141 tmp_version = g_strdup("$min_gtk_version");
30142 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30143 printf("%s, bad version string\n", "$min_gtk_version");
30144 exit(1);
30145 }
30146
30147 if ((gtk_major_version != $gtk_config_major_version) ||
30148 (gtk_minor_version != $gtk_config_minor_version) ||
30149 (gtk_micro_version != $gtk_config_micro_version))
30150 {
30151 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30152 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30153 gtk_major_version, gtk_minor_version, gtk_micro_version);
30154 printf ("*** was found! If gtk-config was correct, then it is best\n");
30155 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30156 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30157 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30158 printf("*** required on your system.\n");
30159 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30160 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30161 printf("*** before re-running configure\n");
30162 }
30163 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30164 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30165 (gtk_minor_version != GTK_MINOR_VERSION) ||
30166 (gtk_micro_version != GTK_MICRO_VERSION))
30167 {
30168 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30169 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30170 printf("*** library (version %d.%d.%d)\n",
30171 gtk_major_version, gtk_minor_version, gtk_micro_version);
30172 }
30173 #endif /* defined (GTK_MAJOR_VERSION) ... */
30174 else
30175 {
30176 if ((gtk_major_version > major) ||
30177 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30178 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30179 {
30180 return 0;
30181 }
30182 else
30183 {
30184 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30185 gtk_major_version, gtk_minor_version, gtk_micro_version);
30186 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30187 major, minor, micro);
30188 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30189 printf("***\n");
30190 printf("*** If you have already installed a sufficiently new version, this error\n");
30191 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30192 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30193 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30194 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30195 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30196 printf("*** so that the correct libraries are found at run-time))\n");
30197 }
30198 }
30199 return 1;
30200 }
30201
30202 _ACEOF
30203 rm -f conftest$ac_exeext
30204 if { (ac_try="$ac_link"
30205 case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30208 esac
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_link") 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30214 { (case "(($ac_try" in
30215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30216 *) ac_try_echo=$ac_try;;
30217 esac
30218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30219 (eval "$ac_try") 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 :
30224 else
30225 echo "$as_me: program exited with status $ac_status" >&5
30226 echo "$as_me: failed program was:" >&5
30227 sed 's/^/| /' conftest.$ac_ext >&5
30228
30229 ( exit $ac_status )
30230 no_gtk=yes
30231 fi
30232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30233 fi
30234
30235
30236 CFLAGS="$ac_save_CFLAGS"
30237 LIBS="$ac_save_LIBS"
30238 fi
30239 fi
30240 if test "x$no_gtk" = x ; then
30241 { echo "$as_me:$LINENO: result: yes" >&5
30242 echo "${ECHO_T}yes" >&6; }
30243 wx_cv_lib_gtk=1.2.7
30244 else
30245 { echo "$as_me:$LINENO: result: no" >&5
30246 echo "${ECHO_T}no" >&6; }
30247 if test "$GTK_CONFIG" = "no" ; then
30248 echo "*** The gtk-config script installed by GTK could not be found"
30249 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30250 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30251 echo "*** full path to gtk-config."
30252 else
30253 if test -f conf.gtktest ; then
30254 :
30255 else
30256 echo "*** Could not run GTK test program, checking why..."
30257 CFLAGS="$CFLAGS $GTK_CFLAGS"
30258 LIBS="$LIBS $GTK_LIBS"
30259 cat >conftest.$ac_ext <<_ACEOF
30260 /* confdefs.h. */
30261 _ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30265
30266 #include <gtk/gtk.h>
30267 #include <stdio.h>
30268
30269 int
30270 main ()
30271 {
30272 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30273 ;
30274 return 0;
30275 }
30276 _ACEOF
30277 rm -f conftest.$ac_objext conftest$ac_exeext
30278 if { (ac_try="$ac_link"
30279 case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30281 *) ac_try_echo=$ac_try;;
30282 esac
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_link") 2>conftest.er1
30285 ac_status=$?
30286 grep -v '^ *+' conftest.er1 >conftest.err
30287 rm -f conftest.er1
30288 cat conftest.err >&5
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } && {
30291 test -z "$ac_c_werror_flag" ||
30292 test ! -s conftest.err
30293 } && test -s conftest$ac_exeext &&
30294 $as_test_x conftest$ac_exeext; then
30295 echo "*** The test program compiled, but did not run. This usually means"
30296 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30297 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30298 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30299 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30300 echo "*** is required on your system"
30301 echo "***"
30302 echo "*** If you have an old version installed, it is best to remove it, although"
30303 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30304 echo "***"
30305 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30306 echo "*** came with the system with the command"
30307 echo "***"
30308 echo "*** rpm --erase --nodeps gtk gtk-devel"
30309 else
30310 echo "$as_me: failed program was:" >&5
30311 sed 's/^/| /' conftest.$ac_ext >&5
30312
30313 echo "*** The test program failed to compile or link. See the file config.log for the"
30314 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30315 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30316 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30317 fi
30318
30319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30320 conftest$ac_exeext conftest.$ac_ext
30321 CFLAGS="$ac_save_CFLAGS"
30322 LIBS="$ac_save_LIBS"
30323 fi
30324 fi
30325 GTK_CFLAGS=""
30326 GTK_LIBS=""
30327 :
30328 fi
30329
30330
30331 rm -f conf.gtktest
30332
30333
30334 if test -z "$wx_cv_lib_gtk"; then
30335
30336 # Check whether --with-gtk-prefix was given.
30337 if test "${with_gtk_prefix+set}" = set; then
30338 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30339 else
30340 gtk_config_prefix=""
30341 fi
30342
30343
30344 # Check whether --with-gtk-exec-prefix was given.
30345 if test "${with_gtk_exec_prefix+set}" = set; then
30346 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30347 else
30348 gtk_config_exec_prefix=""
30349 fi
30350
30351 # Check whether --enable-gtktest was given.
30352 if test "${enable_gtktest+set}" = set; then
30353 enableval=$enable_gtktest;
30354 else
30355 enable_gtktest=yes
30356 fi
30357
30358
30359 for module in . $GTK_MODULES
30360 do
30361 case "$module" in
30362 gthread)
30363 gtk_config_args="$gtk_config_args gthread"
30364 ;;
30365 esac
30366 done
30367
30368 if test x$gtk_config_exec_prefix != x ; then
30369 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30370 if test x${GTK_CONFIG+set} != xset ; then
30371 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30372 fi
30373 fi
30374 if test x$gtk_config_prefix != x ; then
30375 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30376 if test x${GTK_CONFIG+set} != xset ; then
30377 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30378 fi
30379 fi
30380
30381 # Extract the first word of "gtk-config", so it can be a program name with args.
30382 set dummy gtk-config; ac_word=$2
30383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30385 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30386 echo $ECHO_N "(cached) $ECHO_C" >&6
30387 else
30388 case $GTK_CONFIG in
30389 [\\/]* | ?:[\\/]*)
30390 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30391 ;;
30392 *)
30393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30394 for as_dir in $PATH
30395 do
30396 IFS=$as_save_IFS
30397 test -z "$as_dir" && as_dir=.
30398 for ac_exec_ext in '' $ac_executable_extensions; do
30399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30400 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30402 break 2
30403 fi
30404 done
30405 done
30406 IFS=$as_save_IFS
30407
30408 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30409 ;;
30410 esac
30411 fi
30412 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30413 if test -n "$GTK_CONFIG"; then
30414 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30415 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30416 else
30417 { echo "$as_me:$LINENO: result: no" >&5
30418 echo "${ECHO_T}no" >&6; }
30419 fi
30420
30421
30422 min_gtk_version=1.2.3
30423 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30424 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30425 no_gtk=""
30426 if test "$GTK_CONFIG" = "no" ; then
30427 no_gtk=yes
30428 else
30429 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30430 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30431 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30432 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30433 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30434 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30435 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30437 if test "x$enable_gtktest" = "xyes" ; then
30438 ac_save_CFLAGS="$CFLAGS"
30439 ac_save_LIBS="$LIBS"
30440 CFLAGS="$CFLAGS $GTK_CFLAGS"
30441 LIBS="$GTK_LIBS $LIBS"
30442 rm -f conf.gtktest
30443 if test "$cross_compiling" = yes; then
30444 echo $ac_n "cross compiling; assumed OK... $ac_c"
30445 else
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h. */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452
30453 #include <gtk/gtk.h>
30454 #include <stdio.h>
30455 #include <stdlib.h>
30456
30457 int
30458 main ()
30459 {
30460 int major, minor, micro;
30461 char *tmp_version;
30462
30463 system ("touch conf.gtktest");
30464
30465 /* HP/UX 9 (%@#!) writes to sscanf strings */
30466 tmp_version = g_strdup("$min_gtk_version");
30467 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30468 printf("%s, bad version string\n", "$min_gtk_version");
30469 exit(1);
30470 }
30471
30472 if ((gtk_major_version != $gtk_config_major_version) ||
30473 (gtk_minor_version != $gtk_config_minor_version) ||
30474 (gtk_micro_version != $gtk_config_micro_version))
30475 {
30476 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30477 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30478 gtk_major_version, gtk_minor_version, gtk_micro_version);
30479 printf ("*** was found! If gtk-config was correct, then it is best\n");
30480 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30481 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30482 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30483 printf("*** required on your system.\n");
30484 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30485 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30486 printf("*** before re-running configure\n");
30487 }
30488 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30489 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30490 (gtk_minor_version != GTK_MINOR_VERSION) ||
30491 (gtk_micro_version != GTK_MICRO_VERSION))
30492 {
30493 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30494 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30495 printf("*** library (version %d.%d.%d)\n",
30496 gtk_major_version, gtk_minor_version, gtk_micro_version);
30497 }
30498 #endif /* defined (GTK_MAJOR_VERSION) ... */
30499 else
30500 {
30501 if ((gtk_major_version > major) ||
30502 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30503 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30504 {
30505 return 0;
30506 }
30507 else
30508 {
30509 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30510 gtk_major_version, gtk_minor_version, gtk_micro_version);
30511 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30512 major, minor, micro);
30513 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30514 printf("***\n");
30515 printf("*** If you have already installed a sufficiently new version, this error\n");
30516 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30517 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30518 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30519 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30520 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30521 printf("*** so that the correct libraries are found at run-time))\n");
30522 }
30523 }
30524 return 1;
30525 }
30526
30527 _ACEOF
30528 rm -f conftest$ac_exeext
30529 if { (ac_try="$ac_link"
30530 case "(($ac_try" in
30531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30533 esac
30534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_link") 2>&5
30536 ac_status=$?
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30539 { (case "(($ac_try" in
30540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30541 *) ac_try_echo=$ac_try;;
30542 esac
30543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30544 (eval "$ac_try") 2>&5
30545 ac_status=$?
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; }; then
30548 :
30549 else
30550 echo "$as_me: program exited with status $ac_status" >&5
30551 echo "$as_me: failed program was:" >&5
30552 sed 's/^/| /' conftest.$ac_ext >&5
30553
30554 ( exit $ac_status )
30555 no_gtk=yes
30556 fi
30557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30558 fi
30559
30560
30561 CFLAGS="$ac_save_CFLAGS"
30562 LIBS="$ac_save_LIBS"
30563 fi
30564 fi
30565 if test "x$no_gtk" = x ; then
30566 { echo "$as_me:$LINENO: result: yes" >&5
30567 echo "${ECHO_T}yes" >&6; }
30568 wx_cv_lib_gtk=1.2.3
30569 else
30570 { echo "$as_me:$LINENO: result: no" >&5
30571 echo "${ECHO_T}no" >&6; }
30572 if test "$GTK_CONFIG" = "no" ; then
30573 echo "*** The gtk-config script installed by GTK could not be found"
30574 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30575 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30576 echo "*** full path to gtk-config."
30577 else
30578 if test -f conf.gtktest ; then
30579 :
30580 else
30581 echo "*** Could not run GTK test program, checking why..."
30582 CFLAGS="$CFLAGS $GTK_CFLAGS"
30583 LIBS="$LIBS $GTK_LIBS"
30584 cat >conftest.$ac_ext <<_ACEOF
30585 /* confdefs.h. */
30586 _ACEOF
30587 cat confdefs.h >>conftest.$ac_ext
30588 cat >>conftest.$ac_ext <<_ACEOF
30589 /* end confdefs.h. */
30590
30591 #include <gtk/gtk.h>
30592 #include <stdio.h>
30593
30594 int
30595 main ()
30596 {
30597 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30598 ;
30599 return 0;
30600 }
30601 _ACEOF
30602 rm -f conftest.$ac_objext conftest$ac_exeext
30603 if { (ac_try="$ac_link"
30604 case "(($ac_try" in
30605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30606 *) ac_try_echo=$ac_try;;
30607 esac
30608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30609 (eval "$ac_link") 2>conftest.er1
30610 ac_status=$?
30611 grep -v '^ *+' conftest.er1 >conftest.err
30612 rm -f conftest.er1
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); } && {
30616 test -z "$ac_c_werror_flag" ||
30617 test ! -s conftest.err
30618 } && test -s conftest$ac_exeext &&
30619 $as_test_x conftest$ac_exeext; then
30620 echo "*** The test program compiled, but did not run. This usually means"
30621 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30622 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30623 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30624 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30625 echo "*** is required on your system"
30626 echo "***"
30627 echo "*** If you have an old version installed, it is best to remove it, although"
30628 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30629 echo "***"
30630 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30631 echo "*** came with the system with the command"
30632 echo "***"
30633 echo "*** rpm --erase --nodeps gtk gtk-devel"
30634 else
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 echo "*** The test program failed to compile or link. See the file config.log for the"
30639 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30640 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30641 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30642 fi
30643
30644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30645 conftest$ac_exeext conftest.$ac_ext
30646 CFLAGS="$ac_save_CFLAGS"
30647 LIBS="$ac_save_LIBS"
30648 fi
30649 fi
30650 GTK_CFLAGS=""
30651 GTK_LIBS=""
30652 :
30653 fi
30654
30655
30656 rm -f conf.gtktest
30657
30658 fi
30659 fi
30660 fi
30661
30662 if test -z "$wx_cv_lib_gtk"; then
30663 wx_cv_lib_gtk=none
30664 else
30665 wx_cv_cflags_gtk=$GTK_CFLAGS
30666 wx_cv_libs_gtk=$GTK_LIBS
30667 fi
30668
30669
30670 fi
30671
30672
30673 if test "$gtk_version_cached" = 1; then
30674 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30675 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30676 fi
30677
30678 case "$wx_cv_lib_gtk" in
30679 2.0) WXGTK2=1
30680 TOOLKIT_VERSION=2
30681 ;;
30682 1.2.7) WXGTK127=1
30683 WXGTK12=1
30684 ;;
30685 1.2.3) WXGTK12=1
30686 ;;
30687 *) { { echo "$as_me:$LINENO: error:
30688 The development files for GTK+ were not found. For GTK+ 2, please
30689 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30690 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30691 and that the version is 1.2.3 or above. Also check that the
30692 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30693 --libs' are in the LD_LIBRARY_PATH or equivalent.
30694 " >&5
30695 echo "$as_me: error:
30696 The development files for GTK+ were not found. For GTK+ 2, please
30697 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30698 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30699 and that the version is 1.2.3 or above. Also check that the
30700 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30701 --libs' are in the LD_LIBRARY_PATH or equivalent.
30702 " >&2;}
30703 { (exit 1); exit 1; }; }
30704 ;;
30705 esac
30706
30707 if test "$WXGTK2" = 1; then
30708 save_CFLAGS="$CFLAGS"
30709 save_LIBS="$LIBS"
30710 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30711 LIBS="$LIBS $wx_cv_libs_gtk"
30712
30713 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30714 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721
30722 #include <gtk/gtk.h>
30723
30724 int
30725 main ()
30726 {
30727
30728 #if !GTK_CHECK_VERSION(2,18,0)
30729 Not GTK+ 2.18
30730 #endif
30731
30732 ;
30733 return 0;
30734 }
30735 _ACEOF
30736 rm -f conftest.$ac_objext
30737 if { (ac_try="$ac_compile"
30738 case "(($ac_try" in
30739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30740 *) ac_try_echo=$ac_try;;
30741 esac
30742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30743 (eval "$ac_compile") 2>conftest.er1
30744 ac_status=$?
30745 grep -v '^ *+' conftest.er1 >conftest.err
30746 rm -f conftest.er1
30747 cat conftest.err >&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } && {
30750 test -z "$ac_c_werror_flag" ||
30751 test ! -s conftest.err
30752 } && test -s conftest.$ac_objext; then
30753
30754 cat >>confdefs.h <<\_ACEOF
30755 #define __WXGTK218__ 1
30756 _ACEOF
30757
30758 cat >>confdefs.h <<\_ACEOF
30759 #define __WXGTK210__ 1
30760 _ACEOF
30761
30762 cat >>confdefs.h <<\_ACEOF
30763 #define __WXGTK26__ 1
30764 _ACEOF
30765
30766 { echo "$as_me:$LINENO: result: yes" >&5
30767 echo "${ECHO_T}yes" >&6; }
30768 ac_wxgtk218=1
30769
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30773
30774
30775 { echo "$as_me:$LINENO: result: no" >&5
30776 echo "${ECHO_T}no" >&6; }
30777 ac_wxgtk218=0
30778
30779 fi
30780
30781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30782
30783 if test "$ac_wxgtk218" = 0; then
30784 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30785 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30786 cat >conftest.$ac_ext <<_ACEOF
30787 /* confdefs.h. */
30788 _ACEOF
30789 cat confdefs.h >>conftest.$ac_ext
30790 cat >>conftest.$ac_ext <<_ACEOF
30791 /* end confdefs.h. */
30792
30793 #include <gtk/gtk.h>
30794
30795 int
30796 main ()
30797 {
30798
30799 #if !GTK_CHECK_VERSION(2,10,0)
30800 Not GTK+ 2.10
30801 #endif
30802
30803 ;
30804 return 0;
30805 }
30806 _ACEOF
30807 rm -f conftest.$ac_objext
30808 if { (ac_try="$ac_compile"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30812 esac
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_compile") 2>conftest.er1
30815 ac_status=$?
30816 grep -v '^ *+' conftest.er1 >conftest.err
30817 rm -f conftest.er1
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } && {
30821 test -z "$ac_c_werror_flag" ||
30822 test ! -s conftest.err
30823 } && test -s conftest.$ac_objext; then
30824
30825 cat >>confdefs.h <<\_ACEOF
30826 #define __WXGTK210__ 1
30827 _ACEOF
30828
30829 cat >>confdefs.h <<\_ACEOF
30830 #define __WXGTK26__ 1
30831 _ACEOF
30832
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30835 ac_wxgtk210=1
30836
30837 else
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30840
30841
30842 { echo "$as_me:$LINENO: result: no" >&5
30843 echo "${ECHO_T}no" >&6; }
30844 ac_wxgtk210=0
30845
30846 fi
30847
30848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30849
30850 if test "$ac_wxgtk210" = 0; then
30851 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30852 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30853 cat >conftest.$ac_ext <<_ACEOF
30854 /* confdefs.h. */
30855 _ACEOF
30856 cat confdefs.h >>conftest.$ac_ext
30857 cat >>conftest.$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859
30860 #include <gtk/gtk.h>
30861
30862 int
30863 main ()
30864 {
30865
30866 #if !GTK_CHECK_VERSION(2,6,0)
30867 Not GTK+ 2.6
30868 #endif
30869
30870 ;
30871 return 0;
30872 }
30873 _ACEOF
30874 rm -f conftest.$ac_objext
30875 if { (ac_try="$ac_compile"
30876 case "(($ac_try" in
30877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30878 *) ac_try_echo=$ac_try;;
30879 esac
30880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30881 (eval "$ac_compile") 2>conftest.er1
30882 ac_status=$?
30883 grep -v '^ *+' conftest.er1 >conftest.err
30884 rm -f conftest.er1
30885 cat conftest.err >&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } && {
30888 test -z "$ac_c_werror_flag" ||
30889 test ! -s conftest.err
30890 } && test -s conftest.$ac_objext; then
30891
30892 cat >>confdefs.h <<\_ACEOF
30893 #define __WXGTK26__ 1
30894 _ACEOF
30895
30896 { echo "$as_me:$LINENO: result: yes" >&5
30897 echo "${ECHO_T}yes" >&6; }
30898 ac_wxgtk26=1
30899
30900 else
30901 echo "$as_me: failed program was:" >&5
30902 sed 's/^/| /' conftest.$ac_ext >&5
30903
30904
30905 { echo "$as_me:$LINENO: result: no" >&5
30906 echo "${ECHO_T}no" >&6; }
30907 ac_wxgtk26=0
30908
30909 fi
30910
30911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30912 fi
30913 fi
30914
30915 CFLAGS="$save_CFLAGS"
30916 LIBS="$save_LIBS"
30917 else
30918 if test "$wxUSE_UNICODE" = "yes"; then
30919 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30920 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30921 wxUSE_UNICODE=no
30922 fi
30923
30924 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30925 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30926 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30927 echo $ECHO_N "(cached) $ECHO_C" >&6
30928 else
30929 ac_check_lib_save_LIBS=$LIBS
30930 LIBS="-lgdk $LIBS"
30931 cat >conftest.$ac_ext <<_ACEOF
30932 /* confdefs.h. */
30933 _ACEOF
30934 cat confdefs.h >>conftest.$ac_ext
30935 cat >>conftest.$ac_ext <<_ACEOF
30936 /* end confdefs.h. */
30937
30938 /* Override any GCC internal prototype to avoid an error.
30939 Use char because int might match the return type of a GCC
30940 builtin and then its argument prototype would still apply. */
30941 #ifdef __cplusplus
30942 extern "C"
30943 #endif
30944 char gdk_im_open ();
30945 int
30946 main ()
30947 {
30948 return gdk_im_open ();
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (ac_try="$ac_link"
30955 case "(($ac_try" in
30956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30957 *) ac_try_echo=$ac_try;;
30958 esac
30959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30960 (eval "$ac_link") 2>conftest.er1
30961 ac_status=$?
30962 grep -v '^ *+' conftest.er1 >conftest.err
30963 rm -f conftest.er1
30964 cat conftest.err >&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); } && {
30967 test -z "$ac_c_werror_flag" ||
30968 test ! -s conftest.err
30969 } && test -s conftest$ac_exeext &&
30970 $as_test_x conftest$ac_exeext; then
30971 ac_cv_lib_gdk_gdk_im_open=yes
30972 else
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30975
30976 ac_cv_lib_gdk_gdk_im_open=no
30977 fi
30978
30979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30980 conftest$ac_exeext conftest.$ac_ext
30981 LIBS=$ac_check_lib_save_LIBS
30982 fi
30983 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30984 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30985 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30986 cat >>confdefs.h <<\_ACEOF
30987 #define HAVE_XIM 1
30988 _ACEOF
30989
30990 fi
30991
30992
30993 if test "$USE_DARWIN" != 1; then
30994
30995 for ac_func in poll
30996 do
30997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003 cat >conftest.$ac_ext <<_ACEOF
31004 /* confdefs.h. */
31005 _ACEOF
31006 cat confdefs.h >>conftest.$ac_ext
31007 cat >>conftest.$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31011 #define $ac_func innocuous_$ac_func
31012
31013 /* System header to define __stub macros and hopefully few prototypes,
31014 which can conflict with char $ac_func (); below.
31015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31016 <limits.h> exists even on freestanding compilers. */
31017
31018 #ifdef __STDC__
31019 # include <limits.h>
31020 #else
31021 # include <assert.h>
31022 #endif
31023
31024 #undef $ac_func
31025
31026 /* Override any GCC internal prototype to avoid an error.
31027 Use char because int might match the return type of a GCC
31028 builtin and then its argument prototype would still apply. */
31029 #ifdef __cplusplus
31030 extern "C"
31031 #endif
31032 char $ac_func ();
31033 /* The GNU C library defines this for functions which it implements
31034 to always fail with ENOSYS. Some functions are actually named
31035 something starting with __ and the normal name is an alias. */
31036 #if defined __stub_$ac_func || defined __stub___$ac_func
31037 choke me
31038 #endif
31039
31040 int
31041 main ()
31042 {
31043 return $ac_func ();
31044 ;
31045 return 0;
31046 }
31047 _ACEOF
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (ac_try="$ac_link"
31050 case "(($ac_try" in
31051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31052 *) ac_try_echo=$ac_try;;
31053 esac
31054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31055 (eval "$ac_link") 2>conftest.er1
31056 ac_status=$?
31057 grep -v '^ *+' conftest.er1 >conftest.err
31058 rm -f conftest.er1
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } && {
31062 test -z "$ac_c_werror_flag" ||
31063 test ! -s conftest.err
31064 } && test -s conftest$ac_exeext &&
31065 $as_test_x conftest$ac_exeext; then
31066 eval "$as_ac_var=yes"
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 eval "$as_ac_var=no"
31072 fi
31073
31074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31075 conftest$ac_exeext conftest.$ac_ext
31076 fi
31077 ac_res=`eval echo '${'$as_ac_var'}'`
31078 { echo "$as_me:$LINENO: result: $ac_res" >&5
31079 echo "${ECHO_T}$ac_res" >&6; }
31080 if test `eval echo '${'$as_ac_var'}'` = yes; then
31081 cat >>confdefs.h <<_ACEOF
31082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31083 _ACEOF
31084
31085 fi
31086 done
31087
31088 fi
31089 fi
31090
31091 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31092 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31093
31094 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31095
31096 AFMINSTALL=afminstall
31097 TOOLKIT=GTK
31098 GUIDIST=GTK_DIST
31099
31100 if test "$wxUSE_GPE" = "yes"; then
31101 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31102 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31103
31104 ac_find_libraries=
31105 for ac_dir in $SEARCH_LIB
31106 do
31107 for ac_extension in a so sl dylib dll.a; do
31108 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31109 ac_find_libraries=$ac_dir
31110 break 2
31111 fi
31112 done
31113 done
31114
31115 if test "$ac_find_libraries" != "" ; then
31116
31117 if test "$ac_find_libraries" = "default location"; then
31118 ac_path_to_link=""
31119 else
31120 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31121 result=$?
31122 if test $result = 0; then
31123 ac_path_to_link=""
31124 else
31125 ac_path_to_link=" -L$ac_find_libraries"
31126 fi
31127 fi
31128
31129 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31130 WXGPE=1
31131 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31132 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31133 else
31134 { echo "$as_me:$LINENO: result: not found" >&5
31135 echo "${ECHO_T}not found" >&6; }
31136 fi
31137
31138 fi
31139 fi
31140
31141 if test "$wxUSE_MGL" = 1; then
31142 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31143 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31144 if test "x$MGL_ROOT" = x ; then
31145 { echo "$as_me:$LINENO: result: not found" >&5
31146 echo "${ECHO_T}not found" >&6; }
31147 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31148 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31149 { (exit 1); exit 1; }; }
31150 else
31151 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31152 echo "${ECHO_T}$MGL_ROOT" >&6; }
31153 fi
31154
31155 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31156 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31157 case "${host}" in
31158 *-*-linux* )
31159 if test "x$wxUSE_SHARED" = xyes ; then
31160 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31161 else
31162 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31163 fi
31164 ;;
31165 *-pc-msdosdjgpp )
31166 mgl_os_candidates="dos32/dj2"
31167 ;;
31168 *)
31169 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31170 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31171 { (exit 1); exit 1; }; }
31172 esac
31173
31174 mgl_lib_type=""
31175 mgl_os=""
31176
31177 for mgl_os_i in $mgl_os_candidates ; do
31178 if test "x$mgl_os" = x ; then
31179 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31180 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31181 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31182 mgl_lib_type=debug
31183 mgl_os=$mgl_os_i
31184 fi
31185 fi
31186 if test "x$mgl_lib_type" = x ; then
31187 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31188 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31189 mgl_lib_type=release
31190 mgl_os=$mgl_os_i
31191 fi
31192 fi
31193 fi
31194 done
31195
31196 if test "x$mgl_os" = x ; then
31197 { echo "$as_me:$LINENO: result: not found" >&5
31198 echo "${ECHO_T}not found" >&6; }
31199 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31200 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31201 { (exit 1); exit 1; }; }
31202 fi
31203 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31204 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31205
31206 wxUSE_UNIVERSAL="yes"
31207
31208 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31209 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31210
31211 AFMINSTALL=afminstall
31212 TOOLKIT=MGL
31213 GUIDIST=MGL_DIST
31214 fi
31215
31216 if test "$wxUSE_DFB" = 1; then
31217
31218
31219 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31220 if test -n "$ac_tool_prefix"; then
31221 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31222 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31225 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31226 echo $ECHO_N "(cached) $ECHO_C" >&6
31227 else
31228 case $PKG_CONFIG in
31229 [\\/]* | ?:[\\/]*)
31230 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31231 ;;
31232 *)
31233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31234 for as_dir in $PATH
31235 do
31236 IFS=$as_save_IFS
31237 test -z "$as_dir" && as_dir=.
31238 for ac_exec_ext in '' $ac_executable_extensions; do
31239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31240 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31242 break 2
31243 fi
31244 done
31245 done
31246 IFS=$as_save_IFS
31247
31248 ;;
31249 esac
31250 fi
31251 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31252 if test -n "$PKG_CONFIG"; then
31253 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31254 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31255 else
31256 { echo "$as_me:$LINENO: result: no" >&5
31257 echo "${ECHO_T}no" >&6; }
31258 fi
31259
31260
31261 fi
31262 if test -z "$ac_cv_path_PKG_CONFIG"; then
31263 ac_pt_PKG_CONFIG=$PKG_CONFIG
31264 # Extract the first word of "pkg-config", so it can be a program name with args.
31265 set dummy pkg-config; ac_word=$2
31266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31268 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271 case $ac_pt_PKG_CONFIG in
31272 [\\/]* | ?:[\\/]*)
31273 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31274 ;;
31275 *)
31276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31277 for as_dir in $PATH
31278 do
31279 IFS=$as_save_IFS
31280 test -z "$as_dir" && as_dir=.
31281 for ac_exec_ext in '' $ac_executable_extensions; do
31282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31283 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31285 break 2
31286 fi
31287 done
31288 done
31289 IFS=$as_save_IFS
31290
31291 ;;
31292 esac
31293 fi
31294 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31295 if test -n "$ac_pt_PKG_CONFIG"; then
31296 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31297 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31298 else
31299 { echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6; }
31301 fi
31302
31303 if test "x$ac_pt_PKG_CONFIG" = x; then
31304 PKG_CONFIG=""
31305 else
31306 case $cross_compiling:$ac_tool_warned in
31307 yes:)
31308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31309 whose name does not start with the host triplet. If you think this
31310 configuration is useful to you, please write to autoconf@gnu.org." >&5
31311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31312 whose name does not start with the host triplet. If you think this
31313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31314 ac_tool_warned=yes ;;
31315 esac
31316 PKG_CONFIG=$ac_pt_PKG_CONFIG
31317 fi
31318 else
31319 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31320 fi
31321
31322 fi
31323 if test -n "$PKG_CONFIG"; then
31324 _pkg_min_version=0.9.0
31325 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31326 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31327 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31328 { echo "$as_me:$LINENO: result: yes" >&5
31329 echo "${ECHO_T}yes" >&6; }
31330 else
31331 { echo "$as_me:$LINENO: result: no" >&5
31332 echo "${ECHO_T}no" >&6; }
31333 PKG_CONFIG=""
31334 fi
31335
31336 fi
31337
31338
31339 pkg_failed=no
31340 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31341 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31342
31343 if test -n "$PKG_CONFIG"; then
31344 if test -n "$DIRECTFB_CFLAGS"; then
31345 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31346 else
31347 if test -n "$PKG_CONFIG" && \
31348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31349 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31350 ac_status=$?
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); }; then
31353 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31354 else
31355 pkg_failed=yes
31356 fi
31357 fi
31358 else
31359 pkg_failed=untried
31360 fi
31361 if test -n "$PKG_CONFIG"; then
31362 if test -n "$DIRECTFB_LIBS"; then
31363 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31364 else
31365 if test -n "$PKG_CONFIG" && \
31366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31367 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31368 ac_status=$?
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; then
31371 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31372 else
31373 pkg_failed=yes
31374 fi
31375 fi
31376 else
31377 pkg_failed=untried
31378 fi
31379
31380
31381
31382 if test $pkg_failed = yes; then
31383
31384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31385 _pkg_short_errors_supported=yes
31386 else
31387 _pkg_short_errors_supported=no
31388 fi
31389 if test $_pkg_short_errors_supported = yes; then
31390 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31391 else
31392 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31393 fi
31394 # Put the nasty error message in config.log where it belongs
31395 echo "$DIRECTFB_PKG_ERRORS" >&5
31396
31397
31398 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31399 echo "$as_me: error: DirectFB not found." >&2;}
31400 { (exit 1); exit 1; }; }
31401
31402
31403 elif test $pkg_failed = untried; then
31404
31405 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31406 echo "$as_me: error: DirectFB not found." >&2;}
31407 { (exit 1); exit 1; }; }
31408
31409
31410 else
31411 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31412 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31413 { echo "$as_me:$LINENO: result: yes" >&5
31414 echo "${ECHO_T}yes" >&6; }
31415
31416 wxUSE_UNIVERSAL="yes"
31417 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31418 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31419 TOOLKIT=DFB
31420 GUIDIST=DFB_DIST
31421
31422 fi
31423 fi
31424
31425 if test "$wxUSE_MICROWIN" = 1; then
31426 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31427 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31428 if test "x$MICROWINDOWS" = x ; then
31429 { echo "$as_me:$LINENO: result: not found" >&5
31430 echo "${ECHO_T}not found" >&6; }
31431 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31432 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31433 { (exit 1); exit 1; }; }
31434 else
31435 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31436 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31437 fi
31438
31439 if test -f $MICROWINDOWS/lib/libmwin.a; then
31440 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31441 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31442 else
31443 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31444 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31445 { (exit 1); exit 1; }; }
31446 fi
31447
31448 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31449 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31450
31451 wxUSE_UNIVERSAL="yes"
31452
31453 AFMINSTALL=afminstall
31454 TOOLKIT=MICROWIN
31455 GUIDIST=MICROWIN_DIST
31456
31457 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31458 fi
31459
31460 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31461 { echo "$as_me:$LINENO: checking for X" >&5
31462 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31463
31464
31465 # Check whether --with-x was given.
31466 if test "${with_x+set}" = set; then
31467 withval=$with_x;
31468 fi
31469
31470 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31471 if test "x$with_x" = xno; then
31472 # The user explicitly disabled X.
31473 have_x=disabled
31474 else
31475 case $x_includes,$x_libraries in #(
31476 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31477 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31478 { (exit 1); exit 1; }; };; #(
31479 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31481 else
31482 # One or both of the vars are not set, and there is no cached value.
31483 ac_x_includes=no ac_x_libraries=no
31484 rm -f -r conftest.dir
31485 if mkdir conftest.dir; then
31486 cd conftest.dir
31487 cat >Imakefile <<'_ACEOF'
31488 incroot:
31489 @echo incroot='${INCROOT}'
31490 usrlibdir:
31491 @echo usrlibdir='${USRLIBDIR}'
31492 libdir:
31493 @echo libdir='${LIBDIR}'
31494 _ACEOF
31495 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31496 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31497 for ac_var in incroot usrlibdir libdir; do
31498 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31499 done
31500 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31501 for ac_extension in a so sl; do
31502 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31503 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31504 ac_im_usrlibdir=$ac_im_libdir; break
31505 fi
31506 done
31507 # Screen out bogus values from the imake configuration. They are
31508 # bogus both because they are the default anyway, and because
31509 # using them would break gcc on systems where it needs fixed includes.
31510 case $ac_im_incroot in
31511 /usr/include) ac_x_includes= ;;
31512 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31513 esac
31514 case $ac_im_usrlibdir in
31515 /usr/lib | /lib) ;;
31516 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31517 esac
31518 fi
31519 cd ..
31520 rm -f -r conftest.dir
31521 fi
31522
31523 # Standard set of common directories for X headers.
31524 # Check X11 before X11Rn because it is often a symlink to the current release.
31525 ac_x_header_dirs='
31526 /usr/X11/include
31527 /usr/X11R6/include
31528 /usr/X11R5/include
31529 /usr/X11R4/include
31530
31531 /usr/include/X11
31532 /usr/include/X11R6
31533 /usr/include/X11R5
31534 /usr/include/X11R4
31535
31536 /usr/local/X11/include
31537 /usr/local/X11R6/include
31538 /usr/local/X11R5/include
31539 /usr/local/X11R4/include
31540
31541 /usr/local/include/X11
31542 /usr/local/include/X11R6
31543 /usr/local/include/X11R5
31544 /usr/local/include/X11R4
31545
31546 /usr/X386/include
31547 /usr/x386/include
31548 /usr/XFree86/include/X11
31549
31550 /usr/include
31551 /usr/local/include
31552 /usr/unsupported/include
31553 /usr/athena/include
31554 /usr/local/x11r5/include
31555 /usr/lpp/Xamples/include
31556
31557 /usr/openwin/include
31558 /usr/openwin/share/include'
31559
31560 if test "$ac_x_includes" = no; then
31561 # Guess where to find include files, by looking for Xlib.h.
31562 # First, try using that file with no special directory specified.
31563 cat >conftest.$ac_ext <<_ACEOF
31564 /* confdefs.h. */
31565 _ACEOF
31566 cat confdefs.h >>conftest.$ac_ext
31567 cat >>conftest.$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569 #include <X11/Xlib.h>
31570 _ACEOF
31571 if { (ac_try="$ac_cpp conftest.$ac_ext"
31572 case "(($ac_try" in
31573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31574 *) ac_try_echo=$ac_try;;
31575 esac
31576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31578 ac_status=$?
31579 grep -v '^ *+' conftest.er1 >conftest.err
31580 rm -f conftest.er1
31581 cat conftest.err >&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } >/dev/null && {
31584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31585 test ! -s conftest.err
31586 }; then
31587 # We can compile using X headers with no special include directory.
31588 ac_x_includes=
31589 else
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.$ac_ext >&5
31592
31593 for ac_dir in $ac_x_header_dirs; do
31594 if test -r "$ac_dir/X11/Xlib.h"; then
31595 ac_x_includes=$ac_dir
31596 break
31597 fi
31598 done
31599 fi
31600
31601 rm -f conftest.err conftest.$ac_ext
31602 fi # $ac_x_includes = no
31603
31604 if test "$ac_x_libraries" = no; then
31605 # Check for the libraries.
31606 # See if we find them without any special options.
31607 # Don't add to $LIBS permanently.
31608 ac_save_LIBS=$LIBS
31609 LIBS="-lX11 $LIBS"
31610 cat >conftest.$ac_ext <<_ACEOF
31611 /* confdefs.h. */
31612 _ACEOF
31613 cat confdefs.h >>conftest.$ac_ext
31614 cat >>conftest.$ac_ext <<_ACEOF
31615 /* end confdefs.h. */
31616 #include <X11/Xlib.h>
31617 int
31618 main ()
31619 {
31620 XrmInitialize ()
31621 ;
31622 return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (ac_try="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31630 esac
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest$ac_exeext &&
31642 $as_test_x conftest$ac_exeext; then
31643 LIBS=$ac_save_LIBS
31644 # We can link X programs with no special library path.
31645 ac_x_libraries=
31646 else
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31649
31650 LIBS=$ac_save_LIBS
31651 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31652 do
31653 # Don't even attempt the hair of trying to link an X program!
31654 for ac_extension in a so sl; do
31655 if test -r "$ac_dir/libX11.$ac_extension"; then
31656 ac_x_libraries=$ac_dir
31657 break 2
31658 fi
31659 done
31660 done
31661 fi
31662
31663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31664 conftest$ac_exeext conftest.$ac_ext
31665 fi # $ac_x_libraries = no
31666
31667 case $ac_x_includes,$ac_x_libraries in #(
31668 no,* | *,no | *\'*)
31669 # Didn't find X, or a directory has "'" in its name.
31670 ac_cv_have_x="have_x=no";; #(
31671 *)
31672 # Record where we found X for the cache.
31673 ac_cv_have_x="have_x=yes\
31674 ac_x_includes='$ac_x_includes'\
31675 ac_x_libraries='$ac_x_libraries'"
31676 esac
31677 fi
31678 ;; #(
31679 *) have_x=yes;;
31680 esac
31681 eval "$ac_cv_have_x"
31682 fi # $with_x != no
31683
31684 if test "$have_x" != yes; then
31685 { echo "$as_me:$LINENO: result: $have_x" >&5
31686 echo "${ECHO_T}$have_x" >&6; }
31687 no_x=yes
31688 else
31689 # If each of the values was on the command line, it overrides each guess.
31690 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31691 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31692 # Update the cache value to reflect the command line values.
31693 ac_cv_have_x="have_x=yes\
31694 ac_x_includes='$x_includes'\
31695 ac_x_libraries='$x_libraries'"
31696 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31697 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31698 fi
31699
31700 if test "$no_x" = yes; then
31701 # Not all programs may use this symbol, but it does not hurt to define it.
31702
31703 cat >>confdefs.h <<\_ACEOF
31704 #define X_DISPLAY_MISSING 1
31705 _ACEOF
31706
31707 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31708 else
31709 if test -n "$x_includes"; then
31710 X_CFLAGS="$X_CFLAGS -I$x_includes"
31711 fi
31712
31713 # It would also be nice to do this for all -L options, not just this one.
31714 if test -n "$x_libraries"; then
31715 X_LIBS="$X_LIBS -L$x_libraries"
31716 # For Solaris; some versions of Sun CC require a space after -R and
31717 # others require no space. Words are not sufficient . . . .
31718 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31719 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31720 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31721 ac_xsave_c_werror_flag=$ac_c_werror_flag
31722 ac_c_werror_flag=yes
31723 cat >conftest.$ac_ext <<_ACEOF
31724 /* confdefs.h. */
31725 _ACEOF
31726 cat confdefs.h >>conftest.$ac_ext
31727 cat >>conftest.$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729
31730 int
31731 main ()
31732 {
31733
31734 ;
31735 return 0;
31736 }
31737 _ACEOF
31738 rm -f conftest.$ac_objext conftest$ac_exeext
31739 if { (ac_try="$ac_link"
31740 case "(($ac_try" in
31741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31742 *) ac_try_echo=$ac_try;;
31743 esac
31744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31745 (eval "$ac_link") 2>conftest.er1
31746 ac_status=$?
31747 grep -v '^ *+' conftest.er1 >conftest.err
31748 rm -f conftest.er1
31749 cat conftest.err >&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); } && {
31752 test -z "$ac_c_werror_flag" ||
31753 test ! -s conftest.err
31754 } && test -s conftest$ac_exeext &&
31755 $as_test_x conftest$ac_exeext; then
31756 { echo "$as_me:$LINENO: result: no" >&5
31757 echo "${ECHO_T}no" >&6; }
31758 X_LIBS="$X_LIBS -R$x_libraries"
31759 else
31760 echo "$as_me: failed program was:" >&5
31761 sed 's/^/| /' conftest.$ac_ext >&5
31762
31763 LIBS="$ac_xsave_LIBS -R $x_libraries"
31764 cat >conftest.$ac_ext <<_ACEOF
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770
31771 int
31772 main ()
31773 {
31774
31775 ;
31776 return 0;
31777 }
31778 _ACEOF
31779 rm -f conftest.$ac_objext conftest$ac_exeext
31780 if { (ac_try="$ac_link"
31781 case "(($ac_try" in
31782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31783 *) ac_try_echo=$ac_try;;
31784 esac
31785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31786 (eval "$ac_link") 2>conftest.er1
31787 ac_status=$?
31788 grep -v '^ *+' conftest.er1 >conftest.err
31789 rm -f conftest.er1
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } && {
31793 test -z "$ac_c_werror_flag" ||
31794 test ! -s conftest.err
31795 } && test -s conftest$ac_exeext &&
31796 $as_test_x conftest$ac_exeext; then
31797 { echo "$as_me:$LINENO: result: yes" >&5
31798 echo "${ECHO_T}yes" >&6; }
31799 X_LIBS="$X_LIBS -R $x_libraries"
31800 else
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31803
31804 { echo "$as_me:$LINENO: result: neither works" >&5
31805 echo "${ECHO_T}neither works" >&6; }
31806 fi
31807
31808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31809 conftest$ac_exeext conftest.$ac_ext
31810 fi
31811
31812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31813 conftest$ac_exeext conftest.$ac_ext
31814 ac_c_werror_flag=$ac_xsave_c_werror_flag
31815 LIBS=$ac_xsave_LIBS
31816 fi
31817
31818 # Check for system-dependent libraries X programs must link with.
31819 # Do this before checking for the system-independent R6 libraries
31820 # (-lICE), since we may need -lsocket or whatever for X linking.
31821
31822 if test "$ISC" = yes; then
31823 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31824 else
31825 # Martyn Johnson says this is needed for Ultrix, if the X
31826 # libraries were built with DECnet support. And Karl Berry says
31827 # the Alpha needs dnet_stub (dnet does not exist).
31828 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31829 cat >conftest.$ac_ext <<_ACEOF
31830 /* confdefs.h. */
31831 _ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h. */
31835
31836 /* Override any GCC internal prototype to avoid an error.
31837 Use char because int might match the return type of a GCC
31838 builtin and then its argument prototype would still apply. */
31839 #ifdef __cplusplus
31840 extern "C"
31841 #endif
31842 char XOpenDisplay ();
31843 int
31844 main ()
31845 {
31846 return XOpenDisplay ();
31847 ;
31848 return 0;
31849 }
31850 _ACEOF
31851 rm -f conftest.$ac_objext conftest$ac_exeext
31852 if { (ac_try="$ac_link"
31853 case "(($ac_try" in
31854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31855 *) ac_try_echo=$ac_try;;
31856 esac
31857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31858 (eval "$ac_link") 2>conftest.er1
31859 ac_status=$?
31860 grep -v '^ *+' conftest.er1 >conftest.err
31861 rm -f conftest.er1
31862 cat conftest.err >&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } && {
31865 test -z "$ac_c_werror_flag" ||
31866 test ! -s conftest.err
31867 } && test -s conftest$ac_exeext &&
31868 $as_test_x conftest$ac_exeext; then
31869 :
31870 else
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.$ac_ext >&5
31873
31874 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31875 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31876 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31877 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 else
31879 ac_check_lib_save_LIBS=$LIBS
31880 LIBS="-ldnet $LIBS"
31881 cat >conftest.$ac_ext <<_ACEOF
31882 /* confdefs.h. */
31883 _ACEOF
31884 cat confdefs.h >>conftest.$ac_ext
31885 cat >>conftest.$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887
31888 /* Override any GCC internal prototype to avoid an error.
31889 Use char because int might match the return type of a GCC
31890 builtin and then its argument prototype would still apply. */
31891 #ifdef __cplusplus
31892 extern "C"
31893 #endif
31894 char dnet_ntoa ();
31895 int
31896 main ()
31897 {
31898 return dnet_ntoa ();
31899 ;
31900 return 0;
31901 }
31902 _ACEOF
31903 rm -f conftest.$ac_objext conftest$ac_exeext
31904 if { (ac_try="$ac_link"
31905 case "(($ac_try" in
31906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31907 *) ac_try_echo=$ac_try;;
31908 esac
31909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31910 (eval "$ac_link") 2>conftest.er1
31911 ac_status=$?
31912 grep -v '^ *+' conftest.er1 >conftest.err
31913 rm -f conftest.er1
31914 cat conftest.err >&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); } && {
31917 test -z "$ac_c_werror_flag" ||
31918 test ! -s conftest.err
31919 } && test -s conftest$ac_exeext &&
31920 $as_test_x conftest$ac_exeext; then
31921 ac_cv_lib_dnet_dnet_ntoa=yes
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31925
31926 ac_cv_lib_dnet_dnet_ntoa=no
31927 fi
31928
31929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31930 conftest$ac_exeext conftest.$ac_ext
31931 LIBS=$ac_check_lib_save_LIBS
31932 fi
31933 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31934 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31935 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31937 fi
31938
31939 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31940 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31941 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31942 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31943 echo $ECHO_N "(cached) $ECHO_C" >&6
31944 else
31945 ac_check_lib_save_LIBS=$LIBS
31946 LIBS="-ldnet_stub $LIBS"
31947 cat >conftest.$ac_ext <<_ACEOF
31948 /* confdefs.h. */
31949 _ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31953
31954 /* Override any GCC internal prototype to avoid an error.
31955 Use char because int might match the return type of a GCC
31956 builtin and then its argument prototype would still apply. */
31957 #ifdef __cplusplus
31958 extern "C"
31959 #endif
31960 char dnet_ntoa ();
31961 int
31962 main ()
31963 {
31964 return dnet_ntoa ();
31965 ;
31966 return 0;
31967 }
31968 _ACEOF
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (ac_try="$ac_link"
31971 case "(($ac_try" in
31972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31973 *) ac_try_echo=$ac_try;;
31974 esac
31975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31976 (eval "$ac_link") 2>conftest.er1
31977 ac_status=$?
31978 grep -v '^ *+' conftest.er1 >conftest.err
31979 rm -f conftest.er1
31980 cat conftest.err >&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); } && {
31983 test -z "$ac_c_werror_flag" ||
31984 test ! -s conftest.err
31985 } && test -s conftest$ac_exeext &&
31986 $as_test_x conftest$ac_exeext; then
31987 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31988 else
31989 echo "$as_me: failed program was:" >&5
31990 sed 's/^/| /' conftest.$ac_ext >&5
31991
31992 ac_cv_lib_dnet_stub_dnet_ntoa=no
31993 fi
31994
31995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31996 conftest$ac_exeext conftest.$ac_ext
31997 LIBS=$ac_check_lib_save_LIBS
31998 fi
31999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32000 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32001 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32002 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32003 fi
32004
32005 fi
32006 fi
32007
32008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32009 conftest$ac_exeext conftest.$ac_ext
32010 LIBS="$ac_xsave_LIBS"
32011
32012 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32013 # to get the SysV transport functions.
32014 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32015 # needs -lnsl.
32016 # The nsl library prevents programs from opening the X display
32017 # on Irix 5.2, according to T.E. Dickey.
32018 # The functions gethostbyname, getservbyname, and inet_addr are
32019 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32020 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32021 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32022 if test "${ac_cv_func_gethostbyname+set}" = set; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32024 else
32025 cat >conftest.$ac_ext <<_ACEOF
32026 /* confdefs.h. */
32027 _ACEOF
32028 cat confdefs.h >>conftest.$ac_ext
32029 cat >>conftest.$ac_ext <<_ACEOF
32030 /* end confdefs.h. */
32031 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32033 #define gethostbyname innocuous_gethostbyname
32034
32035 /* System header to define __stub macros and hopefully few prototypes,
32036 which can conflict with char gethostbyname (); below.
32037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32038 <limits.h> exists even on freestanding compilers. */
32039
32040 #ifdef __STDC__
32041 # include <limits.h>
32042 #else
32043 # include <assert.h>
32044 #endif
32045
32046 #undef gethostbyname
32047
32048 /* Override any GCC internal prototype to avoid an error.
32049 Use char because int might match the return type of a GCC
32050 builtin and then its argument prototype would still apply. */
32051 #ifdef __cplusplus
32052 extern "C"
32053 #endif
32054 char gethostbyname ();
32055 /* The GNU C library defines this for functions which it implements
32056 to always fail with ENOSYS. Some functions are actually named
32057 something starting with __ and the normal name is an alias. */
32058 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32059 choke me
32060 #endif
32061
32062 int
32063 main ()
32064 {
32065 return gethostbyname ();
32066 ;
32067 return 0;
32068 }
32069 _ACEOF
32070 rm -f conftest.$ac_objext conftest$ac_exeext
32071 if { (ac_try="$ac_link"
32072 case "(($ac_try" in
32073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32074 *) ac_try_echo=$ac_try;;
32075 esac
32076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32077 (eval "$ac_link") 2>conftest.er1
32078 ac_status=$?
32079 grep -v '^ *+' conftest.er1 >conftest.err
32080 rm -f conftest.er1
32081 cat conftest.err >&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); } && {
32084 test -z "$ac_c_werror_flag" ||
32085 test ! -s conftest.err
32086 } && test -s conftest$ac_exeext &&
32087 $as_test_x conftest$ac_exeext; then
32088 ac_cv_func_gethostbyname=yes
32089 else
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32092
32093 ac_cv_func_gethostbyname=no
32094 fi
32095
32096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32097 conftest$ac_exeext conftest.$ac_ext
32098 fi
32099 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32100 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32101
32102 if test $ac_cv_func_gethostbyname = no; then
32103 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32104 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32105 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32106 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 else
32108 ac_check_lib_save_LIBS=$LIBS
32109 LIBS="-lnsl $LIBS"
32110 cat >conftest.$ac_ext <<_ACEOF
32111 /* confdefs.h. */
32112 _ACEOF
32113 cat confdefs.h >>conftest.$ac_ext
32114 cat >>conftest.$ac_ext <<_ACEOF
32115 /* end confdefs.h. */
32116
32117 /* Override any GCC internal prototype to avoid an error.
32118 Use char because int might match the return type of a GCC
32119 builtin and then its argument prototype would still apply. */
32120 #ifdef __cplusplus
32121 extern "C"
32122 #endif
32123 char gethostbyname ();
32124 int
32125 main ()
32126 {
32127 return gethostbyname ();
32128 ;
32129 return 0;
32130 }
32131 _ACEOF
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (ac_try="$ac_link"
32134 case "(($ac_try" in
32135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32136 *) ac_try_echo=$ac_try;;
32137 esac
32138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 (eval "$ac_link") 2>conftest.er1
32140 ac_status=$?
32141 grep -v '^ *+' conftest.er1 >conftest.err
32142 rm -f conftest.er1
32143 cat conftest.err >&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } && {
32146 test -z "$ac_c_werror_flag" ||
32147 test ! -s conftest.err
32148 } && test -s conftest$ac_exeext &&
32149 $as_test_x conftest$ac_exeext; then
32150 ac_cv_lib_nsl_gethostbyname=yes
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 ac_cv_lib_nsl_gethostbyname=no
32156 fi
32157
32158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32159 conftest$ac_exeext conftest.$ac_ext
32160 LIBS=$ac_check_lib_save_LIBS
32161 fi
32162 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32163 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32164 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32166 fi
32167
32168 if test $ac_cv_lib_nsl_gethostbyname = no; then
32169 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32170 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32171 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32172 echo $ECHO_N "(cached) $ECHO_C" >&6
32173 else
32174 ac_check_lib_save_LIBS=$LIBS
32175 LIBS="-lbsd $LIBS"
32176 cat >conftest.$ac_ext <<_ACEOF
32177 /* confdefs.h. */
32178 _ACEOF
32179 cat confdefs.h >>conftest.$ac_ext
32180 cat >>conftest.$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182
32183 /* Override any GCC internal prototype to avoid an error.
32184 Use char because int might match the return type of a GCC
32185 builtin and then its argument prototype would still apply. */
32186 #ifdef __cplusplus
32187 extern "C"
32188 #endif
32189 char gethostbyname ();
32190 int
32191 main ()
32192 {
32193 return gethostbyname ();
32194 ;
32195 return 0;
32196 }
32197 _ACEOF
32198 rm -f conftest.$ac_objext conftest$ac_exeext
32199 if { (ac_try="$ac_link"
32200 case "(($ac_try" in
32201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32202 *) ac_try_echo=$ac_try;;
32203 esac
32204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205 (eval "$ac_link") 2>conftest.er1
32206 ac_status=$?
32207 grep -v '^ *+' conftest.er1 >conftest.err
32208 rm -f conftest.er1
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } && {
32212 test -z "$ac_c_werror_flag" ||
32213 test ! -s conftest.err
32214 } && test -s conftest$ac_exeext &&
32215 $as_test_x conftest$ac_exeext; then
32216 ac_cv_lib_bsd_gethostbyname=yes
32217 else
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.$ac_ext >&5
32220
32221 ac_cv_lib_bsd_gethostbyname=no
32222 fi
32223
32224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32225 conftest$ac_exeext conftest.$ac_ext
32226 LIBS=$ac_check_lib_save_LIBS
32227 fi
32228 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32229 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32230 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32232 fi
32233
32234 fi
32235 fi
32236
32237 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32238 # socket/setsockopt and other routines are undefined under SCO ODT
32239 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32240 # on later versions), says Simon Leinen: it contains gethostby*
32241 # variants that don't use the name server (or something). -lsocket
32242 # must be given before -lnsl if both are needed. We assume that
32243 # if connect needs -lnsl, so does gethostbyname.
32244 { echo "$as_me:$LINENO: checking for connect" >&5
32245 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32246 if test "${ac_cv_func_connect+set}" = set; then
32247 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 else
32249 cat >conftest.$ac_ext <<_ACEOF
32250 /* confdefs.h. */
32251 _ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h. */
32255 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32257 #define connect innocuous_connect
32258
32259 /* System header to define __stub macros and hopefully few prototypes,
32260 which can conflict with char connect (); below.
32261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32262 <limits.h> exists even on freestanding compilers. */
32263
32264 #ifdef __STDC__
32265 # include <limits.h>
32266 #else
32267 # include <assert.h>
32268 #endif
32269
32270 #undef connect
32271
32272 /* Override any GCC internal prototype to avoid an error.
32273 Use char because int might match the return type of a GCC
32274 builtin and then its argument prototype would still apply. */
32275 #ifdef __cplusplus
32276 extern "C"
32277 #endif
32278 char connect ();
32279 /* The GNU C library defines this for functions which it implements
32280 to always fail with ENOSYS. Some functions are actually named
32281 something starting with __ and the normal name is an alias. */
32282 #if defined __stub_connect || defined __stub___connect
32283 choke me
32284 #endif
32285
32286 int
32287 main ()
32288 {
32289 return connect ();
32290 ;
32291 return 0;
32292 }
32293 _ACEOF
32294 rm -f conftest.$ac_objext conftest$ac_exeext
32295 if { (ac_try="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32298 *) ac_try_echo=$ac_try;;
32299 esac
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32302 ac_status=$?
32303 grep -v '^ *+' conftest.er1 >conftest.err
32304 rm -f conftest.er1
32305 cat conftest.err >&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest$ac_exeext &&
32311 $as_test_x conftest$ac_exeext; then
32312 ac_cv_func_connect=yes
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317 ac_cv_func_connect=no
32318 fi
32319
32320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32321 conftest$ac_exeext conftest.$ac_ext
32322 fi
32323 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32324 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32325
32326 if test $ac_cv_func_connect = no; then
32327 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32328 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32329 if test "${ac_cv_lib_socket_connect+set}" = set; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 else
32332 ac_check_lib_save_LIBS=$LIBS
32333 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32334 cat >conftest.$ac_ext <<_ACEOF
32335 /* confdefs.h. */
32336 _ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32340
32341 /* Override any GCC internal prototype to avoid an error.
32342 Use char because int might match the return type of a GCC
32343 builtin and then its argument prototype would still apply. */
32344 #ifdef __cplusplus
32345 extern "C"
32346 #endif
32347 char connect ();
32348 int
32349 main ()
32350 {
32351 return connect ();
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 rm -f conftest.$ac_objext conftest$ac_exeext
32357 if { (ac_try="$ac_link"
32358 case "(($ac_try" in
32359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32360 *) ac_try_echo=$ac_try;;
32361 esac
32362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32363 (eval "$ac_link") 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } && {
32370 test -z "$ac_c_werror_flag" ||
32371 test ! -s conftest.err
32372 } && test -s conftest$ac_exeext &&
32373 $as_test_x conftest$ac_exeext; then
32374 ac_cv_lib_socket_connect=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_cv_lib_socket_connect=no
32380 fi
32381
32382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32383 conftest$ac_exeext conftest.$ac_ext
32384 LIBS=$ac_check_lib_save_LIBS
32385 fi
32386 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32387 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32388 if test $ac_cv_lib_socket_connect = yes; then
32389 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32390 fi
32391
32392 fi
32393
32394 # Guillermo Gomez says -lposix is necessary on A/UX.
32395 { echo "$as_me:$LINENO: checking for remove" >&5
32396 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32397 if test "${ac_cv_func_remove+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32399 else
32400 cat >conftest.$ac_ext <<_ACEOF
32401 /* confdefs.h. */
32402 _ACEOF
32403 cat confdefs.h >>conftest.$ac_ext
32404 cat >>conftest.$ac_ext <<_ACEOF
32405 /* end confdefs.h. */
32406 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32408 #define remove innocuous_remove
32409
32410 /* System header to define __stub macros and hopefully few prototypes,
32411 which can conflict with char remove (); below.
32412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32413 <limits.h> exists even on freestanding compilers. */
32414
32415 #ifdef __STDC__
32416 # include <limits.h>
32417 #else
32418 # include <assert.h>
32419 #endif
32420
32421 #undef remove
32422
32423 /* Override any GCC internal prototype to avoid an error.
32424 Use char because int might match the return type of a GCC
32425 builtin and then its argument prototype would still apply. */
32426 #ifdef __cplusplus
32427 extern "C"
32428 #endif
32429 char remove ();
32430 /* The GNU C library defines this for functions which it implements
32431 to always fail with ENOSYS. Some functions are actually named
32432 something starting with __ and the normal name is an alias. */
32433 #if defined __stub_remove || defined __stub___remove
32434 choke me
32435 #endif
32436
32437 int
32438 main ()
32439 {
32440 return remove ();
32441 ;
32442 return 0;
32443 }
32444 _ACEOF
32445 rm -f conftest.$ac_objext conftest$ac_exeext
32446 if { (ac_try="$ac_link"
32447 case "(($ac_try" in
32448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32449 *) ac_try_echo=$ac_try;;
32450 esac
32451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32452 (eval "$ac_link") 2>conftest.er1
32453 ac_status=$?
32454 grep -v '^ *+' conftest.er1 >conftest.err
32455 rm -f conftest.er1
32456 cat conftest.err >&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } && {
32459 test -z "$ac_c_werror_flag" ||
32460 test ! -s conftest.err
32461 } && test -s conftest$ac_exeext &&
32462 $as_test_x conftest$ac_exeext; then
32463 ac_cv_func_remove=yes
32464 else
32465 echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.$ac_ext >&5
32467
32468 ac_cv_func_remove=no
32469 fi
32470
32471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32472 conftest$ac_exeext conftest.$ac_ext
32473 fi
32474 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32475 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32476
32477 if test $ac_cv_func_remove = no; then
32478 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32479 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32480 if test "${ac_cv_lib_posix_remove+set}" = set; then
32481 echo $ECHO_N "(cached) $ECHO_C" >&6
32482 else
32483 ac_check_lib_save_LIBS=$LIBS
32484 LIBS="-lposix $LIBS"
32485 cat >conftest.$ac_ext <<_ACEOF
32486 /* confdefs.h. */
32487 _ACEOF
32488 cat confdefs.h >>conftest.$ac_ext
32489 cat >>conftest.$ac_ext <<_ACEOF
32490 /* end confdefs.h. */
32491
32492 /* Override any GCC internal prototype to avoid an error.
32493 Use char because int might match the return type of a GCC
32494 builtin and then its argument prototype would still apply. */
32495 #ifdef __cplusplus
32496 extern "C"
32497 #endif
32498 char remove ();
32499 int
32500 main ()
32501 {
32502 return remove ();
32503 ;
32504 return 0;
32505 }
32506 _ACEOF
32507 rm -f conftest.$ac_objext conftest$ac_exeext
32508 if { (ac_try="$ac_link"
32509 case "(($ac_try" in
32510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32511 *) ac_try_echo=$ac_try;;
32512 esac
32513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32514 (eval "$ac_link") 2>conftest.er1
32515 ac_status=$?
32516 grep -v '^ *+' conftest.er1 >conftest.err
32517 rm -f conftest.er1
32518 cat conftest.err >&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } && {
32521 test -z "$ac_c_werror_flag" ||
32522 test ! -s conftest.err
32523 } && test -s conftest$ac_exeext &&
32524 $as_test_x conftest$ac_exeext; then
32525 ac_cv_lib_posix_remove=yes
32526 else
32527 echo "$as_me: failed program was:" >&5
32528 sed 's/^/| /' conftest.$ac_ext >&5
32529
32530 ac_cv_lib_posix_remove=no
32531 fi
32532
32533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32534 conftest$ac_exeext conftest.$ac_ext
32535 LIBS=$ac_check_lib_save_LIBS
32536 fi
32537 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32538 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32539 if test $ac_cv_lib_posix_remove = yes; then
32540 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32541 fi
32542
32543 fi
32544
32545 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32546 { echo "$as_me:$LINENO: checking for shmat" >&5
32547 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32548 if test "${ac_cv_func_shmat+set}" = set; then
32549 echo $ECHO_N "(cached) $ECHO_C" >&6
32550 else
32551 cat >conftest.$ac_ext <<_ACEOF
32552 /* confdefs.h. */
32553 _ACEOF
32554 cat confdefs.h >>conftest.$ac_ext
32555 cat >>conftest.$ac_ext <<_ACEOF
32556 /* end confdefs.h. */
32557 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32559 #define shmat innocuous_shmat
32560
32561 /* System header to define __stub macros and hopefully few prototypes,
32562 which can conflict with char shmat (); below.
32563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32564 <limits.h> exists even on freestanding compilers. */
32565
32566 #ifdef __STDC__
32567 # include <limits.h>
32568 #else
32569 # include <assert.h>
32570 #endif
32571
32572 #undef shmat
32573
32574 /* Override any GCC internal prototype to avoid an error.
32575 Use char because int might match the return type of a GCC
32576 builtin and then its argument prototype would still apply. */
32577 #ifdef __cplusplus
32578 extern "C"
32579 #endif
32580 char shmat ();
32581 /* The GNU C library defines this for functions which it implements
32582 to always fail with ENOSYS. Some functions are actually named
32583 something starting with __ and the normal name is an alias. */
32584 #if defined __stub_shmat || defined __stub___shmat
32585 choke me
32586 #endif
32587
32588 int
32589 main ()
32590 {
32591 return shmat ();
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 rm -f conftest.$ac_objext conftest$ac_exeext
32597 if { (ac_try="$ac_link"
32598 case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32601 esac
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_link") 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } && {
32610 test -z "$ac_c_werror_flag" ||
32611 test ! -s conftest.err
32612 } && test -s conftest$ac_exeext &&
32613 $as_test_x conftest$ac_exeext; then
32614 ac_cv_func_shmat=yes
32615 else
32616 echo "$as_me: failed program was:" >&5
32617 sed 's/^/| /' conftest.$ac_ext >&5
32618
32619 ac_cv_func_shmat=no
32620 fi
32621
32622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32623 conftest$ac_exeext conftest.$ac_ext
32624 fi
32625 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32626 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32627
32628 if test $ac_cv_func_shmat = no; then
32629 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32630 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32631 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32633 else
32634 ac_check_lib_save_LIBS=$LIBS
32635 LIBS="-lipc $LIBS"
32636 cat >conftest.$ac_ext <<_ACEOF
32637 /* confdefs.h. */
32638 _ACEOF
32639 cat confdefs.h >>conftest.$ac_ext
32640 cat >>conftest.$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32642
32643 /* Override any GCC internal prototype to avoid an error.
32644 Use char because int might match the return type of a GCC
32645 builtin and then its argument prototype would still apply. */
32646 #ifdef __cplusplus
32647 extern "C"
32648 #endif
32649 char shmat ();
32650 int
32651 main ()
32652 {
32653 return shmat ();
32654 ;
32655 return 0;
32656 }
32657 _ACEOF
32658 rm -f conftest.$ac_objext conftest$ac_exeext
32659 if { (ac_try="$ac_link"
32660 case "(($ac_try" in
32661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32662 *) ac_try_echo=$ac_try;;
32663 esac
32664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32665 (eval "$ac_link") 2>conftest.er1
32666 ac_status=$?
32667 grep -v '^ *+' conftest.er1 >conftest.err
32668 rm -f conftest.er1
32669 cat conftest.err >&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } && {
32672 test -z "$ac_c_werror_flag" ||
32673 test ! -s conftest.err
32674 } && test -s conftest$ac_exeext &&
32675 $as_test_x conftest$ac_exeext; then
32676 ac_cv_lib_ipc_shmat=yes
32677 else
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32680
32681 ac_cv_lib_ipc_shmat=no
32682 fi
32683
32684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32685 conftest$ac_exeext conftest.$ac_ext
32686 LIBS=$ac_check_lib_save_LIBS
32687 fi
32688 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32689 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32690 if test $ac_cv_lib_ipc_shmat = yes; then
32691 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32692 fi
32693
32694 fi
32695 fi
32696
32697 # Check for libraries that X11R6 Xt/Xaw programs need.
32698 ac_save_LDFLAGS=$LDFLAGS
32699 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32700 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32701 # check for ICE first), but we must link in the order -lSM -lICE or
32702 # we get undefined symbols. So assume we have SM if we have ICE.
32703 # These have to be linked with before -lX11, unlike the other
32704 # libraries we check for below, so use a different variable.
32705 # John Interrante, Karl Berry
32706 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32707 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32708 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32710 else
32711 ac_check_lib_save_LIBS=$LIBS
32712 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32713 cat >conftest.$ac_ext <<_ACEOF
32714 /* confdefs.h. */
32715 _ACEOF
32716 cat confdefs.h >>conftest.$ac_ext
32717 cat >>conftest.$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719
32720 /* Override any GCC internal prototype to avoid an error.
32721 Use char because int might match the return type of a GCC
32722 builtin and then its argument prototype would still apply. */
32723 #ifdef __cplusplus
32724 extern "C"
32725 #endif
32726 char IceConnectionNumber ();
32727 int
32728 main ()
32729 {
32730 return IceConnectionNumber ();
32731 ;
32732 return 0;
32733 }
32734 _ACEOF
32735 rm -f conftest.$ac_objext conftest$ac_exeext
32736 if { (ac_try="$ac_link"
32737 case "(($ac_try" in
32738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32739 *) ac_try_echo=$ac_try;;
32740 esac
32741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32742 (eval "$ac_link") 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } && {
32749 test -z "$ac_c_werror_flag" ||
32750 test ! -s conftest.err
32751 } && test -s conftest$ac_exeext &&
32752 $as_test_x conftest$ac_exeext; then
32753 ac_cv_lib_ICE_IceConnectionNumber=yes
32754 else
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32757
32758 ac_cv_lib_ICE_IceConnectionNumber=no
32759 fi
32760
32761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32762 conftest$ac_exeext conftest.$ac_ext
32763 LIBS=$ac_check_lib_save_LIBS
32764 fi
32765 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32766 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32767 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32768 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32769 fi
32770
32771 LDFLAGS=$ac_save_LDFLAGS
32772
32773 fi
32774
32775
32776 if test "$no_x" = "yes"; then
32777 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32778 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32779 { (exit 1); exit 1; }; }
32780 fi
32781
32782 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32783 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32784 AFMINSTALL=afminstall
32785 COMPILED_X_PROGRAM=0
32786
32787 fi
32788
32789 if test "$wxUSE_X11" = 1; then
32790 if test "$wxUSE_NANOX" = "yes"; then
32791 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32792 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32793 if test "x$MICROWIN" = x ; then
32794 { echo "$as_me:$LINENO: result: not found" >&5
32795 echo "${ECHO_T}not found" >&6; }
32796 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32797 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32798 { (exit 1); exit 1; }; }
32799 else
32800 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32801 echo "${ECHO_T}$MICROWIN" >&6; }
32802 cat >>confdefs.h <<\_ACEOF
32803 #define wxUSE_NANOX 1
32804 _ACEOF
32805
32806 fi
32807 fi
32808
32809 if test "$wxUSE_UNICODE" = "yes"; then
32810
32811
32812 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32813 if test -n "$ac_tool_prefix"; then
32814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32815 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32818 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32819 echo $ECHO_N "(cached) $ECHO_C" >&6
32820 else
32821 case $PKG_CONFIG in
32822 [\\/]* | ?:[\\/]*)
32823 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32824 ;;
32825 *)
32826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32827 for as_dir in $PATH
32828 do
32829 IFS=$as_save_IFS
32830 test -z "$as_dir" && as_dir=.
32831 for ac_exec_ext in '' $ac_executable_extensions; do
32832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32833 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32835 break 2
32836 fi
32837 done
32838 done
32839 IFS=$as_save_IFS
32840
32841 ;;
32842 esac
32843 fi
32844 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32845 if test -n "$PKG_CONFIG"; then
32846 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32847 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32848 else
32849 { echo "$as_me:$LINENO: result: no" >&5
32850 echo "${ECHO_T}no" >&6; }
32851 fi
32852
32853
32854 fi
32855 if test -z "$ac_cv_path_PKG_CONFIG"; then
32856 ac_pt_PKG_CONFIG=$PKG_CONFIG
32857 # Extract the first word of "pkg-config", so it can be a program name with args.
32858 set dummy pkg-config; ac_word=$2
32859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32861 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32863 else
32864 case $ac_pt_PKG_CONFIG in
32865 [\\/]* | ?:[\\/]*)
32866 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32867 ;;
32868 *)
32869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32870 for as_dir in $PATH
32871 do
32872 IFS=$as_save_IFS
32873 test -z "$as_dir" && as_dir=.
32874 for ac_exec_ext in '' $ac_executable_extensions; do
32875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32876 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32878 break 2
32879 fi
32880 done
32881 done
32882 IFS=$as_save_IFS
32883
32884 ;;
32885 esac
32886 fi
32887 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32888 if test -n "$ac_pt_PKG_CONFIG"; then
32889 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32890 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32891 else
32892 { echo "$as_me:$LINENO: result: no" >&5
32893 echo "${ECHO_T}no" >&6; }
32894 fi
32895
32896 if test "x$ac_pt_PKG_CONFIG" = x; then
32897 PKG_CONFIG=""
32898 else
32899 case $cross_compiling:$ac_tool_warned in
32900 yes:)
32901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32902 whose name does not start with the host triplet. If you think this
32903 configuration is useful to you, please write to autoconf@gnu.org." >&5
32904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32905 whose name does not start with the host triplet. If you think this
32906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32907 ac_tool_warned=yes ;;
32908 esac
32909 PKG_CONFIG=$ac_pt_PKG_CONFIG
32910 fi
32911 else
32912 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32913 fi
32914
32915 fi
32916 if test -n "$PKG_CONFIG"; then
32917 _pkg_min_version=0.9.0
32918 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32919 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32920 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32921 { echo "$as_me:$LINENO: result: yes" >&5
32922 echo "${ECHO_T}yes" >&6; }
32923 else
32924 { echo "$as_me:$LINENO: result: no" >&5
32925 echo "${ECHO_T}no" >&6; }
32926 PKG_CONFIG=""
32927 fi
32928
32929 fi
32930
32931
32932 pkg_failed=no
32933 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32934 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32935
32936 if test -n "$PKG_CONFIG"; then
32937 if test -n "$PANGOX_CFLAGS"; then
32938 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32939 else
32940 if test -n "$PKG_CONFIG" && \
32941 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32942 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; then
32946 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32947 else
32948 pkg_failed=yes
32949 fi
32950 fi
32951 else
32952 pkg_failed=untried
32953 fi
32954 if test -n "$PKG_CONFIG"; then
32955 if test -n "$PANGOX_LIBS"; then
32956 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32957 else
32958 if test -n "$PKG_CONFIG" && \
32959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32960 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32961 ac_status=$?
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); }; then
32964 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32965 else
32966 pkg_failed=yes
32967 fi
32968 fi
32969 else
32970 pkg_failed=untried
32971 fi
32972
32973
32974
32975 if test $pkg_failed = yes; then
32976
32977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32978 _pkg_short_errors_supported=yes
32979 else
32980 _pkg_short_errors_supported=no
32981 fi
32982 if test $_pkg_short_errors_supported = yes; then
32983 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32984 else
32985 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32986 fi
32987 # Put the nasty error message in config.log where it belongs
32988 echo "$PANGOX_PKG_ERRORS" >&5
32989
32990
32991 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32992 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32993 { (exit 1); exit 1; }; }
32994
32995
32996 elif test $pkg_failed = untried; then
32997
32998 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32999 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33000 { (exit 1); exit 1; }; }
33001
33002
33003 else
33004 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33005 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33006 { echo "$as_me:$LINENO: result: yes" >&5
33007 echo "${ECHO_T}yes" >&6; }
33008
33009 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33010 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33011 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33012
33013 fi
33014
33015 pkg_failed=no
33016 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33017 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33018
33019 if test -n "$PKG_CONFIG"; then
33020 if test -n "$PANGOFT2_CFLAGS"; then
33021 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33022 else
33023 if test -n "$PKG_CONFIG" && \
33024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33025 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33026 ac_status=$?
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; then
33029 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33030 else
33031 pkg_failed=yes
33032 fi
33033 fi
33034 else
33035 pkg_failed=untried
33036 fi
33037 if test -n "$PKG_CONFIG"; then
33038 if test -n "$PANGOFT2_LIBS"; then
33039 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33040 else
33041 if test -n "$PKG_CONFIG" && \
33042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33043 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33044 ac_status=$?
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; then
33047 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33048 else
33049 pkg_failed=yes
33050 fi
33051 fi
33052 else
33053 pkg_failed=untried
33054 fi
33055
33056
33057
33058 if test $pkg_failed = yes; then
33059
33060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33061 _pkg_short_errors_supported=yes
33062 else
33063 _pkg_short_errors_supported=no
33064 fi
33065 if test $_pkg_short_errors_supported = yes; then
33066 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33067 else
33068 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33069 fi
33070 # Put the nasty error message in config.log where it belongs
33071 echo "$PANGOFT2_PKG_ERRORS" >&5
33072
33073
33074 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33075 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33076 wxUSE_PRINTING_ARCHITECTURE="no"
33077
33078
33079 elif test $pkg_failed = untried; then
33080
33081 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33082 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33083 wxUSE_PRINTING_ARCHITECTURE="no"
33084
33085
33086 else
33087 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33088 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33089 { echo "$as_me:$LINENO: result: yes" >&5
33090 echo "${ECHO_T}yes" >&6; }
33091
33092 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33093 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33095
33096 fi
33097
33098 pkg_failed=no
33099 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33100 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33101
33102 if test -n "$PKG_CONFIG"; then
33103 if test -n "$PANGOXFT_CFLAGS"; then
33104 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33105 else
33106 if test -n "$PKG_CONFIG" && \
33107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33108 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33109 ac_status=$?
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; then
33112 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33113 else
33114 pkg_failed=yes
33115 fi
33116 fi
33117 else
33118 pkg_failed=untried
33119 fi
33120 if test -n "$PKG_CONFIG"; then
33121 if test -n "$PANGOXFT_LIBS"; then
33122 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33123 else
33124 if test -n "$PKG_CONFIG" && \
33125 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33126 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33127 ac_status=$?
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; then
33130 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33131 else
33132 pkg_failed=yes
33133 fi
33134 fi
33135 else
33136 pkg_failed=untried
33137 fi
33138
33139
33140
33141 if test $pkg_failed = yes; then
33142
33143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33144 _pkg_short_errors_supported=yes
33145 else
33146 _pkg_short_errors_supported=no
33147 fi
33148 if test $_pkg_short_errors_supported = yes; then
33149 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33150 else
33151 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33152 fi
33153 # Put the nasty error message in config.log where it belongs
33154 echo "$PANGOXFT_PKG_ERRORS" >&5
33155
33156
33157 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33158 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33159
33160
33161 elif test $pkg_failed = untried; then
33162
33163 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33164 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33165
33166
33167 else
33168 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33169 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33170 { echo "$as_me:$LINENO: result: yes" >&5
33171 echo "${ECHO_T}yes" >&6; }
33172
33173 cat >>confdefs.h <<\_ACEOF
33174 #define HAVE_PANGO_XFT 1
33175 _ACEOF
33176
33177 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33178 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33180
33181 fi
33182 save_LIBS="$LIBS"
33183 LIBS="$LIBS $PANGOX_LIBS"
33184
33185 for ac_func in pango_font_family_is_monospace
33186 do
33187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33191 echo $ECHO_N "(cached) $ECHO_C" >&6
33192 else
33193 cat >conftest.$ac_ext <<_ACEOF
33194 /* confdefs.h. */
33195 _ACEOF
33196 cat confdefs.h >>conftest.$ac_ext
33197 cat >>conftest.$ac_ext <<_ACEOF
33198 /* end confdefs.h. */
33199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33201 #define $ac_func innocuous_$ac_func
33202
33203 /* System header to define __stub macros and hopefully few prototypes,
33204 which can conflict with char $ac_func (); below.
33205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33206 <limits.h> exists even on freestanding compilers. */
33207
33208 #ifdef __STDC__
33209 # include <limits.h>
33210 #else
33211 # include <assert.h>
33212 #endif
33213
33214 #undef $ac_func
33215
33216 /* Override any GCC internal prototype to avoid an error.
33217 Use char because int might match the return type of a GCC
33218 builtin and then its argument prototype would still apply. */
33219 #ifdef __cplusplus
33220 extern "C"
33221 #endif
33222 char $ac_func ();
33223 /* The GNU C library defines this for functions which it implements
33224 to always fail with ENOSYS. Some functions are actually named
33225 something starting with __ and the normal name is an alias. */
33226 #if defined __stub_$ac_func || defined __stub___$ac_func
33227 choke me
33228 #endif
33229
33230 int
33231 main ()
33232 {
33233 return $ac_func ();
33234 ;
33235 return 0;
33236 }
33237 _ACEOF
33238 rm -f conftest.$ac_objext conftest$ac_exeext
33239 if { (ac_try="$ac_link"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33242 *) ac_try_echo=$ac_try;;
33243 esac
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_link") 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_c_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest$ac_exeext &&
33255 $as_test_x conftest$ac_exeext; then
33256 eval "$as_ac_var=yes"
33257 else
33258 echo "$as_me: failed program was:" >&5
33259 sed 's/^/| /' conftest.$ac_ext >&5
33260
33261 eval "$as_ac_var=no"
33262 fi
33263
33264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33265 conftest$ac_exeext conftest.$ac_ext
33266 fi
33267 ac_res=`eval echo '${'$as_ac_var'}'`
33268 { echo "$as_me:$LINENO: result: $ac_res" >&5
33269 echo "${ECHO_T}$ac_res" >&6; }
33270 if test `eval echo '${'$as_ac_var'}'` = yes; then
33271 cat >>confdefs.h <<_ACEOF
33272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33273 _ACEOF
33274
33275 fi
33276 done
33277
33278 LIBS="$save_LIBS"
33279 fi
33280
33281 wxUSE_UNIVERSAL="yes"
33282
33283 if test "$wxUSE_NANOX" = "yes"; then
33284 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33285 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"
33286 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33287 else
33288 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33289 fi
33290
33291 TOOLKIT=X11
33292 GUIDIST=X11_DIST
33293 fi
33294
33295 if test "$wxUSE_MOTIF" = 1; then
33296 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33297 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33298
33299 ac_find_includes=
33300 for ac_dir in $SEARCH_INCLUDE /usr/include
33301 do
33302 if test -f "$ac_dir/Xm/Xm.h"; then
33303 ac_find_includes=$ac_dir
33304 break
33305 fi
33306 done
33307
33308 if test "$ac_find_includes" != "" ; then
33309 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33310 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33311
33312 if test "x$ac_find_includes" = "x/usr/include"; then
33313 ac_path_to_include=""
33314 else
33315 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33316 result=$?
33317 if test $result = 0; then
33318 ac_path_to_include=""
33319 else
33320 ac_path_to_include=" -I$ac_find_includes"
33321 fi
33322 fi
33323
33324 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33325 else
33326 save_CFLAGS=$CFLAGS
33327 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33328
33329 cat >conftest.$ac_ext <<_ACEOF
33330 /* confdefs.h. */
33331 _ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335
33336 #include <Xm/Xm.h>
33337
33338 int
33339 main ()
33340 {
33341
33342 int version;
33343 version = xmUseVersion;
33344
33345 ;
33346 return 0;
33347 }
33348 _ACEOF
33349 rm -f conftest.$ac_objext
33350 if { (ac_try="$ac_compile"
33351 case "(($ac_try" in
33352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33353 *) ac_try_echo=$ac_try;;
33354 esac
33355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33356 (eval "$ac_compile") 2>conftest.er1
33357 ac_status=$?
33358 grep -v '^ *+' conftest.er1 >conftest.err
33359 rm -f conftest.er1
33360 cat conftest.err >&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } && {
33363 test -z "$ac_c_werror_flag" ||
33364 test ! -s conftest.err
33365 } && test -s conftest.$ac_objext; then
33366
33367 { echo "$as_me:$LINENO: result: found in default search path" >&5
33368 echo "${ECHO_T}found in default search path" >&6; }
33369 COMPILED_X_PROGRAM=1
33370
33371 else
33372 echo "$as_me: failed program was:" >&5
33373 sed 's/^/| /' conftest.$ac_ext >&5
33374
33375
33376 { echo "$as_me:$LINENO: result: no" >&5
33377 echo "${ECHO_T}no" >&6; }
33378 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33379 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33380 { (exit 1); exit 1; }; }
33381
33382
33383 fi
33384
33385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33386
33387 CFLAGS=$save_CFLAGS
33388 fi
33389
33390
33391 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33392 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33393
33394 ac_find_libraries=
33395 for ac_dir in $SEARCH_LIB
33396 do
33397 for ac_extension in a so sl dylib dll.a; do
33398 if test -f "$ac_dir/libXm.$ac_extension"; then
33399 ac_find_libraries=$ac_dir
33400 break 2
33401 fi
33402 done
33403 done
33404
33405
33406 if test "x$ac_find_libraries" != "x" ; then
33407 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33408 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33409
33410
33411 if test "$ac_find_libraries" = "default location"; then
33412 ac_path_to_link=""
33413 else
33414 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33415 result=$?
33416 if test $result = 0; then
33417 ac_path_to_link=""
33418 else
33419 ac_path_to_link=" -L$ac_find_libraries"
33420 fi
33421 fi
33422
33423 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33424 else
33425 save_CFLAGS=$CFLAGS
33426 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33427 save_LIBS="$LIBS"
33428 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33429
33430 cat >conftest.$ac_ext <<_ACEOF
33431 /* confdefs.h. */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436
33437 #include <Xm/Xm.h>
33438
33439 int
33440 main ()
33441 {
33442
33443 int version;
33444 version = xmUseVersion;
33445
33446 ;
33447 return 0;
33448 }
33449 _ACEOF
33450 rm -f conftest.$ac_objext conftest$ac_exeext
33451 if { (ac_try="$ac_link"
33452 case "(($ac_try" in
33453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33454 *) ac_try_echo=$ac_try;;
33455 esac
33456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33457 (eval "$ac_link") 2>conftest.er1
33458 ac_status=$?
33459 grep -v '^ *+' conftest.er1 >conftest.err
33460 rm -f conftest.er1
33461 cat conftest.err >&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); } && {
33464 test -z "$ac_c_werror_flag" ||
33465 test ! -s conftest.err
33466 } && test -s conftest$ac_exeext &&
33467 $as_test_x conftest$ac_exeext; then
33468
33469 { echo "$as_me:$LINENO: result: found in default search path" >&5
33470 echo "${ECHO_T}found in default search path" >&6; }
33471 COMPILED_X_PROGRAM=1
33472
33473 else
33474 echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.$ac_ext >&5
33476
33477
33478 { echo "$as_me:$LINENO: result: no" >&5
33479 echo "${ECHO_T}no" >&6; }
33480 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33481 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33482 { (exit 1); exit 1; }; }
33483
33484
33485 fi
33486
33487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33488 conftest$ac_exeext conftest.$ac_ext
33489
33490 CFLAGS=$save_CFLAGS
33491 LIBS="$save_LIBS"
33492 fi
33493
33494 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33495 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33496 libp_link=""
33497 libsm_ice_link=""
33498 libs_found=0
33499 for libp in "" " -lXp"; do
33500 if test "$libs_found" = 0; then
33501 for libsm_ice in "" " -lSM -lICE"; do
33502 if test "$libs_found" = 0; then
33503 save_LIBS="$LIBS"
33504 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33505 save_CFLAGS=$CFLAGS
33506 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33507
33508 cat >conftest.$ac_ext <<_ACEOF
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514
33515 #include <Xm/Xm.h>
33516 #include <Xm/List.h>
33517
33518 int
33519 main ()
33520 {
33521
33522 XmString string = NULL;
33523 Widget w = NULL;
33524 int position = 0;
33525 XmListAddItem(w, string, position);
33526
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (ac_try="$ac_link"
33533 case "(($ac_try" in
33534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33535 *) ac_try_echo=$ac_try;;
33536 esac
33537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33538 (eval "$ac_link") 2>conftest.er1
33539 ac_status=$?
33540 grep -v '^ *+' conftest.er1 >conftest.err
33541 rm -f conftest.er1
33542 cat conftest.err >&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); } && {
33545 test -z "$ac_c_werror_flag" ||
33546 test ! -s conftest.err
33547 } && test -s conftest$ac_exeext &&
33548 $as_test_x conftest$ac_exeext; then
33549
33550 libp_link="$libp"
33551 libsm_ice_link="$libsm_ice"
33552 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33553 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33554 libs_found=1
33555
33556 else
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.$ac_ext >&5
33559
33560
33561
33562 fi
33563
33564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33565 conftest$ac_exeext conftest.$ac_ext
33566
33567 LIBS="$save_LIBS"
33568 CFLAGS=$save_CFLAGS
33569 fi
33570 done
33571 fi
33572 done
33573
33574 if test "$libs_found" = 0; then
33575 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33576 echo "${ECHO_T}can't find the right libraries" >&6; }
33577 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33578 echo "$as_me: error: can't link a simple motif program" >&2;}
33579 { (exit 1); exit 1; }; }
33580 fi
33581
33582 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33583 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33584 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33585 echo $ECHO_N "(cached) $ECHO_C" >&6
33586 else
33587 ac_check_lib_save_LIBS=$LIBS
33588 LIBS="-lSgm $LIBS"
33589 cat >conftest.$ac_ext <<_ACEOF
33590 /* confdefs.h. */
33591 _ACEOF
33592 cat confdefs.h >>conftest.$ac_ext
33593 cat >>conftest.$ac_ext <<_ACEOF
33594 /* end confdefs.h. */
33595
33596 /* Override any GCC internal prototype to avoid an error.
33597 Use char because int might match the return type of a GCC
33598 builtin and then its argument prototype would still apply. */
33599 #ifdef __cplusplus
33600 extern "C"
33601 #endif
33602 char SgCreateList ();
33603 int
33604 main ()
33605 {
33606 return SgCreateList ();
33607 ;
33608 return 0;
33609 }
33610 _ACEOF
33611 rm -f conftest.$ac_objext conftest$ac_exeext
33612 if { (ac_try="$ac_link"
33613 case "(($ac_try" in
33614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33615 *) ac_try_echo=$ac_try;;
33616 esac
33617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33618 (eval "$ac_link") 2>conftest.er1
33619 ac_status=$?
33620 grep -v '^ *+' conftest.er1 >conftest.err
33621 rm -f conftest.er1
33622 cat conftest.err >&5
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); } && {
33625 test -z "$ac_c_werror_flag" ||
33626 test ! -s conftest.err
33627 } && test -s conftest$ac_exeext &&
33628 $as_test_x conftest$ac_exeext; then
33629 ac_cv_lib_Sgm_SgCreateList=yes
33630 else
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.$ac_ext >&5
33633
33634 ac_cv_lib_Sgm_SgCreateList=no
33635 fi
33636
33637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33638 conftest$ac_exeext conftest.$ac_ext
33639 LIBS=$ac_check_lib_save_LIBS
33640 fi
33641 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33642 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33643 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33644 libsgm_link=" -lSgm"
33645 fi
33646
33647
33648 save_CFLAGS=$CFLAGS
33649 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33650
33651 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33652 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33653 if test "${wx_cv_lib_motif2+set}" = set; then
33654 echo $ECHO_N "(cached) $ECHO_C" >&6
33655 else
33656 cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h. */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33662
33663 #include <Xm/Xm.h>
33664
33665 int
33666 main ()
33667 {
33668
33669 #if XmVersion < 2000
33670 Not Motif 2
33671 #endif
33672
33673 ;
33674 return 0;
33675 }
33676 _ACEOF
33677 rm -f conftest.$ac_objext
33678 if { (ac_try="$ac_compile"
33679 case "(($ac_try" in
33680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33681 *) ac_try_echo=$ac_try;;
33682 esac
33683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33684 (eval "$ac_compile") 2>conftest.er1
33685 ac_status=$?
33686 grep -v '^ *+' conftest.er1 >conftest.err
33687 rm -f conftest.er1
33688 cat conftest.err >&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); } && {
33691 test -z "$ac_c_werror_flag" ||
33692 test ! -s conftest.err
33693 } && test -s conftest.$ac_objext; then
33694 wx_cv_lib_motif2="yes"
33695 else
33696 echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33698
33699 wx_cv_lib_motif2="no"
33700 fi
33701
33702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703 fi
33704 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33705 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33706 if test "$wx_cv_lib_motif2" = "yes"; then
33707 cat >>confdefs.h <<\_ACEOF
33708 #define __WXMOTIF20__ 1
33709 _ACEOF
33710
33711 else
33712 cat >>confdefs.h <<\_ACEOF
33713 #define __WXMOTIF20__ 0
33714 _ACEOF
33715
33716 fi
33717
33718 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33719 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33720 if test "${wx_cv_lib_lesstif+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 else
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729
33730 #include <Xm/Xm.h>
33731
33732 int
33733 main ()
33734 {
33735
33736 #if !defined(LesstifVersion) || LesstifVersion <= 0
33737 Not Lesstif
33738 #endif
33739
33740 ;
33741 return 0;
33742 }
33743 _ACEOF
33744 rm -f conftest.$ac_objext
33745 if { (ac_try="$ac_compile"
33746 case "(($ac_try" in
33747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33748 *) ac_try_echo=$ac_try;;
33749 esac
33750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33751 (eval "$ac_compile") 2>conftest.er1
33752 ac_status=$?
33753 grep -v '^ *+' conftest.er1 >conftest.err
33754 rm -f conftest.er1
33755 cat conftest.err >&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); } && {
33758 test -z "$ac_c_werror_flag" ||
33759 test ! -s conftest.err
33760 } && test -s conftest.$ac_objext; then
33761 wx_cv_lib_lesstif="yes"
33762 else
33763 echo "$as_me: failed program was:" >&5
33764 sed 's/^/| /' conftest.$ac_ext >&5
33765
33766 wx_cv_lib_lesstif="no"
33767 fi
33768
33769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33770
33771 fi
33772 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33773 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33774 if test "$wx_cv_lib_lesstif" = "yes"; then
33775 cat >>confdefs.h <<\_ACEOF
33776 #define __WXLESSTIF__ 1
33777 _ACEOF
33778
33779 else
33780 cat >>confdefs.h <<\_ACEOF
33781 #define __WXLESSTIF__ 0
33782 _ACEOF
33783
33784 fi
33785
33786 CFLAGS=$save_CFLAGS
33787
33788 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33789 TOOLKIT=MOTIF
33790 GUIDIST=MOTIF_DIST
33791 fi
33792
33793 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33794 if test "$wxUSE_LIBXPM" = "sys"; then
33795 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33796 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33797
33798 ac_find_libraries=
33799 for ac_dir in $SEARCH_LIB
33800 do
33801 for ac_extension in a so sl dylib dll.a; do
33802 if test -f "$ac_dir/libXpm.$ac_extension"; then
33803 ac_find_libraries=$ac_dir
33804 break 2
33805 fi
33806 done
33807 done
33808
33809 if test "$ac_find_libraries" != "" ; then
33810
33811 if test "$ac_find_libraries" = "default location"; then
33812 ac_path_to_link=""
33813 else
33814 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33815 result=$?
33816 if test $result = 0; then
33817 ac_path_to_link=""
33818 else
33819 ac_path_to_link=" -L$ac_find_libraries"
33820 fi
33821 fi
33822
33823 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33824 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33825 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33826
33827 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33828 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33829 if test "${wx_cv_x11_xpm_h+set}" = set; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 else
33832
33833 save_CFLAGS=$CFLAGS
33834 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33835
33836 cat >conftest.$ac_ext <<_ACEOF
33837 /* confdefs.h. */
33838 _ACEOF
33839 cat confdefs.h >>conftest.$ac_ext
33840 cat >>conftest.$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842
33843 #include <X11/xpm.h>
33844
33845 int
33846 main ()
33847 {
33848
33849 int version;
33850 version = XpmLibraryVersion();
33851
33852 ;
33853 return 0;
33854 }
33855 _ACEOF
33856 rm -f conftest.$ac_objext
33857 if { (ac_try="$ac_compile"
33858 case "(($ac_try" in
33859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33860 *) ac_try_echo=$ac_try;;
33861 esac
33862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33863 (eval "$ac_compile") 2>conftest.er1
33864 ac_status=$?
33865 grep -v '^ *+' conftest.er1 >conftest.err
33866 rm -f conftest.er1
33867 cat conftest.err >&5
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); } && {
33870 test -z "$ac_c_werror_flag" ||
33871 test ! -s conftest.err
33872 } && test -s conftest.$ac_objext; then
33873 wx_cv_x11_xpm_h=yes
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33877
33878 wx_cv_x11_xpm_h=no
33879
33880 fi
33881
33882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33883
33884 CFLAGS=$save_CFLAGS
33885
33886
33887 fi
33888 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33889 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33890
33891 if test $wx_cv_x11_xpm_h = "yes"; then
33892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33893 cat >>confdefs.h <<\_ACEOF
33894 #define wxHAVE_LIB_XPM 1
33895 _ACEOF
33896
33897 else
33898 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33899 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33900 fi
33901 fi
33902
33903 fi
33904
33905 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33906 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33907 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33909 else
33910 ac_check_lib_save_LIBS=$LIBS
33911 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918
33919 /* Override any GCC internal prototype to avoid an error.
33920 Use char because int might match the return type of a GCC
33921 builtin and then its argument prototype would still apply. */
33922 #ifdef __cplusplus
33923 extern "C"
33924 #endif
33925 char XShapeQueryExtension ();
33926 int
33927 main ()
33928 {
33929 return XShapeQueryExtension ();
33930 ;
33931 return 0;
33932 }
33933 _ACEOF
33934 rm -f conftest.$ac_objext conftest$ac_exeext
33935 if { (ac_try="$ac_link"
33936 case "(($ac_try" in
33937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33938 *) ac_try_echo=$ac_try;;
33939 esac
33940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33941 (eval "$ac_link") 2>conftest.er1
33942 ac_status=$?
33943 grep -v '^ *+' conftest.er1 >conftest.err
33944 rm -f conftest.er1
33945 cat conftest.err >&5
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); } && {
33948 test -z "$ac_c_werror_flag" ||
33949 test ! -s conftest.err
33950 } && test -s conftest$ac_exeext &&
33951 $as_test_x conftest$ac_exeext; then
33952 ac_cv_lib_Xext_XShapeQueryExtension=yes
33953 else
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.$ac_ext >&5
33956
33957 ac_cv_lib_Xext_XShapeQueryExtension=no
33958 fi
33959
33960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33961 conftest$ac_exeext conftest.$ac_ext
33962 LIBS=$ac_check_lib_save_LIBS
33963 fi
33964 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33965 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33966 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33967
33968 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33969 wxHAVE_XEXT_LIB=1
33970
33971 fi
33972
33973
33974 if test "$wxHAVE_XEXT_LIB" = 1; then
33975 save_CFLAGS="$CFLAGS"
33976 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33977
33978 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33979 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33980 cat >conftest.$ac_ext <<_ACEOF
33981 /* confdefs.h. */
33982 _ACEOF
33983 cat confdefs.h >>conftest.$ac_ext
33984 cat >>conftest.$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33986
33987 #include <X11/Xlib.h>
33988 #include <X11/extensions/shape.h>
33989
33990 int
33991 main ()
33992 {
33993
33994 int dummy1, dummy2;
33995 XShapeQueryExtension((Display*)NULL,
33996 (int*)NULL, (int*)NULL);
33997
33998 ;
33999 return 0;
34000 }
34001 _ACEOF
34002 rm -f conftest.$ac_objext
34003 if { (ac_try="$ac_compile"
34004 case "(($ac_try" in
34005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34006 *) ac_try_echo=$ac_try;;
34007 esac
34008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34009 (eval "$ac_compile") 2>conftest.er1
34010 ac_status=$?
34011 grep -v '^ *+' conftest.er1 >conftest.err
34012 rm -f conftest.er1
34013 cat conftest.err >&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); } && {
34016 test -z "$ac_c_werror_flag" ||
34017 test ! -s conftest.err
34018 } && test -s conftest.$ac_objext; then
34019
34020 cat >>confdefs.h <<\_ACEOF
34021 #define HAVE_XSHAPE 1
34022 _ACEOF
34023
34024 { echo "$as_me:$LINENO: result: found" >&5
34025 echo "${ECHO_T}found" >&6; }
34026
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34030
34031
34032 { echo "$as_me:$LINENO: result: not found" >&5
34033 echo "${ECHO_T}not found" >&6; }
34034
34035 fi
34036
34037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34038 CFLAGS="$save_CFLAGS"
34039
34040 fi
34041 fi
34042
34043 if test "$wxUSE_OSX_CARBON" = 1; then
34044 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34045 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34046 if test "$GCC" = yes; then
34047 { echo "$as_me:$LINENO: result: gcc" >&5
34048 echo "${ECHO_T}gcc" >&6; }
34049 CPPFLAGS_PASCAL="-fpascal-strings"
34050 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34051 { echo "$as_me:$LINENO: result: xlc" >&5
34052 echo "${ECHO_T}xlc" >&6; }
34053 CPPFLAGS_PASCAL="-qmacpstr"
34054 else
34055 { echo "$as_me:$LINENO: result: none" >&5
34056 echo "${ECHO_T}none" >&6; }
34057 fi
34058
34059 if test "x$wxUSE_UNIX" = "xyes"; then
34060 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34061 else
34062 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34063 fi
34064
34065 TOOLKIT=OSX_CARBON
34066 GUIDIST=OSX_CARBON_DIST
34067 WXBASEPORT="_carbon"
34068
34069 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34070 fi
34071
34072 if test "$wxUSE_OSX_COCOA" = 1; then
34073 TOOLKIT=OSX_COCOA
34074 GUIDIST=OSX_COCOA_DIST
34075
34076 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34077 fi
34078
34079 if test "$wxUSE_OSX_IPHONE" = 1; then
34080 TOOLKIT=OSX_IPHONE
34081 fi
34082
34083 if test "$wxUSE_OLD_COCOA" = 1; then
34084 TOOLKIT=COCOA
34085 GUIDIST=COCOA_DIST
34086 fi
34087
34088 if test "$wxUSE_PM" = 1; then
34089 TOOLKIT=PM
34090 GUIDIST=PM_DIST
34091 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34092 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34093 if test "${wx_cv_spbcdata+set}" = set; then
34094 echo $ECHO_N "(cached) $ECHO_C" >&6
34095 else
34096
34097 cat >conftest.$ac_ext <<_ACEOF
34098 /* confdefs.h. */
34099 _ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103
34104 #define INCL_PM
34105 #include <os2.h>
34106
34107 int
34108 main ()
34109 {
34110
34111 SPBCDATA test;
34112
34113 ;
34114 return 0;
34115 }
34116 _ACEOF
34117 rm -f conftest.$ac_objext
34118 if { (ac_try="$ac_compile"
34119 case "(($ac_try" in
34120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34121 *) ac_try_echo=$ac_try;;
34122 esac
34123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34124 (eval "$ac_compile") 2>conftest.er1
34125 ac_status=$?
34126 grep -v '^ *+' conftest.er1 >conftest.err
34127 rm -f conftest.er1
34128 cat conftest.err >&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); } && {
34131 test -z "$ac_c_werror_flag" ||
34132 test ! -s conftest.err
34133 } && test -s conftest.$ac_objext; then
34134 wx_cv_spbcdata=yes
34135 else
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.$ac_ext >&5
34138
34139 wx_cv_spbcdata=no
34140
34141 fi
34142
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144
34145
34146 fi
34147 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34148 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34149
34150 if test $wx_cv_spbcdata = "yes"; then
34151 cat >>confdefs.h <<\_ACEOF
34152 #define HAVE_SPBCDATA 1
34153 _ACEOF
34154
34155 fi
34156 fi
34157
34158 if test "$TOOLKIT" = "PM" ; then
34159 TOOLKIT_DIR="os2"
34160 else
34161 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34162 fi
34163
34164 if test "$wxUSE_UNIVERSAL" = "yes"; then
34165 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34166 WIDGET_SET=univ
34167 fi
34168
34169 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34170 DISTDIR="wx\$(TOOLKIT)"
34171 else
34172 USE_GUI=0
34173
34174 TOOLKIT_DIR="base"
34175
34176 if test "$USE_WIN32" = 1 ; then
34177 TOOLKIT="MSW"
34178 fi
34179
34180 GUIDIST="BASE_DIST"
34181 DISTDIR="wxBase"
34182 fi
34183
34184
34185
34186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34187 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34188 wxUSE_UNICODE_UTF8=yes
34189 elif test "$USE_OS2" = 1 ; then
34190 wxUSE_UNICODE_UTF8=yes
34191 else
34192 wxUSE_UNICODE_UTF8=no
34193 fi
34194 fi
34195
34196
34197 if test "$wxUSE_GUI" = "yes"; then
34198 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34199
34200 for ac_header in X11/Xlib.h
34201 do
34202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207 else
34208 cat >conftest.$ac_ext <<_ACEOF
34209 /* confdefs.h. */
34210 _ACEOF
34211 cat confdefs.h >>conftest.$ac_ext
34212 cat >>conftest.$ac_ext <<_ACEOF
34213 /* end confdefs.h. */
34214
34215
34216 #include <$ac_header>
34217 _ACEOF
34218 rm -f conftest.$ac_objext
34219 if { (ac_try="$ac_compile"
34220 case "(($ac_try" in
34221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34222 *) ac_try_echo=$ac_try;;
34223 esac
34224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34225 (eval "$ac_compile") 2>conftest.er1
34226 ac_status=$?
34227 grep -v '^ *+' conftest.er1 >conftest.err
34228 rm -f conftest.er1
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } && {
34232 test -z "$ac_c_werror_flag" ||
34233 test ! -s conftest.err
34234 } && test -s conftest.$ac_objext; then
34235 eval "$as_ac_Header=yes"
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 eval "$as_ac_Header=no"
34241 fi
34242
34243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34244 fi
34245 ac_res=`eval echo '${'$as_ac_Header'}'`
34246 { echo "$as_me:$LINENO: result: $ac_res" >&5
34247 echo "${ECHO_T}$ac_res" >&6; }
34248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34249 cat >>confdefs.h <<_ACEOF
34250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34251 _ACEOF
34252
34253 fi
34254
34255 done
34256
34257
34258 for ac_header in X11/XKBlib.h
34259 do
34260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272
34273 #if HAVE_X11_XLIB_H
34274 #include <X11/Xlib.h>
34275 #endif
34276
34277
34278 #include <$ac_header>
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (ac_try="$ac_compile"
34282 case "(($ac_try" in
34283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34284 *) ac_try_echo=$ac_try;;
34285 esac
34286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34287 (eval "$ac_compile") 2>conftest.er1
34288 ac_status=$?
34289 grep -v '^ *+' conftest.er1 >conftest.err
34290 rm -f conftest.er1
34291 cat conftest.err >&5
34292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34293 (exit $ac_status); } && {
34294 test -z "$ac_c_werror_flag" ||
34295 test ! -s conftest.err
34296 } && test -s conftest.$ac_objext; then
34297 eval "$as_ac_Header=yes"
34298 else
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.$ac_ext >&5
34301
34302 eval "$as_ac_Header=no"
34303 fi
34304
34305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34306 fi
34307 ac_res=`eval echo '${'$as_ac_Header'}'`
34308 { echo "$as_me:$LINENO: result: $ac_res" >&5
34309 echo "${ECHO_T}$ac_res" >&6; }
34310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34311 cat >>confdefs.h <<_ACEOF
34312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34313 _ACEOF
34314
34315 fi
34316
34317 done
34318
34319 fi
34320 fi
34321
34322
34323
34324 USE_XINERAMA=0
34325 if test "$wxUSE_DISPLAY" = "yes"; then
34326 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34327 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34328 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34329
34330 ac_find_libraries=
34331 for ac_dir in $SEARCH_LIB
34332 do
34333 for ac_extension in a so sl dylib dll.a; do
34334 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34335 ac_find_libraries=$ac_dir
34336 break 2
34337 fi
34338 done
34339 done
34340
34341 if test "$ac_find_libraries" != "" ; then
34342
34343 if test "$ac_find_libraries" = "default location"; then
34344 ac_path_to_link=""
34345 else
34346 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34347 result=$?
34348 if test $result = 0; then
34349 ac_path_to_link=""
34350 else
34351 ac_path_to_link=" -L$ac_find_libraries"
34352 fi
34353 fi
34354
34355 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34356 LDFLAGS="$LDFLAGS $ac_path_to_link"
34357 fi
34358 USE_XINERAMA=1
34359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34360 { echo "$as_me:$LINENO: result: yes" >&5
34361 echo "${ECHO_T}yes" >&6; }
34362 else
34363 { echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6; }
34365 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34366 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34367 wxUSE_DISPLAY="no"
34368 fi
34369 elif test "$wxUSE_MSW" = 1; then
34370 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34371 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34372 if test "${ac_cv_header_ddraw_h+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375 cat >conftest.$ac_ext <<_ACEOF
34376 /* confdefs.h. */
34377 _ACEOF
34378 cat confdefs.h >>conftest.$ac_ext
34379 cat >>conftest.$ac_ext <<_ACEOF
34380 /* end confdefs.h. */
34381 #include <windows.h>
34382
34383 #include <ddraw.h>
34384 _ACEOF
34385 rm -f conftest.$ac_objext
34386 if { (ac_try="$ac_compile"
34387 case "(($ac_try" in
34388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34389 *) ac_try_echo=$ac_try;;
34390 esac
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_compile") 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } && {
34399 test -z "$ac_c_werror_flag" ||
34400 test ! -s conftest.err
34401 } && test -s conftest.$ac_objext; then
34402 ac_cv_header_ddraw_h=yes
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 ac_cv_header_ddraw_h=no
34408 fi
34409
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 fi
34412 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34413 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34414
34415
34416 fi
34417 fi
34418
34419 if test "$wxUSE_DISPLAY" = "yes"; then
34420 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34421 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34422 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34423
34424 ac_find_libraries=
34425 for ac_dir in $SEARCH_LIB
34426 do
34427 for ac_extension in a so sl dylib dll.a; do
34428 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34429 ac_find_libraries=$ac_dir
34430 break 2
34431 fi
34432 done
34433 done
34434
34435 if test "$ac_find_libraries" != "" ; then
34436 { echo "$as_me:$LINENO: result: yes" >&5
34437 echo "${ECHO_T}yes" >&6; }
34438
34439 for ac_header in X11/extensions/xf86vmode.h
34440 do
34441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 else
34447 cat >conftest.$ac_ext <<_ACEOF
34448 /* confdefs.h. */
34449 _ACEOF
34450 cat confdefs.h >>conftest.$ac_ext
34451 cat >>conftest.$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34453
34454 #if HAVE_X11_XLIB_H
34455 #include <X11/Xlib.h>
34456 #endif
34457
34458
34459 #include <$ac_header>
34460 _ACEOF
34461 rm -f conftest.$ac_objext
34462 if { (ac_try="$ac_compile"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34466 esac
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_compile") 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest.$ac_objext; then
34478 eval "$as_ac_Header=yes"
34479 else
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.$ac_ext >&5
34482
34483 eval "$as_ac_Header=no"
34484 fi
34485
34486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34487 fi
34488 ac_res=`eval echo '${'$as_ac_Header'}'`
34489 { echo "$as_me:$LINENO: result: $ac_res" >&5
34490 echo "${ECHO_T}$ac_res" >&6; }
34491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34492 cat >>confdefs.h <<_ACEOF
34493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34494 _ACEOF
34495
34496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34497
34498 fi
34499
34500 done
34501
34502 else
34503 { echo "$as_me:$LINENO: result: no" >&5
34504 echo "${ECHO_T}no" >&6; }
34505 fi
34506 fi
34507 fi
34508
34509 if test "$wxUSE_DETECT_SM" = "yes"; then
34510 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34511 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34512 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34513
34514 ac_find_libraries=
34515 for ac_dir in $SEARCH_LIB
34516 do
34517 for ac_extension in a so sl dylib dll.a; do
34518 if test -f "$ac_dir/libSM.$ac_extension"; then
34519 ac_find_libraries=$ac_dir
34520 break 2
34521 fi
34522 done
34523 done
34524
34525 if test "$ac_find_libraries" != "" ; then
34526
34527 if test "$ac_find_libraries" = "default location"; then
34528 ac_path_to_link=""
34529 else
34530 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34531 result=$?
34532 if test $result = 0; then
34533 ac_path_to_link=""
34534 else
34535 ac_path_to_link=" -L$ac_find_libraries"
34536 fi
34537 fi
34538
34539 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34540 LDFLAGS="$LDFLAGS $ac_path_to_link"
34541 fi
34542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34543 { echo "$as_me:$LINENO: result: yes" >&5
34544 echo "${ECHO_T}yes" >&6; }
34545 else
34546 { echo "$as_me:$LINENO: result: no" >&5
34547 echo "${ECHO_T}no" >&6; }
34548 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34549 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34550 wxUSE_DETECT_SM="no"
34551 fi
34552 else
34553 wxUSE_DETECT_SM="no"
34554 fi
34555 fi
34556
34557
34558
34559 USE_OPENGL=0
34560 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34561
34562
34563 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34564 OPENGL_LIBS="-framework OpenGL -framework AGL"
34565 elif test "$wxUSE_MSW" = 1; then
34566 OPENGL_LIBS="-lopengl32 -lglu32"
34567 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34568
34569 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34570 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34571
34572 ac_find_includes=
34573 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34574 do
34575 if test -f "$ac_dir/GL/gl.h"; then
34576 ac_find_includes=$ac_dir
34577 break
34578 fi
34579 done
34580
34581 if test "$ac_find_includes" != "" ; then
34582 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34583 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34584
34585 if test "x$ac_find_includes" = "x/usr/include"; then
34586 ac_path_to_include=""
34587 else
34588 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34589 result=$?
34590 if test $result = 0; then
34591 ac_path_to_include=""
34592 else
34593 ac_path_to_include=" -I$ac_find_includes"
34594 fi
34595 fi
34596
34597 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34598 else
34599 { echo "$as_me:$LINENO: result: not found" >&5
34600 echo "${ECHO_T}not found" >&6; }
34601 fi
34602
34603 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34604 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34605 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 else
34608 cat >conftest.$ac_ext <<_ACEOF
34609 /* confdefs.h. */
34610 _ACEOF
34611 cat confdefs.h >>conftest.$ac_ext
34612 cat >>conftest.$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34614
34615
34616 #include <GL/gl.h>
34617 _ACEOF
34618 rm -f conftest.$ac_objext
34619 if { (ac_try="$ac_compile"
34620 case "(($ac_try" in
34621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34622 *) ac_try_echo=$ac_try;;
34623 esac
34624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34625 (eval "$ac_compile") 2>conftest.er1
34626 ac_status=$?
34627 grep -v '^ *+' conftest.er1 >conftest.err
34628 rm -f conftest.er1
34629 cat conftest.err >&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } && {
34632 test -z "$ac_c_werror_flag" ||
34633 test ! -s conftest.err
34634 } && test -s conftest.$ac_objext; then
34635 ac_cv_header_GL_gl_h=yes
34636 else
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.$ac_ext >&5
34639
34640 ac_cv_header_GL_gl_h=no
34641 fi
34642
34643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34644 fi
34645 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34646 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34647 if test $ac_cv_header_GL_gl_h = yes; then
34648
34649 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34650 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34651 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34652 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 else
34654 cat >conftest.$ac_ext <<_ACEOF
34655 /* confdefs.h. */
34656 _ACEOF
34657 cat confdefs.h >>conftest.$ac_ext
34658 cat >>conftest.$ac_ext <<_ACEOF
34659 /* end confdefs.h. */
34660
34661
34662 #include <GL/glu.h>
34663 _ACEOF
34664 rm -f conftest.$ac_objext
34665 if { (ac_try="$ac_compile"
34666 case "(($ac_try" in
34667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34668 *) ac_try_echo=$ac_try;;
34669 esac
34670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34671 (eval "$ac_compile") 2>conftest.er1
34672 ac_status=$?
34673 grep -v '^ *+' conftest.er1 >conftest.err
34674 rm -f conftest.er1
34675 cat conftest.err >&5
34676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677 (exit $ac_status); } && {
34678 test -z "$ac_c_werror_flag" ||
34679 test ! -s conftest.err
34680 } && test -s conftest.$ac_objext; then
34681 ac_cv_header_GL_glu_h=yes
34682 else
34683 echo "$as_me: failed program was:" >&5
34684 sed 's/^/| /' conftest.$ac_ext >&5
34685
34686 ac_cv_header_GL_glu_h=no
34687 fi
34688
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34690 fi
34691 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34692 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34693 if test $ac_cv_header_GL_glu_h = yes; then
34694
34695 found_gl=0
34696
34697 { echo "$as_me:$LINENO: checking for -lGL" >&5
34698 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34699
34700 ac_find_libraries=
34701 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34702 do
34703 for ac_extension in a so sl dylib dll.a; do
34704 if test -f "$ac_dir/libGL.$ac_extension"; then
34705 ac_find_libraries=$ac_dir
34706 break 2
34707 fi
34708 done
34709 done
34710
34711 if test "$ac_find_libraries" != "" ; then
34712 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34713 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34714
34715
34716 if test "$ac_find_libraries" = "default location"; then
34717 ac_path_to_link=""
34718 else
34719 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34720 result=$?
34721 if test $result = 0; then
34722 ac_path_to_link=""
34723 else
34724 ac_path_to_link=" -L$ac_find_libraries"
34725 fi
34726 fi
34727
34728 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34729 LDFLAGS_GL="$ac_path_to_link"
34730 fi
34731
34732 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34733 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34734
34735 ac_find_libraries=
34736 for ac_dir in $SEARCH_LIB
34737 do
34738 for ac_extension in a so sl dylib dll.a; do
34739 if test -f "$ac_dir/libGLU.$ac_extension"; then
34740 ac_find_libraries=$ac_dir
34741 break 2
34742 fi
34743 done
34744 done
34745
34746 if test "$ac_find_libraries" != "" ; then
34747
34748 if test "$ac_find_libraries" = "default location"; then
34749 ac_path_to_link=""
34750 else
34751 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34752 result=$?
34753 if test $result = 0; then
34754 ac_path_to_link=""
34755 else
34756 ac_path_to_link=" -L$ac_find_libraries"
34757 fi
34758 fi
34759
34760 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34761 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34762 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34763 fi
34764
34765 found_gl=1
34766 OPENGL_LIBS="-lGL -lGLU"
34767 { echo "$as_me:$LINENO: result: yes" >&5
34768 echo "${ECHO_T}yes" >&6; }
34769 else
34770 { echo "$as_me:$LINENO: result: no" >&5
34771 echo "${ECHO_T}no" >&6; }
34772 fi
34773 else
34774 { echo "$as_me:$LINENO: result: no" >&5
34775 echo "${ECHO_T}no" >&6; }
34776 fi
34777
34778 if test "$found_gl" != 1; then
34779 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34780 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34781
34782 ac_find_libraries=
34783 for ac_dir in $SEARCH_LIB
34784 do
34785 for ac_extension in a so sl dylib dll.a; do
34786 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34787 ac_find_libraries=$ac_dir
34788 break 2
34789 fi
34790 done
34791 done
34792
34793 if test "$ac_find_libraries" != "" ; then
34794
34795 if test "$ac_find_libraries" = "default location"; then
34796 ac_path_to_link=""
34797 else
34798 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34799 result=$?
34800 if test $result = 0; then
34801 ac_path_to_link=""
34802 else
34803 ac_path_to_link=" -L$ac_find_libraries"
34804 fi
34805 fi
34806
34807 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34808 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34809 { echo "$as_me:$LINENO: result: yes" >&5
34810 echo "${ECHO_T}yes" >&6; }
34811 else
34812 { echo "$as_me:$LINENO: result: no" >&5
34813 echo "${ECHO_T}no" >&6; }
34814 fi
34815 fi
34816
34817 fi
34818
34819
34820
34821 fi
34822
34823
34824
34825 if test "x$OPENGL_LIBS" = "x"; then
34826 if test "$wxUSE_OPENGL" = "yes"; then
34827 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34828 echo "$as_me: error: OpenGL libraries not available" >&2;}
34829 { (exit 1); exit 1; }; }
34830 else
34831 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34832 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34833 wxUSE_OPENGL=no
34834 USE_OPENGL=0
34835 fi
34836 fi
34837 else
34838 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34839 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34840 wxUSE_OPENGL="no"
34841 fi
34842
34843 if test "$wxUSE_OPENGL" = "auto"; then
34844 wxUSE_OPENGL=yes
34845 fi
34846
34847 if test "$wxUSE_OPENGL" = "yes"; then
34848 USE_OPENGL=1
34849 cat >>confdefs.h <<\_ACEOF
34850 #define wxUSE_OPENGL 1
34851 _ACEOF
34852
34853 cat >>confdefs.h <<\_ACEOF
34854 #define wxUSE_GLCANVAS 1
34855 _ACEOF
34856
34857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34858 fi
34859 fi
34860
34861
34862 if test -n "$TOOLKIT" ; then
34863 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34864 fi
34865
34866
34867
34868 if test "$wxUSE_SHARED" = "yes"; then
34869 case "${host}" in
34870 *-pc-msdosdjgpp )
34871 wxUSE_SHARED=no
34872 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34873 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34874 ;;
34875 esac
34876 fi
34877
34878 if test "$wxUSE_SHARED" = "yes"; then
34879
34880
34881 case "${host}" in
34882 *-*-cygwin* | *-*-mingw* )
34883 wx_cv_version_script=no
34884 ;;
34885
34886 *)
34887 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34888 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34889 if test "${wx_cv_version_script+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34891 else
34892
34893 echo "VER_1 { *; };" >conftest.sym
34894 echo "int main() { return 0; }" >conftest.cpp
34895
34896 if { ac_try='
34897 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34898 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34901 ac_status=$?
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; } ; then
34904 if test -s conftest.stderr ; then
34905 wx_cv_version_script=no
34906 else
34907 wx_cv_version_script=yes
34908 fi
34909 else
34910 wx_cv_version_script=no
34911 fi
34912
34913 if test $wx_cv_version_script = yes
34914 then
34915 echo "struct B { virtual ~B() { } }; \
34916 struct D : public B { }; \
34917 void F() { D d; }" > conftest.cpp
34918
34919 if { ac_try='
34920 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34921 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='
34928 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34929 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34932 ac_status=$?
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }
34935 then
34936 if { ac_try='
34937 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34938 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34940 (eval $ac_try) 2>&5
34941 ac_status=$?
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); }; }
34944 then
34945 wx_cv_version_script=yes
34946 else
34947 wx_cv_version_script=no
34948 fi
34949 fi
34950 fi
34951
34952 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34953 rm -f conftest1.output conftest2.output conftest3.output
34954
34955 fi
34956 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34957 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34958
34959 if test $wx_cv_version_script = yes ; then
34960 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34961 fi
34962 ;;
34963 esac
34964
34965
34966 if test "$wxUSE_VISIBILITY" != "no"; then
34967
34968
34969 if test -n "$GCC"; then
34970 CFLAGS_VISIBILITY="-fvisibility=hidden"
34971 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34972 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34973 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34974 if test "${wx_cv_cc_visibility+set}" = set; then
34975 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 else
34977
34978 wx_save_CXXFLAGS="$CXXFLAGS"
34979 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34980 ac_ext=cpp
34981 ac_cpp='$CXXCPP $CPPFLAGS'
34982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34985
34986 cat >conftest.$ac_ext <<_ACEOF
34987 /* confdefs.h. */
34988 _ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34992
34993 /* we need gcc >= 4.0, older versions with visibility support
34994 didn't have class visibility: */
34995 #if defined(__GNUC__) && __GNUC__ < 4
34996 error this gcc is too old;
34997 #endif
34998
34999 /* visibility only makes sense for ELF shared libs: */
35000 #if !defined(__ELF__) && !defined(__APPLE__)
35001 error this platform has no visibility;
35002 #endif
35003
35004 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35005 extern __attribute__((__visibility__("default"))) int exportedvar;
35006 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35007 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35008 class __attribute__((__visibility__("default"))) Foo {
35009 Foo() {}
35010 };
35011
35012 int
35013 main ()
35014 {
35015
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 rm -f conftest.$ac_objext
35021 if { (ac_try="$ac_compile"
35022 case "(($ac_try" in
35023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35024 *) ac_try_echo=$ac_try;;
35025 esac
35026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35027 (eval "$ac_compile") 2>conftest.er1
35028 ac_status=$?
35029 grep -v '^ *+' conftest.er1 >conftest.err
35030 rm -f conftest.er1
35031 cat conftest.err >&5
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); } && {
35034 test -z "$ac_cxx_werror_flag" ||
35035 test ! -s conftest.err
35036 } && test -s conftest.$ac_objext; then
35037 wx_cv_cc_visibility=yes
35038 else
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35041
35042 wx_cv_cc_visibility=no
35043 fi
35044
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35046 ac_ext=c
35047 ac_cpp='$CPP $CPPFLAGS'
35048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35051
35052 CXXFLAGS="$wx_save_CXXFLAGS"
35053 fi
35054
35055 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35056 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35057 if test $wx_cv_cc_visibility = yes; then
35058 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35059 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35060 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35062 else
35063
35064 wx_save_CXXFLAGS="$CXXFLAGS"
35065 wx_save_LDFLAGS="$LDFLAGS"
35066 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35067 LDFLAGS="$LDFLAGS -shared -fPIC"
35068 ac_ext=cpp
35069 ac_cpp='$CXXCPP $CPPFLAGS'
35070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35073
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080
35081 #include <string>
35082
35083 int
35084 main ()
35085 {
35086
35087 std::string s("hello");
35088 return s.length();
35089
35090 ;
35091 return 0;
35092 }
35093 _ACEOF
35094 rm -f conftest.$ac_objext conftest$ac_exeext
35095 if { (ac_try="$ac_link"
35096 case "(($ac_try" in
35097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35098 *) ac_try_echo=$ac_try;;
35099 esac
35100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35101 (eval "$ac_link") 2>conftest.er1
35102 ac_status=$?
35103 grep -v '^ *+' conftest.er1 >conftest.err
35104 rm -f conftest.er1
35105 cat conftest.err >&5
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); } && {
35108 test -z "$ac_cxx_werror_flag" ||
35109 test ! -s conftest.err
35110 } && test -s conftest$ac_exeext &&
35111 $as_test_x conftest$ac_exeext; then
35112 wx_cv_cc_broken_libstdcxx_visibility=no
35113 else
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35116
35117 wx_cv_cc_broken_libstdcxx_visibility=yes
35118 fi
35119
35120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35121 conftest$ac_exeext conftest.$ac_ext
35122 ac_ext=c
35123 ac_cpp='$CPP $CPPFLAGS'
35124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35127
35128 CXXFLAGS="$wx_save_CXXFLAGS"
35129 LDFLAGS="$wx_save_LDFLAGS"
35130 fi
35131
35132 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35133 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35134
35135 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35136 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35137 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35138 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 else
35141
35142 ac_ext=cpp
35143 ac_cpp='$CXXCPP $CPPFLAGS'
35144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35147
35148 cat >conftest.$ac_ext <<_ACEOF
35149 /* confdefs.h. */
35150 _ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35154
35155 #pragma GCC visibility push(default)
35156 #include <string>
35157 #pragma GCC visibility pop
35158
35159 int
35160 main ()
35161 {
35162
35163 std::string s("hello");
35164 return s.length();
35165
35166 ;
35167 return 0;
35168 }
35169 _ACEOF
35170 rm -f conftest.$ac_objext conftest$ac_exeext
35171 if { (ac_try="$ac_link"
35172 case "(($ac_try" in
35173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35174 *) ac_try_echo=$ac_try;;
35175 esac
35176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35177 (eval "$ac_link") 2>conftest.er1
35178 ac_status=$?
35179 grep -v '^ *+' conftest.er1 >conftest.err
35180 rm -f conftest.er1
35181 cat conftest.err >&5
35182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35183 (exit $ac_status); } && {
35184 test -z "$ac_cxx_werror_flag" ||
35185 test ! -s conftest.err
35186 } && test -s conftest$ac_exeext &&
35187 $as_test_x conftest$ac_exeext; then
35188 wx_cv_cc_visibility_workaround=no
35189 else
35190 echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 wx_cv_cc_visibility_workaround=yes
35194 fi
35195
35196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35197 conftest$ac_exeext conftest.$ac_ext
35198 ac_ext=c
35199 ac_cpp='$CPP $CPPFLAGS'
35200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35203
35204
35205 fi
35206
35207 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35208 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35209
35210 if test $wx_cv_cc_visibility_workaround = no; then
35211 wx_cv_cc_visibility=no
35212 fi
35213 fi
35214 fi
35215
35216 if test $wx_cv_cc_visibility = yes; then
35217 cat >>confdefs.h <<\_ACEOF
35218 #define HAVE_VISIBILITY 1
35219 _ACEOF
35220
35221 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35222 cat >>confdefs.h <<\_ACEOF
35223 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35224 _ACEOF
35225
35226 fi
35227 else
35228 CFLAGS_VISIBILITY=""
35229 CXXFLAGS_VISIBILITY=""
35230 fi
35231
35232
35233 fi
35234
35235 fi
35236
35237 if test "x$SUNCXX" = xyes; then
35238 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35239 WXCONFIG_RPATH="-R\$libdir"
35240 else
35241 case "${host}" in
35242 *-*-linux* | *-*-gnu* )
35243 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35244 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35245 ;;
35246
35247 *-*-solaris2* )
35248
35249 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35250
35251 saveLdflags="$LDFLAGS"
35252 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35253 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35254 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35255 cat >conftest.$ac_ext <<_ACEOF
35256 /* confdefs.h. */
35257 _ACEOF
35258 cat confdefs.h >>conftest.$ac_ext
35259 cat >>conftest.$ac_ext <<_ACEOF
35260 /* end confdefs.h. */
35261
35262 int
35263 main ()
35264 {
35265
35266 ;
35267 return 0;
35268 }
35269 _ACEOF
35270 rm -f conftest.$ac_objext conftest$ac_exeext
35271 if { (ac_try="$ac_link"
35272 case "(($ac_try" in
35273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35274 *) ac_try_echo=$ac_try;;
35275 esac
35276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35277 (eval "$ac_link") 2>conftest.er1
35278 ac_status=$?
35279 grep -v '^ *+' conftest.er1 >conftest.err
35280 rm -f conftest.er1
35281 cat conftest.err >&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); } && {
35284 test -z "$ac_c_werror_flag" ||
35285 test ! -s conftest.err
35286 } && test -s conftest$ac_exeext &&
35287 $as_test_x conftest$ac_exeext; then
35288
35289 { echo "$as_me:$LINENO: result: yes" >&5
35290 echo "${ECHO_T}yes" >&6; }
35291 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35292 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35293
35294 else
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35297
35298
35299 { echo "$as_me:$LINENO: result: no" >&5
35300 echo "${ECHO_T}no" >&6; }
35301 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35302 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35303 LDFLAGS="$saveLdflags -Wl,-R,/"
35304 cat >conftest.$ac_ext <<_ACEOF
35305 /* confdefs.h. */
35306 _ACEOF
35307 cat confdefs.h >>conftest.$ac_ext
35308 cat >>conftest.$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35310
35311 int
35312 main ()
35313 {
35314
35315 ;
35316 return 0;
35317 }
35318 _ACEOF
35319 rm -f conftest.$ac_objext conftest$ac_exeext
35320 if { (ac_try="$ac_link"
35321 case "(($ac_try" in
35322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35323 *) ac_try_echo=$ac_try;;
35324 esac
35325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35326 (eval "$ac_link") 2>conftest.er1
35327 ac_status=$?
35328 grep -v '^ *+' conftest.er1 >conftest.err
35329 rm -f conftest.er1
35330 cat conftest.err >&5
35331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332 (exit $ac_status); } && {
35333 test -z "$ac_c_werror_flag" ||
35334 test ! -s conftest.err
35335 } && test -s conftest$ac_exeext &&
35336 $as_test_x conftest$ac_exeext; then
35337
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35340 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35341 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35342
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35346
35347
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35350
35351 fi
35352
35353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35354 conftest$ac_exeext conftest.$ac_ext
35355
35356 fi
35357
35358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35359 conftest$ac_exeext conftest.$ac_ext
35360 LDFLAGS="$saveLdflags"
35361 ;;
35362
35363 *-*-darwin* )
35364 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35365 if test "$install_name_tool" -a -x "$install_name_tool"; then
35366 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35367 cat <<EOF >change-install-names
35368 #!/bin/sh
35369 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35370 for i in \${libnames} ; do
35371 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35372 for dep in \${libnames} ; do
35373 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35374 done
35375 done
35376 EOF
35377 chmod +x change-install-names
35378 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35379 fi
35380
35381 HEADER_PAD_OPTION="-headerpad_max_install_names"
35382 ;;
35383
35384 *-*-cygwin* | *-*-mingw32* )
35385 ;;
35386
35387 *-*-hpux* )
35388 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35389 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35390 ;;
35391
35392 esac
35393 fi
35394
35395 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35396
35397 if test $wxUSE_RPATH = "no"; then
35398 SAMPLES_RPATH_FLAG=''
35399 DYLIB_PATH_POSTLINK=''
35400 WXCONFIG_RPATH=''
35401 fi
35402
35403 SHARED=1
35404
35405 else
35406
35407 config_linkage_component="-static"
35408 SHARED=0
35409
35410 fi
35411
35412
35413 UNICODE=0
35414 lib_unicode_suffix=
35415 WX_CHARTYPE="ansi"
35416 if test "$wxUSE_UNICODE" = "yes"; then
35417 lib_unicode_suffix=u
35418 WX_CHARTYPE="unicode"
35419 UNICODE=1
35420 fi
35421
35422 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35423 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35424
35425 DEBUG_INFO=0
35426 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35427 DEBUG_INFO=1
35428 fi
35429
35430 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35431
35432 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35433
35434 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35435
35436
35437 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35438 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35439 else
35440 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35441 fi
35442 if test "${TOOLKIT_DIR}" = "os2"; then
35443 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35444 else
35445 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35446 fi
35447
35448
35449
35450 if test "$wxUSE_OLD_COCOA" = 1; then
35451
35452 ac_ext=c
35453 ac_cpp='$CPP $CPPFLAGS'
35454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457
35458 ac_ext=m
35459
35460 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35461 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35462 cat >conftest.$ac_ext <<_ACEOF
35463 /* confdefs.h. */
35464 _ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468 #include <AppKit/NSEvent.h>
35469 #include <CoreFoundation/CoreFoundation.h>
35470
35471 int
35472 main ()
35473 {
35474
35475 ;
35476 return 0;
35477 }
35478 _ACEOF
35479 rm -f conftest.$ac_objext
35480 if { (ac_try="$ac_compile"
35481 case "(($ac_try" in
35482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35483 *) ac_try_echo=$ac_try;;
35484 esac
35485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35486 (eval "$ac_compile") 2>conftest.er1
35487 ac_status=$?
35488 grep -v '^ *+' conftest.er1 >conftest.err
35489 rm -f conftest.er1
35490 cat conftest.err >&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } && {
35493 test -z "$ac_c_werror_flag" ||
35494 test ! -s conftest.err
35495 } && test -s conftest.$ac_objext; then
35496 { echo "$as_me:$LINENO: result: no" >&5
35497 echo "${ECHO_T}no" >&6; }
35498 else
35499 echo "$as_me: failed program was:" >&5
35500 sed 's/^/| /' conftest.$ac_ext >&5
35501
35502 { echo "$as_me:$LINENO: result: yes" >&5
35503 echo "${ECHO_T}yes" >&6; }
35504 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35505 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #define __Point__ 1
35513 #include <AppKit/NSEvent.h>
35514 #include <CoreFoundation/CoreFoundation.h>
35515
35516 int
35517 main ()
35518 {
35519
35520 ;
35521 return 0;
35522 }
35523 _ACEOF
35524 rm -f conftest.$ac_objext
35525 if { (ac_try="$ac_compile"
35526 case "(($ac_try" in
35527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35528 *) ac_try_echo=$ac_try;;
35529 esac
35530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35531 (eval "$ac_compile") 2>conftest.er1
35532 ac_status=$?
35533 grep -v '^ *+' conftest.er1 >conftest.err
35534 rm -f conftest.er1
35535 cat conftest.err >&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); } && {
35538 test -z "$ac_c_werror_flag" ||
35539 test ! -s conftest.err
35540 } && test -s conftest.$ac_objext; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35543 cat >>confdefs.h <<\_ACEOF
35544 #define __Point__ 1
35545 _ACEOF
35546
35547
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552 { { echo "$as_me:$LINENO: error: no
35553 See \`config.log' for more details." >&5
35554 echo "$as_me: error: no
35555 See \`config.log' for more details." >&2;}
35556 { (exit 1); exit 1; }; }
35557
35558 fi
35559
35560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35561
35562 fi
35563
35564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35565 ac_ext=c
35566 ac_cpp='$CPP $CPPFLAGS'
35567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35570
35571 fi
35572
35573
35574 { echo "$as_me:$LINENO: checking for mode_t" >&5
35575 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35576 if test "${ac_cv_type_mode_t+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35578 else
35579 cat >conftest.$ac_ext <<_ACEOF
35580 /* confdefs.h. */
35581 _ACEOF
35582 cat confdefs.h >>conftest.$ac_ext
35583 cat >>conftest.$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 $ac_includes_default
35586 typedef mode_t ac__type_new_;
35587 int
35588 main ()
35589 {
35590 if ((ac__type_new_ *) 0)
35591 return 0;
35592 if (sizeof (ac__type_new_))
35593 return 0;
35594 ;
35595 return 0;
35596 }
35597 _ACEOF
35598 rm -f conftest.$ac_objext
35599 if { (ac_try="$ac_compile"
35600 case "(($ac_try" in
35601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35602 *) ac_try_echo=$ac_try;;
35603 esac
35604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35605 (eval "$ac_compile") 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } && {
35612 test -z "$ac_c_werror_flag" ||
35613 test ! -s conftest.err
35614 } && test -s conftest.$ac_objext; then
35615 ac_cv_type_mode_t=yes
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620 ac_cv_type_mode_t=no
35621 fi
35622
35623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35624 fi
35625 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35626 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35627 if test $ac_cv_type_mode_t = yes; then
35628 :
35629 else
35630
35631 cat >>confdefs.h <<_ACEOF
35632 #define mode_t int
35633 _ACEOF
35634
35635 fi
35636
35637 { echo "$as_me:$LINENO: checking for off_t" >&5
35638 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35639 if test "${ac_cv_type_off_t+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642 cat >conftest.$ac_ext <<_ACEOF
35643 /* confdefs.h. */
35644 _ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 $ac_includes_default
35649 typedef off_t ac__type_new_;
35650 int
35651 main ()
35652 {
35653 if ((ac__type_new_ *) 0)
35654 return 0;
35655 if (sizeof (ac__type_new_))
35656 return 0;
35657 ;
35658 return 0;
35659 }
35660 _ACEOF
35661 rm -f conftest.$ac_objext
35662 if { (ac_try="$ac_compile"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35665 *) ac_try_echo=$ac_try;;
35666 esac
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_compile") 2>conftest.er1
35669 ac_status=$?
35670 grep -v '^ *+' conftest.er1 >conftest.err
35671 rm -f conftest.er1
35672 cat conftest.err >&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_c_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest.$ac_objext; then
35678 ac_cv_type_off_t=yes
35679 else
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.$ac_ext >&5
35682
35683 ac_cv_type_off_t=no
35684 fi
35685
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687 fi
35688 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35689 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35690 if test $ac_cv_type_off_t = yes; then
35691 :
35692 else
35693
35694 cat >>confdefs.h <<_ACEOF
35695 #define off_t long int
35696 _ACEOF
35697
35698 fi
35699
35700 { echo "$as_me:$LINENO: checking for pid_t" >&5
35701 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35702 if test "${ac_cv_type_pid_t+set}" = set; then
35703 echo $ECHO_N "(cached) $ECHO_C" >&6
35704 else
35705 cat >conftest.$ac_ext <<_ACEOF
35706 /* confdefs.h. */
35707 _ACEOF
35708 cat confdefs.h >>conftest.$ac_ext
35709 cat >>conftest.$ac_ext <<_ACEOF
35710 /* end confdefs.h. */
35711 $ac_includes_default
35712 typedef pid_t ac__type_new_;
35713 int
35714 main ()
35715 {
35716 if ((ac__type_new_ *) 0)
35717 return 0;
35718 if (sizeof (ac__type_new_))
35719 return 0;
35720 ;
35721 return 0;
35722 }
35723 _ACEOF
35724 rm -f conftest.$ac_objext
35725 if { (ac_try="$ac_compile"
35726 case "(($ac_try" in
35727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35728 *) ac_try_echo=$ac_try;;
35729 esac
35730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35731 (eval "$ac_compile") 2>conftest.er1
35732 ac_status=$?
35733 grep -v '^ *+' conftest.er1 >conftest.err
35734 rm -f conftest.er1
35735 cat conftest.err >&5
35736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 (exit $ac_status); } && {
35738 test -z "$ac_c_werror_flag" ||
35739 test ! -s conftest.err
35740 } && test -s conftest.$ac_objext; then
35741 ac_cv_type_pid_t=yes
35742 else
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.$ac_ext >&5
35745
35746 ac_cv_type_pid_t=no
35747 fi
35748
35749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35750 fi
35751 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35752 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35753 if test $ac_cv_type_pid_t = yes; then
35754 :
35755 else
35756
35757 cat >>confdefs.h <<_ACEOF
35758 #define pid_t int
35759 _ACEOF
35760
35761 fi
35762
35763 { echo "$as_me:$LINENO: checking for size_t" >&5
35764 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35765 if test "${ac_cv_type_size_t+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 $ac_includes_default
35775 typedef size_t ac__type_new_;
35776 int
35777 main ()
35778 {
35779 if ((ac__type_new_ *) 0)
35780 return 0;
35781 if (sizeof (ac__type_new_))
35782 return 0;
35783 ;
35784 return 0;
35785 }
35786 _ACEOF
35787 rm -f conftest.$ac_objext
35788 if { (ac_try="$ac_compile"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35791 *) ac_try_echo=$ac_try;;
35792 esac
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_compile") 2>conftest.er1
35795 ac_status=$?
35796 grep -v '^ *+' conftest.er1 >conftest.err
35797 rm -f conftest.er1
35798 cat conftest.err >&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest.$ac_objext; then
35804 ac_cv_type_size_t=yes
35805 else
35806 echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35808
35809 ac_cv_type_size_t=no
35810 fi
35811
35812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35813 fi
35814 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35815 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35816 if test $ac_cv_type_size_t = yes; then
35817 :
35818 else
35819
35820 cat >>confdefs.h <<_ACEOF
35821 #define size_t unsigned int
35822 _ACEOF
35823
35824 fi
35825
35826
35827 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35828 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35829 if test "${ac_cv_type_ssize_t+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35832 cat >conftest.$ac_ext <<_ACEOF
35833 /* confdefs.h. */
35834 _ACEOF
35835 cat confdefs.h >>conftest.$ac_ext
35836 cat >>conftest.$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35838 $ac_includes_default
35839 typedef ssize_t ac__type_new_;
35840 int
35841 main ()
35842 {
35843 if ((ac__type_new_ *) 0)
35844 return 0;
35845 if (sizeof (ac__type_new_))
35846 return 0;
35847 ;
35848 return 0;
35849 }
35850 _ACEOF
35851 rm -f conftest.$ac_objext
35852 if { (ac_try="$ac_compile"
35853 case "(($ac_try" in
35854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35855 *) ac_try_echo=$ac_try;;
35856 esac
35857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35858 (eval "$ac_compile") 2>conftest.er1
35859 ac_status=$?
35860 grep -v '^ *+' conftest.er1 >conftest.err
35861 rm -f conftest.er1
35862 cat conftest.err >&5
35863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35864 (exit $ac_status); } && {
35865 test -z "$ac_c_werror_flag" ||
35866 test ! -s conftest.err
35867 } && test -s conftest.$ac_objext; then
35868 ac_cv_type_ssize_t=yes
35869 else
35870 echo "$as_me: failed program was:" >&5
35871 sed 's/^/| /' conftest.$ac_ext >&5
35872
35873 ac_cv_type_ssize_t=no
35874 fi
35875
35876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35877 fi
35878 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35879 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35880 if test $ac_cv_type_ssize_t = yes; then
35881
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE_SSIZE_T 1
35884 _ACEOF
35885
35886
35887 fi
35888
35889
35890 ac_ext=cpp
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35895 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35896 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35897 if test "${wx_cv_size_t_is_uint+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35900
35901 cat >conftest.$ac_ext <<_ACEOF
35902 /* confdefs.h. */
35903 _ACEOF
35904 cat confdefs.h >>conftest.$ac_ext
35905 cat >>conftest.$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35907 #include <stddef.h>
35908 int
35909 main ()
35910 {
35911
35912 return 0; }
35913
35914 struct Foo { void foo(size_t); void foo(unsigned int); };
35915
35916 int bar() {
35917
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35927 esac
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_cxx_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.$ac_objext; then
35939 wx_cv_size_t_is_uint=no
35940 else
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.$ac_ext >&5
35943
35944 wx_cv_size_t_is_uint=yes
35945
35946 fi
35947
35948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35949
35950
35951 fi
35952 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35953 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35954
35955 if test "$wx_cv_size_t_is_uint" = "yes"; then
35956 cat >>confdefs.h <<\_ACEOF
35957 #define wxSIZE_T_IS_UINT 1
35958 _ACEOF
35959
35960 else
35961 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35962 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35963 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35964 echo $ECHO_N "(cached) $ECHO_C" >&6
35965 else
35966 cat >conftest.$ac_ext <<_ACEOF
35967 /* confdefs.h. */
35968 _ACEOF
35969 cat confdefs.h >>conftest.$ac_ext
35970 cat >>conftest.$ac_ext <<_ACEOF
35971 /* end confdefs.h. */
35972 #include <stddef.h>
35973 int
35974 main ()
35975 {
35976
35977 return 0; }
35978
35979 struct Foo { void foo(size_t); void foo(unsigned long); };
35980
35981 int bar() {
35982
35983 ;
35984 return 0;
35985 }
35986 _ACEOF
35987 rm -f conftest.$ac_objext
35988 if { (ac_try="$ac_compile"
35989 case "(($ac_try" in
35990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35991 *) ac_try_echo=$ac_try;;
35992 esac
35993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35994 (eval "$ac_compile") 2>conftest.er1
35995 ac_status=$?
35996 grep -v '^ *+' conftest.er1 >conftest.err
35997 rm -f conftest.er1
35998 cat conftest.err >&5
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); } && {
36001 test -z "$ac_cxx_werror_flag" ||
36002 test ! -s conftest.err
36003 } && test -s conftest.$ac_objext; then
36004 wx_cv_size_t_is_ulong=no
36005 else
36006 echo "$as_me: failed program was:" >&5
36007 sed 's/^/| /' conftest.$ac_ext >&5
36008
36009 wx_cv_size_t_is_ulong=yes
36010
36011 fi
36012
36013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36014
36015 fi
36016 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36017 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36018
36019 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36020 cat >>confdefs.h <<\_ACEOF
36021 #define wxSIZE_T_IS_ULONG 1
36022 _ACEOF
36023
36024 fi
36025 fi
36026
36027 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36028 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36029 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038 #include <wchar.h>
36039 int
36040 main ()
36041 {
36042
36043 return 0; }
36044
36045 struct Foo { void foo(wchar_t);
36046 void foo(unsigned short);
36047 void foo(unsigned int);
36048 void foo(unsigned long); };
36049
36050 int bar() {
36051
36052 ;
36053 return 0;
36054 }
36055 _ACEOF
36056 rm -f conftest.$ac_objext
36057 if { (ac_try="$ac_compile"
36058 case "(($ac_try" in
36059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36060 *) ac_try_echo=$ac_try;;
36061 esac
36062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36063 (eval "$ac_compile") 2>conftest.er1
36064 ac_status=$?
36065 grep -v '^ *+' conftest.er1 >conftest.err
36066 rm -f conftest.er1
36067 cat conftest.err >&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } && {
36070 test -z "$ac_cxx_werror_flag" ||
36071 test ! -s conftest.err
36072 } && test -s conftest.$ac_objext; then
36073 wx_cv_wchar_t_is_separate_type=yes
36074 else
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36077
36078 wx_cv_wchar_t_is_separate_type=no
36079
36080 fi
36081
36082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36083
36084 fi
36085 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36086 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36087
36088 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36089 cat >>confdefs.h <<\_ACEOF
36090 #define wxWCHAR_T_IS_REAL_TYPE 1
36091 _ACEOF
36092
36093 else
36094 cat >>confdefs.h <<\_ACEOF
36095 #define wxWCHAR_T_IS_REAL_TYPE 0
36096 _ACEOF
36097
36098 fi
36099
36100 ac_ext=c
36101 ac_cpp='$CPP $CPPFLAGS'
36102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36105
36106
36107 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36108 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36109 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36110 echo $ECHO_N "(cached) $ECHO_C" >&6
36111 else
36112
36113 cat >conftest.$ac_ext <<_ACEOF
36114 /* confdefs.h. */
36115 _ACEOF
36116 cat confdefs.h >>conftest.$ac_ext
36117 cat >>conftest.$ac_ext <<_ACEOF
36118 /* end confdefs.h. */
36119 #include <pwd.h>
36120 int
36121 main ()
36122 {
36123
36124 char *p;
36125 struct passwd *pw;
36126 p = pw->pw_gecos;
36127
36128 ;
36129 return 0;
36130 }
36131 _ACEOF
36132 rm -f conftest.$ac_objext
36133 if { (ac_try="$ac_compile"
36134 case "(($ac_try" in
36135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36136 *) ac_try_echo=$ac_try;;
36137 esac
36138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36139 (eval "$ac_compile") 2>conftest.er1
36140 ac_status=$?
36141 grep -v '^ *+' conftest.er1 >conftest.err
36142 rm -f conftest.er1
36143 cat conftest.err >&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } && {
36146 test -z "$ac_c_werror_flag" ||
36147 test ! -s conftest.err
36148 } && test -s conftest.$ac_objext; then
36149
36150 wx_cv_struct_pw_gecos=yes
36151
36152 else
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36155
36156
36157 wx_cv_struct_pw_gecos=no
36158
36159
36160 fi
36161
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36163
36164
36165 fi
36166 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36167 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36168
36169 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36170 cat >>confdefs.h <<\_ACEOF
36171 #define HAVE_PW_GECOS 1
36172 _ACEOF
36173
36174 fi
36175
36176
36177 WCSLEN_FOUND=0
36178 WCHAR_LINK=
36179
36180 for ac_func in wcslen
36181 do
36182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36183 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36185 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36187 else
36188 cat >conftest.$ac_ext <<_ACEOF
36189 /* confdefs.h. */
36190 _ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36196 #define $ac_func innocuous_$ac_func
36197
36198 /* System header to define __stub macros and hopefully few prototypes,
36199 which can conflict with char $ac_func (); below.
36200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36201 <limits.h> exists even on freestanding compilers. */
36202
36203 #ifdef __STDC__
36204 # include <limits.h>
36205 #else
36206 # include <assert.h>
36207 #endif
36208
36209 #undef $ac_func
36210
36211 /* Override any GCC internal prototype to avoid an error.
36212 Use char because int might match the return type of a GCC
36213 builtin and then its argument prototype would still apply. */
36214 #ifdef __cplusplus
36215 extern "C"
36216 #endif
36217 char $ac_func ();
36218 /* The GNU C library defines this for functions which it implements
36219 to always fail with ENOSYS. Some functions are actually named
36220 something starting with __ and the normal name is an alias. */
36221 #if defined __stub_$ac_func || defined __stub___$ac_func
36222 choke me
36223 #endif
36224
36225 int
36226 main ()
36227 {
36228 return $ac_func ();
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (ac_try="$ac_link"
36235 case "(($ac_try" in
36236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36237 *) ac_try_echo=$ac_try;;
36238 esac
36239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36240 (eval "$ac_link") 2>conftest.er1
36241 ac_status=$?
36242 grep -v '^ *+' conftest.er1 >conftest.err
36243 rm -f conftest.er1
36244 cat conftest.err >&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } && {
36247 test -z "$ac_c_werror_flag" ||
36248 test ! -s conftest.err
36249 } && test -s conftest$ac_exeext &&
36250 $as_test_x conftest$ac_exeext; then
36251 eval "$as_ac_var=yes"
36252 else
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36255
36256 eval "$as_ac_var=no"
36257 fi
36258
36259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36260 conftest$ac_exeext conftest.$ac_ext
36261 fi
36262 ac_res=`eval echo '${'$as_ac_var'}'`
36263 { echo "$as_me:$LINENO: result: $ac_res" >&5
36264 echo "${ECHO_T}$ac_res" >&6; }
36265 if test `eval echo '${'$as_ac_var'}'` = yes; then
36266 cat >>confdefs.h <<_ACEOF
36267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36268 _ACEOF
36269 WCSLEN_FOUND=1
36270 fi
36271 done
36272
36273
36274 if test "$WCSLEN_FOUND" = 0; then
36275 if test "$TOOLKIT" = "MSW"; then
36276 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36277 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36278 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36279 echo $ECHO_N "(cached) $ECHO_C" >&6
36280 else
36281 ac_check_lib_save_LIBS=$LIBS
36282 LIBS="-lmsvcrt $LIBS"
36283 cat >conftest.$ac_ext <<_ACEOF
36284 /* confdefs.h. */
36285 _ACEOF
36286 cat confdefs.h >>conftest.$ac_ext
36287 cat >>conftest.$ac_ext <<_ACEOF
36288 /* end confdefs.h. */
36289
36290 /* Override any GCC internal prototype to avoid an error.
36291 Use char because int might match the return type of a GCC
36292 builtin and then its argument prototype would still apply. */
36293 #ifdef __cplusplus
36294 extern "C"
36295 #endif
36296 char wcslen ();
36297 int
36298 main ()
36299 {
36300 return wcslen ();
36301 ;
36302 return 0;
36303 }
36304 _ACEOF
36305 rm -f conftest.$ac_objext conftest$ac_exeext
36306 if { (ac_try="$ac_link"
36307 case "(($ac_try" in
36308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36309 *) ac_try_echo=$ac_try;;
36310 esac
36311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36312 (eval "$ac_link") 2>conftest.er1
36313 ac_status=$?
36314 grep -v '^ *+' conftest.er1 >conftest.err
36315 rm -f conftest.er1
36316 cat conftest.err >&5
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); } && {
36319 test -z "$ac_c_werror_flag" ||
36320 test ! -s conftest.err
36321 } && test -s conftest$ac_exeext &&
36322 $as_test_x conftest$ac_exeext; then
36323 ac_cv_lib_msvcrt_wcslen=yes
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36327
36328 ac_cv_lib_msvcrt_wcslen=no
36329 fi
36330
36331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36332 conftest$ac_exeext conftest.$ac_ext
36333 LIBS=$ac_check_lib_save_LIBS
36334 fi
36335 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36336 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36337 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36338 WCHAR_OK=1
36339 fi
36340
36341 else
36342 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36343 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36344 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36345 echo $ECHO_N "(cached) $ECHO_C" >&6
36346 else
36347 ac_check_lib_save_LIBS=$LIBS
36348 LIBS="-lw $LIBS"
36349 cat >conftest.$ac_ext <<_ACEOF
36350 /* confdefs.h. */
36351 _ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h. */
36355
36356 /* Override any GCC internal prototype to avoid an error.
36357 Use char because int might match the return type of a GCC
36358 builtin and then its argument prototype would still apply. */
36359 #ifdef __cplusplus
36360 extern "C"
36361 #endif
36362 char wcslen ();
36363 int
36364 main ()
36365 {
36366 return wcslen ();
36367 ;
36368 return 0;
36369 }
36370 _ACEOF
36371 rm -f conftest.$ac_objext conftest$ac_exeext
36372 if { (ac_try="$ac_link"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36376 esac
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_link") 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_c_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest$ac_exeext &&
36388 $as_test_x conftest$ac_exeext; then
36389 ac_cv_lib_w_wcslen=yes
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 ac_cv_lib_w_wcslen=no
36395 fi
36396
36397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36398 conftest$ac_exeext conftest.$ac_ext
36399 LIBS=$ac_check_lib_save_LIBS
36400 fi
36401 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36402 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36403 if test $ac_cv_lib_w_wcslen = yes; then
36404
36405 WCHAR_LINK=" -lw"
36406 WCSLEN_FOUND=1
36407
36408 fi
36409
36410 fi
36411 fi
36412
36413 if test "$WCSLEN_FOUND" = 1; then
36414 cat >>confdefs.h <<\_ACEOF
36415 #define HAVE_WCSLEN 1
36416 _ACEOF
36417
36418 fi
36419
36420
36421
36422
36423
36424
36425
36426 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36427 do
36428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36429 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36431 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36432 echo $ECHO_N "(cached) $ECHO_C" >&6
36433 else
36434 cat >conftest.$ac_ext <<_ACEOF
36435 /* confdefs.h. */
36436 _ACEOF
36437 cat confdefs.h >>conftest.$ac_ext
36438 cat >>conftest.$ac_ext <<_ACEOF
36439 /* end confdefs.h. */
36440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36442 #define $ac_func innocuous_$ac_func
36443
36444 /* System header to define __stub macros and hopefully few prototypes,
36445 which can conflict with char $ac_func (); below.
36446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36447 <limits.h> exists even on freestanding compilers. */
36448
36449 #ifdef __STDC__
36450 # include <limits.h>
36451 #else
36452 # include <assert.h>
36453 #endif
36454
36455 #undef $ac_func
36456
36457 /* Override any GCC internal prototype to avoid an error.
36458 Use char because int might match the return type of a GCC
36459 builtin and then its argument prototype would still apply. */
36460 #ifdef __cplusplus
36461 extern "C"
36462 #endif
36463 char $ac_func ();
36464 /* The GNU C library defines this for functions which it implements
36465 to always fail with ENOSYS. Some functions are actually named
36466 something starting with __ and the normal name is an alias. */
36467 #if defined __stub_$ac_func || defined __stub___$ac_func
36468 choke me
36469 #endif
36470
36471 int
36472 main ()
36473 {
36474 return $ac_func ();
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 rm -f conftest.$ac_objext conftest$ac_exeext
36480 if { (ac_try="$ac_link"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36484 esac
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_link") 2>conftest.er1
36487 ac_status=$?
36488 grep -v '^ *+' conftest.er1 >conftest.err
36489 rm -f conftest.er1
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_c_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest$ac_exeext &&
36496 $as_test_x conftest$ac_exeext; then
36497 eval "$as_ac_var=yes"
36498 else
36499 echo "$as_me: failed program was:" >&5
36500 sed 's/^/| /' conftest.$ac_ext >&5
36501
36502 eval "$as_ac_var=no"
36503 fi
36504
36505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36506 conftest$ac_exeext conftest.$ac_ext
36507 fi
36508 ac_res=`eval echo '${'$as_ac_var'}'`
36509 { echo "$as_me:$LINENO: result: $ac_res" >&5
36510 echo "${ECHO_T}$ac_res" >&6; }
36511 if test `eval echo '${'$as_ac_var'}'` = yes; then
36512 cat >>confdefs.h <<_ACEOF
36513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36514 _ACEOF
36515
36516 fi
36517 done
36518
36519
36520 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36521 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36522 fi
36523
36524 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36525 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36526 if test "${ac_cv_type_mbstate_t+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <wchar.h>
36536
36537 typedef mbstate_t ac__type_new_;
36538 int
36539 main ()
36540 {
36541 if ((ac__type_new_ *) 0)
36542 return 0;
36543 if (sizeof (ac__type_new_))
36544 return 0;
36545 ;
36546 return 0;
36547 }
36548 _ACEOF
36549 rm -f conftest.$ac_objext
36550 if { (ac_try="$ac_compile"
36551 case "(($ac_try" in
36552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36553 *) ac_try_echo=$ac_try;;
36554 esac
36555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36556 (eval "$ac_compile") 2>conftest.er1
36557 ac_status=$?
36558 grep -v '^ *+' conftest.er1 >conftest.err
36559 rm -f conftest.er1
36560 cat conftest.err >&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } && {
36563 test -z "$ac_c_werror_flag" ||
36564 test ! -s conftest.err
36565 } && test -s conftest.$ac_objext; then
36566 ac_cv_type_mbstate_t=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 ac_cv_type_mbstate_t=no
36572 fi
36573
36574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575 fi
36576 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36577 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36578 if test $ac_cv_type_mbstate_t = yes; then
36579
36580 cat >>confdefs.h <<_ACEOF
36581 #define HAVE_MBSTATE_T 1
36582 _ACEOF
36583
36584
36585 for ac_func in wcsrtombs
36586 do
36587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36588 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36590 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36601 #define $ac_func innocuous_$ac_func
36602
36603 /* System header to define __stub macros and hopefully few prototypes,
36604 which can conflict with char $ac_func (); below.
36605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36606 <limits.h> exists even on freestanding compilers. */
36607
36608 #ifdef __STDC__
36609 # include <limits.h>
36610 #else
36611 # include <assert.h>
36612 #endif
36613
36614 #undef $ac_func
36615
36616 /* Override any GCC internal prototype to avoid an error.
36617 Use char because int might match the return type of a GCC
36618 builtin and then its argument prototype would still apply. */
36619 #ifdef __cplusplus
36620 extern "C"
36621 #endif
36622 char $ac_func ();
36623 /* The GNU C library defines this for functions which it implements
36624 to always fail with ENOSYS. Some functions are actually named
36625 something starting with __ and the normal name is an alias. */
36626 #if defined __stub_$ac_func || defined __stub___$ac_func
36627 choke me
36628 #endif
36629
36630 int
36631 main ()
36632 {
36633 return $ac_func ();
36634 ;
36635 return 0;
36636 }
36637 _ACEOF
36638 rm -f conftest.$ac_objext conftest$ac_exeext
36639 if { (ac_try="$ac_link"
36640 case "(($ac_try" in
36641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36642 *) ac_try_echo=$ac_try;;
36643 esac
36644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36645 (eval "$ac_link") 2>conftest.er1
36646 ac_status=$?
36647 grep -v '^ *+' conftest.er1 >conftest.err
36648 rm -f conftest.er1
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } && {
36652 test -z "$ac_c_werror_flag" ||
36653 test ! -s conftest.err
36654 } && test -s conftest$ac_exeext &&
36655 $as_test_x conftest$ac_exeext; then
36656 eval "$as_ac_var=yes"
36657 else
36658 echo "$as_me: failed program was:" >&5
36659 sed 's/^/| /' conftest.$ac_ext >&5
36660
36661 eval "$as_ac_var=no"
36662 fi
36663
36664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36665 conftest$ac_exeext conftest.$ac_ext
36666 fi
36667 ac_res=`eval echo '${'$as_ac_var'}'`
36668 { echo "$as_me:$LINENO: result: $ac_res" >&5
36669 echo "${ECHO_T}$ac_res" >&6; }
36670 if test `eval echo '${'$as_ac_var'}'` = yes; then
36671 cat >>confdefs.h <<_ACEOF
36672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36673 _ACEOF
36674
36675 fi
36676 done
36677
36678 fi
36679
36680
36681
36682
36683
36684 for ac_func in snprintf vsnprintf vsscanf
36685 do
36686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36690 echo $ECHO_N "(cached) $ECHO_C" >&6
36691 else
36692 cat >conftest.$ac_ext <<_ACEOF
36693 /* confdefs.h. */
36694 _ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36700 #define $ac_func innocuous_$ac_func
36701
36702 /* System header to define __stub macros and hopefully few prototypes,
36703 which can conflict with char $ac_func (); below.
36704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36705 <limits.h> exists even on freestanding compilers. */
36706
36707 #ifdef __STDC__
36708 # include <limits.h>
36709 #else
36710 # include <assert.h>
36711 #endif
36712
36713 #undef $ac_func
36714
36715 /* Override any GCC internal prototype to avoid an error.
36716 Use char because int might match the return type of a GCC
36717 builtin and then its argument prototype would still apply. */
36718 #ifdef __cplusplus
36719 extern "C"
36720 #endif
36721 char $ac_func ();
36722 /* The GNU C library defines this for functions which it implements
36723 to always fail with ENOSYS. Some functions are actually named
36724 something starting with __ and the normal name is an alias. */
36725 #if defined __stub_$ac_func || defined __stub___$ac_func
36726 choke me
36727 #endif
36728
36729 int
36730 main ()
36731 {
36732 return $ac_func ();
36733 ;
36734 return 0;
36735 }
36736 _ACEOF
36737 rm -f conftest.$ac_objext conftest$ac_exeext
36738 if { (ac_try="$ac_link"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36741 *) ac_try_echo=$ac_try;;
36742 esac
36743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_link") 2>conftest.er1
36745 ac_status=$?
36746 grep -v '^ *+' conftest.er1 >conftest.err
36747 rm -f conftest.er1
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest$ac_exeext &&
36754 $as_test_x conftest$ac_exeext; then
36755 eval "$as_ac_var=yes"
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 eval "$as_ac_var=no"
36761 fi
36762
36763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36764 conftest$ac_exeext conftest.$ac_ext
36765 fi
36766 ac_res=`eval echo '${'$as_ac_var'}'`
36767 { echo "$as_me:$LINENO: result: $ac_res" >&5
36768 echo "${ECHO_T}$ac_res" >&6; }
36769 if test `eval echo '${'$as_ac_var'}'` = yes; then
36770 cat >>confdefs.h <<_ACEOF
36771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36772 _ACEOF
36773
36774 fi
36775 done
36776
36777
36778 ac_ext=cpp
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783
36784 if test "$ac_cv_func_vsnprintf" = "yes"; then
36785 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36786 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36787 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h. */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797
36798 #include <stdio.h>
36799 #include <stdarg.h>
36800 #ifdef __MSL__
36801 #if __MSL__ >= 0x6000
36802 namespace std {}
36803 using namespace std;
36804 #endif
36805 #endif
36806
36807 int
36808 main ()
36809 {
36810
36811 char *buf;
36812 va_list ap;
36813 vsnprintf(buf, 10u, "%s", ap);
36814
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 rm -f conftest.$ac_objext
36820 if { (ac_try="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36824 esac
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36827 ac_status=$?
36828 grep -v '^ *+' conftest.er1 >conftest.err
36829 rm -f conftest.er1
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_cxx_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_func_vsnprintf_decl=yes
36837 else
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36840
36841 wx_cv_func_vsnprintf_decl=no
36842
36843 fi
36844
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846
36847
36848 fi
36849 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36850 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36851
36852 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36853 cat >>confdefs.h <<\_ACEOF
36854 #define HAVE_VSNPRINTF_DECL 1
36855 _ACEOF
36856
36857
36858 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36859 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36860 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 else
36863
36864 cat >conftest.$ac_ext <<_ACEOF
36865 /* confdefs.h. */
36866 _ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36870
36871 #include <stdio.h>
36872 #include <stdarg.h>
36873 #ifdef __MSL__
36874 #if __MSL__ >= 0x6000
36875 namespace std {}
36876 using namespace std;
36877 #endif
36878 #endif
36879
36880 int
36881 main ()
36882 {
36883
36884 char *buf;
36885 va_list ap;
36886 const char *fmt = "%s";
36887 vsnprintf(buf, 10u, fmt, ap);
36888
36889 ;
36890 return 0;
36891 }
36892 _ACEOF
36893 rm -f conftest.$ac_objext
36894 if { (ac_try="$ac_compile"
36895 case "(($ac_try" in
36896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36897 *) ac_try_echo=$ac_try;;
36898 esac
36899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36900 (eval "$ac_compile") 2>conftest.er1
36901 ac_status=$?
36902 grep -v '^ *+' conftest.er1 >conftest.err
36903 rm -f conftest.er1
36904 cat conftest.err >&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } && {
36907 test -z "$ac_cxx_werror_flag" ||
36908 test ! -s conftest.err
36909 } && test -s conftest.$ac_objext; then
36910 wx_cv_func_broken_vsnprintf_decl=no
36911 else
36912 echo "$as_me: failed program was:" >&5
36913 sed 's/^/| /' conftest.$ac_ext >&5
36914
36915 wx_cv_func_broken_vsnprintf_decl=yes
36916
36917 fi
36918
36919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36920
36921
36922 fi
36923 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36924 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36925
36926 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36927 cat >>confdefs.h <<\_ACEOF
36928 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36929 _ACEOF
36930
36931 fi
36932 fi
36933 fi
36934
36935 if test "$ac_cv_func_snprintf" = "yes"; then
36936 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36937 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36938 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36939 echo $ECHO_N "(cached) $ECHO_C" >&6
36940 else
36941
36942 cat >conftest.$ac_ext <<_ACEOF
36943 /* confdefs.h. */
36944 _ACEOF
36945 cat confdefs.h >>conftest.$ac_ext
36946 cat >>conftest.$ac_ext <<_ACEOF
36947 /* end confdefs.h. */
36948
36949 #include <stdio.h>
36950 #include <stdarg.h>
36951 #ifdef __MSL__
36952 #if __MSL__ >= 0x6000
36953 namespace std {}
36954 using namespace std;
36955 #endif
36956 #endif
36957
36958 int
36959 main ()
36960 {
36961
36962 char *buf;
36963 snprintf(buf, 10u, "%s", "wx");
36964
36965 ;
36966 return 0;
36967 }
36968 _ACEOF
36969 rm -f conftest.$ac_objext
36970 if { (ac_try="$ac_compile"
36971 case "(($ac_try" in
36972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36973 *) ac_try_echo=$ac_try;;
36974 esac
36975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36976 (eval "$ac_compile") 2>conftest.er1
36977 ac_status=$?
36978 grep -v '^ *+' conftest.er1 >conftest.err
36979 rm -f conftest.er1
36980 cat conftest.err >&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } && {
36983 test -z "$ac_cxx_werror_flag" ||
36984 test ! -s conftest.err
36985 } && test -s conftest.$ac_objext; then
36986 wx_cv_func_snprintf_decl=yes
36987 else
36988 echo "$as_me: failed program was:" >&5
36989 sed 's/^/| /' conftest.$ac_ext >&5
36990
36991 wx_cv_func_snprintf_decl=no
36992
36993 fi
36994
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996
36997
36998 fi
36999 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37000 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37001
37002 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37003 cat >>confdefs.h <<\_ACEOF
37004 #define HAVE_SNPRINTF_DECL 1
37005 _ACEOF
37006
37007 fi
37008
37009 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37010
37011 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37012 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37013 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016
37017 if test "$cross_compiling" = yes; then
37018
37019 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37020 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37021 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37022 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37023 wx_cv_func_snprintf_pos_params=no
37024
37025
37026 else
37027 cat >conftest.$ac_ext <<_ACEOF
37028 /* confdefs.h. */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37033
37034 #include <stdio.h>
37035
37036 int main (void)
37037 {
37038 char buffer[128];
37039 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37040 if (strcmp ("2 3 1", buffer) == 0)
37041 exit (0);
37042 exit (1);
37043 }
37044
37045 _ACEOF
37046 rm -f conftest$ac_exeext
37047 if { (ac_try="$ac_link"
37048 case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37051 esac
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_link") 2>&5
37054 ac_status=$?
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37057 { (case "(($ac_try" in
37058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37059 *) ac_try_echo=$ac_try;;
37060 esac
37061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37062 (eval "$ac_try") 2>&5
37063 ac_status=$?
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; }; then
37066 wx_cv_func_snprintf_pos_params=no
37067 else
37068 echo "$as_me: program exited with status $ac_status" >&5
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37071
37072 ( exit $ac_status )
37073 wx_cv_func_snprintf_pos_params=yes
37074 fi
37075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37076 fi
37077
37078
37079
37080
37081 fi
37082 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37083 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37084
37085 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37086 cat >>confdefs.h <<\_ACEOF
37087 #define HAVE_UNIX98_PRINTF 1
37088 _ACEOF
37089
37090 fi
37091 fi
37092 fi
37093
37094 if test "$ac_cv_func_vsscanf" = "yes"; then
37095 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37096 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37097 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37099 else
37100
37101 cat >conftest.$ac_ext <<_ACEOF
37102 /* confdefs.h. */
37103 _ACEOF
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107
37108 #include <stdio.h>
37109 #include <stdarg.h>
37110 #ifdef __MSL__
37111 #if __MSL__ >= 0x6000
37112 namespace std {}
37113 using namespace std;
37114 #endif
37115 #endif
37116
37117 int
37118 main ()
37119 {
37120
37121 char *buf;
37122 va_list args;
37123 vsscanf(buf, "%s", args);
37124
37125 ;
37126 return 0;
37127 }
37128 _ACEOF
37129 rm -f conftest.$ac_objext
37130 if { (ac_try="$ac_compile"
37131 case "(($ac_try" in
37132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37133 *) ac_try_echo=$ac_try;;
37134 esac
37135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37136 (eval "$ac_compile") 2>conftest.er1
37137 ac_status=$?
37138 grep -v '^ *+' conftest.er1 >conftest.err
37139 rm -f conftest.er1
37140 cat conftest.err >&5
37141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142 (exit $ac_status); } && {
37143 test -z "$ac_cxx_werror_flag" ||
37144 test ! -s conftest.err
37145 } && test -s conftest.$ac_objext; then
37146 wx_cv_func_vsscanf_decl=yes
37147 else
37148 echo "$as_me: failed program was:" >&5
37149 sed 's/^/| /' conftest.$ac_ext >&5
37150
37151 wx_cv_func_vsscanf_decl=no
37152
37153 fi
37154
37155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37156
37157
37158 fi
37159 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37160 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37161
37162 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37163 cat >>confdefs.h <<\_ACEOF
37164 #define HAVE_VSSCANF_DECL 1
37165 _ACEOF
37166
37167 fi
37168 fi
37169 ac_ext=c
37170 ac_cpp='$CPP $CPPFLAGS'
37171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37174
37175
37176 if test "$wxUSE_UNICODE" = yes; then
37177
37178 wchar_headers="#include <stdio.h>
37179 #include <wchar.h>"
37180 case "${host}" in
37181 *-*-solaris2* )
37182
37183 for ac_header in widec.h
37184 do
37185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 else
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 $ac_includes_default
37198
37199 #include <$ac_header>
37200 _ACEOF
37201 rm -f conftest.$ac_objext
37202 if { (ac_try="$ac_compile"
37203 case "(($ac_try" in
37204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37205 *) ac_try_echo=$ac_try;;
37206 esac
37207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37208 (eval "$ac_compile") 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } && {
37215 test -z "$ac_c_werror_flag" ||
37216 test ! -s conftest.err
37217 } && test -s conftest.$ac_objext; then
37218 eval "$as_ac_Header=yes"
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37222
37223 eval "$as_ac_Header=no"
37224 fi
37225
37226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37227 fi
37228 ac_res=`eval echo '${'$as_ac_Header'}'`
37229 { echo "$as_me:$LINENO: result: $ac_res" >&5
37230 echo "${ECHO_T}$ac_res" >&6; }
37231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37232 cat >>confdefs.h <<_ACEOF
37233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37234 _ACEOF
37235
37236 fi
37237
37238 done
37239
37240 if test "$ac_cv_header_widec_h" = "yes"; then
37241 wchar_headers="$wchar_headers
37242 #include <widec.h>"
37243 fi
37244 esac
37245
37246
37247 for wx_func in putws fputws wprintf vswprintf vswscanf
37248 do
37249 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37250 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37251 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37252 echo $ECHO_N "(cached) $ECHO_C" >&6
37253 else
37254
37255 cat >conftest.$ac_ext <<_ACEOF
37256
37257 /* confdefs.h. */
37258 _ACEOF
37259 cat confdefs.h >>conftest.$ac_ext
37260 cat >>conftest.$ac_ext <<_ACEOF
37261 /* end confdefs.h. */
37262
37263 $wchar_headers
37264 $ac_includes_default
37265
37266 int
37267 main ()
37268 {
37269
37270 #ifndef $wx_func
37271 &$wx_func;
37272 #endif
37273
37274
37275 ;
37276 return 0;
37277 }
37278
37279 _ACEOF
37280 rm -f conftest.$ac_objext conftest$ac_exeext
37281 if { (ac_try="$ac_link"
37282 case "(($ac_try" in
37283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37284 *) ac_try_echo=$ac_try;;
37285 esac
37286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37287 (eval "$ac_link") 2>conftest.er1
37288 ac_status=$?
37289 grep -v '^ *+' conftest.er1 >conftest.err
37290 rm -f conftest.er1
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } && {
37294 test -z "$ac_c_werror_flag" ||
37295 test ! -s conftest.err
37296 } && test -s conftest$ac_exeext &&
37297 $as_test_x conftest$ac_exeext; then
37298 eval wx_cv_func_$wx_func=yes
37299 else
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37302
37303 eval wx_cv_func_$wx_func=no
37304 fi
37305
37306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37307 conftest$ac_exeext conftest.$ac_ext
37308
37309 fi
37310 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37311 { echo "$as_me:$LINENO: result: $ac_res" >&5
37312 echo "${ECHO_T}$ac_res" >&6; }
37313
37314 if eval test \$wx_cv_func_$wx_func = yes
37315 then
37316 cat >>confdefs.h <<_ACEOF
37317 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37318 _ACEOF
37319
37320
37321 else
37322 :
37323
37324 fi
37325 done
37326
37327
37328 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37329 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37330 cat >conftest.$ac_ext <<_ACEOF
37331 /* confdefs.h. */
37332 _ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336 #include <wchar.h>
37337 int
37338 main ()
37339 {
37340 &_vsnwprintf;
37341 ;
37342 return 0;
37343 }
37344 _ACEOF
37345 rm -f conftest.$ac_objext
37346 if { (ac_try="$ac_compile"
37347 case "(($ac_try" in
37348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37349 *) ac_try_echo=$ac_try;;
37350 esac
37351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37352 (eval "$ac_compile") 2>conftest.er1
37353 ac_status=$?
37354 grep -v '^ *+' conftest.er1 >conftest.err
37355 rm -f conftest.er1
37356 cat conftest.err >&5
37357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37358 (exit $ac_status); } && {
37359 test -z "$ac_c_werror_flag" ||
37360 test ! -s conftest.err
37361 } && test -s conftest.$ac_objext; then
37362 { echo "$as_me:$LINENO: result: yes" >&5
37363 echo "${ECHO_T}yes" >&6; }
37364 cat >>confdefs.h <<\_ACEOF
37365 #define HAVE__VSNWPRINTF 1
37366 _ACEOF
37367
37368 else
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37371
37372 { echo "$as_me:$LINENO: result: no" >&5
37373 echo "${ECHO_T}no" >&6; }
37374 fi
37375
37376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37377 fi
37378
37379 if test "$wxUSE_FILE" = "yes"; then
37380
37381 for wx_func in fsync
37382 do
37383 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37384 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37385 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37386 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 else
37388
37389 cat >conftest.$ac_ext <<_ACEOF
37390
37391 /* confdefs.h. */
37392 _ACEOF
37393 cat confdefs.h >>conftest.$ac_ext
37394 cat >>conftest.$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37396
37397
37398 $ac_includes_default
37399
37400 int
37401 main ()
37402 {
37403
37404 #ifndef $wx_func
37405 &$wx_func;
37406 #endif
37407
37408
37409 ;
37410 return 0;
37411 }
37412
37413 _ACEOF
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (ac_try="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37418 *) ac_try_echo=$ac_try;;
37419 esac
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37422 ac_status=$?
37423 grep -v '^ *+' conftest.er1 >conftest.err
37424 rm -f conftest.er1
37425 cat conftest.err >&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest$ac_exeext &&
37431 $as_test_x conftest$ac_exeext; then
37432 eval wx_cv_func_$wx_func=yes
37433 else
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.$ac_ext >&5
37436
37437 eval wx_cv_func_$wx_func=no
37438 fi
37439
37440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37441 conftest$ac_exeext conftest.$ac_ext
37442
37443 fi
37444 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37445 { echo "$as_me:$LINENO: result: $ac_res" >&5
37446 echo "${ECHO_T}$ac_res" >&6; }
37447
37448 if eval test \$wx_cv_func_$wx_func = yes
37449 then
37450 cat >>confdefs.h <<_ACEOF
37451 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37452 _ACEOF
37453
37454
37455 else
37456 :
37457
37458 fi
37459 done
37460
37461 fi
37462
37463 ac_ext=cpp
37464 ac_cpp='$CXXCPP $CPPFLAGS'
37465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37468
37469
37470 for wx_func in round
37471 do
37472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37476 else
37477
37478 cat >conftest.$ac_ext <<_ACEOF
37479
37480 /* confdefs.h. */
37481 _ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37485
37486 #include <math.h>
37487 $ac_includes_default
37488
37489 int
37490 main ()
37491 {
37492
37493 #ifndef $wx_func
37494 &$wx_func;
37495 #endif
37496
37497
37498 ;
37499 return 0;
37500 }
37501
37502 _ACEOF
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (ac_try="$ac_link"
37505 case "(($ac_try" in
37506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37507 *) ac_try_echo=$ac_try;;
37508 esac
37509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37510 (eval "$ac_link") 2>conftest.er1
37511 ac_status=$?
37512 grep -v '^ *+' conftest.er1 >conftest.err
37513 rm -f conftest.er1
37514 cat conftest.err >&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); } && {
37517 test -z "$ac_cxx_werror_flag" ||
37518 test ! -s conftest.err
37519 } && test -s conftest$ac_exeext &&
37520 $as_test_x conftest$ac_exeext; then
37521 eval wx_cv_func_$wx_func=yes
37522 else
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37525
37526 eval wx_cv_func_$wx_func=no
37527 fi
37528
37529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37530 conftest$ac_exeext conftest.$ac_ext
37531
37532 fi
37533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37534 { echo "$as_me:$LINENO: result: $ac_res" >&5
37535 echo "${ECHO_T}$ac_res" >&6; }
37536
37537 if eval test \$wx_cv_func_$wx_func = yes
37538 then
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37541 _ACEOF
37542
37543
37544 else
37545 :
37546
37547 fi
37548 done
37549
37550 ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37555
37556
37557 if test "$TOOLKIT" != "MSW"; then
37558
37559 if test "$wxUSE_LIBICONV" != "no" ; then
37560
37561
37562
37563 # Check whether --with-libiconv-prefix was given.
37564 if test "${with_libiconv_prefix+set}" = set; then
37565 withval=$with_libiconv_prefix;
37566 for dir in `echo "$withval" | tr : ' '`; do
37567 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37568 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37569 done
37570
37571 fi
37572
37573
37574 { echo "$as_me:$LINENO: checking for iconv" >&5
37575 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37576 if test "${am_cv_func_iconv+set}" = set; then
37577 echo $ECHO_N "(cached) $ECHO_C" >&6
37578 else
37579
37580 am_cv_func_iconv="no, consider installing GNU libiconv"
37581 am_cv_lib_iconv=no
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 #include <stdlib.h>
37589 #include <iconv.h>
37590 int
37591 main ()
37592 {
37593 iconv_t cd = iconv_open("","");
37594 iconv(cd,NULL,NULL,NULL,NULL);
37595 iconv_close(cd);
37596 ;
37597 return 0;
37598 }
37599 _ACEOF
37600 rm -f conftest.$ac_objext conftest$ac_exeext
37601 if { (ac_try="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37605 esac
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37608 ac_status=$?
37609 grep -v '^ *+' conftest.er1 >conftest.err
37610 rm -f conftest.er1
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_c_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 am_cv_func_iconv=yes
37619 else
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37622
37623
37624 fi
37625
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37628 if test "$am_cv_func_iconv" != yes; then
37629 am_save_LIBS="$LIBS"
37630 LIBS="$LIBS -liconv"
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <stdlib.h>
37638 #include <iconv.h>
37639 int
37640 main ()
37641 {
37642 iconv_t cd = iconv_open("","");
37643 iconv(cd,NULL,NULL,NULL,NULL);
37644 iconv_close(cd);
37645 ;
37646 return 0;
37647 }
37648 _ACEOF
37649 rm -f conftest.$ac_objext conftest$ac_exeext
37650 if { (ac_try="$ac_link"
37651 case "(($ac_try" in
37652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37653 *) ac_try_echo=$ac_try;;
37654 esac
37655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37656 (eval "$ac_link") 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } && {
37663 test -z "$ac_c_werror_flag" ||
37664 test ! -s conftest.err
37665 } && test -s conftest$ac_exeext &&
37666 $as_test_x conftest$ac_exeext; then
37667 am_cv_lib_iconv=yes
37668 am_cv_func_iconv=yes
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37672
37673
37674 fi
37675
37676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37677 conftest$ac_exeext conftest.$ac_ext
37678 LIBS="$am_save_LIBS"
37679 fi
37680
37681 fi
37682 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37683 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37684 if test "$am_cv_func_iconv" = yes; then
37685
37686 cat >>confdefs.h <<\_ACEOF
37687 #define HAVE_ICONV 1
37688 _ACEOF
37689
37690 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37691 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37692 if test "${wx_cv_func_iconv_const+set}" = set; then
37693 echo $ECHO_N "(cached) $ECHO_C" >&6
37694 else
37695 cat >conftest.$ac_ext <<_ACEOF
37696 /* confdefs.h. */
37697 _ACEOF
37698 cat confdefs.h >>conftest.$ac_ext
37699 cat >>conftest.$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37701
37702 #include <stdlib.h>
37703 #include <iconv.h>
37704 extern
37705 #ifdef __cplusplus
37706 "C"
37707 #endif
37708 #if defined(__STDC__) || defined(__cplusplus)
37709 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37710 #else
37711 size_t iconv();
37712 #endif
37713
37714 int
37715 main ()
37716 {
37717
37718 ;
37719 return 0;
37720 }
37721 _ACEOF
37722 rm -f conftest.$ac_objext
37723 if { (ac_try="$ac_compile"
37724 case "(($ac_try" in
37725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37726 *) ac_try_echo=$ac_try;;
37727 esac
37728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37729 (eval "$ac_compile") 2>conftest.er1
37730 ac_status=$?
37731 grep -v '^ *+' conftest.er1 >conftest.err
37732 rm -f conftest.er1
37733 cat conftest.err >&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } && {
37736 test -z "$ac_c_werror_flag" ||
37737 test ! -s conftest.err
37738 } && test -s conftest.$ac_objext; then
37739 wx_cv_func_iconv_const="no"
37740 else
37741 echo "$as_me: failed program was:" >&5
37742 sed 's/^/| /' conftest.$ac_ext >&5
37743
37744 wx_cv_func_iconv_const="yes"
37745
37746 fi
37747
37748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37749
37750 fi
37751 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37752 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37753
37754 iconv_const=
37755 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37756 iconv_const="const"
37757 fi
37758
37759
37760 cat >>confdefs.h <<_ACEOF
37761 #define ICONV_CONST $iconv_const
37762 _ACEOF
37763
37764 fi
37765 LIBICONV=
37766 if test "$am_cv_lib_iconv" = yes; then
37767 LIBICONV="-liconv"
37768 fi
37769
37770
37771 LIBS="$LIBICONV $LIBS"
37772 fi
37773
37774 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37775
37776 for ac_func in sigaction
37777 do
37778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37779 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37781 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 else
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37792 #define $ac_func innocuous_$ac_func
37793
37794 /* System header to define __stub macros and hopefully few prototypes,
37795 which can conflict with char $ac_func (); below.
37796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37797 <limits.h> exists even on freestanding compilers. */
37798
37799 #ifdef __STDC__
37800 # include <limits.h>
37801 #else
37802 # include <assert.h>
37803 #endif
37804
37805 #undef $ac_func
37806
37807 /* Override any GCC internal prototype to avoid an error.
37808 Use char because int might match the return type of a GCC
37809 builtin and then its argument prototype would still apply. */
37810 #ifdef __cplusplus
37811 extern "C"
37812 #endif
37813 char $ac_func ();
37814 /* The GNU C library defines this for functions which it implements
37815 to always fail with ENOSYS. Some functions are actually named
37816 something starting with __ and the normal name is an alias. */
37817 #if defined __stub_$ac_func || defined __stub___$ac_func
37818 choke me
37819 #endif
37820
37821 int
37822 main ()
37823 {
37824 return $ac_func ();
37825 ;
37826 return 0;
37827 }
37828 _ACEOF
37829 rm -f conftest.$ac_objext conftest$ac_exeext
37830 if { (ac_try="$ac_link"
37831 case "(($ac_try" in
37832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37833 *) ac_try_echo=$ac_try;;
37834 esac
37835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37836 (eval "$ac_link") 2>conftest.er1
37837 ac_status=$?
37838 grep -v '^ *+' conftest.er1 >conftest.err
37839 rm -f conftest.er1
37840 cat conftest.err >&5
37841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842 (exit $ac_status); } && {
37843 test -z "$ac_c_werror_flag" ||
37844 test ! -s conftest.err
37845 } && test -s conftest$ac_exeext &&
37846 $as_test_x conftest$ac_exeext; then
37847 eval "$as_ac_var=yes"
37848 else
37849 echo "$as_me: failed program was:" >&5
37850 sed 's/^/| /' conftest.$ac_ext >&5
37851
37852 eval "$as_ac_var=no"
37853 fi
37854
37855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37856 conftest$ac_exeext conftest.$ac_ext
37857 fi
37858 ac_res=`eval echo '${'$as_ac_var'}'`
37859 { echo "$as_me:$LINENO: result: $ac_res" >&5
37860 echo "${ECHO_T}$ac_res" >&6; }
37861 if test `eval echo '${'$as_ac_var'}'` = yes; then
37862 cat >>confdefs.h <<_ACEOF
37863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37864 _ACEOF
37865
37866 fi
37867 done
37868
37869
37870 if test "$ac_cv_func_sigaction" = "no"; then
37871 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37872 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37873 wxUSE_ON_FATAL_EXCEPTION=no
37874 fi
37875
37876 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37877 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37878 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37879 if test "${wx_cv_type_sa_handler+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37881 else
37882
37883 ac_ext=cpp
37884 ac_cpp='$CXXCPP $CPPFLAGS'
37885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37888
37889 cat >conftest.$ac_ext <<_ACEOF
37890 /* confdefs.h. */
37891 _ACEOF
37892 cat confdefs.h >>conftest.$ac_ext
37893 cat >>conftest.$ac_ext <<_ACEOF
37894 /* end confdefs.h. */
37895 #include <signal.h>
37896 int
37897 main ()
37898 {
37899
37900 extern void testSigHandler(int);
37901
37902 struct sigaction sa;
37903 sa.sa_handler = testSigHandler;
37904
37905 ;
37906 return 0;
37907 }
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37914 esac
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37917 ac_status=$?
37918 grep -v '^ *+' conftest.er1 >conftest.err
37919 rm -f conftest.er1
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_cxx_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926
37927 wx_cv_type_sa_handler=int
37928
37929 else
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37932
37933
37934 wx_cv_type_sa_handler=void
37935
37936 fi
37937
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37944
37945
37946 fi
37947 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37948 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37949
37950 cat >>confdefs.h <<_ACEOF
37951 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37952 _ACEOF
37953
37954 fi
37955 fi
37956
37957 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37958 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37959 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37960 if test "${wx_cv_func_backtrace+set}" = set; then
37961 echo $ECHO_N "(cached) $ECHO_C" >&6
37962 else
37963
37964 ac_ext=cpp
37965 ac_cpp='$CXXCPP $CPPFLAGS'
37966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37969
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h. */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976 #include <execinfo.h>
37977 int
37978 main ()
37979 {
37980
37981 void *trace[1];
37982 char **messages;
37983
37984 backtrace(trace, 1);
37985 messages = backtrace_symbols(trace, 1);
37986
37987 ;
37988 return 0;
37989 }
37990 _ACEOF
37991 rm -f conftest.$ac_objext
37992 if { (ac_try="$ac_compile"
37993 case "(($ac_try" in
37994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37995 *) ac_try_echo=$ac_try;;
37996 esac
37997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37998 (eval "$ac_compile") 2>conftest.er1
37999 ac_status=$?
38000 grep -v '^ *+' conftest.er1 >conftest.err
38001 rm -f conftest.er1
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } && {
38005 test -z "$ac_cxx_werror_flag" ||
38006 test ! -s conftest.err
38007 } && test -s conftest.$ac_objext; then
38008 wx_cv_func_backtrace=yes
38009 else
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.$ac_ext >&5
38012
38013 wx_cv_func_backtrace=no
38014
38015 fi
38016
38017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38018 ac_ext=c
38019 ac_cpp='$CPP $CPPFLAGS'
38020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38023
38024
38025
38026 fi
38027 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38028 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38029
38030
38031 if test "$wx_cv_func_backtrace" = "no"; then
38032 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38033 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38034 wxUSE_STACKWALKER=no
38035 else
38036 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38037 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38038 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38039 echo $ECHO_N "(cached) $ECHO_C" >&6
38040 else
38041
38042 ac_ext=cpp
38043 ac_cpp='$CXXCPP $CPPFLAGS'
38044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38047
38048 cat >conftest.$ac_ext <<_ACEOF
38049 /* confdefs.h. */
38050 _ACEOF
38051 cat confdefs.h >>conftest.$ac_ext
38052 cat >>conftest.$ac_ext <<_ACEOF
38053 /* end confdefs.h. */
38054 #include <cxxabi.h>
38055 int
38056 main ()
38057 {
38058
38059 int rc;
38060 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38061
38062 ;
38063 return 0;
38064 }
38065 _ACEOF
38066 rm -f conftest.$ac_objext conftest$ac_exeext
38067 if { (ac_try="$ac_link"
38068 case "(($ac_try" in
38069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38070 *) ac_try_echo=$ac_try;;
38071 esac
38072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38073 (eval "$ac_link") 2>conftest.er1
38074 ac_status=$?
38075 grep -v '^ *+' conftest.er1 >conftest.err
38076 rm -f conftest.er1
38077 cat conftest.err >&5
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); } && {
38080 test -z "$ac_cxx_werror_flag" ||
38081 test ! -s conftest.err
38082 } && test -s conftest$ac_exeext &&
38083 $as_test_x conftest$ac_exeext; then
38084 wx_cv_func_cxa_demangle=yes
38085 else
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.$ac_ext >&5
38088
38089 wx_cv_func_cxa_demangle=no
38090
38091 fi
38092
38093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38094 conftest$ac_exeext conftest.$ac_ext
38095 ac_ext=c
38096 ac_cpp='$CPP $CPPFLAGS'
38097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38100
38101
38102
38103 fi
38104 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38105 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38106
38107 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38108 cat >>confdefs.h <<\_ACEOF
38109 #define HAVE_CXA_DEMANGLE 1
38110 _ACEOF
38111
38112 fi
38113 fi
38114 fi
38115
38116 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38117 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38118 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38119 wxUSE_STACKWALKER=no
38120 fi
38121
38122
38123
38124
38125 for ac_func in mkstemp mktemp
38126 do
38127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38133 cat >conftest.$ac_ext <<_ACEOF
38134 /* confdefs.h. */
38135 _ACEOF
38136 cat confdefs.h >>conftest.$ac_ext
38137 cat >>conftest.$ac_ext <<_ACEOF
38138 /* end confdefs.h. */
38139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38141 #define $ac_func innocuous_$ac_func
38142
38143 /* System header to define __stub macros and hopefully few prototypes,
38144 which can conflict with char $ac_func (); below.
38145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38146 <limits.h> exists even on freestanding compilers. */
38147
38148 #ifdef __STDC__
38149 # include <limits.h>
38150 #else
38151 # include <assert.h>
38152 #endif
38153
38154 #undef $ac_func
38155
38156 /* Override any GCC internal prototype to avoid an error.
38157 Use char because int might match the return type of a GCC
38158 builtin and then its argument prototype would still apply. */
38159 #ifdef __cplusplus
38160 extern "C"
38161 #endif
38162 char $ac_func ();
38163 /* The GNU C library defines this for functions which it implements
38164 to always fail with ENOSYS. Some functions are actually named
38165 something starting with __ and the normal name is an alias. */
38166 #if defined __stub_$ac_func || defined __stub___$ac_func
38167 choke me
38168 #endif
38169
38170 int
38171 main ()
38172 {
38173 return $ac_func ();
38174 ;
38175 return 0;
38176 }
38177 _ACEOF
38178 rm -f conftest.$ac_objext conftest$ac_exeext
38179 if { (ac_try="$ac_link"
38180 case "(($ac_try" in
38181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38182 *) ac_try_echo=$ac_try;;
38183 esac
38184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38185 (eval "$ac_link") 2>conftest.er1
38186 ac_status=$?
38187 grep -v '^ *+' conftest.er1 >conftest.err
38188 rm -f conftest.er1
38189 cat conftest.err >&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } && {
38192 test -z "$ac_c_werror_flag" ||
38193 test ! -s conftest.err
38194 } && test -s conftest$ac_exeext &&
38195 $as_test_x conftest$ac_exeext; then
38196 eval "$as_ac_var=yes"
38197 else
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38200
38201 eval "$as_ac_var=no"
38202 fi
38203
38204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38205 conftest$ac_exeext conftest.$ac_ext
38206 fi
38207 ac_res=`eval echo '${'$as_ac_var'}'`
38208 { echo "$as_me:$LINENO: result: $ac_res" >&5
38209 echo "${ECHO_T}$ac_res" >&6; }
38210 if test `eval echo '${'$as_ac_var'}'` = yes; then
38211 cat >>confdefs.h <<_ACEOF
38212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38213 _ACEOF
38214 break
38215 fi
38216 done
38217
38218
38219 { echo "$as_me:$LINENO: checking for statfs" >&5
38220 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38221 if test "${wx_cv_func_statfs+set}" = set; then
38222 echo $ECHO_N "(cached) $ECHO_C" >&6
38223 else
38224 cat >conftest.$ac_ext <<_ACEOF
38225 /* confdefs.h. */
38226 _ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230
38231 #if defined(__BSD__)
38232 #include <sys/param.h>
38233 #include <sys/mount.h>
38234 #else
38235 #include <sys/vfs.h>
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241
38242 long l;
38243 struct statfs fs;
38244 statfs("/", &fs);
38245 l = fs.f_bsize;
38246 l += fs.f_blocks;
38247 l += fs.f_bavail;
38248
38249 ;
38250 return 0;
38251 }
38252 _ACEOF
38253 rm -f conftest.$ac_objext
38254 if { (ac_try="$ac_compile"
38255 case "(($ac_try" in
38256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38257 *) ac_try_echo=$ac_try;;
38258 esac
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_compile") 2>conftest.er1
38261 ac_status=$?
38262 grep -v '^ *+' conftest.er1 >conftest.err
38263 rm -f conftest.er1
38264 cat conftest.err >&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_c_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest.$ac_objext; then
38270 wx_cv_func_statfs=yes
38271 else
38272 echo "$as_me: failed program was:" >&5
38273 sed 's/^/| /' conftest.$ac_ext >&5
38274
38275 wx_cv_func_statfs=no
38276
38277 fi
38278
38279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38280
38281 fi
38282 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38283 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38284
38285 if test "$wx_cv_func_statfs" = "yes"; then
38286 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38287 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38288 if test "${wx_cv_func_statfs_decl+set}" = set; then
38289 echo $ECHO_N "(cached) $ECHO_C" >&6
38290 else
38291 ac_ext=cpp
38292 ac_cpp='$CXXCPP $CPPFLAGS'
38293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38296
38297 cat >conftest.$ac_ext <<_ACEOF
38298 /* confdefs.h. */
38299 _ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h. */
38303
38304 #if defined(__BSD__)
38305 #include <sys/param.h>
38306 #include <sys/mount.h>
38307 #else
38308 #include <sys/vfs.h>
38309 #endif
38310
38311 int
38312 main ()
38313 {
38314
38315 struct statfs fs;
38316 statfs("", &fs);
38317
38318 ;
38319 return 0;
38320 }
38321 _ACEOF
38322 rm -f conftest.$ac_objext
38323 if { (ac_try="$ac_compile"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38326 *) ac_try_echo=$ac_try;;
38327 esac
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_compile") 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_cxx_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest.$ac_objext; then
38339 wx_cv_func_statfs_decl=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 wx_cv_func_statfs_decl=no
38345
38346 fi
38347
38348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38349 ac_ext=c
38350 ac_cpp='$CPP $CPPFLAGS'
38351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38354
38355
38356 fi
38357 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38358 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38359
38360 if test "$wx_cv_func_statfs_decl" = "yes"; then
38361 cat >>confdefs.h <<\_ACEOF
38362 #define HAVE_STATFS_DECL 1
38363 _ACEOF
38364
38365 fi
38366
38367 wx_cv_type_statvfs_t="struct statfs"
38368 cat >>confdefs.h <<\_ACEOF
38369 #define HAVE_STATFS 1
38370 _ACEOF
38371
38372 else
38373 { echo "$as_me:$LINENO: checking for statvfs" >&5
38374 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38375 if test "${wx_cv_func_statvfs+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38377 else
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384
38385 #include <stddef.h>
38386 #include <sys/statvfs.h>
38387
38388 int
38389 main ()
38390 {
38391
38392 statvfs("/", NULL);
38393
38394 ;
38395 return 0;
38396 }
38397 _ACEOF
38398 rm -f conftest.$ac_objext
38399 if { (ac_try="$ac_compile"
38400 case "(($ac_try" in
38401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38402 *) ac_try_echo=$ac_try;;
38403 esac
38404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38405 (eval "$ac_compile") 2>conftest.er1
38406 ac_status=$?
38407 grep -v '^ *+' conftest.er1 >conftest.err
38408 rm -f conftest.er1
38409 cat conftest.err >&5
38410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411 (exit $ac_status); } && {
38412 test -z "$ac_c_werror_flag" ||
38413 test ! -s conftest.err
38414 } && test -s conftest.$ac_objext; then
38415 wx_cv_func_statvfs=yes
38416 else
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38419
38420 wx_cv_func_statvfs=no
38421
38422 fi
38423
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425
38426 fi
38427 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38428 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38429
38430 if test "$wx_cv_func_statvfs" = "yes"; then
38431 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38432 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38433 if test "${wx_cv_type_statvfs_t+set}" = set; then
38434 echo $ECHO_N "(cached) $ECHO_C" >&6
38435 else
38436 ac_ext=cpp
38437 ac_cpp='$CXXCPP $CPPFLAGS'
38438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38441
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448
38449 #include <sys/statvfs.h>
38450
38451 int
38452 main ()
38453 {
38454
38455 long l;
38456 statvfs_t fs;
38457 statvfs("/", &fs);
38458 l = fs.f_bsize;
38459 l += fs.f_blocks;
38460 l += fs.f_bavail;
38461
38462 ;
38463 return 0;
38464 }
38465 _ACEOF
38466 rm -f conftest.$ac_objext
38467 if { (ac_try="$ac_compile"
38468 case "(($ac_try" in
38469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38470 *) ac_try_echo=$ac_try;;
38471 esac
38472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38473 (eval "$ac_compile") 2>conftest.er1
38474 ac_status=$?
38475 grep -v '^ *+' conftest.er1 >conftest.err
38476 rm -f conftest.er1
38477 cat conftest.err >&5
38478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38479 (exit $ac_status); } && {
38480 test -z "$ac_cxx_werror_flag" ||
38481 test ! -s conftest.err
38482 } && test -s conftest.$ac_objext; then
38483 wx_cv_type_statvfs_t=statvfs_t
38484 else
38485 echo "$as_me: failed program was:" >&5
38486 sed 's/^/| /' conftest.$ac_ext >&5
38487
38488
38489 cat >conftest.$ac_ext <<_ACEOF
38490 /* confdefs.h. */
38491 _ACEOF
38492 cat confdefs.h >>conftest.$ac_ext
38493 cat >>conftest.$ac_ext <<_ACEOF
38494 /* end confdefs.h. */
38495
38496 #include <sys/statvfs.h>
38497
38498 int
38499 main ()
38500 {
38501
38502 long l;
38503 struct statvfs fs;
38504 statvfs("/", &fs);
38505 l = fs.f_bsize;
38506 l += fs.f_blocks;
38507 l += fs.f_bavail;
38508
38509 ;
38510 return 0;
38511 }
38512 _ACEOF
38513 rm -f conftest.$ac_objext
38514 if { (ac_try="$ac_compile"
38515 case "(($ac_try" in
38516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38517 *) ac_try_echo=$ac_try;;
38518 esac
38519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38520 (eval "$ac_compile") 2>conftest.er1
38521 ac_status=$?
38522 grep -v '^ *+' conftest.er1 >conftest.err
38523 rm -f conftest.er1
38524 cat conftest.err >&5
38525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38526 (exit $ac_status); } && {
38527 test -z "$ac_cxx_werror_flag" ||
38528 test ! -s conftest.err
38529 } && test -s conftest.$ac_objext; then
38530 wx_cv_type_statvfs_t="struct statvfs"
38531 else
38532 echo "$as_me: failed program was:" >&5
38533 sed 's/^/| /' conftest.$ac_ext >&5
38534
38535 wx_cv_type_statvfs_t="unknown"
38536
38537 fi
38538
38539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38540
38541
38542 fi
38543
38544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38545 ac_ext=c
38546 ac_cpp='$CPP $CPPFLAGS'
38547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38550
38551
38552 fi
38553 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38554 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38555
38556 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38557 cat >>confdefs.h <<\_ACEOF
38558 #define HAVE_STATVFS 1
38559 _ACEOF
38560
38561 fi
38562 else
38563 wx_cv_type_statvfs_t="unknown"
38564 fi
38565 fi
38566
38567 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38568 cat >>confdefs.h <<_ACEOF
38569 #define WX_STATFS_T $wx_cv_type_statvfs_t
38570 _ACEOF
38571
38572 else
38573 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38574 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38575 fi
38576
38577 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38578
38579
38580 for ac_func in fcntl flock
38581 do
38582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38586 echo $ECHO_N "(cached) $ECHO_C" >&6
38587 else
38588 cat >conftest.$ac_ext <<_ACEOF
38589 /* confdefs.h. */
38590 _ACEOF
38591 cat confdefs.h >>conftest.$ac_ext
38592 cat >>conftest.$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38596 #define $ac_func innocuous_$ac_func
38597
38598 /* System header to define __stub macros and hopefully few prototypes,
38599 which can conflict with char $ac_func (); below.
38600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38601 <limits.h> exists even on freestanding compilers. */
38602
38603 #ifdef __STDC__
38604 # include <limits.h>
38605 #else
38606 # include <assert.h>
38607 #endif
38608
38609 #undef $ac_func
38610
38611 /* Override any GCC internal prototype to avoid an error.
38612 Use char because int might match the return type of a GCC
38613 builtin and then its argument prototype would still apply. */
38614 #ifdef __cplusplus
38615 extern "C"
38616 #endif
38617 char $ac_func ();
38618 /* The GNU C library defines this for functions which it implements
38619 to always fail with ENOSYS. Some functions are actually named
38620 something starting with __ and the normal name is an alias. */
38621 #if defined __stub_$ac_func || defined __stub___$ac_func
38622 choke me
38623 #endif
38624
38625 int
38626 main ()
38627 {
38628 return $ac_func ();
38629 ;
38630 return 0;
38631 }
38632 _ACEOF
38633 rm -f conftest.$ac_objext conftest$ac_exeext
38634 if { (ac_try="$ac_link"
38635 case "(($ac_try" in
38636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38637 *) ac_try_echo=$ac_try;;
38638 esac
38639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38640 (eval "$ac_link") 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } && {
38647 test -z "$ac_c_werror_flag" ||
38648 test ! -s conftest.err
38649 } && test -s conftest$ac_exeext &&
38650 $as_test_x conftest$ac_exeext; then
38651 eval "$as_ac_var=yes"
38652 else
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.$ac_ext >&5
38655
38656 eval "$as_ac_var=no"
38657 fi
38658
38659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38660 conftest$ac_exeext conftest.$ac_ext
38661 fi
38662 ac_res=`eval echo '${'$as_ac_var'}'`
38663 { echo "$as_me:$LINENO: result: $ac_res" >&5
38664 echo "${ECHO_T}$ac_res" >&6; }
38665 if test `eval echo '${'$as_ac_var'}'` = yes; then
38666 cat >>confdefs.h <<_ACEOF
38667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38668 _ACEOF
38669 break
38670 fi
38671 done
38672
38673
38674 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38675 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38676 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38677 wxUSE_SNGLINST_CHECKER=no
38678 fi
38679 fi
38680
38681
38682
38683 for ac_func in setenv putenv
38684 do
38685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38699 #define $ac_func innocuous_$ac_func
38700
38701 /* System header to define __stub macros and hopefully few prototypes,
38702 which can conflict with char $ac_func (); below.
38703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38704 <limits.h> exists even on freestanding compilers. */
38705
38706 #ifdef __STDC__
38707 # include <limits.h>
38708 #else
38709 # include <assert.h>
38710 #endif
38711
38712 #undef $ac_func
38713
38714 /* Override any GCC internal prototype to avoid an error.
38715 Use char because int might match the return type of a GCC
38716 builtin and then its argument prototype would still apply. */
38717 #ifdef __cplusplus
38718 extern "C"
38719 #endif
38720 char $ac_func ();
38721 /* The GNU C library defines this for functions which it implements
38722 to always fail with ENOSYS. Some functions are actually named
38723 something starting with __ and the normal name is an alias. */
38724 #if defined __stub_$ac_func || defined __stub___$ac_func
38725 choke me
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 return $ac_func ();
38732 ;
38733 return 0;
38734 }
38735 _ACEOF
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38740 *) ac_try_echo=$ac_try;;
38741 esac
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest$ac_exeext &&
38753 $as_test_x conftest$ac_exeext; then
38754 eval "$as_ac_var=yes"
38755 else
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.$ac_ext >&5
38758
38759 eval "$as_ac_var=no"
38760 fi
38761
38762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38763 conftest$ac_exeext conftest.$ac_ext
38764 fi
38765 ac_res=`eval echo '${'$as_ac_var'}'`
38766 { echo "$as_me:$LINENO: result: $ac_res" >&5
38767 echo "${ECHO_T}$ac_res" >&6; }
38768 if test `eval echo '${'$as_ac_var'}'` = yes; then
38769 cat >>confdefs.h <<_ACEOF
38770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38771 _ACEOF
38772 break
38773 fi
38774 done
38775
38776 if test "$ac_cv_func_setenv" = "yes"; then
38777
38778 for ac_func in unsetenv
38779 do
38780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38781 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38785 else
38786 cat >conftest.$ac_ext <<_ACEOF
38787 /* confdefs.h. */
38788 _ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38794 #define $ac_func innocuous_$ac_func
38795
38796 /* System header to define __stub macros and hopefully few prototypes,
38797 which can conflict with char $ac_func (); below.
38798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38799 <limits.h> exists even on freestanding compilers. */
38800
38801 #ifdef __STDC__
38802 # include <limits.h>
38803 #else
38804 # include <assert.h>
38805 #endif
38806
38807 #undef $ac_func
38808
38809 /* Override any GCC internal prototype to avoid an error.
38810 Use char because int might match the return type of a GCC
38811 builtin and then its argument prototype would still apply. */
38812 #ifdef __cplusplus
38813 extern "C"
38814 #endif
38815 char $ac_func ();
38816 /* The GNU C library defines this for functions which it implements
38817 to always fail with ENOSYS. Some functions are actually named
38818 something starting with __ and the normal name is an alias. */
38819 #if defined __stub_$ac_func || defined __stub___$ac_func
38820 choke me
38821 #endif
38822
38823 int
38824 main ()
38825 {
38826 return $ac_func ();
38827 ;
38828 return 0;
38829 }
38830 _ACEOF
38831 rm -f conftest.$ac_objext conftest$ac_exeext
38832 if { (ac_try="$ac_link"
38833 case "(($ac_try" in
38834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38835 *) ac_try_echo=$ac_try;;
38836 esac
38837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38838 (eval "$ac_link") 2>conftest.er1
38839 ac_status=$?
38840 grep -v '^ *+' conftest.er1 >conftest.err
38841 rm -f conftest.er1
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } && {
38845 test -z "$ac_c_werror_flag" ||
38846 test ! -s conftest.err
38847 } && test -s conftest$ac_exeext &&
38848 $as_test_x conftest$ac_exeext; then
38849 eval "$as_ac_var=yes"
38850 else
38851 echo "$as_me: failed program was:" >&5
38852 sed 's/^/| /' conftest.$ac_ext >&5
38853
38854 eval "$as_ac_var=no"
38855 fi
38856
38857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38858 conftest$ac_exeext conftest.$ac_ext
38859 fi
38860 ac_res=`eval echo '${'$as_ac_var'}'`
38861 { echo "$as_me:$LINENO: result: $ac_res" >&5
38862 echo "${ECHO_T}$ac_res" >&6; }
38863 if test `eval echo '${'$as_ac_var'}'` = yes; then
38864 cat >>confdefs.h <<_ACEOF
38865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38866 _ACEOF
38867
38868 fi
38869 done
38870
38871 fi
38872
38873 HAVE_SOME_SLEEP_FUNC=0
38874 if test "$USE_BEOS" = 1; then
38875 cat >>confdefs.h <<\_ACEOF
38876 #define HAVE_SLEEP 1
38877 _ACEOF
38878
38879 HAVE_SOME_SLEEP_FUNC=1
38880 fi
38881
38882 if test "$USE_DARWIN" = 1; then
38883 cat >>confdefs.h <<\_ACEOF
38884 #define HAVE_USLEEP 1
38885 _ACEOF
38886
38887 HAVE_SOME_SLEEP_FUNC=1
38888 fi
38889
38890 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38891 POSIX4_LINK=
38892
38893 for ac_func in nanosleep
38894 do
38895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38896 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38898 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 else
38901 cat >conftest.$ac_ext <<_ACEOF
38902 /* confdefs.h. */
38903 _ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38909 #define $ac_func innocuous_$ac_func
38910
38911 /* System header to define __stub macros and hopefully few prototypes,
38912 which can conflict with char $ac_func (); below.
38913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38914 <limits.h> exists even on freestanding compilers. */
38915
38916 #ifdef __STDC__
38917 # include <limits.h>
38918 #else
38919 # include <assert.h>
38920 #endif
38921
38922 #undef $ac_func
38923
38924 /* Override any GCC internal prototype to avoid an error.
38925 Use char because int might match the return type of a GCC
38926 builtin and then its argument prototype would still apply. */
38927 #ifdef __cplusplus
38928 extern "C"
38929 #endif
38930 char $ac_func ();
38931 /* The GNU C library defines this for functions which it implements
38932 to always fail with ENOSYS. Some functions are actually named
38933 something starting with __ and the normal name is an alias. */
38934 #if defined __stub_$ac_func || defined __stub___$ac_func
38935 choke me
38936 #endif
38937
38938 int
38939 main ()
38940 {
38941 return $ac_func ();
38942 ;
38943 return 0;
38944 }
38945 _ACEOF
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (ac_try="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38950 *) ac_try_echo=$ac_try;;
38951 esac
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38954 ac_status=$?
38955 grep -v '^ *+' conftest.er1 >conftest.err
38956 rm -f conftest.er1
38957 cat conftest.err >&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest$ac_exeext &&
38963 $as_test_x conftest$ac_exeext; then
38964 eval "$as_ac_var=yes"
38965 else
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.$ac_ext >&5
38968
38969 eval "$as_ac_var=no"
38970 fi
38971
38972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38973 conftest$ac_exeext conftest.$ac_ext
38974 fi
38975 ac_res=`eval echo '${'$as_ac_var'}'`
38976 { echo "$as_me:$LINENO: result: $ac_res" >&5
38977 echo "${ECHO_T}$ac_res" >&6; }
38978 if test `eval echo '${'$as_ac_var'}'` = yes; then
38979 cat >>confdefs.h <<_ACEOF
38980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38981 _ACEOF
38982 cat >>confdefs.h <<\_ACEOF
38983 #define HAVE_NANOSLEEP 1
38984 _ACEOF
38985
38986 else
38987
38988 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38989 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38990 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 else
38993 ac_check_lib_save_LIBS=$LIBS
38994 LIBS="-lposix4 $LIBS"
38995 cat >conftest.$ac_ext <<_ACEOF
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001
39002 /* Override any GCC internal prototype to avoid an error.
39003 Use char because int might match the return type of a GCC
39004 builtin and then its argument prototype would still apply. */
39005 #ifdef __cplusplus
39006 extern "C"
39007 #endif
39008 char nanosleep ();
39009 int
39010 main ()
39011 {
39012 return nanosleep ();
39013 ;
39014 return 0;
39015 }
39016 _ACEOF
39017 rm -f conftest.$ac_objext conftest$ac_exeext
39018 if { (ac_try="$ac_link"
39019 case "(($ac_try" in
39020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39021 *) ac_try_echo=$ac_try;;
39022 esac
39023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39024 (eval "$ac_link") 2>conftest.er1
39025 ac_status=$?
39026 grep -v '^ *+' conftest.er1 >conftest.err
39027 rm -f conftest.er1
39028 cat conftest.err >&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); } && {
39031 test -z "$ac_c_werror_flag" ||
39032 test ! -s conftest.err
39033 } && test -s conftest$ac_exeext &&
39034 $as_test_x conftest$ac_exeext; then
39035 ac_cv_lib_posix4_nanosleep=yes
39036 else
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.$ac_ext >&5
39039
39040 ac_cv_lib_posix4_nanosleep=no
39041 fi
39042
39043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39044 conftest$ac_exeext conftest.$ac_ext
39045 LIBS=$ac_check_lib_save_LIBS
39046 fi
39047 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39048 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39049 if test $ac_cv_lib_posix4_nanosleep = yes; then
39050
39051 cat >>confdefs.h <<\_ACEOF
39052 #define HAVE_NANOSLEEP 1
39053 _ACEOF
39054
39055 POSIX4_LINK=" -lposix4"
39056
39057 else
39058
39059
39060 for wx_func in usleep
39061 do
39062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39066 else
39067
39068 cat >conftest.$ac_ext <<_ACEOF
39069
39070 /* confdefs.h. */
39071 _ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075
39076
39077 $ac_includes_default
39078
39079 int
39080 main ()
39081 {
39082
39083 #ifndef $wx_func
39084 &$wx_func;
39085 #endif
39086
39087
39088 ;
39089 return 0;
39090 }
39091
39092 _ACEOF
39093 rm -f conftest.$ac_objext conftest$ac_exeext
39094 if { (ac_try="$ac_link"
39095 case "(($ac_try" in
39096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 *) ac_try_echo=$ac_try;;
39098 esac
39099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 (eval "$ac_link") 2>conftest.er1
39101 ac_status=$?
39102 grep -v '^ *+' conftest.er1 >conftest.err
39103 rm -f conftest.er1
39104 cat conftest.err >&5
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); } && {
39107 test -z "$ac_c_werror_flag" ||
39108 test ! -s conftest.err
39109 } && test -s conftest$ac_exeext &&
39110 $as_test_x conftest$ac_exeext; then
39111 eval wx_cv_func_$wx_func=yes
39112 else
39113 echo "$as_me: failed program was:" >&5
39114 sed 's/^/| /' conftest.$ac_ext >&5
39115
39116 eval wx_cv_func_$wx_func=no
39117 fi
39118
39119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39120 conftest$ac_exeext conftest.$ac_ext
39121
39122 fi
39123 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39124 { echo "$as_me:$LINENO: result: $ac_res" >&5
39125 echo "${ECHO_T}$ac_res" >&6; }
39126
39127 if eval test \$wx_cv_func_$wx_func = yes
39128 then
39129 cat >>confdefs.h <<_ACEOF
39130 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39131 _ACEOF
39132
39133
39134 else
39135 :
39136 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39137 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39138
39139 fi
39140 done
39141
39142
39143
39144 fi
39145
39146
39147
39148 fi
39149 done
39150
39151 fi
39152
39153
39154 for wx_func in uname
39155 do
39156 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39157 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39158 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161
39162 cat >conftest.$ac_ext <<_ACEOF
39163
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169
39170 #include <sys/utsname.h>
39171 $ac_includes_default
39172
39173 int
39174 main ()
39175 {
39176
39177 #ifndef $wx_func
39178 &$wx_func;
39179 #endif
39180
39181
39182 ;
39183 return 0;
39184 }
39185
39186 _ACEOF
39187 rm -f conftest.$ac_objext conftest$ac_exeext
39188 if { (ac_try="$ac_link"
39189 case "(($ac_try" in
39190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39192 esac
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_link") 2>conftest.er1
39195 ac_status=$?
39196 grep -v '^ *+' conftest.er1 >conftest.err
39197 rm -f conftest.er1
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_c_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest$ac_exeext &&
39204 $as_test_x conftest$ac_exeext; then
39205 eval wx_cv_func_$wx_func=yes
39206 else
39207 echo "$as_me: failed program was:" >&5
39208 sed 's/^/| /' conftest.$ac_ext >&5
39209
39210 eval wx_cv_func_$wx_func=no
39211 fi
39212
39213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39214 conftest$ac_exeext conftest.$ac_ext
39215
39216 fi
39217 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39218 { echo "$as_me:$LINENO: result: $ac_res" >&5
39219 echo "${ECHO_T}$ac_res" >&6; }
39220
39221 if eval test \$wx_cv_func_$wx_func = yes
39222 then
39223 cat >>confdefs.h <<_ACEOF
39224 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39225 _ACEOF
39226
39227
39228 else
39229 :
39230
39231 fi
39232 done
39233
39234 if test "$wx_cv_func_uname" != yes; then
39235
39236 for wx_func in gethostname
39237 do
39238 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39239 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39240 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39241 echo $ECHO_N "(cached) $ECHO_C" >&6
39242 else
39243
39244 cat >conftest.$ac_ext <<_ACEOF
39245
39246 /* confdefs.h. */
39247 _ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251
39252
39253 $ac_includes_default
39254
39255 int
39256 main ()
39257 {
39258
39259 #ifndef $wx_func
39260 &$wx_func;
39261 #endif
39262
39263
39264 ;
39265 return 0;
39266 }
39267
39268 _ACEOF
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39273 *) ac_try_echo=$ac_try;;
39274 esac
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39277 ac_status=$?
39278 grep -v '^ *+' conftest.er1 >conftest.err
39279 rm -f conftest.er1
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest$ac_exeext &&
39286 $as_test_x conftest$ac_exeext; then
39287 eval wx_cv_func_$wx_func=yes
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 eval wx_cv_func_$wx_func=no
39293 fi
39294
39295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39296 conftest$ac_exeext conftest.$ac_ext
39297
39298 fi
39299 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39300 { echo "$as_me:$LINENO: result: $ac_res" >&5
39301 echo "${ECHO_T}$ac_res" >&6; }
39302
39303 if eval test \$wx_cv_func_$wx_func = yes
39304 then
39305 cat >>confdefs.h <<_ACEOF
39306 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39307 _ACEOF
39308
39309
39310 else
39311 :
39312
39313 fi
39314 done
39315
39316 fi
39317
39318
39319 for wx_func in strtok_r
39320 do
39321 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39322 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39323 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39324 echo $ECHO_N "(cached) $ECHO_C" >&6
39325 else
39326
39327 cat >conftest.$ac_ext <<_ACEOF
39328
39329 /* confdefs.h. */
39330 _ACEOF
39331 cat confdefs.h >>conftest.$ac_ext
39332 cat >>conftest.$ac_ext <<_ACEOF
39333 /* end confdefs.h. */
39334
39335 #define _REENTRANT
39336 $ac_includes_default
39337
39338 int
39339 main ()
39340 {
39341
39342 #ifndef $wx_func
39343 &$wx_func;
39344 #endif
39345
39346
39347 ;
39348 return 0;
39349 }
39350
39351 _ACEOF
39352 rm -f conftest.$ac_objext conftest$ac_exeext
39353 if { (ac_try="$ac_link"
39354 case "(($ac_try" in
39355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39356 *) ac_try_echo=$ac_try;;
39357 esac
39358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39359 (eval "$ac_link") 2>conftest.er1
39360 ac_status=$?
39361 grep -v '^ *+' conftest.er1 >conftest.err
39362 rm -f conftest.er1
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } && {
39366 test -z "$ac_c_werror_flag" ||
39367 test ! -s conftest.err
39368 } && test -s conftest$ac_exeext &&
39369 $as_test_x conftest$ac_exeext; then
39370 eval wx_cv_func_$wx_func=yes
39371 else
39372 echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39374
39375 eval wx_cv_func_$wx_func=no
39376 fi
39377
39378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39379 conftest$ac_exeext conftest.$ac_ext
39380
39381 fi
39382 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39383 { echo "$as_me:$LINENO: result: $ac_res" >&5
39384 echo "${ECHO_T}$ac_res" >&6; }
39385
39386 if eval test \$wx_cv_func_$wx_func = yes
39387 then
39388 cat >>confdefs.h <<_ACEOF
39389 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39390 _ACEOF
39391
39392
39393 else
39394 :
39395
39396 fi
39397 done
39398
39399
39400 INET_LINK=
39401
39402 for ac_func in inet_addr
39403 do
39404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39408 echo $ECHO_N "(cached) $ECHO_C" >&6
39409 else
39410 cat >conftest.$ac_ext <<_ACEOF
39411 /* confdefs.h. */
39412 _ACEOF
39413 cat confdefs.h >>conftest.$ac_ext
39414 cat >>conftest.$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39418 #define $ac_func innocuous_$ac_func
39419
39420 /* System header to define __stub macros and hopefully few prototypes,
39421 which can conflict with char $ac_func (); below.
39422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39423 <limits.h> exists even on freestanding compilers. */
39424
39425 #ifdef __STDC__
39426 # include <limits.h>
39427 #else
39428 # include <assert.h>
39429 #endif
39430
39431 #undef $ac_func
39432
39433 /* Override any GCC internal prototype to avoid an error.
39434 Use char because int might match the return type of a GCC
39435 builtin and then its argument prototype would still apply. */
39436 #ifdef __cplusplus
39437 extern "C"
39438 #endif
39439 char $ac_func ();
39440 /* The GNU C library defines this for functions which it implements
39441 to always fail with ENOSYS. Some functions are actually named
39442 something starting with __ and the normal name is an alias. */
39443 #if defined __stub_$ac_func || defined __stub___$ac_func
39444 choke me
39445 #endif
39446
39447 int
39448 main ()
39449 {
39450 return $ac_func ();
39451 ;
39452 return 0;
39453 }
39454 _ACEOF
39455 rm -f conftest.$ac_objext conftest$ac_exeext
39456 if { (ac_try="$ac_link"
39457 case "(($ac_try" in
39458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39459 *) ac_try_echo=$ac_try;;
39460 esac
39461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39462 (eval "$ac_link") 2>conftest.er1
39463 ac_status=$?
39464 grep -v '^ *+' conftest.er1 >conftest.err
39465 rm -f conftest.er1
39466 cat conftest.err >&5
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); } && {
39469 test -z "$ac_c_werror_flag" ||
39470 test ! -s conftest.err
39471 } && test -s conftest$ac_exeext &&
39472 $as_test_x conftest$ac_exeext; then
39473 eval "$as_ac_var=yes"
39474 else
39475 echo "$as_me: failed program was:" >&5
39476 sed 's/^/| /' conftest.$ac_ext >&5
39477
39478 eval "$as_ac_var=no"
39479 fi
39480
39481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39482 conftest$ac_exeext conftest.$ac_ext
39483 fi
39484 ac_res=`eval echo '${'$as_ac_var'}'`
39485 { echo "$as_me:$LINENO: result: $ac_res" >&5
39486 echo "${ECHO_T}$ac_res" >&6; }
39487 if test `eval echo '${'$as_ac_var'}'` = yes; then
39488 cat >>confdefs.h <<_ACEOF
39489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39490 _ACEOF
39491 cat >>confdefs.h <<\_ACEOF
39492 #define HAVE_INET_ADDR 1
39493 _ACEOF
39494
39495 else
39496
39497 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39498 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39499 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39501 else
39502 ac_check_lib_save_LIBS=$LIBS
39503 LIBS="-lnsl $LIBS"
39504 cat >conftest.$ac_ext <<_ACEOF
39505 /* confdefs.h. */
39506 _ACEOF
39507 cat confdefs.h >>conftest.$ac_ext
39508 cat >>conftest.$ac_ext <<_ACEOF
39509 /* end confdefs.h. */
39510
39511 /* Override any GCC internal prototype to avoid an error.
39512 Use char because int might match the return type of a GCC
39513 builtin and then its argument prototype would still apply. */
39514 #ifdef __cplusplus
39515 extern "C"
39516 #endif
39517 char inet_addr ();
39518 int
39519 main ()
39520 {
39521 return inet_addr ();
39522 ;
39523 return 0;
39524 }
39525 _ACEOF
39526 rm -f conftest.$ac_objext conftest$ac_exeext
39527 if { (ac_try="$ac_link"
39528 case "(($ac_try" in
39529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39530 *) ac_try_echo=$ac_try;;
39531 esac
39532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39533 (eval "$ac_link") 2>conftest.er1
39534 ac_status=$?
39535 grep -v '^ *+' conftest.er1 >conftest.err
39536 rm -f conftest.er1
39537 cat conftest.err >&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } && {
39540 test -z "$ac_c_werror_flag" ||
39541 test ! -s conftest.err
39542 } && test -s conftest$ac_exeext &&
39543 $as_test_x conftest$ac_exeext; then
39544 ac_cv_lib_nsl_inet_addr=yes
39545 else
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39548
39549 ac_cv_lib_nsl_inet_addr=no
39550 fi
39551
39552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39553 conftest$ac_exeext conftest.$ac_ext
39554 LIBS=$ac_check_lib_save_LIBS
39555 fi
39556 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39557 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39558 if test $ac_cv_lib_nsl_inet_addr = yes; then
39559 INET_LINK="nsl"
39560 else
39561
39562 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39563 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39564 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 else
39567 ac_check_lib_save_LIBS=$LIBS
39568 LIBS="-lresolv $LIBS"
39569 cat >conftest.$ac_ext <<_ACEOF
39570 /* confdefs.h. */
39571 _ACEOF
39572 cat confdefs.h >>conftest.$ac_ext
39573 cat >>conftest.$ac_ext <<_ACEOF
39574 /* end confdefs.h. */
39575
39576 /* Override any GCC internal prototype to avoid an error.
39577 Use char because int might match the return type of a GCC
39578 builtin and then its argument prototype would still apply. */
39579 #ifdef __cplusplus
39580 extern "C"
39581 #endif
39582 char inet_addr ();
39583 int
39584 main ()
39585 {
39586 return inet_addr ();
39587 ;
39588 return 0;
39589 }
39590 _ACEOF
39591 rm -f conftest.$ac_objext conftest$ac_exeext
39592 if { (ac_try="$ac_link"
39593 case "(($ac_try" in
39594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39595 *) ac_try_echo=$ac_try;;
39596 esac
39597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39598 (eval "$ac_link") 2>conftest.er1
39599 ac_status=$?
39600 grep -v '^ *+' conftest.er1 >conftest.err
39601 rm -f conftest.er1
39602 cat conftest.err >&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); } && {
39605 test -z "$ac_c_werror_flag" ||
39606 test ! -s conftest.err
39607 } && test -s conftest$ac_exeext &&
39608 $as_test_x conftest$ac_exeext; then
39609 ac_cv_lib_resolv_inet_addr=yes
39610 else
39611 echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.$ac_ext >&5
39613
39614 ac_cv_lib_resolv_inet_addr=no
39615 fi
39616
39617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39618 conftest$ac_exeext conftest.$ac_ext
39619 LIBS=$ac_check_lib_save_LIBS
39620 fi
39621 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39622 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39623 if test $ac_cv_lib_resolv_inet_addr = yes; then
39624 INET_LINK="resolv"
39625 else
39626
39627 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39628 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39629 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 else
39632 ac_check_lib_save_LIBS=$LIBS
39633 LIBS="-lsocket $LIBS"
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640
39641 /* Override any GCC internal prototype to avoid an error.
39642 Use char because int might match the return type of a GCC
39643 builtin and then its argument prototype would still apply. */
39644 #ifdef __cplusplus
39645 extern "C"
39646 #endif
39647 char inet_addr ();
39648 int
39649 main ()
39650 {
39651 return inet_addr ();
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (ac_try="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39661 esac
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39664 ac_status=$?
39665 grep -v '^ *+' conftest.er1 >conftest.err
39666 rm -f conftest.er1
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest$ac_exeext &&
39673 $as_test_x conftest$ac_exeext; then
39674 ac_cv_lib_socket_inet_addr=yes
39675 else
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39678
39679 ac_cv_lib_socket_inet_addr=no
39680 fi
39681
39682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39683 conftest$ac_exeext conftest.$ac_ext
39684 LIBS=$ac_check_lib_save_LIBS
39685 fi
39686 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39687 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39688 if test $ac_cv_lib_socket_inet_addr = yes; then
39689 INET_LINK="socket"
39690
39691 fi
39692
39693
39694
39695 fi
39696
39697
39698
39699 fi
39700
39701
39702
39703 fi
39704 done
39705
39706
39707
39708 for ac_func in inet_aton
39709 do
39710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39725
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39730
39731 #ifdef __STDC__
39732 # include <limits.h>
39733 #else
39734 # include <assert.h>
39735 #endif
39736
39737 #undef $ac_func
39738
39739 /* Override any GCC internal prototype to avoid an error.
39740 Use char because int might match the return type of a GCC
39741 builtin and then its argument prototype would still apply. */
39742 #ifdef __cplusplus
39743 extern "C"
39744 #endif
39745 char $ac_func ();
39746 /* The GNU C library defines this for functions which it implements
39747 to always fail with ENOSYS. Some functions are actually named
39748 something starting with __ and the normal name is an alias. */
39749 #if defined __stub_$ac_func || defined __stub___$ac_func
39750 choke me
39751 #endif
39752
39753 int
39754 main ()
39755 {
39756 return $ac_func ();
39757 ;
39758 return 0;
39759 }
39760 _ACEOF
39761 rm -f conftest.$ac_objext conftest$ac_exeext
39762 if { (ac_try="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39765 *) ac_try_echo=$ac_try;;
39766 esac
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39769 ac_status=$?
39770 grep -v '^ *+' conftest.er1 >conftest.err
39771 rm -f conftest.er1
39772 cat conftest.err >&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest$ac_exeext &&
39778 $as_test_x conftest$ac_exeext; then
39779 eval "$as_ac_var=yes"
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39783
39784 eval "$as_ac_var=no"
39785 fi
39786
39787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39788 conftest$ac_exeext conftest.$ac_ext
39789 fi
39790 ac_res=`eval echo '${'$as_ac_var'}'`
39791 { echo "$as_me:$LINENO: result: $ac_res" >&5
39792 echo "${ECHO_T}$ac_res" >&6; }
39793 if test `eval echo '${'$as_ac_var'}'` = yes; then
39794 cat >>confdefs.h <<_ACEOF
39795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39796 _ACEOF
39797 cat >>confdefs.h <<\_ACEOF
39798 #define HAVE_INET_ATON 1
39799 _ACEOF
39800
39801 else
39802
39803 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39804 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39805 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39806 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39808 else
39809 ac_check_lib_save_LIBS=$LIBS
39810 LIBS="-l$INET_LINK $LIBS"
39811 cat >conftest.$ac_ext <<_ACEOF
39812 /* confdefs.h. */
39813 _ACEOF
39814 cat confdefs.h >>conftest.$ac_ext
39815 cat >>conftest.$ac_ext <<_ACEOF
39816 /* end confdefs.h. */
39817
39818 /* Override any GCC internal prototype to avoid an error.
39819 Use char because int might match the return type of a GCC
39820 builtin and then its argument prototype would still apply. */
39821 #ifdef __cplusplus
39822 extern "C"
39823 #endif
39824 char inet_aton ();
39825 int
39826 main ()
39827 {
39828 return inet_aton ();
39829 ;
39830 return 0;
39831 }
39832 _ACEOF
39833 rm -f conftest.$ac_objext conftest$ac_exeext
39834 if { (ac_try="$ac_link"
39835 case "(($ac_try" in
39836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39837 *) ac_try_echo=$ac_try;;
39838 esac
39839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39840 (eval "$ac_link") 2>conftest.er1
39841 ac_status=$?
39842 grep -v '^ *+' conftest.er1 >conftest.err
39843 rm -f conftest.er1
39844 cat conftest.err >&5
39845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39846 (exit $ac_status); } && {
39847 test -z "$ac_c_werror_flag" ||
39848 test ! -s conftest.err
39849 } && test -s conftest$ac_exeext &&
39850 $as_test_x conftest$ac_exeext; then
39851 eval "$as_ac_Lib=yes"
39852 else
39853 echo "$as_me: failed program was:" >&5
39854 sed 's/^/| /' conftest.$ac_ext >&5
39855
39856 eval "$as_ac_Lib=no"
39857 fi
39858
39859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39860 conftest$ac_exeext conftest.$ac_ext
39861 LIBS=$ac_check_lib_save_LIBS
39862 fi
39863 ac_res=`eval echo '${'$as_ac_Lib'}'`
39864 { echo "$as_me:$LINENO: result: $ac_res" >&5
39865 echo "${ECHO_T}$ac_res" >&6; }
39866 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39867 cat >>confdefs.h <<\_ACEOF
39868 #define HAVE_INET_ATON 1
39869 _ACEOF
39870
39871 fi
39872
39873
39874 fi
39875 done
39876
39877
39878 if test "x$INET_LINK" != "x"; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define HAVE_INET_ADDR 1
39881 _ACEOF
39882
39883 INET_LINK=" -l$INET_LINK"
39884 fi
39885
39886
39887 for wx_func in fdopen
39888 do
39889 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39890 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39891 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39892 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 else
39894
39895 cat >conftest.$ac_ext <<_ACEOF
39896
39897 /* confdefs.h. */
39898 _ACEOF
39899 cat confdefs.h >>conftest.$ac_ext
39900 cat >>conftest.$ac_ext <<_ACEOF
39901 /* end confdefs.h. */
39902
39903
39904 $ac_includes_default
39905
39906 int
39907 main ()
39908 {
39909
39910 #ifndef $wx_func
39911 &$wx_func;
39912 #endif
39913
39914
39915 ;
39916 return 0;
39917 }
39918
39919 _ACEOF
39920 rm -f conftest.$ac_objext conftest$ac_exeext
39921 if { (ac_try="$ac_link"
39922 case "(($ac_try" in
39923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39924 *) ac_try_echo=$ac_try;;
39925 esac
39926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39927 (eval "$ac_link") 2>conftest.er1
39928 ac_status=$?
39929 grep -v '^ *+' conftest.er1 >conftest.err
39930 rm -f conftest.er1
39931 cat conftest.err >&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } && {
39934 test -z "$ac_c_werror_flag" ||
39935 test ! -s conftest.err
39936 } && test -s conftest$ac_exeext &&
39937 $as_test_x conftest$ac_exeext; then
39938 eval wx_cv_func_$wx_func=yes
39939 else
39940 echo "$as_me: failed program was:" >&5
39941 sed 's/^/| /' conftest.$ac_ext >&5
39942
39943 eval wx_cv_func_$wx_func=no
39944 fi
39945
39946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39947 conftest$ac_exeext conftest.$ac_ext
39948
39949 fi
39950 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39951 { echo "$as_me:$LINENO: result: $ac_res" >&5
39952 echo "${ECHO_T}$ac_res" >&6; }
39953
39954 if eval test \$wx_cv_func_$wx_func = yes
39955 then
39956 cat >>confdefs.h <<_ACEOF
39957 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39958 _ACEOF
39959
39960
39961 else
39962 :
39963
39964 fi
39965 done
39966
39967
39968 if test "$wxUSE_TARSTREAM" = "yes"; then
39969
39970 for wx_func in sysconf
39971 do
39972 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39973 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39974 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39975 echo $ECHO_N "(cached) $ECHO_C" >&6
39976 else
39977
39978 cat >conftest.$ac_ext <<_ACEOF
39979
39980 /* confdefs.h. */
39981 _ACEOF
39982 cat confdefs.h >>conftest.$ac_ext
39983 cat >>conftest.$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985
39986
39987 $ac_includes_default
39988
39989 int
39990 main ()
39991 {
39992
39993 #ifndef $wx_func
39994 &$wx_func;
39995 #endif
39996
39997
39998 ;
39999 return 0;
40000 }
40001
40002 _ACEOF
40003 rm -f conftest.$ac_objext conftest$ac_exeext
40004 if { (ac_try="$ac_link"
40005 case "(($ac_try" in
40006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40007 *) ac_try_echo=$ac_try;;
40008 esac
40009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40010 (eval "$ac_link") 2>conftest.er1
40011 ac_status=$?
40012 grep -v '^ *+' conftest.er1 >conftest.err
40013 rm -f conftest.er1
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } && {
40017 test -z "$ac_c_werror_flag" ||
40018 test ! -s conftest.err
40019 } && test -s conftest$ac_exeext &&
40020 $as_test_x conftest$ac_exeext; then
40021 eval wx_cv_func_$wx_func=yes
40022 else
40023 echo "$as_me: failed program was:" >&5
40024 sed 's/^/| /' conftest.$ac_ext >&5
40025
40026 eval wx_cv_func_$wx_func=no
40027 fi
40028
40029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40030 conftest$ac_exeext conftest.$ac_ext
40031
40032 fi
40033 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40034 { echo "$as_me:$LINENO: result: $ac_res" >&5
40035 echo "${ECHO_T}$ac_res" >&6; }
40036
40037 if eval test \$wx_cv_func_$wx_func = yes
40038 then
40039 cat >>confdefs.h <<_ACEOF
40040 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40041 _ACEOF
40042
40043
40044 else
40045 :
40046
40047 fi
40048 done
40049
40050
40051
40052 for wx_func in getpwuid_r
40053 do
40054 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40055 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40056 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40058 else
40059
40060 cat >conftest.$ac_ext <<_ACEOF
40061
40062 /* confdefs.h. */
40063 _ACEOF
40064 cat confdefs.h >>conftest.$ac_ext
40065 cat >>conftest.$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067
40068
40069 #define _REENTRANT
40070 #include <pwd.h>
40071
40072 $ac_includes_default
40073
40074 int
40075 main ()
40076 {
40077
40078 #ifndef $wx_func
40079 &$wx_func;
40080 #endif
40081
40082 struct passwd pw, *ppw;
40083 char buf[1024];
40084 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40085
40086
40087 ;
40088 return 0;
40089 }
40090
40091 _ACEOF
40092 rm -f conftest.$ac_objext conftest$ac_exeext
40093 if { (ac_try="$ac_link"
40094 case "(($ac_try" in
40095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40096 *) ac_try_echo=$ac_try;;
40097 esac
40098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40099 (eval "$ac_link") 2>conftest.er1
40100 ac_status=$?
40101 grep -v '^ *+' conftest.er1 >conftest.err
40102 rm -f conftest.er1
40103 cat conftest.err >&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } && {
40106 test -z "$ac_c_werror_flag" ||
40107 test ! -s conftest.err
40108 } && test -s conftest$ac_exeext &&
40109 $as_test_x conftest$ac_exeext; then
40110 eval wx_cv_func_$wx_func=yes
40111 else
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40114
40115 eval wx_cv_func_$wx_func=no
40116 fi
40117
40118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40119 conftest$ac_exeext conftest.$ac_ext
40120
40121 fi
40122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40123 { echo "$as_me:$LINENO: result: $ac_res" >&5
40124 echo "${ECHO_T}$ac_res" >&6; }
40125
40126 if eval test \$wx_cv_func_$wx_func = yes
40127 then
40128 cat >>confdefs.h <<_ACEOF
40129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40130 _ACEOF
40131
40132
40133 else
40134 :
40135
40136 fi
40137 done
40138
40139
40140
40141 for wx_func in getgrgid_r
40142 do
40143 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40145 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40147 else
40148
40149 cat >conftest.$ac_ext <<_ACEOF
40150
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156
40157
40158 #define _REENTRANT
40159 #include <grp.h>
40160
40161 $ac_includes_default
40162
40163 int
40164 main ()
40165 {
40166
40167 #ifndef $wx_func
40168 &$wx_func;
40169 #endif
40170
40171 struct group grp, *pgrp;
40172 char buf[1024];
40173 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40174
40175
40176 ;
40177 return 0;
40178 }
40179
40180 _ACEOF
40181 rm -f conftest.$ac_objext conftest$ac_exeext
40182 if { (ac_try="$ac_link"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40186 esac
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_link") 2>conftest.er1
40189 ac_status=$?
40190 grep -v '^ *+' conftest.er1 >conftest.err
40191 rm -f conftest.er1
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest$ac_exeext &&
40198 $as_test_x conftest$ac_exeext; then
40199 eval wx_cv_func_$wx_func=yes
40200 else
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40203
40204 eval wx_cv_func_$wx_func=no
40205 fi
40206
40207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40208 conftest$ac_exeext conftest.$ac_ext
40209
40210 fi
40211 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40212 { echo "$as_me:$LINENO: result: $ac_res" >&5
40213 echo "${ECHO_T}$ac_res" >&6; }
40214
40215 if eval test \$wx_cv_func_$wx_func = yes
40216 then
40217 cat >>confdefs.h <<_ACEOF
40218 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40219 _ACEOF
40220
40221
40222 else
40223 :
40224
40225 fi
40226 done
40227
40228 fi
40229
40230 fi
40231
40232
40233
40234 cat >confcache <<\_ACEOF
40235 # This file is a shell script that caches the results of configure
40236 # tests run on this system so they can be shared between configure
40237 # scripts and configure runs, see configure's option --config-cache.
40238 # It is not useful on other systems. If it contains results you don't
40239 # want to keep, you may remove or edit it.
40240 #
40241 # config.status only pays attention to the cache file if you give it
40242 # the --recheck option to rerun configure.
40243 #
40244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40246 # following values.
40247
40248 _ACEOF
40249
40250 # The following way of writing the cache mishandles newlines in values,
40251 # but we know of no workaround that is simple, portable, and efficient.
40252 # So, we kill variables containing newlines.
40253 # Ultrix sh set writes to stderr and can't be redirected directly,
40254 # and sets the high bit in the cache file unless we assign to the vars.
40255 (
40256 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40257 eval ac_val=\$$ac_var
40258 case $ac_val in #(
40259 *${as_nl}*)
40260 case $ac_var in #(
40261 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40262 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40263 esac
40264 case $ac_var in #(
40265 _ | IFS | as_nl) ;; #(
40266 *) $as_unset $ac_var ;;
40267 esac ;;
40268 esac
40269 done
40270
40271 (set) 2>&1 |
40272 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40273 *${as_nl}ac_space=\ *)
40274 # `set' does not quote correctly, so add quotes (double-quote
40275 # substitution turns \\\\ into \\, and sed turns \\ into \).
40276 sed -n \
40277 "s/'/'\\\\''/g;
40278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40279 ;; #(
40280 *)
40281 # `set' quotes correctly as required by POSIX, so do not add quotes.
40282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40283 ;;
40284 esac |
40285 sort
40286 ) |
40287 sed '
40288 /^ac_cv_env_/b end
40289 t clear
40290 :clear
40291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40292 t end
40293 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40294 :end' >>confcache
40295 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40296 if test -w "$cache_file"; then
40297 test "x$cache_file" != "x/dev/null" &&
40298 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40299 echo "$as_me: updating cache $cache_file" >&6;}
40300 cat confcache >$cache_file
40301 else
40302 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40303 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40304 fi
40305 fi
40306 rm -f confcache
40307
40308
40309 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40310
40311
40312 THREADS_LINK=
40313 THREADS_CFLAGS=
40314
40315 if test "$wxUSE_THREADS" = "yes" ; then
40316 if test "$USE_BEOS" = 1; then
40317 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40318 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40319 wxUSE_THREADS="no"
40320 fi
40321 fi
40322
40323 if test "$wxUSE_THREADS" = "yes" ; then
40324
40325
40326 THREAD_OPTS="-pthread"
40327 if test "x$SUNCXX" = xyes; then
40328 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40329 fi
40330
40331 case "${host}" in
40332 *-*-solaris2* | *-*-sunos4* )
40333 if test "x$GCC" = "xyes"; then
40334 THREAD_OPTS="-pthreads $THREAD_OPTS"
40335 fi
40336 ;;
40337 *-*-freebsd*)
40338 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40339 ;;
40340 *-*-darwin* | *-*-cygwin* )
40341 THREAD_OPTS=""
40342 ;;
40343 *-*-aix*)
40344 THREAD_OPTS="pthreads"
40345 ;;
40346 *-hp-hpux* )
40347 if test "x$GCC" = "xyes"; then
40348 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40349 THREAD_OPTS=""
40350 else
40351 THREAD_OPTS="-mt"
40352 fi
40353 ;;
40354
40355 *-*-irix* )
40356 if test "x$GCC" = "xyes"; then
40357 THREAD_OPTS=""
40358 fi
40359 ;;
40360
40361 *-*-qnx*)
40362 THREAD_OPTS=""
40363 ;;
40364
40365 *-*-*UnixWare*)
40366 if test "x$GCC" != "xyes"; then
40367 THREAD_OPTS="-Ethread"
40368 fi
40369 ;;
40370 esac
40371
40372 case "${host}" in
40373 *-*-qnx*)
40374 THREAD_OPTS="none pthread"
40375 ;;
40376
40377 *)
40378 THREAD_OPTS="$THREAD_OPTS pthread none"
40379 ;;
40380 esac
40381
40382 THREADS_OK=no
40383 for flag in $THREAD_OPTS; do
40384 case $flag in
40385 none)
40386 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40387 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40388 ;;
40389
40390 -*)
40391 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40392 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40393 THREADS_CFLAGS="$flag"
40394 ;;
40395
40396 *)
40397 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40398 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40399 THREADS_LINK="-l$flag"
40400 ;;
40401 esac
40402
40403 save_LIBS="$LIBS"
40404 save_CFLAGS="$CFLAGS"
40405 LIBS="$THREADS_LINK $LIBS"
40406 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40407
40408 cat >conftest.$ac_ext <<_ACEOF
40409 /* confdefs.h. */
40410 _ACEOF
40411 cat confdefs.h >>conftest.$ac_ext
40412 cat >>conftest.$ac_ext <<_ACEOF
40413 /* end confdefs.h. */
40414 #include <pthread.h>
40415 int
40416 main ()
40417 {
40418 pthread_create(0,0,0,0);
40419 ;
40420 return 0;
40421 }
40422 _ACEOF
40423 rm -f conftest.$ac_objext conftest$ac_exeext
40424 if { (ac_try="$ac_link"
40425 case "(($ac_try" in
40426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40427 *) ac_try_echo=$ac_try;;
40428 esac
40429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40430 (eval "$ac_link") 2>conftest.er1
40431 ac_status=$?
40432 grep -v '^ *+' conftest.er1 >conftest.err
40433 rm -f conftest.er1
40434 cat conftest.err >&5
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); } && {
40437 test -z "$ac_c_werror_flag" ||
40438 test ! -s conftest.err
40439 } && test -s conftest$ac_exeext &&
40440 $as_test_x conftest$ac_exeext; then
40441 THREADS_OK=yes
40442 else
40443 echo "$as_me: failed program was:" >&5
40444 sed 's/^/| /' conftest.$ac_ext >&5
40445
40446
40447 fi
40448
40449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40450 conftest$ac_exeext conftest.$ac_ext
40451
40452 LIBS="$save_LIBS"
40453 CFLAGS="$save_CFLAGS"
40454
40455 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40456 echo "${ECHO_T}$THREADS_OK" >&6; }
40457 if test "x$THREADS_OK" = "xyes"; then
40458 break;
40459 fi
40460
40461 THREADS_LINK=""
40462 THREADS_CFLAGS=""
40463 done
40464
40465 if test "x$THREADS_OK" != "xyes"; then
40466 wxUSE_THREADS=no
40467 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40468 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40469 else
40470 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40471 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40472 LIBS="$THREADS_LINK $LIBS"
40473
40474 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40475 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40476 flag=no
40477 case "${host}" in
40478 *-aix*)
40479 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40480 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40481 flag="-D_THREAD_SAFE"
40482 ;;
40483 *-freebsd*)
40484 flag="-D_THREAD_SAFE"
40485 ;;
40486 *-hp-hpux* )
40487 flag="-D_REENTRANT"
40488 if test "x$GCC" != "xyes"; then
40489 flag="$flag -D_RWSTD_MULTI_THREAD"
40490 fi
40491 ;;
40492 *solaris* | alpha*-osf*)
40493 flag="-D_REENTRANT"
40494 ;;
40495 esac
40496 { echo "$as_me:$LINENO: result: ${flag}" >&5
40497 echo "${ECHO_T}${flag}" >&6; }
40498 if test "x$flag" != xno; then
40499 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40500 fi
40501
40502 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40503 fi
40504 fi
40505
40506 if test "$wxUSE_THREADS" = "yes" ; then
40507
40508 for ac_func in thr_setconcurrency
40509 do
40510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40514 echo $ECHO_N "(cached) $ECHO_C" >&6
40515 else
40516 cat >conftest.$ac_ext <<_ACEOF
40517 /* confdefs.h. */
40518 _ACEOF
40519 cat confdefs.h >>conftest.$ac_ext
40520 cat >>conftest.$ac_ext <<_ACEOF
40521 /* end confdefs.h. */
40522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40524 #define $ac_func innocuous_$ac_func
40525
40526 /* System header to define __stub macros and hopefully few prototypes,
40527 which can conflict with char $ac_func (); below.
40528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40529 <limits.h> exists even on freestanding compilers. */
40530
40531 #ifdef __STDC__
40532 # include <limits.h>
40533 #else
40534 # include <assert.h>
40535 #endif
40536
40537 #undef $ac_func
40538
40539 /* Override any GCC internal prototype to avoid an error.
40540 Use char because int might match the return type of a GCC
40541 builtin and then its argument prototype would still apply. */
40542 #ifdef __cplusplus
40543 extern "C"
40544 #endif
40545 char $ac_func ();
40546 /* The GNU C library defines this for functions which it implements
40547 to always fail with ENOSYS. Some functions are actually named
40548 something starting with __ and the normal name is an alias. */
40549 #if defined __stub_$ac_func || defined __stub___$ac_func
40550 choke me
40551 #endif
40552
40553 int
40554 main ()
40555 {
40556 return $ac_func ();
40557 ;
40558 return 0;
40559 }
40560 _ACEOF
40561 rm -f conftest.$ac_objext conftest$ac_exeext
40562 if { (ac_try="$ac_link"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40565 *) ac_try_echo=$ac_try;;
40566 esac
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_link") 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest$ac_exeext &&
40578 $as_test_x conftest$ac_exeext; then
40579 eval "$as_ac_var=yes"
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 eval "$as_ac_var=no"
40585 fi
40586
40587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40588 conftest$ac_exeext conftest.$ac_ext
40589 fi
40590 ac_res=`eval echo '${'$as_ac_var'}'`
40591 { echo "$as_me:$LINENO: result: $ac_res" >&5
40592 echo "${ECHO_T}$ac_res" >&6; }
40593 if test `eval echo '${'$as_ac_var'}'` = yes; then
40594 cat >>confdefs.h <<_ACEOF
40595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40596 _ACEOF
40597
40598 fi
40599 done
40600
40601
40602 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40603 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40604 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40605 echo $ECHO_N "(cached) $ECHO_C" >&6
40606 else
40607
40608 ac_ext=cpp
40609 ac_cpp='$CXXCPP $CPPFLAGS'
40610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40613
40614 cat >conftest.$ac_ext <<_ACEOF
40615 /* confdefs.h. */
40616 _ACEOF
40617 cat confdefs.h >>conftest.$ac_ext
40618 cat >>conftest.$ac_ext <<_ACEOF
40619 /* end confdefs.h. */
40620 #include <pthread.h>
40621 void ThreadCleanupFunc(void *p);
40622
40623 int
40624 main ()
40625 {
40626
40627 void *p;
40628 pthread_cleanup_push(ThreadCleanupFunc, p);
40629 pthread_cleanup_pop(0);
40630
40631 ;
40632 return 0;
40633 }
40634 _ACEOF
40635 rm -f conftest.$ac_objext
40636 if { (ac_try="$ac_compile"
40637 case "(($ac_try" in
40638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40639 *) ac_try_echo=$ac_try;;
40640 esac
40641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40642 (eval "$ac_compile") 2>conftest.er1
40643 ac_status=$?
40644 grep -v '^ *+' conftest.er1 >conftest.err
40645 rm -f conftest.er1
40646 cat conftest.err >&5
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); } && {
40649 test -z "$ac_cxx_werror_flag" ||
40650 test ! -s conftest.err
40651 } && test -s conftest.$ac_objext; then
40652
40653 wx_cv_func_pthread_cleanup=yes
40654
40655 else
40656 echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40658
40659
40660 wx_cv_func_pthread_cleanup=no
40661
40662
40663 fi
40664
40665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40666 ac_ext=c
40667 ac_cpp='$CPP $CPPFLAGS'
40668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671
40672
40673 fi
40674 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40675 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40676 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40677 cat >>confdefs.h <<\_ACEOF
40678 #define wxHAVE_PTHREAD_CLEANUP 1
40679 _ACEOF
40680
40681 fi
40682
40683
40684 for ac_header in sched.h
40685 do
40686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40690 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 else
40692 cat >conftest.$ac_ext <<_ACEOF
40693 /* confdefs.h. */
40694 _ACEOF
40695 cat confdefs.h >>conftest.$ac_ext
40696 cat >>conftest.$ac_ext <<_ACEOF
40697 /* end confdefs.h. */
40698 $ac_includes_default
40699
40700 #include <$ac_header>
40701 _ACEOF
40702 rm -f conftest.$ac_objext
40703 if { (ac_try="$ac_compile"
40704 case "(($ac_try" in
40705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40706 *) ac_try_echo=$ac_try;;
40707 esac
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_compile") 2>conftest.er1
40710 ac_status=$?
40711 grep -v '^ *+' conftest.er1 >conftest.err
40712 rm -f conftest.er1
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest.$ac_objext; then
40719 eval "$as_ac_Header=yes"
40720 else
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.$ac_ext >&5
40723
40724 eval "$as_ac_Header=no"
40725 fi
40726
40727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40728 fi
40729 ac_res=`eval echo '${'$as_ac_Header'}'`
40730 { echo "$as_me:$LINENO: result: $ac_res" >&5
40731 echo "${ECHO_T}$ac_res" >&6; }
40732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40733 cat >>confdefs.h <<_ACEOF
40734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40735 _ACEOF
40736
40737 fi
40738
40739 done
40740
40741 if test "$ac_cv_header_sched_h" = "yes"; then
40742 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40743 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40744 if test "${ac_cv_func_sched_yield+set}" = set; then
40745 echo $ECHO_N "(cached) $ECHO_C" >&6
40746 else
40747 cat >conftest.$ac_ext <<_ACEOF
40748 /* confdefs.h. */
40749 _ACEOF
40750 cat confdefs.h >>conftest.$ac_ext
40751 cat >>conftest.$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40753 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40755 #define sched_yield innocuous_sched_yield
40756
40757 /* System header to define __stub macros and hopefully few prototypes,
40758 which can conflict with char sched_yield (); below.
40759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40760 <limits.h> exists even on freestanding compilers. */
40761
40762 #ifdef __STDC__
40763 # include <limits.h>
40764 #else
40765 # include <assert.h>
40766 #endif
40767
40768 #undef sched_yield
40769
40770 /* Override any GCC internal prototype to avoid an error.
40771 Use char because int might match the return type of a GCC
40772 builtin and then its argument prototype would still apply. */
40773 #ifdef __cplusplus
40774 extern "C"
40775 #endif
40776 char sched_yield ();
40777 /* The GNU C library defines this for functions which it implements
40778 to always fail with ENOSYS. Some functions are actually named
40779 something starting with __ and the normal name is an alias. */
40780 #if defined __stub_sched_yield || defined __stub___sched_yield
40781 choke me
40782 #endif
40783
40784 int
40785 main ()
40786 {
40787 return sched_yield ();
40788 ;
40789 return 0;
40790 }
40791 _ACEOF
40792 rm -f conftest.$ac_objext conftest$ac_exeext
40793 if { (ac_try="$ac_link"
40794 case "(($ac_try" in
40795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40796 *) ac_try_echo=$ac_try;;
40797 esac
40798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40799 (eval "$ac_link") 2>conftest.er1
40800 ac_status=$?
40801 grep -v '^ *+' conftest.er1 >conftest.err
40802 rm -f conftest.er1
40803 cat conftest.err >&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } && {
40806 test -z "$ac_c_werror_flag" ||
40807 test ! -s conftest.err
40808 } && test -s conftest$ac_exeext &&
40809 $as_test_x conftest$ac_exeext; then
40810 ac_cv_func_sched_yield=yes
40811 else
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40814
40815 ac_cv_func_sched_yield=no
40816 fi
40817
40818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40819 conftest$ac_exeext conftest.$ac_ext
40820 fi
40821 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40822 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40823 if test $ac_cv_func_sched_yield = yes; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define HAVE_SCHED_YIELD 1
40826 _ACEOF
40827
40828 else
40829
40830 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40831 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40832 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40833 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 else
40835 ac_check_lib_save_LIBS=$LIBS
40836 LIBS="-lposix4 $LIBS"
40837 cat >conftest.$ac_ext <<_ACEOF
40838 /* confdefs.h. */
40839 _ACEOF
40840 cat confdefs.h >>conftest.$ac_ext
40841 cat >>conftest.$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40843
40844 /* Override any GCC internal prototype to avoid an error.
40845 Use char because int might match the return type of a GCC
40846 builtin and then its argument prototype would still apply. */
40847 #ifdef __cplusplus
40848 extern "C"
40849 #endif
40850 char sched_yield ();
40851 int
40852 main ()
40853 {
40854 return sched_yield ();
40855 ;
40856 return 0;
40857 }
40858 _ACEOF
40859 rm -f conftest.$ac_objext conftest$ac_exeext
40860 if { (ac_try="$ac_link"
40861 case "(($ac_try" in
40862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40863 *) ac_try_echo=$ac_try;;
40864 esac
40865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40866 (eval "$ac_link") 2>conftest.er1
40867 ac_status=$?
40868 grep -v '^ *+' conftest.er1 >conftest.err
40869 rm -f conftest.er1
40870 cat conftest.err >&5
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); } && {
40873 test -z "$ac_c_werror_flag" ||
40874 test ! -s conftest.err
40875 } && test -s conftest$ac_exeext &&
40876 $as_test_x conftest$ac_exeext; then
40877 ac_cv_lib_posix4_sched_yield=yes
40878 else
40879 echo "$as_me: failed program was:" >&5
40880 sed 's/^/| /' conftest.$ac_ext >&5
40881
40882 ac_cv_lib_posix4_sched_yield=no
40883 fi
40884
40885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40886 conftest$ac_exeext conftest.$ac_ext
40887 LIBS=$ac_check_lib_save_LIBS
40888 fi
40889 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40890 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40891 if test $ac_cv_lib_posix4_sched_yield = yes; then
40892 cat >>confdefs.h <<\_ACEOF
40893 #define HAVE_SCHED_YIELD 1
40894 _ACEOF
40895 POSIX4_LINK=" -lposix4"
40896 else
40897 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40898 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40899
40900 fi
40901
40902
40903
40904 fi
40905
40906 fi
40907
40908 HAVE_PRIOR_FUNCS=0
40909 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40910 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40911 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914 cat >conftest.$ac_ext <<_ACEOF
40915 /* confdefs.h. */
40916 _ACEOF
40917 cat confdefs.h >>conftest.$ac_ext
40918 cat >>conftest.$ac_ext <<_ACEOF
40919 /* end confdefs.h. */
40920 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40922 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40923
40924 /* System header to define __stub macros and hopefully few prototypes,
40925 which can conflict with char pthread_attr_getschedpolicy (); below.
40926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40927 <limits.h> exists even on freestanding compilers. */
40928
40929 #ifdef __STDC__
40930 # include <limits.h>
40931 #else
40932 # include <assert.h>
40933 #endif
40934
40935 #undef pthread_attr_getschedpolicy
40936
40937 /* Override any GCC internal prototype to avoid an error.
40938 Use char because int might match the return type of a GCC
40939 builtin and then its argument prototype would still apply. */
40940 #ifdef __cplusplus
40941 extern "C"
40942 #endif
40943 char pthread_attr_getschedpolicy ();
40944 /* The GNU C library defines this for functions which it implements
40945 to always fail with ENOSYS. Some functions are actually named
40946 something starting with __ and the normal name is an alias. */
40947 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40948 choke me
40949 #endif
40950
40951 int
40952 main ()
40953 {
40954 return pthread_attr_getschedpolicy ();
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext conftest$ac_exeext
40960 if { (ac_try="$ac_link"
40961 case "(($ac_try" in
40962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40963 *) ac_try_echo=$ac_try;;
40964 esac
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_link") 2>conftest.er1
40967 ac_status=$?
40968 grep -v '^ *+' conftest.er1 >conftest.err
40969 rm -f conftest.er1
40970 cat conftest.err >&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_c_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest$ac_exeext &&
40976 $as_test_x conftest$ac_exeext; then
40977 ac_cv_func_pthread_attr_getschedpolicy=yes
40978 else
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40981
40982 ac_cv_func_pthread_attr_getschedpolicy=no
40983 fi
40984
40985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40986 conftest$ac_exeext conftest.$ac_ext
40987 fi
40988 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40989 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40990 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40991 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40992 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40993 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40994 echo $ECHO_N "(cached) $ECHO_C" >&6
40995 else
40996 cat >conftest.$ac_ext <<_ACEOF
40997 /* confdefs.h. */
40998 _ACEOF
40999 cat confdefs.h >>conftest.$ac_ext
41000 cat >>conftest.$ac_ext <<_ACEOF
41001 /* end confdefs.h. */
41002 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41004 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41005
41006 /* System header to define __stub macros and hopefully few prototypes,
41007 which can conflict with char pthread_attr_setschedparam (); below.
41008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41009 <limits.h> exists even on freestanding compilers. */
41010
41011 #ifdef __STDC__
41012 # include <limits.h>
41013 #else
41014 # include <assert.h>
41015 #endif
41016
41017 #undef pthread_attr_setschedparam
41018
41019 /* Override any GCC internal prototype to avoid an error.
41020 Use char because int might match the return type of a GCC
41021 builtin and then its argument prototype would still apply. */
41022 #ifdef __cplusplus
41023 extern "C"
41024 #endif
41025 char pthread_attr_setschedparam ();
41026 /* The GNU C library defines this for functions which it implements
41027 to always fail with ENOSYS. Some functions are actually named
41028 something starting with __ and the normal name is an alias. */
41029 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41030 choke me
41031 #endif
41032
41033 int
41034 main ()
41035 {
41036 return pthread_attr_setschedparam ();
41037 ;
41038 return 0;
41039 }
41040 _ACEOF
41041 rm -f conftest.$ac_objext conftest$ac_exeext
41042 if { (ac_try="$ac_link"
41043 case "(($ac_try" in
41044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41045 *) ac_try_echo=$ac_try;;
41046 esac
41047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41048 (eval "$ac_link") 2>conftest.er1
41049 ac_status=$?
41050 grep -v '^ *+' conftest.er1 >conftest.err
41051 rm -f conftest.er1
41052 cat conftest.err >&5
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); } && {
41055 test -z "$ac_c_werror_flag" ||
41056 test ! -s conftest.err
41057 } && test -s conftest$ac_exeext &&
41058 $as_test_x conftest$ac_exeext; then
41059 ac_cv_func_pthread_attr_setschedparam=yes
41060 else
41061 echo "$as_me: failed program was:" >&5
41062 sed 's/^/| /' conftest.$ac_ext >&5
41063
41064 ac_cv_func_pthread_attr_setschedparam=no
41065 fi
41066
41067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41068 conftest$ac_exeext conftest.$ac_ext
41069 fi
41070 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41071 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41072 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41073 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41074 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41075 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41076 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 else
41078 cat >conftest.$ac_ext <<_ACEOF
41079 /* confdefs.h. */
41080 _ACEOF
41081 cat confdefs.h >>conftest.$ac_ext
41082 cat >>conftest.$ac_ext <<_ACEOF
41083 /* end confdefs.h. */
41084 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41086 #define sched_get_priority_max innocuous_sched_get_priority_max
41087
41088 /* System header to define __stub macros and hopefully few prototypes,
41089 which can conflict with char sched_get_priority_max (); below.
41090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41091 <limits.h> exists even on freestanding compilers. */
41092
41093 #ifdef __STDC__
41094 # include <limits.h>
41095 #else
41096 # include <assert.h>
41097 #endif
41098
41099 #undef sched_get_priority_max
41100
41101 /* Override any GCC internal prototype to avoid an error.
41102 Use char because int might match the return type of a GCC
41103 builtin and then its argument prototype would still apply. */
41104 #ifdef __cplusplus
41105 extern "C"
41106 #endif
41107 char sched_get_priority_max ();
41108 /* The GNU C library defines this for functions which it implements
41109 to always fail with ENOSYS. Some functions are actually named
41110 something starting with __ and the normal name is an alias. */
41111 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41112 choke me
41113 #endif
41114
41115 int
41116 main ()
41117 {
41118 return sched_get_priority_max ();
41119 ;
41120 return 0;
41121 }
41122 _ACEOF
41123 rm -f conftest.$ac_objext conftest$ac_exeext
41124 if { (ac_try="$ac_link"
41125 case "(($ac_try" in
41126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41127 *) ac_try_echo=$ac_try;;
41128 esac
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_link") 2>conftest.er1
41131 ac_status=$?
41132 grep -v '^ *+' conftest.er1 >conftest.err
41133 rm -f conftest.er1
41134 cat conftest.err >&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_c_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest$ac_exeext &&
41140 $as_test_x conftest$ac_exeext; then
41141 ac_cv_func_sched_get_priority_max=yes
41142 else
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.$ac_ext >&5
41145
41146 ac_cv_func_sched_get_priority_max=no
41147 fi
41148
41149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41150 conftest$ac_exeext conftest.$ac_ext
41151 fi
41152 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41153 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41154 if test $ac_cv_func_sched_get_priority_max = yes; then
41155 HAVE_PRIOR_FUNCS=1
41156 else
41157 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41158 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41159 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41161 else
41162 ac_check_lib_save_LIBS=$LIBS
41163 LIBS="-lposix4 $LIBS"
41164 cat >conftest.$ac_ext <<_ACEOF
41165 /* confdefs.h. */
41166 _ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h. */
41170
41171 /* Override any GCC internal prototype to avoid an error.
41172 Use char because int might match the return type of a GCC
41173 builtin and then its argument prototype would still apply. */
41174 #ifdef __cplusplus
41175 extern "C"
41176 #endif
41177 char sched_get_priority_max ();
41178 int
41179 main ()
41180 {
41181 return sched_get_priority_max ();
41182 ;
41183 return 0;
41184 }
41185 _ACEOF
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (ac_try="$ac_link"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41190 *) ac_try_echo=$ac_try;;
41191 esac
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_link") 2>conftest.er1
41194 ac_status=$?
41195 grep -v '^ *+' conftest.er1 >conftest.err
41196 rm -f conftest.er1
41197 cat conftest.err >&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_c_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest$ac_exeext &&
41203 $as_test_x conftest$ac_exeext; then
41204 ac_cv_lib_posix4_sched_get_priority_max=yes
41205 else
41206 echo "$as_me: failed program was:" >&5
41207 sed 's/^/| /' conftest.$ac_ext >&5
41208
41209 ac_cv_lib_posix4_sched_get_priority_max=no
41210 fi
41211
41212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41213 conftest$ac_exeext conftest.$ac_ext
41214 LIBS=$ac_check_lib_save_LIBS
41215 fi
41216 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41217 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41218 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41219
41220 HAVE_PRIOR_FUNCS=1
41221 POSIX4_LINK=" -lposix4"
41222
41223 fi
41224
41225
41226 fi
41227
41228
41229 fi
41230
41231
41232 fi
41233
41234
41235 if test "$HAVE_PRIOR_FUNCS" = 1; then
41236 cat >>confdefs.h <<\_ACEOF
41237 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41238 _ACEOF
41239
41240 else
41241 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41242 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41243 fi
41244
41245 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41246 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41247 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41249 else
41250 cat >conftest.$ac_ext <<_ACEOF
41251 /* confdefs.h. */
41252 _ACEOF
41253 cat confdefs.h >>conftest.$ac_ext
41254 cat >>conftest.$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41256 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41258 #define pthread_cancel innocuous_pthread_cancel
41259
41260 /* System header to define __stub macros and hopefully few prototypes,
41261 which can conflict with char pthread_cancel (); below.
41262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41263 <limits.h> exists even on freestanding compilers. */
41264
41265 #ifdef __STDC__
41266 # include <limits.h>
41267 #else
41268 # include <assert.h>
41269 #endif
41270
41271 #undef pthread_cancel
41272
41273 /* Override any GCC internal prototype to avoid an error.
41274 Use char because int might match the return type of a GCC
41275 builtin and then its argument prototype would still apply. */
41276 #ifdef __cplusplus
41277 extern "C"
41278 #endif
41279 char pthread_cancel ();
41280 /* The GNU C library defines this for functions which it implements
41281 to always fail with ENOSYS. Some functions are actually named
41282 something starting with __ and the normal name is an alias. */
41283 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41284 choke me
41285 #endif
41286
41287 int
41288 main ()
41289 {
41290 return pthread_cancel ();
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 rm -f conftest.$ac_objext conftest$ac_exeext
41296 if { (ac_try="$ac_link"
41297 case "(($ac_try" in
41298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41299 *) ac_try_echo=$ac_try;;
41300 esac
41301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41302 (eval "$ac_link") 2>conftest.er1
41303 ac_status=$?
41304 grep -v '^ *+' conftest.er1 >conftest.err
41305 rm -f conftest.er1
41306 cat conftest.err >&5
41307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41308 (exit $ac_status); } && {
41309 test -z "$ac_c_werror_flag" ||
41310 test ! -s conftest.err
41311 } && test -s conftest$ac_exeext &&
41312 $as_test_x conftest$ac_exeext; then
41313 ac_cv_func_pthread_cancel=yes
41314 else
41315 echo "$as_me: failed program was:" >&5
41316 sed 's/^/| /' conftest.$ac_ext >&5
41317
41318 ac_cv_func_pthread_cancel=no
41319 fi
41320
41321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41322 conftest$ac_exeext conftest.$ac_ext
41323 fi
41324 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41325 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41326 if test $ac_cv_func_pthread_cancel = yes; then
41327 cat >>confdefs.h <<\_ACEOF
41328 #define HAVE_PTHREAD_CANCEL 1
41329 _ACEOF
41330
41331 else
41332 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41333 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41334 fi
41335
41336
41337 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41338 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41339 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 else
41342 cat >conftest.$ac_ext <<_ACEOF
41343 /* confdefs.h. */
41344 _ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41350 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41351
41352 /* System header to define __stub macros and hopefully few prototypes,
41353 which can conflict with char pthread_mutex_timedlock (); below.
41354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41355 <limits.h> exists even on freestanding compilers. */
41356
41357 #ifdef __STDC__
41358 # include <limits.h>
41359 #else
41360 # include <assert.h>
41361 #endif
41362
41363 #undef pthread_mutex_timedlock
41364
41365 /* Override any GCC internal prototype to avoid an error.
41366 Use char because int might match the return type of a GCC
41367 builtin and then its argument prototype would still apply. */
41368 #ifdef __cplusplus
41369 extern "C"
41370 #endif
41371 char pthread_mutex_timedlock ();
41372 /* The GNU C library defines this for functions which it implements
41373 to always fail with ENOSYS. Some functions are actually named
41374 something starting with __ and the normal name is an alias. */
41375 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41376 choke me
41377 #endif
41378
41379 int
41380 main ()
41381 {
41382 return pthread_mutex_timedlock ();
41383 ;
41384 return 0;
41385 }
41386 _ACEOF
41387 rm -f conftest.$ac_objext conftest$ac_exeext
41388 if { (ac_try="$ac_link"
41389 case "(($ac_try" in
41390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41391 *) ac_try_echo=$ac_try;;
41392 esac
41393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41394 (eval "$ac_link") 2>conftest.er1
41395 ac_status=$?
41396 grep -v '^ *+' conftest.er1 >conftest.err
41397 rm -f conftest.er1
41398 cat conftest.err >&5
41399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41400 (exit $ac_status); } && {
41401 test -z "$ac_c_werror_flag" ||
41402 test ! -s conftest.err
41403 } && test -s conftest$ac_exeext &&
41404 $as_test_x conftest$ac_exeext; then
41405 ac_cv_func_pthread_mutex_timedlock=yes
41406 else
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41409
41410 ac_cv_func_pthread_mutex_timedlock=no
41411 fi
41412
41413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41414 conftest$ac_exeext conftest.$ac_ext
41415 fi
41416 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41417 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41418 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41421 _ACEOF
41422
41423 else
41424 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41425 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41426 fi
41427
41428
41429 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41430 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41431 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41432 echo $ECHO_N "(cached) $ECHO_C" >&6
41433 else
41434 cat >conftest.$ac_ext <<_ACEOF
41435 /* confdefs.h. */
41436 _ACEOF
41437 cat confdefs.h >>conftest.$ac_ext
41438 cat >>conftest.$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41440 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41442 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41443
41444 /* System header to define __stub macros and hopefully few prototypes,
41445 which can conflict with char pthread_attr_setstacksize (); below.
41446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41447 <limits.h> exists even on freestanding compilers. */
41448
41449 #ifdef __STDC__
41450 # include <limits.h>
41451 #else
41452 # include <assert.h>
41453 #endif
41454
41455 #undef pthread_attr_setstacksize
41456
41457 /* Override any GCC internal prototype to avoid an error.
41458 Use char because int might match the return type of a GCC
41459 builtin and then its argument prototype would still apply. */
41460 #ifdef __cplusplus
41461 extern "C"
41462 #endif
41463 char pthread_attr_setstacksize ();
41464 /* The GNU C library defines this for functions which it implements
41465 to always fail with ENOSYS. Some functions are actually named
41466 something starting with __ and the normal name is an alias. */
41467 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41468 choke me
41469 #endif
41470
41471 int
41472 main ()
41473 {
41474 return pthread_attr_setstacksize ();
41475 ;
41476 return 0;
41477 }
41478 _ACEOF
41479 rm -f conftest.$ac_objext conftest$ac_exeext
41480 if { (ac_try="$ac_link"
41481 case "(($ac_try" in
41482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41483 *) ac_try_echo=$ac_try;;
41484 esac
41485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41486 (eval "$ac_link") 2>conftest.er1
41487 ac_status=$?
41488 grep -v '^ *+' conftest.er1 >conftest.err
41489 rm -f conftest.er1
41490 cat conftest.err >&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); } && {
41493 test -z "$ac_c_werror_flag" ||
41494 test ! -s conftest.err
41495 } && test -s conftest$ac_exeext &&
41496 $as_test_x conftest$ac_exeext; then
41497 ac_cv_func_pthread_attr_setstacksize=yes
41498 else
41499 echo "$as_me: failed program was:" >&5
41500 sed 's/^/| /' conftest.$ac_ext >&5
41501
41502 ac_cv_func_pthread_attr_setstacksize=no
41503 fi
41504
41505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41506 conftest$ac_exeext conftest.$ac_ext
41507 fi
41508 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41509 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41510 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41511 cat >>confdefs.h <<\_ACEOF
41512 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41513 _ACEOF
41514
41515 fi
41516
41517
41518
41519 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41520 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41521 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 else
41524
41525 cat >conftest.$ac_ext <<_ACEOF
41526 /* confdefs.h. */
41527 _ACEOF
41528 cat confdefs.h >>conftest.$ac_ext
41529 cat >>conftest.$ac_ext <<_ACEOF
41530 /* end confdefs.h. */
41531 #include <pthread.h>
41532 int
41533 main ()
41534 {
41535
41536 pthread_mutexattr_t attr;
41537 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41538
41539 ;
41540 return 0;
41541 }
41542 _ACEOF
41543 rm -f conftest.$ac_objext
41544 if { (ac_try="$ac_compile"
41545 case "(($ac_try" in
41546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41547 *) ac_try_echo=$ac_try;;
41548 esac
41549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41550 (eval "$ac_compile") 2>conftest.er1
41551 ac_status=$?
41552 grep -v '^ *+' conftest.er1 >conftest.err
41553 rm -f conftest.er1
41554 cat conftest.err >&5
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); } && {
41557 test -z "$ac_c_werror_flag" ||
41558 test ! -s conftest.err
41559 } && test -s conftest.$ac_objext; then
41560 wx_cv_type_pthread_mutexattr_t=yes
41561 else
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41564
41565 wx_cv_type_pthread_mutexattr_t=no
41566
41567 fi
41568
41569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570
41571 fi
41572 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41573 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41574
41575 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41576 cat >>confdefs.h <<\_ACEOF
41577 #define HAVE_PTHREAD_MUTEXATTR_T 1
41578 _ACEOF
41579
41580
41581 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41582 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41583 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41584 echo $ECHO_N "(cached) $ECHO_C" >&6
41585 else
41586
41587 cat >conftest.$ac_ext <<_ACEOF
41588 /* confdefs.h. */
41589 _ACEOF
41590 cat confdefs.h >>conftest.$ac_ext
41591 cat >>conftest.$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593 #include <pthread.h>
41594 int
41595 main ()
41596 {
41597
41598 pthread_mutexattr_t attr;
41599 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
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 wx_cv_func_pthread_mutexattr_settype_decl=yes
41623 else
41624 echo "$as_me: failed program was:" >&5
41625 sed 's/^/| /' conftest.$ac_ext >&5
41626
41627 wx_cv_func_pthread_mutexattr_settype_decl=no
41628
41629 fi
41630
41631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41632
41633 fi
41634 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41635 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41636 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41637 cat >>confdefs.h <<\_ACEOF
41638 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41639 _ACEOF
41640
41641 fi
41642 else
41643 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41644 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41645 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41646 echo $ECHO_N "(cached) $ECHO_C" >&6
41647 else
41648
41649 cat >conftest.$ac_ext <<_ACEOF
41650 /* confdefs.h. */
41651 _ACEOF
41652 cat confdefs.h >>conftest.$ac_ext
41653 cat >>conftest.$ac_ext <<_ACEOF
41654 /* end confdefs.h. */
41655 #include <pthread.h>
41656 int
41657 main ()
41658 {
41659
41660 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41661
41662 ;
41663 return 0;
41664 }
41665 _ACEOF
41666 rm -f conftest.$ac_objext
41667 if { (ac_try="$ac_compile"
41668 case "(($ac_try" in
41669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41670 *) ac_try_echo=$ac_try;;
41671 esac
41672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41673 (eval "$ac_compile") 2>conftest.er1
41674 ac_status=$?
41675 grep -v '^ *+' conftest.er1 >conftest.err
41676 rm -f conftest.er1
41677 cat conftest.err >&5
41678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41679 (exit $ac_status); } && {
41680 test -z "$ac_c_werror_flag" ||
41681 test ! -s conftest.err
41682 } && test -s conftest.$ac_objext; then
41683
41684 wx_cv_type_pthread_rec_mutex_init=yes
41685
41686 else
41687 echo "$as_me: failed program was:" >&5
41688 sed 's/^/| /' conftest.$ac_ext >&5
41689
41690
41691 wx_cv_type_pthread_rec_mutex_init=no
41692
41693
41694 fi
41695
41696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41697
41698 fi
41699 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41700 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41701 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41704 _ACEOF
41705
41706 else
41707 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41708 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41709 fi
41710 fi
41711
41712 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41713 if test "$USE_NETBSD" = 1; then
41714 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41715 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41716 wxUSE_COMPILER_TLS=no
41717 else
41718 wxUSE_COMPILER_TLS=yes
41719 fi
41720 fi
41721
41722 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41723 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41724 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41725 if test "${wx_cv_cc___thread+set}" = set; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41727 else
41728
41729 cat >conftest.$ac_ext <<_ACEOF
41730 /* confdefs.h. */
41731 _ACEOF
41732 cat confdefs.h >>conftest.$ac_ext
41733 cat >>conftest.$ac_ext <<_ACEOF
41734 /* end confdefs.h. */
41735 #include <pthread.h>
41736 int
41737 main ()
41738 {
41739
41740 static __thread int n = 0;
41741 static __thread int *p = 0;
41742
41743 ;
41744 return 0;
41745 }
41746 _ACEOF
41747 rm -f conftest.$ac_objext
41748 if { (ac_try="$ac_compile"
41749 case "(($ac_try" in
41750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41751 *) ac_try_echo=$ac_try;;
41752 esac
41753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41754 (eval "$ac_compile") 2>conftest.er1
41755 ac_status=$?
41756 grep -v '^ *+' conftest.er1 >conftest.err
41757 rm -f conftest.er1
41758 cat conftest.err >&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); } && {
41761 test -z "$ac_c_werror_flag" ||
41762 test ! -s conftest.err
41763 } && test -s conftest.$ac_objext; then
41764 wx_cv_cc___thread=yes
41765 else
41766 echo "$as_me: failed program was:" >&5
41767 sed 's/^/| /' conftest.$ac_ext >&5
41768
41769 wx_cv_cc___thread=no
41770
41771 fi
41772
41773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41774
41775
41776 fi
41777 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41778 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41779
41780 if test "$wx_cv_cc___thread" = "yes"; then
41781
41782 GXX_VERSION=""
41783
41784
41785
41786 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41787 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41788
41789 if test "x$GCC" = "xyes" ; then
41790
41791 if test -z "" ; then
41792
41793 ax_gcc_option_test="int main()
41794 {
41795 return 0;
41796 }"
41797
41798 else
41799
41800 ax_gcc_option_test=""
41801
41802 fi
41803
41804
41805 # Dump the test program to file
41806 cat <<EOF > conftest.c
41807 $ax_gcc_option_test
41808 EOF
41809
41810 # Dump back the file to the log, useful for debugging purposes
41811 { ac_try='cat conftest.c 1>&5'
41812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41813 (eval $ac_try) 2>&5
41814 ac_status=$?
41815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41816 (exit $ac_status); }; }
41817
41818 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41820 (eval $ac_try) 2>&5
41821 ac_status=$?
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); }; } ; then
41824
41825 { echo "$as_me:$LINENO: result: yes" >&5
41826 echo "${ECHO_T}yes" >&6; }
41827
41828 ax_gcc_version_option=yes
41829
41830
41831 else
41832
41833 { echo "$as_me:$LINENO: result: no" >&5
41834 echo "${ECHO_T}no" >&6; }
41835
41836 ax_gcc_version_option=no
41837
41838
41839 fi
41840
41841
41842 else
41843
41844 { echo "$as_me:$LINENO: result: no gcc available" >&5
41845 echo "${ECHO_T}no gcc available" >&6; }
41846
41847 fi
41848
41849
41850 if test "x$GXX" = "xyes"; then
41851
41852 if test "x$ax_gxx_version_option" != "no"; then
41853
41854 { echo "$as_me:$LINENO: checking gxx version" >&5
41855 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41856 if test "${ax_cv_gxx_version+set}" = set; then
41857 echo $ECHO_N "(cached) $ECHO_C" >&6
41858 else
41859
41860 ax_cv_gxx_version="`$CXX -dumpversion`"
41861 if test "x$ax_cv_gxx_version" = "x"; then
41862
41863 ax_cv_gxx_version=""
41864
41865 fi
41866
41867
41868 fi
41869 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41870 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41871 GXX_VERSION=$ax_cv_gxx_version
41872
41873 fi
41874
41875
41876 fi
41877
41878
41879
41880 if test -n "$ax_cv_gxx_version"; then
41881 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41882 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41883 case "$ax_cv_gxx_version" in
41884 1.* | 2.* | 3.* )
41885 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41886 echo "${ECHO_T}no, it's broken" >&6; }
41887 wx_cv_cc___thread=no
41888 ;;
41889 *)
41890 { echo "$as_me:$LINENO: result: yes, it works" >&5
41891 echo "${ECHO_T}yes, it works" >&6; }
41892 ;;
41893 esac
41894 fi
41895 fi
41896
41897 if test "$wx_cv_cc___thread" = "yes"; then
41898 cat >>confdefs.h <<\_ACEOF
41899 #define HAVE___THREAD_KEYWORD 1
41900 _ACEOF
41901
41902 fi
41903 fi
41904 fi
41905
41906 else
41907 if test "$wxUSE_THREADS" = "yes" ; then
41908 case "${host}" in
41909 x86_64-*-mingw32* )
41910 ;;
41911 *-*-mingw32* )
41912 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41913 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41914 if test "${wx_cv_cflags_mthread+set}" = set; then
41915 echo $ECHO_N "(cached) $ECHO_C" >&6
41916 else
41917
41918 CFLAGS_OLD="$CFLAGS"
41919 CFLAGS="-mthreads $CFLAGS"
41920 cat >conftest.$ac_ext <<_ACEOF
41921 /* confdefs.h. */
41922 _ACEOF
41923 cat confdefs.h >>conftest.$ac_ext
41924 cat >>conftest.$ac_ext <<_ACEOF
41925 /* end confdefs.h. */
41926
41927 int
41928 main ()
41929 {
41930
41931 ;
41932 return 0;
41933 }
41934 _ACEOF
41935 rm -f conftest.$ac_objext
41936 if { (ac_try="$ac_compile"
41937 case "(($ac_try" in
41938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41939 *) ac_try_echo=$ac_try;;
41940 esac
41941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41942 (eval "$ac_compile") 2>conftest.er1
41943 ac_status=$?
41944 grep -v '^ *+' conftest.er1 >conftest.err
41945 rm -f conftest.er1
41946 cat conftest.err >&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } && {
41949 test -z "$ac_c_werror_flag" ||
41950 test ! -s conftest.err
41951 } && test -s conftest.$ac_objext; then
41952 wx_cv_cflags_mthread=yes
41953 else
41954 echo "$as_me: failed program was:" >&5
41955 sed 's/^/| /' conftest.$ac_ext >&5
41956
41957 wx_cv_cflags_mthread=no
41958
41959 fi
41960
41961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41962
41963
41964 fi
41965 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41966 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41967
41968 if test "$wx_cv_cflags_mthread" = "yes"; then
41969 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41970 LDFLAGS="$LDFLAGS -mthreads"
41971 else
41972 CFLAGS="$CFLAGS_OLD"
41973 fi
41974 ;;
41975 *-pc-os2*emx )
41976 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41977 LDFLAGS="$LDFLAGS -Zmt"
41978 ;;
41979 esac
41980 fi
41981 fi
41982
41983 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41984 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41985 if test "${ac_cv_func_localtime_r+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 else
41988 cat >conftest.$ac_ext <<_ACEOF
41989 /* confdefs.h. */
41990 _ACEOF
41991 cat confdefs.h >>conftest.$ac_ext
41992 cat >>conftest.$ac_ext <<_ACEOF
41993 /* end confdefs.h. */
41994 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41996 #define localtime_r innocuous_localtime_r
41997
41998 /* System header to define __stub macros and hopefully few prototypes,
41999 which can conflict with char localtime_r (); below.
42000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42001 <limits.h> exists even on freestanding compilers. */
42002
42003 #ifdef __STDC__
42004 # include <limits.h>
42005 #else
42006 # include <assert.h>
42007 #endif
42008
42009 #undef localtime_r
42010
42011 /* Override any GCC internal prototype to avoid an error.
42012 Use char because int might match the return type of a GCC
42013 builtin and then its argument prototype would still apply. */
42014 #ifdef __cplusplus
42015 extern "C"
42016 #endif
42017 char localtime_r ();
42018 /* The GNU C library defines this for functions which it implements
42019 to always fail with ENOSYS. Some functions are actually named
42020 something starting with __ and the normal name is an alias. */
42021 #if defined __stub_localtime_r || defined __stub___localtime_r
42022 choke me
42023 #endif
42024
42025 int
42026 main ()
42027 {
42028 return localtime_r ();
42029 ;
42030 return 0;
42031 }
42032 _ACEOF
42033 rm -f conftest.$ac_objext conftest$ac_exeext
42034 if { (ac_try="$ac_link"
42035 case "(($ac_try" in
42036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42037 *) ac_try_echo=$ac_try;;
42038 esac
42039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42040 (eval "$ac_link") 2>conftest.er1
42041 ac_status=$?
42042 grep -v '^ *+' conftest.er1 >conftest.err
42043 rm -f conftest.er1
42044 cat conftest.err >&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); } && {
42047 test -z "$ac_c_werror_flag" ||
42048 test ! -s conftest.err
42049 } && test -s conftest$ac_exeext &&
42050 $as_test_x conftest$ac_exeext; then
42051 ac_cv_func_localtime_r=yes
42052 else
42053 echo "$as_me: failed program was:" >&5
42054 sed 's/^/| /' conftest.$ac_ext >&5
42055
42056 ac_cv_func_localtime_r=no
42057 fi
42058
42059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42060 conftest$ac_exeext conftest.$ac_ext
42061 fi
42062 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42063 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42064 if test $ac_cv_func_localtime_r = yes; then
42065 cat >>confdefs.h <<\_ACEOF
42066 #define HAVE_LOCALTIME_R 1
42067 _ACEOF
42068
42069 fi
42070
42071 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42072 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42073 if test "${ac_cv_func_gmtime_r+set}" = set; then
42074 echo $ECHO_N "(cached) $ECHO_C" >&6
42075 else
42076 cat >conftest.$ac_ext <<_ACEOF
42077 /* confdefs.h. */
42078 _ACEOF
42079 cat confdefs.h >>conftest.$ac_ext
42080 cat >>conftest.$ac_ext <<_ACEOF
42081 /* end confdefs.h. */
42082 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42084 #define gmtime_r innocuous_gmtime_r
42085
42086 /* System header to define __stub macros and hopefully few prototypes,
42087 which can conflict with char gmtime_r (); below.
42088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42089 <limits.h> exists even on freestanding compilers. */
42090
42091 #ifdef __STDC__
42092 # include <limits.h>
42093 #else
42094 # include <assert.h>
42095 #endif
42096
42097 #undef gmtime_r
42098
42099 /* Override any GCC internal prototype to avoid an error.
42100 Use char because int might match the return type of a GCC
42101 builtin and then its argument prototype would still apply. */
42102 #ifdef __cplusplus
42103 extern "C"
42104 #endif
42105 char gmtime_r ();
42106 /* The GNU C library defines this for functions which it implements
42107 to always fail with ENOSYS. Some functions are actually named
42108 something starting with __ and the normal name is an alias. */
42109 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42110 choke me
42111 #endif
42112
42113 int
42114 main ()
42115 {
42116 return gmtime_r ();
42117 ;
42118 return 0;
42119 }
42120 _ACEOF
42121 rm -f conftest.$ac_objext conftest$ac_exeext
42122 if { (ac_try="$ac_link"
42123 case "(($ac_try" in
42124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42125 *) ac_try_echo=$ac_try;;
42126 esac
42127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42128 (eval "$ac_link") 2>conftest.er1
42129 ac_status=$?
42130 grep -v '^ *+' conftest.er1 >conftest.err
42131 rm -f conftest.er1
42132 cat conftest.err >&5
42133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42134 (exit $ac_status); } && {
42135 test -z "$ac_c_werror_flag" ||
42136 test ! -s conftest.err
42137 } && test -s conftest$ac_exeext &&
42138 $as_test_x conftest$ac_exeext; then
42139 ac_cv_func_gmtime_r=yes
42140 else
42141 echo "$as_me: failed program was:" >&5
42142 sed 's/^/| /' conftest.$ac_ext >&5
42143
42144 ac_cv_func_gmtime_r=no
42145 fi
42146
42147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42148 conftest$ac_exeext conftest.$ac_ext
42149 fi
42150 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42151 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42152 if test $ac_cv_func_gmtime_r = yes; then
42153 cat >>confdefs.h <<\_ACEOF
42154 #define HAVE_GMTIME_R 1
42155 _ACEOF
42156
42157 fi
42158
42159
42160
42161
42162 ac_ext=c
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167
42168 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42169 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42170
42171 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42172 echo $ECHO_N "(cached) $ECHO_C" >&6
42173 else
42174
42175
42176 ################################################################
42177
42178 ac_cv_func_which_gethostbyname_r=unknown
42179
42180 #
42181 # ONE ARGUMENT (sanity check)
42182 #
42183
42184 # This should fail, as there is no variant of gethostbyname_r() that takes
42185 # a single argument. If it actually compiles, then we can assume that
42186 # netdb.h is not declaring the function, and the compiler is thereby
42187 # assuming an implicit prototype. In which case, we're out of luck.
42188 #
42189 cat >conftest.$ac_ext <<_ACEOF
42190 /* confdefs.h. */
42191 _ACEOF
42192 cat confdefs.h >>conftest.$ac_ext
42193 cat >>conftest.$ac_ext <<_ACEOF
42194 /* end confdefs.h. */
42195 #include <netdb.h>
42196 int
42197 main ()
42198 {
42199
42200 char *name = "www.gnu.org";
42201 (void)gethostbyname_r(name) /* ; */
42202
42203 ;
42204 return 0;
42205 }
42206 _ACEOF
42207 rm -f conftest.$ac_objext
42208 if { (ac_try="$ac_compile"
42209 case "(($ac_try" in
42210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42211 *) ac_try_echo=$ac_try;;
42212 esac
42213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42214 (eval "$ac_compile") 2>conftest.er1
42215 ac_status=$?
42216 grep -v '^ *+' conftest.er1 >conftest.err
42217 rm -f conftest.er1
42218 cat conftest.err >&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } && {
42221 test -z "$ac_c_werror_flag" ||
42222 test ! -s conftest.err
42223 } && test -s conftest.$ac_objext; then
42224 ac_cv_func_which_gethostbyname_r=no
42225 else
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42228
42229
42230 fi
42231
42232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42233
42234 #
42235 # SIX ARGUMENTS
42236 # (e.g. Linux)
42237 #
42238
42239 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42240
42241 cat >conftest.$ac_ext <<_ACEOF
42242 /* confdefs.h. */
42243 _ACEOF
42244 cat confdefs.h >>conftest.$ac_ext
42245 cat >>conftest.$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42247 #include <netdb.h>
42248 int
42249 main ()
42250 {
42251
42252 char *name = "www.gnu.org";
42253 struct hostent ret, *retp;
42254 char buf[1024];
42255 int buflen = 1024;
42256 int my_h_errno;
42257 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42258
42259 ;
42260 return 0;
42261 }
42262 _ACEOF
42263 rm -f conftest.$ac_objext
42264 if { (ac_try="$ac_compile"
42265 case "(($ac_try" in
42266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42267 *) ac_try_echo=$ac_try;;
42268 esac
42269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42270 (eval "$ac_compile") 2>conftest.er1
42271 ac_status=$?
42272 grep -v '^ *+' conftest.er1 >conftest.err
42273 rm -f conftest.er1
42274 cat conftest.err >&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); } && {
42277 test -z "$ac_c_werror_flag" ||
42278 test ! -s conftest.err
42279 } && test -s conftest.$ac_objext; then
42280 ac_cv_func_which_gethostbyname_r=six
42281 else
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.$ac_ext >&5
42284
42285
42286 fi
42287
42288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42289
42290 fi
42291
42292 #
42293 # FIVE ARGUMENTS
42294 # (e.g. Solaris)
42295 #
42296
42297 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42298
42299 cat >conftest.$ac_ext <<_ACEOF
42300 /* confdefs.h. */
42301 _ACEOF
42302 cat confdefs.h >>conftest.$ac_ext
42303 cat >>conftest.$ac_ext <<_ACEOF
42304 /* end confdefs.h. */
42305 #include <netdb.h>
42306 int
42307 main ()
42308 {
42309
42310 char *name = "www.gnu.org";
42311 struct hostent ret;
42312 char buf[1024];
42313 int buflen = 1024;
42314 int my_h_errno;
42315 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42316
42317 ;
42318 return 0;
42319 }
42320 _ACEOF
42321 rm -f conftest.$ac_objext
42322 if { (ac_try="$ac_compile"
42323 case "(($ac_try" in
42324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42325 *) ac_try_echo=$ac_try;;
42326 esac
42327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42328 (eval "$ac_compile") 2>conftest.er1
42329 ac_status=$?
42330 grep -v '^ *+' conftest.er1 >conftest.err
42331 rm -f conftest.er1
42332 cat conftest.err >&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); } && {
42335 test -z "$ac_c_werror_flag" ||
42336 test ! -s conftest.err
42337 } && test -s conftest.$ac_objext; then
42338 ac_cv_func_which_gethostbyname_r=five
42339 else
42340 echo "$as_me: failed program was:" >&5
42341 sed 's/^/| /' conftest.$ac_ext >&5
42342
42343
42344 fi
42345
42346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42347
42348 fi
42349
42350 #
42351 # THREE ARGUMENTS
42352 # (e.g. AIX, HP-UX, Tru64)
42353 #
42354
42355 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42356
42357 cat >conftest.$ac_ext <<_ACEOF
42358 /* confdefs.h. */
42359 _ACEOF
42360 cat confdefs.h >>conftest.$ac_ext
42361 cat >>conftest.$ac_ext <<_ACEOF
42362 /* end confdefs.h. */
42363 #include <netdb.h>
42364 int
42365 main ()
42366 {
42367
42368 char *name = "www.gnu.org";
42369 struct hostent ret;
42370 struct hostent_data data;
42371 (void)gethostbyname_r(name, &ret, &data) /* ; */
42372
42373 ;
42374 return 0;
42375 }
42376 _ACEOF
42377 rm -f conftest.$ac_objext
42378 if { (ac_try="$ac_compile"
42379 case "(($ac_try" in
42380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42381 *) ac_try_echo=$ac_try;;
42382 esac
42383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42384 (eval "$ac_compile") 2>conftest.er1
42385 ac_status=$?
42386 grep -v '^ *+' conftest.er1 >conftest.err
42387 rm -f conftest.er1
42388 cat conftest.err >&5
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); } && {
42391 test -z "$ac_c_werror_flag" ||
42392 test ! -s conftest.err
42393 } && test -s conftest.$ac_objext; then
42394 ac_cv_func_which_gethostbyname_r=three
42395 else
42396 echo "$as_me: failed program was:" >&5
42397 sed 's/^/| /' conftest.$ac_ext >&5
42398
42399
42400 fi
42401
42402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42403
42404 fi
42405
42406 ################################################################
42407
42408
42409 fi
42410
42411 case "$ac_cv_func_which_gethostbyname_r" in
42412 three)
42413 { echo "$as_me:$LINENO: result: three" >&5
42414 echo "${ECHO_T}three" >&6; }
42415 cat >>confdefs.h <<\_ACEOF
42416 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42417 _ACEOF
42418
42419 ;;
42420
42421 five)
42422 { echo "$as_me:$LINENO: result: five" >&5
42423 echo "${ECHO_T}five" >&6; }
42424 cat >>confdefs.h <<\_ACEOF
42425 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42426 _ACEOF
42427
42428 ;;
42429
42430 six)
42431 { echo "$as_me:$LINENO: result: six" >&5
42432 echo "${ECHO_T}six" >&6; }
42433 cat >>confdefs.h <<\_ACEOF
42434 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42435 _ACEOF
42436
42437 ;;
42438
42439 no)
42440 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42441 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42442 ;;
42443
42444 unknown)
42445 { echo "$as_me:$LINENO: result: can't tell" >&5
42446 echo "${ECHO_T}can't tell" >&6; }
42447 ;;
42448
42449 *)
42450 { { echo "$as_me:$LINENO: error: internal error" >&5
42451 echo "$as_me: error: internal error" >&2;}
42452 { (exit 1); exit 1; }; }
42453 ;;
42454 esac
42455
42456 ac_ext=c
42457 ac_cpp='$CPP $CPPFLAGS'
42458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42461
42462
42463
42464 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42465 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42466 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42467 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42468 if test "${ac_cv_func_gethostbyname+set}" = set; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42470 else
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42479 #define gethostbyname innocuous_gethostbyname
42480
42481 /* System header to define __stub macros and hopefully few prototypes,
42482 which can conflict with char gethostbyname (); below.
42483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42484 <limits.h> exists even on freestanding compilers. */
42485
42486 #ifdef __STDC__
42487 # include <limits.h>
42488 #else
42489 # include <assert.h>
42490 #endif
42491
42492 #undef gethostbyname
42493
42494 /* Override any GCC internal prototype to avoid an error.
42495 Use char because int might match the return type of a GCC
42496 builtin and then its argument prototype would still apply. */
42497 #ifdef __cplusplus
42498 extern "C"
42499 #endif
42500 char gethostbyname ();
42501 /* The GNU C library defines this for functions which it implements
42502 to always fail with ENOSYS. Some functions are actually named
42503 something starting with __ and the normal name is an alias. */
42504 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42505 choke me
42506 #endif
42507
42508 int
42509 main ()
42510 {
42511 return gethostbyname ();
42512 ;
42513 return 0;
42514 }
42515 _ACEOF
42516 rm -f conftest.$ac_objext conftest$ac_exeext
42517 if { (ac_try="$ac_link"
42518 case "(($ac_try" in
42519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42520 *) ac_try_echo=$ac_try;;
42521 esac
42522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42523 (eval "$ac_link") 2>conftest.er1
42524 ac_status=$?
42525 grep -v '^ *+' conftest.er1 >conftest.err
42526 rm -f conftest.er1
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } && {
42530 test -z "$ac_c_werror_flag" ||
42531 test ! -s conftest.err
42532 } && test -s conftest$ac_exeext &&
42533 $as_test_x conftest$ac_exeext; then
42534 ac_cv_func_gethostbyname=yes
42535 else
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42538
42539 ac_cv_func_gethostbyname=no
42540 fi
42541
42542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42543 conftest$ac_exeext conftest.$ac_ext
42544 fi
42545 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42546 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42547 if test $ac_cv_func_gethostbyname = yes; then
42548 cat >>confdefs.h <<\_ACEOF
42549 #define HAVE_GETHOSTBYNAME 1
42550 _ACEOF
42551
42552 fi
42553
42554 fi
42555
42556 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42557 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42558 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42560 else
42561
42562 ac_ext=cpp
42563 ac_cpp='$CXXCPP $CPPFLAGS'
42564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42567
42568
42569 cat >conftest.$ac_ext <<_ACEOF
42570 /* confdefs.h. */
42571 _ACEOF
42572 cat confdefs.h >>conftest.$ac_ext
42573 cat >>conftest.$ac_ext <<_ACEOF
42574 /* end confdefs.h. */
42575 #include <netdb.h>
42576 int
42577 main ()
42578 {
42579
42580 char *name;
42581 char *proto;
42582 struct servent *se, *res;
42583 char buffer[2048];
42584 int buflen = 2048;
42585 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42586
42587 ;
42588 return 0;
42589 }
42590 _ACEOF
42591 rm -f conftest.$ac_objext
42592 if { (ac_try="$ac_compile"
42593 case "(($ac_try" in
42594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42595 *) ac_try_echo=$ac_try;;
42596 esac
42597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42598 (eval "$ac_compile") 2>conftest.er1
42599 ac_status=$?
42600 grep -v '^ *+' conftest.er1 >conftest.err
42601 rm -f conftest.er1
42602 cat conftest.err >&5
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); } && {
42605 test -z "$ac_cxx_werror_flag" ||
42606 test ! -s conftest.err
42607 } && test -s conftest.$ac_objext; then
42608 ac_cv_func_which_getservbyname_r=six
42609 else
42610 echo "$as_me: failed program was:" >&5
42611 sed 's/^/| /' conftest.$ac_ext >&5
42612
42613
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 #include <netdb.h>
42621 int
42622 main ()
42623 {
42624
42625 char *name;
42626 char *proto;
42627 struct servent *se;
42628 char buffer[2048];
42629 int buflen = 2048;
42630 (void) getservbyname_r(name, proto, se, buffer, buflen)
42631
42632 ;
42633 return 0;
42634 }
42635 _ACEOF
42636 rm -f conftest.$ac_objext
42637 if { (ac_try="$ac_compile"
42638 case "(($ac_try" in
42639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42640 *) ac_try_echo=$ac_try;;
42641 esac
42642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42643 (eval "$ac_compile") 2>conftest.er1
42644 ac_status=$?
42645 grep -v '^ *+' conftest.er1 >conftest.err
42646 rm -f conftest.er1
42647 cat conftest.err >&5
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_cxx_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest.$ac_objext; then
42653 ac_cv_func_which_getservbyname_r=five
42654 else
42655 echo "$as_me: failed program was:" >&5
42656 sed 's/^/| /' conftest.$ac_ext >&5
42657
42658
42659 cat >conftest.$ac_ext <<_ACEOF
42660 /* confdefs.h. */
42661 _ACEOF
42662 cat confdefs.h >>conftest.$ac_ext
42663 cat >>conftest.$ac_ext <<_ACEOF
42664 /* end confdefs.h. */
42665 #include <netdb.h>
42666 int
42667 main ()
42668 {
42669
42670 char *name;
42671 char *proto;
42672 struct servent *se;
42673 struct servent_data data;
42674 (void) getservbyname_r(name, proto, se, &data);
42675
42676 ;
42677 return 0;
42678 }
42679 _ACEOF
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42685 esac
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42688 ac_status=$?
42689 grep -v '^ *+' conftest.er1 >conftest.err
42690 rm -f conftest.er1
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } && {
42694 test -z "$ac_cxx_werror_flag" ||
42695 test ! -s conftest.err
42696 } && test -s conftest.$ac_objext; then
42697 ac_cv_func_which_getservbyname_r=four
42698 else
42699 echo "$as_me: failed program was:" >&5
42700 sed 's/^/| /' conftest.$ac_ext >&5
42701
42702 ac_cv_func_which_getservbyname_r=no
42703
42704 fi
42705
42706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42707
42708
42709 fi
42710
42711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42712
42713
42714 fi
42715
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724
42725 fi
42726 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42727 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42728
42729 if test $ac_cv_func_which_getservbyname_r = six; then
42730 cat >>confdefs.h <<\_ACEOF
42731 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42732 _ACEOF
42733
42734 elif test $ac_cv_func_which_getservbyname_r = five; then
42735 cat >>confdefs.h <<\_ACEOF
42736 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42737 _ACEOF
42738
42739 elif test $ac_cv_func_which_getservbyname_r = four; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42742 _ACEOF
42743
42744 fi
42745
42746
42747 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42748 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42749
42750 for ac_func in getservbyname
42751 do
42752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42753 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42755 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42756 echo $ECHO_N "(cached) $ECHO_C" >&6
42757 else
42758 cat >conftest.$ac_ext <<_ACEOF
42759 /* confdefs.h. */
42760 _ACEOF
42761 cat confdefs.h >>conftest.$ac_ext
42762 cat >>conftest.$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42766 #define $ac_func innocuous_$ac_func
42767
42768 /* System header to define __stub macros and hopefully few prototypes,
42769 which can conflict with char $ac_func (); below.
42770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42771 <limits.h> exists even on freestanding compilers. */
42772
42773 #ifdef __STDC__
42774 # include <limits.h>
42775 #else
42776 # include <assert.h>
42777 #endif
42778
42779 #undef $ac_func
42780
42781 /* Override any GCC internal prototype to avoid an error.
42782 Use char because int might match the return type of a GCC
42783 builtin and then its argument prototype would still apply. */
42784 #ifdef __cplusplus
42785 extern "C"
42786 #endif
42787 char $ac_func ();
42788 /* The GNU C library defines this for functions which it implements
42789 to always fail with ENOSYS. Some functions are actually named
42790 something starting with __ and the normal name is an alias. */
42791 #if defined __stub_$ac_func || defined __stub___$ac_func
42792 choke me
42793 #endif
42794
42795 int
42796 main ()
42797 {
42798 return $ac_func ();
42799 ;
42800 return 0;
42801 }
42802 _ACEOF
42803 rm -f conftest.$ac_objext conftest$ac_exeext
42804 if { (ac_try="$ac_link"
42805 case "(($ac_try" in
42806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42807 *) ac_try_echo=$ac_try;;
42808 esac
42809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42810 (eval "$ac_link") 2>conftest.er1
42811 ac_status=$?
42812 grep -v '^ *+' conftest.er1 >conftest.err
42813 rm -f conftest.er1
42814 cat conftest.err >&5
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); } && {
42817 test -z "$ac_c_werror_flag" ||
42818 test ! -s conftest.err
42819 } && test -s conftest$ac_exeext &&
42820 $as_test_x conftest$ac_exeext; then
42821 eval "$as_ac_var=yes"
42822 else
42823 echo "$as_me: failed program was:" >&5
42824 sed 's/^/| /' conftest.$ac_ext >&5
42825
42826 eval "$as_ac_var=no"
42827 fi
42828
42829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42830 conftest$ac_exeext conftest.$ac_ext
42831 fi
42832 ac_res=`eval echo '${'$as_ac_var'}'`
42833 { echo "$as_me:$LINENO: result: $ac_res" >&5
42834 echo "${ECHO_T}$ac_res" >&6; }
42835 if test `eval echo '${'$as_ac_var'}'` = yes; then
42836 cat >>confdefs.h <<_ACEOF
42837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42838 _ACEOF
42839 cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_GETSERVBYNAME 1
42841 _ACEOF
42842
42843 fi
42844 done
42845
42846 fi
42847
42848 if test "$wxUSE_THREADS" = "yes"; then
42849 cat >>confdefs.h <<\_ACEOF
42850 #define wxUSE_THREADS 1
42851 _ACEOF
42852
42853
42854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42855 else
42856 if test "$wx_cv_func_strtok_r" = "yes"; then
42857 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42858 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42859 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42860 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42861 { echo "$as_me:$LINENO: result: yes" >&5
42862 echo "${ECHO_T}yes" >&6; }
42863 else
42864 { echo "$as_me:$LINENO: result: no" >&5
42865 echo "${ECHO_T}no" >&6; }
42866 fi
42867 fi
42868 fi
42869
42870 if test "$WXGTK2" = 1 ; then
42871 cat >>confdefs.h <<_ACEOF
42872 #define __WXGTK20__ $WXGTK2
42873 _ACEOF
42874
42875 WXGTK12=1
42876 fi
42877
42878 if test "$WXGTK12" = 1 ; then
42879 cat >>confdefs.h <<_ACEOF
42880 #define __WXGTK12__ $WXGTK12
42881 _ACEOF
42882
42883 fi
42884
42885 if test "$WXGTK127" = 1 ; then
42886 cat >>confdefs.h <<_ACEOF
42887 #define __WXGTK127__ $WXGTK127
42888 _ACEOF
42889
42890 fi
42891
42892 if test "$WXGPE" = 1 ; then
42893 cat >>confdefs.h <<_ACEOF
42894 #define __WXGPE__ $WXGPE
42895 _ACEOF
42896
42897 fi
42898
42899 DEBUG_CFLAGS=
42900 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42901 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42902 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42903 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42904 DEBUG_CFLAGS="-g"
42905 fi
42906
42907 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42908 wxUSE_DEBUG_INFO=yes
42909 if test "$GCC" = yes; then
42910 DEBUG_CFLAGS="-ggdb"
42911 fi
42912 fi
42913
42914 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42915 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42916
42917 if test "$wxUSE_GTK" = 1 ; then
42918 if test "x$wxGTK_VERSION" = "x1" ; then
42919 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42920 fi
42921 fi
42922 fi
42923
42924 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42925 cat >>confdefs.h <<\_ACEOF
42926 #define wxUSE_MEMORY_TRACING 1
42927 _ACEOF
42928
42929 cat >>confdefs.h <<\_ACEOF
42930 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42931 _ACEOF
42932
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_DEBUG_NEW_ALWAYS 1
42935 _ACEOF
42936
42937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42938 fi
42939
42940 if test "$wxUSE_DMALLOC" = "yes" ; then
42941 DMALLOC_LIBS="-ldmallocthcxx"
42942 fi
42943
42944 PROFILE_FLAGS=
42945 if test "$wxUSE_PROFILE" = "yes" ; then
42946 PROFILE_FLAGS=" -pg"
42947 fi
42948
42949 if test "$GCC" = "yes" ; then
42950 if test "$wxUSE_NO_RTTI" = "yes" ; then
42951 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42952 fi
42953 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42954 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42955 fi
42956 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42957 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42958 fi
42959
42960 case "${host}" in
42961 powerpc*-*-aix* )
42962 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42963 ;;
42964 *-hppa* )
42965 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42966 ;;
42967 esac
42968 fi
42969
42970 OPTIMISE_CFLAGS=
42971 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42972 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42973 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42974 else
42975 if test "$wxUSE_OPTIMISE" = "no" ; then
42976 if test "$GCC" = yes ; then
42977 OPTIMISE_CFLAGS="-O0"
42978 fi
42979 else
42980 if test "$GCC" = yes ; then
42981 case "${host}" in
42982 *-pc-os2_emx | *-pc-os2-emx )
42983 OPTIMISE_CFLAGS="-O2"
42984 ;;
42985 *)
42986 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42987 ;;
42988 esac
42989 else
42990 OPTIMISE_CFLAGS="-O"
42991 fi
42992 fi
42993 fi
42994
42995
42996 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WXWIN_COMPATIBILITY_2_6 1
42999 _ACEOF
43000
43001
43002 WXWIN_COMPATIBILITY_2_8="yes"
43003 fi
43004
43005 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43006 cat >>confdefs.h <<\_ACEOF
43007 #define WXWIN_COMPATIBILITY_2_8 1
43008 _ACEOF
43009
43010 fi
43011
43012
43013 if test "$wxUSE_GUI" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_GUI 1
43016 _ACEOF
43017
43018
43019 fi
43020
43021
43022 if test "$wxUSE_UNIX" = "yes"; then
43023 cat >>confdefs.h <<\_ACEOF
43024 #define wxUSE_UNIX 1
43025 _ACEOF
43026
43027 fi
43028
43029
43030 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43031
43032 HAVE_DL_FUNCS=0
43033 HAVE_SHL_FUNCS=0
43034 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43035 if test "$USE_DOS" = 1; then
43036 HAVE_DL_FUNCS=0
43037 else
43038
43039 for ac_func in dlopen
43040 do
43041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43046 else
43047 cat >conftest.$ac_ext <<_ACEOF
43048 /* confdefs.h. */
43049 _ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43055 #define $ac_func innocuous_$ac_func
43056
43057 /* System header to define __stub macros and hopefully few prototypes,
43058 which can conflict with char $ac_func (); below.
43059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43060 <limits.h> exists even on freestanding compilers. */
43061
43062 #ifdef __STDC__
43063 # include <limits.h>
43064 #else
43065 # include <assert.h>
43066 #endif
43067
43068 #undef $ac_func
43069
43070 /* Override any GCC internal prototype to avoid an error.
43071 Use char because int might match the return type of a GCC
43072 builtin and then its argument prototype would still apply. */
43073 #ifdef __cplusplus
43074 extern "C"
43075 #endif
43076 char $ac_func ();
43077 /* The GNU C library defines this for functions which it implements
43078 to always fail with ENOSYS. Some functions are actually named
43079 something starting with __ and the normal name is an alias. */
43080 #if defined __stub_$ac_func || defined __stub___$ac_func
43081 choke me
43082 #endif
43083
43084 int
43085 main ()
43086 {
43087 return $ac_func ();
43088 ;
43089 return 0;
43090 }
43091 _ACEOF
43092 rm -f conftest.$ac_objext conftest$ac_exeext
43093 if { (ac_try="$ac_link"
43094 case "(($ac_try" in
43095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43096 *) ac_try_echo=$ac_try;;
43097 esac
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_link") 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest$ac_exeext &&
43109 $as_test_x conftest$ac_exeext; then
43110 eval "$as_ac_var=yes"
43111 else
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.$ac_ext >&5
43114
43115 eval "$as_ac_var=no"
43116 fi
43117
43118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43119 conftest$ac_exeext conftest.$ac_ext
43120 fi
43121 ac_res=`eval echo '${'$as_ac_var'}'`
43122 { echo "$as_me:$LINENO: result: $ac_res" >&5
43123 echo "${ECHO_T}$ac_res" >&6; }
43124 if test `eval echo '${'$as_ac_var'}'` = yes; then
43125 cat >>confdefs.h <<_ACEOF
43126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43127 _ACEOF
43128
43129 cat >>confdefs.h <<\_ACEOF
43130 #define HAVE_DLOPEN 1
43131 _ACEOF
43132
43133 HAVE_DL_FUNCS=1
43134
43135 else
43136
43137 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43138 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43139 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43141 else
43142 ac_check_lib_save_LIBS=$LIBS
43143 LIBS="-ldl $LIBS"
43144 cat >conftest.$ac_ext <<_ACEOF
43145 /* confdefs.h. */
43146 _ACEOF
43147 cat confdefs.h >>conftest.$ac_ext
43148 cat >>conftest.$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43150
43151 /* Override any GCC internal prototype to avoid an error.
43152 Use char because int might match the return type of a GCC
43153 builtin and then its argument prototype would still apply. */
43154 #ifdef __cplusplus
43155 extern "C"
43156 #endif
43157 char dlopen ();
43158 int
43159 main ()
43160 {
43161 return dlopen ();
43162 ;
43163 return 0;
43164 }
43165 _ACEOF
43166 rm -f conftest.$ac_objext conftest$ac_exeext
43167 if { (ac_try="$ac_link"
43168 case "(($ac_try" in
43169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43170 *) ac_try_echo=$ac_try;;
43171 esac
43172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43173 (eval "$ac_link") 2>conftest.er1
43174 ac_status=$?
43175 grep -v '^ *+' conftest.er1 >conftest.err
43176 rm -f conftest.er1
43177 cat conftest.err >&5
43178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43179 (exit $ac_status); } && {
43180 test -z "$ac_c_werror_flag" ||
43181 test ! -s conftest.err
43182 } && test -s conftest$ac_exeext &&
43183 $as_test_x conftest$ac_exeext; then
43184 ac_cv_lib_dl_dlopen=yes
43185 else
43186 echo "$as_me: failed program was:" >&5
43187 sed 's/^/| /' conftest.$ac_ext >&5
43188
43189 ac_cv_lib_dl_dlopen=no
43190 fi
43191
43192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43193 conftest$ac_exeext conftest.$ac_ext
43194 LIBS=$ac_check_lib_save_LIBS
43195 fi
43196 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43197 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43198 if test $ac_cv_lib_dl_dlopen = yes; then
43199
43200 cat >>confdefs.h <<\_ACEOF
43201 #define HAVE_DLOPEN 1
43202 _ACEOF
43203
43204 HAVE_DL_FUNCS=1
43205 DL_LINK=" -ldl$DL_LINK"
43206
43207 else
43208
43209
43210 for ac_func in shl_load
43211 do
43212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43217 else
43218 cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h. */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43226 #define $ac_func innocuous_$ac_func
43227
43228 /* System header to define __stub macros and hopefully few prototypes,
43229 which can conflict with char $ac_func (); below.
43230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43231 <limits.h> exists even on freestanding compilers. */
43232
43233 #ifdef __STDC__
43234 # include <limits.h>
43235 #else
43236 # include <assert.h>
43237 #endif
43238
43239 #undef $ac_func
43240
43241 /* Override any GCC internal prototype to avoid an error.
43242 Use char because int might match the return type of a GCC
43243 builtin and then its argument prototype would still apply. */
43244 #ifdef __cplusplus
43245 extern "C"
43246 #endif
43247 char $ac_func ();
43248 /* The GNU C library defines this for functions which it implements
43249 to always fail with ENOSYS. Some functions are actually named
43250 something starting with __ and the normal name is an alias. */
43251 #if defined __stub_$ac_func || defined __stub___$ac_func
43252 choke me
43253 #endif
43254
43255 int
43256 main ()
43257 {
43258 return $ac_func ();
43259 ;
43260 return 0;
43261 }
43262 _ACEOF
43263 rm -f conftest.$ac_objext conftest$ac_exeext
43264 if { (ac_try="$ac_link"
43265 case "(($ac_try" in
43266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43267 *) ac_try_echo=$ac_try;;
43268 esac
43269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43270 (eval "$ac_link") 2>conftest.er1
43271 ac_status=$?
43272 grep -v '^ *+' conftest.er1 >conftest.err
43273 rm -f conftest.er1
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } && {
43277 test -z "$ac_c_werror_flag" ||
43278 test ! -s conftest.err
43279 } && test -s conftest$ac_exeext &&
43280 $as_test_x conftest$ac_exeext; then
43281 eval "$as_ac_var=yes"
43282 else
43283 echo "$as_me: failed program was:" >&5
43284 sed 's/^/| /' conftest.$ac_ext >&5
43285
43286 eval "$as_ac_var=no"
43287 fi
43288
43289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43290 conftest$ac_exeext conftest.$ac_ext
43291 fi
43292 ac_res=`eval echo '${'$as_ac_var'}'`
43293 { echo "$as_me:$LINENO: result: $ac_res" >&5
43294 echo "${ECHO_T}$ac_res" >&6; }
43295 if test `eval echo '${'$as_ac_var'}'` = yes; then
43296 cat >>confdefs.h <<_ACEOF
43297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43298 _ACEOF
43299
43300 cat >>confdefs.h <<\_ACEOF
43301 #define HAVE_SHL_LOAD 1
43302 _ACEOF
43303
43304 HAVE_SHL_FUNCS=1
43305
43306 else
43307
43308 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43309 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43310 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43311 echo $ECHO_N "(cached) $ECHO_C" >&6
43312 else
43313 ac_check_lib_save_LIBS=$LIBS
43314 LIBS="-lshl_load $LIBS"
43315 cat >conftest.$ac_ext <<_ACEOF
43316 /* confdefs.h. */
43317 _ACEOF
43318 cat confdefs.h >>conftest.$ac_ext
43319 cat >>conftest.$ac_ext <<_ACEOF
43320 /* end confdefs.h. */
43321
43322 /* Override any GCC internal prototype to avoid an error.
43323 Use char because int might match the return type of a GCC
43324 builtin and then its argument prototype would still apply. */
43325 #ifdef __cplusplus
43326 extern "C"
43327 #endif
43328 char dld ();
43329 int
43330 main ()
43331 {
43332 return dld ();
43333 ;
43334 return 0;
43335 }
43336 _ACEOF
43337 rm -f conftest.$ac_objext 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>conftest.er1
43345 ac_status=$?
43346 grep -v '^ *+' conftest.er1 >conftest.err
43347 rm -f conftest.er1
43348 cat conftest.err >&5
43349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43350 (exit $ac_status); } && {
43351 test -z "$ac_c_werror_flag" ||
43352 test ! -s conftest.err
43353 } && test -s conftest$ac_exeext &&
43354 $as_test_x conftest$ac_exeext; then
43355 ac_cv_lib_shl_load_dld=yes
43356 else
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.$ac_ext >&5
43359
43360 ac_cv_lib_shl_load_dld=no
43361 fi
43362
43363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43364 conftest$ac_exeext conftest.$ac_ext
43365 LIBS=$ac_check_lib_save_LIBS
43366 fi
43367 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43368 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43369 if test $ac_cv_lib_shl_load_dld = yes; then
43370
43371 HAVE_SHL_FUNCS=1
43372 DL_LINK=" -ldld$DL_LINK"
43373
43374 fi
43375
43376
43377 fi
43378 done
43379
43380
43381 fi
43382
43383
43384 fi
43385 done
43386
43387
43388 if test "$HAVE_DL_FUNCS" = 1; then
43389
43390 for ac_func in dlerror
43391 do
43392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43396 echo $ECHO_N "(cached) $ECHO_C" >&6
43397 else
43398 cat >conftest.$ac_ext <<_ACEOF
43399 /* confdefs.h. */
43400 _ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43406 #define $ac_func innocuous_$ac_func
43407
43408 /* System header to define __stub macros and hopefully few prototypes,
43409 which can conflict with char $ac_func (); below.
43410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43411 <limits.h> exists even on freestanding compilers. */
43412
43413 #ifdef __STDC__
43414 # include <limits.h>
43415 #else
43416 # include <assert.h>
43417 #endif
43418
43419 #undef $ac_func
43420
43421 /* Override any GCC internal prototype to avoid an error.
43422 Use char because int might match the return type of a GCC
43423 builtin and then its argument prototype would still apply. */
43424 #ifdef __cplusplus
43425 extern "C"
43426 #endif
43427 char $ac_func ();
43428 /* The GNU C library defines this for functions which it implements
43429 to always fail with ENOSYS. Some functions are actually named
43430 something starting with __ and the normal name is an alias. */
43431 #if defined __stub_$ac_func || defined __stub___$ac_func
43432 choke me
43433 #endif
43434
43435 int
43436 main ()
43437 {
43438 return $ac_func ();
43439 ;
43440 return 0;
43441 }
43442 _ACEOF
43443 rm -f conftest.$ac_objext conftest$ac_exeext
43444 if { (ac_try="$ac_link"
43445 case "(($ac_try" in
43446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43447 *) ac_try_echo=$ac_try;;
43448 esac
43449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43450 (eval "$ac_link") 2>conftest.er1
43451 ac_status=$?
43452 grep -v '^ *+' conftest.er1 >conftest.err
43453 rm -f conftest.er1
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } && {
43457 test -z "$ac_c_werror_flag" ||
43458 test ! -s conftest.err
43459 } && test -s conftest$ac_exeext &&
43460 $as_test_x conftest$ac_exeext; then
43461 eval "$as_ac_var=yes"
43462 else
43463 echo "$as_me: failed program was:" >&5
43464 sed 's/^/| /' conftest.$ac_ext >&5
43465
43466 eval "$as_ac_var=no"
43467 fi
43468
43469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43470 conftest$ac_exeext conftest.$ac_ext
43471 fi
43472 ac_res=`eval echo '${'$as_ac_var'}'`
43473 { echo "$as_me:$LINENO: result: $ac_res" >&5
43474 echo "${ECHO_T}$ac_res" >&6; }
43475 if test `eval echo '${'$as_ac_var'}'` = yes; then
43476 cat >>confdefs.h <<_ACEOF
43477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43478 _ACEOF
43479 cat >>confdefs.h <<\_ACEOF
43480 #define HAVE_DLERROR 1
43481 _ACEOF
43482
43483 else
43484
43485 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43486 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43487 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43488 echo $ECHO_N "(cached) $ECHO_C" >&6
43489 else
43490 ac_check_lib_save_LIBS=$LIBS
43491 LIBS="-ldl $LIBS"
43492 cat >conftest.$ac_ext <<_ACEOF
43493 /* confdefs.h. */
43494 _ACEOF
43495 cat confdefs.h >>conftest.$ac_ext
43496 cat >>conftest.$ac_ext <<_ACEOF
43497 /* end confdefs.h. */
43498
43499 /* Override any GCC internal prototype to avoid an error.
43500 Use char because int might match the return type of a GCC
43501 builtin and then its argument prototype would still apply. */
43502 #ifdef __cplusplus
43503 extern "C"
43504 #endif
43505 char dlerror ();
43506 int
43507 main ()
43508 {
43509 return dlerror ();
43510 ;
43511 return 0;
43512 }
43513 _ACEOF
43514 rm -f conftest.$ac_objext conftest$ac_exeext
43515 if { (ac_try="$ac_link"
43516 case "(($ac_try" in
43517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43519 esac
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_link") 2>conftest.er1
43522 ac_status=$?
43523 grep -v '^ *+' conftest.er1 >conftest.err
43524 rm -f conftest.er1
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest$ac_exeext &&
43531 $as_test_x conftest$ac_exeext; then
43532 ac_cv_lib_dl_dlerror=yes
43533 else
43534 echo "$as_me: failed program was:" >&5
43535 sed 's/^/| /' conftest.$ac_ext >&5
43536
43537 ac_cv_lib_dl_dlerror=no
43538 fi
43539
43540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43541 conftest$ac_exeext conftest.$ac_ext
43542 LIBS=$ac_check_lib_save_LIBS
43543 fi
43544 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43545 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43546 if test $ac_cv_lib_dl_dlerror = yes; then
43547 cat >>confdefs.h <<\_ACEOF
43548 #define HAVE_DLERROR 1
43549 _ACEOF
43550
43551 fi
43552
43553
43554
43555 fi
43556 done
43557
43558 fi
43559 fi
43560
43561 if test "$USE_DARWIN" = 1; then
43562 HAVE_DL_FUNCS=1
43563 fi
43564
43565 if test "$HAVE_DL_FUNCS" = 0; then
43566 if test "$HAVE_SHL_FUNCS" = 0; then
43567 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43568 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43569 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43570 wxUSE_DYNAMIC_LOADER=no
43571 wxUSE_DYNLIB_CLASS=no
43572 else
43573 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43574 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43575 fi
43576 fi
43577 fi
43578 fi
43579 fi
43580
43581 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43582 cat >>confdefs.h <<\_ACEOF
43583 #define wxUSE_DYNAMIC_LOADER 1
43584 _ACEOF
43585
43586 fi
43587 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_DYNLIB_CLASS 1
43590 _ACEOF
43591
43592 fi
43593
43594
43595
43596 if test "$wxUSE_PLUGINS" = "yes" ; then
43597 if test "$wxUSE_SHARED" = "no" ; then
43598 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43599 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43600 wxUSE_PLUGINS=no
43601 fi
43602 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43603 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43604 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43605 wxUSE_PLUGINS=no
43606 fi
43607 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43608 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43609 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43610 wxUSE_PLUGINS=no
43611 fi
43612 if test "$wxUSE_PLUGINS" = "yes" ; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_PLUGINS 1
43615 _ACEOF
43616
43617 fi
43618 fi
43619
43620
43621 if test "$wxUSE_FSWATCHER" = "yes"; then
43622 if test "$wxUSE_MSW" != "1"; then
43623 if test "$wxUSE_UNIX" = "yes"; then
43624
43625 for ac_header in sys/inotify.h
43626 do
43627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 else
43633 cat >conftest.$ac_ext <<_ACEOF
43634 /* confdefs.h. */
43635 _ACEOF
43636 cat confdefs.h >>conftest.$ac_ext
43637 cat >>conftest.$ac_ext <<_ACEOF
43638 /* end confdefs.h. */
43639 $ac_includes_default
43640
43641 #include <$ac_header>
43642 _ACEOF
43643 rm -f conftest.$ac_objext
43644 if { (ac_try="$ac_compile"
43645 case "(($ac_try" in
43646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43647 *) ac_try_echo=$ac_try;;
43648 esac
43649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43650 (eval "$ac_compile") 2>conftest.er1
43651 ac_status=$?
43652 grep -v '^ *+' conftest.er1 >conftest.err
43653 rm -f conftest.er1
43654 cat conftest.err >&5
43655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656 (exit $ac_status); } && {
43657 test -z "$ac_c_werror_flag" ||
43658 test ! -s conftest.err
43659 } && test -s conftest.$ac_objext; then
43660 eval "$as_ac_Header=yes"
43661 else
43662 echo "$as_me: failed program was:" >&5
43663 sed 's/^/| /' conftest.$ac_ext >&5
43664
43665 eval "$as_ac_Header=no"
43666 fi
43667
43668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43669 fi
43670 ac_res=`eval echo '${'$as_ac_Header'}'`
43671 { echo "$as_me:$LINENO: result: $ac_res" >&5
43672 echo "${ECHO_T}$ac_res" >&6; }
43673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43674 cat >>confdefs.h <<_ACEOF
43675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43676 _ACEOF
43677
43678 fi
43679
43680 done
43681
43682 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43683 cat >>confdefs.h <<\_ACEOF
43684 #define wxHAS_INOTIFY 1
43685 _ACEOF
43686
43687 else
43688
43689 for ac_header in sys/event.h
43690 do
43691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43695 echo $ECHO_N "(cached) $ECHO_C" >&6
43696 else
43697 cat >conftest.$ac_ext <<_ACEOF
43698 /* confdefs.h. */
43699 _ACEOF
43700 cat confdefs.h >>conftest.$ac_ext
43701 cat >>conftest.$ac_ext <<_ACEOF
43702 /* end confdefs.h. */
43703 $ac_includes_default
43704
43705 #include <$ac_header>
43706 _ACEOF
43707 rm -f conftest.$ac_objext
43708 if { (ac_try="$ac_compile"
43709 case "(($ac_try" in
43710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43711 *) ac_try_echo=$ac_try;;
43712 esac
43713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43714 (eval "$ac_compile") 2>conftest.er1
43715 ac_status=$?
43716 grep -v '^ *+' conftest.er1 >conftest.err
43717 rm -f conftest.er1
43718 cat conftest.err >&5
43719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43720 (exit $ac_status); } && {
43721 test -z "$ac_c_werror_flag" ||
43722 test ! -s conftest.err
43723 } && test -s conftest.$ac_objext; then
43724 eval "$as_ac_Header=yes"
43725 else
43726 echo "$as_me: failed program was:" >&5
43727 sed 's/^/| /' conftest.$ac_ext >&5
43728
43729 eval "$as_ac_Header=no"
43730 fi
43731
43732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43733 fi
43734 ac_res=`eval echo '${'$as_ac_Header'}'`
43735 { echo "$as_me:$LINENO: result: $ac_res" >&5
43736 echo "${ECHO_T}$ac_res" >&6; }
43737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43738 cat >>confdefs.h <<_ACEOF
43739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43740 _ACEOF
43741
43742 fi
43743
43744 done
43745
43746 if test "$ac_cv_header_sys_event_h" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxHAS_KQUEUE 1
43749 _ACEOF
43750
43751 else
43752 wxUSE_FSWATCHER=no
43753 fi
43754 fi
43755 else
43756 wxUSE_FSWATCHER=no
43757 fi
43758 else
43759 if test "$wxUSE_THREADS" != "yes"; then
43760 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43761 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43762 wxUSE_FSWATCHER=no
43763 fi
43764 fi
43765
43766 if test "$wxUSE_FSWATCHER" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_FSWATCHER 1
43769 _ACEOF
43770
43771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43772 else
43773 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43774 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43775 fi
43776 fi
43777
43778
43779 if test "$wxUSE_STL" = "yes"; then
43780 cat >>confdefs.h <<\_ACEOF
43781 #define wxUSE_STL 1
43782 _ACEOF
43783
43784 fi
43785
43786 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_EXTENDED_RTTI 1
43789 _ACEOF
43790
43791 fi
43792
43793 if test "$wxUSE_ANY" = "yes"; then
43794 cat >>confdefs.h <<\_ACEOF
43795 #define wxUSE_ANY 1
43796 _ACEOF
43797
43798 fi
43799
43800 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define wxUSE_APPLE_IEEE 1
43803 _ACEOF
43804
43805 fi
43806
43807 if test "$wxUSE_TIMER" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_TIMER 1
43810 _ACEOF
43811
43812 fi
43813
43814 if test "$USE_UNIX" = 1 ; then
43815 if test "$wxUSE_MGL" != 1; then
43816 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43817 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43818 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43819 echo $ECHO_N "(cached) $ECHO_C" >&6
43820 else
43821
43822 cat >conftest.$ac_ext <<_ACEOF
43823 /* confdefs.h. */
43824 _ACEOF
43825 cat confdefs.h >>conftest.$ac_ext
43826 cat >>conftest.$ac_ext <<_ACEOF
43827 /* end confdefs.h. */
43828
43829 #include <sys/ioctl.h>
43830 #include <sys/soundcard.h>
43831
43832 int
43833 main ()
43834 {
43835
43836 ioctl(0, SNDCTL_DSP_SPEED, 0);
43837
43838 ;
43839 return 0;
43840 }
43841 _ACEOF
43842 rm -f conftest.$ac_objext conftest$ac_exeext
43843 if { (ac_try="$ac_link"
43844 case "(($ac_try" in
43845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43846 *) ac_try_echo=$ac_try;;
43847 esac
43848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43849 (eval "$ac_link") 2>conftest.er1
43850 ac_status=$?
43851 grep -v '^ *+' conftest.er1 >conftest.err
43852 rm -f conftest.er1
43853 cat conftest.err >&5
43854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43855 (exit $ac_status); } && {
43856 test -z "$ac_c_werror_flag" ||
43857 test ! -s conftest.err
43858 } && test -s conftest$ac_exeext &&
43859 $as_test_x conftest$ac_exeext; then
43860 ac_cv_header_sys_soundcard=yes
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865
43866 saveLibs="$LIBS"
43867 LIBS="$saveLibs -lossaudio"
43868 cat >conftest.$ac_ext <<_ACEOF
43869 /* confdefs.h. */
43870 _ACEOF
43871 cat confdefs.h >>conftest.$ac_ext
43872 cat >>conftest.$ac_ext <<_ACEOF
43873 /* end confdefs.h. */
43874
43875 #include <sys/ioctl.h>
43876 #include <sys/soundcard.h>
43877
43878 int
43879 main ()
43880 {
43881
43882 ioctl(0, SNDCTL_DSP_SPEED, 0);
43883
43884 ;
43885 return 0;
43886 }
43887 _ACEOF
43888 rm -f conftest.$ac_objext conftest$ac_exeext
43889 if { (ac_try="$ac_link"
43890 case "(($ac_try" in
43891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43892 *) ac_try_echo=$ac_try;;
43893 esac
43894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43895 (eval "$ac_link") 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } && {
43902 test -z "$ac_c_werror_flag" ||
43903 test ! -s conftest.err
43904 } && test -s conftest$ac_exeext &&
43905 $as_test_x conftest$ac_exeext; then
43906 ac_cv_header_sys_soundcard=yes
43907 else
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.$ac_ext >&5
43910
43911
43912 LIBS="$saveLibs"
43913 ac_cv_header_sys_soundcard=no
43914
43915
43916 fi
43917
43918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43919 conftest$ac_exeext conftest.$ac_ext
43920
43921
43922 fi
43923
43924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43925 conftest$ac_exeext conftest.$ac_ext
43926
43927 fi
43928 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43929 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43930 fi
43931
43932 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43933 cat >>confdefs.h <<\_ACEOF
43934 #define HAVE_SYS_SOUNDCARD_H 1
43935 _ACEOF
43936
43937 fi
43938 fi
43939
43940 WITH_PLUGIN_SDL=0
43941 if test "$wxUSE_SOUND" = "yes"; then
43942 if test "$USE_UNIX" = 1 ; then
43943 if test "$wxUSE_LIBSDL" != "no"; then
43944
43945 # Check whether --with-sdl-prefix was given.
43946 if test "${with_sdl_prefix+set}" = set; then
43947 withval=$with_sdl_prefix; sdl_prefix="$withval"
43948 else
43949 sdl_prefix=""
43950 fi
43951
43952
43953 # Check whether --with-sdl-exec-prefix was given.
43954 if test "${with_sdl_exec_prefix+set}" = set; then
43955 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43956 else
43957 sdl_exec_prefix=""
43958 fi
43959
43960 # Check whether --enable-sdltest was given.
43961 if test "${enable_sdltest+set}" = set; then
43962 enableval=$enable_sdltest;
43963 else
43964 enable_sdltest=yes
43965 fi
43966
43967
43968 if test x$sdl_exec_prefix != x ; then
43969 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43970 if test x${SDL_CONFIG+set} != xset ; then
43971 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43972 fi
43973 fi
43974 if test x$sdl_prefix != x ; then
43975 sdl_args="$sdl_args --prefix=$sdl_prefix"
43976 if test x${SDL_CONFIG+set} != xset ; then
43977 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43978 fi
43979 fi
43980
43981 if test "x$prefix" != xNONE; then
43982 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43983 fi
43984 # Extract the first word of "sdl-config", so it can be a program name with args.
43985 set dummy sdl-config; ac_word=$2
43986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43988 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43989 echo $ECHO_N "(cached) $ECHO_C" >&6
43990 else
43991 case $SDL_CONFIG in
43992 [\\/]* | ?:[\\/]*)
43993 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43994 ;;
43995 *)
43996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43997 for as_dir in $PATH
43998 do
43999 IFS=$as_save_IFS
44000 test -z "$as_dir" && as_dir=.
44001 for ac_exec_ext in '' $ac_executable_extensions; do
44002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44003 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44005 break 2
44006 fi
44007 done
44008 done
44009 IFS=$as_save_IFS
44010
44011 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44012 ;;
44013 esac
44014 fi
44015 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44016 if test -n "$SDL_CONFIG"; then
44017 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44018 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44019 else
44020 { echo "$as_me:$LINENO: result: no" >&5
44021 echo "${ECHO_T}no" >&6; }
44022 fi
44023
44024
44025 min_sdl_version=1.2.0
44026 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44027 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44028 no_sdl=""
44029 if test "$SDL_CONFIG" = "no" ; then
44030 no_sdl=yes
44031 else
44032 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44033 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44034
44035 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44037 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44039 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44041 if test "x$enable_sdltest" = "xyes" ; then
44042 ac_save_CFLAGS="$CFLAGS"
44043 ac_save_CXXFLAGS="$CXXFLAGS"
44044 ac_save_LIBS="$LIBS"
44045 CFLAGS="$CFLAGS $SDL_CFLAGS"
44046 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44047 LIBS="$LIBS $SDL_LIBS"
44048 rm -f conf.sdltest
44049 if test "$cross_compiling" = yes; then
44050 echo $ac_n "cross compiling; assumed OK... $ac_c"
44051 else
44052 cat >conftest.$ac_ext <<_ACEOF
44053 /* confdefs.h. */
44054 _ACEOF
44055 cat confdefs.h >>conftest.$ac_ext
44056 cat >>conftest.$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44058
44059 #include <stdio.h>
44060 #include <stdlib.h>
44061 #include <string.h>
44062 #include "SDL.h"
44063
44064 char*
44065 my_strdup (char *str)
44066 {
44067 char *new_str;
44068
44069 if (str)
44070 {
44071 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44072 strcpy (new_str, str);
44073 }
44074 else
44075 new_str = NULL;
44076
44077 return new_str;
44078 }
44079
44080 int main (int argc, char *argv[])
44081 {
44082 int major, minor, micro;
44083 char *tmp_version;
44084
44085 /* This hangs on some systems (?)
44086 system ("touch conf.sdltest");
44087 */
44088 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44089
44090 /* HP/UX 9 (%@#!) writes to sscanf strings */
44091 tmp_version = my_strdup("$min_sdl_version");
44092 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44093 printf("%s, bad version string\n", "$min_sdl_version");
44094 exit(1);
44095 }
44096
44097 if (($sdl_major_version > major) ||
44098 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44099 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44100 {
44101 return 0;
44102 }
44103 else
44104 {
44105 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44106 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44107 printf("*** best to upgrade to the required version.\n");
44108 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44109 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44110 printf("*** config.cache before re-running configure\n");
44111 return 1;
44112 }
44113 }
44114
44115
44116 _ACEOF
44117 rm -f conftest$ac_exeext
44118 if { (ac_try="$ac_link"
44119 case "(($ac_try" in
44120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44121 *) ac_try_echo=$ac_try;;
44122 esac
44123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44124 (eval "$ac_link") 2>&5
44125 ac_status=$?
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44128 { (case "(($ac_try" in
44129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44130 *) ac_try_echo=$ac_try;;
44131 esac
44132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44133 (eval "$ac_try") 2>&5
44134 ac_status=$?
44135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44136 (exit $ac_status); }; }; then
44137 :
44138 else
44139 echo "$as_me: program exited with status $ac_status" >&5
44140 echo "$as_me: failed program was:" >&5
44141 sed 's/^/| /' conftest.$ac_ext >&5
44142
44143 ( exit $ac_status )
44144 no_sdl=yes
44145 fi
44146 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44147 fi
44148
44149
44150 CFLAGS="$ac_save_CFLAGS"
44151 CXXFLAGS="$ac_save_CXXFLAGS"
44152 LIBS="$ac_save_LIBS"
44153 fi
44154 fi
44155 if test "x$no_sdl" = x ; then
44156 { echo "$as_me:$LINENO: result: yes" >&5
44157 echo "${ECHO_T}yes" >&6; }
44158
44159 EXTRALIBS_SDL="$SDL_LIBS"
44160 CFLAGS="$SDL_CFLAGS $CFLAGS"
44161 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_LIBSDL 1
44164 _ACEOF
44165
44166
44167 else
44168 { echo "$as_me:$LINENO: result: no" >&5
44169 echo "${ECHO_T}no" >&6; }
44170 if test "$SDL_CONFIG" = "no" ; then
44171 echo "*** The sdl-config script installed by SDL could not be found"
44172 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44173 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44174 echo "*** full path to sdl-config."
44175 else
44176 if test -f conf.sdltest ; then
44177 :
44178 else
44179 echo "*** Could not run SDL test program, checking why..."
44180 CFLAGS="$CFLAGS $SDL_CFLAGS"
44181 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44182 LIBS="$LIBS $SDL_LIBS"
44183 cat >conftest.$ac_ext <<_ACEOF
44184 /* confdefs.h. */
44185 _ACEOF
44186 cat confdefs.h >>conftest.$ac_ext
44187 cat >>conftest.$ac_ext <<_ACEOF
44188 /* end confdefs.h. */
44189
44190 #include <stdio.h>
44191 #include "SDL.h"
44192
44193 int main(int argc, char *argv[])
44194 { return 0; }
44195 #undef main
44196 #define main K_and_R_C_main
44197
44198 int
44199 main ()
44200 {
44201 return 0;
44202 ;
44203 return 0;
44204 }
44205 _ACEOF
44206 rm -f conftest.$ac_objext conftest$ac_exeext
44207 if { (ac_try="$ac_link"
44208 case "(($ac_try" in
44209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44210 *) ac_try_echo=$ac_try;;
44211 esac
44212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44213 (eval "$ac_link") 2>conftest.er1
44214 ac_status=$?
44215 grep -v '^ *+' conftest.er1 >conftest.err
44216 rm -f conftest.er1
44217 cat conftest.err >&5
44218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219 (exit $ac_status); } && {
44220 test -z "$ac_c_werror_flag" ||
44221 test ! -s conftest.err
44222 } && test -s conftest$ac_exeext &&
44223 $as_test_x conftest$ac_exeext; then
44224 echo "*** The test program compiled, but did not run. This usually means"
44225 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44226 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44229 echo "*** is required on your system"
44230 echo "***"
44231 echo "*** If you have an old version installed, it is best to remove it, although"
44232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44233 else
44234 echo "$as_me: failed program was:" >&5
44235 sed 's/^/| /' conftest.$ac_ext >&5
44236
44237 echo "*** The test program failed to compile or link. See the file config.log for the"
44238 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44239 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44240 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44241 fi
44242
44243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44244 conftest$ac_exeext conftest.$ac_ext
44245 CFLAGS="$ac_save_CFLAGS"
44246 CXXFLAGS="$ac_save_CXXFLAGS"
44247 LIBS="$ac_save_LIBS"
44248 fi
44249 fi
44250 SDL_CFLAGS=""
44251 SDL_LIBS=""
44252 wxUSE_LIBSDL="no"
44253 fi
44254
44255
44256 rm -f conf.sdltest
44257
44258 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44259 WITH_PLUGIN_SDL=1
44260 fi
44261 fi
44262 else
44263 if test "$wxUSE_MGL" = 1; then
44264 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44265 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44266 wxUSE_SOUND="no"
44267 fi
44268 fi
44269 fi
44270
44271 if test "$wxUSE_SOUND" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_SOUND 1
44274 _ACEOF
44275
44276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44277 fi
44278
44279 if test "$WXGTK2" = 1; then
44280
44281
44282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44283 if test -n "$ac_tool_prefix"; then
44284 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44288 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44289 echo $ECHO_N "(cached) $ECHO_C" >&6
44290 else
44291 case $PKG_CONFIG in
44292 [\\/]* | ?:[\\/]*)
44293 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44294 ;;
44295 *)
44296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44297 for as_dir in $PATH
44298 do
44299 IFS=$as_save_IFS
44300 test -z "$as_dir" && as_dir=.
44301 for ac_exec_ext in '' $ac_executable_extensions; do
44302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44303 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44305 break 2
44306 fi
44307 done
44308 done
44309 IFS=$as_save_IFS
44310
44311 ;;
44312 esac
44313 fi
44314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44315 if test -n "$PKG_CONFIG"; then
44316 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44317 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44318 else
44319 { echo "$as_me:$LINENO: result: no" >&5
44320 echo "${ECHO_T}no" >&6; }
44321 fi
44322
44323
44324 fi
44325 if test -z "$ac_cv_path_PKG_CONFIG"; then
44326 ac_pt_PKG_CONFIG=$PKG_CONFIG
44327 # Extract the first word of "pkg-config", so it can be a program name with args.
44328 set dummy pkg-config; ac_word=$2
44329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44331 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44332 echo $ECHO_N "(cached) $ECHO_C" >&6
44333 else
44334 case $ac_pt_PKG_CONFIG in
44335 [\\/]* | ?:[\\/]*)
44336 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44337 ;;
44338 *)
44339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44340 for as_dir in $PATH
44341 do
44342 IFS=$as_save_IFS
44343 test -z "$as_dir" && as_dir=.
44344 for ac_exec_ext in '' $ac_executable_extensions; do
44345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44346 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44348 break 2
44349 fi
44350 done
44351 done
44352 IFS=$as_save_IFS
44353
44354 ;;
44355 esac
44356 fi
44357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44358 if test -n "$ac_pt_PKG_CONFIG"; then
44359 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44360 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44361 else
44362 { echo "$as_me:$LINENO: result: no" >&5
44363 echo "${ECHO_T}no" >&6; }
44364 fi
44365
44366 if test "x$ac_pt_PKG_CONFIG" = x; then
44367 PKG_CONFIG=""
44368 else
44369 case $cross_compiling:$ac_tool_warned in
44370 yes:)
44371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44372 whose name does not start with the host triplet. If you think this
44373 configuration is useful to you, please write to autoconf@gnu.org." >&5
44374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44375 whose name does not start with the host triplet. If you think this
44376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44377 ac_tool_warned=yes ;;
44378 esac
44379 PKG_CONFIG=$ac_pt_PKG_CONFIG
44380 fi
44381 else
44382 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44383 fi
44384
44385 fi
44386 if test -n "$PKG_CONFIG"; then
44387 _pkg_min_version=0.9.0
44388 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44389 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44390 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44391 { echo "$as_me:$LINENO: result: yes" >&5
44392 echo "${ECHO_T}yes" >&6; }
44393 else
44394 { echo "$as_me:$LINENO: result: no" >&5
44395 echo "${ECHO_T}no" >&6; }
44396 PKG_CONFIG=""
44397 fi
44398
44399 fi
44400
44401 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44402
44403 if test "$wxUSE_GTKPRINT" = "yes" ; then
44404
44405
44406 pkg_failed=no
44407 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44408 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44409
44410 if test -n "$PKG_CONFIG"; then
44411 if test -n "$GTKPRINT_CFLAGS"; then
44412 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44413 else
44414 if test -n "$PKG_CONFIG" && \
44415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44416 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; then
44420 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44421 else
44422 pkg_failed=yes
44423 fi
44424 fi
44425 else
44426 pkg_failed=untried
44427 fi
44428 if test -n "$PKG_CONFIG"; then
44429 if test -n "$GTKPRINT_LIBS"; then
44430 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44431 else
44432 if test -n "$PKG_CONFIG" && \
44433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44434 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44435 ac_status=$?
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; then
44438 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44439 else
44440 pkg_failed=yes
44441 fi
44442 fi
44443 else
44444 pkg_failed=untried
44445 fi
44446
44447
44448
44449 if test $pkg_failed = yes; then
44450
44451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44452 _pkg_short_errors_supported=yes
44453 else
44454 _pkg_short_errors_supported=no
44455 fi
44456 if test $_pkg_short_errors_supported = yes; then
44457 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44458 else
44459 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44460 fi
44461 # Put the nasty error message in config.log where it belongs
44462 echo "$GTKPRINT_PKG_ERRORS" >&5
44463
44464
44465 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44466 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44467 wxUSE_GTKPRINT="no"
44468
44469
44470 elif test $pkg_failed = untried; then
44471
44472 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44473 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44474 wxUSE_GTKPRINT="no"
44475
44476
44477 else
44478 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44479 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44480 { echo "$as_me:$LINENO: result: yes" >&5
44481 echo "${ECHO_T}yes" >&6; }
44482
44483 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44484 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_GTKPRINT 1
44487 _ACEOF
44488
44489
44490 fi
44491 fi
44492
44493 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44494
44495
44496 pkg_failed=no
44497 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44498 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44499
44500 if test -n "$PKG_CONFIG"; then
44501 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44502 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44503 else
44504 if test -n "$PKG_CONFIG" && \
44505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44506 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44507 ac_status=$?
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; then
44510 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44511 else
44512 pkg_failed=yes
44513 fi
44514 fi
44515 else
44516 pkg_failed=untried
44517 fi
44518 if test -n "$PKG_CONFIG"; then
44519 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44520 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44521 else
44522 if test -n "$PKG_CONFIG" && \
44523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44524 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44525 ac_status=$?
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); }; then
44528 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44529 else
44530 pkg_failed=yes
44531 fi
44532 fi
44533 else
44534 pkg_failed=untried
44535 fi
44536
44537
44538
44539 if test $pkg_failed = yes; then
44540
44541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44542 _pkg_short_errors_supported=yes
44543 else
44544 _pkg_short_errors_supported=no
44545 fi
44546 if test $_pkg_short_errors_supported = yes; then
44547 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44548 else
44549 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44550 fi
44551 # Put the nasty error message in config.log where it belongs
44552 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44553
44554
44555 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44556 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44557 wxUSE_LIBGNOMEPRINT="no"
44558
44559
44560 elif test $pkg_failed = untried; then
44561
44562 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44563 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44564 wxUSE_LIBGNOMEPRINT="no"
44565
44566
44567 else
44568 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44569 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44570 { echo "$as_me:$LINENO: result: yes" >&5
44571 echo "${ECHO_T}yes" >&6; }
44572
44573 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44574 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_LIBGNOMEPRINT 1
44577 _ACEOF
44578
44579
44580 fi
44581 fi
44582 fi
44583
44584 if test "$wxUSE_MIMETYPE" = "yes" ; then
44585 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44586
44587
44588 pkg_failed=no
44589 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44590 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44591
44592 if test -n "$PKG_CONFIG"; then
44593 if test -n "$GNOMEVFS_CFLAGS"; then
44594 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44595 else
44596 if test -n "$PKG_CONFIG" && \
44597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44598 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44599 ac_status=$?
44600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601 (exit $ac_status); }; then
44602 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44603 else
44604 pkg_failed=yes
44605 fi
44606 fi
44607 else
44608 pkg_failed=untried
44609 fi
44610 if test -n "$PKG_CONFIG"; then
44611 if test -n "$GNOMEVFS_LIBS"; then
44612 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44613 else
44614 if test -n "$PKG_CONFIG" && \
44615 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44616 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; then
44620 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44621 else
44622 pkg_failed=yes
44623 fi
44624 fi
44625 else
44626 pkg_failed=untried
44627 fi
44628
44629
44630
44631 if test $pkg_failed = yes; then
44632
44633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44634 _pkg_short_errors_supported=yes
44635 else
44636 _pkg_short_errors_supported=no
44637 fi
44638 if test $_pkg_short_errors_supported = yes; then
44639 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44640 else
44641 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44642 fi
44643 # Put the nasty error message in config.log where it belongs
44644 echo "$GNOMEVFS_PKG_ERRORS" >&5
44645
44646
44647 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44648 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44649 wxUSE_LIBGNOMEVFS="no"
44650
44651
44652 elif test $pkg_failed = untried; then
44653
44654 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44655 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44656 wxUSE_LIBGNOMEVFS="no"
44657
44658
44659 else
44660 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44661 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44662 { echo "$as_me:$LINENO: result: yes" >&5
44663 echo "${ECHO_T}yes" >&6; }
44664
44665 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44666 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44667 cat >>confdefs.h <<\_ACEOF
44668 #define wxUSE_LIBGNOMEVFS 1
44669 _ACEOF
44670
44671
44672 fi
44673 fi
44674 fi
44675
44676 if test "$wxUSE_LIBHILDON" = "yes" ; then
44677
44678 pkg_failed=no
44679 { echo "$as_me:$LINENO: checking for HILDON" >&5
44680 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44681
44682 if test -n "$PKG_CONFIG"; then
44683 if test -n "$HILDON_CFLAGS"; then
44684 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44685 else
44686 if test -n "$PKG_CONFIG" && \
44687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44688 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44689 ac_status=$?
44690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691 (exit $ac_status); }; then
44692 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44693 else
44694 pkg_failed=yes
44695 fi
44696 fi
44697 else
44698 pkg_failed=untried
44699 fi
44700 if test -n "$PKG_CONFIG"; then
44701 if test -n "$HILDON_LIBS"; then
44702 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44703 else
44704 if test -n "$PKG_CONFIG" && \
44705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44706 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44707 ac_status=$?
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); }; then
44710 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44711 else
44712 pkg_failed=yes
44713 fi
44714 fi
44715 else
44716 pkg_failed=untried
44717 fi
44718
44719
44720
44721 if test $pkg_failed = yes; then
44722
44723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44724 _pkg_short_errors_supported=yes
44725 else
44726 _pkg_short_errors_supported=no
44727 fi
44728 if test $_pkg_short_errors_supported = yes; then
44729 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44730 else
44731 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44732 fi
44733 # Put the nasty error message in config.log where it belongs
44734 echo "$HILDON_PKG_ERRORS" >&5
44735
44736
44737 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44738 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44739 wxUSE_LIBHILDON="no"
44740 ac_hildon_lgpl=0
44741
44742
44743 elif test $pkg_failed = untried; then
44744
44745 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44746 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44747 wxUSE_LIBHILDON="no"
44748 ac_hildon_lgpl=0
44749
44750
44751 else
44752 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44753 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44754 { echo "$as_me:$LINENO: result: yes" >&5
44755 echo "${ECHO_T}yes" >&6; }
44756
44757 EXTRALIBS_HILDON="$HILDON_LIBS"
44758 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44759 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_LIBHILDON 1
44762 _ACEOF
44763
44764 ac_hildon_lgpl=1
44765
44766 fi
44767
44768 if test "$ac_hildon_lgpl" = 0 ; then
44769
44770 pkg_failed=no
44771 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44772 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44773
44774 if test -n "$PKG_CONFIG"; then
44775 if test -n "$HILDON2_CFLAGS"; then
44776 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44777 else
44778 if test -n "$PKG_CONFIG" && \
44779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44780 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44781 ac_status=$?
44782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44783 (exit $ac_status); }; then
44784 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44785 else
44786 pkg_failed=yes
44787 fi
44788 fi
44789 else
44790 pkg_failed=untried
44791 fi
44792 if test -n "$PKG_CONFIG"; then
44793 if test -n "$HILDON2_LIBS"; then
44794 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44795 else
44796 if test -n "$PKG_CONFIG" && \
44797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44798 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44799 ac_status=$?
44800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44801 (exit $ac_status); }; then
44802 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44803 else
44804 pkg_failed=yes
44805 fi
44806 fi
44807 else
44808 pkg_failed=untried
44809 fi
44810
44811
44812
44813 if test $pkg_failed = yes; then
44814
44815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44816 _pkg_short_errors_supported=yes
44817 else
44818 _pkg_short_errors_supported=no
44819 fi
44820 if test $_pkg_short_errors_supported = yes; then
44821 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44822 else
44823 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44824 fi
44825 # Put the nasty error message in config.log where it belongs
44826 echo "$HILDON2_PKG_ERRORS" >&5
44827
44828
44829 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44830 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44831 wxUSE_LIBHILDON2="no"
44832
44833
44834 elif test $pkg_failed = untried; then
44835
44836 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44837 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44838 wxUSE_LIBHILDON2="no"
44839
44840
44841 else
44842 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44843 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44844 { echo "$as_me:$LINENO: result: yes" >&5
44845 echo "${ECHO_T}yes" >&6; }
44846
44847 EXTRALIBS_HILDON="$HILDON2_LIBS"
44848 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44849 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_LIBHILDON2 1
44852 _ACEOF
44853
44854
44855 fi
44856 fi
44857 fi
44858 fi
44859
44860 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_CMDLINE_PARSER 1
44863 _ACEOF
44864
44865 fi
44866
44867 if test "$wxUSE_STOPWATCH" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_STOPWATCH 1
44870 _ACEOF
44871
44872 fi
44873
44874 if test "$wxUSE_DATETIME" = "yes"; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_DATETIME 1
44877 _ACEOF
44878
44879 fi
44880
44881 if test "$wxUSE_FILE" = "yes"; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_FILE 1
44884 _ACEOF
44885
44886 fi
44887
44888 if test "$wxUSE_FFILE" = "yes"; then
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_FFILE 1
44891 _ACEOF
44892
44893 fi
44894
44895 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44896 if test "$wxUSE_STREAMS" != yes; then
44897 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44898 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44899 wxUSE_ARCHIVE_STREAMS=no
44900 else
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_ARCHIVE_STREAMS 1
44903 _ACEOF
44904
44905 fi
44906 fi
44907
44908 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44909 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44910 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44911 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44912 elif test "$wxUSE_ZLIB" = "no"; then
44913 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44914 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44915 else
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_ZIPSTREAM 1
44918 _ACEOF
44919
44920 fi
44921 fi
44922
44923 if test "$wxUSE_TARSTREAM" = "yes"; then
44924 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44925 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44926 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44927 else
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_TARSTREAM 1
44930 _ACEOF
44931
44932 fi
44933 fi
44934
44935 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_FILE_HISTORY 1
44938 _ACEOF
44939
44940 fi
44941
44942 if test "$wxUSE_FILESYSTEM" = "yes"; then
44943 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44944 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44945 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44946 wxUSE_FILESYSTEM=no
44947 else
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_FILESYSTEM 1
44950 _ACEOF
44951
44952 fi
44953 fi
44954
44955 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44956 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44957 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44958 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44959 else
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_FS_ARCHIVE 1
44962 _ACEOF
44963
44964 fi
44965 fi
44966
44967 if test "$wxUSE_FS_ZIP" = "yes"; then
44968 if test "$wxUSE_FS_ARCHIVE" != yes; then
44969 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44970 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44971 else
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_FS_ZIP 1
44974 _ACEOF
44975
44976 fi
44977 fi
44978
44979 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44980 if test "$USE_UNIX" != 1; then
44981 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44982 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44983 wxUSE_ON_FATAL_EXCEPTION=no
44984 else
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_ON_FATAL_EXCEPTION 1
44987 _ACEOF
44988
44989 fi
44990 fi
44991
44992 if test "$wxUSE_STACKWALKER" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_STACKWALKER 1
44995 _ACEOF
44996
44997 fi
44998
44999 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45000 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45001 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45002 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45003 wxUSE_DEBUGREPORT=no
45004 else
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_DEBUGREPORT 1
45007 _ACEOF
45008
45009 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45011 fi
45012 fi
45013 fi
45014
45015 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_SNGLINST_CHECKER 1
45018 _ACEOF
45019
45020 fi
45021
45022 if test "$wxUSE_BUSYINFO" = "yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_BUSYINFO 1
45025 _ACEOF
45026
45027 fi
45028
45029 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_STD_CONTAINERS 1
45032 _ACEOF
45033
45034 fi
45035
45036 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_STD_IOSTREAM 1
45039 _ACEOF
45040
45041 fi
45042
45043 if test "$wxUSE_STD_STRING" = "yes"; then
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_STD_STRING 1
45046 _ACEOF
45047
45048 fi
45049
45050 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45053 _ACEOF
45054
45055 fi
45056
45057 if test "$wxUSE_STDPATHS" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_STDPATHS 1
45060 _ACEOF
45061
45062 fi
45063
45064 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_TEXTBUFFER 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_TEXTFILE" = "yes"; then
45072 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45073 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45074 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45075 else
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_TEXTFILE 1
45078 _ACEOF
45079
45080 fi
45081 fi
45082
45083 if test "$wxUSE_CONFIG" = "yes" ; then
45084 if test "$wxUSE_TEXTFILE" != "yes"; then
45085 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45086 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45087 else
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_CONFIG 1
45090 _ACEOF
45091
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_CONFIG_NATIVE 1
45094 _ACEOF
45095
45096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45097 fi
45098 fi
45099
45100 if test "$wxUSE_INTL" = "yes" ; then
45101 if test "$wxUSE_FILE" != "yes"; then
45102 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45103 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45104 else
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_INTL 1
45107 _ACEOF
45108
45109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45110 GUIDIST="$GUIDIST INTL_DIST"
45111 fi
45112 fi
45113
45114 if test "$wxUSE_XLOCALE" = "yes" ; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_XLOCALE 1
45117 _ACEOF
45118
45119 { echo "$as_me:$LINENO: checking for locale_t" >&5
45120 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45121 if test "${ac_cv_type_locale_t+set}" = set; then
45122 echo $ECHO_N "(cached) $ECHO_C" >&6
45123 else
45124 cat >conftest.$ac_ext <<_ACEOF
45125 /* confdefs.h. */
45126 _ACEOF
45127 cat confdefs.h >>conftest.$ac_ext
45128 cat >>conftest.$ac_ext <<_ACEOF
45129 /* end confdefs.h. */
45130 #include <xlocale.h>
45131 #include <locale.h>
45132
45133 typedef locale_t ac__type_new_;
45134 int
45135 main ()
45136 {
45137 if ((ac__type_new_ *) 0)
45138 return 0;
45139 if (sizeof (ac__type_new_))
45140 return 0;
45141 ;
45142 return 0;
45143 }
45144 _ACEOF
45145 rm -f conftest.$ac_objext
45146 if { (ac_try="$ac_compile"
45147 case "(($ac_try" in
45148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45149 *) ac_try_echo=$ac_try;;
45150 esac
45151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45152 (eval "$ac_compile") 2>conftest.er1
45153 ac_status=$?
45154 grep -v '^ *+' conftest.er1 >conftest.err
45155 rm -f conftest.er1
45156 cat conftest.err >&5
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); } && {
45159 test -z "$ac_c_werror_flag" ||
45160 test ! -s conftest.err
45161 } && test -s conftest.$ac_objext; then
45162 ac_cv_type_locale_t=yes
45163 else
45164 echo "$as_me: failed program was:" >&5
45165 sed 's/^/| /' conftest.$ac_ext >&5
45166
45167 ac_cv_type_locale_t=no
45168 fi
45169
45170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45171 fi
45172 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45173 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45174 if test $ac_cv_type_locale_t = yes; then
45175
45176 cat >>confdefs.h <<_ACEOF
45177 #define HAVE_LOCALE_T 1
45178 _ACEOF
45179
45180
45181 fi
45182
45183 fi
45184
45185 if test "$wxUSE_LOG" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_LOG 1
45188 _ACEOF
45189
45190
45191 if test "$wxUSE_LOGGUI" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_LOGGUI 1
45194 _ACEOF
45195
45196 fi
45197
45198 if test "$wxUSE_LOGWINDOW" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_LOGWINDOW 1
45201 _ACEOF
45202
45203 fi
45204
45205 if test "$wxUSE_LOGDIALOG" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_LOG_DIALOG 1
45208 _ACEOF
45209
45210 fi
45211
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45213 fi
45214
45215 if test "$wxUSE_LONGLONG" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_LONGLONG 1
45218 _ACEOF
45219
45220 fi
45221
45222 if test "$wxUSE_GEOMETRY" = "yes"; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_GEOMETRY 1
45225 _ACEOF
45226
45227 fi
45228
45229 if test "$wxUSE_BASE64" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_BASE64 1
45232 _ACEOF
45233
45234 fi
45235
45236 if test "$wxUSE_STREAMS" = "yes" ; then
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_STREAMS 1
45239 _ACEOF
45240
45241 fi
45242
45243 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_PRINTF_POS_PARAMS 1
45246 _ACEOF
45247
45248 fi
45249
45250 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_OBJC_UNIQUIFYING 1
45253 _ACEOF
45254
45255 fi
45256
45257
45258 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45259 cat >>confdefs.h <<\_ACEOF
45260 #define wxUSE_CONSOLE_EVENTLOOP 1
45261 _ACEOF
45262
45263
45264 if test "$wxUSE_UNIX" = "yes"; then
45265 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_SELECT_DISPATCHER 1
45268 _ACEOF
45269
45270 fi
45271
45272 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45273
45274 for ac_header in sys/epoll.h
45275 do
45276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45280 echo $ECHO_N "(cached) $ECHO_C" >&6
45281 else
45282 cat >conftest.$ac_ext <<_ACEOF
45283 /* confdefs.h. */
45284 _ACEOF
45285 cat confdefs.h >>conftest.$ac_ext
45286 cat >>conftest.$ac_ext <<_ACEOF
45287 /* end confdefs.h. */
45288 $ac_includes_default
45289
45290 #include <$ac_header>
45291 _ACEOF
45292 rm -f conftest.$ac_objext
45293 if { (ac_try="$ac_compile"
45294 case "(($ac_try" in
45295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45296 *) ac_try_echo=$ac_try;;
45297 esac
45298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45299 (eval "$ac_compile") 2>conftest.er1
45300 ac_status=$?
45301 grep -v '^ *+' conftest.er1 >conftest.err
45302 rm -f conftest.er1
45303 cat conftest.err >&5
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); } && {
45306 test -z "$ac_c_werror_flag" ||
45307 test ! -s conftest.err
45308 } && test -s conftest.$ac_objext; then
45309 eval "$as_ac_Header=yes"
45310 else
45311 echo "$as_me: failed program was:" >&5
45312 sed 's/^/| /' conftest.$ac_ext >&5
45313
45314 eval "$as_ac_Header=no"
45315 fi
45316
45317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45318 fi
45319 ac_res=`eval echo '${'$as_ac_Header'}'`
45320 { echo "$as_me:$LINENO: result: $ac_res" >&5
45321 echo "${ECHO_T}$ac_res" >&6; }
45322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45323 cat >>confdefs.h <<_ACEOF
45324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45325 _ACEOF
45326
45327 fi
45328
45329 done
45330
45331 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45332 cat >>confdefs.h <<\_ACEOF
45333 #define wxUSE_EPOLL_DISPATCHER 1
45334 _ACEOF
45335
45336 else
45337 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45338 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45339 fi
45340 fi
45341 fi
45342 fi
45343
45344
45345
45346
45347 for ac_func in gettimeofday ftime
45348 do
45349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45353 echo $ECHO_N "(cached) $ECHO_C" >&6
45354 else
45355 cat >conftest.$ac_ext <<_ACEOF
45356 /* confdefs.h. */
45357 _ACEOF
45358 cat confdefs.h >>conftest.$ac_ext
45359 cat >>conftest.$ac_ext <<_ACEOF
45360 /* end confdefs.h. */
45361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45363 #define $ac_func innocuous_$ac_func
45364
45365 /* System header to define __stub macros and hopefully few prototypes,
45366 which can conflict with char $ac_func (); below.
45367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45368 <limits.h> exists even on freestanding compilers. */
45369
45370 #ifdef __STDC__
45371 # include <limits.h>
45372 #else
45373 # include <assert.h>
45374 #endif
45375
45376 #undef $ac_func
45377
45378 /* Override any GCC internal prototype to avoid an error.
45379 Use char because int might match the return type of a GCC
45380 builtin and then its argument prototype would still apply. */
45381 #ifdef __cplusplus
45382 extern "C"
45383 #endif
45384 char $ac_func ();
45385 /* The GNU C library defines this for functions which it implements
45386 to always fail with ENOSYS. Some functions are actually named
45387 something starting with __ and the normal name is an alias. */
45388 #if defined __stub_$ac_func || defined __stub___$ac_func
45389 choke me
45390 #endif
45391
45392 int
45393 main ()
45394 {
45395 return $ac_func ();
45396 ;
45397 return 0;
45398 }
45399 _ACEOF
45400 rm -f conftest.$ac_objext conftest$ac_exeext
45401 if { (ac_try="$ac_link"
45402 case "(($ac_try" in
45403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45404 *) ac_try_echo=$ac_try;;
45405 esac
45406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45407 (eval "$ac_link") 2>conftest.er1
45408 ac_status=$?
45409 grep -v '^ *+' conftest.er1 >conftest.err
45410 rm -f conftest.er1
45411 cat conftest.err >&5
45412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45413 (exit $ac_status); } && {
45414 test -z "$ac_c_werror_flag" ||
45415 test ! -s conftest.err
45416 } && test -s conftest$ac_exeext &&
45417 $as_test_x conftest$ac_exeext; then
45418 eval "$as_ac_var=yes"
45419 else
45420 echo "$as_me: failed program was:" >&5
45421 sed 's/^/| /' conftest.$ac_ext >&5
45422
45423 eval "$as_ac_var=no"
45424 fi
45425
45426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45427 conftest$ac_exeext conftest.$ac_ext
45428 fi
45429 ac_res=`eval echo '${'$as_ac_var'}'`
45430 { echo "$as_me:$LINENO: result: $ac_res" >&5
45431 echo "${ECHO_T}$ac_res" >&6; }
45432 if test `eval echo '${'$as_ac_var'}'` = yes; then
45433 cat >>confdefs.h <<_ACEOF
45434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45435 _ACEOF
45436 break
45437 fi
45438 done
45439
45440
45441 if test "$ac_cv_func_gettimeofday" = "yes"; then
45442 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45443 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45444 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45445 echo $ECHO_N "(cached) $ECHO_C" >&6
45446 else
45447
45448 cat >conftest.$ac_ext <<_ACEOF
45449 /* confdefs.h. */
45450 _ACEOF
45451 cat confdefs.h >>conftest.$ac_ext
45452 cat >>conftest.$ac_ext <<_ACEOF
45453 /* end confdefs.h. */
45454
45455 #include <sys/time.h>
45456 #include <unistd.h>
45457
45458 int
45459 main ()
45460 {
45461
45462 struct timeval tv;
45463 gettimeofday(&tv, NULL);
45464
45465 ;
45466 return 0;
45467 }
45468 _ACEOF
45469 rm -f conftest.$ac_objext
45470 if { (ac_try="$ac_compile"
45471 case "(($ac_try" in
45472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45473 *) ac_try_echo=$ac_try;;
45474 esac
45475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45476 (eval "$ac_compile") 2>conftest.er1
45477 ac_status=$?
45478 grep -v '^ *+' conftest.er1 >conftest.err
45479 rm -f conftest.er1
45480 cat conftest.err >&5
45481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45482 (exit $ac_status); } && {
45483 test -z "$ac_c_werror_flag" ||
45484 test ! -s conftest.err
45485 } && test -s conftest.$ac_objext; then
45486 wx_cv_func_gettimeofday_has_2_args=yes
45487 else
45488 echo "$as_me: failed program was:" >&5
45489 sed 's/^/| /' conftest.$ac_ext >&5
45490
45491 cat >conftest.$ac_ext <<_ACEOF
45492 /* confdefs.h. */
45493 _ACEOF
45494 cat confdefs.h >>conftest.$ac_ext
45495 cat >>conftest.$ac_ext <<_ACEOF
45496 /* end confdefs.h. */
45497
45498 #include <sys/time.h>
45499 #include <unistd.h>
45500
45501 int
45502 main ()
45503 {
45504
45505 struct timeval tv;
45506 gettimeofday(&tv);
45507
45508 ;
45509 return 0;
45510 }
45511 _ACEOF
45512 rm -f conftest.$ac_objext
45513 if { (ac_try="$ac_compile"
45514 case "(($ac_try" in
45515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45516 *) ac_try_echo=$ac_try;;
45517 esac
45518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45519 (eval "$ac_compile") 2>conftest.er1
45520 ac_status=$?
45521 grep -v '^ *+' conftest.er1 >conftest.err
45522 rm -f conftest.er1
45523 cat conftest.err >&5
45524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45525 (exit $ac_status); } && {
45526 test -z "$ac_c_werror_flag" ||
45527 test ! -s conftest.err
45528 } && test -s conftest.$ac_objext; then
45529 wx_cv_func_gettimeofday_has_2_args=no
45530 else
45531 echo "$as_me: failed program was:" >&5
45532 sed 's/^/| /' conftest.$ac_ext >&5
45533
45534
45535 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45536 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45537 wx_cv_func_gettimeofday_has_2_args=unknown
45538
45539
45540 fi
45541
45542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45543
45544 fi
45545
45546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45547
45548 fi
45549 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45550 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45551
45552 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define WX_GETTIMEOFDAY_NO_TZ 1
45555 _ACEOF
45556
45557 fi
45558 fi
45559
45560 if test "$wxUSE_DATETIME" = "yes"; then
45561 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45562 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45563 if test "${wx_cv_var_timezone+set}" = set; then
45564 echo $ECHO_N "(cached) $ECHO_C" >&6
45565 else
45566
45567 ac_ext=cpp
45568 ac_cpp='$CXXCPP $CPPFLAGS'
45569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45572
45573 cat >conftest.$ac_ext <<_ACEOF
45574 /* confdefs.h. */
45575 _ACEOF
45576 cat confdefs.h >>conftest.$ac_ext
45577 cat >>conftest.$ac_ext <<_ACEOF
45578 /* end confdefs.h. */
45579
45580 #include <time.h>
45581
45582 int
45583 main ()
45584 {
45585
45586 int tz;
45587 tz = timezone;
45588
45589 ;
45590 return 0;
45591 }
45592 _ACEOF
45593 rm -f conftest.$ac_objext
45594 if { (ac_try="$ac_compile"
45595 case "(($ac_try" in
45596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45597 *) ac_try_echo=$ac_try;;
45598 esac
45599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45600 (eval "$ac_compile") 2>conftest.er1
45601 ac_status=$?
45602 grep -v '^ *+' conftest.er1 >conftest.err
45603 rm -f conftest.er1
45604 cat conftest.err >&5
45605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45606 (exit $ac_status); } && {
45607 test -z "$ac_cxx_werror_flag" ||
45608 test ! -s conftest.err
45609 } && test -s conftest.$ac_objext; then
45610
45611 wx_cv_var_timezone=timezone
45612
45613 else
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.$ac_ext >&5
45616
45617
45618 cat >conftest.$ac_ext <<_ACEOF
45619 /* confdefs.h. */
45620 _ACEOF
45621 cat confdefs.h >>conftest.$ac_ext
45622 cat >>conftest.$ac_ext <<_ACEOF
45623 /* end confdefs.h. */
45624
45625 #include <time.h>
45626
45627 int
45628 main ()
45629 {
45630
45631 int tz;
45632 tz = _timezone;
45633
45634 ;
45635 return 0;
45636 }
45637 _ACEOF
45638 rm -f conftest.$ac_objext
45639 if { (ac_try="$ac_compile"
45640 case "(($ac_try" in
45641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45642 *) ac_try_echo=$ac_try;;
45643 esac
45644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45645 (eval "$ac_compile") 2>conftest.er1
45646 ac_status=$?
45647 grep -v '^ *+' conftest.er1 >conftest.err
45648 rm -f conftest.er1
45649 cat conftest.err >&5
45650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651 (exit $ac_status); } && {
45652 test -z "$ac_cxx_werror_flag" ||
45653 test ! -s conftest.err
45654 } && test -s conftest.$ac_objext; then
45655
45656 wx_cv_var_timezone=_timezone
45657
45658 else
45659 echo "$as_me: failed program was:" >&5
45660 sed 's/^/| /' conftest.$ac_ext >&5
45661
45662
45663 cat >conftest.$ac_ext <<_ACEOF
45664 /* confdefs.h. */
45665 _ACEOF
45666 cat confdefs.h >>conftest.$ac_ext
45667 cat >>conftest.$ac_ext <<_ACEOF
45668 /* end confdefs.h. */
45669
45670 #include <time.h>
45671
45672 int
45673 main ()
45674 {
45675
45676 int tz;
45677 tz = __timezone;
45678
45679 ;
45680 return 0;
45681 }
45682 _ACEOF
45683 rm -f conftest.$ac_objext
45684 if { (ac_try="$ac_compile"
45685 case "(($ac_try" in
45686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45687 *) ac_try_echo=$ac_try;;
45688 esac
45689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45690 (eval "$ac_compile") 2>conftest.er1
45691 ac_status=$?
45692 grep -v '^ *+' conftest.er1 >conftest.err
45693 rm -f conftest.er1
45694 cat conftest.err >&5
45695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45696 (exit $ac_status); } && {
45697 test -z "$ac_cxx_werror_flag" ||
45698 test ! -s conftest.err
45699 } && test -s conftest.$ac_objext; then
45700
45701 wx_cv_var_timezone=__timezone
45702
45703 else
45704 echo "$as_me: failed program was:" >&5
45705 sed 's/^/| /' conftest.$ac_ext >&5
45706
45707
45708 if test "$USE_DOS" = 0 ; then
45709 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45710 echo "$as_me: WARNING: no timezone variable" >&2;}
45711 fi
45712
45713
45714 fi
45715
45716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45717
45718
45719 fi
45720
45721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45722
45723
45724 fi
45725
45726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45727 ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732
45733
45734
45735 fi
45736 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45737 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45738
45739 if test "x$wx_cv_var_timezone" != x ; then
45740 cat >>confdefs.h <<_ACEOF
45741 #define WX_TIMEZONE $wx_cv_var_timezone
45742 _ACEOF
45743
45744 fi
45745
45746
45747 for ac_func in localtime
45748 do
45749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45753 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 else
45755 cat >conftest.$ac_ext <<_ACEOF
45756 /* confdefs.h. */
45757 _ACEOF
45758 cat confdefs.h >>conftest.$ac_ext
45759 cat >>conftest.$ac_ext <<_ACEOF
45760 /* end confdefs.h. */
45761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45763 #define $ac_func innocuous_$ac_func
45764
45765 /* System header to define __stub macros and hopefully few prototypes,
45766 which can conflict with char $ac_func (); below.
45767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45768 <limits.h> exists even on freestanding compilers. */
45769
45770 #ifdef __STDC__
45771 # include <limits.h>
45772 #else
45773 # include <assert.h>
45774 #endif
45775
45776 #undef $ac_func
45777
45778 /* Override any GCC internal prototype to avoid an error.
45779 Use char because int might match the return type of a GCC
45780 builtin and then its argument prototype would still apply. */
45781 #ifdef __cplusplus
45782 extern "C"
45783 #endif
45784 char $ac_func ();
45785 /* The GNU C library defines this for functions which it implements
45786 to always fail with ENOSYS. Some functions are actually named
45787 something starting with __ and the normal name is an alias. */
45788 #if defined __stub_$ac_func || defined __stub___$ac_func
45789 choke me
45790 #endif
45791
45792 int
45793 main ()
45794 {
45795 return $ac_func ();
45796 ;
45797 return 0;
45798 }
45799 _ACEOF
45800 rm -f conftest.$ac_objext conftest$ac_exeext
45801 if { (ac_try="$ac_link"
45802 case "(($ac_try" in
45803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45804 *) ac_try_echo=$ac_try;;
45805 esac
45806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45807 (eval "$ac_link") 2>conftest.er1
45808 ac_status=$?
45809 grep -v '^ *+' conftest.er1 >conftest.err
45810 rm -f conftest.er1
45811 cat conftest.err >&5
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); } && {
45814 test -z "$ac_c_werror_flag" ||
45815 test ! -s conftest.err
45816 } && test -s conftest$ac_exeext &&
45817 $as_test_x conftest$ac_exeext; then
45818 eval "$as_ac_var=yes"
45819 else
45820 echo "$as_me: failed program was:" >&5
45821 sed 's/^/| /' conftest.$ac_ext >&5
45822
45823 eval "$as_ac_var=no"
45824 fi
45825
45826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45827 conftest$ac_exeext conftest.$ac_ext
45828 fi
45829 ac_res=`eval echo '${'$as_ac_var'}'`
45830 { echo "$as_me:$LINENO: result: $ac_res" >&5
45831 echo "${ECHO_T}$ac_res" >&6; }
45832 if test `eval echo '${'$as_ac_var'}'` = yes; then
45833 cat >>confdefs.h <<_ACEOF
45834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45835 _ACEOF
45836
45837 fi
45838 done
45839
45840
45841 if test "$ac_cv_func_localtime" = "yes"; then
45842 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45843 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45844 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45845 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 else
45847
45848 cat >conftest.$ac_ext <<_ACEOF
45849 /* confdefs.h. */
45850 _ACEOF
45851 cat confdefs.h >>conftest.$ac_ext
45852 cat >>conftest.$ac_ext <<_ACEOF
45853 /* end confdefs.h. */
45854
45855 #include <time.h>
45856
45857 int
45858 main ()
45859 {
45860
45861 struct tm tm;
45862 tm.tm_gmtoff++;
45863
45864 ;
45865 return 0;
45866 }
45867 _ACEOF
45868 rm -f conftest.$ac_objext
45869 if { (ac_try="$ac_compile"
45870 case "(($ac_try" in
45871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45872 *) ac_try_echo=$ac_try;;
45873 esac
45874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45875 (eval "$ac_compile") 2>conftest.er1
45876 ac_status=$?
45877 grep -v '^ *+' conftest.er1 >conftest.err
45878 rm -f conftest.er1
45879 cat conftest.err >&5
45880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45881 (exit $ac_status); } && {
45882 test -z "$ac_c_werror_flag" ||
45883 test ! -s conftest.err
45884 } && test -s conftest.$ac_objext; then
45885
45886 wx_cv_struct_tm_has_gmtoff=yes
45887
45888 else
45889 echo "$as_me: failed program was:" >&5
45890 sed 's/^/| /' conftest.$ac_ext >&5
45891
45892 wx_cv_struct_tm_has_gmtoff=no
45893
45894 fi
45895
45896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45897
45898 fi
45899 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45900 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45901 fi
45902
45903 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define WX_GMTOFF_IN_TM 1
45906 _ACEOF
45907
45908 fi
45909
45910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45911 fi
45912
45913
45914 if test "$wxUSE_SOCKETS" = "yes"; then
45915 if test "$wxUSE_MGL" = 1; then
45916 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45917 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45918 wxUSE_SOCKETS="no"
45919 fi
45920 fi
45921
45922 if test "$wxUSE_SOCKETS" = "yes"; then
45923 if test "$TOOLKIT" != "MSW"; then
45924 { echo "$as_me:$LINENO: checking for socket" >&5
45925 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45926 if test "${ac_cv_func_socket+set}" = set; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929 cat >conftest.$ac_ext <<_ACEOF
45930 /* confdefs.h. */
45931 _ACEOF
45932 cat confdefs.h >>conftest.$ac_ext
45933 cat >>conftest.$ac_ext <<_ACEOF
45934 /* end confdefs.h. */
45935 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45937 #define socket innocuous_socket
45938
45939 /* System header to define __stub macros and hopefully few prototypes,
45940 which can conflict with char socket (); below.
45941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45942 <limits.h> exists even on freestanding compilers. */
45943
45944 #ifdef __STDC__
45945 # include <limits.h>
45946 #else
45947 # include <assert.h>
45948 #endif
45949
45950 #undef socket
45951
45952 /* Override any GCC internal prototype to avoid an error.
45953 Use char because int might match the return type of a GCC
45954 builtin and then its argument prototype would still apply. */
45955 #ifdef __cplusplus
45956 extern "C"
45957 #endif
45958 char socket ();
45959 /* The GNU C library defines this for functions which it implements
45960 to always fail with ENOSYS. Some functions are actually named
45961 something starting with __ and the normal name is an alias. */
45962 #if defined __stub_socket || defined __stub___socket
45963 choke me
45964 #endif
45965
45966 int
45967 main ()
45968 {
45969 return socket ();
45970 ;
45971 return 0;
45972 }
45973 _ACEOF
45974 rm -f conftest.$ac_objext conftest$ac_exeext
45975 if { (ac_try="$ac_link"
45976 case "(($ac_try" in
45977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45978 *) ac_try_echo=$ac_try;;
45979 esac
45980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45981 (eval "$ac_link") 2>conftest.er1
45982 ac_status=$?
45983 grep -v '^ *+' conftest.er1 >conftest.err
45984 rm -f conftest.er1
45985 cat conftest.err >&5
45986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45987 (exit $ac_status); } && {
45988 test -z "$ac_c_werror_flag" ||
45989 test ! -s conftest.err
45990 } && test -s conftest$ac_exeext &&
45991 $as_test_x conftest$ac_exeext; then
45992 ac_cv_func_socket=yes
45993 else
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45996
45997 ac_cv_func_socket=no
45998 fi
45999
46000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46001 conftest$ac_exeext conftest.$ac_ext
46002 fi
46003 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46004 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46005 if test $ac_cv_func_socket = yes; then
46006 :
46007 else
46008
46009 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46010 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46011 if test "${ac_cv_lib_socket_socket+set}" = set; then
46012 echo $ECHO_N "(cached) $ECHO_C" >&6
46013 else
46014 ac_check_lib_save_LIBS=$LIBS
46015 LIBS="-lsocket $LIBS"
46016 cat >conftest.$ac_ext <<_ACEOF
46017 /* confdefs.h. */
46018 _ACEOF
46019 cat confdefs.h >>conftest.$ac_ext
46020 cat >>conftest.$ac_ext <<_ACEOF
46021 /* end confdefs.h. */
46022
46023 /* Override any GCC internal prototype to avoid an error.
46024 Use char because int might match the return type of a GCC
46025 builtin and then its argument prototype would still apply. */
46026 #ifdef __cplusplus
46027 extern "C"
46028 #endif
46029 char socket ();
46030 int
46031 main ()
46032 {
46033 return socket ();
46034 ;
46035 return 0;
46036 }
46037 _ACEOF
46038 rm -f conftest.$ac_objext conftest$ac_exeext
46039 if { (ac_try="$ac_link"
46040 case "(($ac_try" in
46041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46042 *) ac_try_echo=$ac_try;;
46043 esac
46044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46045 (eval "$ac_link") 2>conftest.er1
46046 ac_status=$?
46047 grep -v '^ *+' conftest.er1 >conftest.err
46048 rm -f conftest.er1
46049 cat conftest.err >&5
46050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46051 (exit $ac_status); } && {
46052 test -z "$ac_c_werror_flag" ||
46053 test ! -s conftest.err
46054 } && test -s conftest$ac_exeext &&
46055 $as_test_x conftest$ac_exeext; then
46056 ac_cv_lib_socket_socket=yes
46057 else
46058 echo "$as_me: failed program was:" >&5
46059 sed 's/^/| /' conftest.$ac_ext >&5
46060
46061 ac_cv_lib_socket_socket=no
46062 fi
46063
46064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46065 conftest$ac_exeext conftest.$ac_ext
46066 LIBS=$ac_check_lib_save_LIBS
46067 fi
46068 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46069 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46070 if test $ac_cv_lib_socket_socket = yes; then
46071 if test "$INET_LINK" != " -lsocket"; then
46072 INET_LINK="$INET_LINK -lsocket"
46073 fi
46074 else
46075
46076 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46077 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46078 wxUSE_SOCKETS=no
46079
46080
46081 fi
46082
46083
46084
46085 fi
46086
46087 fi
46088 fi
46089
46090 if test "$wxUSE_SOCKETS" = "yes" ; then
46091 if test "$TOOLKIT" != "MSW"; then
46092 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46093 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46094 if test "${wx_cv_type_getsockname3+set}" = set; then
46095 echo $ECHO_N "(cached) $ECHO_C" >&6
46096 else
46097
46098 ac_ext=cpp
46099 ac_cpp='$CXXCPP $CPPFLAGS'
46100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46103
46104 cat >conftest.$ac_ext <<_ACEOF
46105 /* confdefs.h. */
46106 _ACEOF
46107 cat confdefs.h >>conftest.$ac_ext
46108 cat >>conftest.$ac_ext <<_ACEOF
46109 /* end confdefs.h. */
46110
46111 #include <sys/types.h>
46112 #include <sys/socket.h>
46113
46114 int
46115 main ()
46116 {
46117
46118 socklen_t len;
46119 getsockname(0, 0, &len);
46120
46121 ;
46122 return 0;
46123 }
46124 _ACEOF
46125 rm -f conftest.$ac_objext
46126 if { (ac_try="$ac_compile"
46127 case "(($ac_try" in
46128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46129 *) ac_try_echo=$ac_try;;
46130 esac
46131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46132 (eval "$ac_compile") 2>conftest.er1
46133 ac_status=$?
46134 grep -v '^ *+' conftest.er1 >conftest.err
46135 rm -f conftest.er1
46136 cat conftest.err >&5
46137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46138 (exit $ac_status); } && {
46139 test -z "$ac_cxx_werror_flag" ||
46140 test ! -s conftest.err
46141 } && test -s conftest.$ac_objext; then
46142 wx_cv_type_getsockname3=socklen_t
46143 else
46144 echo "$as_me: failed program was:" >&5
46145 sed 's/^/| /' conftest.$ac_ext >&5
46146
46147
46148 CFLAGS_OLD="$CFLAGS"
46149 if test "$GCC" = yes ; then
46150 CFLAGS="-Werror $CFLAGS"
46151 fi
46152
46153 cat >conftest.$ac_ext <<_ACEOF
46154 /* confdefs.h. */
46155 _ACEOF
46156 cat confdefs.h >>conftest.$ac_ext
46157 cat >>conftest.$ac_ext <<_ACEOF
46158 /* end confdefs.h. */
46159
46160 #include <sys/types.h>
46161 #include <sys/socket.h>
46162
46163 int
46164 main ()
46165 {
46166
46167 size_t len;
46168 getsockname(0, 0, &len);
46169
46170 ;
46171 return 0;
46172 }
46173 _ACEOF
46174 rm -f conftest.$ac_objext
46175 if { (ac_try="$ac_compile"
46176 case "(($ac_try" in
46177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46178 *) ac_try_echo=$ac_try;;
46179 esac
46180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46181 (eval "$ac_compile") 2>conftest.er1
46182 ac_status=$?
46183 grep -v '^ *+' conftest.er1 >conftest.err
46184 rm -f conftest.er1
46185 cat conftest.err >&5
46186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46187 (exit $ac_status); } && {
46188 test -z "$ac_cxx_werror_flag" ||
46189 test ! -s conftest.err
46190 } && test -s conftest.$ac_objext; then
46191 wx_cv_type_getsockname3=size_t
46192 else
46193 echo "$as_me: failed program was:" >&5
46194 sed 's/^/| /' conftest.$ac_ext >&5
46195
46196 cat >conftest.$ac_ext <<_ACEOF
46197 /* confdefs.h. */
46198 _ACEOF
46199 cat confdefs.h >>conftest.$ac_ext
46200 cat >>conftest.$ac_ext <<_ACEOF
46201 /* end confdefs.h. */
46202
46203 #include <sys/types.h>
46204 #include <sys/socket.h>
46205
46206 int
46207 main ()
46208 {
46209
46210 int len;
46211 getsockname(0, 0, &len);
46212
46213 ;
46214 return 0;
46215 }
46216 _ACEOF
46217 rm -f conftest.$ac_objext
46218 if { (ac_try="$ac_compile"
46219 case "(($ac_try" in
46220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46221 *) ac_try_echo=$ac_try;;
46222 esac
46223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46224 (eval "$ac_compile") 2>conftest.er1
46225 ac_status=$?
46226 grep -v '^ *+' conftest.er1 >conftest.err
46227 rm -f conftest.er1
46228 cat conftest.err >&5
46229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46230 (exit $ac_status); } && {
46231 test -z "$ac_cxx_werror_flag" ||
46232 test ! -s conftest.err
46233 } && test -s conftest.$ac_objext; then
46234 wx_cv_type_getsockname3=int
46235 else
46236 echo "$as_me: failed program was:" >&5
46237 sed 's/^/| /' conftest.$ac_ext >&5
46238
46239 wx_cv_type_getsockname3=unknown
46240
46241 fi
46242
46243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46244
46245 fi
46246
46247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46248
46249 CFLAGS="$CFLAGS_OLD"
46250
46251
46252 fi
46253
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262 fi
46263 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46264 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46265
46266 if test "$wx_cv_type_getsockname3" = "unknown"; then
46267 wxUSE_SOCKETS=no
46268 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46269 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46270 else
46271 cat >>confdefs.h <<_ACEOF
46272 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46273 _ACEOF
46274
46275 fi
46276 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46277 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46278 if test "${wx_cv_type_getsockopt5+set}" = set; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 else
46281
46282 ac_ext=cpp
46283 ac_cpp='$CXXCPP $CPPFLAGS'
46284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46287
46288 cat >conftest.$ac_ext <<_ACEOF
46289 /* confdefs.h. */
46290 _ACEOF
46291 cat confdefs.h >>conftest.$ac_ext
46292 cat >>conftest.$ac_ext <<_ACEOF
46293 /* end confdefs.h. */
46294
46295 #include <sys/types.h>
46296 #include <sys/socket.h>
46297
46298 int
46299 main ()
46300 {
46301
46302 socklen_t len;
46303 getsockopt(0, 0, 0, 0, &len);
46304
46305 ;
46306 return 0;
46307 }
46308 _ACEOF
46309 rm -f conftest.$ac_objext
46310 if { (ac_try="$ac_compile"
46311 case "(($ac_try" in
46312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46313 *) ac_try_echo=$ac_try;;
46314 esac
46315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46316 (eval "$ac_compile") 2>conftest.er1
46317 ac_status=$?
46318 grep -v '^ *+' conftest.er1 >conftest.err
46319 rm -f conftest.er1
46320 cat conftest.err >&5
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); } && {
46323 test -z "$ac_cxx_werror_flag" ||
46324 test ! -s conftest.err
46325 } && test -s conftest.$ac_objext; then
46326 wx_cv_type_getsockopt5=socklen_t
46327 else
46328 echo "$as_me: failed program was:" >&5
46329 sed 's/^/| /' conftest.$ac_ext >&5
46330
46331
46332 cat >conftest.$ac_ext <<_ACEOF
46333 /* confdefs.h. */
46334 _ACEOF
46335 cat confdefs.h >>conftest.$ac_ext
46336 cat >>conftest.$ac_ext <<_ACEOF
46337 /* end confdefs.h. */
46338
46339 #include <sys/types.h>
46340 #include <sys/socket.h>
46341
46342 int
46343 main ()
46344 {
46345
46346 size_t len;
46347 getsockopt(0, 0, 0, 0, &len);
46348
46349 ;
46350 return 0;
46351 }
46352 _ACEOF
46353 rm -f conftest.$ac_objext
46354 if { (ac_try="$ac_compile"
46355 case "(($ac_try" in
46356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46357 *) ac_try_echo=$ac_try;;
46358 esac
46359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46360 (eval "$ac_compile") 2>conftest.er1
46361 ac_status=$?
46362 grep -v '^ *+' conftest.er1 >conftest.err
46363 rm -f conftest.er1
46364 cat conftest.err >&5
46365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366 (exit $ac_status); } && {
46367 test -z "$ac_cxx_werror_flag" ||
46368 test ! -s conftest.err
46369 } && test -s conftest.$ac_objext; then
46370 wx_cv_type_getsockopt5=size_t
46371 else
46372 echo "$as_me: failed program was:" >&5
46373 sed 's/^/| /' conftest.$ac_ext >&5
46374
46375 cat >conftest.$ac_ext <<_ACEOF
46376 /* confdefs.h. */
46377 _ACEOF
46378 cat confdefs.h >>conftest.$ac_ext
46379 cat >>conftest.$ac_ext <<_ACEOF
46380 /* end confdefs.h. */
46381
46382 #include <sys/types.h>
46383 #include <sys/socket.h>
46384
46385 int
46386 main ()
46387 {
46388
46389 int len;
46390 getsockopt(0, 0, 0, 0, &len);
46391
46392 ;
46393 return 0;
46394 }
46395 _ACEOF
46396 rm -f conftest.$ac_objext
46397 if { (ac_try="$ac_compile"
46398 case "(($ac_try" in
46399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46400 *) ac_try_echo=$ac_try;;
46401 esac
46402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46403 (eval "$ac_compile") 2>conftest.er1
46404 ac_status=$?
46405 grep -v '^ *+' conftest.er1 >conftest.err
46406 rm -f conftest.er1
46407 cat conftest.err >&5
46408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46409 (exit $ac_status); } && {
46410 test -z "$ac_cxx_werror_flag" ||
46411 test ! -s conftest.err
46412 } && test -s conftest.$ac_objext; then
46413 wx_cv_type_getsockopt5=int
46414 else
46415 echo "$as_me: failed program was:" >&5
46416 sed 's/^/| /' conftest.$ac_ext >&5
46417
46418 wx_cv_type_getsockopt5=unknown
46419
46420 fi
46421
46422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46423
46424 fi
46425
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427
46428
46429 fi
46430
46431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46432 ac_ext=c
46433 ac_cpp='$CPP $CPPFLAGS'
46434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46437
46438
46439 fi
46440 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46441 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46442
46443 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46444 wxUSE_SOCKETS=no
46445 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46446 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46447 else
46448 cat >>confdefs.h <<_ACEOF
46449 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46450 _ACEOF
46451
46452 fi
46453 fi
46454 fi
46455
46456 if test "$wxUSE_SOCKETS" = "yes" ; then
46457 if test "$wxUSE_IPV6" = "yes"; then
46458 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46459 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46460 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46461 echo $ECHO_N "(cached) $ECHO_C" >&6
46462 else
46463
46464 cat >conftest.$ac_ext <<_ACEOF
46465 /* confdefs.h. */
46466 _ACEOF
46467 cat confdefs.h >>conftest.$ac_ext
46468 cat >>conftest.$ac_ext <<_ACEOF
46469 /* end confdefs.h. */
46470
46471 #include <sys/types.h>
46472 #include <sys/socket.h>
46473 #include <netinet/in.h>
46474
46475 int
46476 main ()
46477 {
46478
46479 struct sockaddr_in6 sa6;
46480
46481 ;
46482 return 0;
46483 }
46484 _ACEOF
46485 rm -f conftest.$ac_objext
46486 if { (ac_try="$ac_compile"
46487 case "(($ac_try" in
46488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46489 *) ac_try_echo=$ac_try;;
46490 esac
46491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46492 (eval "$ac_compile") 2>conftest.er1
46493 ac_status=$?
46494 grep -v '^ *+' conftest.er1 >conftest.err
46495 rm -f conftest.er1
46496 cat conftest.err >&5
46497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46498 (exit $ac_status); } && {
46499 test -z "$ac_c_werror_flag" ||
46500 test ! -s conftest.err
46501 } && test -s conftest.$ac_objext; then
46502 wx_cv_type_sockaddr_in6=yes
46503 else
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.$ac_ext >&5
46506
46507 wx_cv_type_sockaddr_in6=no
46508
46509 fi
46510
46511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46512
46513
46514 fi
46515 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46516 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46517
46518 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_IPV6 1
46521 _ACEOF
46522
46523 else
46524 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46525 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46526 fi
46527 fi
46528
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_SOCKETS 1
46531 _ACEOF
46532
46533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46534 fi
46535
46536 if test "$wxUSE_PROTOCOL" = "yes"; then
46537 if test "$wxUSE_SOCKETS" != "yes"; then
46538 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46539 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46540 wxUSE_PROTOCOL=no
46541 fi
46542 fi
46543
46544 if test "$wxUSE_PROTOCOL" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_PROTOCOL 1
46547 _ACEOF
46548
46549
46550 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_PROTOCOL_HTTP 1
46553 _ACEOF
46554
46555 fi
46556 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_PROTOCOL_FTP 1
46559 _ACEOF
46560
46561 fi
46562 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_PROTOCOL_FILE 1
46565 _ACEOF
46566
46567 fi
46568 else
46569 if test "$wxUSE_FS_INET" = "yes"; then
46570 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46571 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46572 wxUSE_FS_INET="no"
46573 fi
46574 fi
46575
46576 if test "$wxUSE_URL" = "yes"; then
46577 if test "$wxUSE_PROTOCOL" != "yes"; then
46578 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46579 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46580 wxUSE_URL=no
46581 fi
46582 if test "$wxUSE_URL" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_URL 1
46585 _ACEOF
46586
46587 fi
46588 fi
46589
46590 if test "$wxUSE_VARIANT" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_VARIANT 1
46593 _ACEOF
46594
46595 fi
46596
46597 if test "$wxUSE_FS_INET" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_FS_INET 1
46600 _ACEOF
46601
46602 fi
46603
46604
46605 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46606 wxUSE_JOYSTICK=no
46607
46608 if test "$TOOLKIT" = "MSW"; then
46609 wxUSE_JOYSTICK=yes
46610
46611 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46612 if test "$USE_DARWIN" = 1; then
46613 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46614 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46615 ac_ext=cpp
46616 ac_cpp='$CXXCPP $CPPFLAGS'
46617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46620
46621 cat >conftest.$ac_ext <<_ACEOF
46622 /* confdefs.h. */
46623 _ACEOF
46624 cat confdefs.h >>conftest.$ac_ext
46625 cat >>conftest.$ac_ext <<_ACEOF
46626 /* end confdefs.h. */
46627 #include <IOKit/hid/IOHIDLib.h>
46628 int
46629 main ()
46630 {
46631 IOHIDQueueInterface *qi = NULL;
46632 IOHIDCallbackFunction cb = NULL;
46633 qi->setEventCallout(NULL, cb, NULL, NULL);
46634 ;
46635 return 0;
46636 }
46637 _ACEOF
46638 rm -f conftest.$ac_objext
46639 if { (ac_try="$ac_compile"
46640 case "(($ac_try" in
46641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46642 *) ac_try_echo=$ac_try;;
46643 esac
46644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46645 (eval "$ac_compile") 2>conftest.er1
46646 ac_status=$?
46647 grep -v '^ *+' conftest.er1 >conftest.err
46648 rm -f conftest.er1
46649 cat conftest.err >&5
46650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651 (exit $ac_status); } && {
46652 test -z "$ac_cxx_werror_flag" ||
46653 test ! -s conftest.err
46654 } && test -s conftest.$ac_objext; then
46655 wxUSE_JOYSTICK=yes
46656
46657 else
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.$ac_ext >&5
46660
46661
46662 fi
46663
46664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46665 ac_ext=c
46666 ac_cpp='$CPP $CPPFLAGS'
46667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46670
46671 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46672 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46673 fi
46674
46675 else
46676 if test "$wxUSE_MGL" != 1; then
46677
46678 for ac_header in linux/joystick.h
46679 do
46680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46684 echo $ECHO_N "(cached) $ECHO_C" >&6
46685 else
46686 cat >conftest.$ac_ext <<_ACEOF
46687 /* confdefs.h. */
46688 _ACEOF
46689 cat confdefs.h >>conftest.$ac_ext
46690 cat >>conftest.$ac_ext <<_ACEOF
46691 /* end confdefs.h. */
46692 $ac_includes_default
46693
46694 #include <$ac_header>
46695 _ACEOF
46696 rm -f conftest.$ac_objext
46697 if { (ac_try="$ac_compile"
46698 case "(($ac_try" in
46699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46700 *) ac_try_echo=$ac_try;;
46701 esac
46702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46703 (eval "$ac_compile") 2>conftest.er1
46704 ac_status=$?
46705 grep -v '^ *+' conftest.er1 >conftest.err
46706 rm -f conftest.er1
46707 cat conftest.err >&5
46708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46709 (exit $ac_status); } && {
46710 test -z "$ac_c_werror_flag" ||
46711 test ! -s conftest.err
46712 } && test -s conftest.$ac_objext; then
46713 eval "$as_ac_Header=yes"
46714 else
46715 echo "$as_me: failed program was:" >&5
46716 sed 's/^/| /' conftest.$ac_ext >&5
46717
46718 eval "$as_ac_Header=no"
46719 fi
46720
46721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46722 fi
46723 ac_res=`eval echo '${'$as_ac_Header'}'`
46724 { echo "$as_me:$LINENO: result: $ac_res" >&5
46725 echo "${ECHO_T}$ac_res" >&6; }
46726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46727 cat >>confdefs.h <<_ACEOF
46728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46729 _ACEOF
46730 wxUSE_JOYSTICK=yes
46731 fi
46732
46733 done
46734
46735 fi
46736 fi
46737
46738 if test "$wxUSE_JOYSTICK" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_JOYSTICK 1
46741 _ACEOF
46742
46743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46744 else
46745 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46746 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46747 fi
46748 fi
46749
46750
46751
46752 if test "$wxUSE_FONTENUM" = "yes" ; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_FONTENUM 1
46755 _ACEOF
46756
46757 fi
46758
46759 if test "$wxUSE_FONTMAP" = "yes" ; then
46760 cat >>confdefs.h <<\_ACEOF
46761 #define wxUSE_FONTMAP 1
46762 _ACEOF
46763
46764 fi
46765
46766 if test "$wxUSE_UNICODE" = "yes" ; then
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_UNICODE 1
46769 _ACEOF
46770
46771
46772 if test "$USE_WIN32" != 1; then
46773 wxUSE_UNICODE_MSLU=no
46774 fi
46775
46776 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46777 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46778 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46779 if test "${ac_cv_lib_unicows_main+set}" = set; then
46780 echo $ECHO_N "(cached) $ECHO_C" >&6
46781 else
46782 ac_check_lib_save_LIBS=$LIBS
46783 LIBS="-lunicows $LIBS"
46784 cat >conftest.$ac_ext <<_ACEOF
46785 /* confdefs.h. */
46786 _ACEOF
46787 cat confdefs.h >>conftest.$ac_ext
46788 cat >>conftest.$ac_ext <<_ACEOF
46789 /* end confdefs.h. */
46790
46791
46792 int
46793 main ()
46794 {
46795 return main ();
46796 ;
46797 return 0;
46798 }
46799 _ACEOF
46800 rm -f conftest.$ac_objext conftest$ac_exeext
46801 if { (ac_try="$ac_link"
46802 case "(($ac_try" in
46803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46804 *) ac_try_echo=$ac_try;;
46805 esac
46806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46807 (eval "$ac_link") 2>conftest.er1
46808 ac_status=$?
46809 grep -v '^ *+' conftest.er1 >conftest.err
46810 rm -f conftest.er1
46811 cat conftest.err >&5
46812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813 (exit $ac_status); } && {
46814 test -z "$ac_c_werror_flag" ||
46815 test ! -s conftest.err
46816 } && test -s conftest$ac_exeext &&
46817 $as_test_x conftest$ac_exeext; then
46818 ac_cv_lib_unicows_main=yes
46819 else
46820 echo "$as_me: failed program was:" >&5
46821 sed 's/^/| /' conftest.$ac_ext >&5
46822
46823 ac_cv_lib_unicows_main=no
46824 fi
46825
46826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46827 conftest$ac_exeext conftest.$ac_ext
46828 LIBS=$ac_check_lib_save_LIBS
46829 fi
46830 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46831 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46832 if test $ac_cv_lib_unicows_main = yes; then
46833
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_UNICODE_MSLU 1
46836 _ACEOF
46837
46838
46839 else
46840
46841 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46842 Applications will only run on Windows NT/2000/XP!" >&5
46843 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46844 Applications will only run on Windows NT/2000/XP!" >&2;}
46845 wxUSE_UNICODE_MSLU=no
46846
46847 fi
46848
46849 fi
46850 fi
46851
46852 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46853 cat >>confdefs.h <<\_ACEOF
46854 #define wxUSE_UNICODE_UTF8 1
46855 _ACEOF
46856
46857
46858 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_UTF8_LOCALE_ONLY 1
46861 _ACEOF
46862
46863 fi
46864 fi
46865
46866
46867 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_CONSTRAINTS 1
46870 _ACEOF
46871
46872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46873 fi
46874
46875 if test "$wxUSE_MDI" = "yes"; then
46876 cat >>confdefs.h <<\_ACEOF
46877 #define wxUSE_MDI 1
46878 _ACEOF
46879
46880
46881 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_MDI_ARCHITECTURE 1
46884 _ACEOF
46885
46886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46887 fi
46888 fi
46889
46890 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46893 _ACEOF
46894
46895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46896 fi
46897
46898 if test "$wxUSE_HELP" = "yes"; then
46899 cat >>confdefs.h <<\_ACEOF
46900 #define wxUSE_HELP 1
46901 _ACEOF
46902
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46904
46905 if test "$wxUSE_MSW" = 1; then
46906 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46907 cat >>confdefs.h <<\_ACEOF
46908 #define wxUSE_MS_HTML_HELP 1
46909 _ACEOF
46910
46911 fi
46912 fi
46913
46914 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46915 if test "$wxUSE_HTML" = "yes"; then
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_WXHTML_HELP 1
46918 _ACEOF
46919
46920 else
46921 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46922 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46923 wxUSE_WXHTML_HELP=no
46924 fi
46925 fi
46926 fi
46927
46928 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46929 cat >>confdefs.h <<\_ACEOF
46930 #define wxUSE_PRINTING_ARCHITECTURE 1
46931 _ACEOF
46932
46933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46934 fi
46935
46936 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46937 cat >>confdefs.h <<\_ACEOF
46938 #define wxUSE_POSTSCRIPT 1
46939 _ACEOF
46940
46941 fi
46942
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46945 _ACEOF
46946
46947
46948 if test "$wxUSE_SVG" = "yes"; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_SVG 1
46951 _ACEOF
46952
46953 fi
46954
46955
46956 if test "$wxUSE_METAFILE" = "yes"; then
46957 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46958 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46959 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46960 wxUSE_METAFILE=no
46961 fi
46962 fi
46963
46964
46965 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46966 -o "$wxUSE_CLIPBOARD" = "yes" \
46967 -o "$wxUSE_OLE" = "yes" \
46968 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46969 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46970 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46971 if test "${ac_cv_header_ole2_h+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46974 cat >conftest.$ac_ext <<_ACEOF
46975 /* confdefs.h. */
46976 _ACEOF
46977 cat confdefs.h >>conftest.$ac_ext
46978 cat >>conftest.$ac_ext <<_ACEOF
46979 /* end confdefs.h. */
46980
46981
46982 #include <ole2.h>
46983 _ACEOF
46984 rm -f conftest.$ac_objext
46985 if { (ac_try="$ac_compile"
46986 case "(($ac_try" in
46987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46988 *) ac_try_echo=$ac_try;;
46989 esac
46990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46991 (eval "$ac_compile") 2>conftest.er1
46992 ac_status=$?
46993 grep -v '^ *+' conftest.er1 >conftest.err
46994 rm -f conftest.er1
46995 cat conftest.err >&5
46996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46997 (exit $ac_status); } && {
46998 test -z "$ac_c_werror_flag" ||
46999 test ! -s conftest.err
47000 } && test -s conftest.$ac_objext; then
47001 ac_cv_header_ole2_h=yes
47002 else
47003 echo "$as_me: failed program was:" >&5
47004 sed 's/^/| /' conftest.$ac_ext >&5
47005
47006 ac_cv_header_ole2_h=no
47007 fi
47008
47009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47010 fi
47011 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47012 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47013
47014
47015
47016 if test "$ac_cv_header_ole2_h" = "yes" ; then
47017 if test "$GCC" = yes ; then
47018 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47019 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47020 cat >conftest.$ac_ext <<_ACEOF
47021 /* confdefs.h. */
47022 _ACEOF
47023 cat confdefs.h >>conftest.$ac_ext
47024 cat >>conftest.$ac_ext <<_ACEOF
47025 /* end confdefs.h. */
47026 #include <windows.h>
47027 #include <ole2.h>
47028 int
47029 main ()
47030 {
47031
47032 ;
47033 return 0;
47034 }
47035 _ACEOF
47036 rm -f conftest.$ac_objext
47037 if { (ac_try="$ac_compile"
47038 case "(($ac_try" in
47039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47040 *) ac_try_echo=$ac_try;;
47041 esac
47042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47043 (eval "$ac_compile") 2>conftest.er1
47044 ac_status=$?
47045 grep -v '^ *+' conftest.er1 >conftest.err
47046 rm -f conftest.er1
47047 cat conftest.err >&5
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); } && {
47050 test -z "$ac_c_werror_flag" ||
47051 test ! -s conftest.err
47052 } && test -s conftest.$ac_objext; then
47053 { echo "$as_me:$LINENO: result: no" >&5
47054 echo "${ECHO_T}no" >&6; }
47055 else
47056 echo "$as_me: failed program was:" >&5
47057 sed 's/^/| /' conftest.$ac_ext >&5
47058
47059 { echo "$as_me:$LINENO: result: yes" >&5
47060 echo "${ECHO_T}yes" >&6; }
47061 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47062 fi
47063
47064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47065 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47066 if test "$wxUSE_OLE" = "yes" ; then
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_OLE 1
47069 _ACEOF
47070
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_OLE_AUTOMATION 1
47073 _ACEOF
47074
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_ACTIVEX 1
47077 _ACEOF
47078
47079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47080 fi
47081 fi
47082
47083 if test "$wxUSE_DATAOBJ" = "yes" ; then
47084 cat >>confdefs.h <<\_ACEOF
47085 #define wxUSE_DATAOBJ 1
47086 _ACEOF
47087
47088 fi
47089 else
47090 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47091 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47092
47093 wxUSE_CLIPBOARD=no
47094 wxUSE_DRAG_AND_DROP=no
47095 wxUSE_DATAOBJ=no
47096 wxUSE_OLE=no
47097 fi
47098
47099 if test "$wxUSE_METAFILE" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_METAFILE 1
47102 _ACEOF
47103
47104
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_ENH_METAFILE 1
47107 _ACEOF
47108
47109 fi
47110 fi
47111
47112 if test "$wxUSE_IPC" = "yes"; then
47113 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47114 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47115 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47116 wxUSE_IPC=no
47117 fi
47118
47119 if test "$wxUSE_IPC" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_IPC 1
47122 _ACEOF
47123
47124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47125 fi
47126 fi
47127
47128 if test "$wxUSE_DATAOBJ" = "yes"; then
47129 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47130 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47131 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47132 wxUSE_DATAOBJ=no
47133 else
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_DATAOBJ 1
47136 _ACEOF
47137
47138 fi
47139 else
47140 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47141 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47142 wxUSE_CLIPBOARD=no
47143 wxUSE_DRAG_AND_DROP=no
47144 fi
47145
47146 if test "$wxUSE_CLIPBOARD" = "yes"; then
47147 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47148 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47149 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47150 wxUSE_CLIPBOARD=no
47151 fi
47152
47153 if test "$wxUSE_CLIPBOARD" = "yes"; then
47154 cat >>confdefs.h <<\_ACEOF
47155 #define wxUSE_CLIPBOARD 1
47156 _ACEOF
47157
47158 fi
47159 fi
47160
47161 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47162 if test "$wxUSE_GTK" = 1; then
47163 if test "$WXGTK12" != 1; then
47164 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47165 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47166 wxUSE_DRAG_AND_DROP=no
47167 fi
47168 fi
47169
47170 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47171 "$wxUSE_DFB" = 1; then
47172 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47173 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47174 wxUSE_DRAG_AND_DROP=no
47175 fi
47176
47177 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47178 cat >>confdefs.h <<\_ACEOF
47179 #define wxUSE_DRAG_AND_DROP 1
47180 _ACEOF
47181
47182 fi
47183
47184 fi
47185
47186 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47188 fi
47189
47190 if test "$wxUSE_CLIPBOARD" = "yes"; then
47191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47192 fi
47193
47194 if test "$wxUSE_SPLINES" = "yes" ; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_SPLINES 1
47197 _ACEOF
47198
47199 fi
47200
47201 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_MOUSEWHEEL 1
47204 _ACEOF
47205
47206 fi
47207
47208 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_UIACTIONSIMULATOR 1
47211 _ACEOF
47212
47213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47214 fi
47215
47216 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47217 cat >>confdefs.h <<\_ACEOF
47218 #define wxUSE_DC_TRANSFORM_MATRIX 1
47219 _ACEOF
47220
47221 fi
47222
47223
47224 USES_CONTROLS=0
47225 if test "$wxUSE_CONTROLS" = "yes"; then
47226 USES_CONTROLS=1
47227 fi
47228
47229 if test "$wxUSE_MARKUP" = "yes"; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_MARKUP 1
47232 _ACEOF
47233
47234 fi
47235
47236 if test "$wxUSE_ACCEL" = "yes"; then
47237 cat >>confdefs.h <<\_ACEOF
47238 #define wxUSE_ACCEL 1
47239 _ACEOF
47240
47241 USES_CONTROLS=1
47242 fi
47243
47244 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47245 cat >>confdefs.h <<\_ACEOF
47246 #define wxUSE_ANIMATIONCTRL 1
47247 _ACEOF
47248
47249 USES_CONTROLS=1
47250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47251 fi
47252
47253 if test "$wxUSE_BUTTON" = "yes"; then
47254 cat >>confdefs.h <<\_ACEOF
47255 #define wxUSE_BUTTON 1
47256 _ACEOF
47257
47258 USES_CONTROLS=1
47259 fi
47260
47261 if test "$wxUSE_BMPBUTTON" = "yes"; then
47262 cat >>confdefs.h <<\_ACEOF
47263 #define wxUSE_BMPBUTTON 1
47264 _ACEOF
47265
47266 USES_CONTROLS=1
47267 fi
47268
47269 if test "$wxUSE_CALCTRL" = "yes"; then
47270 cat >>confdefs.h <<\_ACEOF
47271 #define wxUSE_CALENDARCTRL 1
47272 _ACEOF
47273
47274 USES_CONTROLS=1
47275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47276 fi
47277
47278 if test "$wxUSE_CARET" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_CARET 1
47281 _ACEOF
47282
47283 USES_CONTROLS=1
47284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47285 fi
47286
47287 if test "$wxUSE_COLLPANE" = "yes"; then
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_COLLPANE 1
47290 _ACEOF
47291
47292 USES_CONTROLS=1
47293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47294 fi
47295
47296 if test "$wxUSE_COMBOBOX" = "yes"; then
47297 cat >>confdefs.h <<\_ACEOF
47298 #define wxUSE_COMBOBOX 1
47299 _ACEOF
47300
47301 USES_CONTROLS=1
47302 fi
47303
47304 if test "$wxUSE_COMBOCTRL" = "yes"; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_COMBOCTRL 1
47307 _ACEOF
47308
47309 USES_CONTROLS=1
47310 fi
47311
47312 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_COMMANDLINKBUTTON 1
47315 _ACEOF
47316
47317 USES_CONTROLS=1
47318 fi
47319
47320 if test "$wxUSE_CHOICE" = "yes"; then
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_CHOICE 1
47323 _ACEOF
47324
47325 USES_CONTROLS=1
47326 fi
47327
47328 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_CHOICEBOOK 1
47331 _ACEOF
47332
47333 USES_CONTROLS=1
47334 fi
47335
47336 if test "$wxUSE_CHECKBOX" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_CHECKBOX 1
47339 _ACEOF
47340
47341 USES_CONTROLS=1
47342 fi
47343
47344 if test "$wxUSE_CHECKLST" = "yes"; then
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_CHECKLISTBOX 1
47347 _ACEOF
47348
47349 USES_CONTROLS=1
47350 fi
47351
47352 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47353 cat >>confdefs.h <<\_ACEOF
47354 #define wxUSE_COLOURPICKERCTRL 1
47355 _ACEOF
47356
47357 USES_CONTROLS=1
47358 fi
47359
47360 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_DATEPICKCTRL 1
47363 _ACEOF
47364
47365 USES_CONTROLS=1
47366 fi
47367
47368 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47369 cat >>confdefs.h <<\_ACEOF
47370 #define wxUSE_DIRPICKERCTRL 1
47371 _ACEOF
47372
47373 USES_CONTROLS=1
47374 fi
47375
47376 if test "$wxUSE_FILECTRL" = "yes"; then
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_FILECTRL 1
47379 _ACEOF
47380
47381 USES_CONTROLS=1
47382 fi
47383
47384 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47385 cat >>confdefs.h <<\_ACEOF
47386 #define wxUSE_FILEPICKERCTRL 1
47387 _ACEOF
47388
47389 USES_CONTROLS=1
47390 fi
47391
47392 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_FONTPICKERCTRL 1
47395 _ACEOF
47396
47397 USES_CONTROLS=1
47398 fi
47399
47400 if test "$wxUSE_DISPLAY" = "yes"; then
47401 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47402 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47403 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47404 wxUSE_DISPLAY=no
47405 else
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_DISPLAY 1
47408 _ACEOF
47409
47410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47411 fi
47412 fi
47413
47414 if test "$wxUSE_DETECT_SM" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_DETECT_SM 1
47417 _ACEOF
47418
47419 fi
47420
47421 if test "$wxUSE_GAUGE" = "yes"; then
47422 cat >>confdefs.h <<\_ACEOF
47423 #define wxUSE_GAUGE 1
47424 _ACEOF
47425
47426 USES_CONTROLS=1
47427 fi
47428
47429 if test "$wxUSE_GRID" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_GRID 1
47432 _ACEOF
47433
47434 USES_CONTROLS=1
47435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47436 fi
47437
47438 if test "$wxUSE_HEADERCTRL" = "yes"; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_HEADERCTRL 1
47441 _ACEOF
47442
47443 USES_CONTROLS=1
47444 fi
47445
47446 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_HYPERLINKCTRL 1
47449 _ACEOF
47450
47451 USES_CONTROLS=1
47452 fi
47453
47454 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_BITMAPCOMBOBOX 1
47457 _ACEOF
47458
47459 USES_CONTROLS=1
47460 fi
47461
47462 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_DATAVIEWCTRL 1
47465 _ACEOF
47466
47467 USES_CONTROLS=1
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47469 fi
47470
47471 if test "$wxUSE_IMAGLIST" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_IMAGLIST 1
47474 _ACEOF
47475
47476 fi
47477
47478 if test "$wxUSE_INFOBAR" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_INFOBAR 1
47481 _ACEOF
47482
47483 fi
47484
47485 if test "$wxUSE_LISTBOOK" = "yes"; then
47486 cat >>confdefs.h <<\_ACEOF
47487 #define wxUSE_LISTBOOK 1
47488 _ACEOF
47489
47490 USES_CONTROLS=1
47491 fi
47492
47493 if test "$wxUSE_LISTBOX" = "yes"; then
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_LISTBOX 1
47496 _ACEOF
47497
47498 USES_CONTROLS=1
47499 fi
47500
47501 if test "$wxUSE_LISTCTRL" = "yes"; then
47502 if test "$wxUSE_IMAGLIST" = "yes"; then
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_LISTCTRL 1
47505 _ACEOF
47506
47507 USES_CONTROLS=1
47508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47509 else
47510 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47511 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47512 fi
47513 fi
47514
47515 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47516 cat >>confdefs.h <<\_ACEOF
47517 #define wxUSE_EDITABLELISTBOX 1
47518 _ACEOF
47519
47520 USES_CONTROLS=1
47521 fi
47522
47523 if test "$wxUSE_NOTEBOOK" = "yes"; then
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_NOTEBOOK 1
47526 _ACEOF
47527
47528 USES_CONTROLS=1
47529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47530 fi
47531
47532 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_NOTIFICATION_MESSAGE 1
47535 _ACEOF
47536
47537 fi
47538
47539 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47540 cat >>confdefs.h <<\_ACEOF
47541 #define wxUSE_ODCOMBOBOX 1
47542 _ACEOF
47543
47544 USES_CONTROLS=1
47545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47546 fi
47547
47548 if test "$wxUSE_RADIOBOX" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_RADIOBOX 1
47551 _ACEOF
47552
47553 USES_CONTROLS=1
47554 fi
47555
47556 if test "$wxUSE_RADIOBTN" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_RADIOBTN 1
47559 _ACEOF
47560
47561 USES_CONTROLS=1
47562 fi
47563
47564 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_REARRANGECTRL 1
47567 _ACEOF
47568
47569 fi
47570
47571 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47572 cat >>confdefs.h <<\_ACEOF
47573 #define wxUSE_RICHMSGDLG 1
47574 _ACEOF
47575
47576 fi
47577
47578 if test "$wxUSE_SASH" = "yes"; then
47579 cat >>confdefs.h <<\_ACEOF
47580 #define wxUSE_SASH 1
47581 _ACEOF
47582
47583 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47584 fi
47585
47586 if test "$wxUSE_SCROLLBAR" = "yes"; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_SCROLLBAR 1
47589 _ACEOF
47590
47591 USES_CONTROLS=1
47592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47593 fi
47594
47595 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47596 cat >>confdefs.h <<\_ACEOF
47597 #define wxUSE_SEARCHCTRL 1
47598 _ACEOF
47599
47600 USES_CONTROLS=1
47601 fi
47602
47603 if test "$wxUSE_SLIDER" = "yes"; then
47604 cat >>confdefs.h <<\_ACEOF
47605 #define wxUSE_SLIDER 1
47606 _ACEOF
47607
47608 USES_CONTROLS=1
47609 fi
47610
47611 if test "$wxUSE_SPINBTN" = "yes"; then
47612 cat >>confdefs.h <<\_ACEOF
47613 #define wxUSE_SPINBTN 1
47614 _ACEOF
47615
47616 USES_CONTROLS=1
47617 fi
47618
47619 if test "$wxUSE_SPINCTRL" = "yes"; then
47620 cat >>confdefs.h <<\_ACEOF
47621 #define wxUSE_SPINCTRL 1
47622 _ACEOF
47623
47624 USES_CONTROLS=1
47625 fi
47626
47627 if test "$wxUSE_SPLITTER" = "yes"; then
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_SPLITTER 1
47630 _ACEOF
47631
47632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47633 fi
47634
47635 if test "$wxUSE_STATBMP" = "yes"; then
47636 cat >>confdefs.h <<\_ACEOF
47637 #define wxUSE_STATBMP 1
47638 _ACEOF
47639
47640 USES_CONTROLS=1
47641 fi
47642
47643 if test "$wxUSE_STATBOX" = "yes"; then
47644 cat >>confdefs.h <<\_ACEOF
47645 #define wxUSE_STATBOX 1
47646 _ACEOF
47647
47648 USES_CONTROLS=1
47649 fi
47650
47651 if test "$wxUSE_STATTEXT" = "yes"; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define wxUSE_STATTEXT 1
47654 _ACEOF
47655
47656 USES_CONTROLS=1
47657 fi
47658
47659 if test "$wxUSE_STATLINE" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_STATLINE 1
47662 _ACEOF
47663
47664 USES_CONTROLS=1
47665 fi
47666
47667 if test "$wxUSE_STATUSBAR" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_NATIVE_STATUSBAR 1
47670 _ACEOF
47671
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_STATUSBAR 1
47674 _ACEOF
47675
47676 USES_CONTROLS=1
47677
47678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47679 fi
47680
47681 if test "$wxUSE_TEXTCTRL" = "yes"; then
47682 cat >>confdefs.h <<\_ACEOF
47683 #define wxUSE_TEXTCTRL 1
47684 _ACEOF
47685
47686 USES_CONTROLS=1
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47688
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_RICHEDIT 1
47691 _ACEOF
47692
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_RICHEDIT2 1
47695 _ACEOF
47696
47697 fi
47698
47699 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47700 if test "$wxUSE_OLD_COCOA" = 1 ; then
47701 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47702 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47703 wxUSE_TOGGLEBTN=no
47704 fi
47705
47706 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47707 cat >>confdefs.h <<\_ACEOF
47708 #define wxUSE_TOGGLEBTN 1
47709 _ACEOF
47710
47711 USES_CONTROLS=1
47712 fi
47713 fi
47714
47715 if test "$wxUSE_TOOLBAR" = "yes"; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_TOOLBAR 1
47718 _ACEOF
47719
47720 USES_CONTROLS=1
47721
47722 if test "$wxUSE_UNIVERSAL" = "yes"; then
47723 wxUSE_TOOLBAR_NATIVE="no"
47724 else
47725 wxUSE_TOOLBAR_NATIVE="yes"
47726 cat >>confdefs.h <<\_ACEOF
47727 #define wxUSE_TOOLBAR_NATIVE 1
47728 _ACEOF
47729
47730 fi
47731
47732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47733 fi
47734
47735 if test "$wxUSE_TOOLTIPS" = "yes"; then
47736 if test "$wxUSE_MOTIF" = 1; then
47737 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47738 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47739 else
47740 if test "$wxUSE_UNIVERSAL" = "yes"; then
47741 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47742 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47743 else
47744 cat >>confdefs.h <<\_ACEOF
47745 #define wxUSE_TOOLTIPS 1
47746 _ACEOF
47747
47748 fi
47749 fi
47750 fi
47751
47752 if test "$wxUSE_TREEBOOK" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_TREEBOOK 1
47755 _ACEOF
47756
47757 USES_CONTROLS=1
47758 fi
47759
47760 if test "$wxUSE_TOOLBOOK" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_TOOLBOOK 1
47763 _ACEOF
47764
47765 USES_CONTROLS=1
47766 fi
47767
47768 if test "$wxUSE_TREECTRL" = "yes"; then
47769 if test "$wxUSE_IMAGLIST" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_TREECTRL 1
47772 _ACEOF
47773
47774 USES_CONTROLS=1
47775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47776 else
47777 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47778 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47779 fi
47780 fi
47781
47782 if test "$wxUSE_POPUPWIN" = "yes"; then
47783 if test "$wxUSE_OLD_COCOA" = 1 ; then
47784 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47785 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47786 else
47787 if test "$wxUSE_PM" = 1; then
47788 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47789 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47790 else
47791 cat >>confdefs.h <<\_ACEOF
47792 #define wxUSE_POPUPWIN 1
47793 _ACEOF
47794
47795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47796
47797 USES_CONTROLS=1
47798 fi
47799 fi
47800 fi
47801
47802 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47803 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47804 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47805 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47806 else
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_DIALUP_MANAGER 1
47809 _ACEOF
47810
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47812 fi
47813 fi
47814
47815 if test "$wxUSE_TIPWINDOW" = "yes"; then
47816 if test "$wxUSE_PM" = 1; then
47817 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47818 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47819 else
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_TIPWINDOW 1
47822 _ACEOF
47823
47824 fi
47825 fi
47826
47827 if test "$USES_CONTROLS" = 1; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_CONTROLS 1
47830 _ACEOF
47831
47832 fi
47833
47834
47835 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_ACCESSIBILITY 1
47838 _ACEOF
47839
47840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47841 fi
47842
47843 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_ARTPROVIDER_STD 1
47846 _ACEOF
47847
47848 fi
47849
47850 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47851 if test "$wxUSE_GTK" != 1; then
47852 if test "$wxUSE_LIBPNG" != no -a \
47853 "$wxUSE_IMAGE" = yes -a \
47854 "$wxUSE_STREAMS" = yes; then
47855 wxUSE_ARTPROVIDER_TANGO="yes"
47856 fi
47857 fi
47858 fi
47859
47860 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_ARTPROVIDER_TANGO 1
47863 _ACEOF
47864
47865 fi
47866
47867 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_DRAGIMAGE 1
47870 _ACEOF
47871
47872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47873 fi
47874
47875 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47876 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47877 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47878 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47879 else
47880 cat >>confdefs.h <<\_ACEOF
47881 #define wxUSE_EXCEPTIONS 1
47882 _ACEOF
47883
47884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47885 fi
47886 fi
47887
47888 USE_HTML=0
47889 if test "$wxUSE_HTML" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_HTML 1
47892 _ACEOF
47893
47894 USE_HTML=1
47895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47896 fi
47897 if test "$wxUSE_WEBKIT" = "yes"; then
47898 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47899 old_CPPFLAGS="$CPPFLAGS"
47900 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47901 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47902 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47903 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47904 echo $ECHO_N "(cached) $ECHO_C" >&6
47905 else
47906 cat >conftest.$ac_ext <<_ACEOF
47907 /* confdefs.h. */
47908 _ACEOF
47909 cat confdefs.h >>conftest.$ac_ext
47910 cat >>conftest.$ac_ext <<_ACEOF
47911 /* end confdefs.h. */
47912
47913 #include <Carbon/Carbon.h>
47914 #include <WebKit/WebKit.h>
47915
47916
47917 #include <WebKit/HIWebView.h>
47918 _ACEOF
47919 rm -f conftest.$ac_objext
47920 if { (ac_try="$ac_compile"
47921 case "(($ac_try" in
47922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47923 *) ac_try_echo=$ac_try;;
47924 esac
47925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47926 (eval "$ac_compile") 2>conftest.er1
47927 ac_status=$?
47928 grep -v '^ *+' conftest.er1 >conftest.err
47929 rm -f conftest.er1
47930 cat conftest.err >&5
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); } && {
47933 test -z "$ac_c_werror_flag" ||
47934 test ! -s conftest.err
47935 } && test -s conftest.$ac_objext; then
47936 ac_cv_header_WebKit_HIWebView_h=yes
47937 else
47938 echo "$as_me: failed program was:" >&5
47939 sed 's/^/| /' conftest.$ac_ext >&5
47940
47941 ac_cv_header_WebKit_HIWebView_h=no
47942 fi
47943
47944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47945 fi
47946 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47947 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47948 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47949
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_WEBKIT 1
47952 _ACEOF
47953
47954 WEBKIT_LINK="-framework WebKit"
47955
47956 else
47957
47958 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47959 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47960 wxUSE_WEBKIT=no
47961
47962 fi
47963
47964
47965 CPPFLAGS="$old_CPPFLAGS"
47966 elif test "$wxUSE_OLD_COCOA" = 1; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_WEBKIT 1
47969 _ACEOF
47970
47971 else
47972 wxUSE_WEBKIT=no
47973 fi
47974 if test "$wxUSE_WEBKIT" = "yes"; then
47975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47976 fi
47977 fi
47978
47979 USE_XRC=0
47980 if test "$wxUSE_XRC" = "yes"; then
47981 if test "$wxUSE_XML" != "yes"; then
47982 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47983 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47984 wxUSE_XRC=no
47985 else
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_XRC 1
47988 _ACEOF
47989
47990 USE_XRC=1
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47992 fi
47993 fi
47994
47995 USE_AUI=0
47996 if test "$wxUSE_AUI" = "yes"; then
47997 cat >>confdefs.h <<\_ACEOF
47998 #define wxUSE_AUI 1
47999 _ACEOF
48000
48001 USE_AUI=1
48002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48003 fi
48004
48005 USE_PROPGRID=0
48006 if test "$wxUSE_PROPGRID" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_PROPGRID 1
48009 _ACEOF
48010
48011 USE_PROPGRID=1
48012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48013 fi
48014
48015 USE_RIBBON=0
48016 if test "$wxUSE_RIBBON" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_RIBBON 1
48019 _ACEOF
48020
48021 USE_RIBBON=1
48022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48023 fi
48024
48025 USE_STC=0
48026 if test "$wxUSE_STC" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_STC 1
48029 _ACEOF
48030
48031 USE_STC=1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48033
48034 # Extract the first word of "python", so it can be a program name with args.
48035 set dummy python; ac_word=$2
48036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48038 if test "${ac_cv_path_PYTHON+set}" = set; then
48039 echo $ECHO_N "(cached) $ECHO_C" >&6
48040 else
48041 case $PYTHON in
48042 [\\/]* | ?:[\\/]*)
48043 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48044 ;;
48045 *)
48046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48047 for as_dir in $PATH
48048 do
48049 IFS=$as_save_IFS
48050 test -z "$as_dir" && as_dir=.
48051 for ac_exec_ext in '' $ac_executable_extensions; do
48052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48053 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48055 break 2
48056 fi
48057 done
48058 done
48059 IFS=$as_save_IFS
48060
48061 ;;
48062 esac
48063 fi
48064 PYTHON=$ac_cv_path_PYTHON
48065 if test -n "$PYTHON"; then
48066 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48067 echo "${ECHO_T}$PYTHON" >&6; }
48068 else
48069 { echo "$as_me:$LINENO: result: no" >&5
48070 echo "${ECHO_T}no" >&6; }
48071 fi
48072
48073
48074 if test "x$PYTHON" = "x"; then
48075 COND_PYTHON="#"
48076 fi
48077
48078 fi
48079
48080 if test "$wxUSE_MENUS" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_MENUS 1
48083 _ACEOF
48084
48085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48086 fi
48087
48088 if test "$wxUSE_METAFILE" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_METAFILE 1
48091 _ACEOF
48092
48093 fi
48094
48095 if test "$wxUSE_MIMETYPE" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_MIMETYPE 1
48098 _ACEOF
48099
48100 fi
48101
48102 if test "$wxUSE_MINIFRAME" = "yes"; then
48103 cat >>confdefs.h <<\_ACEOF
48104 #define wxUSE_MINIFRAME 1
48105 _ACEOF
48106
48107 fi
48108
48109 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_SYSTEM_OPTIONS 1
48112 _ACEOF
48113
48114 fi
48115
48116 if test "$wxUSE_TASKBARICON" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_TASKBARICON 1
48119 _ACEOF
48120
48121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48122 fi
48123
48124
48125 if test "$wxUSE_VALIDATORS" = "yes"; then
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_VALIDATORS 1
48128 _ACEOF
48129
48130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48131 fi
48132
48133 if test "$wxUSE_PALETTE" = "yes" ; then
48134 if test "$wxUSE_DFB" = 1; then
48135 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48136 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48137 wxUSE_PALETTE=no
48138 else
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_PALETTE 1
48141 _ACEOF
48142
48143 fi
48144 fi
48145
48146 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48147 LIBS=" -lunicows $LIBS"
48148 fi
48149
48150 USE_RICHTEXT=0
48151 if test "$wxUSE_RICHTEXT" = "yes"; then
48152 cat >>confdefs.h <<\_ACEOF
48153 #define wxUSE_RICHTEXT 1
48154 _ACEOF
48155
48156 USE_RICHTEXT=1
48157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48158 fi
48159
48160
48161 if test "$wxUSE_IMAGE" = "yes" ; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_IMAGE 1
48164 _ACEOF
48165
48166
48167 if test "$wxUSE_GIF" = "yes" ; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_GIF 1
48170 _ACEOF
48171
48172 fi
48173
48174 if test "$wxUSE_PCX" = "yes" ; then
48175 cat >>confdefs.h <<\_ACEOF
48176 #define wxUSE_PCX 1
48177 _ACEOF
48178
48179 fi
48180
48181 if test "$wxUSE_TGA" = "yes" ; then
48182 cat >>confdefs.h <<\_ACEOF
48183 #define wxUSE_TGA 1
48184 _ACEOF
48185
48186 fi
48187
48188 if test "$wxUSE_IFF" = "yes" ; then
48189 cat >>confdefs.h <<\_ACEOF
48190 #define wxUSE_IFF 1
48191 _ACEOF
48192
48193 fi
48194
48195 if test "$wxUSE_PNM" = "yes" ; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_PNM 1
48198 _ACEOF
48199
48200 fi
48201
48202 if test "$wxUSE_XPM" = "yes" ; then
48203 cat >>confdefs.h <<\_ACEOF
48204 #define wxUSE_XPM 1
48205 _ACEOF
48206
48207 fi
48208
48209 if test "$wxUSE_ICO_CUR" = "yes" ; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_ICO_CUR 1
48212 _ACEOF
48213
48214 fi
48215 fi
48216
48217
48218 if test "$wxUSE_ABOUTDLG" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_ABOUTDLG 1
48221 _ACEOF
48222
48223 fi
48224
48225 if test "$wxUSE_CHOICEDLG" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_CHOICEDLG 1
48228 _ACEOF
48229
48230 fi
48231
48232 if test "$wxUSE_COLOURDLG" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_COLOURDLG 1
48235 _ACEOF
48236
48237 fi
48238
48239 if test "$wxUSE_FILEDLG" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_FILEDLG 1
48242 _ACEOF
48243
48244 fi
48245
48246 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_FINDREPLDLG 1
48249 _ACEOF
48250
48251 fi
48252
48253 if test "$wxUSE_FONTDLG" = "yes"; then
48254 cat >>confdefs.h <<\_ACEOF
48255 #define wxUSE_FONTDLG 1
48256 _ACEOF
48257
48258 fi
48259
48260 if test "$wxUSE_DIRDLG" = "yes"; then
48261 if test "$wxUSE_TREECTRL" != "yes"; then
48262 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48263 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48264 else
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_DIRDLG 1
48267 _ACEOF
48268
48269 fi
48270 fi
48271
48272 if test "$wxUSE_MSGDLG" = "yes"; then
48273 cat >>confdefs.h <<\_ACEOF
48274 #define wxUSE_MSGDLG 1
48275 _ACEOF
48276
48277 fi
48278
48279 if test "$wxUSE_NUMBERDLG" = "yes"; then
48280 cat >>confdefs.h <<\_ACEOF
48281 #define wxUSE_NUMBERDLG 1
48282 _ACEOF
48283
48284 fi
48285
48286 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_PROGRESSDLG 1
48289 _ACEOF
48290
48291 fi
48292
48293 if test "$wxUSE_SPLASH" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_SPLASH 1
48296 _ACEOF
48297
48298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48299 fi
48300
48301 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_STARTUP_TIPS 1
48304 _ACEOF
48305
48306 fi
48307
48308 if test "$wxUSE_TEXTDLG" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_TEXTDLG 1
48311 _ACEOF
48312
48313 fi
48314
48315 if test "$wxUSE_WIZARDDLG" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_WIZARDDLG 1
48318 _ACEOF
48319
48320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48321 fi
48322
48323
48324 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48325 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_OWNER_DRAWN 1
48328 _ACEOF
48329
48330 fi
48331 fi
48332
48333
48334 if test "$wxUSE_MSW" = 1 ; then
48335
48336 if test "$wxUSE_DC_CACHEING" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_DC_CACHEING 1
48339 _ACEOF
48340
48341 fi
48342
48343 if test "$wxUSE_DIB" = "yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_WXDIB 1
48346 _ACEOF
48347
48348 fi
48349
48350 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48351 cat >>confdefs.h <<\_ACEOF
48352 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48353 _ACEOF
48354
48355 fi
48356
48357 if test "$wxUSE_UXTHEME" = "yes"; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_UXTHEME 1
48360 _ACEOF
48361
48362 fi
48363
48364 fi
48365
48366 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_AUTOID_MANAGEMENT 1
48369 _ACEOF
48370
48371 fi
48372
48373 if test "$USE_WIN32" = 1 ; then
48374 if test "$wxUSE_INICONF" = "yes"; then
48375 cat >>confdefs.h <<\_ACEOF
48376 #define wxUSE_INICONF 1
48377 _ACEOF
48378
48379 fi
48380
48381 if test "$wxUSE_REGKEY" = "yes"; then
48382 cat >>confdefs.h <<\_ACEOF
48383 #define wxUSE_REGKEY 1
48384 _ACEOF
48385
48386 fi
48387 fi
48388
48389
48390 if test "$wxUSE_MAC" = 1; then
48391 wxUSE_GRAPHICS_CONTEXT="yes"
48392 fi
48393
48394 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48395 wx_has_graphics=0
48396 if test "$wxUSE_MSW" = 1; then
48397 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48398 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48399 if test "${wx_cv_lib_gdiplus+set}" = set; then
48400 echo $ECHO_N "(cached) $ECHO_C" >&6
48401 else
48402
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408
48409 cat >conftest.$ac_ext <<_ACEOF
48410 /* confdefs.h. */
48411 _ACEOF
48412 cat confdefs.h >>conftest.$ac_ext
48413 cat >>conftest.$ac_ext <<_ACEOF
48414 /* end confdefs.h. */
48415 #include <windows.h>
48416 #include <gdiplus.h>
48417 int
48418 main ()
48419 {
48420
48421 using namespace Gdiplus;
48422
48423 ;
48424 return 0;
48425 }
48426 _ACEOF
48427 rm -f conftest.$ac_objext
48428 if { (ac_try="$ac_compile"
48429 case "(($ac_try" in
48430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48431 *) ac_try_echo=$ac_try;;
48432 esac
48433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48434 (eval "$ac_compile") 2>conftest.er1
48435 ac_status=$?
48436 grep -v '^ *+' conftest.er1 >conftest.err
48437 rm -f conftest.er1
48438 cat conftest.err >&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); } && {
48441 test -z "$ac_cxx_werror_flag" ||
48442 test ! -s conftest.err
48443 } && test -s conftest.$ac_objext; then
48444 wx_cv_lib_gdiplus=yes
48445 else
48446 echo "$as_me: failed program was:" >&5
48447 sed 's/^/| /' conftest.$ac_ext >&5
48448
48449 wx_cv_lib_gdiplus=no
48450
48451 fi
48452
48453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48454 ac_ext=c
48455 ac_cpp='$CPP $CPPFLAGS'
48456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459
48460
48461
48462 fi
48463 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48464 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48465 if test "$wx_cv_lib_gdiplus" = "yes"; then
48466 wx_has_graphics=1
48467 fi
48468 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48469
48470 pkg_failed=no
48471 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48472 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48473
48474 if test -n "$PKG_CONFIG"; then
48475 if test -n "$CAIRO_CFLAGS"; then
48476 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48477 else
48478 if test -n "$PKG_CONFIG" && \
48479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48480 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48481 ac_status=$?
48482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48483 (exit $ac_status); }; then
48484 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48485 else
48486 pkg_failed=yes
48487 fi
48488 fi
48489 else
48490 pkg_failed=untried
48491 fi
48492 if test -n "$PKG_CONFIG"; then
48493 if test -n "$CAIRO_LIBS"; then
48494 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48495 else
48496 if test -n "$PKG_CONFIG" && \
48497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48498 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48499 ac_status=$?
48500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48501 (exit $ac_status); }; then
48502 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48503 else
48504 pkg_failed=yes
48505 fi
48506 fi
48507 else
48508 pkg_failed=untried
48509 fi
48510
48511
48512
48513 if test $pkg_failed = yes; then
48514
48515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48516 _pkg_short_errors_supported=yes
48517 else
48518 _pkg_short_errors_supported=no
48519 fi
48520 if test $_pkg_short_errors_supported = yes; then
48521 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48522 else
48523 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48524 fi
48525 # Put the nasty error message in config.log where it belongs
48526 echo "$CAIRO_PKG_ERRORS" >&5
48527
48528 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48529 echo "$as_me: WARNING: Cairo library not found" >&2;}
48530
48531 elif test $pkg_failed = untried; then
48532 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48533 echo "$as_me: WARNING: Cairo library not found" >&2;}
48534
48535 else
48536 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48537 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48538 { echo "$as_me:$LINENO: result: yes" >&5
48539 echo "${ECHO_T}yes" >&6; }
48540 wx_has_graphics=1
48541 fi
48542 if test "$wx_has_graphics" = 1; then
48543 save_LIBS="$LIBS"
48544 LIBS="$LIBS $CAIRO_LIBS"
48545
48546 for ac_func in cairo_push_group
48547 do
48548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48549 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48551 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48552 echo $ECHO_N "(cached) $ECHO_C" >&6
48553 else
48554 cat >conftest.$ac_ext <<_ACEOF
48555 /* confdefs.h. */
48556 _ACEOF
48557 cat confdefs.h >>conftest.$ac_ext
48558 cat >>conftest.$ac_ext <<_ACEOF
48559 /* end confdefs.h. */
48560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48562 #define $ac_func innocuous_$ac_func
48563
48564 /* System header to define __stub macros and hopefully few prototypes,
48565 which can conflict with char $ac_func (); below.
48566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48567 <limits.h> exists even on freestanding compilers. */
48568
48569 #ifdef __STDC__
48570 # include <limits.h>
48571 #else
48572 # include <assert.h>
48573 #endif
48574
48575 #undef $ac_func
48576
48577 /* Override any GCC internal prototype to avoid an error.
48578 Use char because int might match the return type of a GCC
48579 builtin and then its argument prototype would still apply. */
48580 #ifdef __cplusplus
48581 extern "C"
48582 #endif
48583 char $ac_func ();
48584 /* The GNU C library defines this for functions which it implements
48585 to always fail with ENOSYS. Some functions are actually named
48586 something starting with __ and the normal name is an alias. */
48587 #if defined __stub_$ac_func || defined __stub___$ac_func
48588 choke me
48589 #endif
48590
48591 int
48592 main ()
48593 {
48594 return $ac_func ();
48595 ;
48596 return 0;
48597 }
48598 _ACEOF
48599 rm -f conftest.$ac_objext conftest$ac_exeext
48600 if { (ac_try="$ac_link"
48601 case "(($ac_try" in
48602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48603 *) ac_try_echo=$ac_try;;
48604 esac
48605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48606 (eval "$ac_link") 2>conftest.er1
48607 ac_status=$?
48608 grep -v '^ *+' conftest.er1 >conftest.err
48609 rm -f conftest.er1
48610 cat conftest.err >&5
48611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48612 (exit $ac_status); } && {
48613 test -z "$ac_c_werror_flag" ||
48614 test ! -s conftest.err
48615 } && test -s conftest$ac_exeext &&
48616 $as_test_x conftest$ac_exeext; then
48617 eval "$as_ac_var=yes"
48618 else
48619 echo "$as_me: failed program was:" >&5
48620 sed 's/^/| /' conftest.$ac_ext >&5
48621
48622 eval "$as_ac_var=no"
48623 fi
48624
48625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48626 conftest$ac_exeext conftest.$ac_ext
48627 fi
48628 ac_res=`eval echo '${'$as_ac_var'}'`
48629 { echo "$as_me:$LINENO: result: $ac_res" >&5
48630 echo "${ECHO_T}$ac_res" >&6; }
48631 if test `eval echo '${'$as_ac_var'}'` = yes; then
48632 cat >>confdefs.h <<_ACEOF
48633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639 LIBS="$save_LIBS"
48640 if test "$ac_cv_func_cairo_push_group" = "no"; then
48641 wx_has_graphics=0
48642 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48643 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48644 else
48645 cat >>confdefs.h <<\_ACEOF
48646 #define wxUSE_CAIRO 1
48647 _ACEOF
48648
48649
48650 if test "$wxUSE_GTK" != 1; then
48651 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48652 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48653 fi
48654 fi
48655 fi
48656 else
48657 wx_has_graphics=1
48658 fi
48659
48660 if test "$wx_has_graphics" = 1; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_GRAPHICS_CONTEXT 1
48663 _ACEOF
48664
48665 else
48666 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48667 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48668 fi
48669 fi
48670
48671
48672 USE_MEDIA=0
48673
48674 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48675 USE_MEDIA=1
48676
48677 if test "$wxUSE_GTK" = 1; then
48678 wxUSE_GSTREAMER="no"
48679
48680 GST_VERSION_MAJOR=0
48681 GST_VERSION_MINOR=10
48682 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48683
48684 if test "$wxUSE_GSTREAMER8" = "no"; then
48685
48686 pkg_failed=no
48687 { echo "$as_me:$LINENO: checking for GST" >&5
48688 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48689
48690 if test -n "$PKG_CONFIG"; then
48691 if test -n "$GST_CFLAGS"; then
48692 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48693 else
48694 if test -n "$PKG_CONFIG" && \
48695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48696 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48697 ac_status=$?
48698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48699 (exit $ac_status); }; then
48700 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48701 else
48702 pkg_failed=yes
48703 fi
48704 fi
48705 else
48706 pkg_failed=untried
48707 fi
48708 if test -n "$PKG_CONFIG"; then
48709 if test -n "$GST_LIBS"; then
48710 pkg_cv_GST_LIBS="$GST_LIBS"
48711 else
48712 if test -n "$PKG_CONFIG" && \
48713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48714 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48715 ac_status=$?
48716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48717 (exit $ac_status); }; then
48718 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48719 else
48720 pkg_failed=yes
48721 fi
48722 fi
48723 else
48724 pkg_failed=untried
48725 fi
48726
48727
48728
48729 if test $pkg_failed = yes; then
48730
48731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48732 _pkg_short_errors_supported=yes
48733 else
48734 _pkg_short_errors_supported=no
48735 fi
48736 if test $_pkg_short_errors_supported = yes; then
48737 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48738 else
48739 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48740 fi
48741 # Put the nasty error message in config.log where it belongs
48742 echo "$GST_PKG_ERRORS" >&5
48743
48744
48745 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48746 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48747 GST_VERSION_MINOR=8
48748
48749
48750 elif test $pkg_failed = untried; then
48751
48752 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48753 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48754 GST_VERSION_MINOR=8
48755
48756
48757 else
48758 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48759 GST_LIBS=$pkg_cv_GST_LIBS
48760 { echo "$as_me:$LINENO: result: yes" >&5
48761 echo "${ECHO_T}yes" >&6; }
48762
48763 wxUSE_GSTREAMER="yes"
48764 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48765
48766 fi
48767 else
48768 GST_VERSION_MINOR=8
48769 fi
48770
48771 if test $GST_VERSION_MINOR = "8"; then
48772 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48773
48774 pkg_failed=no
48775 { echo "$as_me:$LINENO: checking for GST" >&5
48776 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48777
48778 if test -n "$PKG_CONFIG"; then
48779 if test -n "$GST_CFLAGS"; then
48780 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48781 else
48782 if test -n "$PKG_CONFIG" && \
48783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48784 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48785 ac_status=$?
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); }; then
48788 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48789 else
48790 pkg_failed=yes
48791 fi
48792 fi
48793 else
48794 pkg_failed=untried
48795 fi
48796 if test -n "$PKG_CONFIG"; then
48797 if test -n "$GST_LIBS"; then
48798 pkg_cv_GST_LIBS="$GST_LIBS"
48799 else
48800 if test -n "$PKG_CONFIG" && \
48801 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48802 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48803 ac_status=$?
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; then
48806 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48807 else
48808 pkg_failed=yes
48809 fi
48810 fi
48811 else
48812 pkg_failed=untried
48813 fi
48814
48815
48816
48817 if test $pkg_failed = yes; then
48818
48819 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48820 _pkg_short_errors_supported=yes
48821 else
48822 _pkg_short_errors_supported=no
48823 fi
48824 if test $_pkg_short_errors_supported = yes; then
48825 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48826 else
48827 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48828 fi
48829 # Put the nasty error message in config.log where it belongs
48830 echo "$GST_PKG_ERRORS" >&5
48831
48832
48833 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48834 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48835
48836 elif test $pkg_failed = untried; then
48837
48838 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48839 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48840
48841 else
48842 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48843 GST_LIBS=$pkg_cv_GST_LIBS
48844 { echo "$as_me:$LINENO: result: yes" >&5
48845 echo "${ECHO_T}yes" >&6; }
48846 wxUSE_GSTREAMER="yes"
48847 fi
48848 fi
48849
48850
48851 if test "$wxUSE_GSTREAMER" = "yes"; then
48852 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48853 EXTRALIBS_MEDIA="$GST_LIBS"
48854
48855 cat >>confdefs.h <<\_ACEOF
48856 #define wxUSE_GSTREAMER 1
48857 _ACEOF
48858
48859 else
48860 USE_MEDIA=0
48861 fi
48862 fi
48863
48864 if test $USE_MEDIA = 1; then
48865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48866 cat >>confdefs.h <<\_ACEOF
48867 #define wxUSE_MEDIACTRL 1
48868 _ACEOF
48869
48870 else
48871 if test "$wxUSE_MEDIACTRL" = "yes"; then
48872 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48873 echo "$as_me: error: GStreamer not available" >&2;}
48874 { (exit 1); exit 1; }; }
48875 else
48876 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48877 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48878 fi
48879 fi
48880 fi
48881
48882
48883 if test "$cross_compiling" != "no"; then
48884 OSINFO="\"$host\""
48885 else
48886 OSINFO=`uname -s -r -m`
48887 OSINFO="\"$OSINFO\""
48888 fi
48889
48890 cat >>confdefs.h <<_ACEOF
48891 #define WXWIN_OS_DESCRIPTION $OSINFO
48892 _ACEOF
48893
48894
48895
48896 if test "x$prefix" != "xNONE"; then
48897 wxPREFIX=$prefix
48898 else
48899 wxPREFIX=$ac_default_prefix
48900 fi
48901
48902 cat >>confdefs.h <<_ACEOF
48903 #define wxINSTALL_PREFIX "$wxPREFIX"
48904 _ACEOF
48905
48906
48907
48908
48909 STD_BASE_LIBS="base"
48910 STD_GUI_LIBS=""
48911 BUILT_WX_LIBS="base"
48912 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48913
48914 if test "$wxUSE_SOCKETS" = "yes" ; then
48915 STD_BASE_LIBS="net $STD_BASE_LIBS"
48916 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48917 fi
48918 if test "$wxUSE_XML" = "yes" ; then
48919 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48920 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48921 fi
48922
48923 if test "$wxUSE_GUI" = "yes"; then
48924 STD_GUI_LIBS="adv core"
48925 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48926
48927 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48928 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48929 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48930 fi
48931 if test "$wxUSE_HTML" = "yes" ; then
48932 STD_GUI_LIBS="html $STD_GUI_LIBS"
48933 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48934 fi
48935 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48936 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48937 fi
48938 if test "$wxUSE_OPENGL" = "yes" ; then
48939 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48940 fi
48941 if test "$wxUSE_AUI" = "yes" ; then
48942 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48943 fi
48944 if test "$wxUSE_PROPGRID" = "yes" ; then
48945 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48946 fi
48947 if test "$wxUSE_RIBBON" = "yes" ; then
48948 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48949 fi
48950 if test "$wxUSE_RICHTEXT" = "yes" ; then
48951 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48952 fi
48953 if test "$wxUSE_STC" = "yes" ; then
48954 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48955 fi
48956 if test "$wxUSE_XRC" = "yes" ; then
48957 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48958 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48959 fi
48960 fi
48961
48962
48963
48964
48965
48966
48967
48968 EXTRA_FRAMEWORKS=
48969 if test "$wxUSE_MAC" = 1 ; then
48970 if test "$USE_DARWIN" = 1; then
48971 if test "$wxUSE_OSX_IPHONE" = 1; then
48972 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48973 else
48974 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48975 fi
48976 fi
48977 fi
48978 if test "$wxUSE_OLD_COCOA" = 1 ; then
48979 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48980 if test "$wxUSE_MEDIACTRL" = "yes"; then
48981 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48982 fi
48983 fi
48984 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48985 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48986 fi
48987
48988 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48989 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48990
48991 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48992
48993 if test "$wxUSE_GUI" = "yes"; then
48994
48995
48996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48997 erase event exec font image minimal render \
48998 shaped svg taborder vscroll widgets wrapsizer"
48999
49000 if test "$wxUSE_MONOLITHIC" != "yes"; then
49001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49002 fi
49003 if test "$TOOLKIT" = "MSW"; then
49004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49005 if test "$wxUSE_UNIVERSAL" != "yes"; then
49006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49007 fi
49008 fi
49009 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49011 fi
49012 else
49013 SAMPLES_SUBDIRS="console"
49014 if test "$wxUSE_SOCKETS" = "yes" ; then
49015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49016 fi
49017 if test "$wxUSE_IPC" = "yes" ; then
49018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49019 fi
49020 fi
49021
49022
49023 if test "x$INTELCC" = "xyes" ; then
49024 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49025 elif test "$GCC" = yes ; then
49026 CWARNINGS="-Wall -Wundef"
49027 fi
49028
49029 if test "x$INTELCXX" = "xyes" ; then
49030 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49031 elif test "$GXX" = yes ; then
49032 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49033 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49034 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49035 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49036 echo $ECHO_N "(cached) $ECHO_C" >&6
49037 else
49038 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49039
49040 ac_ext=cpp
49041 ac_cpp='$CXXCPP $CPPFLAGS'
49042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49045
49046 ac_save_CXXFLAGS="$CXXFLAGS"
49047 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49048 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49049 cat >conftest.$ac_ext <<_ACEOF
49050 /* confdefs.h. */
49051 _ACEOF
49052 cat confdefs.h >>conftest.$ac_ext
49053 cat >>conftest.$ac_ext <<_ACEOF
49054 /* end confdefs.h. */
49055
49056 int
49057 main ()
49058 {
49059 return 0;
49060 ;
49061 return 0;
49062 }
49063 _ACEOF
49064 rm -f conftest.$ac_objext
49065 if { (ac_try="$ac_compile"
49066 case "(($ac_try" in
49067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49068 *) ac_try_echo=$ac_try;;
49069 esac
49070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49071 (eval "$ac_compile") 2>conftest.er1
49072 ac_status=$?
49073 grep -v '^ *+' conftest.er1 >conftest.err
49074 rm -f conftest.er1
49075 cat conftest.err >&5
49076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49077 (exit $ac_status); } && {
49078 test -z "$ac_cxx_werror_flag" ||
49079 test ! -s conftest.err
49080 } && test -s conftest.$ac_objext; then
49081 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49082 else
49083 echo "$as_me: failed program was:" >&5
49084 sed 's/^/| /' conftest.$ac_ext >&5
49085
49086
49087 fi
49088
49089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49090 done
49091 CXXFLAGS="$ac_save_CXXFLAGS"
49092 ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097
49098
49099 fi
49100 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49101 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49102 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49103 .ok|.ok,*) ;;
49104 .|.no|.no,*) ;;
49105 *)
49106 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49107 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49108 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49109 ac_status=$?
49110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49111 (exit $ac_status); }
49112 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49113 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49114 ac_status=$?
49115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49116 (exit $ac_status); }
49117 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49118 fi
49119 ;;
49120 esac
49121
49122
49123 if test "$wxUSE_MAC" = 1 ; then
49124 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49125 fi
49126 fi
49127
49128
49129 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49130 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49131
49132
49133 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49134 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49135 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49136 $CPPFLAGS `
49137
49138 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49139 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49140 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49141 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49142 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49143
49144 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49145
49146
49147 if test "x$MWCC" = "xyes"; then
49148
49149 CC="$CC -cwd source -I-"
49150 CXX="$CXX -cwd source -I-"
49151 fi
49152
49153
49154 LIBS=`echo $LIBS`
49155 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49156 EXTRALIBS_XML="$EXPAT_LINK"
49157 EXTRALIBS_HTML="$MSPACK_LINK"
49158 EXTRALIBS_MEDIA="$GST_LIBS"
49159 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49160 if test "$wxUSE_GUI" = "yes"; then
49161 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49162 fi
49163 if test "$wxUSE_OPENGL" = "yes"; then
49164 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49165 fi
49166
49167 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49168
49169 WXCONFIG_LIBS="$LIBS"
49170
49171 if test "$wxUSE_REGEX" = "builtin" ; then
49172 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49173 fi
49174 if test "$wxUSE_EXPAT" = "builtin" ; then
49175 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49176 fi
49177 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49178 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49179 fi
49180 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49181 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49182 fi
49183 if test "$wxUSE_LIBPNG" = "builtin" ; then
49184 wxconfig_3rdparty="png $wxconfig_3rdparty"
49185 fi
49186 if test "$wxUSE_ZLIB" = "builtin" ; then
49187 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49188 fi
49189
49190 for i in $wxconfig_3rdparty ; do
49191 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49192 done
49193
49194
49195 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49196 WXUNIV=1
49197
49198 case "$wxUNIV_THEMES" in
49199 ''|all)
49200 cat >>confdefs.h <<\_ACEOF
49201 #define wxUSE_ALL_THEMES 1
49202 _ACEOF
49203
49204 ;;
49205
49206 *)
49207 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49208 cat >>confdefs.h <<_ACEOF
49209 #define wxUSE_THEME_$t 1
49210 _ACEOF
49211
49212 done
49213 esac
49214 else
49215 WXUNIV=0
49216 fi
49217
49218
49219
49220
49221
49222
49223
49224
49225 if test $wxUSE_MONOLITHIC = "yes" ; then
49226 MONOLITHIC=1
49227 else
49228 MONOLITHIC=0
49229 fi
49230
49231 if test $wxUSE_PLUGINS = "yes" ; then
49232 USE_PLUGINS=1
49233 else
49234 USE_PLUGINS=0
49235 fi
49236
49237 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49238 USE_QA=1
49239 else
49240 USE_QA=0
49241 fi
49242
49243 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49244 OFFICIAL_BUILD=1
49245 else
49246 OFFICIAL_BUILD=0
49247 fi
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286 case "$TOOLKIT" in
49287 GTK)
49288 TOOLKIT_DESC="GTK+"
49289 if test "$WXGTK2" = 1; then
49290 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49291 if test "$wxUSE_GTKPRINT" = "yes" ; then
49292 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49293 fi
49294 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49295 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49296 fi
49297 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49298 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49299 fi
49300 if test "$wxUSE_LIBHILDON" = "yes"; then
49301 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49302 fi
49303 if test "$wxUSE_LIBHILDON2" = "yes"; then
49304 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49305 fi
49306
49307 if test "$TOOLKIT_EXTRA" != ""; then
49308 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49309 fi
49310 fi
49311 ;;
49312
49313 ?*)
49314 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49315 ;;
49316
49317 *)
49318 TOOLKIT_DESC="base only"
49319 ;;
49320 esac
49321
49322 if test "$wxUSE_WINE" = "yes"; then
49323 BAKEFILE_FORCE_PLATFORM=win32
49324 fi
49325
49326 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49327 then
49328 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49329 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49330 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49331 echo $ECHO_N "(cached) $ECHO_C" >&6
49332 else
49333
49334 echo '#include <stdio.h>
49335 const wchar_t test_var[] = L"awidetest";' > conftest.h
49336
49337 echo '#include "conftest.h"
49338 int main()
49339 {
49340 printf("%ls", test_var);
49341 return 0;
49342 }' > conftest.cpp
49343
49344 wx_cv_gcc_pch_bug="pch not supported"
49345
49346 if $CXX conftest.h >/dev/null 2>&1
49347 then
49348 wx_cv_gcc_pch_bug=
49349
49350 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49351 then
49352 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49353 grep awidetest >/dev/null
49354 then
49355 wx_cv_gcc_pch_bug=no
49356 else
49357 wx_cv_gcc_pch_bug=yes
49358 fi
49359 fi
49360 fi
49361
49362 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49363
49364 fi
49365 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49366 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49367
49368 if test "$wx_cv_gcc_pch_bug" = yes; then
49369 bk_use_pch=no
49370 fi
49371 fi
49372
49373
49374
49375
49376
49377
49378
49379 if test "x$BAKEFILE_HOST" = "x"; then
49380 if test "x${host}" = "x" ; then
49381 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49382 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49383 { (exit 1); exit 1; }; }
49384 fi
49385
49386 BAKEFILE_HOST="${host}"
49387 fi
49388
49389 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49390
49391 if test -n "$ac_tool_prefix"; then
49392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49396 if test "${ac_cv_prog_RANLIB+set}" = set; then
49397 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 else
49399 if test -n "$RANLIB"; then
49400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49401 else
49402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49403 for as_dir in $PATH
49404 do
49405 IFS=$as_save_IFS
49406 test -z "$as_dir" && as_dir=.
49407 for ac_exec_ext in '' $ac_executable_extensions; do
49408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49411 break 2
49412 fi
49413 done
49414 done
49415 IFS=$as_save_IFS
49416
49417 fi
49418 fi
49419 RANLIB=$ac_cv_prog_RANLIB
49420 if test -n "$RANLIB"; then
49421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49422 echo "${ECHO_T}$RANLIB" >&6; }
49423 else
49424 { echo "$as_me:$LINENO: result: no" >&5
49425 echo "${ECHO_T}no" >&6; }
49426 fi
49427
49428
49429 fi
49430 if test -z "$ac_cv_prog_RANLIB"; then
49431 ac_ct_RANLIB=$RANLIB
49432 # Extract the first word of "ranlib", so it can be a program name with args.
49433 set dummy ranlib; ac_word=$2
49434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49437 echo $ECHO_N "(cached) $ECHO_C" >&6
49438 else
49439 if test -n "$ac_ct_RANLIB"; then
49440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49441 else
49442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49443 for as_dir in $PATH
49444 do
49445 IFS=$as_save_IFS
49446 test -z "$as_dir" && as_dir=.
49447 for ac_exec_ext in '' $ac_executable_extensions; do
49448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49449 ac_cv_prog_ac_ct_RANLIB="ranlib"
49450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49451 break 2
49452 fi
49453 done
49454 done
49455 IFS=$as_save_IFS
49456
49457 fi
49458 fi
49459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49460 if test -n "$ac_ct_RANLIB"; then
49461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49463 else
49464 { echo "$as_me:$LINENO: result: no" >&5
49465 echo "${ECHO_T}no" >&6; }
49466 fi
49467
49468 if test "x$ac_ct_RANLIB" = x; then
49469 RANLIB=":"
49470 else
49471 case $cross_compiling:$ac_tool_warned in
49472 yes:)
49473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49474 whose name does not start with the host triplet. If you think this
49475 configuration is useful to you, please write to autoconf@gnu.org." >&5
49476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49477 whose name does not start with the host triplet. If you think this
49478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49479 ac_tool_warned=yes ;;
49480 esac
49481 RANLIB=$ac_ct_RANLIB
49482 fi
49483 else
49484 RANLIB="$ac_cv_prog_RANLIB"
49485 fi
49486
49487 # Find a good install program. We prefer a C program (faster),
49488 # so one script is as good as another. But avoid the broken or
49489 # incompatible versions:
49490 # SysV /etc/install, /usr/sbin/install
49491 # SunOS /usr/etc/install
49492 # IRIX /sbin/install
49493 # AIX /bin/install
49494 # AmigaOS /C/install, which installs bootblocks on floppy discs
49495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49498 # OS/2's system install, which has a completely different semantic
49499 # ./install, which can be erroneously created by make from ./install.sh.
49500 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49501 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49502 if test -z "$INSTALL"; then
49503 if test "${ac_cv_path_install+set}" = set; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 else
49506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49507 for as_dir in $PATH
49508 do
49509 IFS=$as_save_IFS
49510 test -z "$as_dir" && as_dir=.
49511 # Account for people who put trailing slashes in PATH elements.
49512 case $as_dir/ in
49513 ./ | .// | /cC/* | \
49514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49515 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49516 /usr/ucb/* ) ;;
49517 *)
49518 # OSF1 and SCO ODT 3.0 have their own names for install.
49519 # Don't use installbsd from OSF since it installs stuff as root
49520 # by default.
49521 for ac_prog in ginstall scoinst install; do
49522 for ac_exec_ext in '' $ac_executable_extensions; do
49523 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49524 if test $ac_prog = install &&
49525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49526 # AIX install. It has an incompatible calling convention.
49527 :
49528 elif test $ac_prog = install &&
49529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49530 # program-specific install script used by HP pwplus--don't use.
49531 :
49532 else
49533 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49534 break 3
49535 fi
49536 fi
49537 done
49538 done
49539 ;;
49540 esac
49541 done
49542 IFS=$as_save_IFS
49543
49544
49545 fi
49546 if test "${ac_cv_path_install+set}" = set; then
49547 INSTALL=$ac_cv_path_install
49548 else
49549 # As a last resort, use the slow shell script. Don't cache a
49550 # value for INSTALL within a source directory, because that will
49551 # break other packages using the cache if that directory is
49552 # removed, or if the value is a relative name.
49553 INSTALL=$ac_install_sh
49554 fi
49555 fi
49556 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49557 echo "${ECHO_T}$INSTALL" >&6; }
49558
49559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49560 # It thinks the first close brace ends the variable substitution.
49561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49562
49563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49564
49565 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49566
49567 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49568 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49569 LN_S=$as_ln_s
49570 if test "$LN_S" = "ln -s"; then
49571 { echo "$as_me:$LINENO: result: yes" >&5
49572 echo "${ECHO_T}yes" >&6; }
49573 else
49574 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49575 echo "${ECHO_T}no, using $LN_S" >&6; }
49576 fi
49577
49578
49579 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49580 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49581 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49582 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49583 echo $ECHO_N "(cached) $ECHO_C" >&6
49584 else
49585 cat >conftest.make <<\_ACEOF
49586 SHELL = /bin/sh
49587 all:
49588 @echo '@@@%%%=$(MAKE)=@@@%%%'
49589 _ACEOF
49590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49591 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49592 *@@@%%%=?*=@@@%%%*)
49593 eval ac_cv_prog_make_${ac_make}_set=yes;;
49594 *)
49595 eval ac_cv_prog_make_${ac_make}_set=no;;
49596 esac
49597 rm -f conftest.make
49598 fi
49599 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49600 { echo "$as_me:$LINENO: result: yes" >&5
49601 echo "${ECHO_T}yes" >&6; }
49602 SET_MAKE=
49603 else
49604 { echo "$as_me:$LINENO: result: no" >&5
49605 echo "${ECHO_T}no" >&6; }
49606 SET_MAKE="MAKE=${MAKE-make}"
49607 fi
49608
49609
49610
49611 if test "x$SUNCXX" = "xyes"; then
49612 AR=$CXX
49613 AROPTIONS="-xar -o"
49614
49615 elif test "x$SGICC" = "xyes"; then
49616 AR=$CXX
49617 AROPTIONS="-ar -o"
49618
49619 else
49620 if test -n "$ac_tool_prefix"; then
49621 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49622 set dummy ${ac_tool_prefix}ar; ac_word=$2
49623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49625 if test "${ac_cv_prog_AR+set}" = set; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49627 else
49628 if test -n "$AR"; then
49629 ac_cv_prog_AR="$AR" # Let the user override the test.
49630 else
49631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49632 for as_dir in $PATH
49633 do
49634 IFS=$as_save_IFS
49635 test -z "$as_dir" && as_dir=.
49636 for ac_exec_ext in '' $ac_executable_extensions; do
49637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49638 ac_cv_prog_AR="${ac_tool_prefix}ar"
49639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49640 break 2
49641 fi
49642 done
49643 done
49644 IFS=$as_save_IFS
49645
49646 fi
49647 fi
49648 AR=$ac_cv_prog_AR
49649 if test -n "$AR"; then
49650 { echo "$as_me:$LINENO: result: $AR" >&5
49651 echo "${ECHO_T}$AR" >&6; }
49652 else
49653 { echo "$as_me:$LINENO: result: no" >&5
49654 echo "${ECHO_T}no" >&6; }
49655 fi
49656
49657
49658 fi
49659 if test -z "$ac_cv_prog_AR"; then
49660 ac_ct_AR=$AR
49661 # Extract the first word of "ar", so it can be a program name with args.
49662 set dummy ar; ac_word=$2
49663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49665 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49666 echo $ECHO_N "(cached) $ECHO_C" >&6
49667 else
49668 if test -n "$ac_ct_AR"; then
49669 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49670 else
49671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49672 for as_dir in $PATH
49673 do
49674 IFS=$as_save_IFS
49675 test -z "$as_dir" && as_dir=.
49676 for ac_exec_ext in '' $ac_executable_extensions; do
49677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49678 ac_cv_prog_ac_ct_AR="ar"
49679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49680 break 2
49681 fi
49682 done
49683 done
49684 IFS=$as_save_IFS
49685
49686 fi
49687 fi
49688 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49689 if test -n "$ac_ct_AR"; then
49690 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49691 echo "${ECHO_T}$ac_ct_AR" >&6; }
49692 else
49693 { echo "$as_me:$LINENO: result: no" >&5
49694 echo "${ECHO_T}no" >&6; }
49695 fi
49696
49697 if test "x$ac_ct_AR" = x; then
49698 AR="ar"
49699 else
49700 case $cross_compiling:$ac_tool_warned in
49701 yes:)
49702 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49703 whose name does not start with the host triplet. If you think this
49704 configuration is useful to you, please write to autoconf@gnu.org." >&5
49705 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49706 whose name does not start with the host triplet. If you think this
49707 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49708 ac_tool_warned=yes ;;
49709 esac
49710 AR=$ac_ct_AR
49711 fi
49712 else
49713 AR="$ac_cv_prog_AR"
49714 fi
49715
49716 AROPTIONS=rcu
49717 fi
49718
49719
49720 if test -n "$ac_tool_prefix"; then
49721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49722 set dummy ${ac_tool_prefix}strip; ac_word=$2
49723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49725 if test "${ac_cv_prog_STRIP+set}" = set; then
49726 echo $ECHO_N "(cached) $ECHO_C" >&6
49727 else
49728 if test -n "$STRIP"; then
49729 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49730 else
49731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49732 for as_dir in $PATH
49733 do
49734 IFS=$as_save_IFS
49735 test -z "$as_dir" && as_dir=.
49736 for ac_exec_ext in '' $ac_executable_extensions; do
49737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49738 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49740 break 2
49741 fi
49742 done
49743 done
49744 IFS=$as_save_IFS
49745
49746 fi
49747 fi
49748 STRIP=$ac_cv_prog_STRIP
49749 if test -n "$STRIP"; then
49750 { echo "$as_me:$LINENO: result: $STRIP" >&5
49751 echo "${ECHO_T}$STRIP" >&6; }
49752 else
49753 { echo "$as_me:$LINENO: result: no" >&5
49754 echo "${ECHO_T}no" >&6; }
49755 fi
49756
49757
49758 fi
49759 if test -z "$ac_cv_prog_STRIP"; then
49760 ac_ct_STRIP=$STRIP
49761 # Extract the first word of "strip", so it can be a program name with args.
49762 set dummy strip; ac_word=$2
49763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49766 echo $ECHO_N "(cached) $ECHO_C" >&6
49767 else
49768 if test -n "$ac_ct_STRIP"; then
49769 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49770 else
49771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49772 for as_dir in $PATH
49773 do
49774 IFS=$as_save_IFS
49775 test -z "$as_dir" && as_dir=.
49776 for ac_exec_ext in '' $ac_executable_extensions; do
49777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49778 ac_cv_prog_ac_ct_STRIP="strip"
49779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49780 break 2
49781 fi
49782 done
49783 done
49784 IFS=$as_save_IFS
49785
49786 fi
49787 fi
49788 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49789 if test -n "$ac_ct_STRIP"; then
49790 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49791 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49792 else
49793 { echo "$as_me:$LINENO: result: no" >&5
49794 echo "${ECHO_T}no" >&6; }
49795 fi
49796
49797 if test "x$ac_ct_STRIP" = x; then
49798 STRIP=":"
49799 else
49800 case $cross_compiling:$ac_tool_warned in
49801 yes:)
49802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49803 whose name does not start with the host triplet. If you think this
49804 configuration is useful to you, please write to autoconf@gnu.org." >&5
49805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49806 whose name does not start with the host triplet. If you think this
49807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49808 ac_tool_warned=yes ;;
49809 esac
49810 STRIP=$ac_ct_STRIP
49811 fi
49812 else
49813 STRIP="$ac_cv_prog_STRIP"
49814 fi
49815
49816 if test -n "$ac_tool_prefix"; then
49817 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49818 set dummy ${ac_tool_prefix}nm; ac_word=$2
49819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49821 if test "${ac_cv_prog_NM+set}" = set; then
49822 echo $ECHO_N "(cached) $ECHO_C" >&6
49823 else
49824 if test -n "$NM"; then
49825 ac_cv_prog_NM="$NM" # Let the user override the test.
49826 else
49827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49828 for as_dir in $PATH
49829 do
49830 IFS=$as_save_IFS
49831 test -z "$as_dir" && as_dir=.
49832 for ac_exec_ext in '' $ac_executable_extensions; do
49833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49834 ac_cv_prog_NM="${ac_tool_prefix}nm"
49835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49836 break 2
49837 fi
49838 done
49839 done
49840 IFS=$as_save_IFS
49841
49842 fi
49843 fi
49844 NM=$ac_cv_prog_NM
49845 if test -n "$NM"; then
49846 { echo "$as_me:$LINENO: result: $NM" >&5
49847 echo "${ECHO_T}$NM" >&6; }
49848 else
49849 { echo "$as_me:$LINENO: result: no" >&5
49850 echo "${ECHO_T}no" >&6; }
49851 fi
49852
49853
49854 fi
49855 if test -z "$ac_cv_prog_NM"; then
49856 ac_ct_NM=$NM
49857 # Extract the first word of "nm", so it can be a program name with args.
49858 set dummy nm; ac_word=$2
49859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49861 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49862 echo $ECHO_N "(cached) $ECHO_C" >&6
49863 else
49864 if test -n "$ac_ct_NM"; then
49865 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49866 else
49867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49868 for as_dir in $PATH
49869 do
49870 IFS=$as_save_IFS
49871 test -z "$as_dir" && as_dir=.
49872 for ac_exec_ext in '' $ac_executable_extensions; do
49873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49874 ac_cv_prog_ac_ct_NM="nm"
49875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49876 break 2
49877 fi
49878 done
49879 done
49880 IFS=$as_save_IFS
49881
49882 fi
49883 fi
49884 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49885 if test -n "$ac_ct_NM"; then
49886 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49887 echo "${ECHO_T}$ac_ct_NM" >&6; }
49888 else
49889 { echo "$as_me:$LINENO: result: no" >&5
49890 echo "${ECHO_T}no" >&6; }
49891 fi
49892
49893 if test "x$ac_ct_NM" = x; then
49894 NM=":"
49895 else
49896 case $cross_compiling:$ac_tool_warned in
49897 yes:)
49898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49899 whose name does not start with the host triplet. If you think this
49900 configuration is useful to you, please write to autoconf@gnu.org." >&5
49901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49902 whose name does not start with the host triplet. If you think this
49903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49904 ac_tool_warned=yes ;;
49905 esac
49906 NM=$ac_ct_NM
49907 fi
49908 else
49909 NM="$ac_cv_prog_NM"
49910 fi
49911
49912
49913 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49914 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49915 INSTALL_TEST_DIR=acbftest$$
49916 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49917 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49918 rmdir $INSTALL_TEST_DIR
49919 INSTALL_DIR='$(INSTALL) -d'
49920 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49921 echo "${ECHO_T}$INSTALL -d" >&6; }
49922 else
49923 INSTALL_DIR="mkdir -p"
49924 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49925 echo "${ECHO_T}mkdir -p" >&6; }
49926 fi
49927
49928
49929 LDFLAGS_GUI=
49930 case ${BAKEFILE_HOST} in
49931 *-*-cygwin* | *-*-mingw32* )
49932 LDFLAGS_GUI="-mwindows"
49933 esac
49934
49935
49936 fi
49937
49938 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49939 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49940 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49941 echo $ECHO_N "(cached) $ECHO_C" >&6
49942 else
49943
49944 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49945 egrep -s GNU > /dev/null); then
49946 bakefile_cv_prog_makeisgnu="yes"
49947 else
49948 bakefile_cv_prog_makeisgnu="no"
49949 fi
49950
49951 fi
49952 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49953 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49954
49955 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49956 IF_GNU_MAKE=""
49957 else
49958 IF_GNU_MAKE="#"
49959 fi
49960
49961
49962
49963 PLATFORM_UNIX=0
49964 PLATFORM_WIN32=0
49965 PLATFORM_MSDOS=0
49966 PLATFORM_MAC=0
49967 PLATFORM_MACOS=0
49968 PLATFORM_MACOSX=0
49969 PLATFORM_OS2=0
49970 PLATFORM_BEOS=0
49971
49972 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49973 case "${BAKEFILE_HOST}" in
49974 *-*-mingw32* )
49975 PLATFORM_WIN32=1
49976 ;;
49977 *-pc-msdosdjgpp )
49978 PLATFORM_MSDOS=1
49979 ;;
49980 *-pc-os2_emx | *-pc-os2-emx )
49981 PLATFORM_OS2=1
49982 ;;
49983 *-*-darwin* )
49984 PLATFORM_MAC=1
49985 PLATFORM_MACOSX=1
49986 ;;
49987 *-*-beos* )
49988 PLATFORM_BEOS=1
49989 ;;
49990 powerpc-apple-macos* )
49991 PLATFORM_MAC=1
49992 PLATFORM_MACOS=1
49993 ;;
49994 * )
49995 PLATFORM_UNIX=1
49996 ;;
49997 esac
49998 else
49999 case "$BAKEFILE_FORCE_PLATFORM" in
50000 win32 )
50001 PLATFORM_WIN32=1
50002 ;;
50003 msdos )
50004 PLATFORM_MSDOS=1
50005 ;;
50006 os2 )
50007 PLATFORM_OS2=1
50008 ;;
50009 darwin )
50010 PLATFORM_MAC=1
50011 PLATFORM_MACOSX=1
50012 ;;
50013 unix )
50014 PLATFORM_UNIX=1
50015 ;;
50016 beos )
50017 PLATFORM_BEOS=1
50018 ;;
50019 * )
50020 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50021 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50022 { (exit 1); exit 1; }; }
50023 ;;
50024 esac
50025 fi
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037 # Check whether --enable-omf was given.
50038 if test "${enable_omf+set}" = set; then
50039 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50040 fi
50041
50042
50043 case "${BAKEFILE_HOST}" in
50044 *-*-darwin* )
50045 if test "x$GCC" = "xyes"; then
50046 CFLAGS="$CFLAGS -fno-common"
50047 CXXFLAGS="$CXXFLAGS -fno-common"
50048 fi
50049 if test "x$XLCC" = "xyes"; then
50050 CFLAGS="$CFLAGS -qnocommon"
50051 CXXFLAGS="$CXXFLAGS -qnocommon"
50052 fi
50053 ;;
50054
50055 *-pc-os2_emx | *-pc-os2-emx )
50056 if test "x$bk_os2_use_omf" = "xyes" ; then
50057 AR=emxomfar
50058 RANLIB=:
50059 LDFLAGS="-Zomf $LDFLAGS"
50060 CFLAGS="-Zomf $CFLAGS"
50061 CXXFLAGS="-Zomf $CXXFLAGS"
50062 OS2_LIBEXT="lib"
50063 else
50064 OS2_LIBEXT="a"
50065 fi
50066 ;;
50067
50068 i*86-*-beos* )
50069 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50070 ;;
50071 esac
50072
50073
50074 SO_SUFFIX="so"
50075 SO_SUFFIX_MODULE="so"
50076 EXEEXT=""
50077 LIBPREFIX="lib"
50078 LIBEXT=".a"
50079 DLLPREFIX="lib"
50080 DLLPREFIX_MODULE=""
50081 DLLIMP_SUFFIX=""
50082 dlldir="$libdir"
50083
50084 case "${BAKEFILE_HOST}" in
50085 ia64-hp-hpux* )
50086 ;;
50087 *-hp-hpux* )
50088 SO_SUFFIX="sl"
50089 SO_SUFFIX_MODULE="sl"
50090 ;;
50091 *-*-aix* )
50092 SO_SUFFIX="a"
50093 SO_SUFFIX_MODULE="a"
50094 ;;
50095 *-*-cygwin* )
50096 SO_SUFFIX="dll"
50097 SO_SUFFIX_MODULE="dll"
50098 DLLIMP_SUFFIX="dll.a"
50099 EXEEXT=".exe"
50100 DLLPREFIX="cyg"
50101 dlldir="$bindir"
50102 ;;
50103 *-*-mingw32* )
50104 SO_SUFFIX="dll"
50105 SO_SUFFIX_MODULE="dll"
50106 DLLIMP_SUFFIX="dll.a"
50107 EXEEXT=".exe"
50108 DLLPREFIX=""
50109 dlldir="$bindir"
50110 ;;
50111 *-pc-msdosdjgpp )
50112 EXEEXT=".exe"
50113 DLLPREFIX=""
50114 dlldir="$bindir"
50115 ;;
50116 *-pc-os2_emx | *-pc-os2-emx )
50117 SO_SUFFIX="dll"
50118 SO_SUFFIX_MODULE="dll"
50119 DLLIMP_SUFFIX=$OS2_LIBEXT
50120 EXEEXT=".exe"
50121 DLLPREFIX=""
50122 LIBPREFIX=""
50123 LIBEXT=".$OS2_LIBEXT"
50124 dlldir="$bindir"
50125 ;;
50126 *-*-darwin* )
50127 SO_SUFFIX="dylib"
50128 SO_SUFFIX_MODULE="bundle"
50129 ;;
50130 esac
50131
50132 if test "x$DLLIMP_SUFFIX" = "x" ; then
50133 DLLIMP_SUFFIX="$SO_SUFFIX"
50134 fi
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147 PIC_FLAG=""
50148 if test "x$GCC" = "xyes"; then
50149 PIC_FLAG="-fPIC"
50150 fi
50151
50152 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50153 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50154 WINDOWS_IMPLIB=0
50155
50156 case "${BAKEFILE_HOST}" in
50157 *-hp-hpux* )
50158 if test "x$GCC" != "xyes"; then
50159 LDFLAGS="$LDFLAGS -L/usr/lib"
50160
50161 SHARED_LD_CC="${CC} -b -o"
50162 SHARED_LD_CXX="${CXX} -b -o"
50163 PIC_FLAG="+Z"
50164 fi
50165 ;;
50166
50167 *-*-linux* )
50168 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50169 PIC_FLAG="-KPIC"
50170 elif test "x$SUNCXX" = "xyes"; then
50171 SHARED_LD_CC="${CC} -G -o"
50172 SHARED_LD_CXX="${CXX} -G -o"
50173 PIC_FLAG="-KPIC"
50174 fi
50175 ;;
50176
50177 *-*-solaris2* )
50178 if test "x$SUNCXX" = xyes ; then
50179 SHARED_LD_CC="${CC} -G -o"
50180 SHARED_LD_CXX="${CXX} -G -o"
50181 PIC_FLAG="-KPIC"
50182 fi
50183 ;;
50184
50185 *-*-darwin* )
50186
50187 D='$'
50188 cat <<EOF >shared-ld-sh
50189 #!/bin/sh
50190 #-----------------------------------------------------------------------------
50191 #-- Name: distrib/mac/shared-ld-sh
50192 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50193 #-- Author: Gilles Depeyrot
50194 #-- Copyright: (c) 2002 Gilles Depeyrot
50195 #-- Licence: any use permitted
50196 #-----------------------------------------------------------------------------
50197
50198 verbose=0
50199 args=""
50200 objects=""
50201 linking_flag="-dynamiclib"
50202 ldargs="-r -keep_private_externs -nostdlib"
50203
50204 if test "x${D}CXX" = "x"; then
50205 CXX="c++"
50206 fi
50207
50208 while test ${D}# -gt 0; do
50209 case ${D}1 in
50210
50211 -v)
50212 verbose=1
50213 ;;
50214
50215 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50216 # collect these options and values
50217 args="${D}{args} ${D}1 ${D}2"
50218 shift
50219 ;;
50220
50221 -arch|-isysroot)
50222 # collect these options and values
50223 ldargs="${D}{ldargs} ${D}1 ${D}2"
50224 shift
50225 ;;
50226
50227 -s|-Wl,*)
50228 # collect these load args
50229 ldargs="${D}{ldargs} ${D}1"
50230 ;;
50231
50232 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50233 # collect these options
50234 args="${D}{args} ${D}1"
50235 ;;
50236
50237 -dynamiclib|-bundle)
50238 linking_flag="${D}1"
50239 ;;
50240
50241 -*)
50242 echo "shared-ld: unhandled option '${D}1'"
50243 exit 1
50244 ;;
50245
50246 *.o | *.a | *.dylib)
50247 # collect object files
50248 objects="${D}{objects} ${D}1"
50249 ;;
50250
50251 *)
50252 echo "shared-ld: unhandled argument '${D}1'"
50253 exit 1
50254 ;;
50255
50256 esac
50257 shift
50258 done
50259
50260 status=0
50261
50262 #
50263 # Link one module containing all the others
50264 #
50265 if test ${D}{verbose} = 1; then
50266 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50267 fi
50268 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50269 status=${D}?
50270
50271 #
50272 # Link the shared library from the single module created, but only if the
50273 # previous command didn't fail:
50274 #
50275 if test ${D}{status} = 0; then
50276 if test ${D}{verbose} = 1; then
50277 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50278 fi
50279 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50280 status=${D}?
50281 fi
50282
50283 #
50284 # Remove intermediate module
50285 #
50286 rm -f master.${D}${D}.o
50287
50288 exit ${D}status
50289 EOF
50290
50291 chmod +x shared-ld-sh
50292
50293 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50294 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50295
50296
50297 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50298 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50299 if test "${bakefile_cv_gcc31+set}" = set; then
50300 echo $ECHO_N "(cached) $ECHO_C" >&6
50301 else
50302
50303 cat >conftest.$ac_ext <<_ACEOF
50304 /* confdefs.h. */
50305 _ACEOF
50306 cat confdefs.h >>conftest.$ac_ext
50307 cat >>conftest.$ac_ext <<_ACEOF
50308 /* end confdefs.h. */
50309
50310 int
50311 main ()
50312 {
50313
50314 #if (__GNUC__ < 3) || \
50315 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50316 This is old gcc
50317 #endif
50318
50319 ;
50320 return 0;
50321 }
50322 _ACEOF
50323 rm -f conftest.$ac_objext
50324 if { (ac_try="$ac_compile"
50325 case "(($ac_try" in
50326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50327 *) ac_try_echo=$ac_try;;
50328 esac
50329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50330 (eval "$ac_compile") 2>conftest.er1
50331 ac_status=$?
50332 grep -v '^ *+' conftest.er1 >conftest.err
50333 rm -f conftest.er1
50334 cat conftest.err >&5
50335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50336 (exit $ac_status); } && {
50337 test -z "$ac_c_werror_flag" ||
50338 test ! -s conftest.err
50339 } && test -s conftest.$ac_objext; then
50340
50341 bakefile_cv_gcc31=yes
50342
50343 else
50344 echo "$as_me: failed program was:" >&5
50345 sed 's/^/| /' conftest.$ac_ext >&5
50346
50347
50348 bakefile_cv_gcc31=no
50349
50350
50351 fi
50352
50353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50354
50355 fi
50356 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50357 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50358 if test "$bakefile_cv_gcc31" = "no"; then
50359 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50360 SHARED_LD_CXX="$SHARED_LD_CC"
50361 else
50362 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50363 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50364 fi
50365
50366 if test "x$GCC" == "xyes"; then
50367 PIC_FLAG="-dynamic -fPIC"
50368 fi
50369 if test "x$XLCC" = "xyes"; then
50370 PIC_FLAG="-dynamic -DPIC"
50371 fi
50372 ;;
50373
50374 *-*-aix* )
50375 if test "x$GCC" = "xyes"; then
50376 PIC_FLAG=""
50377
50378 case "${BAKEFILE_HOST}" in
50379 *-*-aix5* )
50380 LD_EXPFULL="-Wl,-bexpfull"
50381 ;;
50382 esac
50383
50384 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50385 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50386 else
50387 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50388 set dummy makeC++SharedLib; 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_AIX_CXX_LD+set}" = set; then
50392 echo $ECHO_N "(cached) $ECHO_C" >&6
50393 else
50394 if test -n "$AIX_CXX_LD"; then
50395 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # 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_AIX_CXX_LD="makeC++SharedLib"
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_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50413 fi
50414 fi
50415 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50416 if test -n "$AIX_CXX_LD"; then
50417 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50418 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50419 else
50420 { echo "$as_me:$LINENO: result: no" >&5
50421 echo "${ECHO_T}no" >&6; }
50422 fi
50423
50424
50425 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50426 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50427 fi
50428 ;;
50429
50430 *-*-beos* )
50431 SHARED_LD_CC="${LD} -nostart -o"
50432 SHARED_LD_CXX="${LD} -nostart -o"
50433 ;;
50434
50435 *-*-irix* )
50436 if test "x$GCC" != "xyes"; then
50437 PIC_FLAG="-KPIC"
50438 fi
50439 ;;
50440
50441 *-*-cygwin* | *-*-mingw32* )
50442 PIC_FLAG=""
50443 SHARED_LD_CC="\$(CC) -shared -o"
50444 SHARED_LD_CXX="\$(CXX) -shared -o"
50445 WINDOWS_IMPLIB=1
50446 ;;
50447
50448 *-pc-os2_emx | *-pc-os2-emx )
50449 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50450 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50451 PIC_FLAG=""
50452
50453 D='$'
50454 cat <<EOF >dllar.sh
50455 #!/bin/sh
50456 #
50457 # dllar - a tool to build both a .dll and an .a file
50458 # from a set of object (.o) files for EMX/OS2.
50459 #
50460 # Written by Andrew Zabolotny, bit@freya.etu.ru
50461 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50462 #
50463 # This script will accept a set of files on the command line.
50464 # All the public symbols from the .o files will be exported into
50465 # a .DEF file, then linker will be run (through gcc) against them to
50466 # build a shared library consisting of all given .o files. All libraries
50467 # (.a) will be first decompressed into component .o files then act as
50468 # described above. You can optionally give a description (-d "description")
50469 # which will be put into .DLL. To see the list of accepted options (as well
50470 # as command-line format) simply run this program without options. The .DLL
50471 # is built to be imported by name (there is no guarantee that new versions
50472 # of the library you build will have same ordinals for same symbols).
50473 #
50474 # dllar is free software; you can redistribute it and/or modify
50475 # it under the terms of the GNU General Public License as published by
50476 # the Free Software Foundation; either version 2, or (at your option)
50477 # any later version.
50478 #
50479 # dllar is distributed in the hope that it will be useful,
50480 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50481 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50482 # GNU General Public License for more details.
50483 #
50484 # You should have received a copy of the GNU General Public License
50485 # along with dllar; see the file COPYING. If not, write to the Free
50486 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50487 # 02111-1307, USA.
50488
50489 # To successfuly run this program you will need:
50490 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50491 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50492 # - gcc
50493 # (used to build the .dll)
50494 # - emxexp
50495 # (used to create .def file from .o files)
50496 # - emximp
50497 # (used to create .a file from .def file)
50498 # - GNU text utilites (cat, sort, uniq)
50499 # used to process emxexp output
50500 # - GNU file utilities (mv, rm)
50501 # - GNU sed
50502 # - lxlite (optional, see flag below)
50503 # (used for general .dll cleanup)
50504 #
50505
50506 flag_USE_LXLITE=1;
50507
50508 #
50509 # helper functions
50510 # basnam, variant of basename, which does _not_ remove the path, _iff_
50511 # second argument (suffix to remove) is given
50512 basnam(){
50513 case ${D}# in
50514 1)
50515 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50516 ;;
50517 2)
50518 echo ${D}1 | sed 's/'${D}2'${D}//'
50519 ;;
50520 *)
50521 echo "error in basnam ${D}*"
50522 exit 8
50523 ;;
50524 esac
50525 }
50526
50527 # Cleanup temporary files and output
50528 CleanUp() {
50529 cd ${D}curDir
50530 for i in ${D}inputFiles ; do
50531 case ${D}i in
50532 *!)
50533 rm -rf \`basnam ${D}i !\`
50534 ;;
50535 *)
50536 ;;
50537 esac
50538 done
50539
50540 # Kill result in case of failure as there is just to many stupid make/nmake
50541 # things out there which doesn't do this.
50542 if [ ${D}# -eq 0 ]; then
50543 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50544 fi
50545 }
50546
50547 # Print usage and exit script with rc=1.
50548 PrintHelp() {
50549 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50550 echo ' [-name-mangler-script script.sh]'
50551 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50552 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50553 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50554 echo ' [*.o] [*.a]'
50555 echo '*> "output_file" should have no extension.'
50556 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50557 echo ' The import library name is derived from this and is set to "name".a,'
50558 echo ' unless overridden by -import'
50559 echo '*> "importlib_name" should have no extension.'
50560 echo ' If it has the .o, or .a extension, it is automatically removed.'
50561 echo ' This name is used as the import library name and may be longer and'
50562 echo ' more descriptive than the DLL name which has to follow the old '
50563 echo ' 8.3 convention of FAT.'
50564 echo '*> "script.sh may be given to override the output_file name by a'
50565 echo ' different name. It is mainly useful if the regular make process'
50566 echo ' of some package does not take into account OS/2 restriction of'
50567 echo ' DLL name lengths. It takes the importlib name as input and is'
50568 echo ' supposed to procude a shorter name as output. The script should'
50569 echo ' expect to get importlib_name without extension and should produce'
50570 echo ' a (max.) 8 letter name without extension.'
50571 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50572 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50573 echo ' These flags will be put at the start of GCC command line.'
50574 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50575 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50576 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50577 echo ' If the last character of a symbol is "*", all symbols beginning'
50578 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50579 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50580 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50581 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50582 echo ' C runtime DLLs.'
50583 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50584 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50585 echo ' unchanged to GCC at the end of command line.'
50586 echo '*> If you create a DLL from a library and you do not specify -o,'
50587 echo ' the basename for DLL and import library will be set to library name,'
50588 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50589 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50590 echo ' library will be renamed into gcc_s.a.'
50591 echo '--------'
50592 echo 'Example:'
50593 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50594 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50595 CleanUp
50596 exit 1
50597 }
50598
50599 # Execute a command.
50600 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50601 # @Uses Whatever CleanUp() uses.
50602 doCommand() {
50603 echo "${D}*"
50604 eval ${D}*
50605 rcCmd=${D}?
50606
50607 if [ ${D}rcCmd -ne 0 ]; then
50608 echo "command failed, exit code="${D}rcCmd
50609 CleanUp
50610 exit ${D}rcCmd
50611 fi
50612 }
50613
50614 # main routine
50615 # setup globals
50616 cmdLine=${D}*
50617 outFile=""
50618 outimpFile=""
50619 inputFiles=""
50620 renameScript=""
50621 description=""
50622 CC=gcc.exe
50623 CFLAGS="-s -Zcrtdll"
50624 EXTRA_CFLAGS=""
50625 EXPORT_BY_ORDINALS=0
50626 exclude_symbols=""
50627 library_flags=""
50628 curDir=\`pwd\`
50629 curDirS=curDir
50630 case ${D}curDirS in
50631 */)
50632 ;;
50633 *)
50634 curDirS=${D}{curDirS}"/"
50635 ;;
50636 esac
50637 # Parse commandline
50638 libsToLink=0
50639 omfLinking=0
50640 while [ ${D}1 ]; do
50641 case ${D}1 in
50642 -ord*)
50643 EXPORT_BY_ORDINALS=1;
50644 ;;
50645 -o*)
50646 shift
50647 outFile=${D}1
50648 ;;
50649 -i*)
50650 shift
50651 outimpFile=${D}1
50652 ;;
50653 -name-mangler-script)
50654 shift
50655 renameScript=${D}1
50656 ;;
50657 -d*)
50658 shift
50659 description=${D}1
50660 ;;
50661 -f*)
50662 shift
50663 CFLAGS=${D}1
50664 ;;
50665 -c*)
50666 shift
50667 CC=${D}1
50668 ;;
50669 -h*)
50670 PrintHelp
50671 ;;
50672 -ex*)
50673 shift
50674 exclude_symbols=${D}{exclude_symbols}${D}1" "
50675 ;;
50676 -libf*)
50677 shift
50678 library_flags=${D}{library_flags}${D}1" "
50679 ;;
50680 -nocrt*)
50681 CFLAGS="-s"
50682 ;;
50683 -nolxl*)
50684 flag_USE_LXLITE=0
50685 ;;
50686 -* | /*)
50687 case ${D}1 in
50688 -L* | -l*)
50689 libsToLink=1
50690 ;;
50691 -Zomf)
50692 omfLinking=1
50693 ;;
50694 *)
50695 ;;
50696 esac
50697 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50698 ;;
50699 *.dll)
50700 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50701 if [ ${D}omfLinking -eq 1 ]; then
50702 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50703 else
50704 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50705 fi
50706 ;;
50707 *)
50708 found=0;
50709 if [ ${D}libsToLink -ne 0 ]; then
50710 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50711 else
50712 for file in ${D}1 ; do
50713 if [ -f ${D}file ]; then
50714 inputFiles="${D}{inputFiles} ${D}file"
50715 found=1
50716 fi
50717 done
50718 if [ ${D}found -eq 0 ]; then
50719 echo "ERROR: No file(s) found: "${D}1
50720 exit 8
50721 fi
50722 fi
50723 ;;
50724 esac
50725 shift
50726 done # iterate cmdline words
50727
50728 #
50729 if [ -z "${D}inputFiles" ]; then
50730 echo "dllar: no input files"
50731 PrintHelp
50732 fi
50733
50734 # Now extract all .o files from .a files
50735 newInputFiles=""
50736 for file in ${D}inputFiles ; do
50737 case ${D}file in
50738 *.a | *.lib)
50739 case ${D}file in
50740 *.a)
50741 suffix=".a"
50742 AR="ar"
50743 ;;
50744 *.lib)
50745 suffix=".lib"
50746 AR="emxomfar"
50747 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50748 ;;
50749 *)
50750 ;;
50751 esac
50752 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50753 mkdir ${D}dirname
50754 if [ ${D}? -ne 0 ]; then
50755 echo "Failed to create subdirectory ./${D}dirname"
50756 CleanUp
50757 exit 8;
50758 fi
50759 # Append '!' to indicate archive
50760 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50761 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50762 cd ${D}curDir
50763 found=0;
50764 for subfile in ${D}dirname/*.o* ; do
50765 if [ -f ${D}subfile ]; then
50766 found=1
50767 if [ -s ${D}subfile ]; then
50768 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50769 newInputFiles="${D}newInputFiles ${D}subfile"
50770 fi
50771 fi
50772 done
50773 if [ ${D}found -eq 0 ]; then
50774 echo "WARNING: there are no files in archive \\'${D}file\\'"
50775 fi
50776 ;;
50777 *)
50778 newInputFiles="${D}{newInputFiles} ${D}file"
50779 ;;
50780 esac
50781 done
50782 inputFiles="${D}newInputFiles"
50783
50784 # Output filename(s).
50785 do_backup=0;
50786 if [ -z ${D}outFile ]; then
50787 do_backup=1;
50788 set outFile ${D}inputFiles; outFile=${D}2
50789 fi
50790
50791 # If it is an archive, remove the '!' and the '_%' suffixes
50792 case ${D}outFile in
50793 *_%!)
50794 outFile=\`basnam ${D}outFile _%!\`
50795 ;;
50796 *)
50797 ;;
50798 esac
50799 case ${D}outFile in
50800 *.dll)
50801 outFile=\`basnam ${D}outFile .dll\`
50802 ;;
50803 *.DLL)
50804 outFile=\`basnam ${D}outFile .DLL\`
50805 ;;
50806 *.o)
50807 outFile=\`basnam ${D}outFile .o\`
50808 ;;
50809 *.obj)
50810 outFile=\`basnam ${D}outFile .obj\`
50811 ;;
50812 *.a)
50813 outFile=\`basnam ${D}outFile .a\`
50814 ;;
50815 *.lib)
50816 outFile=\`basnam ${D}outFile .lib\`
50817 ;;
50818 *)
50819 ;;
50820 esac
50821 case ${D}outimpFile in
50822 *.a)
50823 outimpFile=\`basnam ${D}outimpFile .a\`
50824 ;;
50825 *.lib)
50826 outimpFile=\`basnam ${D}outimpFile .lib\`
50827 ;;
50828 *)
50829 ;;
50830 esac
50831 if [ -z ${D}outimpFile ]; then
50832 outimpFile=${D}outFile
50833 fi
50834 defFile="${D}{outFile}.def"
50835 arcFile="${D}{outimpFile}.a"
50836 arcFile2="${D}{outimpFile}.lib"
50837
50838 #create ${D}dllFile as something matching 8.3 restrictions,
50839 if [ -z ${D}renameScript ] ; then
50840 dllFile="${D}outFile"
50841 else
50842 dllFile=\`${D}renameScript ${D}outimpFile\`
50843 fi
50844
50845 if [ ${D}do_backup -ne 0 ] ; then
50846 if [ -f ${D}arcFile ] ; then
50847 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50848 fi
50849 if [ -f ${D}arcFile2 ] ; then
50850 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50851 fi
50852 fi
50853
50854 # Extract public symbols from all the object files.
50855 tmpdefFile=${D}{defFile}_%
50856 rm -f ${D}tmpdefFile
50857 for file in ${D}inputFiles ; do
50858 case ${D}file in
50859 *!)
50860 ;;
50861 *)
50862 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50863 ;;
50864 esac
50865 done
50866
50867 # Create the def file.
50868 rm -f ${D}defFile
50869 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50870 dllFile="${D}{dllFile}.dll"
50871 if [ ! -z ${D}description ]; then
50872 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50873 fi
50874 echo "EXPORTS" >> ${D}defFile
50875
50876 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50877 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50878
50879 # Checks if the export is ok or not.
50880 for word in ${D}exclude_symbols; do
50881 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50882 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50883 done
50884
50885
50886 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50887 sed "=" < ${D}tmpdefFile | \\
50888 sed '
50889 N
50890 : loop
50891 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50892 t loop
50893 ' > ${D}{tmpdefFile}%
50894 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50895 else
50896 rm -f ${D}{tmpdefFile}%
50897 fi
50898 cat ${D}tmpdefFile >> ${D}defFile
50899 rm -f ${D}tmpdefFile
50900
50901 # Do linking, create implib, and apply lxlite.
50902 gccCmdl="";
50903 for file in ${D}inputFiles ; do
50904 case ${D}file in
50905 *!)
50906 ;;
50907 *)
50908 gccCmdl="${D}gccCmdl ${D}file"
50909 ;;
50910 esac
50911 done
50912 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50913 touch "${D}{outFile}.dll"
50914
50915 doCommand "emximp -o ${D}arcFile ${D}defFile"
50916 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50917 add_flags="";
50918 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50919 add_flags="-ynd"
50920 fi
50921 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50922 fi
50923 doCommand "emxomf -s -l ${D}arcFile"
50924
50925 # Successful exit.
50926 CleanUp 1
50927 exit 0
50928 EOF
50929
50930 chmod +x dllar.sh
50931 ;;
50932
50933 powerpc-apple-macos* | \
50934 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50935 *-*-mirbsd* | \
50936 *-*-sunos4* | \
50937 *-*-osf* | \
50938 *-*-dgux5* | \
50939 *-*-sysv5* | \
50940 *-pc-msdosdjgpp )
50941 ;;
50942
50943 *)
50944 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50945 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50946 { (exit 1); exit 1; }; }
50947 esac
50948
50949 if test "x$PIC_FLAG" != "x" ; then
50950 PIC_FLAG="$PIC_FLAG -DPIC"
50951 fi
50952
50953 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50954 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50955 fi
50956 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50957 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50958 fi
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968 USE_SOVERSION=0
50969 USE_SOVERLINUX=0
50970 USE_SOVERSOLARIS=0
50971 USE_SOVERCYGWIN=0
50972 USE_SOTWOSYMLINKS=0
50973 USE_MACVERSION=0
50974 SONAME_FLAG=
50975
50976 case "${BAKEFILE_HOST}" in
50977 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50978 *-*-k*bsd*-gnu | *-*-mirbsd* )
50979 if test "x$SUNCXX" = "xyes"; then
50980 SONAME_FLAG="-h "
50981 else
50982 SONAME_FLAG="-Wl,-soname,"
50983 fi
50984 USE_SOVERSION=1
50985 USE_SOVERLINUX=1
50986 USE_SOTWOSYMLINKS=1
50987 ;;
50988
50989 *-*-solaris2* )
50990 SONAME_FLAG="-h "
50991 USE_SOVERSION=1
50992 USE_SOVERSOLARIS=1
50993 ;;
50994
50995 *-*-darwin* )
50996 USE_MACVERSION=1
50997 USE_SOVERSION=1
50998 USE_SOTWOSYMLINKS=1
50999 ;;
51000
51001 *-*-cygwin* )
51002 USE_SOVERSION=1
51003 USE_SOVERCYGWIN=1
51004 ;;
51005 esac
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016 # Check whether --enable-dependency-tracking was given.
51017 if test "${enable_dependency_tracking+set}" = set; then
51018 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51019 fi
51020
51021
51022 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51023 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51024
51025 BK_DEPS=""
51026 if test "x$bk_use_trackdeps" = "xno" ; then
51027 DEPS_TRACKING=0
51028 { echo "$as_me:$LINENO: result: disabled" >&5
51029 echo "${ECHO_T}disabled" >&6; }
51030 else
51031 DEPS_TRACKING=1
51032
51033 if test "x$GCC" = "xyes"; then
51034 DEPSMODE=gcc
51035 case "${BAKEFILE_HOST}" in
51036 *-*-darwin* )
51037 DEPSFLAG="-no-cpp-precomp -MMD"
51038 ;;
51039 * )
51040 DEPSFLAG="-MMD"
51041 ;;
51042 esac
51043 { echo "$as_me:$LINENO: result: gcc" >&5
51044 echo "${ECHO_T}gcc" >&6; }
51045 elif test "x$MWCC" = "xyes"; then
51046 DEPSMODE=mwcc
51047 DEPSFLAG="-MM"
51048 { echo "$as_me:$LINENO: result: mwcc" >&5
51049 echo "${ECHO_T}mwcc" >&6; }
51050 elif test "x$SUNCC" = "xyes"; then
51051 DEPSMODE=unixcc
51052 DEPSFLAG="-xM1"
51053 { echo "$as_me:$LINENO: result: Sun cc" >&5
51054 echo "${ECHO_T}Sun cc" >&6; }
51055 elif test "x$SGICC" = "xyes"; then
51056 DEPSMODE=unixcc
51057 DEPSFLAG="-M"
51058 { echo "$as_me:$LINENO: result: SGI cc" >&5
51059 echo "${ECHO_T}SGI cc" >&6; }
51060 elif test "x$HPCC" = "xyes"; then
51061 DEPSMODE=unixcc
51062 DEPSFLAG="+make"
51063 { echo "$as_me:$LINENO: result: HP cc" >&5
51064 echo "${ECHO_T}HP cc" >&6; }
51065 elif test "x$COMPAQCC" = "xyes"; then
51066 DEPSMODE=gcc
51067 DEPSFLAG="-MD"
51068 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51069 echo "${ECHO_T}Compaq cc" >&6; }
51070 else
51071 DEPS_TRACKING=0
51072 { echo "$as_me:$LINENO: result: none" >&5
51073 echo "${ECHO_T}none" >&6; }
51074 fi
51075
51076 if test $DEPS_TRACKING = 1 ; then
51077
51078 D='$'
51079 cat <<EOF >bk-deps
51080 #!/bin/sh
51081
51082 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51083 # script. It is used to track C/C++ files dependencies in portable way.
51084 #
51085 # Permission is given to use this file in any way.
51086
51087 DEPSMODE=${DEPSMODE}
51088 DEPSFLAG="${DEPSFLAG}"
51089 DEPSDIRBASE=.deps
51090
51091 if test ${D}DEPSMODE = gcc ; then
51092 ${D}* ${D}{DEPSFLAG}
51093 status=${D}?
51094
51095 # determine location of created files:
51096 while test ${D}# -gt 0; do
51097 case "${D}1" in
51098 -o )
51099 shift
51100 objfile=${D}1
51101 ;;
51102 -* )
51103 ;;
51104 * )
51105 srcfile=${D}1
51106 ;;
51107 esac
51108 shift
51109 done
51110 objfilebase=\`basename ${D}objfile\`
51111 builddir=\`dirname ${D}objfile\`
51112 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51113 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51114 depsdir=${D}builddir/${D}DEPSDIRBASE
51115 mkdir -p ${D}depsdir
51116
51117 # if the compiler failed, we're done:
51118 if test ${D}{status} != 0 ; then
51119 rm -f ${D}depfile
51120 exit ${D}{status}
51121 fi
51122
51123 # move created file to the location we want it in:
51124 if test -f ${D}depfile ; then
51125 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51126 rm -f ${D}depfile
51127 else
51128 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51129 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51130 if test ! -f ${D}depfile ; then
51131 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51132 depfile="${D}objfile.d"
51133 fi
51134 if test -f ${D}depfile ; then
51135 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51136 rm -f ${D}depfile
51137 fi
51138 fi
51139 exit 0
51140
51141 elif test ${D}DEPSMODE = mwcc ; then
51142 ${D}* || exit ${D}?
51143 # Run mwcc again with -MM and redirect into the dep file we want
51144 # NOTE: We can't use shift here because we need ${D}* to be valid
51145 prevarg=
51146 for arg in ${D}* ; do
51147 if test "${D}prevarg" = "-o"; then
51148 objfile=${D}arg
51149 else
51150 case "${D}arg" in
51151 -* )
51152 ;;
51153 * )
51154 srcfile=${D}arg
51155 ;;
51156 esac
51157 fi
51158 prevarg="${D}arg"
51159 done
51160
51161 objfilebase=\`basename ${D}objfile\`
51162 builddir=\`dirname ${D}objfile\`
51163 depsdir=${D}builddir/${D}DEPSDIRBASE
51164 mkdir -p ${D}depsdir
51165
51166 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51167 exit 0
51168
51169 elif test ${D}DEPSMODE = unixcc; then
51170 ${D}* || exit ${D}?
51171 # Run compiler again with deps flag and redirect into the dep file.
51172 # It doesn't work if the '-o FILE' option is used, but without it the
51173 # dependency file will contain the wrong name for the object. So it is
51174 # removed from the command line, and the dep file is fixed with sed.
51175 cmd=""
51176 while test ${D}# -gt 0; do
51177 case "${D}1" in
51178 -o )
51179 shift
51180 objfile=${D}1
51181 ;;
51182 * )
51183 eval arg${D}#=\\${D}1
51184 cmd="${D}cmd \\${D}arg${D}#"
51185 ;;
51186 esac
51187 shift
51188 done
51189
51190 objfilebase=\`basename ${D}objfile\`
51191 builddir=\`dirname ${D}objfile\`
51192 depsdir=${D}builddir/${D}DEPSDIRBASE
51193 mkdir -p ${D}depsdir
51194
51195 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51196 exit 0
51197
51198 else
51199 ${D}*
51200 exit ${D}?
51201 fi
51202 EOF
51203
51204 chmod +x bk-deps
51205 BK_DEPS="`pwd`/bk-deps"
51206 fi
51207 fi
51208
51209
51210
51211
51212
51213 case ${BAKEFILE_HOST} in
51214 *-*-cygwin* | *-*-mingw32* )
51215 if test -n "$ac_tool_prefix"; then
51216 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51217 set dummy ${ac_tool_prefix}windres; ac_word=$2
51218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51220 if test "${ac_cv_prog_WINDRES+set}" = set; then
51221 echo $ECHO_N "(cached) $ECHO_C" >&6
51222 else
51223 if test -n "$WINDRES"; then
51224 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51225 else
51226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51227 for as_dir in $PATH
51228 do
51229 IFS=$as_save_IFS
51230 test -z "$as_dir" && as_dir=.
51231 for ac_exec_ext in '' $ac_executable_extensions; do
51232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51233 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51235 break 2
51236 fi
51237 done
51238 done
51239 IFS=$as_save_IFS
51240
51241 fi
51242 fi
51243 WINDRES=$ac_cv_prog_WINDRES
51244 if test -n "$WINDRES"; then
51245 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51246 echo "${ECHO_T}$WINDRES" >&6; }
51247 else
51248 { echo "$as_me:$LINENO: result: no" >&5
51249 echo "${ECHO_T}no" >&6; }
51250 fi
51251
51252
51253 fi
51254 if test -z "$ac_cv_prog_WINDRES"; then
51255 ac_ct_WINDRES=$WINDRES
51256 # Extract the first word of "windres", so it can be a program name with args.
51257 set dummy windres; ac_word=$2
51258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51260 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51261 echo $ECHO_N "(cached) $ECHO_C" >&6
51262 else
51263 if test -n "$ac_ct_WINDRES"; then
51264 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51265 else
51266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51267 for as_dir in $PATH
51268 do
51269 IFS=$as_save_IFS
51270 test -z "$as_dir" && as_dir=.
51271 for ac_exec_ext in '' $ac_executable_extensions; do
51272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51273 ac_cv_prog_ac_ct_WINDRES="windres"
51274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51275 break 2
51276 fi
51277 done
51278 done
51279 IFS=$as_save_IFS
51280
51281 fi
51282 fi
51283 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51284 if test -n "$ac_ct_WINDRES"; then
51285 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51286 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51287 else
51288 { echo "$as_me:$LINENO: result: no" >&5
51289 echo "${ECHO_T}no" >&6; }
51290 fi
51291
51292 if test "x$ac_ct_WINDRES" = x; then
51293 WINDRES=""
51294 else
51295 case $cross_compiling:$ac_tool_warned in
51296 yes:)
51297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51298 whose name does not start with the host triplet. If you think this
51299 configuration is useful to you, please write to autoconf@gnu.org." >&5
51300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51301 whose name does not start with the host triplet. If you think this
51302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51303 ac_tool_warned=yes ;;
51304 esac
51305 WINDRES=$ac_ct_WINDRES
51306 fi
51307 else
51308 WINDRES="$ac_cv_prog_WINDRES"
51309 fi
51310
51311 ;;
51312
51313 *-*-darwin* | powerpc-apple-macos* )
51314 # Extract the first word of "Rez", so it can be a program name with args.
51315 set dummy Rez; ac_word=$2
51316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51318 if test "${ac_cv_prog_REZ+set}" = set; then
51319 echo $ECHO_N "(cached) $ECHO_C" >&6
51320 else
51321 if test -n "$REZ"; then
51322 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51323 else
51324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51325 for as_dir in $PATH
51326 do
51327 IFS=$as_save_IFS
51328 test -z "$as_dir" && as_dir=.
51329 for ac_exec_ext in '' $ac_executable_extensions; do
51330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51331 ac_cv_prog_REZ="Rez"
51332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51333 break 2
51334 fi
51335 done
51336 done
51337 IFS=$as_save_IFS
51338
51339 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51340 fi
51341 fi
51342 REZ=$ac_cv_prog_REZ
51343 if test -n "$REZ"; then
51344 { echo "$as_me:$LINENO: result: $REZ" >&5
51345 echo "${ECHO_T}$REZ" >&6; }
51346 else
51347 { echo "$as_me:$LINENO: result: no" >&5
51348 echo "${ECHO_T}no" >&6; }
51349 fi
51350
51351
51352 # Extract the first word of "SetFile", so it can be a program name with args.
51353 set dummy SetFile; ac_word=$2
51354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51356 if test "${ac_cv_prog_SETFILE+set}" = set; then
51357 echo $ECHO_N "(cached) $ECHO_C" >&6
51358 else
51359 if test -n "$SETFILE"; then
51360 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51361 else
51362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51363 for as_dir in $PATH
51364 do
51365 IFS=$as_save_IFS
51366 test -z "$as_dir" && as_dir=.
51367 for ac_exec_ext in '' $ac_executable_extensions; do
51368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51369 ac_cv_prog_SETFILE="SetFile"
51370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51371 break 2
51372 fi
51373 done
51374 done
51375 IFS=$as_save_IFS
51376
51377 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51378 fi
51379 fi
51380 SETFILE=$ac_cv_prog_SETFILE
51381 if test -n "$SETFILE"; then
51382 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51383 echo "${ECHO_T}$SETFILE" >&6; }
51384 else
51385 { echo "$as_me:$LINENO: result: no" >&5
51386 echo "${ECHO_T}no" >&6; }
51387 fi
51388
51389
51390 ;;
51391 esac
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51402
51403
51404 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51405
51406
51407
51408 # Check whether --enable-precomp-headers was given.
51409 if test "${enable_precomp_headers+set}" = set; then
51410 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51411 fi
51412
51413
51414 GCC_PCH=0
51415 ICC_PCH=0
51416 USE_PCH=0
51417 BK_MAKE_PCH=""
51418
51419 case ${BAKEFILE_HOST} in
51420 *-*-cygwin* )
51421 bk_use_pch="no"
51422 ;;
51423 esac
51424
51425 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51426 if test "x$GCC" = "xyes"; then
51427 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51428 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51429 cat >conftest.$ac_ext <<_ACEOF
51430 /* confdefs.h. */
51431 _ACEOF
51432 cat confdefs.h >>conftest.$ac_ext
51433 cat >>conftest.$ac_ext <<_ACEOF
51434 /* end confdefs.h. */
51435
51436 int
51437 main ()
51438 {
51439
51440 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51441 There is no PCH support
51442 #endif
51443 #if (__GNUC__ < 3)
51444 There is no PCH support
51445 #endif
51446 #if (__GNUC__ == 3) && \
51447 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51448 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51449 ( defined(__INTEL_COMPILER) )
51450 There is no PCH support
51451 #endif
51452
51453 ;
51454 return 0;
51455 }
51456 _ACEOF
51457 rm -f conftest.$ac_objext
51458 if { (ac_try="$ac_compile"
51459 case "(($ac_try" in
51460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51461 *) ac_try_echo=$ac_try;;
51462 esac
51463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51464 (eval "$ac_compile") 2>conftest.er1
51465 ac_status=$?
51466 grep -v '^ *+' conftest.er1 >conftest.err
51467 rm -f conftest.er1
51468 cat conftest.err >&5
51469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51470 (exit $ac_status); } && {
51471 test -z "$ac_c_werror_flag" ||
51472 test ! -s conftest.err
51473 } && test -s conftest.$ac_objext; then
51474
51475 { echo "$as_me:$LINENO: result: yes" >&5
51476 echo "${ECHO_T}yes" >&6; }
51477 GCC_PCH=1
51478
51479 else
51480 echo "$as_me: failed program was:" >&5
51481 sed 's/^/| /' conftest.$ac_ext >&5
51482
51483
51484 if test "$INTELCXX8" = "yes"; then
51485 { echo "$as_me:$LINENO: result: yes" >&5
51486 echo "${ECHO_T}yes" >&6; }
51487 ICC_PCH=1
51488 if test "$INTELCXX10" = "yes"; then
51489 ICC_PCH_CREATE_SWITCH="-pch-create"
51490 ICC_PCH_USE_SWITCH="-pch-use"
51491 else
51492 ICC_PCH_CREATE_SWITCH="-create-pch"
51493 ICC_PCH_USE_SWITCH="-use-pch"
51494 fi
51495 else
51496 { echo "$as_me:$LINENO: result: no" >&5
51497 echo "${ECHO_T}no" >&6; }
51498 fi
51499
51500 fi
51501
51502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51503 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51504 USE_PCH=1
51505
51506 D='$'
51507 cat <<EOF >bk-make-pch
51508 #!/bin/sh
51509
51510 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51511 # script. It is used to generated precompiled headers.
51512 #
51513 # Permission is given to use this file in any way.
51514
51515 outfile="${D}{1}"
51516 header="${D}{2}"
51517 shift
51518 shift
51519
51520 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51521
51522 compiler=""
51523 headerfile=""
51524
51525 while test ${D}{#} -gt 0; do
51526 add_to_cmdline=1
51527 case "${D}{1}" in
51528 -I* )
51529 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51530 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51531 headerfile="${D}{incdir}/${D}{header}"
51532 fi
51533 ;;
51534 -use-pch|-use_pch|-pch-use )
51535 shift
51536 add_to_cmdline=0
51537 ;;
51538 esac
51539 if test ${D}add_to_cmdline = 1 ; then
51540 compiler="${D}{compiler} ${D}{1}"
51541 fi
51542 shift
51543 done
51544
51545 if test "x${D}{headerfile}" = "x" ; then
51546 echo "error: can't find header ${D}{header} in include paths" >&2
51547 else
51548 if test -f ${D}{outfile} ; then
51549 rm -f ${D}{outfile}
51550 else
51551 mkdir -p \`dirname ${D}{outfile}\`
51552 fi
51553 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51554 mkdir -p ${D}{builddir}/.deps
51555 if test "x${GCC_PCH}" = "x1" ; then
51556 # can do this because gcc is >= 3.4:
51557 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51558 elif test "x${ICC_PCH}" = "x1" ; then
51559 filename=pch_gen-${D}${D}
51560 file=${D}{filename}.c
51561 dfile=${D}{filename}.d
51562 cat > ${D}file <<EOT
51563 #include "${D}header"
51564 EOT
51565 # using -MF icc complains about differing command lines in creation/use
51566 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51567 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51568 rm -f ${D}file ${D}dfile ${D}{filename}.o
51569 fi
51570 exit ${D}{?}
51571 fi
51572 EOF
51573
51574 chmod +x bk-make-pch
51575 BK_MAKE_PCH="`pwd`/bk-make-pch"
51576 fi
51577 fi
51578 fi
51579
51580
51581
51582
51583
51584
51585
51586 COND_BUILD_DEBUG="#"
51587 if test "x$BUILD" = "xdebug" ; then
51588 COND_BUILD_DEBUG=""
51589 fi
51590
51591 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51592 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51593 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51594 fi
51595
51596 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51597 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51598 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51599 fi
51600
51601 COND_BUILD_DEBUG_UNICODE_0="#"
51602 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51603 COND_BUILD_DEBUG_UNICODE_0=""
51604 fi
51605
51606 COND_BUILD_DEBUG_UNICODE_1="#"
51607 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51608 COND_BUILD_DEBUG_UNICODE_1=""
51609 fi
51610
51611 COND_BUILD_RELEASE="#"
51612 if test "x$BUILD" = "xrelease" ; then
51613 COND_BUILD_RELEASE=""
51614 fi
51615
51616 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51617 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51618 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51619 fi
51620
51621 COND_BUILD_RELEASE_UNICODE_0="#"
51622 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51623 COND_BUILD_RELEASE_UNICODE_0=""
51624 fi
51625
51626 COND_BUILD_RELEASE_UNICODE_1="#"
51627 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51628 COND_BUILD_RELEASE_UNICODE_1=""
51629 fi
51630
51631 COND_BUILD_debug="#"
51632 if test "x$BUILD" = "xdebug" ; then
51633 COND_BUILD_debug=""
51634 fi
51635
51636 COND_BUILD_debug_DEBUG_FLAG_default="#"
51637 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51638 COND_BUILD_debug_DEBUG_FLAG_default=""
51639 fi
51640
51641 COND_BUILD_debug_DEBUG_INFO_default="#"
51642 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51643 COND_BUILD_debug_DEBUG_INFO_default=""
51644 fi
51645
51646 COND_BUILD_debug_UNICODE_0="#"
51647 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51648 COND_BUILD_debug_UNICODE_0=""
51649 fi
51650
51651 COND_BUILD_debug_UNICODE_1="#"
51652 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51653 COND_BUILD_debug_UNICODE_1=""
51654 fi
51655
51656 COND_BUILD_release="#"
51657 if test "x$BUILD" = "xrelease" ; then
51658 COND_BUILD_release=""
51659 fi
51660
51661 COND_BUILD_release_DEBUG_INFO_default="#"
51662 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51663 COND_BUILD_release_DEBUG_INFO_default=""
51664 fi
51665
51666 COND_BUILD_release_UNICODE_0="#"
51667 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51668 COND_BUILD_release_UNICODE_0=""
51669 fi
51670
51671 COND_BUILD_release_UNICODE_1="#"
51672 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51673 COND_BUILD_release_UNICODE_1=""
51674 fi
51675
51676 COND_DEBUG_FLAG_0="#"
51677 if test "x$DEBUG_FLAG" = "x0" ; then
51678 COND_DEBUG_FLAG_0=""
51679 fi
51680
51681 COND_DEBUG_FLAG_1="#"
51682 if test "x$DEBUG_FLAG" = "x1" ; then
51683 COND_DEBUG_FLAG_1=""
51684 fi
51685
51686 COND_DEBUG_INFO_0="#"
51687 if test "x$DEBUG_INFO" = "x0" ; then
51688 COND_DEBUG_INFO_0=""
51689 fi
51690
51691 COND_DEBUG_INFO_1="#"
51692 if test "x$DEBUG_INFO" = "x1" ; then
51693 COND_DEBUG_INFO_1=""
51694 fi
51695
51696 COND_DEPS_TRACKING_0="#"
51697 if test "x$DEPS_TRACKING" = "x0" ; then
51698 COND_DEPS_TRACKING_0=""
51699 fi
51700
51701 COND_DEPS_TRACKING_1="#"
51702 if test "x$DEPS_TRACKING" = "x1" ; then
51703 COND_DEPS_TRACKING_1=""
51704 fi
51705
51706 COND_GCC_PCH_1="#"
51707 if test "x$GCC_PCH" = "x1" ; then
51708 COND_GCC_PCH_1=""
51709 fi
51710
51711 COND_ICC_PCH_1="#"
51712 if test "x$ICC_PCH" = "x1" ; then
51713 COND_ICC_PCH_1=""
51714 fi
51715
51716 COND_MONOLITHIC_0="#"
51717 if test "x$MONOLITHIC" = "x0" ; then
51718 COND_MONOLITHIC_0=""
51719 fi
51720
51721 COND_MONOLITHIC_0_SHARED_0="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51723 COND_MONOLITHIC_0_SHARED_0=""
51724 fi
51725
51726 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51728 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51729 fi
51730
51731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51734 fi
51735
51736 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51739 fi
51740
51741 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51744 fi
51745
51746 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51749 fi
51750
51751 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51754 fi
51755
51756 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51759 fi
51760
51761 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51764 fi
51765
51766 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51769 fi
51770
51771 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51774 fi
51775
51776 COND_MONOLITHIC_0_SHARED_1="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_1=""
51779 fi
51780
51781 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51784 fi
51785
51786 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51789 fi
51790
51791 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51794 fi
51795
51796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51799 fi
51800
51801 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51804 fi
51805
51806 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51808 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51809 fi
51810
51811 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51813 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51814 fi
51815
51816 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51818 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51819 fi
51820
51821 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51823 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51824 fi
51825
51826 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51828 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51829 fi
51830
51831 COND_MONOLITHIC_0_USE_AUI_1="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51833 COND_MONOLITHIC_0_USE_AUI_1=""
51834 fi
51835
51836 COND_MONOLITHIC_0_USE_GUI_1="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_GUI_1=""
51839 fi
51840
51841 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51844 fi
51845
51846 COND_MONOLITHIC_0_USE_HTML_1="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_HTML_1=""
51849 fi
51850
51851 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_MEDIA_1=""
51854 fi
51855
51856 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51859 fi
51860
51861 COND_MONOLITHIC_0_USE_QA_1="#"
51862 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51863 COND_MONOLITHIC_0_USE_QA_1=""
51864 fi
51865
51866 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51867 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51868 COND_MONOLITHIC_0_USE_RIBBON_1=""
51869 fi
51870
51871 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51872 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51873 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51874 fi
51875
51876 COND_MONOLITHIC_0_USE_STC_1="#"
51877 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51878 COND_MONOLITHIC_0_USE_STC_1=""
51879 fi
51880
51881 COND_MONOLITHIC_0_USE_XRC_1="#"
51882 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51883 COND_MONOLITHIC_0_USE_XRC_1=""
51884 fi
51885
51886 COND_MONOLITHIC_1="#"
51887 if test "x$MONOLITHIC" = "x1" ; then
51888 COND_MONOLITHIC_1=""
51889 fi
51890
51891 COND_MONOLITHIC_1_SHARED_0="#"
51892 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51893 COND_MONOLITHIC_1_SHARED_0=""
51894 fi
51895
51896 COND_MONOLITHIC_1_SHARED_1="#"
51897 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51898 COND_MONOLITHIC_1_SHARED_1=""
51899 fi
51900
51901 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51902 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51903 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51904 fi
51905
51906 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51907 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51908 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51909 fi
51910
51911 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51912 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51913 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51914 fi
51915
51916 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51917 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51918 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51919 fi
51920
51921 COND_PLATFORM_MACOSX_1="#"
51922 if test "x$PLATFORM_MACOSX" = "x1" ; then
51923 COND_PLATFORM_MACOSX_1=""
51924 fi
51925
51926 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51928 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51929 fi
51930
51931 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51933 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51934 fi
51935
51936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51939 fi
51940
51941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51943 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51944 fi
51945
51946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51949 fi
51950
51951 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51954 fi
51955
51956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51959 fi
51960
51961 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51964 fi
51965
51966 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51968 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51969 fi
51970
51971 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51973 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51974 fi
51975
51976 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51979 fi
51980
51981 COND_PLATFORM_MACOS_1="#"
51982 if test "x$PLATFORM_MACOS" = "x1" ; then
51983 COND_PLATFORM_MACOS_1=""
51984 fi
51985
51986 COND_PLATFORM_MAC_0="#"
51987 if test "x$PLATFORM_MAC" = "x0" ; then
51988 COND_PLATFORM_MAC_0=""
51989 fi
51990
51991 COND_PLATFORM_MAC_1="#"
51992 if test "x$PLATFORM_MAC" = "x1" ; then
51993 COND_PLATFORM_MAC_1=""
51994 fi
51995
51996 COND_PLATFORM_MSDOS_0="#"
51997 if test "x$PLATFORM_MSDOS" = "x0" ; then
51998 COND_PLATFORM_MSDOS_0=""
51999 fi
52000
52001 COND_PLATFORM_MSDOS_1="#"
52002 if test "x$PLATFORM_MSDOS" = "x1" ; then
52003 COND_PLATFORM_MSDOS_1=""
52004 fi
52005
52006 COND_PLATFORM_OS2_1="#"
52007 if test "x$PLATFORM_OS2" = "x1" ; then
52008 COND_PLATFORM_OS2_1=""
52009 fi
52010
52011 COND_PLATFORM_UNIX_0="#"
52012 if test "x$PLATFORM_UNIX" = "x0" ; then
52013 COND_PLATFORM_UNIX_0=""
52014 fi
52015
52016 COND_PLATFORM_UNIX_1="#"
52017 if test "x$PLATFORM_UNIX" = "x1" ; then
52018 COND_PLATFORM_UNIX_1=""
52019 fi
52020
52021 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52022 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52023 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52024 fi
52025
52026 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52027 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52028 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52029 fi
52030
52031 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52032 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52033 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52034 fi
52035
52036 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52037 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52038 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52039 fi
52040
52041 COND_PLATFORM_WIN32_0="#"
52042 if test "x$PLATFORM_WIN32" = "x0" ; then
52043 COND_PLATFORM_WIN32_0=""
52044 fi
52045
52046 COND_PLATFORM_WIN32_1="#"
52047 if test "x$PLATFORM_WIN32" = "x1" ; then
52048 COND_PLATFORM_WIN32_1=""
52049 fi
52050
52051 COND_PLATFORM_WIN32_1_SHARED_0="#"
52052 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52053 COND_PLATFORM_WIN32_1_SHARED_0=""
52054 fi
52055
52056 COND_SHARED_0="#"
52057 if test "x$SHARED" = "x0" ; then
52058 COND_SHARED_0=""
52059 fi
52060
52061 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52062 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52063 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52064 fi
52065
52066 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52067 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52068 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52069 fi
52070
52071 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52072 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52073 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52074 fi
52075
52076 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52077 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52078 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52079 fi
52080
52081 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52082 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52083 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52084 fi
52085
52086 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52087 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52088 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52089 fi
52090
52091 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52092 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52094 fi
52095
52096 COND_SHARED_0_USE_STC_1="#"
52097 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52098 COND_SHARED_0_USE_STC_1=""
52099 fi
52100
52101 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52102 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52103 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52104 fi
52105
52106 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52107 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52108 COND_SHARED_0_wxUSE_REGEX_builtin=""
52109 fi
52110
52111 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52112 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52113 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52114 fi
52115
52116 COND_SHARED_1="#"
52117 if test "x$SHARED" = "x1" ; then
52118 COND_SHARED_1=""
52119 fi
52120
52121 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52122 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52123 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52124 fi
52125
52126 COND_TOOLKIT_="#"
52127 if test "x$TOOLKIT" = "x" ; then
52128 COND_TOOLKIT_=""
52129 fi
52130
52131 COND_TOOLKIT_COCOA="#"
52132 if test "x$TOOLKIT" = "xCOCOA" ; then
52133 COND_TOOLKIT_COCOA=""
52134 fi
52135
52136 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52137 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52138 COND_TOOLKIT_COCOA_USE_GUI_1=""
52139 fi
52140
52141 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52142 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52143 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52144 fi
52145
52146 COND_TOOLKIT_DFB="#"
52147 if test "x$TOOLKIT" = "xDFB" ; then
52148 COND_TOOLKIT_DFB=""
52149 fi
52150
52151 COND_TOOLKIT_DFB_USE_GUI_1="#"
52152 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52153 COND_TOOLKIT_DFB_USE_GUI_1=""
52154 fi
52155
52156 COND_TOOLKIT_GTK="#"
52157 if test "x$TOOLKIT" = "xGTK" ; then
52158 COND_TOOLKIT_GTK=""
52159 fi
52160
52161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52164 fi
52165
52166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52169 fi
52170
52171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52174 fi
52175
52176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52178 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52179 fi
52180
52181 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52182 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52183 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52184 fi
52185
52186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52188 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52189 fi
52190
52191 COND_TOOLKIT_GTK_USE_GUI_1="#"
52192 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52193 COND_TOOLKIT_GTK_USE_GUI_1=""
52194 fi
52195
52196 COND_TOOLKIT_MAC="#"
52197 if test "x$TOOLKIT" = "xMAC" ; then
52198 COND_TOOLKIT_MAC=""
52199 fi
52200
52201 COND_TOOLKIT_MGL="#"
52202 if test "x$TOOLKIT" = "xMGL" ; then
52203 COND_TOOLKIT_MGL=""
52204 fi
52205
52206 COND_TOOLKIT_MGL_USE_GUI_1="#"
52207 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52208 COND_TOOLKIT_MGL_USE_GUI_1=""
52209 fi
52210
52211 COND_TOOLKIT_MOTIF="#"
52212 if test "x$TOOLKIT" = "xMOTIF" ; then
52213 COND_TOOLKIT_MOTIF=""
52214 fi
52215
52216 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52217 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52218 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52219 fi
52220
52221 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52222 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52223 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52224 fi
52225
52226 COND_TOOLKIT_MSW="#"
52227 if test "x$TOOLKIT" = "xMSW" ; then
52228 COND_TOOLKIT_MSW=""
52229 fi
52230
52231 COND_TOOLKIT_MSW_USE_GUI_1="#"
52232 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52233 COND_TOOLKIT_MSW_USE_GUI_1=""
52234 fi
52235
52236 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52237 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52238 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52239 fi
52240
52241 COND_TOOLKIT_MSW_WXUNIV_0="#"
52242 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52243 COND_TOOLKIT_MSW_WXUNIV_0=""
52244 fi
52245
52246 COND_TOOLKIT_OSX_CARBON="#"
52247 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52248 COND_TOOLKIT_OSX_CARBON=""
52249 fi
52250
52251 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52252 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52253 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52254 fi
52255
52256 COND_TOOLKIT_OSX_COCOA="#"
52257 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52258 COND_TOOLKIT_OSX_COCOA=""
52259 fi
52260
52261 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52262 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52263 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52264 fi
52265
52266 COND_TOOLKIT_OSX_IPHONE="#"
52267 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52268 COND_TOOLKIT_OSX_IPHONE=""
52269 fi
52270
52271 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52272 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52273 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52274 fi
52275
52276 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52277 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52278 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52279 fi
52280
52281 COND_TOOLKIT_PM="#"
52282 if test "x$TOOLKIT" = "xPM" ; then
52283 COND_TOOLKIT_PM=""
52284 fi
52285
52286 COND_TOOLKIT_PM_USE_GUI_1="#"
52287 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52288 COND_TOOLKIT_PM_USE_GUI_1=""
52289 fi
52290
52291 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52292 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52293 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52294 fi
52295
52296 COND_TOOLKIT_WINCE="#"
52297 if test "x$TOOLKIT" = "xWINCE" ; then
52298 COND_TOOLKIT_WINCE=""
52299 fi
52300
52301 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52302 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52303 COND_TOOLKIT_WINCE_USE_GUI_1=""
52304 fi
52305
52306 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52307 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52308 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52309 fi
52310
52311 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52312 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52313 COND_TOOLKIT_WINCE_WXUNIV_0=""
52314 fi
52315
52316 COND_TOOLKIT_X11="#"
52317 if test "x$TOOLKIT" = "xX11" ; then
52318 COND_TOOLKIT_X11=""
52319 fi
52320
52321 COND_TOOLKIT_X11_USE_GUI_1="#"
52322 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52323 COND_TOOLKIT_X11_USE_GUI_1=""
52324 fi
52325
52326 COND_UNICODE_1="#"
52327 if test "x$UNICODE" = "x1" ; then
52328 COND_UNICODE_1=""
52329 fi
52330
52331 COND_USE_CAIRO_1="#"
52332 if test "x$USE_CAIRO" = "x1" ; then
52333 COND_USE_CAIRO_1=""
52334 fi
52335
52336 COND_USE_EXCEPTIONS_0="#"
52337 if test "x$USE_EXCEPTIONS" = "x0" ; then
52338 COND_USE_EXCEPTIONS_0=""
52339 fi
52340
52341 COND_USE_EXCEPTIONS_1="#"
52342 if test "x$USE_EXCEPTIONS" = "x1" ; then
52343 COND_USE_EXCEPTIONS_1=""
52344 fi
52345
52346 COND_USE_GUI_0="#"
52347 if test "x$USE_GUI" = "x0" ; then
52348 COND_USE_GUI_0=""
52349 fi
52350
52351 COND_USE_GUI_1="#"
52352 if test "x$USE_GUI" = "x1" ; then
52353 COND_USE_GUI_1=""
52354 fi
52355
52356 COND_USE_GUI_1_USE_OPENGL_1="#"
52357 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52358 COND_USE_GUI_1_USE_OPENGL_1=""
52359 fi
52360
52361 COND_USE_GUI_1_WXUNIV_0="#"
52362 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52363 COND_USE_GUI_1_WXUNIV_0=""
52364 fi
52365
52366 COND_USE_GUI_1_WXUNIV_1="#"
52367 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52368 COND_USE_GUI_1_WXUNIV_1=""
52369 fi
52370
52371 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52373 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52374 fi
52375
52376 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52378 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52379 fi
52380
52381 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52383 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52384 fi
52385
52386 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52388 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52389 fi
52390
52391 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52392 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52393 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52394 fi
52395
52396 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52397 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52398 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52399 fi
52400
52401 COND_USE_OPENGL_1="#"
52402 if test "x$USE_OPENGL" = "x1" ; then
52403 COND_USE_OPENGL_1=""
52404 fi
52405
52406 COND_USE_PCH_1="#"
52407 if test "x$USE_PCH" = "x1" ; then
52408 COND_USE_PCH_1=""
52409 fi
52410
52411 COND_USE_PLUGINS_0="#"
52412 if test "x$USE_PLUGINS" = "x0" ; then
52413 COND_USE_PLUGINS_0=""
52414 fi
52415
52416 COND_USE_RTTI_0="#"
52417 if test "x$USE_RTTI" = "x0" ; then
52418 COND_USE_RTTI_0=""
52419 fi
52420
52421 COND_USE_RTTI_1="#"
52422 if test "x$USE_RTTI" = "x1" ; then
52423 COND_USE_RTTI_1=""
52424 fi
52425
52426 COND_USE_SOTWOSYMLINKS_1="#"
52427 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52428 COND_USE_SOTWOSYMLINKS_1=""
52429 fi
52430
52431 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52432 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52433 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52434 fi
52435
52436 COND_USE_SOVERLINUX_1="#"
52437 if test "x$USE_SOVERLINUX" = "x1" ; then
52438 COND_USE_SOVERLINUX_1=""
52439 fi
52440
52441 COND_USE_SOVERSION_0="#"
52442 if test "x$USE_SOVERSION" = "x0" ; then
52443 COND_USE_SOVERSION_0=""
52444 fi
52445
52446 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52447 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52448 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52449 fi
52450
52451 COND_USE_SOVERSOLARIS_1="#"
52452 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52453 COND_USE_SOVERSOLARIS_1=""
52454 fi
52455
52456 COND_USE_STC_1="#"
52457 if test "x$USE_STC" = "x1" ; then
52458 COND_USE_STC_1=""
52459 fi
52460
52461 COND_USE_THREADS_0="#"
52462 if test "x$USE_THREADS" = "x0" ; then
52463 COND_USE_THREADS_0=""
52464 fi
52465
52466 COND_USE_THREADS_1="#"
52467 if test "x$USE_THREADS" = "x1" ; then
52468 COND_USE_THREADS_1=""
52469 fi
52470
52471 COND_USE_XRC_1="#"
52472 if test "x$USE_XRC" = "x1" ; then
52473 COND_USE_XRC_1=""
52474 fi
52475
52476 COND_WINDOWS_IMPLIB_1="#"
52477 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52478 COND_WINDOWS_IMPLIB_1=""
52479 fi
52480
52481 COND_WITH_PLUGIN_SDL_1="#"
52482 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52483 COND_WITH_PLUGIN_SDL_1=""
52484 fi
52485
52486 COND_WXUNIV_0="#"
52487 if test "x$WXUNIV" = "x0" ; then
52488 COND_WXUNIV_0=""
52489 fi
52490
52491 COND_WXUNIV_1="#"
52492 if test "x$WXUNIV" = "x1" ; then
52493 COND_WXUNIV_1=""
52494 fi
52495
52496 COND_WXUSE_EXPAT_BUILTIN="#"
52497 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52498 COND_WXUSE_EXPAT_BUILTIN=""
52499 fi
52500
52501 COND_WXUSE_LIBJPEG_BUILTIN="#"
52502 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52503 COND_WXUSE_LIBJPEG_BUILTIN=""
52504 fi
52505
52506 COND_WXUSE_LIBPNG_BUILTIN="#"
52507 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52508 COND_WXUSE_LIBPNG_BUILTIN=""
52509 fi
52510
52511 COND_WXUSE_LIBTIFF_BUILTIN="#"
52512 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52513 COND_WXUSE_LIBTIFF_BUILTIN=""
52514 fi
52515
52516 COND_WXUSE_REGEX_BUILTIN="#"
52517 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52518 COND_WXUSE_REGEX_BUILTIN=""
52519 fi
52520
52521 COND_WXUSE_ZLIB_BUILTIN="#"
52522 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52523 COND_WXUSE_ZLIB_BUILTIN=""
52524 fi
52525
52526 COND_wxUSE_EXPAT_builtin="#"
52527 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52528 COND_wxUSE_EXPAT_builtin=""
52529 fi
52530
52531 COND_wxUSE_LIBJPEG_builtin="#"
52532 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52533 COND_wxUSE_LIBJPEG_builtin=""
52534 fi
52535
52536 COND_wxUSE_LIBPNG_builtin="#"
52537 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52538 COND_wxUSE_LIBPNG_builtin=""
52539 fi
52540
52541 COND_wxUSE_LIBTIFF_builtin="#"
52542 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52543 COND_wxUSE_LIBTIFF_builtin=""
52544 fi
52545
52546 COND_wxUSE_REGEX_builtin="#"
52547 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52548 COND_wxUSE_REGEX_builtin=""
52549 fi
52550
52551 COND_wxUSE_ZLIB_builtin="#"
52552 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52553 COND_wxUSE_ZLIB_builtin=""
52554 fi
52555
52556
52557
52558 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52559 { { 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
52560 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;}
52561 { (exit 1); exit 1; }; }
52562 fi
52563
52564 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52565 { { 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
52566 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;}
52567 { (exit 1); exit 1; }; }
52568 fi
52569
52570
52571 case ${INSTALL} in
52572 /* ) # Absolute
52573 ;;
52574 ?:* ) # Drive letter, considered as absolute.
52575 ;;
52576 *)
52577 INSTALL=`pwd`/${INSTALL} ;;
52578 esac
52579
52580 if test "$wxUSE_GUI" = "yes"; then
52581
52582 if test "$wxUSE_MSW" = 1 ; then
52583 if test "x$WINDRES" = "x"; then
52584 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52585 echo "$as_me: error: Required windres program not found" >&2;}
52586 { (exit 1); exit 1; }; }
52587 fi
52588
52589 RESCOMP="$WINDRES"
52590 fi
52591
52592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52593 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52594 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52595
52596 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52597
52598 # Extract the first word of "DeRez", so it can be a program name with args.
52599 set dummy DeRez; ac_word=$2
52600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52602 if test "${ac_cv_prog_DEREZ+set}" = set; then
52603 echo $ECHO_N "(cached) $ECHO_C" >&6
52604 else
52605 if test -n "$DEREZ"; then
52606 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52607 else
52608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52609 for as_dir in $PATH
52610 do
52611 IFS=$as_save_IFS
52612 test -z "$as_dir" && as_dir=.
52613 for ac_exec_ext in '' $ac_executable_extensions; do
52614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52615 ac_cv_prog_DEREZ="DeRez"
52616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52617 break 2
52618 fi
52619 done
52620 done
52621 IFS=$as_save_IFS
52622
52623 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52624 fi
52625 fi
52626 DEREZ=$ac_cv_prog_DEREZ
52627 if test -n "$DEREZ"; then
52628 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52629 echo "${ECHO_T}$DEREZ" >&6; }
52630 else
52631 { echo "$as_me:$LINENO: result: no" >&5
52632 echo "${ECHO_T}no" >&6; }
52633 fi
52634
52635
52636
52637 MACSETFILE="\$(SETFILE)"
52638
52639 if test "$wxUSE_OSX_CARBON" = 1; then
52640 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52641 RESCOMP="$REZ"
52642 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52643 else
52644 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52645 RESCOMP="cat /dev/null \| $REZ"
52646 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52647 fi
52648
52649 else
52650 MACSETFILE="@true"
52651
52652 if test "$wxUSE_PM" = 1; then
52653 RESCOMP="emxbind"
52654 WXCONFIG_RESFLAGS="-ep"
52655
52656 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52657 else
52658 POSTLINK_COMMAND="@true"
52659 fi
52660 fi
52661
52662 fi
52663
52664
52665 if test $GCC_PCH = 1
52666 then
52667 if test "$wx_cv_gcc_pch_bug" = yes; then
52668 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52669 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52670 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52671 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52672 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52673 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52674 fi
52675
52676 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52677 # the headers that benefit from precompilation are mostly C++ headers.
52678 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52679 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52680 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52681 fi
52682
52683
52684 if test "$wxUSE_MAC" = 1 ; then
52685 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52686 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52687 mv temp bk-deps
52688 chmod +x bk-deps
52689 fi
52690 fi
52691
52692 if test "$wxUSE_SHARED" = "yes"; then
52693 case "${host}" in
52694 *-pc-os2_emx | *-pc-os2-emx )
52695 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52696 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52697 cp -p ${srcdir}/src/os2/dllnames.sh .
52698 cp -p ${srcdir}/src/os2/dllar.sh .
52699 ;;
52700 esac
52701 fi
52702 if test "$wxUSE_OMF" = "yes"; then
52703 case "${host}" in
52704 *-pc-os2_emx | *-pc-os2-emx )
52705 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52706 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52707 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52708 ;;
52709 esac
52710 fi
52711
52712 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52713
52714
52715 case "${host}" in
52716 *-*-solaris2* )
52717 if test "$GCC" = yes; then
52718 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52719 LIBS=`echo $LIBS | sed 's/-mt//'`
52720 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52721 fi
52722 ;;
52723
52724 *-*-linux* )
52725 if test "x$SUNCXX" = xyes; then
52726 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52727 LIBS=`echo $LIBS | sed 's/-pthread//'`
52728 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52729 fi
52730 ;;
52731 esac
52732
52733 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52734 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52735 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52736 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52737
52738 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772
52773
52774
52775
52776
52777
52778
52779
52780
52781
52782
52783
52784
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794
52795
52796
52797
52798
52799 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52800 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52801 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52802 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52803 echo $ECHO_N "(cached) $ECHO_C" >&6
52804 else
52805 cat >conftest.make <<\_ACEOF
52806 SHELL = /bin/sh
52807 all:
52808 @echo '@@@%%%=$(MAKE)=@@@%%%'
52809 _ACEOF
52810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52811 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52812 *@@@%%%=?*=@@@%%%*)
52813 eval ac_cv_prog_make_${ac_make}_set=yes;;
52814 *)
52815 eval ac_cv_prog_make_${ac_make}_set=no;;
52816 esac
52817 rm -f conftest.make
52818 fi
52819 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52820 { echo "$as_me:$LINENO: result: yes" >&5
52821 echo "${ECHO_T}yes" >&6; }
52822 SET_MAKE=
52823 else
52824 { echo "$as_me:$LINENO: result: no" >&5
52825 echo "${ECHO_T}no" >&6; }
52826 SET_MAKE="MAKE=${MAKE-make}"
52827 fi
52828
52829
52830
52831 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52832
52833
52834 if test "$USE_WIN32" = 1; then
52835 ac_config_commands="$ac_config_commands rcdefs.h"
52836
52837 fi
52838
52839 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52840
52841
52842 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52843
52844
52845 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52846
52847
52848 if test "$wx_cv_version_script" = "yes"; then
52849 ac_config_files="$ac_config_files version-script"
52850
52851 fi
52852 ac_config_files="$ac_config_files Makefile"
52853
52854
52855 ac_config_commands="$ac_config_commands wx-config"
52856
52857
52858
52859 if test "$wxWITH_SUBDIRS" != "no"; then
52860 if test "$wxUSE_GUI" = "yes"; then
52861 SUBDIRS="samples demos utils"
52862 else
52863 SUBDIRS="samples utils"
52864 fi
52865
52866
52867
52868 # Check whether --with-cppunit-prefix was given.
52869 if test "${with_cppunit_prefix+set}" = set; then
52870 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52871 else
52872 cppunit_config_prefix=""
52873 fi
52874
52875
52876 # Check whether --with-cppunit-exec-prefix was given.
52877 if test "${with_cppunit_exec_prefix+set}" = set; then
52878 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52879 else
52880 cppunit_config_exec_prefix=""
52881 fi
52882
52883
52884 if test x$cppunit_config_exec_prefix != x ; then
52885 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52886 if test x${CPPUNIT_CONFIG+set} != xset ; then
52887 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52888 fi
52889 fi
52890 if test x$cppunit_config_prefix != x ; then
52891 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52892 if test x${CPPUNIT_CONFIG+set} != xset ; then
52893 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52894 fi
52895 fi
52896
52897 # Extract the first word of "cppunit-config", so it can be a program name with args.
52898 set dummy cppunit-config; ac_word=$2
52899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52901 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52902 echo $ECHO_N "(cached) $ECHO_C" >&6
52903 else
52904 case $CPPUNIT_CONFIG in
52905 [\\/]* | ?:[\\/]*)
52906 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52907 ;;
52908 *)
52909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52910 for as_dir in $PATH
52911 do
52912 IFS=$as_save_IFS
52913 test -z "$as_dir" && as_dir=.
52914 for ac_exec_ext in '' $ac_executable_extensions; do
52915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52916 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52918 break 2
52919 fi
52920 done
52921 done
52922 IFS=$as_save_IFS
52923
52924 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52925 ;;
52926 esac
52927 fi
52928 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52929 if test -n "$CPPUNIT_CONFIG"; then
52930 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52931 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52932 else
52933 { echo "$as_me:$LINENO: result: no" >&5
52934 echo "${ECHO_T}no" >&6; }
52935 fi
52936
52937
52938 cppunit_version_min=1.8.0
52939
52940 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52941 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52942 no_cppunit=""
52943 if test "$CPPUNIT_CONFIG" = "no" ; then
52944 { echo "$as_me:$LINENO: result: no" >&5
52945 echo "${ECHO_T}no" >&6; }
52946 no_cppunit=yes
52947 else
52948 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52949 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52950 cppunit_version=`$CPPUNIT_CONFIG --version`
52951
52952 cppunit_major_version=`echo $cppunit_version | \
52953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52954 cppunit_minor_version=`echo $cppunit_version | \
52955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52956 cppunit_micro_version=`echo $cppunit_version | \
52957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52958
52959 cppunit_major_min=`echo $cppunit_version_min | \
52960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52961 cppunit_minor_min=`echo $cppunit_version_min | \
52962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52963 cppunit_micro_min=`echo $cppunit_version_min | \
52964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52965
52966 cppunit_version_proper=`expr \
52967 $cppunit_major_version \> $cppunit_major_min \| \
52968 $cppunit_major_version \= $cppunit_major_min \& \
52969 $cppunit_minor_version \> $cppunit_minor_min \| \
52970 $cppunit_major_version \= $cppunit_major_min \& \
52971 $cppunit_minor_version \= $cppunit_minor_min \& \
52972 $cppunit_micro_version \>= $cppunit_micro_min `
52973
52974 if test "$cppunit_version_proper" = "1" ; then
52975 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52976 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52977 else
52978 { echo "$as_me:$LINENO: result: no" >&5
52979 echo "${ECHO_T}no" >&6; }
52980 no_cppunit=yes
52981 fi
52982 fi
52983
52984 if test "x$no_cppunit" = x ; then
52985 SUBDIRS="$SUBDIRS tests"
52986 else
52987 CPPUNIT_CFLAGS=""
52988 CPPUNIT_LIBS=""
52989 :
52990 fi
52991
52992
52993
52994
52995
52996 for subdir in $SUBDIRS; do
52997 if test -d ${srcdir}/${subdir} ; then
52998 if test "$wxUSE_GUI" = "yes"; then
52999 if test ${subdir} = "samples"; then
53000 makefiles="samples/Makefile.in $makefiles"
53001 for sample in $SAMPLES_SUBDIRS; do
53002 if test -d $srcdir/samples/$sample; then
53003 makefiles="samples/$sample/Makefile.in $makefiles"
53004 fi
53005 done
53006 else
53007 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53008 eval "disabled=\$$disabled_var"
53009 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53010 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53011 fi
53012 else
53013 if test ${subdir} = "samples"; then
53014 makefiles="samples/Makefile.in $makefiles"
53015 for sample in `echo $SAMPLES_SUBDIRS`; do
53016 if test -d $srcdir/samples/$sample; then
53017 makefiles="samples/$sample/Makefile.in $makefiles"
53018 fi
53019 done
53020 elif test ${subdir} = "utils"; then
53021 makefiles=""
53022 for util in ifacecheck ; do
53023 if test -d $srcdir/utils/$util ; then
53024 makefiles="utils/$util/src/Makefile.in \
53025 $makefiles"
53026 fi
53027 done
53028 else
53029 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53030 fi
53031 fi
53032
53033 for mkin in $makefiles ; do
53034 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53035 ac_config_files="$ac_config_files $mk"
53036
53037 done
53038 fi
53039 done
53040 fi
53041 cat >confcache <<\_ACEOF
53042 # This file is a shell script that caches the results of configure
53043 # tests run on this system so they can be shared between configure
53044 # scripts and configure runs, see configure's option --config-cache.
53045 # It is not useful on other systems. If it contains results you don't
53046 # want to keep, you may remove or edit it.
53047 #
53048 # config.status only pays attention to the cache file if you give it
53049 # the --recheck option to rerun configure.
53050 #
53051 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53052 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53053 # following values.
53054
53055 _ACEOF
53056
53057 # The following way of writing the cache mishandles newlines in values,
53058 # but we know of no workaround that is simple, portable, and efficient.
53059 # So, we kill variables containing newlines.
53060 # Ultrix sh set writes to stderr and can't be redirected directly,
53061 # and sets the high bit in the cache file unless we assign to the vars.
53062 (
53063 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53064 eval ac_val=\$$ac_var
53065 case $ac_val in #(
53066 *${as_nl}*)
53067 case $ac_var in #(
53068 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53069 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53070 esac
53071 case $ac_var in #(
53072 _ | IFS | as_nl) ;; #(
53073 *) $as_unset $ac_var ;;
53074 esac ;;
53075 esac
53076 done
53077
53078 (set) 2>&1 |
53079 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53080 *${as_nl}ac_space=\ *)
53081 # `set' does not quote correctly, so add quotes (double-quote
53082 # substitution turns \\\\ into \\, and sed turns \\ into \).
53083 sed -n \
53084 "s/'/'\\\\''/g;
53085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53086 ;; #(
53087 *)
53088 # `set' quotes correctly as required by POSIX, so do not add quotes.
53089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53090 ;;
53091 esac |
53092 sort
53093 ) |
53094 sed '
53095 /^ac_cv_env_/b end
53096 t clear
53097 :clear
53098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53099 t end
53100 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53101 :end' >>confcache
53102 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53103 if test -w "$cache_file"; then
53104 test "x$cache_file" != "x/dev/null" &&
53105 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53106 echo "$as_me: updating cache $cache_file" >&6;}
53107 cat confcache >$cache_file
53108 else
53109 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53110 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53111 fi
53112 fi
53113 rm -f confcache
53114
53115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53116 # Let make expand exec_prefix.
53117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53118
53119 DEFS=-DHAVE_CONFIG_H
53120
53121 ac_libobjs=
53122 ac_ltlibobjs=
53123 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53124 # 1. Remove the extension, and $U if already installed.
53125 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53126 ac_i=`echo "$ac_i" | sed "$ac_script"`
53127 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53128 # will be set to the directory where LIBOBJS objects are built.
53129 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53130 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53131 done
53132 LIBOBJS=$ac_libobjs
53133
53134 LTLIBOBJS=$ac_ltlibobjs
53135
53136
53137
53138 : ${CONFIG_STATUS=./config.status}
53139 ac_clean_files_save=$ac_clean_files
53140 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53141 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53142 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53143 cat >$CONFIG_STATUS <<_ACEOF
53144 #! $SHELL
53145 # Generated by $as_me.
53146 # Run this file to recreate the current configuration.
53147 # Compiler output produced by configure, useful for debugging
53148 # configure, is in config.log if it exists.
53149
53150 debug=false
53151 ac_cs_recheck=false
53152 ac_cs_silent=false
53153 SHELL=\${CONFIG_SHELL-$SHELL}
53154 _ACEOF
53155
53156 cat >>$CONFIG_STATUS <<\_ACEOF
53157 ## --------------------- ##
53158 ## M4sh Initialization. ##
53159 ## --------------------- ##
53160
53161 # Be more Bourne compatible
53162 DUALCASE=1; export DUALCASE # for MKS sh
53163 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53164 emulate sh
53165 NULLCMD=:
53166 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53167 # is contrary to our usage. Disable this feature.
53168 alias -g '${1+"$@"}'='"$@"'
53169 setopt NO_GLOB_SUBST
53170 else
53171 case `(set -o) 2>/dev/null` in
53172 *posix*) set -o posix ;;
53173 esac
53174
53175 fi
53176
53177
53178
53179
53180 # PATH needs CR
53181 # Avoid depending upon Character Ranges.
53182 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53183 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53184 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53185 as_cr_digits='0123456789'
53186 as_cr_alnum=$as_cr_Letters$as_cr_digits
53187
53188 # The user is always right.
53189 if test "${PATH_SEPARATOR+set}" != set; then
53190 echo "#! /bin/sh" >conf$$.sh
53191 echo "exit 0" >>conf$$.sh
53192 chmod +x conf$$.sh
53193 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53194 PATH_SEPARATOR=';'
53195 else
53196 PATH_SEPARATOR=:
53197 fi
53198 rm -f conf$$.sh
53199 fi
53200
53201 # Support unset when possible.
53202 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53203 as_unset=unset
53204 else
53205 as_unset=false
53206 fi
53207
53208
53209 # IFS
53210 # We need space, tab and new line, in precisely that order. Quoting is
53211 # there to prevent editors from complaining about space-tab.
53212 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53213 # splitting by setting IFS to empty value.)
53214 as_nl='
53215 '
53216 IFS=" "" $as_nl"
53217
53218 # Find who we are. Look in the path if we contain no directory separator.
53219 case $0 in
53220 *[\\/]* ) as_myself=$0 ;;
53221 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53222 for as_dir in $PATH
53223 do
53224 IFS=$as_save_IFS
53225 test -z "$as_dir" && as_dir=.
53226 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53227 done
53228 IFS=$as_save_IFS
53229
53230 ;;
53231 esac
53232 # We did not find ourselves, most probably we were run as `sh COMMAND'
53233 # in which case we are not to be found in the path.
53234 if test "x$as_myself" = x; then
53235 as_myself=$0
53236 fi
53237 if test ! -f "$as_myself"; then
53238 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53239 { (exit 1); exit 1; }
53240 fi
53241
53242 # Work around bugs in pre-3.0 UWIN ksh.
53243 for as_var in ENV MAIL MAILPATH
53244 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53245 done
53246 PS1='$ '
53247 PS2='> '
53248 PS4='+ '
53249
53250 # NLS nuisances.
53251 for as_var in \
53252 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53253 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53254 LC_TELEPHONE LC_TIME
53255 do
53256 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53257 eval $as_var=C; export $as_var
53258 else
53259 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53260 fi
53261 done
53262
53263 # Required to use basename.
53264 if expr a : '\(a\)' >/dev/null 2>&1 &&
53265 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53266 as_expr=expr
53267 else
53268 as_expr=false
53269 fi
53270
53271 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53272 as_basename=basename
53273 else
53274 as_basename=false
53275 fi
53276
53277
53278 # Name of the executable.
53279 as_me=`$as_basename -- "$0" ||
53280 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53281 X"$0" : 'X\(//\)$' \| \
53282 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53283 echo X/"$0" |
53284 sed '/^.*\/\([^/][^/]*\)\/*$/{
53285 s//\1/
53286 q
53287 }
53288 /^X\/\(\/\/\)$/{
53289 s//\1/
53290 q
53291 }
53292 /^X\/\(\/\).*/{
53293 s//\1/
53294 q
53295 }
53296 s/.*/./; q'`
53297
53298 # CDPATH.
53299 $as_unset CDPATH
53300
53301
53302
53303 as_lineno_1=$LINENO
53304 as_lineno_2=$LINENO
53305 test "x$as_lineno_1" != "x$as_lineno_2" &&
53306 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53307
53308 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53309 # uniformly replaced by the line number. The first 'sed' inserts a
53310 # line-number line after each line using $LINENO; the second 'sed'
53311 # does the real work. The second script uses 'N' to pair each
53312 # line-number line with the line containing $LINENO, and appends
53313 # trailing '-' during substitution so that $LINENO is not a special
53314 # case at line end.
53315 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53316 # scripts with optimization help from Paolo Bonzini. Blame Lee
53317 # E. McMahon (1931-1989) for sed's syntax. :-)
53318 sed -n '
53319 p
53320 /[$]LINENO/=
53321 ' <$as_myself |
53322 sed '
53323 s/[$]LINENO.*/&-/
53324 t lineno
53325 b
53326 :lineno
53327 N
53328 :loop
53329 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53330 t loop
53331 s/-\n.*//
53332 ' >$as_me.lineno &&
53333 chmod +x "$as_me.lineno" ||
53334 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53335 { (exit 1); exit 1; }; }
53336
53337 # Don't try to exec as it changes $[0], causing all sort of problems
53338 # (the dirname of $[0] is not the place where we might find the
53339 # original and so on. Autoconf is especially sensitive to this).
53340 . "./$as_me.lineno"
53341 # Exit status is that of the last command.
53342 exit
53343 }
53344
53345
53346 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53347 as_dirname=dirname
53348 else
53349 as_dirname=false
53350 fi
53351
53352 ECHO_C= ECHO_N= ECHO_T=
53353 case `echo -n x` in
53354 -n*)
53355 case `echo 'x\c'` in
53356 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53357 *) ECHO_C='\c';;
53358 esac;;
53359 *)
53360 ECHO_N='-n';;
53361 esac
53362
53363 if expr a : '\(a\)' >/dev/null 2>&1 &&
53364 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53365 as_expr=expr
53366 else
53367 as_expr=false
53368 fi
53369
53370 rm -f conf$$ conf$$.exe conf$$.file
53371 if test -d conf$$.dir; then
53372 rm -f conf$$.dir/conf$$.file
53373 else
53374 rm -f conf$$.dir
53375 mkdir conf$$.dir
53376 fi
53377 echo >conf$$.file
53378 if ln -s conf$$.file conf$$ 2>/dev/null; then
53379 as_ln_s='ln -s'
53380 # ... but there are two gotchas:
53381 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53382 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53383 # In both cases, we have to default to `cp -p'.
53384 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53385 as_ln_s='cp -p'
53386 elif ln conf$$.file conf$$ 2>/dev/null; then
53387 as_ln_s=ln
53388 else
53389 as_ln_s='cp -p'
53390 fi
53391 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53392 rmdir conf$$.dir 2>/dev/null
53393
53394 if mkdir -p . 2>/dev/null; then
53395 as_mkdir_p=:
53396 else
53397 test -d ./-p && rmdir ./-p
53398 as_mkdir_p=false
53399 fi
53400
53401 if test -x / >/dev/null 2>&1; then
53402 as_test_x='test -x'
53403 else
53404 if ls -dL / >/dev/null 2>&1; then
53405 as_ls_L_option=L
53406 else
53407 as_ls_L_option=
53408 fi
53409 as_test_x='
53410 eval sh -c '\''
53411 if test -d "$1"; then
53412 test -d "$1/.";
53413 else
53414 case $1 in
53415 -*)set "./$1";;
53416 esac;
53417 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53418 ???[sx]*):;;*)false;;esac;fi
53419 '\'' sh
53420 '
53421 fi
53422 as_executable_p=$as_test_x
53423
53424 # Sed expression to map a string onto a valid CPP name.
53425 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53426
53427 # Sed expression to map a string onto a valid variable name.
53428 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53429
53430
53431 exec 6>&1
53432
53433 # Save the log message, to keep $[0] and so on meaningful, and to
53434 # report actual input values of CONFIG_FILES etc. instead of their
53435 # values after options handling.
53436 ac_log="
53437 This file was extended by wxWidgets $as_me 2.9.3, which was
53438 generated by GNU Autoconf 2.61. Invocation command line was
53439
53440 CONFIG_FILES = $CONFIG_FILES
53441 CONFIG_HEADERS = $CONFIG_HEADERS
53442 CONFIG_LINKS = $CONFIG_LINKS
53443 CONFIG_COMMANDS = $CONFIG_COMMANDS
53444 $ $0 $@
53445
53446 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53447 "
53448
53449 _ACEOF
53450
53451 cat >>$CONFIG_STATUS <<_ACEOF
53452 # Files that config.status was made for.
53453 config_files="$ac_config_files"
53454 config_headers="$ac_config_headers"
53455 config_commands="$ac_config_commands"
53456
53457 _ACEOF
53458
53459 cat >>$CONFIG_STATUS <<\_ACEOF
53460 ac_cs_usage="\
53461 \`$as_me' instantiates files from templates according to the
53462 current configuration.
53463
53464 Usage: $0 [OPTIONS] [FILE]...
53465
53466 -h, --help print this help, then exit
53467 -V, --version print version number and configuration settings, then exit
53468 -q, --quiet do not print progress messages
53469 -d, --debug don't remove temporary files
53470 --recheck update $as_me by reconfiguring in the same conditions
53471 --file=FILE[:TEMPLATE]
53472 instantiate the configuration file FILE
53473 --header=FILE[:TEMPLATE]
53474 instantiate the configuration header FILE
53475
53476 Configuration files:
53477 $config_files
53478
53479 Configuration headers:
53480 $config_headers
53481
53482 Configuration commands:
53483 $config_commands
53484
53485 Report bugs to <bug-autoconf@gnu.org>."
53486
53487 _ACEOF
53488 cat >>$CONFIG_STATUS <<_ACEOF
53489 ac_cs_version="\\
53490 wxWidgets config.status 2.9.3
53491 configured by $0, generated by GNU Autoconf 2.61,
53492 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53493
53494 Copyright (C) 2006 Free Software Foundation, Inc.
53495 This config.status script is free software; the Free Software Foundation
53496 gives unlimited permission to copy, distribute and modify it."
53497
53498 ac_pwd='$ac_pwd'
53499 srcdir='$srcdir'
53500 INSTALL='$INSTALL'
53501 _ACEOF
53502
53503 cat >>$CONFIG_STATUS <<\_ACEOF
53504 # If no file are specified by the user, then we need to provide default
53505 # value. By we need to know if files were specified by the user.
53506 ac_need_defaults=:
53507 while test $# != 0
53508 do
53509 case $1 in
53510 --*=*)
53511 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53512 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53513 ac_shift=:
53514 ;;
53515 *)
53516 ac_option=$1
53517 ac_optarg=$2
53518 ac_shift=shift
53519 ;;
53520 esac
53521
53522 case $ac_option in
53523 # Handling of the options.
53524 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53525 ac_cs_recheck=: ;;
53526 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53527 echo "$ac_cs_version"; exit ;;
53528 --debug | --debu | --deb | --de | --d | -d )
53529 debug=: ;;
53530 --file | --fil | --fi | --f )
53531 $ac_shift
53532 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53533 ac_need_defaults=false;;
53534 --header | --heade | --head | --hea )
53535 $ac_shift
53536 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53537 ac_need_defaults=false;;
53538 --he | --h)
53539 # Conflict between --help and --header
53540 { echo "$as_me: error: ambiguous option: $1
53541 Try \`$0 --help' for more information." >&2
53542 { (exit 1); exit 1; }; };;
53543 --help | --hel | -h )
53544 echo "$ac_cs_usage"; exit ;;
53545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53546 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53547 ac_cs_silent=: ;;
53548
53549 # This is an error.
53550 -*) { echo "$as_me: error: unrecognized option: $1
53551 Try \`$0 --help' for more information." >&2
53552 { (exit 1); exit 1; }; } ;;
53553
53554 *) ac_config_targets="$ac_config_targets $1"
53555 ac_need_defaults=false ;;
53556
53557 esac
53558 shift
53559 done
53560
53561 ac_configure_extra_args=
53562
53563 if $ac_cs_silent; then
53564 exec 6>/dev/null
53565 ac_configure_extra_args="$ac_configure_extra_args --silent"
53566 fi
53567
53568 _ACEOF
53569 cat >>$CONFIG_STATUS <<_ACEOF
53570 if \$ac_cs_recheck; then
53571 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53572 CONFIG_SHELL=$SHELL
53573 export CONFIG_SHELL
53574 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53575 fi
53576
53577 _ACEOF
53578 cat >>$CONFIG_STATUS <<\_ACEOF
53579 exec 5>>config.log
53580 {
53581 echo
53582 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53583 ## Running $as_me. ##
53584 _ASBOX
53585 echo "$ac_log"
53586 } >&5
53587
53588 _ACEOF
53589 cat >>$CONFIG_STATUS <<_ACEOF
53590 #
53591 # INIT-COMMANDS
53592 #
53593
53594 CPP="$CPP"
53595 infile="$srcdir/include/wx/msw/genrcdefs.h"
53596 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53597
53598
53599 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53600 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53601 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53602 LN_S="${LN_S}"
53603
53604
53605 _ACEOF
53606
53607 cat >>$CONFIG_STATUS <<\_ACEOF
53608
53609 # Handling of arguments.
53610 for ac_config_target in $ac_config_targets
53611 do
53612 case $ac_config_target in
53613 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53614 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53615 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53616 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53617 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53618 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53619 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53620 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53621 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53622
53623 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53624 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53625 { (exit 1); exit 1; }; };;
53626 esac
53627 done
53628
53629
53630 # If the user did not use the arguments to specify the items to instantiate,
53631 # then the envvar interface is used. Set only those that are not.
53632 # We use the long form for the default assignment because of an extremely
53633 # bizarre bug on SunOS 4.1.3.
53634 if $ac_need_defaults; then
53635 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53636 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53637 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53638 fi
53639
53640 # Have a temporary directory for convenience. Make it in the build tree
53641 # simply because there is no reason against having it here, and in addition,
53642 # creating and moving files from /tmp can sometimes cause problems.
53643 # Hook for its removal unless debugging.
53644 # Note that there is a small window in which the directory will not be cleaned:
53645 # after its creation but before its name has been assigned to `$tmp'.
53646 $debug ||
53647 {
53648 tmp=
53649 trap 'exit_status=$?
53650 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53651 ' 0
53652 trap '{ (exit 1); exit 1; }' 1 2 13 15
53653 }
53654 # Create a (secure) tmp directory for tmp files.
53655
53656 {
53657 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53658 test -n "$tmp" && test -d "$tmp"
53659 } ||
53660 {
53661 tmp=./conf$$-$RANDOM
53662 (umask 077 && mkdir "$tmp")
53663 } ||
53664 {
53665 echo "$me: cannot create a temporary directory in ." >&2
53666 { (exit 1); exit 1; }
53667 }
53668
53669 #
53670 # Set up the sed scripts for CONFIG_FILES section.
53671 #
53672
53673 # No need to generate the scripts if there are no CONFIG_FILES.
53674 # This happens for instance when ./config.status config.h
53675 if test -n "$CONFIG_FILES"; then
53676
53677 _ACEOF
53678
53679
53680
53681 ac_delim='%!_!# '
53682 for ac_last_try in false false false false false :; do
53683 cat >conf$$subs.sed <<_ACEOF
53684 SHELL!$SHELL$ac_delim
53685 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53686 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53687 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53688 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53689 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53690 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53691 exec_prefix!$exec_prefix$ac_delim
53692 prefix!$prefix$ac_delim
53693 program_transform_name!$program_transform_name$ac_delim
53694 bindir!$bindir$ac_delim
53695 sbindir!$sbindir$ac_delim
53696 libexecdir!$libexecdir$ac_delim
53697 datarootdir!$datarootdir$ac_delim
53698 datadir!$datadir$ac_delim
53699 sysconfdir!$sysconfdir$ac_delim
53700 sharedstatedir!$sharedstatedir$ac_delim
53701 localstatedir!$localstatedir$ac_delim
53702 includedir!$includedir$ac_delim
53703 oldincludedir!$oldincludedir$ac_delim
53704 docdir!$docdir$ac_delim
53705 infodir!$infodir$ac_delim
53706 htmldir!$htmldir$ac_delim
53707 dvidir!$dvidir$ac_delim
53708 pdfdir!$pdfdir$ac_delim
53709 psdir!$psdir$ac_delim
53710 libdir!$libdir$ac_delim
53711 localedir!$localedir$ac_delim
53712 mandir!$mandir$ac_delim
53713 DEFS!$DEFS$ac_delim
53714 ECHO_C!$ECHO_C$ac_delim
53715 ECHO_N!$ECHO_N$ac_delim
53716 ECHO_T!$ECHO_T$ac_delim
53717 LIBS!$LIBS$ac_delim
53718 build_alias!$build_alias$ac_delim
53719 host_alias!$host_alias$ac_delim
53720 target_alias!$target_alias$ac_delim
53721 build!$build$ac_delim
53722 build_cpu!$build_cpu$ac_delim
53723 build_vendor!$build_vendor$ac_delim
53724 build_os!$build_os$ac_delim
53725 host!$host$ac_delim
53726 host_cpu!$host_cpu$ac_delim
53727 host_vendor!$host_vendor$ac_delim
53728 host_os!$host_os$ac_delim
53729 wx_top_builddir!$wx_top_builddir$ac_delim
53730 CC!$CC$ac_delim
53731 CFLAGS!$CFLAGS$ac_delim
53732 LDFLAGS!$LDFLAGS$ac_delim
53733 CPPFLAGS!$CPPFLAGS$ac_delim
53734 ac_ct_CC!$ac_ct_CC$ac_delim
53735 EXEEXT!$EXEEXT$ac_delim
53736 OBJEXT!$OBJEXT$ac_delim
53737 CPP!$CPP$ac_delim
53738 GREP!$GREP$ac_delim
53739 EGREP!$EGREP$ac_delim
53740 CXX!$CXX$ac_delim
53741 CXXFLAGS!$CXXFLAGS$ac_delim
53742 ac_ct_CXX!$ac_ct_CXX$ac_delim
53743 AR!$AR$ac_delim
53744 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53745 CXXCPP!$CXXCPP$ac_delim
53746 subdirs!$subdirs$ac_delim
53747 PKG_CONFIG!$PKG_CONFIG$ac_delim
53748 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53749 GTK_LIBS!$GTK_LIBS$ac_delim
53750 GTK_CONFIG!$GTK_CONFIG$ac_delim
53751 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53752 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53753 XMKMF!$XMKMF$ac_delim
53754 X_CFLAGS!$X_CFLAGS$ac_delim
53755 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53756 X_LIBS!$X_LIBS$ac_delim
53757 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53758 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53759 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53760 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53761 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53762 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53763 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53764 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53765 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53766 LIBICONV!$LIBICONV$ac_delim
53767 GXX_VERSION!$GXX_VERSION$ac_delim
53768 SDL_CONFIG!$SDL_CONFIG$ac_delim
53769 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53770 SDL_LIBS!$SDL_LIBS$ac_delim
53771 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53772 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53773 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53774 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53775 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53776 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53777 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53778 HILDON_LIBS!$HILDON_LIBS$ac_delim
53779 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53780 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53781 _ACEOF
53782
53783 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53784 break
53785 elif $ac_last_try; then
53786 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53787 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53788 { (exit 1); exit 1; }; }
53789 else
53790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53791 fi
53792 done
53793
53794 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53795 if test -n "$ac_eof"; then
53796 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53797 ac_eof=`expr $ac_eof + 1`
53798 fi
53799
53800 cat >>$CONFIG_STATUS <<_ACEOF
53801 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53803 _ACEOF
53804 sed '
53805 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53806 s/^/s,@/; s/!/@,|#_!!_#|/
53807 :n
53808 t n
53809 s/'"$ac_delim"'$/,g/; t
53810 s/$/\\/; p
53811 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53812 ' >>$CONFIG_STATUS <conf$$subs.sed
53813 rm -f conf$$subs.sed
53814 cat >>$CONFIG_STATUS <<_ACEOF
53815 CEOF$ac_eof
53816 _ACEOF
53817
53818
53819 ac_delim='%!_!# '
53820 for ac_last_try in false false false false false :; do
53821 cat >conf$$subs.sed <<_ACEOF
53822 PYTHON!$PYTHON$ac_delim
53823 COND_PYTHON!$COND_PYTHON$ac_delim
53824 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53825 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53826 GST_CFLAGS!$GST_CFLAGS$ac_delim
53827 GST_LIBS!$GST_LIBS$ac_delim
53828 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53829 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53830 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53831 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53832 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53833 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53834 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53835 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53836 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53837 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53838 VENDOR!$VENDOR$ac_delim
53839 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53840 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53841 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53842 WXUNIV!$WXUNIV$ac_delim
53843 MONOLITHIC!$MONOLITHIC$ac_delim
53844 USE_PLUGINS!$USE_PLUGINS$ac_delim
53845 CXXWARNINGS!$CXXWARNINGS$ac_delim
53846 EXTRALIBS!$EXTRALIBS$ac_delim
53847 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53848 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53849 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53850 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53851 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53852 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53853 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53854 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53855 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53856 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53857 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53858 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53859 UNICODE!$UNICODE$ac_delim
53860 DEBUG_INFO!$DEBUG_INFO$ac_delim
53861 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53862 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53863 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53864 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53865 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53866 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53867 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53868 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53869 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53870 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53871 RANLIB!$RANLIB$ac_delim
53872 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53873 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53874 INSTALL_DATA!$INSTALL_DATA$ac_delim
53875 LN_S!$LN_S$ac_delim
53876 SET_MAKE!$SET_MAKE$ac_delim
53877 MAKE_SET!$MAKE_SET$ac_delim
53878 AROPTIONS!$AROPTIONS$ac_delim
53879 STRIP!$STRIP$ac_delim
53880 NM!$NM$ac_delim
53881 INSTALL_DIR!$INSTALL_DIR$ac_delim
53882 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53883 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53884 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53885 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53886 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53887 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53888 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53889 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53890 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53891 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53892 SO_SUFFIX!$SO_SUFFIX$ac_delim
53893 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53894 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53895 LIBPREFIX!$LIBPREFIX$ac_delim
53896 LIBEXT!$LIBEXT$ac_delim
53897 DLLPREFIX!$DLLPREFIX$ac_delim
53898 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53899 dlldir!$dlldir$ac_delim
53900 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53901 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53902 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53903 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53904 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53905 PIC_FLAG!$PIC_FLAG$ac_delim
53906 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53907 USE_SOVERSION!$USE_SOVERSION$ac_delim
53908 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53909 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53910 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53911 USE_MACVERSION!$USE_MACVERSION$ac_delim
53912 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53913 SONAME_FLAG!$SONAME_FLAG$ac_delim
53914 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53915 BK_DEPS!$BK_DEPS$ac_delim
53916 WINDRES!$WINDRES$ac_delim
53917 REZ!$REZ$ac_delim
53918 SETFILE!$SETFILE$ac_delim
53919 _ACEOF
53920
53921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53922 break
53923 elif $ac_last_try; then
53924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53926 { (exit 1); exit 1; }; }
53927 else
53928 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53929 fi
53930 done
53931
53932 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53933 if test -n "$ac_eof"; then
53934 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53935 ac_eof=`expr $ac_eof + 1`
53936 fi
53937
53938 cat >>$CONFIG_STATUS <<_ACEOF
53939 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53941 _ACEOF
53942 sed '
53943 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53944 s/^/s,@/; s/!/@,|#_!!_#|/
53945 :n
53946 t n
53947 s/'"$ac_delim"'$/,g/; t
53948 s/$/\\/; p
53949 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53950 ' >>$CONFIG_STATUS <conf$$subs.sed
53951 rm -f conf$$subs.sed
53952 cat >>$CONFIG_STATUS <<_ACEOF
53953 CEOF$ac_eof
53954 _ACEOF
53955
53956
53957 ac_delim='%!_!# '
53958 for ac_last_try in false false false false false :; do
53959 cat >conf$$subs.sed <<_ACEOF
53960 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53961 GCC_PCH!$GCC_PCH$ac_delim
53962 ICC_PCH!$ICC_PCH$ac_delim
53963 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53964 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53965 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53966 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53967 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53968 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53969 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53970 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53971 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53972 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53973 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53974 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53975 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53976 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53977 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53978 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53979 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53980 COND_BUILD_release!$COND_BUILD_release$ac_delim
53981 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53982 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53983 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53984 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53985 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53986 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53987 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53988 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53989 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53990 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53991 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53992 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53993 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53994 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53999 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54000 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54001 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54002 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54003 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54004 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54005 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54006 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54007 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54008 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54009 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54010 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54011 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54012 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54013 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54014 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54015 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54016 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54017 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54018 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54019 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54020 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54021 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54022 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54023 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54024 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54025 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54026 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54027 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54028 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54031 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54032 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54033 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54034 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54035 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54036 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54037 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
54038 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54039 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
54040 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54042 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54043 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54044 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54045 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54046 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54047 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54048 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54049 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54050 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54051 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54052 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54053 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54054 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54055 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54056 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54057 _ACEOF
54058
54059 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54060 break
54061 elif $ac_last_try; then
54062 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54063 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54064 { (exit 1); exit 1; }; }
54065 else
54066 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54067 fi
54068 done
54069
54070 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54071 if test -n "$ac_eof"; then
54072 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54073 ac_eof=`expr $ac_eof + 1`
54074 fi
54075
54076 cat >>$CONFIG_STATUS <<_ACEOF
54077 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54079 _ACEOF
54080 sed '
54081 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54082 s/^/s,@/; s/!/@,|#_!!_#|/
54083 :n
54084 t n
54085 s/'"$ac_delim"'$/,g/; t
54086 s/$/\\/; p
54087 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54088 ' >>$CONFIG_STATUS <conf$$subs.sed
54089 rm -f conf$$subs.sed
54090 cat >>$CONFIG_STATUS <<_ACEOF
54091 CEOF$ac_eof
54092 _ACEOF
54093
54094
54095 ac_delim='%!_!# '
54096 for ac_last_try in false false false false false :; do
54097 cat >conf$$subs.sed <<_ACEOF
54098 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54099 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54100 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54101 COND_SHARED_0!$COND_SHARED_0$ac_delim
54102 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54103 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54104 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54106 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54107 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54109 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54110 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54111 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54112 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54113 COND_SHARED_1!$COND_SHARED_1$ac_delim
54114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54115 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54116 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54117 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54118 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54119 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54120 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54121 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54122 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54123 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54125 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54126 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54127 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54128 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54129 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54130 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54131 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54132 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54133 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54134 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54135 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54136 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54137 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54138 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54139 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54140 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54141 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54142 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54143 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54144 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54145 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54146 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54147 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54148 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54149 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54150 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54152 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54153 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54154 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54155 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54156 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54157 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54158 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54159 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54160 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54161 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54162 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54163 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54164 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54165 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54166 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54167 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54168 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54169 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54170 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54171 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54172 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54173 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54174 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54175 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54176 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54177 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54178 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54179 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54180 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54181 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54182 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54183 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54184 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54185 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54186 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54187 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54188 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54189 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54190 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54191 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54192 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54193 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54194 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54195 _ACEOF
54196
54197 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54198 break
54199 elif $ac_last_try; then
54200 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54201 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54202 { (exit 1); exit 1; }; }
54203 else
54204 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54205 fi
54206 done
54207
54208 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54209 if test -n "$ac_eof"; then
54210 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54211 ac_eof=`expr $ac_eof + 1`
54212 fi
54213
54214 cat >>$CONFIG_STATUS <<_ACEOF
54215 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54217 _ACEOF
54218 sed '
54219 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54220 s/^/s,@/; s/!/@,|#_!!_#|/
54221 :n
54222 t n
54223 s/'"$ac_delim"'$/,g/; t
54224 s/$/\\/; p
54225 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54226 ' >>$CONFIG_STATUS <conf$$subs.sed
54227 rm -f conf$$subs.sed
54228 cat >>$CONFIG_STATUS <<_ACEOF
54229 CEOF$ac_eof
54230 _ACEOF
54231
54232
54233 ac_delim='%!_!# '
54234 for ac_last_try in false false false false false :; do
54235 cat >conf$$subs.sed <<_ACEOF
54236 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54237 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54238 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54239 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54240 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54241 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54242 DEREZ!$DEREZ$ac_delim
54243 SHARED!$SHARED$ac_delim
54244 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54245 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54246 USE_GUI!$USE_GUI$ac_delim
54247 AFMINSTALL!$AFMINSTALL$ac_delim
54248 WIN32INSTALL!$WIN32INSTALL$ac_delim
54249 TOOLKIT!$TOOLKIT$ac_delim
54250 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54251 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54252 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54253 cross_compiling!$cross_compiling$ac_delim
54254 WIDGET_SET!$WIDGET_SET$ac_delim
54255 WX_RELEASE!$WX_RELEASE$ac_delim
54256 WX_VERSION!$WX_VERSION$ac_delim
54257 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54258 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54259 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54260 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54261 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54262 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54263 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54264 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54265 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54266 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54267 GUIDIST!$GUIDIST$ac_delim
54268 DISTDIR!$DISTDIR$ac_delim
54269 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54270 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54271 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54272 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54273 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54274 RESCOMP!$RESCOMP$ac_delim
54275 RESFLAGS!$RESFLAGS$ac_delim
54276 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54277 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54278 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54279 LIBWXMACRES!$LIBWXMACRES$ac_delim
54280 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54281 MACSETFILE!$MACSETFILE$ac_delim
54282 GCC!$GCC$ac_delim
54283 DLLTOOL!$DLLTOOL$ac_delim
54284 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54285 LIBOBJS!$LIBOBJS$ac_delim
54286 LTLIBOBJS!$LTLIBOBJS$ac_delim
54287 _ACEOF
54288
54289 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54290 break
54291 elif $ac_last_try; then
54292 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54293 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54294 { (exit 1); exit 1; }; }
54295 else
54296 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54297 fi
54298 done
54299
54300 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54301 if test -n "$ac_eof"; then
54302 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54303 ac_eof=`expr $ac_eof + 1`
54304 fi
54305
54306 cat >>$CONFIG_STATUS <<_ACEOF
54307 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54308 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54309 _ACEOF
54310 sed '
54311 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54312 s/^/s,@/; s/!/@,|#_!!_#|/
54313 :n
54314 t n
54315 s/'"$ac_delim"'$/,g/; t
54316 s/$/\\/; p
54317 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54318 ' >>$CONFIG_STATUS <conf$$subs.sed
54319 rm -f conf$$subs.sed
54320 cat >>$CONFIG_STATUS <<_ACEOF
54321 :end
54322 s/|#_!!_#|//g
54323 CEOF$ac_eof
54324 _ACEOF
54325
54326
54327 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54328 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54329 # trailing colons and then remove the whole line if VPATH becomes empty
54330 # (actually we leave an empty line to preserve line numbers).
54331 if test "x$srcdir" = x.; then
54332 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54333 s/:*\$(srcdir):*/:/
54334 s/:*\${srcdir}:*/:/
54335 s/:*@srcdir@:*/:/
54336 s/^\([^=]*=[ ]*\):*/\1/
54337 s/:*$//
54338 s/^[^=]*=[ ]*$//
54339 }'
54340 fi
54341
54342 cat >>$CONFIG_STATUS <<\_ACEOF
54343 fi # test -n "$CONFIG_FILES"
54344
54345
54346 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54347 do
54348 case $ac_tag in
54349 :[FHLC]) ac_mode=$ac_tag; continue;;
54350 esac
54351 case $ac_mode$ac_tag in
54352 :[FHL]*:*);;
54353 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54354 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54355 { (exit 1); exit 1; }; };;
54356 :[FH]-) ac_tag=-:-;;
54357 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54358 esac
54359 ac_save_IFS=$IFS
54360 IFS=:
54361 set x $ac_tag
54362 IFS=$ac_save_IFS
54363 shift
54364 ac_file=$1
54365 shift
54366
54367 case $ac_mode in
54368 :L) ac_source=$1;;
54369 :[FH])
54370 ac_file_inputs=
54371 for ac_f
54372 do
54373 case $ac_f in
54374 -) ac_f="$tmp/stdin";;
54375 *) # Look for the file first in the build tree, then in the source tree
54376 # (if the path is not absolute). The absolute path cannot be DOS-style,
54377 # because $ac_f cannot contain `:'.
54378 test -f "$ac_f" ||
54379 case $ac_f in
54380 [\\/$]*) false;;
54381 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54382 esac ||
54383 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54384 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54385 { (exit 1); exit 1; }; };;
54386 esac
54387 ac_file_inputs="$ac_file_inputs $ac_f"
54388 done
54389
54390 # Let's still pretend it is `configure' which instantiates (i.e., don't
54391 # use $as_me), people would be surprised to read:
54392 # /* config.h. Generated by config.status. */
54393 configure_input="Generated from "`IFS=:
54394 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54395 if test x"$ac_file" != x-; then
54396 configure_input="$ac_file. $configure_input"
54397 { echo "$as_me:$LINENO: creating $ac_file" >&5
54398 echo "$as_me: creating $ac_file" >&6;}
54399 fi
54400
54401 case $ac_tag in
54402 *:-:* | *:-) cat >"$tmp/stdin";;
54403 esac
54404 ;;
54405 esac
54406
54407 ac_dir=`$as_dirname -- "$ac_file" ||
54408 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54409 X"$ac_file" : 'X\(//\)[^/]' \| \
54410 X"$ac_file" : 'X\(//\)$' \| \
54411 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54412 echo X"$ac_file" |
54413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54414 s//\1/
54415 q
54416 }
54417 /^X\(\/\/\)[^/].*/{
54418 s//\1/
54419 q
54420 }
54421 /^X\(\/\/\)$/{
54422 s//\1/
54423 q
54424 }
54425 /^X\(\/\).*/{
54426 s//\1/
54427 q
54428 }
54429 s/.*/./; q'`
54430 { as_dir="$ac_dir"
54431 case $as_dir in #(
54432 -*) as_dir=./$as_dir;;
54433 esac
54434 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54435 as_dirs=
54436 while :; do
54437 case $as_dir in #(
54438 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54439 *) as_qdir=$as_dir;;
54440 esac
54441 as_dirs="'$as_qdir' $as_dirs"
54442 as_dir=`$as_dirname -- "$as_dir" ||
54443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54444 X"$as_dir" : 'X\(//\)[^/]' \| \
54445 X"$as_dir" : 'X\(//\)$' \| \
54446 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54447 echo X"$as_dir" |
54448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54449 s//\1/
54450 q
54451 }
54452 /^X\(\/\/\)[^/].*/{
54453 s//\1/
54454 q
54455 }
54456 /^X\(\/\/\)$/{
54457 s//\1/
54458 q
54459 }
54460 /^X\(\/\).*/{
54461 s//\1/
54462 q
54463 }
54464 s/.*/./; q'`
54465 test -d "$as_dir" && break
54466 done
54467 test -z "$as_dirs" || eval "mkdir $as_dirs"
54468 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54469 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54470 { (exit 1); exit 1; }; }; }
54471 ac_builddir=.
54472
54473 case "$ac_dir" in
54474 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54475 *)
54476 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54477 # A ".." for each directory in $ac_dir_suffix.
54478 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54479 case $ac_top_builddir_sub in
54480 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54481 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54482 esac ;;
54483 esac
54484 ac_abs_top_builddir=$ac_pwd
54485 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54486 # for backward compatibility:
54487 ac_top_builddir=$ac_top_build_prefix
54488
54489 case $srcdir in
54490 .) # We are building in place.
54491 ac_srcdir=.
54492 ac_top_srcdir=$ac_top_builddir_sub
54493 ac_abs_top_srcdir=$ac_pwd ;;
54494 [\\/]* | ?:[\\/]* ) # Absolute name.
54495 ac_srcdir=$srcdir$ac_dir_suffix;
54496 ac_top_srcdir=$srcdir
54497 ac_abs_top_srcdir=$srcdir ;;
54498 *) # Relative name.
54499 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54500 ac_top_srcdir=$ac_top_build_prefix$srcdir
54501 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54502 esac
54503 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54504
54505
54506 case $ac_mode in
54507 :F)
54508 #
54509 # CONFIG_FILE
54510 #
54511
54512 case $INSTALL in
54513 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54514 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54515 esac
54516 _ACEOF
54517
54518 cat >>$CONFIG_STATUS <<\_ACEOF
54519 # If the template does not know about datarootdir, expand it.
54520 # FIXME: This hack should be removed a few years after 2.60.
54521 ac_datarootdir_hack=; ac_datarootdir_seen=
54522
54523 case `sed -n '/datarootdir/ {
54524 p
54525 q
54526 }
54527 /@datadir@/p
54528 /@docdir@/p
54529 /@infodir@/p
54530 /@localedir@/p
54531 /@mandir@/p
54532 ' $ac_file_inputs` in
54533 *datarootdir*) ac_datarootdir_seen=yes;;
54534 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54535 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54536 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54537 _ACEOF
54538 cat >>$CONFIG_STATUS <<_ACEOF
54539 ac_datarootdir_hack='
54540 s&@datadir@&$datadir&g
54541 s&@docdir@&$docdir&g
54542 s&@infodir@&$infodir&g
54543 s&@localedir@&$localedir&g
54544 s&@mandir@&$mandir&g
54545 s&\\\${datarootdir}&$datarootdir&g' ;;
54546 esac
54547 _ACEOF
54548
54549 # Neutralize VPATH when `$srcdir' = `.'.
54550 # Shell code in configure.ac might set extrasub.
54551 # FIXME: do we really want to maintain this feature?
54552 cat >>$CONFIG_STATUS <<_ACEOF
54553 sed "$ac_vpsub
54554 $extrasub
54555 _ACEOF
54556 cat >>$CONFIG_STATUS <<\_ACEOF
54557 :t
54558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54559 s&@configure_input@&$configure_input&;t t
54560 s&@top_builddir@&$ac_top_builddir_sub&;t t
54561 s&@srcdir@&$ac_srcdir&;t t
54562 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54563 s&@top_srcdir@&$ac_top_srcdir&;t t
54564 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54565 s&@builddir@&$ac_builddir&;t t
54566 s&@abs_builddir@&$ac_abs_builddir&;t t
54567 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54568 s&@INSTALL@&$ac_INSTALL&;t t
54569 $ac_datarootdir_hack
54570 " $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
54571
54572 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54573 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54574 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54575 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54576 which seems to be undefined. Please make sure it is defined." >&5
54577 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54578 which seems to be undefined. Please make sure it is defined." >&2;}
54579
54580 rm -f "$tmp/stdin"
54581 case $ac_file in
54582 -) cat "$tmp/out"; rm -f "$tmp/out";;
54583 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54584 esac
54585 ;;
54586 :H)
54587 #
54588 # CONFIG_HEADER
54589 #
54590 _ACEOF
54591
54592 # Transform confdefs.h into a sed script `conftest.defines', that
54593 # substitutes the proper values into config.h.in to produce config.h.
54594 rm -f conftest.defines conftest.tail
54595 # First, append a space to every undef/define line, to ease matching.
54596 echo 's/$/ /' >conftest.defines
54597 # Then, protect against being on the right side of a sed subst, or in
54598 # an unquoted here document, in config.status. If some macros were
54599 # called several times there might be several #defines for the same
54600 # symbol, which is useless. But do not sort them, since the last
54601 # AC_DEFINE must be honored.
54602 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54603 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54604 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54605 # PARAMS is the parameter list in the macro definition--in most cases, it's
54606 # just an empty string.
54607 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54608 ac_dB='\\)[ (].*,\\1define\\2'
54609 ac_dC=' '
54610 ac_dD=' ,'
54611
54612 uniq confdefs.h |
54613 sed -n '
54614 t rset
54615 :rset
54616 s/^[ ]*#[ ]*define[ ][ ]*//
54617 t ok
54618 d
54619 :ok
54620 s/[\\&,]/\\&/g
54621 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54622 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54623 ' >>conftest.defines
54624
54625 # Remove the space that was appended to ease matching.
54626 # Then replace #undef with comments. This is necessary, for
54627 # example, in the case of _POSIX_SOURCE, which is predefined and required
54628 # on some systems where configure will not decide to define it.
54629 # (The regexp can be short, since the line contains either #define or #undef.)
54630 echo 's/ $//
54631 s,^[ #]*u.*,/* & */,' >>conftest.defines
54632
54633 # Break up conftest.defines:
54634 ac_max_sed_lines=50
54635
54636 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54637 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54638 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54639 # et cetera.
54640 ac_in='$ac_file_inputs'
54641 ac_out='"$tmp/out1"'
54642 ac_nxt='"$tmp/out2"'
54643
54644 while :
54645 do
54646 # Write a here document:
54647 cat >>$CONFIG_STATUS <<_ACEOF
54648 # First, check the format of the line:
54649 cat >"\$tmp/defines.sed" <<\\CEOF
54650 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54651 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54652 b
54653 :def
54654 _ACEOF
54655 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54656 echo 'CEOF
54657 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54658 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54659 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54660 grep . conftest.tail >/dev/null || break
54661 rm -f conftest.defines
54662 mv conftest.tail conftest.defines
54663 done
54664 rm -f conftest.defines conftest.tail
54665
54666 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54667 cat >>$CONFIG_STATUS <<\_ACEOF
54668 if test x"$ac_file" != x-; then
54669 echo "/* $configure_input */" >"$tmp/config.h"
54670 cat "$ac_result" >>"$tmp/config.h"
54671 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54672 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54673 echo "$as_me: $ac_file is unchanged" >&6;}
54674 else
54675 rm -f $ac_file
54676 mv "$tmp/config.h" $ac_file
54677 fi
54678 else
54679 echo "/* $configure_input */"
54680 cat "$ac_result"
54681 fi
54682 rm -f "$tmp/out12"
54683 ;;
54684
54685 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54686 echo "$as_me: executing $ac_file commands" >&6;}
54687 ;;
54688 esac
54689
54690
54691 case $ac_file$ac_mode in
54692 "rcdefs.h":C)
54693 mkdir -p $outdir &&
54694 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54695 ;;
54696 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54697 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54698 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54699 "wx-config":C) rm -f wx-config
54700 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54701 ;;
54702
54703 esac
54704 done # for ac_tag
54705
54706
54707 { (exit 0); exit 0; }
54708 _ACEOF
54709 chmod +x $CONFIG_STATUS
54710 ac_clean_files=$ac_clean_files_save
54711
54712
54713 # configure is writing to config.log, and then calls config.status.
54714 # config.status does its own redirection, appending to config.log.
54715 # Unfortunately, on DOS this fails, as config.log is still kept open
54716 # by configure, so config.status won't be able to write to it; its
54717 # output is simply discarded. So we exec the FD to /dev/null,
54718 # effectively closing config.log, so it can be properly (re)opened and
54719 # appended to by config.status. When coming back to configure, we
54720 # need to make the FD available again.
54721 if test "$no_create" != yes; then
54722 ac_cs_success=:
54723 ac_config_status_args=
54724 test "$silent" = yes &&
54725 ac_config_status_args="$ac_config_status_args --quiet"
54726 exec 5>/dev/null
54727 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54728 exec 5>>config.log
54729 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54730 # would make configure fail if this is the last instruction.
54731 $ac_cs_success || { (exit 1); exit 1; }
54732 fi
54733
54734 #
54735 # CONFIG_SUBDIRS section.
54736 #
54737 if test "$no_recursion" != yes; then
54738
54739 # Remove --cache-file and --srcdir arguments so they do not pile up.
54740 ac_sub_configure_args=
54741 ac_prev=
54742 eval "set x $ac_configure_args"
54743 shift
54744 for ac_arg
54745 do
54746 if test -n "$ac_prev"; then
54747 ac_prev=
54748 continue
54749 fi
54750 case $ac_arg in
54751 -cache-file | --cache-file | --cache-fil | --cache-fi \
54752 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54753 ac_prev=cache_file ;;
54754 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54755 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54756 | --c=*)
54757 ;;
54758 --config-cache | -C)
54759 ;;
54760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54761 ac_prev=srcdir ;;
54762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54763 ;;
54764 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54765 ac_prev=prefix ;;
54766 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54767 ;;
54768 *)
54769 case $ac_arg in
54770 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54771 esac
54772 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54773 esac
54774 done
54775
54776 # Always prepend --prefix to ensure using the same prefix
54777 # in subdir configurations.
54778 ac_arg="--prefix=$prefix"
54779 case $ac_arg in
54780 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54781 esac
54782 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54783
54784 # Pass --silent
54785 if test "$silent" = yes; then
54786 ac_sub_configure_args="--silent $ac_sub_configure_args"
54787 fi
54788
54789 ac_popdir=`pwd`
54790 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54791
54792 # Do not complain, so a configure script can configure whichever
54793 # parts of a large source tree are present.
54794 test -d "$srcdir/$ac_dir" || continue
54795
54796 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54797 echo "$as_me:$LINENO: $ac_msg" >&5
54798 echo "$ac_msg" >&6
54799 { as_dir="$ac_dir"
54800 case $as_dir in #(
54801 -*) as_dir=./$as_dir;;
54802 esac
54803 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54804 as_dirs=
54805 while :; do
54806 case $as_dir in #(
54807 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54808 *) as_qdir=$as_dir;;
54809 esac
54810 as_dirs="'$as_qdir' $as_dirs"
54811 as_dir=`$as_dirname -- "$as_dir" ||
54812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54813 X"$as_dir" : 'X\(//\)[^/]' \| \
54814 X"$as_dir" : 'X\(//\)$' \| \
54815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54816 echo X"$as_dir" |
54817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54818 s//\1/
54819 q
54820 }
54821 /^X\(\/\/\)[^/].*/{
54822 s//\1/
54823 q
54824 }
54825 /^X\(\/\/\)$/{
54826 s//\1/
54827 q
54828 }
54829 /^X\(\/\).*/{
54830 s//\1/
54831 q
54832 }
54833 s/.*/./; q'`
54834 test -d "$as_dir" && break
54835 done
54836 test -z "$as_dirs" || eval "mkdir $as_dirs"
54837 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54838 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54839 { (exit 1); exit 1; }; }; }
54840 ac_builddir=.
54841
54842 case "$ac_dir" in
54843 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54844 *)
54845 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54846 # A ".." for each directory in $ac_dir_suffix.
54847 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54848 case $ac_top_builddir_sub in
54849 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54850 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54851 esac ;;
54852 esac
54853 ac_abs_top_builddir=$ac_pwd
54854 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54855 # for backward compatibility:
54856 ac_top_builddir=$ac_top_build_prefix
54857
54858 case $srcdir in
54859 .) # We are building in place.
54860 ac_srcdir=.
54861 ac_top_srcdir=$ac_top_builddir_sub
54862 ac_abs_top_srcdir=$ac_pwd ;;
54863 [\\/]* | ?:[\\/]* ) # Absolute name.
54864 ac_srcdir=$srcdir$ac_dir_suffix;
54865 ac_top_srcdir=$srcdir
54866 ac_abs_top_srcdir=$srcdir ;;
54867 *) # Relative name.
54868 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54869 ac_top_srcdir=$ac_top_build_prefix$srcdir
54870 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54871 esac
54872 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54873
54874
54875 cd "$ac_dir"
54876
54877 # Check for guested configure; otherwise get Cygnus style configure.
54878 if test -f "$ac_srcdir/configure.gnu"; then
54879 ac_sub_configure=$ac_srcdir/configure.gnu
54880 elif test -f "$ac_srcdir/configure"; then
54881 ac_sub_configure=$ac_srcdir/configure
54882 elif test -f "$ac_srcdir/configure.in"; then
54883 # This should be Cygnus configure.
54884 ac_sub_configure=$ac_aux_dir/configure
54885 else
54886 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54887 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54888 ac_sub_configure=
54889 fi
54890
54891 # The recursion is here.
54892 if test -n "$ac_sub_configure"; then
54893 # Make the cache file name correct relative to the subdirectory.
54894 case $cache_file in
54895 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54896 *) # Relative name.
54897 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54898 esac
54899
54900 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54901 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54902 # The eval makes quoting arguments work.
54903 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54904 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54905 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54906 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54907 { (exit 1); exit 1; }; }
54908 fi
54909
54910 cd "$ac_popdir"
54911 done
54912 fi
54913
54914
54915 echo
54916 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54917 echo ""
54918 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54919 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54920 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54921 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54922 if test "$wxUSE_UNICODE" = "yes"; then
54923 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54924 echo " (using UTF-8)"
54925 else
54926 echo " (using wchar_t)"
54927 fi
54928 else
54929 echo
54930 fi
54931
54932 echo " What level of wxWidgets compatibility should be enabled?"
54933 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54934 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54935
54936 echo " Which libraries should wxWidgets use?"
54937 echo " STL ${wxUSE_STL}"
54938 echo " jpeg ${wxUSE_LIBJPEG-none}"
54939 echo " png ${wxUSE_LIBPNG-none}"
54940 echo " regex ${wxUSE_REGEX}"
54941 echo " tiff ${wxUSE_LIBTIFF-none}"
54942 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54943 echo " xpm ${wxUSE_LIBXPM-none}"
54944 fi
54945 echo " zlib ${wxUSE_ZLIB}"
54946 echo " expat ${wxUSE_EXPAT}"
54947 echo " libmspack ${wxUSE_LIBMSPACK}"
54948 echo " sdl ${wxUSE_LIBSDL}"
54949
54950 echo ""
54951