]> git.saurik.com Git - wxWidgets.git/blob - configure
Correctly restore the old locale in wxXLocale functions.
[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.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
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.2 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.2:";;
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-palette use wxPalette class
1903 --enable-image use wxImage class
1904 --enable-gif use gif images (GIF file format)
1905 --enable-pcx use pcx images (PCX file format)
1906 --enable-tga use tga images (TGA file format)
1907 --enable-iff use iff images (IFF file format)
1908 --enable-pnm use pnm images (PNM file format)
1909 --enable-xpm use xpm images (XPM file format)
1910 --enable-ico_cur use Windows ICO and CUR formats
1911 --enable-dccache cache temporary wxDC objects (Win32 only)
1912 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1913 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1914 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1915 --enable-wxdib use wxDIB class (Win32 only)
1916 --enable-autoidman use automatic ids management
1917 --disable-largefile omit support for large files
1918 --disable-gtktest do not try to compile and run a test GTK+ program
1919 --disable-gtktest Do not try to compile and run a test GTK program
1920 --disable-sdltest Do not try to compile and run a test SDL program
1921 --enable-omf use OMF object format (OS/2)
1922 --disable-dependency-tracking
1923 don't use dependency tracking even if the compiler
1924 can
1925 --disable-precomp-headers
1926 don't use precompiled headers even if compiler can
1927
1928 Optional Packages:
1929 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1930 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1931 --without-subdirs don't generate makefiles for samples/demos/...
1932 --with-flavour=NAME specify a name to identify this build
1933 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1934 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1935 --with-motif use Motif/Lesstif
1936 --with-osx_carbon use Mac OS X (Carbon)
1937 --with-osx_cocoa use Mac OS X (Cocoa)
1938 --with-osx_iphone use iPhone OS X port
1939 --with-osx use Mac OS X (default port, currently Carbon)
1940 --with-carbon same as --with-osx_carbon
1941 --with-cocoa same as --with-osx_cocoa
1942 --with-iphone same as --with-osx_iphone
1943 --with-mac same as --with-osx
1944 --with-old_cocoa use old, deprecated, Cocoa port
1945 --with-wine use Wine
1946 --with-msw use MS-Windows
1947 --with-pm use OS/2 Presentation Manager
1948 --with-mgl use SciTech MGL
1949 --with-directfb use DirectFB
1950 --with-microwin use MicroWindows
1951 --with-x11 use X11
1952 --with-libpng use libpng (PNG image format)
1953 --with-libjpeg use libjpeg (JPEG file format)
1954 --with-libtiff use libtiff (TIFF file format)
1955 --with-libxpm use libxpm (XPM file format)
1956 --with-libiconv use libiconv (character conversion)
1957 --with-libmspack use libmspack (CHM help files loading)
1958 --without-gtkprint don't use GTK printing support
1959 --without-gnomeprint don't use GNOME printing libraries
1960 --with-gnomevfs use GNOME VFS for associating MIME types
1961 --with-hildon use Hildon framework for Nokia 770/800/810
1962 --with-opengl use OpenGL (or Mesa)
1963 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1964 --with-sdl use SDL for audio on Unix
1965 --with-regex enable support for wxRegEx class
1966 --with-zlib use zlib for LZW compression
1967 --with-expat enable XML support using expat parser
1968 --with-macosx-sdk=PATH use an OS X SDK at PATH
1969 --with-macosx-version-min=VER build binaries which require at least this OS X version
1970 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1971 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1972 --with-x use the X Window System
1973 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1974 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1975 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1976 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1977 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1978
1979 Some influential environment variables:
1980 CC C compiler command
1981 CFLAGS C compiler flags
1982 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1983 nonstandard directory <lib dir>
1984 LIBS libraries to pass to the linker, e.g. -l<library>
1985 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1986 you have headers in a nonstandard directory <include dir>
1987 CPP C preprocessor
1988 CXX C++ compiler command
1989 CXXFLAGS C++ compiler flags
1990 CXXCPP C++ preprocessor
1991 PKG_CONFIG path to pkg-config utility
1992 DIRECTFB_CFLAGS
1993 C compiler flags for DIRECTFB, overriding pkg-config
1994 DIRECTFB_LIBS
1995 linker flags for DIRECTFB, overriding pkg-config
1996 XMKMF Path to xmkmf, Makefile generator for X Window System
1997 PANGOX_CFLAGS
1998 C compiler flags for PANGOX, overriding pkg-config
1999 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2000 PANGOFT2_CFLAGS
2001 C compiler flags for PANGOFT2, overriding pkg-config
2002 PANGOFT2_LIBS
2003 linker flags for PANGOFT2, overriding pkg-config
2004 PANGOXFT_CFLAGS
2005 C compiler flags for PANGOXFT, overriding pkg-config
2006 PANGOXFT_LIBS
2007 linker flags for PANGOXFT, overriding pkg-config
2008 GTKPRINT_CFLAGS
2009 C compiler flags for GTKPRINT, overriding pkg-config
2010 GTKPRINT_LIBS
2011 linker flags for GTKPRINT, overriding pkg-config
2012 LIBGNOMEPRINTUI_CFLAGS
2013 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2014 LIBGNOMEPRINTUI_LIBS
2015 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2016 GNOMEVFS_CFLAGS
2017 C compiler flags for GNOMEVFS, overriding pkg-config
2018 GNOMEVFS_LIBS
2019 linker flags for GNOMEVFS, overriding pkg-config
2020 HILDON_CFLAGS
2021 C compiler flags for HILDON, overriding pkg-config
2022 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2023 HILDON2_CFLAGS
2024 C compiler flags for HILDON2, overriding pkg-config
2025 HILDON2_LIBS
2026 linker flags for HILDON2, overriding pkg-config
2027 CAIRO_CFLAGS
2028 C compiler flags for CAIRO, overriding pkg-config
2029 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2030 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2031 GST_LIBS linker flags for GST, overriding pkg-config
2032
2033 Use these variables to override the choices made by `configure' or to help
2034 it to find libraries and programs with nonstandard names/locations.
2035
2036 Report bugs to <wx-dev@lists.wxwidgets.org>.
2037 _ACEOF
2038 ac_status=$?
2039 fi
2040
2041 if test "$ac_init_help" = "recursive"; then
2042 # If there are subdirs, report their specific --help.
2043 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2044 test -d "$ac_dir" || continue
2045 ac_builddir=.
2046
2047 case "$ac_dir" in
2048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *)
2050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2051 # A ".." for each directory in $ac_dir_suffix.
2052 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2053 case $ac_top_builddir_sub in
2054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2056 esac ;;
2057 esac
2058 ac_abs_top_builddir=$ac_pwd
2059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2060 # for backward compatibility:
2061 ac_top_builddir=$ac_top_build_prefix
2062
2063 case $srcdir in
2064 .) # We are building in place.
2065 ac_srcdir=.
2066 ac_top_srcdir=$ac_top_builddir_sub
2067 ac_abs_top_srcdir=$ac_pwd ;;
2068 [\\/]* | ?:[\\/]* ) # Absolute name.
2069 ac_srcdir=$srcdir$ac_dir_suffix;
2070 ac_top_srcdir=$srcdir
2071 ac_abs_top_srcdir=$srcdir ;;
2072 *) # Relative name.
2073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2074 ac_top_srcdir=$ac_top_build_prefix$srcdir
2075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2076 esac
2077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2078
2079 cd "$ac_dir" || { ac_status=$?; continue; }
2080 # Check for guested configure.
2081 if test -f "$ac_srcdir/configure.gnu"; then
2082 echo &&
2083 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2084 elif test -f "$ac_srcdir/configure"; then
2085 echo &&
2086 $SHELL "$ac_srcdir/configure" --help=recursive
2087 else
2088 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2089 fi || ac_status=$?
2090 cd "$ac_pwd" || { ac_status=$?; break; }
2091 done
2092 fi
2093
2094 test -n "$ac_init_help" && exit $ac_status
2095 if $ac_init_version; then
2096 cat <<\_ACEOF
2097 wxWidgets configure 2.9.2
2098 generated by GNU Autoconf 2.61
2099
2100 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2101 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2102 This configure script is free software; the Free Software Foundation
2103 gives unlimited permission to copy, distribute and modify it.
2104 _ACEOF
2105 exit
2106 fi
2107 cat >config.log <<_ACEOF
2108 This file contains any messages produced by compilers while
2109 running configure, to aid debugging if configure makes a mistake.
2110
2111 It was created by wxWidgets $as_me 2.9.2, which was
2112 generated by GNU Autoconf 2.61. Invocation command line was
2113
2114 $ $0 $@
2115
2116 _ACEOF
2117 exec 5>>config.log
2118 {
2119 cat <<_ASUNAME
2120 ## --------- ##
2121 ## Platform. ##
2122 ## --------- ##
2123
2124 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2125 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2126 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2127 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2128 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129
2130 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2131 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2132
2133 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2134 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2135 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2136 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2137 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2138 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2139 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140
2141 _ASUNAME
2142
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 echo "PATH: $as_dir"
2149 done
2150 IFS=$as_save_IFS
2151
2152 } >&5
2153
2154 cat >&5 <<_ACEOF
2155
2156
2157 ## ----------- ##
2158 ## Core tests. ##
2159 ## ----------- ##
2160
2161 _ACEOF
2162
2163
2164 # Keep a trace of the command line.
2165 # Strip out --no-create and --no-recursion so they do not pile up.
2166 # Strip out --silent because we don't want to record it for future runs.
2167 # Also quote any args containing shell meta-characters.
2168 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_configure_args=
2170 ac_configure_args0=
2171 ac_configure_args1=
2172 ac_must_keep_next=false
2173 for ac_pass in 1 2
2174 do
2175 for ac_arg
2176 do
2177 case $ac_arg in
2178 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180 | -silent | --silent | --silen | --sile | --sil)
2181 continue ;;
2182 *\'*)
2183 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 esac
2185 case $ac_pass in
2186 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2187 2)
2188 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2189 if test $ac_must_keep_next = true; then
2190 ac_must_keep_next=false # Got value, back to normal.
2191 else
2192 case $ac_arg in
2193 *=* | --config-cache | -C | -disable-* | --disable-* \
2194 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2195 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2196 | -with-* | --with-* | -without-* | --without-* | --x)
2197 case "$ac_configure_args0 " in
2198 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 esac
2200 ;;
2201 -* ) ac_must_keep_next=true ;;
2202 esac
2203 fi
2204 ac_configure_args="$ac_configure_args '$ac_arg'"
2205 ;;
2206 esac
2207 done
2208 done
2209 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2210 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2211
2212 # When interrupted or exit'd, cleanup temporary files, and complete
2213 # config.log. We remove comments because anyway the quotes in there
2214 # would cause problems or look ugly.
2215 # WARNING: Use '\'' to represent an apostrophe within the trap.
2216 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2217 trap 'exit_status=$?
2218 # Save into config.log some information that might help in debugging.
2219 {
2220 echo
2221
2222 cat <<\_ASBOX
2223 ## ---------------- ##
2224 ## Cache variables. ##
2225 ## ---------------- ##
2226 _ASBOX
2227 echo
2228 # The following way of writing the cache mishandles newlines in values,
2229 (
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2231 eval ac_val=\$$ac_var
2232 case $ac_val in #(
2233 *${as_nl}*)
2234 case $ac_var in #(
2235 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2236 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2237 esac
2238 case $ac_var in #(
2239 _ | IFS | as_nl) ;; #(
2240 *) $as_unset $ac_var ;;
2241 esac ;;
2242 esac
2243 done
2244 (set) 2>&1 |
2245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2247 sed -n \
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 ;; #(
2251 *)
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 ;;
2254 esac |
2255 sort
2256 )
2257 echo
2258
2259 cat <<\_ASBOX
2260 ## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##
2263 _ASBOX
2264 echo
2265 for ac_var in $ac_subst_vars
2266 do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 esac
2271 echo "$ac_var='\''$ac_val'\''"
2272 done | sort
2273 echo
2274
2275 if test -n "$ac_subst_files"; then
2276 cat <<\_ASBOX
2277 ## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##
2280 _ASBOX
2281 echo
2282 for ac_var in $ac_subst_files
2283 do
2284 eval ac_val=\$$ac_var
2285 case $ac_val in
2286 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 esac
2288 echo "$ac_var='\''$ac_val'\''"
2289 done | sort
2290 echo
2291 fi
2292
2293 if test -s confdefs.h; then
2294 cat <<\_ASBOX
2295 ## ----------- ##
2296 ## confdefs.h. ##
2297 ## ----------- ##
2298 _ASBOX
2299 echo
2300 cat confdefs.h
2301 echo
2302 fi
2303 test "$ac_signal" != 0 &&
2304 echo "$as_me: caught signal $ac_signal"
2305 echo "$as_me: exit $exit_status"
2306 } >&5
2307 rm -f core *.core core.conftest.* &&
2308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 exit $exit_status
2310 ' 0
2311 for ac_signal in 1 2 13 15; do
2312 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2313 done
2314 ac_signal=0
2315
2316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2317 rm -f -r conftest* confdefs.h
2318
2319 # Predefined preprocessor variables.
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 _ACEOF
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 _ACEOF
2329
2330
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2333 _ACEOF
2334
2335
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2338 _ACEOF
2339
2340
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2343 _ACEOF
2344
2345
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer explicitly selected file to automatically selected ones.
2348 if test -n "$CONFIG_SITE"; then
2349 set x "$CONFIG_SITE"
2350 elif test "x$prefix" != xNONE; then
2351 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2352 else
2353 set x "$ac_default_prefix/share/config.site" \
2354 "$ac_default_prefix/etc/config.site"
2355 fi
2356 shift
2357 for ac_site_file
2358 do
2359 if test -r "$ac_site_file"; then
2360 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2361 echo "$as_me: loading site script $ac_site_file" >&6;}
2362 sed 's/^/| /' "$ac_site_file" >&5
2363 . "$ac_site_file"
2364 fi
2365 done
2366
2367 if test -r "$cache_file"; then
2368 # Some versions of bash will fail to source /dev/null (special
2369 # files actually), so we avoid doing that.
2370 if test -f "$cache_file"; then
2371 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2372 echo "$as_me: loading cache $cache_file" >&6;}
2373 case $cache_file in
2374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2375 *) . "./$cache_file";;
2376 esac
2377 fi
2378 else
2379 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2380 echo "$as_me: creating cache $cache_file" >&6;}
2381 >$cache_file
2382 fi
2383
2384 # Check that the precious variables saved in the cache have kept the same
2385 # value.
2386 ac_cache_corrupted=false
2387 for ac_var in $ac_precious_vars; do
2388 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2389 eval ac_new_set=\$ac_env_${ac_var}_set
2390 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2391 eval ac_new_val=\$ac_env_${ac_var}_value
2392 case $ac_old_set,$ac_new_set in
2393 set,)
2394 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2395 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2396 ac_cache_corrupted=: ;;
2397 ,set)
2398 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2399 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2401 ,);;
2402 *)
2403 if test "x$ac_old_val" != "x$ac_new_val"; then
2404 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2405 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2406 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2407 echo "$as_me: former value: $ac_old_val" >&2;}
2408 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2409 echo "$as_me: current value: $ac_new_val" >&2;}
2410 ac_cache_corrupted=:
2411 fi;;
2412 esac
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2415 case $ac_new_val in
2416 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2418 esac
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2422 esac
2423 fi
2424 done
2425 if $ac_cache_corrupted; then
2426 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2427 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2429 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2430 { (exit 1); exit 1; }; }
2431 fi
2432
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 ac_ext=c
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462
2463
2464
2465
2466
2467 ac_aux_dir=
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2470 ac_aux_dir=$ac_dir
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2472 break
2473 elif test -f "$ac_dir/install.sh"; then
2474 ac_aux_dir=$ac_dir
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2476 break
2477 elif test -f "$ac_dir/shtool"; then
2478 ac_aux_dir=$ac_dir
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2480 break
2481 fi
2482 done
2483 if test -z "$ac_aux_dir"; then
2484 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2485 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2486 { (exit 1); exit 1; }; }
2487 fi
2488
2489 # These three variables are undocumented and unsupported,
2490 # and are intended to be withdrawn in a future Autoconf release.
2491 # They can cause serious problems if a builder's source tree is in a directory
2492 # whose full name contains unusual characters.
2493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496
2497
2498 # Make sure we can run config.sub.
2499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2500 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2501 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2502 { (exit 1); exit 1; }; }
2503
2504 { echo "$as_me:$LINENO: checking build system type" >&5
2505 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2506 if test "${ac_cv_build+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 ac_build_alias=$build_alias
2510 test "x$ac_build_alias" = x &&
2511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2512 test "x$ac_build_alias" = x &&
2513 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2514 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2515 { (exit 1); exit 1; }; }
2516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2520
2521 fi
2522 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2523 echo "${ECHO_T}$ac_cv_build" >&6; }
2524 case $ac_cv_build in
2525 *-*-*) ;;
2526 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2527 echo "$as_me: error: invalid value of canonical build" >&2;}
2528 { (exit 1); exit 1; }; };;
2529 esac
2530 build=$ac_cv_build
2531 ac_save_IFS=$IFS; IFS='-'
2532 set x $ac_cv_build
2533 shift
2534 build_cpu=$1
2535 build_vendor=$2
2536 shift; shift
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2539 build_os=$*
2540 IFS=$ac_save_IFS
2541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2542
2543
2544 { echo "$as_me:$LINENO: checking host system type" >&5
2545 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2546 if test "${ac_cv_host+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 else
2549 if test "x$host_alias" = x; then
2550 ac_cv_host=$ac_cv_build
2551 else
2552 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2553 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2554 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2555 { (exit 1); exit 1; }; }
2556 fi
2557
2558 fi
2559 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2560 echo "${ECHO_T}$ac_cv_host" >&6; }
2561 case $ac_cv_host in
2562 *-*-*) ;;
2563 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2564 echo "$as_me: error: invalid value of canonical host" >&2;}
2565 { (exit 1); exit 1; }; };;
2566 esac
2567 host=$ac_cv_host
2568 ac_save_IFS=$IFS; IFS='-'
2569 set x $ac_cv_host
2570 shift
2571 host_cpu=$1
2572 host_vendor=$2
2573 shift; shift
2574 # Remember, the first character of IFS is used to create $*,
2575 # except with old shells:
2576 host_os=$*
2577 IFS=$ac_save_IFS
2578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579
2580
2581
2582 if test "$cross_compiling" != "no"; then
2583 HOST_PREFIX="${host_alias}-"
2584 HOST_SUFFIX="-$host_alias"
2585 else
2586 HOST_PREFIX=
2587 HOST_SUFFIX=
2588 fi
2589
2590
2591 wx_major_version_number=2
2592 wx_minor_version_number=9
2593 wx_release_number=2
2594 wx_subrelease_number=0
2595
2596 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2597 WX_VERSION=$WX_RELEASE.$wx_release_number
2598 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2599
2600 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2601
2602
2603 wx_top_builddir="`pwd`"
2604
2605
2606
2607
2608 USE_UNIX=1
2609 USE_OS2=0
2610 USE_WIN32=0
2611 USE_DOS=0
2612 USE_BEOS=0
2613 USE_MAC=0
2614
2615 USE_AIX=
2616 USE_BSD= USE_DARWIN= USE_FREEBSD=
2617 USE_GNU= USE_HPUX=
2618 USE_LINUX=
2619 USE_NETBSD=
2620 USE_OPENBSD=
2621 USE_OSF= USE_SGI=
2622 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2623 USE_ULTRIX=
2624 USE_UNIXWARE=
2625
2626 USE_ALPHA=
2627
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2629
2630 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2631
2632 DEFAULT_wxUSE_OLD_COCOA=0
2633 DEFAULT_wxUSE_GTK=0
2634 DEFAULT_wxUSE_OSX_CARBON=0
2635 DEFAULT_wxUSE_OSX_COCOA=0
2636 DEFAULT_wxUSE_OSX_IPHONE=0
2637 DEFAULT_wxUSE_MGL=0
2638 DEFAULT_wxUSE_MICROWIN=0
2639 DEFAULT_wxUSE_MOTIF=0
2640 DEFAULT_wxUSE_MSW=0
2641 DEFAULT_wxUSE_PM=0
2642 DEFAULT_wxUSE_X11=0
2643 DEFAULT_wxUSE_DFB=0
2644
2645 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2646 DEFAULT_DEFAULT_wxUSE_GTK=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2650 DEFAULT_DEFAULT_wxUSE_MGL=0
2651 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2652 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2653 DEFAULT_DEFAULT_wxUSE_MSW=0
2654 DEFAULT_DEFAULT_wxUSE_PM=0
2655 DEFAULT_DEFAULT_wxUSE_X11=0
2656 DEFAULT_DEFAULT_wxUSE_DFB=0
2657
2658 PROGRAM_EXT=
2659 SAMPLES_RPATH_FLAG=
2660 DYLIB_RPATH_INSTALL=
2661 DYLIB_RPATH_POSTLINK=
2662
2663 DEFAULT_STD_FLAG=yes
2664
2665 case "${host}" in
2666 *-hp-hpux* )
2667 USE_HPUX=1
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __HPUX__ 1
2672 _ACEOF
2673
2674
2675 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2676 ;;
2677 *-*-linux* )
2678 USE_LINUX=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __LINUX__ 1
2681 _ACEOF
2682
2683 TMP=`uname -m`
2684 if test "x$TMP" = "xalpha"; then
2685 USE_ALPHA=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __ALPHA__ 1
2688 _ACEOF
2689
2690 fi
2691 DEFAULT_DEFAULT_wxUSE_GTK=1
2692 ;;
2693 *-*-gnu* | *-*-k*bsd*-gnu )
2694 USE_GNU=1
2695 TMP=`uname -m`
2696 if test "x$TMP" = "xalpha"; then
2697 USE_ALPHA=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __ALPHA__ 1
2700 _ACEOF
2701
2702 fi
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 ;;
2705 *-*-irix5* | *-*-irix6* )
2706 USE_SGI=1
2707 USE_SVR4=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SGI__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SVR4__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 ;;
2718 *-*-qnx*)
2719 USE_QNX=1
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __QNX__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_X11=1
2725 ;;
2726 *-*-solaris2* )
2727 USE_SUN=1
2728 USE_SOLARIS=1
2729 USE_SVR4=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SUN__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SOLARIS__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SVR4__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 ;;
2745 *-*-sunos4* )
2746 USE_SUN=1
2747 USE_SUNOS=1
2748 USE_BSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __SUN__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __SUNOS__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __BSD__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 ;;
2763 *-*-freebsd*)
2764 USE_BSD=1
2765 USE_FREEBSD=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __FREEBSD__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __BSD__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_GTK=1
2775 ;;
2776 *-*-openbsd*|*-*-mirbsd*)
2777 USE_BSD=1
2778 USE_OPENBSD=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __OPENBSD__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __BSD__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_GTK=1
2788 ;;
2789 *-*-netbsd*)
2790 USE_BSD=1
2791 USE_NETBSD=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __NETBSD__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __BSD__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_GTK=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2802
2803 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2804 ;;
2805 *-*-osf* )
2806 USE_ALPHA=1
2807 USE_OSF=1
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __ALPHA__ 1
2810 _ACEOF
2811
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __OSF__ 1
2814 _ACEOF
2815
2816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2817 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2818 ;;
2819 *-*-dgux5* )
2820 USE_ALPHA=1
2821 USE_SVR4=1
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __ALPHA__ 1
2824 _ACEOF
2825
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __SVR4__ 1
2828 _ACEOF
2829
2830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2831 ;;
2832 *-*-sysv5* )
2833 USE_SYSV=1
2834 USE_SVR4=1
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __SYSV__ 1
2837 _ACEOF
2838
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __SVR4__ 1
2841 _ACEOF
2842
2843 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2844 ;;
2845 *-*-aix* )
2846 USE_AIX=1
2847 USE_SYSV=1
2848 USE_SVR4=1
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __AIX__ 1
2851 _ACEOF
2852
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __SYSV__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __SVR4__ 1
2859 _ACEOF
2860
2861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2862 ;;
2863
2864 *-*-*UnixWare*)
2865 USE_SYSV=1
2866 USE_SVR4=1
2867 USE_UNIXWARE=1
2868 cat >>confdefs.h <<\_ACEOF
2869 #define __UNIXWARE__ 1
2870 _ACEOF
2871
2872 ;;
2873
2874 *-*-cygwin* | *-*-mingw32* )
2875 PROGRAM_EXT=".exe"
2876 DEFAULT_DEFAULT_wxUSE_MSW=1
2877 ;;
2878
2879 *-pc-msdosdjgpp )
2880 USE_UNIX=0
2881 USE_DOS=1
2882 cat >>confdefs.h <<\_ACEOF
2883 #define __DOS__ 1
2884 _ACEOF
2885
2886 PROGRAM_EXT=".exe"
2887 DEFAULT_DEFAULT_wxUSE_MGL=1
2888 ;;
2889
2890 *-pc-os2_emx | *-pc-os2-emx )
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __EMX__ 1
2893 _ACEOF
2894
2895 USE_OS2=1
2896 cat >>confdefs.h <<\_ACEOF
2897 #define __OS2__ 1
2898 _ACEOF
2899
2900 PROGRAM_EXT=".exe"
2901 DEFAULT_DEFAULT_wxUSE_PM=1
2902 CXX=gcc
2903 LDFLAGS="$LDFLAGS -Zcrtdll"
2904 ac_executable_extensions=".exe"
2905 export ac_executable_extensions
2906 ac_save_IFS="$IFS"
2907 IFS='\\'
2908 ac_TEMP_PATH=
2909 for ac_dir in $PATH; do
2910 IFS=$ac_save_IFS
2911 if test -z "$ac_TEMP_PATH"; then
2912 ac_TEMP_PATH="$ac_dir"
2913 else
2914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2915 fi
2916 done
2917 export PATH="$ac_TEMP_PATH"
2918 unset ac_TEMP_PATH
2919 DEFAULT_STD_FLAG=no
2920 ;;
2921
2922 arm-apple-darwin*)
2923 USE_BSD=1
2924 USE_DARWIN=1
2925 cat >>confdefs.h <<\_ACEOF
2926 #define __BSD__ 1
2927 _ACEOF
2928
2929 cat >>confdefs.h <<\_ACEOF
2930 #define __DARWIN__ 1
2931 _ACEOF
2932
2933 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2934 ;;
2935
2936 *-*-darwin* )
2937 USE_BSD=1
2938 USE_DARWIN=1
2939 cat >>confdefs.h <<\_ACEOF
2940 #define __BSD__ 1
2941 _ACEOF
2942
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __DARWIN__ 1
2945 _ACEOF
2946
2947 cat >>confdefs.h <<\_ACEOF
2948 #define TARGET_CARBON 1
2949 _ACEOF
2950
2951 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2952 ;;
2953
2954 *-*-beos* )
2955 USE_BEOS=1
2956 cat >>confdefs.h <<\_ACEOF
2957 #define __BEOS__ 1
2958 _ACEOF
2959
2960 ;;
2961
2962 *)
2963 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2964 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2965 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2966 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2967
2968 DEFAULT_DEFAULT_wxUSE_X11=1
2969 DEFAULT_wxUSE_SHARED=no
2970 esac
2971
2972
2973
2974 DEFAULT_wxUSE_ALL_FEATURES=yes
2975
2976 DEFAULT_wxUSE_STD_CONTAINERS=$DEFAULT_STD_FLAG
2977 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2979
2980 DEFAULT_wxUSE_DMALLOC=no
2981 DEFAULT_wxUSE_LIBGNOMEVFS=no
2982 DEFAULT_wxUSE_LIBHILDON=no
2983 DEFAULT_wxUSE_LIBHILDON2=no
2984 DEFAULT_wxUSE_LIBMSPACK=no
2985 DEFAULT_wxUSE_LIBSDL=no
2986
2987 DEFAULT_wxUSE_ACCESSIBILITY=no
2988 DEFAULT_wxUSE_IPV6=no
2989 DEFAULT_wxUSE_GSTREAMER8=no
2990
2991 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2992 DEFAULT_wxUSE_UNICODE_UTF8=auto
2993 DEFAULT_wxUSE_OPENGL=auto
2994 DEFAULT_wxUSE_MEDIACTRL=auto
2995 DEFAULT_wxUSE_COMPILER_TLS=auto
2996
2997 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2998
2999 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3000 DEFAULT_wxUSE_MAC_ARCH=no
3001
3002 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3003
3004 DEFAULT_wxUSE_GTK2=yes
3005
3006 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3007
3008
3009
3010
3011
3012 enablestring=disable
3013 defaultval=
3014 if test -z "$defaultval"; then
3015 if test x"$enablestring" = xdisable; then
3016 defaultval=yes
3017 else
3018 defaultval=no
3019 fi
3020 fi
3021
3022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3023 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3024 # Check whether --enable-gui was given.
3025 if test "${enable_gui+set}" = set; then
3026 enableval=$enable_gui;
3027 if test "$enableval" = yes; then
3028 wx_cv_use_gui='wxUSE_GUI=yes'
3029 else
3030 wx_cv_use_gui='wxUSE_GUI=no'
3031 fi
3032
3033 else
3034
3035 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3036
3037 fi
3038
3039
3040 eval "$wx_cv_use_gui"
3041
3042 if test x"$enablestring" = xdisable; then
3043 if test $wxUSE_GUI = no; then
3044 result=yes
3045 else
3046 result=no
3047 fi
3048 else
3049 result=$wxUSE_GUI
3050 fi
3051
3052 { echo "$as_me:$LINENO: result: $result" >&5
3053 echo "${ECHO_T}$result" >&6; }
3054
3055
3056 enablestring=
3057 defaultval=
3058 if test -z "$defaultval"; then
3059 if test x"$enablestring" = xdisable; then
3060 defaultval=yes
3061 else
3062 defaultval=no
3063 fi
3064 fi
3065
3066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3067 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3068 # Check whether --enable-monolithic was given.
3069 if test "${enable_monolithic+set}" = set; then
3070 enableval=$enable_monolithic;
3071 if test "$enableval" = yes; then
3072 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3073 else
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3075 fi
3076
3077 else
3078
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3080
3081 fi
3082
3083
3084 eval "$wx_cv_use_monolithic"
3085
3086 if test x"$enablestring" = xdisable; then
3087 if test $wxUSE_MONOLITHIC = no; then
3088 result=yes
3089 else
3090 result=no
3091 fi
3092 else
3093 result=$wxUSE_MONOLITHIC
3094 fi
3095
3096 { echo "$as_me:$LINENO: result: $result" >&5
3097 echo "${ECHO_T}$result" >&6; }
3098
3099
3100 enablestring=
3101 defaultval=
3102 if test -z "$defaultval"; then
3103 if test x"$enablestring" = xdisable; then
3104 defaultval=yes
3105 else
3106 defaultval=no
3107 fi
3108 fi
3109
3110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3111 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3112 # Check whether --enable-plugins was given.
3113 if test "${enable_plugins+set}" = set; then
3114 enableval=$enable_plugins;
3115 if test "$enableval" = yes; then
3116 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3117 else
3118 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3119 fi
3120
3121 else
3122
3123 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124
3125 fi
3126
3127
3128 eval "$wx_cv_use_plugins"
3129
3130 if test x"$enablestring" = xdisable; then
3131 if test $wxUSE_PLUGINS = no; then
3132 result=yes
3133 else
3134 result=no
3135 fi
3136 else
3137 result=$wxUSE_PLUGINS
3138 fi
3139
3140 { echo "$as_me:$LINENO: result: $result" >&5
3141 echo "${ECHO_T}$result" >&6; }
3142
3143
3144 withstring=without
3145 defaultval=$wxUSE_ALL_FEATURES
3146 if test -z "$defaultval"; then
3147 if test x"$withstring" = xwithout; then
3148 defaultval=yes
3149 else
3150 defaultval=no
3151 fi
3152 fi
3153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3154 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3155
3156 # Check whether --with-subdirs was given.
3157 if test "${with_subdirs+set}" = set; then
3158 withval=$with_subdirs;
3159 if test "$withval" = yes; then
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3161 else
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3163 fi
3164
3165 else
3166
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3168
3169 fi
3170
3171
3172 eval "$wx_cv_use_subdirs"
3173
3174 if test x"$withstring" = xwithout; then
3175 if test $wxWITH_SUBDIRS = yes; then
3176 result=no
3177 else
3178 result=yes
3179 fi
3180 else
3181 result=$wxWITH_SUBDIRS
3182 fi
3183
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3186
3187
3188 # Check whether --with-flavour was given.
3189 if test "${with_flavour+set}" = set; then
3190 withval=$with_flavour; WX_FLAVOUR="$withval"
3191 fi
3192
3193
3194 enablestring=
3195 defaultval=
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3198 defaultval=yes
3199 else
3200 defaultval=no
3201 fi
3202 fi
3203
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3206 # Check whether --enable-official_build was given.
3207 if test "${enable_official_build+set}" = set; then
3208 enableval=$enable_official_build;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3211 else
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3213 fi
3214
3215 else
3216
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3218
3219 fi
3220
3221
3222 eval "$wx_cv_use_official_build"
3223
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_OFFICIAL_BUILD = no; then
3226 result=yes
3227 else
3228 result=no
3229 fi
3230 else
3231 result=$wxUSE_OFFICIAL_BUILD
3232 fi
3233
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3236
3237 # Check whether --enable-vendor was given.
3238 if test "${enable_vendor+set}" = set; then
3239 enableval=$enable_vendor; VENDOR="$enableval"
3240 fi
3241
3242 if test "x$VENDOR" = "x"; then
3243 VENDOR="custom"
3244 fi
3245
3246
3247 enablestring=disable
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3259 # Check whether --enable-all-features was given.
3260 if test "${enable_all_features+set}" = set; then
3261 enableval=$enable_all_features;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3264 else
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_all_features"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_ALL_FEATURES = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_ALL_FEATURES
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290
3291 if test "$wxUSE_ALL_FEATURES" = "no"; then
3292 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3293 DEFAULT_wxUSE_MEDIACTRL=no
3294 fi
3295
3296
3297 if test "$wxUSE_GUI" = "yes"; then
3298
3299
3300 enablestring=
3301 defaultval=
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3304 defaultval=yes
3305 else
3306 defaultval=no
3307 fi
3308 fi
3309
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3312 # Check whether --enable-universal was given.
3313 if test "${enable_universal+set}" = set; then
3314 enableval=$enable_universal;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3317 else
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3319 fi
3320
3321 else
3322
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3324
3325 fi
3326
3327
3328 eval "$wx_cv_use_universal"
3329
3330 if test x"$enablestring" = xdisable; then
3331 if test $wxUSE_UNIVERSAL = no; then
3332 result=yes
3333 else
3334 result=no
3335 fi
3336 else
3337 result=$wxUSE_UNIVERSAL
3338 fi
3339
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3342
3343 if test "$wxUSE_UNIVERSAL" = "yes"; then
3344
3345 # Check whether --with-themes was given.
3346 if test "${with_themes+set}" = set; then
3347 withval=$with_themes; wxUNIV_THEMES="$withval"
3348 fi
3349
3350 fi
3351
3352
3353 # Check whether --with-gtk was given.
3354 if test "${with_gtk+set}" = set; then
3355 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-motif was given.
3360 if test "${with_motif+set}" = set; then
3361 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365 # Check whether --with-osx_carbon was given.
3366 if test "${with_osx_carbon+set}" = set; then
3367 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-osx_cocoa was given.
3372 if test "${with_osx_cocoa+set}" = set; then
3373 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-osx_iphone was given.
3378 if test "${with_osx_iphone+set}" = set; then
3379 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-osx was given.
3384 if test "${with_osx+set}" = set; then
3385 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-carbon was given.
3390 if test "${with_carbon+set}" = set; then
3391 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-iphone was given.
3402 if test "${with_iphone+set}" = set; then
3403 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-old_cocoa was given.
3414 if test "${with_old_cocoa+set}" = set; then
3415 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 fi
3423
3424
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 enablestring=
3462 defaultval=
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3465 defaultval=yes
3466 else
3467 defaultval=no
3468 fi
3469 fi
3470
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3478 else
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3480 fi
3481
3482 else
3483
3484 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3485
3486 fi
3487
3488
3489 eval "$wx_cv_use_nanox"
3490
3491 if test x"$enablestring" = xdisable; then
3492 if test $wxUSE_NANOX = no; then
3493 result=yes
3494 else
3495 result=no
3496 fi
3497 else
3498 result=$wxUSE_NANOX
3499 fi
3500
3501 { echo "$as_me:$LINENO: result: $result" >&5
3502 echo "${ECHO_T}$result" >&6; }
3503
3504
3505 # Check whether --enable-gtk2 was given.
3506 if test "${enable_gtk2+set}" = set; then
3507 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3508 fi
3509
3510
3511 enablestring=
3512 defaultval=
3513 if test -z "$defaultval"; then
3514 if test x"$enablestring" = xdisable; then
3515 defaultval=yes
3516 else
3517 defaultval=no
3518 fi
3519 fi
3520
3521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3522 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3523 # Check whether --enable-gpe was given.
3524 if test "${enable_gpe+set}" = set; then
3525 enableval=$enable_gpe;
3526 if test "$enableval" = yes; then
3527 wx_cv_use_gpe='wxUSE_GPE=yes'
3528 else
3529 wx_cv_use_gpe='wxUSE_GPE=no'
3530 fi
3531
3532 else
3533
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3535
3536 fi
3537
3538
3539 eval "$wx_cv_use_gpe"
3540
3541 if test x"$enablestring" = xdisable; then
3542 if test $wxUSE_GPE = no; then
3543 result=yes
3544 else
3545 result=no
3546 fi
3547 else
3548 result=$wxUSE_GPE
3549 fi
3550
3551 { echo "$as_me:$LINENO: result: $result" >&5
3552 echo "${ECHO_T}$result" >&6; }
3553
3554
3555
3556 { echo "$as_me:$LINENO: checking for toolkit" >&5
3557 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3558
3559
3560
3561 # In Wine, we need to default to MSW, not GTK or MOTIF
3562 if test "$wxUSE_WINE" = "yes"; then
3563 DEFAULT_DEFAULT_wxUSE_GTK=0
3564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3565 DEFAULT_DEFAULT_wxUSE_MSW=1
3566 wxUSE_SHARED=no
3567 CC=${CC:-winegcc}
3568 CXX=${CXX:-wineg++}
3569 fi
3570
3571
3572 if test "$wxUSE_GUI" = "yes"; then
3573
3574 if test "$USE_BEOS" = 1; then
3575 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3576 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3577 { (exit 1); exit 1; }; }
3578 fi
3579
3580 if test "$TOOLKIT_GIVEN" = 1; then
3581 for toolkit in $ALL_TOOLKITS; do
3582 var=wxUSE_$toolkit
3583 eval "value=\$${var}"
3584 if test "x$value" = "xno"; then
3585 eval "$var=0"
3586 elif test "x$value" != "x"; then
3587 eval "$var=1"
3588 fi
3589
3590 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3591 eval "wx${toolkit}_VERSION=$value"
3592 fi
3593 done
3594 else
3595 for toolkit in $ALL_TOOLKITS; do
3596 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3597 eval "wxUSE_$toolkit=\$${var}"
3598 done
3599 fi
3600
3601 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3602 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3603 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3604
3605 case "${host}" in
3606 *-pc-os2_emx | *-pc-os2-emx )
3607 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3608 esac
3609
3610 case "$NUM_TOOLKITS" in
3611 1)
3612 ;;
3613 0)
3614 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3615 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3616 { (exit 1); exit 1; }; }
3617 ;;
3618 *)
3619 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3620 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3621 { (exit 1); exit 1; }; }
3622 esac
3623
3624 # to be removed when --disable-gtk2 isn't needed
3625 if test "x$wxUSE_GTK2" = "xyes"; then
3626 wxGTK_VERSION=2
3627 wxUSE_GTK1=0
3628 elif test "x$wxUSE_GTK2" = "xno"; then
3629 wxGTK_VERSION=1
3630 wxUSE_GTK1=1
3631 fi
3632
3633 for toolkit in $ALL_TOOLKITS; do
3634 var=wxUSE_$toolkit
3635 eval "value=\$${var}"
3636 if test "$value" = 1; then
3637 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3638 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3639 echo "${ECHO_T}$toolkit_echo" >&6; }
3640 fi
3641 done
3642 else
3643 if test "x$host_alias" != "x"; then
3644 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3645 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3646 else
3647 { echo "$as_me:$LINENO: result: base only" >&5
3648 echo "${ECHO_T}base only" >&6; }
3649 fi
3650 fi
3651
3652 wxUSE_MAC=0
3653 if test "$wxUSE_OSX_CARBON" = 1 \
3654 -o "$wxUSE_OSX_COCOA" = 1 \
3655 -o "$wxUSE_OSX_IPHONE" = 1; then
3656 wxUSE_MAC=1
3657 fi
3658
3659
3660
3661 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3662 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3663
3664 # Check whether --with-libpng was given.
3665 if test "${with_libpng+set}" = set; then
3666 withval=$with_libpng;
3667 if test "$withval" = yes; then
3668 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3669 elif test "$withval" = no; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3671 elif test "$withval" = sys; then
3672 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3673 elif test "$withval" = builtin; then
3674 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3675 else
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3679 fi
3680
3681 else
3682
3683 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3684
3685 fi
3686
3687
3688 eval "$wx_cv_use_libpng"
3689
3690 if test "$wxUSE_LIBPNG" = yes; then
3691 { echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6; }
3693 elif test "$wxUSE_LIBPNG" = no; then
3694 { echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6; }
3696 elif test "$wxUSE_LIBPNG" = sys; then
3697 { echo "$as_me:$LINENO: result: system version" >&5
3698 echo "${ECHO_T}system version" >&6; }
3699 elif test "$wxUSE_LIBPNG" = builtin; then
3700 { echo "$as_me:$LINENO: result: builtin version" >&5
3701 echo "${ECHO_T}builtin version" >&6; }
3702 else
3703 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3704 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3705 { (exit 1); exit 1; }; }
3706 fi
3707
3708
3709 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3710 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3711
3712 # Check whether --with-libjpeg was given.
3713 if test "${with_libjpeg+set}" = set; then
3714 withval=$with_libjpeg;
3715 if test "$withval" = yes; then
3716 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3717 elif test "$withval" = no; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3719 elif test "$withval" = sys; then
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3721 elif test "$withval" = builtin; then
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3723 else
3724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3725 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3726 { (exit 1); exit 1; }; }
3727 fi
3728
3729 else
3730
3731 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3732
3733 fi
3734
3735
3736 eval "$wx_cv_use_libjpeg"
3737
3738 if test "$wxUSE_LIBJPEG" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = no; then
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = sys; then
3745 { echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6; }
3747 elif test "$wxUSE_LIBJPEG" = builtin; then
3748 { echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6; }
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756
3757 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3758 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3759
3760 # Check whether --with-libtiff was given.
3761 if test "${with_libtiff+set}" = set; then
3762 withval=$with_libtiff;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3765 elif test "$withval" = no; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3767 elif test "$withval" = sys; then
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3769 elif test "$withval" = builtin; then
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3771 else
3772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3774 { (exit 1); exit 1; }; }
3775 fi
3776
3777 else
3778
3779 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3780
3781 fi
3782
3783
3784 eval "$wx_cv_use_libtiff"
3785
3786 if test "$wxUSE_LIBTIFF" = yes; then
3787 { echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = no; then
3790 { echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = sys; then
3793 { echo "$as_me:$LINENO: result: system version" >&5
3794 echo "${ECHO_T}system version" >&6; }
3795 elif test "$wxUSE_LIBTIFF" = builtin; then
3796 { echo "$as_me:$LINENO: result: builtin version" >&5
3797 echo "${ECHO_T}builtin version" >&6; }
3798 else
3799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3800 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3801 { (exit 1); exit 1; }; }
3802 fi
3803
3804
3805 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3806 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3807
3808 # Check whether --with-libxpm was given.
3809 if test "${with_libxpm+set}" = set; then
3810 withval=$with_libxpm;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3813 elif test "$withval" = no; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3815 elif test "$withval" = sys; then
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3817 elif test "$withval" = builtin; then
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3819 else
3820 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3821 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3822 { (exit 1); exit 1; }; }
3823 fi
3824
3825 else
3826
3827 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3828
3829 fi
3830
3831
3832 eval "$wx_cv_use_libxpm"
3833
3834 if test "$wxUSE_LIBXPM" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBXPM" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBXPM" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBXPM" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3846 else
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3850 fi
3851
3852
3853 withstring=
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3857 defaultval=yes
3858 else
3859 defaultval=no
3860 fi
3861 fi
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3864
3865 # Check whether --with-libiconv was given.
3866 if test "${with_libiconv+set}" = set; then
3867 withval=$with_libiconv;
3868 if test "$withval" = yes; then
3869 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3870 else
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3872 fi
3873
3874 else
3875
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3877
3878 fi
3879
3880
3881 eval "$wx_cv_use_libiconv"
3882
3883 if test x"$withstring" = xwithout; then
3884 if test $wxUSE_LIBICONV = yes; then
3885 result=no
3886 else
3887 result=yes
3888 fi
3889 else
3890 result=$wxUSE_LIBICONV
3891 fi
3892
3893 { echo "$as_me:$LINENO: result: $result" >&5
3894 echo "${ECHO_T}$result" >&6; }
3895
3896
3897 withstring=
3898 defaultval=$wxUSE_ALL_FEATURES
3899 if test -z "$defaultval"; then
3900 if test x"$withstring" = xwithout; then
3901 defaultval=yes
3902 else
3903 defaultval=no
3904 fi
3905 fi
3906 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3907 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3908
3909 # Check whether --with-libmspack was given.
3910 if test "${with_libmspack+set}" = set; then
3911 withval=$with_libmspack;
3912 if test "$withval" = yes; then
3913 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3914 else
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3916 fi
3917
3918 else
3919
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3921
3922 fi
3923
3924
3925 eval "$wx_cv_use_libmspack"
3926
3927 if test x"$withstring" = xwithout; then
3928 if test $wxUSE_LIBMSPACK = yes; then
3929 result=no
3930 else
3931 result=yes
3932 fi
3933 else
3934 result=$wxUSE_LIBMSPACK
3935 fi
3936
3937 { echo "$as_me:$LINENO: result: $result" >&5
3938 echo "${ECHO_T}$result" >&6; }
3939
3940
3941 withstring=without
3942 defaultval=$wxUSE_ALL_FEATURES
3943 if test -z "$defaultval"; then
3944 if test x"$withstring" = xwithout; then
3945 defaultval=yes
3946 else
3947 defaultval=no
3948 fi
3949 fi
3950 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3951 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3952
3953 # Check whether --with-gtkprint was given.
3954 if test "${with_gtkprint+set}" = set; then
3955 withval=$with_gtkprint;
3956 if test "$withval" = yes; then
3957 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3958 else
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3960 fi
3961
3962 else
3963
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3965
3966 fi
3967
3968
3969 eval "$wx_cv_use_gtkprint"
3970
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_GTKPRINT = yes; then
3973 result=no
3974 else
3975 result=yes
3976 fi
3977 else
3978 result=$wxUSE_GTKPRINT
3979 fi
3980
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3983
3984
3985 withstring=without
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3989 defaultval=yes
3990 else
3991 defaultval=no
3992 fi
3993 fi
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3996
3997 # Check whether --with-gnomeprint was given.
3998 if test "${with_gnomeprint+set}" = set; then
3999 withval=$with_gnomeprint;
4000 if test "$withval" = yes; then
4001 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4002 else
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4004 fi
4005
4006 else
4007
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4009
4010 fi
4011
4012
4013 eval "$wx_cv_use_gnomeprint"
4014
4015 if test x"$withstring" = xwithout; then
4016 if test $wxUSE_LIBGNOMEPRINT = yes; then
4017 result=no
4018 else
4019 result=yes
4020 fi
4021 else
4022 result=$wxUSE_LIBGNOMEPRINT
4023 fi
4024
4025 { echo "$as_me:$LINENO: result: $result" >&5
4026 echo "${ECHO_T}$result" >&6; }
4027
4028
4029 withstring=
4030 defaultval=$wxUSE_ALL_FEATURES
4031 if test -z "$defaultval"; then
4032 if test x"$withstring" = xwithout; then
4033 defaultval=yes
4034 else
4035 defaultval=no
4036 fi
4037 fi
4038 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4039 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4040
4041 # Check whether --with-gnomevfs was given.
4042 if test "${with_gnomevfs+set}" = set; then
4043 withval=$with_gnomevfs;
4044 if test "$withval" = yes; then
4045 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4046 else
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4048 fi
4049
4050 else
4051
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4053
4054 fi
4055
4056
4057 eval "$wx_cv_use_gnomevfs"
4058
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_LIBGNOMEVFS = yes; then
4061 result=no
4062 else
4063 result=yes
4064 fi
4065 else
4066 result=$wxUSE_LIBGNOMEVFS
4067 fi
4068
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4071
4072
4073 withstring=
4074 defaultval=$wxUSE_ALL_FEATURES
4075 if test -z "$defaultval"; then
4076 if test x"$withstring" = xwithout; then
4077 defaultval=yes
4078 else
4079 defaultval=no
4080 fi
4081 fi
4082 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4083 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4084
4085 # Check whether --with-hildon was given.
4086 if test "${with_hildon+set}" = set; then
4087 withval=$with_hildon;
4088 if test "$withval" = yes; then
4089 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4090 else
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4092 fi
4093
4094 else
4095
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4097
4098 fi
4099
4100
4101 eval "$wx_cv_use_hildon"
4102
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBHILDON = yes; then
4105 result=no
4106 else
4107 result=yes
4108 fi
4109 else
4110 result=$wxUSE_LIBHILDON
4111 fi
4112
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4115
4116
4117 withstring=
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4121 defaultval=yes
4122 else
4123 defaultval=no
4124 fi
4125 fi
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4128
4129 # Check whether --with-opengl was given.
4130 if test "${with_opengl+set}" = set; then
4131 withval=$with_opengl;
4132 if test "$withval" = yes; then
4133 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4134 else
4135 wx_cv_use_opengl='wxUSE_OPENGL=no'
4136 fi
4137
4138 else
4139
4140 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4141
4142 fi
4143
4144
4145 eval "$wx_cv_use_opengl"
4146
4147 if test x"$withstring" = xwithout; then
4148 if test $wxUSE_OPENGL = yes; then
4149 result=no
4150 else
4151 result=yes
4152 fi
4153 else
4154 result=$wxUSE_OPENGL
4155 fi
4156
4157 { echo "$as_me:$LINENO: result: $result" >&5
4158 echo "${ECHO_T}$result" >&6; }
4159
4160
4161 fi
4162
4163
4164 withstring=
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4175
4176 # Check whether --with-dmalloc was given.
4177 if test "${with_dmalloc+set}" = set; then
4178 withval=$with_dmalloc;
4179 if test "$withval" = yes; then
4180 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4181 else
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_dmalloc"
4193
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_DMALLOC = yes; then
4196 result=no
4197 else
4198 result=yes
4199 fi
4200 else
4201 result=$wxUSE_DMALLOC
4202 fi
4203
4204 { echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4206
4207
4208 withstring=
4209 defaultval=$wxUSE_ALL_FEATURES
4210 if test -z "$defaultval"; then
4211 if test x"$withstring" = xwithout; then
4212 defaultval=yes
4213 else
4214 defaultval=no
4215 fi
4216 fi
4217 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4218 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4219
4220 # Check whether --with-sdl was given.
4221 if test "${with_sdl+set}" = set; then
4222 withval=$with_sdl;
4223 if test "$withval" = yes; then
4224 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4225 else
4226 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4227 fi
4228
4229 else
4230
4231 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4232
4233 fi
4234
4235
4236 eval "$wx_cv_use_sdl"
4237
4238 if test x"$withstring" = xwithout; then
4239 if test $wxUSE_LIBSDL = yes; then
4240 result=no
4241 else
4242 result=yes
4243 fi
4244 else
4245 result=$wxUSE_LIBSDL
4246 fi
4247
4248 { echo "$as_me:$LINENO: result: $result" >&5
4249 echo "${ECHO_T}$result" >&6; }
4250
4251
4252 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4253 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4254
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 wx_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 wx_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 wx_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 wx_cv_use_regex='wxUSE_REGEX=builtin'
4266 else
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4270 fi
4271
4272 else
4273
4274 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4275
4276 fi
4277
4278
4279 eval "$wx_cv_use_regex"
4280
4281 if test "$wxUSE_REGEX" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 elif test "$wxUSE_REGEX" = no; then
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 elif test "$wxUSE_REGEX" = sys; then
4288 { echo "$as_me:$LINENO: result: system version" >&5
4289 echo "${ECHO_T}system version" >&6; }
4290 elif test "$wxUSE_REGEX" = builtin; then
4291 { echo "$as_me:$LINENO: result: builtin version" >&5
4292 echo "${ECHO_T}builtin version" >&6; }
4293 else
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4297 fi
4298
4299
4300 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4301 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4302
4303 # Check whether --with-zlib was given.
4304 if test "${with_zlib+set}" = set; then
4305 withval=$with_zlib;
4306 if test "$withval" = yes; then
4307 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4308 elif test "$withval" = no; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=no'
4310 elif test "$withval" = sys; then
4311 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4312 elif test "$withval" = builtin; then
4313 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4314 else
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4318 fi
4319
4320 else
4321
4322 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4323
4324 fi
4325
4326
4327 eval "$wx_cv_use_zlib"
4328
4329 if test "$wxUSE_ZLIB" = yes; then
4330 { echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6; }
4332 elif test "$wxUSE_ZLIB" = no; then
4333 { echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6; }
4335 elif test "$wxUSE_ZLIB" = sys; then
4336 { echo "$as_me:$LINENO: result: system version" >&5
4337 echo "${ECHO_T}system version" >&6; }
4338 elif test "$wxUSE_ZLIB" = builtin; then
4339 { echo "$as_me:$LINENO: result: builtin version" >&5
4340 echo "${ECHO_T}builtin version" >&6; }
4341 else
4342 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4343 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4344 { (exit 1); exit 1; }; }
4345 fi
4346
4347
4348 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4349 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4350
4351 # Check whether --with-expat was given.
4352 if test "${with_expat+set}" = set; then
4353 withval=$with_expat;
4354 if test "$withval" = yes; then
4355 wx_cv_use_expat='wxUSE_EXPAT=yes'
4356 elif test "$withval" = no; then
4357 wx_cv_use_expat='wxUSE_EXPAT=no'
4358 elif test "$withval" = sys; then
4359 wx_cv_use_expat='wxUSE_EXPAT=sys'
4360 elif test "$withval" = builtin; then
4361 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4362 else
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4366 fi
4367
4368 else
4369
4370 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_expat"
4376
4377 if test "$wxUSE_EXPAT" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_EXPAT" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_EXPAT" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_EXPAT" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4389 else
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4393 fi
4394
4395
4396 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4397 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4398
4399 # Check whether --with-macosx-sdk was given.
4400 if test "${with_macosx_sdk+set}" = set; then
4401 withval=$with_macosx_sdk;
4402 wxUSE_MACOSX_SDK=$withval
4403 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4404
4405 fi
4406
4407 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4408 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4409
4410 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4411 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4412
4413 # Check whether --with-macosx-version-min was given.
4414 if test "${with_macosx_version_min+set}" = set; then
4415 withval=$with_macosx_version_min;
4416 wxUSE_MACOSX_VERSION_MIN=$withval
4417 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4418
4419 fi
4420
4421 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4422 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4423
4424
4425 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4426 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4427 # Check whether --enable-debug was given.
4428 if test "${enable_debug+set}" = set; then
4429 enableval=$enable_debug;
4430 if test "$enableval" = yes; then
4431 wxUSE_DEBUG=yes
4432 elif test "$enableval" = no; then
4433 wxUSE_DEBUG=no
4434 elif test "$enableval" = max; then
4435 wxUSE_DEBUG=yes
4436 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4437 else
4438 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4439 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4440 { (exit 1); exit 1; }; }
4441 fi
4442
4443 else
4444 wxUSE_DEBUG=default
4445
4446 fi
4447
4448
4449 case "$wxUSE_DEBUG" in
4450 yes)
4451 DEFAULT_wxUSE_DEBUG_FLAG=yes
4452 DEFAULT_wxUSE_DEBUG_INFO=yes
4453
4454 DEFAULT_wxUSE_OPTIMISE=no
4455 ;;
4456
4457 no)
4458 DEFAULT_wxUSE_DEBUG_FLAG=no
4459 DEFAULT_wxUSE_DEBUG_INFO=no
4460 ;;
4461
4462 default)
4463 DEFAULT_wxUSE_DEBUG_FLAG=yes
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4465 ;;
4466 esac
4467
4468
4469 enablestring=disable
4470 defaultval=
4471 if test -z "$defaultval"; then
4472 if test x"$enablestring" = xdisable; then
4473 defaultval=yes
4474 else
4475 defaultval=no
4476 fi
4477 fi
4478
4479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4481 # Check whether --enable-debug_flag was given.
4482 if test "${enable_debug_flag+set}" = set; then
4483 enableval=$enable_debug_flag;
4484 if test "$enableval" = yes; then
4485 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4486 else
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4488 fi
4489
4490 else
4491
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4493
4494 fi
4495
4496
4497 eval "$wx_cv_use_debug_flag"
4498
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_DEBUG_FLAG = no; then
4501 result=yes
4502 else
4503 result=no
4504 fi
4505 else
4506 result=$wxUSE_DEBUG_FLAG
4507 fi
4508
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4511
4512
4513 enablestring=
4514 defaultval=
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4517 defaultval=yes
4518 else
4519 defaultval=no
4520 fi
4521 fi
4522
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4525 # Check whether --enable-debug_info was given.
4526 if test "${enable_debug_info+set}" = set; then
4527 enableval=$enable_debug_info;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4530 else
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4532 fi
4533
4534 else
4535
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4537
4538 fi
4539
4540
4541 eval "$wx_cv_use_debug_info"
4542
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_DEBUG_INFO = no; then
4545 result=yes
4546 else
4547 result=no
4548 fi
4549 else
4550 result=$wxUSE_DEBUG_INFO
4551 fi
4552
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4555
4556
4557
4558
4559 enablestring=
4560 defaultval=
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4563 defaultval=yes
4564 else
4565 defaultval=no
4566 fi
4567 fi
4568
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4571 # Check whether --enable-debug_gdb was given.
4572 if test "${enable_debug_gdb+set}" = set; then
4573 enableval=$enable_debug_gdb;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4576 else
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4578 fi
4579
4580 else
4581
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4583
4584 fi
4585
4586
4587 eval "$wx_cv_use_debug_gdb"
4588
4589 if test x"$enablestring" = xdisable; then
4590 if test $wxUSE_DEBUG_GDB = no; then
4591 result=yes
4592 else
4593 result=no
4594 fi
4595 else
4596 result=$wxUSE_DEBUG_GDB
4597 fi
4598
4599 { echo "$as_me:$LINENO: result: $result" >&5
4600 echo "${ECHO_T}$result" >&6; }
4601
4602
4603 enablestring=
4604 defaultval=
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4607 defaultval=yes
4608 else
4609 defaultval=no
4610 fi
4611 fi
4612
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4615 # Check whether --enable-debug_cntxt was given.
4616 if test "${enable_debug_cntxt+set}" = set; then
4617 enableval=$enable_debug_cntxt;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4620 else
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4622 fi
4623
4624 else
4625
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4627
4628 fi
4629
4630
4631 eval "$wx_cv_use_debug_cntxt"
4632
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_DEBUG_CONTEXT = no; then
4635 result=yes
4636 else
4637 result=no
4638 fi
4639 else
4640 result=$wxUSE_DEBUG_CONTEXT
4641 fi
4642
4643 { echo "$as_me:$LINENO: result: $result" >&5
4644 echo "${ECHO_T}$result" >&6; }
4645
4646
4647 enablestring=
4648 defaultval=
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4651 defaultval=yes
4652 else
4653 defaultval=no
4654 fi
4655 fi
4656
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4659 # Check whether --enable-mem_tracing was given.
4660 if test "${enable_mem_tracing+set}" = set; then
4661 enableval=$enable_mem_tracing;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4664 else
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4666 fi
4667
4668 else
4669
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4671
4672 fi
4673
4674
4675 eval "$wx_cv_use_mem_tracing"
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_MEM_TRACING = no; then
4679 result=yes
4680 else
4681 result=no
4682 fi
4683 else
4684 result=$wxUSE_MEM_TRACING
4685 fi
4686
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4689
4690
4691
4692
4693 enablestring=disable
4694 defaultval=
4695 if test -z "$defaultval"; then
4696 if test x"$enablestring" = xdisable; then
4697 defaultval=yes
4698 else
4699 defaultval=no
4700 fi
4701 fi
4702
4703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4705 # Check whether --enable-shared was given.
4706 if test "${enable_shared+set}" = set; then
4707 enableval=$enable_shared;
4708 if test "$enableval" = yes; then
4709 wx_cv_use_shared='wxUSE_SHARED=yes'
4710 else
4711 wx_cv_use_shared='wxUSE_SHARED=no'
4712 fi
4713
4714 else
4715
4716 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4717
4718 fi
4719
4720
4721 eval "$wx_cv_use_shared"
4722
4723 if test x"$enablestring" = xdisable; then
4724 if test $wxUSE_SHARED = no; then
4725 result=yes
4726 else
4727 result=no
4728 fi
4729 else
4730 result=$wxUSE_SHARED
4731 fi
4732
4733 { echo "$as_me:$LINENO: result: $result" >&5
4734 echo "${ECHO_T}$result" >&6; }
4735
4736
4737 enablestring=
4738 defaultval=
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4741 defaultval=yes
4742 else
4743 defaultval=no
4744 fi
4745 fi
4746
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4749 # Check whether --enable-stl was given.
4750 if test "${enable_stl+set}" = set; then
4751 enableval=$enable_stl;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_stl='wxUSE_STL=yes'
4754 else
4755 wx_cv_use_stl='wxUSE_STL=no'
4756 fi
4757
4758 else
4759
4760 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4761
4762 fi
4763
4764
4765 eval "$wx_cv_use_stl"
4766
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STL = no; then
4769 result=yes
4770 else
4771 result=no
4772 fi
4773 else
4774 result=$wxUSE_STL
4775 fi
4776
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4779
4780
4781 enablestring=
4782 defaultval=
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4785 defaultval=yes
4786 else
4787 defaultval=no
4788 fi
4789 fi
4790
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4793 # Check whether --enable-std_containers was given.
4794 if test "${enable_std_containers+set}" = set; then
4795 enableval=$enable_std_containers;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4798 else
4799 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4800 fi
4801
4802 else
4803
4804 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4805
4806 fi
4807
4808
4809 eval "$wx_cv_use_std_containers"
4810
4811 if test x"$enablestring" = xdisable; then
4812 if test $wxUSE_STD_CONTAINERS = no; then
4813 result=yes
4814 else
4815 result=no
4816 fi
4817 else
4818 result=$wxUSE_STD_CONTAINERS
4819 fi
4820
4821 { echo "$as_me:$LINENO: result: $result" >&5
4822 echo "${ECHO_T}$result" >&6; }
4823
4824
4825 enablestring=
4826 defaultval=
4827 if test -z "$defaultval"; then
4828 if test x"$enablestring" = xdisable; then
4829 defaultval=yes
4830 else
4831 defaultval=no
4832 fi
4833 fi
4834
4835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4837 # Check whether --enable-std_iostreams was given.
4838 if test "${enable_std_iostreams+set}" = set; then
4839 enableval=$enable_std_iostreams;
4840 if test "$enableval" = yes; then
4841 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4842 else
4843 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4844 fi
4845
4846 else
4847
4848 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4849
4850 fi
4851
4852
4853 eval "$wx_cv_use_std_iostreams"
4854
4855 if test x"$enablestring" = xdisable; then
4856 if test $wxUSE_STD_IOSTREAM = no; then
4857 result=yes
4858 else
4859 result=no
4860 fi
4861 else
4862 result=$wxUSE_STD_IOSTREAM
4863 fi
4864
4865 { echo "$as_me:$LINENO: result: $result" >&5
4866 echo "${ECHO_T}$result" >&6; }
4867
4868
4869 enablestring=
4870 defaultval=
4871 if test -z "$defaultval"; then
4872 if test x"$enablestring" = xdisable; then
4873 defaultval=yes
4874 else
4875 defaultval=no
4876 fi
4877 fi
4878
4879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4881 # Check whether --enable-std_string was given.
4882 if test "${enable_std_string+set}" = set; then
4883 enableval=$enable_std_string;
4884 if test "$enableval" = yes; then
4885 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4886 else
4887 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4888 fi
4889
4890 else
4891
4892 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4893
4894 fi
4895
4896
4897 eval "$wx_cv_use_std_string"
4898
4899 if test x"$enablestring" = xdisable; then
4900 if test $wxUSE_STD_STRING = no; then
4901 result=yes
4902 else
4903 result=no
4904 fi
4905 else
4906 result=$wxUSE_STD_STRING
4907 fi
4908
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4911
4912
4913 enablestring=
4914 defaultval=
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4925 # Check whether --enable-std_string_conv_in_wxstring was given.
4926 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4927 enableval=$enable_std_string_conv_in_wxstring;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4930 else
4931 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4932 fi
4933
4934 else
4935
4936 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_std_string_conv_in_wxstring"
4942
4943 if test x"$enablestring" = xdisable; then
4944 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4945 result=yes
4946 else
4947 result=no
4948 fi
4949 else
4950 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4951 fi
4952
4953 { echo "$as_me:$LINENO: result: $result" >&5
4954 echo "${ECHO_T}$result" >&6; }
4955
4956
4957 enablestring=disable
4958 defaultval=
4959 if test -z "$defaultval"; then
4960 if test x"$enablestring" = xdisable; then
4961 defaultval=yes
4962 else
4963 defaultval=no
4964 fi
4965 fi
4966
4967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4968 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4969 # Check whether --enable-unicode was given.
4970 if test "${enable_unicode+set}" = set; then
4971 enableval=$enable_unicode;
4972 if test "$enableval" = yes; then
4973 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4974 else
4975 wx_cv_use_unicode='wxUSE_UNICODE=no'
4976 fi
4977
4978 else
4979
4980 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4981
4982 fi
4983
4984
4985 eval "$wx_cv_use_unicode"
4986
4987 if test x"$enablestring" = xdisable; then
4988 if test $wxUSE_UNICODE = no; then
4989 result=yes
4990 else
4991 result=no
4992 fi
4993 else
4994 result=$wxUSE_UNICODE
4995 fi
4996
4997 { echo "$as_me:$LINENO: result: $result" >&5
4998 echo "${ECHO_T}$result" >&6; }
4999
5000
5001 enablestring=
5002 defaultval=
5003 if test -z "$defaultval"; then
5004 if test x"$enablestring" = xdisable; then
5005 defaultval=yes
5006 else
5007 defaultval=no
5008 fi
5009 fi
5010
5011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5013 # Check whether --enable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval=$enable_mslu;
5016 if test "$enableval" = yes; then
5017 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5018 else
5019 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5020 fi
5021
5022 else
5023
5024 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5025
5026 fi
5027
5028
5029 eval "$wx_cv_use_mslu"
5030
5031 if test x"$enablestring" = xdisable; then
5032 if test $wxUSE_UNICODE_MSLU = no; then
5033 result=yes
5034 else
5035 result=no
5036 fi
5037 else
5038 result=$wxUSE_UNICODE_MSLU
5039 fi
5040
5041 { echo "$as_me:$LINENO: result: $result" >&5
5042 echo "${ECHO_T}$result" >&6; }
5043
5044
5045 enablestring=
5046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5048 # Check whether --enable-utf8 was given.
5049 if test "${enable_utf8+set}" = set; then
5050 enableval=$enable_utf8;
5051 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5052
5053 else
5054
5055 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5056
5057 fi
5058
5059
5060 eval "$wx_cv_use_utf8"
5061
5062 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5063 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5064
5065
5066 enablestring=
5067 defaultval=
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5070 defaultval=yes
5071 else
5072 defaultval=no
5073 fi
5074 fi
5075
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5078 # Check whether --enable-utf8only was given.
5079 if test "${enable_utf8only+set}" = set; then
5080 enableval=$enable_utf8only;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5083 else
5084 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5085 fi
5086
5087 else
5088
5089 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_utf8only"
5095
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5098 result=yes
5099 else
5100 result=no
5101 fi
5102 else
5103 result=$wxUSE_UNICODE_UTF8_LOCALE
5104 fi
5105
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5108
5109
5110 enablestring=
5111 defaultval=
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5122 # Check whether --enable-extended_rtti was given.
5123 if test "${enable_extended_rtti+set}" = set; then
5124 enableval=$enable_extended_rtti;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5127 else
5128 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_extended_rtti"
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_EXTENDED_RTTI = no; then
5142 result=yes
5143 else
5144 result=no
5145 fi
5146 else
5147 result=$wxUSE_EXTENDED_RTTI
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153 if test "$USE_OS2" = 1; then
5154 DEFAULT_wxUSE_OMF=no
5155
5156 enablestring=
5157 defaultval=
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5160 defaultval=yes
5161 else
5162 defaultval=no
5163 fi
5164 fi
5165
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5168 # Check whether --enable-omf was given.
5169 if test "${enable_omf+set}" = set; then
5170 enableval=$enable_omf;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_omf='wxUSE_OMF=yes'
5173 else
5174 wx_cv_use_omf='wxUSE_OMF=no'
5175 fi
5176
5177 else
5178
5179 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5180
5181 fi
5182
5183
5184 eval "$wx_cv_use_omf"
5185
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_OMF = no; then
5188 result=yes
5189 else
5190 result=no
5191 fi
5192 else
5193 result=$wxUSE_OMF
5194 fi
5195
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5198
5199 fi
5200
5201
5202 enablestring=disable
5203 defaultval=
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5206 defaultval=yes
5207 else
5208 defaultval=no
5209 fi
5210 fi
5211
5212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5214 # Check whether --enable-optimise was given.
5215 if test "${enable_optimise+set}" = set; then
5216 enableval=$enable_optimise;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5219 else
5220 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5221 fi
5222
5223 else
5224
5225 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5226
5227 fi
5228
5229
5230 eval "$wx_cv_use_optimise"
5231
5232 if test x"$enablestring" = xdisable; then
5233 if test $wxUSE_OPTIMISE = no; then
5234 result=yes
5235 else
5236 result=no
5237 fi
5238 else
5239 result=$wxUSE_OPTIMISE
5240 fi
5241
5242 { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5244
5245
5246
5247 enablestring=
5248 defaultval=
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5251 defaultval=yes
5252 else
5253 defaultval=no
5254 fi
5255 fi
5256
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5259 # Check whether --enable-profile was given.
5260 if test "${enable_profile+set}" = set; then
5261 enableval=$enable_profile;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_profile='wxUSE_PROFILE=yes'
5264 else
5265 wx_cv_use_profile='wxUSE_PROFILE=no'
5266 fi
5267
5268 else
5269
5270 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_profile"
5276
5277 if test x"$enablestring" = xdisable; then
5278 if test $wxUSE_PROFILE = no; then
5279 result=yes
5280 else
5281 result=no
5282 fi
5283 else
5284 result=$wxUSE_PROFILE
5285 fi
5286
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5289
5290
5291 enablestring=
5292 defaultval=
5293 if test -z "$defaultval"; then
5294 if test x"$enablestring" = xdisable; then
5295 defaultval=yes
5296 else
5297 defaultval=no
5298 fi
5299 fi
5300
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5303 # Check whether --enable-no_rtti was given.
5304 if test "${enable_no_rtti+set}" = set; then
5305 enableval=$enable_no_rtti;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5308 else
5309 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5310 fi
5311
5312 else
5313
5314 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5315
5316 fi
5317
5318
5319 eval "$wx_cv_use_no_rtti"
5320
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_NO_RTTI = no; then
5323 result=yes
5324 else
5325 result=no
5326 fi
5327 else
5328 result=$wxUSE_NO_RTTI
5329 fi
5330
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5333
5334
5335 enablestring=
5336 defaultval=
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5339 defaultval=yes
5340 else
5341 defaultval=no
5342 fi
5343 fi
5344
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5347 # Check whether --enable-no_exceptions was given.
5348 if test "${enable_no_exceptions+set}" = set; then
5349 enableval=$enable_no_exceptions;
5350 if test "$enableval" = yes; then
5351 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5352 else
5353 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5354 fi
5355
5356 else
5357
5358 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5359
5360 fi
5361
5362
5363 eval "$wx_cv_use_no_exceptions"
5364
5365 if test x"$enablestring" = xdisable; then
5366 if test $wxUSE_NO_EXCEPTIONS = no; then
5367 result=yes
5368 else
5369 result=no
5370 fi
5371 else
5372 result=$wxUSE_NO_EXCEPTIONS
5373 fi
5374
5375 { echo "$as_me:$LINENO: result: $result" >&5
5376 echo "${ECHO_T}$result" >&6; }
5377
5378
5379 enablestring=
5380 defaultval=
5381 if test -z "$defaultval"; then
5382 if test x"$enablestring" = xdisable; then
5383 defaultval=yes
5384 else
5385 defaultval=no
5386 fi
5387 fi
5388
5389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5391 # Check whether --enable-permissive was given.
5392 if test "${enable_permissive+set}" = set; then
5393 enableval=$enable_permissive;
5394 if test "$enableval" = yes; then
5395 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5396 else
5397 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5398 fi
5399
5400 else
5401
5402 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5403
5404 fi
5405
5406
5407 eval "$wx_cv_use_permissive"
5408
5409 if test x"$enablestring" = xdisable; then
5410 if test $wxUSE_PERMISSIVE = no; then
5411 result=yes
5412 else
5413 result=no
5414 fi
5415 else
5416 result=$wxUSE_PERMISSIVE
5417 fi
5418
5419 { echo "$as_me:$LINENO: result: $result" >&5
5420 echo "${ECHO_T}$result" >&6; }
5421
5422
5423 enablestring=
5424 defaultval=
5425 if test -z "$defaultval"; then
5426 if test x"$enablestring" = xdisable; then
5427 defaultval=yes
5428 else
5429 defaultval=no
5430 fi
5431 fi
5432
5433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5435 # Check whether --enable-no_deps was given.
5436 if test "${enable_no_deps+set}" = set; then
5437 enableval=$enable_no_deps;
5438 if test "$enableval" = yes; then
5439 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5440 else
5441 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5442 fi
5443
5444 else
5445
5446 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5447
5448 fi
5449
5450
5451 eval "$wx_cv_use_no_deps"
5452
5453 if test x"$enablestring" = xdisable; then
5454 if test $wxUSE_NO_DEPS = no; then
5455 result=yes
5456 else
5457 result=no
5458 fi
5459 else
5460 result=$wxUSE_NO_DEPS
5461 fi
5462
5463 { echo "$as_me:$LINENO: result: $result" >&5
5464 echo "${ECHO_T}$result" >&6; }
5465
5466
5467 enablestring=disable
5468 defaultval=
5469 if test -z "$defaultval"; then
5470 if test x"$enablestring" = xdisable; then
5471 defaultval=yes
5472 else
5473 defaultval=no
5474 fi
5475 fi
5476
5477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5478 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5479 # Check whether --enable-vararg_macros was given.
5480 if test "${enable_vararg_macros+set}" = set; then
5481 enableval=$enable_vararg_macros;
5482 if test "$enableval" = yes; then
5483 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5484 else
5485 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5486 fi
5487
5488 else
5489
5490 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5491
5492 fi
5493
5494
5495 eval "$wx_cv_use_vararg_macros"
5496
5497 if test x"$enablestring" = xdisable; then
5498 if test $wxUSE_VARARG_MACROS = no; then
5499 result=yes
5500 else
5501 result=no
5502 fi
5503 else
5504 result=$wxUSE_VARARG_MACROS
5505 fi
5506
5507 { echo "$as_me:$LINENO: result: $result" >&5
5508 echo "${ECHO_T}$result" >&6; }
5509
5510
5511
5512 enablestring=
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5515 # Check whether --enable-universal_binary was given.
5516 if test "${enable_universal_binary+set}" = set; then
5517 enableval=$enable_universal_binary;
5518 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5519
5520 else
5521
5522 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5523
5524 fi
5525
5526
5527 eval "$wx_cv_use_universal_binary"
5528
5529 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5530 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5531
5532
5533 enablestring=
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5536 # Check whether --enable-macosx_arch was given.
5537 if test "${enable_macosx_arch+set}" = set; then
5538 enableval=$enable_macosx_arch;
5539 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5540
5541 else
5542
5543 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5544
5545 fi
5546
5547
5548 eval "$wx_cv_use_macosx_arch"
5549
5550 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5551 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5552
5553
5554
5555 enablestring=
5556 defaultval=
5557 if test -z "$defaultval"; then
5558 if test x"$enablestring" = xdisable; then
5559 defaultval=yes
5560 else
5561 defaultval=no
5562 fi
5563 fi
5564
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5567 # Check whether --enable-compat26 was given.
5568 if test "${enable_compat26+set}" = set; then
5569 enableval=$enable_compat26;
5570 if test "$enableval" = yes; then
5571 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5572 else
5573 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5574 fi
5575
5576 else
5577
5578 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5579
5580 fi
5581
5582
5583 eval "$wx_cv_use_compat26"
5584
5585 if test x"$enablestring" = xdisable; then
5586 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5587 result=yes
5588 else
5589 result=no
5590 fi
5591 else
5592 result=$WXWIN_COMPATIBILITY_2_6
5593 fi
5594
5595 { echo "$as_me:$LINENO: result: $result" >&5
5596 echo "${ECHO_T}$result" >&6; }
5597
5598
5599 enablestring=disable
5600 defaultval=
5601 if test -z "$defaultval"; then
5602 if test x"$enablestring" = xdisable; then
5603 defaultval=yes
5604 else
5605 defaultval=no
5606 fi
5607 fi
5608
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5611 # Check whether --enable-compat28 was given.
5612 if test "${enable_compat28+set}" = set; then
5613 enableval=$enable_compat28;
5614 if test "$enableval" = yes; then
5615 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5616 else
5617 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5618 fi
5619
5620 else
5621
5622 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5623
5624 fi
5625
5626
5627 eval "$wx_cv_use_compat28"
5628
5629 if test x"$enablestring" = xdisable; then
5630 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5631 result=yes
5632 else
5633 result=no
5634 fi
5635 else
5636 result=$WXWIN_COMPATIBILITY_2_8
5637 fi
5638
5639 { echo "$as_me:$LINENO: result: $result" >&5
5640 echo "${ECHO_T}$result" >&6; }
5641
5642
5643
5644 enablestring=disable
5645 defaultval=
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5648 defaultval=yes
5649 else
5650 defaultval=no
5651 fi
5652 fi
5653
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5656 # Check whether --enable-rpath was given.
5657 if test "${enable_rpath+set}" = set; then
5658 enableval=$enable_rpath;
5659 if test "$enableval" = yes; then
5660 wx_cv_use_rpath='wxUSE_RPATH=yes'
5661 else
5662 wx_cv_use_rpath='wxUSE_RPATH=no'
5663 fi
5664
5665 else
5666
5667 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5668
5669 fi
5670
5671
5672 eval "$wx_cv_use_rpath"
5673
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_RPATH = no; then
5676 result=yes
5677 else
5678 result=no
5679 fi
5680 else
5681 result=$wxUSE_RPATH
5682 fi
5683
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5686
5687
5688
5689 enablestring=
5690 defaultval=
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5693 defaultval=yes
5694 else
5695 defaultval=no
5696 fi
5697 fi
5698
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5701 # Check whether --enable-objc_uniquifying was given.
5702 if test "${enable_objc_uniquifying+set}" = set; then
5703 enableval=$enable_objc_uniquifying;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5706 else
5707 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5708 fi
5709
5710 else
5711
5712 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5713
5714 fi
5715
5716
5717 eval "$wx_cv_use_objc_uniquifying"
5718
5719 if test x"$enablestring" = xdisable; then
5720 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5721 result=yes
5722 else
5723 result=no
5724 fi
5725 else
5726 result=$wxUSE_OBJC_UNIQUIFYING
5727 fi
5728
5729 { echo "$as_me:$LINENO: result: $result" >&5
5730 echo "${ECHO_T}$result" >&6; }
5731
5732
5733
5734 enablestring=disable
5735 defaultval=
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5746 # Check whether --enable-visibility was given.
5747 if test "${enable_visibility+set}" = set; then
5748 enableval=$enable_visibility;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5751 else
5752 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5753 fi
5754
5755 else
5756
5757 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5758
5759 fi
5760
5761
5762 eval "$wx_cv_use_visibility"
5763
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_VISIBILITY = no; then
5766 result=yes
5767 else
5768 result=no
5769 fi
5770 else
5771 result=$wxUSE_VISIBILITY
5772 fi
5773
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5776
5777
5778 enablestring=disable
5779 defaultval=
5780 if test -z "$defaultval"; then
5781 if test x"$enablestring" = xdisable; then
5782 defaultval=yes
5783 else
5784 defaultval=no
5785 fi
5786 fi
5787
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5790 # Check whether --enable-tls was given.
5791 if test "${enable_tls+set}" = set; then
5792 enableval=$enable_tls;
5793 if test "$enableval" = yes; then
5794 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5795 else
5796 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5797 fi
5798
5799 else
5800
5801 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5802
5803 fi
5804
5805
5806 eval "$wx_cv_use_tls"
5807
5808 if test x"$enablestring" = xdisable; then
5809 if test $wxUSE_COMPILER_TLS = no; then
5810 result=yes
5811 else
5812 result=no
5813 fi
5814 else
5815 result=$wxUSE_COMPILER_TLS
5816 fi
5817
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5820
5821
5822
5823
5824 enablestring=
5825 defaultval=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5836 # Check whether --enable-intl was given.
5837 if test "${enable_intl+set}" = set; then
5838 enableval=$enable_intl;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_intl='wxUSE_INTL=yes'
5841 else
5842 wx_cv_use_intl='wxUSE_INTL=no'
5843 fi
5844
5845 else
5846
5847 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5848
5849 fi
5850
5851
5852 eval "$wx_cv_use_intl"
5853
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_INTL = no; then
5856 result=yes
5857 else
5858 result=no
5859 fi
5860 else
5861 result=$wxUSE_INTL
5862 fi
5863
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5866
5867
5868 enablestring=
5869 defaultval=$wxUSE_ALL_FEATURES
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5872 defaultval=yes
5873 else
5874 defaultval=no
5875 fi
5876 fi
5877
5878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5880 # Check whether --enable-xlocale was given.
5881 if test "${enable_xlocale+set}" = set; then
5882 enableval=$enable_xlocale;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5885 else
5886 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5887 fi
5888
5889 else
5890
5891 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5892
5893 fi
5894
5895
5896 eval "$wx_cv_use_xlocale"
5897
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_XLOCALE = no; then
5900 result=yes
5901 else
5902 result=no
5903 fi
5904 else
5905 result=$wxUSE_XLOCALE
5906 fi
5907
5908 { echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6; }
5910
5911
5912 enablestring=
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5916 defaultval=yes
5917 else
5918 defaultval=no
5919 fi
5920 fi
5921
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5924 # Check whether --enable-config was given.
5925 if test "${enable_config+set}" = set; then
5926 enableval=$enable_config;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_config='wxUSE_CONFIG=yes'
5929 else
5930 wx_cv_use_config='wxUSE_CONFIG=no'
5931 fi
5932
5933 else
5934
5935 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5936
5937 fi
5938
5939
5940 eval "$wx_cv_use_config"
5941
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_CONFIG = no; then
5944 result=yes
5945 else
5946 result=no
5947 fi
5948 else
5949 result=$wxUSE_CONFIG
5950 fi
5951
5952 { echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6; }
5954
5955
5956
5957 enablestring=
5958 defaultval=$wxUSE_ALL_FEATURES
5959 if test -z "$defaultval"; then
5960 if test x"$enablestring" = xdisable; then
5961 defaultval=yes
5962 else
5963 defaultval=no
5964 fi
5965 fi
5966
5967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5969 # Check whether --enable-protocols was given.
5970 if test "${enable_protocols+set}" = set; then
5971 enableval=$enable_protocols;
5972 if test "$enableval" = yes; then
5973 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5974 else
5975 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5976 fi
5977
5978 else
5979
5980 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5981
5982 fi
5983
5984
5985 eval "$wx_cv_use_protocols"
5986
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_PROTOCOL = no; then
5989 result=yes
5990 else
5991 result=no
5992 fi
5993 else
5994 result=$wxUSE_PROTOCOL
5995 fi
5996
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
5999
6000
6001 enablestring=
6002 defaultval=$wxUSE_ALL_FEATURES
6003 if test -z "$defaultval"; then
6004 if test x"$enablestring" = xdisable; then
6005 defaultval=yes
6006 else
6007 defaultval=no
6008 fi
6009 fi
6010
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6013 # Check whether --enable-ftp was given.
6014 if test "${enable_ftp+set}" = set; then
6015 enableval=$enable_ftp;
6016 if test "$enableval" = yes; then
6017 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6018 else
6019 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6020 fi
6021
6022 else
6023
6024 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6025
6026 fi
6027
6028
6029 eval "$wx_cv_use_ftp"
6030
6031 if test x"$enablestring" = xdisable; then
6032 if test $wxUSE_PROTOCOL_FTP = no; then
6033 result=yes
6034 else
6035 result=no
6036 fi
6037 else
6038 result=$wxUSE_PROTOCOL_FTP
6039 fi
6040
6041 { echo "$as_me:$LINENO: result: $result" >&5
6042 echo "${ECHO_T}$result" >&6; }
6043
6044
6045 enablestring=
6046 defaultval=$wxUSE_ALL_FEATURES
6047 if test -z "$defaultval"; then
6048 if test x"$enablestring" = xdisable; then
6049 defaultval=yes
6050 else
6051 defaultval=no
6052 fi
6053 fi
6054
6055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6057 # Check whether --enable-http was given.
6058 if test "${enable_http+set}" = set; then
6059 enableval=$enable_http;
6060 if test "$enableval" = yes; then
6061 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6062 else
6063 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6064 fi
6065
6066 else
6067
6068 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6069
6070 fi
6071
6072
6073 eval "$wx_cv_use_http"
6074
6075 if test x"$enablestring" = xdisable; then
6076 if test $wxUSE_PROTOCOL_HTTP = no; then
6077 result=yes
6078 else
6079 result=no
6080 fi
6081 else
6082 result=$wxUSE_PROTOCOL_HTTP
6083 fi
6084
6085 { echo "$as_me:$LINENO: result: $result" >&5
6086 echo "${ECHO_T}$result" >&6; }
6087
6088
6089 enablestring=
6090 defaultval=$wxUSE_ALL_FEATURES
6091 if test -z "$defaultval"; then
6092 if test x"$enablestring" = xdisable; then
6093 defaultval=yes
6094 else
6095 defaultval=no
6096 fi
6097 fi
6098
6099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6101 # Check whether --enable-fileproto was given.
6102 if test "${enable_fileproto+set}" = set; then
6103 enableval=$enable_fileproto;
6104 if test "$enableval" = yes; then
6105 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6106 else
6107 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6108 fi
6109
6110 else
6111
6112 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6113
6114 fi
6115
6116
6117 eval "$wx_cv_use_fileproto"
6118
6119 if test x"$enablestring" = xdisable; then
6120 if test $wxUSE_PROTOCOL_FILE = no; then
6121 result=yes
6122 else
6123 result=no
6124 fi
6125 else
6126 result=$wxUSE_PROTOCOL_FILE
6127 fi
6128
6129 { echo "$as_me:$LINENO: result: $result" >&5
6130 echo "${ECHO_T}$result" >&6; }
6131
6132
6133 enablestring=
6134 defaultval=$wxUSE_ALL_FEATURES
6135 if test -z "$defaultval"; then
6136 if test x"$enablestring" = xdisable; then
6137 defaultval=yes
6138 else
6139 defaultval=no
6140 fi
6141 fi
6142
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6145 # Check whether --enable-sockets was given.
6146 if test "${enable_sockets+set}" = set; then
6147 enableval=$enable_sockets;
6148 if test "$enableval" = yes; then
6149 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6150 else
6151 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6152 fi
6153
6154 else
6155
6156 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6157
6158 fi
6159
6160
6161 eval "$wx_cv_use_sockets"
6162
6163 if test x"$enablestring" = xdisable; then
6164 if test $wxUSE_SOCKETS = no; then
6165 result=yes
6166 else
6167 result=no
6168 fi
6169 else
6170 result=$wxUSE_SOCKETS
6171 fi
6172
6173 { echo "$as_me:$LINENO: result: $result" >&5
6174 echo "${ECHO_T}$result" >&6; }
6175
6176
6177 enablestring=
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6181 defaultval=yes
6182 else
6183 defaultval=no
6184 fi
6185 fi
6186
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6189 # Check whether --enable-ipv6 was given.
6190 if test "${enable_ipv6+set}" = set; then
6191 enableval=$enable_ipv6;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6194 else
6195 wx_cv_use_ipv6='wxUSE_IPV6=no'
6196 fi
6197
6198 else
6199
6200 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6201
6202 fi
6203
6204
6205 eval "$wx_cv_use_ipv6"
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_IPV6 = no; then
6209 result=yes
6210 else
6211 result=no
6212 fi
6213 else
6214 result=$wxUSE_IPV6
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221 enablestring=
6222 defaultval=$wxUSE_ALL_FEATURES
6223 if test -z "$defaultval"; then
6224 if test x"$enablestring" = xdisable; then
6225 defaultval=yes
6226 else
6227 defaultval=no
6228 fi
6229 fi
6230
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6233 # Check whether --enable-ole was given.
6234 if test "${enable_ole+set}" = set; then
6235 enableval=$enable_ole;
6236 if test "$enableval" = yes; then
6237 wx_cv_use_ole='wxUSE_OLE=yes'
6238 else
6239 wx_cv_use_ole='wxUSE_OLE=no'
6240 fi
6241
6242 else
6243
6244 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6245
6246 fi
6247
6248
6249 eval "$wx_cv_use_ole"
6250
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_OLE = no; then
6253 result=yes
6254 else
6255 result=no
6256 fi
6257 else
6258 result=$wxUSE_OLE
6259 fi
6260
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6263
6264
6265 enablestring=
6266 defaultval=$wxUSE_ALL_FEATURES
6267 if test -z "$defaultval"; then
6268 if test x"$enablestring" = xdisable; then
6269 defaultval=yes
6270 else
6271 defaultval=no
6272 fi
6273 fi
6274
6275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6277 # Check whether --enable-dataobj was given.
6278 if test "${enable_dataobj+set}" = set; then
6279 enableval=$enable_dataobj;
6280 if test "$enableval" = yes; then
6281 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6282 else
6283 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6284 fi
6285
6286 else
6287
6288 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6289
6290 fi
6291
6292
6293 eval "$wx_cv_use_dataobj"
6294
6295 if test x"$enablestring" = xdisable; then
6296 if test $wxUSE_DATAOBJ = no; then
6297 result=yes
6298 else
6299 result=no
6300 fi
6301 else
6302 result=$wxUSE_DATAOBJ
6303 fi
6304
6305 { echo "$as_me:$LINENO: result: $result" >&5
6306 echo "${ECHO_T}$result" >&6; }
6307
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6322 # Check whether --enable-ipc was given.
6323 if test "${enable_ipc+set}" = set; then
6324 enableval=$enable_ipc;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_ipc='wxUSE_IPC=yes'
6327 else
6328 wx_cv_use_ipc='wxUSE_IPC=no'
6329 fi
6330
6331 else
6332
6333 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6334
6335 fi
6336
6337
6338 eval "$wx_cv_use_ipc"
6339
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_IPC = no; then
6342 result=yes
6343 else
6344 result=no
6345 fi
6346 else
6347 result=$wxUSE_IPC
6348 fi
6349
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6352
6353
6354
6355 enablestring=
6356 defaultval=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6359 defaultval=yes
6360 else
6361 defaultval=no
6362 fi
6363 fi
6364
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6367 # Check whether --enable-baseevtloop was given.
6368 if test "${enable_baseevtloop+set}" = set; then
6369 enableval=$enable_baseevtloop;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6372 else
6373 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6374 fi
6375
6376 else
6377
6378 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_baseevtloop"
6384
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6387 result=yes
6388 else
6389 result=no
6390 fi
6391 else
6392 result=$wxUSE_CONSOLE_EVENTLOOP
6393 fi
6394
6395 { echo "$as_me:$LINENO: result: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6397
6398
6399 enablestring=
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6403 defaultval=yes
6404 else
6405 defaultval=no
6406 fi
6407 fi
6408
6409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6411 # Check whether --enable-epollloop was given.
6412 if test "${enable_epollloop+set}" = set; then
6413 enableval=$enable_epollloop;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6416 else
6417 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6418 fi
6419
6420 else
6421
6422 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_epollloop"
6428
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_EPOLL_DISPATCHER = no; then
6431 result=yes
6432 else
6433 result=no
6434 fi
6435 else
6436 result=$wxUSE_EPOLL_DISPATCHER
6437 fi
6438
6439 { echo "$as_me:$LINENO: result: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6441
6442
6443 enablestring=
6444 defaultval=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6447 defaultval=yes
6448 else
6449 defaultval=no
6450 fi
6451 fi
6452
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6455 # Check whether --enable-selectloop was given.
6456 if test "${enable_selectloop+set}" = set; then
6457 enableval=$enable_selectloop;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6460 else
6461 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6462 fi
6463
6464 else
6465
6466 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_selectloop"
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_SELECT_DISPATCHER = no; then
6475 result=yes
6476 else
6477 result=no
6478 fi
6479 else
6480 result=$wxUSE_SELECT_DISPATCHER
6481 fi
6482
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6485
6486
6487
6488 enablestring=
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6492 defaultval=yes
6493 else
6494 defaultval=no
6495 fi
6496 fi
6497
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6500 # Check whether --enable-any was given.
6501 if test "${enable_any+set}" = set; then
6502 enableval=$enable_any;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_any='wxUSE_ANY=yes'
6505 else
6506 wx_cv_use_any='wxUSE_ANY=no'
6507 fi
6508
6509 else
6510
6511 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6512
6513 fi
6514
6515
6516 eval "$wx_cv_use_any"
6517
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_ANY = no; then
6520 result=yes
6521 else
6522 result=no
6523 fi
6524 else
6525 result=$wxUSE_ANY
6526 fi
6527
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6530
6531
6532 enablestring=
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6536 defaultval=yes
6537 else
6538 defaultval=no
6539 fi
6540 fi
6541
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6544 # Check whether --enable-apple_ieee was given.
6545 if test "${enable_apple_ieee+set}" = set; then
6546 enableval=$enable_apple_ieee;
6547 if test "$enableval" = yes; then
6548 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6549 else
6550 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6551 fi
6552
6553 else
6554
6555 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6556
6557 fi
6558
6559
6560 eval "$wx_cv_use_apple_ieee"
6561
6562 if test x"$enablestring" = xdisable; then
6563 if test $wxUSE_APPLE_IEEE = no; then
6564 result=yes
6565 else
6566 result=no
6567 fi
6568 else
6569 result=$wxUSE_APPLE_IEEE
6570 fi
6571
6572 { echo "$as_me:$LINENO: result: $result" >&5
6573 echo "${ECHO_T}$result" >&6; }
6574
6575
6576 enablestring=
6577 defaultval=$wxUSE_ALL_FEATURES
6578 if test -z "$defaultval"; then
6579 if test x"$enablestring" = xdisable; then
6580 defaultval=yes
6581 else
6582 defaultval=no
6583 fi
6584 fi
6585
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6588 # Check whether --enable-arcstream was given.
6589 if test "${enable_arcstream+set}" = set; then
6590 enableval=$enable_arcstream;
6591 if test "$enableval" = yes; then
6592 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6593 else
6594 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6595 fi
6596
6597 else
6598
6599 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6600
6601 fi
6602
6603
6604 eval "$wx_cv_use_arcstream"
6605
6606 if test x"$enablestring" = xdisable; then
6607 if test $wxUSE_ARCHIVE_STREAMS = no; then
6608 result=yes
6609 else
6610 result=no
6611 fi
6612 else
6613 result=$wxUSE_ARCHIVE_STREAMS
6614 fi
6615
6616 { echo "$as_me:$LINENO: result: $result" >&5
6617 echo "${ECHO_T}$result" >&6; }
6618
6619
6620 enablestring=
6621 defaultval=$wxUSE_ALL_FEATURES
6622 if test -z "$defaultval"; then
6623 if test x"$enablestring" = xdisable; then
6624 defaultval=yes
6625 else
6626 defaultval=no
6627 fi
6628 fi
6629
6630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6632 # Check whether --enable-base64 was given.
6633 if test "${enable_base64+set}" = set; then
6634 enableval=$enable_base64;
6635 if test "$enableval" = yes; then
6636 wx_cv_use_base64='wxUSE_BASE64=yes'
6637 else
6638 wx_cv_use_base64='wxUSE_BASE64=no'
6639 fi
6640
6641 else
6642
6643 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6644
6645 fi
6646
6647
6648 eval "$wx_cv_use_base64"
6649
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_BASE64 = no; then
6652 result=yes
6653 else
6654 result=no
6655 fi
6656 else
6657 result=$wxUSE_BASE64
6658 fi
6659
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6662
6663
6664 enablestring=
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6668 defaultval=yes
6669 else
6670 defaultval=no
6671 fi
6672 fi
6673
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6676 # Check whether --enable-backtrace was given.
6677 if test "${enable_backtrace+set}" = set; then
6678 enableval=$enable_backtrace;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6681 else
6682 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6683 fi
6684
6685 else
6686
6687 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6688
6689 fi
6690
6691
6692 eval "$wx_cv_use_backtrace"
6693
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_STACKWALKER = no; then
6696 result=yes
6697 else
6698 result=no
6699 fi
6700 else
6701 result=$wxUSE_STACKWALKER
6702 fi
6703
6704 { echo "$as_me:$LINENO: result: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6706
6707
6708 enablestring=
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6712 defaultval=yes
6713 else
6714 defaultval=no
6715 fi
6716 fi
6717
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6720 # Check whether --enable-catch_segvs was given.
6721 if test "${enable_catch_segvs+set}" = set; then
6722 enableval=$enable_catch_segvs;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6725 else
6726 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6727 fi
6728
6729 else
6730
6731 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6732
6733 fi
6734
6735
6736 eval "$wx_cv_use_catch_segvs"
6737
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6740 result=yes
6741 else
6742 result=no
6743 fi
6744 else
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6746 fi
6747
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6750
6751
6752 enablestring=
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6764 # Check whether --enable-cmdline was given.
6765 if test "${enable_cmdline+set}" = set; then
6766 enableval=$enable_cmdline;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6769 else
6770 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6771 fi
6772
6773 else
6774
6775 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6776
6777 fi
6778
6779
6780 eval "$wx_cv_use_cmdline"
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_CMDLINE_PARSER = no; then
6784 result=yes
6785 else
6786 result=no
6787 fi
6788 else
6789 result=$wxUSE_CMDLINE_PARSER
6790 fi
6791
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6794
6795
6796 enablestring=
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6800 defaultval=yes
6801 else
6802 defaultval=no
6803 fi
6804 fi
6805
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6808 # Check whether --enable-datetime was given.
6809 if test "${enable_datetime+set}" = set; then
6810 enableval=$enable_datetime;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6813 else
6814 wx_cv_use_datetime='wxUSE_DATETIME=no'
6815 fi
6816
6817 else
6818
6819 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_datetime"
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_DATETIME = no; then
6828 result=yes
6829 else
6830 result=no
6831 fi
6832 else
6833 result=$wxUSE_DATETIME
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840 enablestring=
6841 defaultval=$wxUSE_ALL_FEATURES
6842 if test -z "$defaultval"; then
6843 if test x"$enablestring" = xdisable; then
6844 defaultval=yes
6845 else
6846 defaultval=no
6847 fi
6848 fi
6849
6850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6852 # Check whether --enable-debugreport was given.
6853 if test "${enable_debugreport+set}" = set; then
6854 enableval=$enable_debugreport;
6855 if test "$enableval" = yes; then
6856 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6857 else
6858 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6859 fi
6860
6861 else
6862
6863 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6864
6865 fi
6866
6867
6868 eval "$wx_cv_use_debugreport"
6869
6870 if test x"$enablestring" = xdisable; then
6871 if test $wxUSE_DEBUGREPORT = no; then
6872 result=yes
6873 else
6874 result=no
6875 fi
6876 else
6877 result=$wxUSE_DEBUGREPORT
6878 fi
6879
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6882
6883
6884 enablestring=
6885 defaultval=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x"$enablestring" = xdisable; then
6888 defaultval=yes
6889 else
6890 defaultval=no
6891 fi
6892 fi
6893
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6896 # Check whether --enable-dialupman was given.
6897 if test "${enable_dialupman+set}" = set; then
6898 enableval=$enable_dialupman;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6901 else
6902 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6903 fi
6904
6905 else
6906
6907 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6908
6909 fi
6910
6911
6912 eval "$wx_cv_use_dialupman"
6913
6914 if test x"$enablestring" = xdisable; then
6915 if test $wxUSE_DIALUP_MANAGER = no; then
6916 result=yes
6917 else
6918 result=no
6919 fi
6920 else
6921 result=$wxUSE_DIALUP_MANAGER
6922 fi
6923
6924 { echo "$as_me:$LINENO: result: $result" >&5
6925 echo "${ECHO_T}$result" >&6; }
6926
6927
6928 enablestring=
6929 defaultval=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x"$enablestring" = xdisable; then
6932 defaultval=yes
6933 else
6934 defaultval=no
6935 fi
6936 fi
6937
6938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6940 # Check whether --enable-dynlib was given.
6941 if test "${enable_dynlib+set}" = set; then
6942 enableval=$enable_dynlib;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6945 else
6946 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6947 fi
6948
6949 else
6950
6951 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6952
6953 fi
6954
6955
6956 eval "$wx_cv_use_dynlib"
6957
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DYNLIB_CLASS = no; then
6960 result=yes
6961 else
6962 result=no
6963 fi
6964 else
6965 result=$wxUSE_DYNLIB_CLASS
6966 fi
6967
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6970
6971
6972 enablestring=
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6976 defaultval=yes
6977 else
6978 defaultval=no
6979 fi
6980 fi
6981
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6984 # Check whether --enable-dynamicloader was given.
6985 if test "${enable_dynamicloader+set}" = set; then
6986 enableval=$enable_dynamicloader;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6989 else
6990 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6991 fi
6992
6993 else
6994
6995 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6996
6997 fi
6998
6999
7000 eval "$wx_cv_use_dynamicloader"
7001
7002 if test x"$enablestring" = xdisable; then
7003 if test $wxUSE_DYNAMIC_LOADER = no; then
7004 result=yes
7005 else
7006 result=no
7007 fi
7008 else
7009 result=$wxUSE_DYNAMIC_LOADER
7010 fi
7011
7012 { echo "$as_me:$LINENO: result: $result" >&5
7013 echo "${ECHO_T}$result" >&6; }
7014
7015
7016 enablestring=
7017 defaultval=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x"$enablestring" = xdisable; then
7020 defaultval=yes
7021 else
7022 defaultval=no
7023 fi
7024 fi
7025
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7028 # Check whether --enable-exceptions was given.
7029 if test "${enable_exceptions+set}" = set; then
7030 enableval=$enable_exceptions;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7033 else
7034 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7035 fi
7036
7037 else
7038
7039 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7040
7041 fi
7042
7043
7044 eval "$wx_cv_use_exceptions"
7045
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_EXCEPTIONS = no; then
7048 result=yes
7049 else
7050 result=no
7051 fi
7052 else
7053 result=$wxUSE_EXCEPTIONS
7054 fi
7055
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7058
7059
7060 enablestring=
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7064 defaultval=yes
7065 else
7066 defaultval=no
7067 fi
7068 fi
7069
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7072 # Check whether --enable-ffile was given.
7073 if test "${enable_ffile+set}" = set; then
7074 enableval=$enable_ffile;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_ffile='wxUSE_FFILE=yes'
7077 else
7078 wx_cv_use_ffile='wxUSE_FFILE=no'
7079 fi
7080
7081 else
7082
7083 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7084
7085 fi
7086
7087
7088 eval "$wx_cv_use_ffile"
7089
7090 if test x"$enablestring" = xdisable; then
7091 if test $wxUSE_FFILE = no; then
7092 result=yes
7093 else
7094 result=no
7095 fi
7096 else
7097 result=$wxUSE_FFILE
7098 fi
7099
7100 { echo "$as_me:$LINENO: result: $result" >&5
7101 echo "${ECHO_T}$result" >&6; }
7102
7103
7104 enablestring=
7105 defaultval=$wxUSE_ALL_FEATURES
7106 if test -z "$defaultval"; then
7107 if test x"$enablestring" = xdisable; then
7108 defaultval=yes
7109 else
7110 defaultval=no
7111 fi
7112 fi
7113
7114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7116 # Check whether --enable-file was given.
7117 if test "${enable_file+set}" = set; then
7118 enableval=$enable_file;
7119 if test "$enableval" = yes; then
7120 wx_cv_use_file='wxUSE_FILE=yes'
7121 else
7122 wx_cv_use_file='wxUSE_FILE=no'
7123 fi
7124
7125 else
7126
7127 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7128
7129 fi
7130
7131
7132 eval "$wx_cv_use_file"
7133
7134 if test x"$enablestring" = xdisable; then
7135 if test $wxUSE_FILE = no; then
7136 result=yes
7137 else
7138 result=no
7139 fi
7140 else
7141 result=$wxUSE_FILE
7142 fi
7143
7144 { echo "$as_me:$LINENO: result: $result" >&5
7145 echo "${ECHO_T}$result" >&6; }
7146
7147
7148 enablestring=
7149 defaultval=$wxUSE_ALL_FEATURES
7150 if test -z "$defaultval"; then
7151 if test x"$enablestring" = xdisable; then
7152 defaultval=yes
7153 else
7154 defaultval=no
7155 fi
7156 fi
7157
7158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7159 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7160 # Check whether --enable-filehistory was given.
7161 if test "${enable_filehistory+set}" = set; then
7162 enableval=$enable_filehistory;
7163 if test "$enableval" = yes; then
7164 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7165 else
7166 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7167 fi
7168
7169 else
7170
7171 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7172
7173 fi
7174
7175
7176 eval "$wx_cv_use_filehistory"
7177
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FILE_HISTORY = no; then
7180 result=yes
7181 else
7182 result=no
7183 fi
7184 else
7185 result=$wxUSE_FILE_HISTORY
7186 fi
7187
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7204 # Check whether --enable-filesystem was given.
7205 if test "${enable_filesystem+set}" = set; then
7206 enableval=$enable_filesystem;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7209 else
7210 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7211 fi
7212
7213 else
7214
7215 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7216
7217 fi
7218
7219
7220 eval "$wx_cv_use_filesystem"
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_FILESYSTEM = no; then
7224 result=yes
7225 else
7226 result=no
7227 fi
7228 else
7229 result=$wxUSE_FILESYSTEM
7230 fi
7231
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7248 # Check whether --enable-fontenum was given.
7249 if test "${enable_fontenum+set}" = set; then
7250 enableval=$enable_fontenum;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7253 else
7254 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7255 fi
7256
7257 else
7258
7259 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7260
7261 fi
7262
7263
7264 eval "$wx_cv_use_fontenum"
7265
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_FONTENUM = no; then
7268 result=yes
7269 else
7270 result=no
7271 fi
7272 else
7273 result=$wxUSE_FONTENUM
7274 fi
7275
7276 { echo "$as_me:$LINENO: result: $result" >&5
7277 echo "${ECHO_T}$result" >&6; }
7278
7279
7280 enablestring=
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7284 defaultval=yes
7285 else
7286 defaultval=no
7287 fi
7288 fi
7289
7290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7292 # Check whether --enable-fontmap was given.
7293 if test "${enable_fontmap+set}" = set; then
7294 enableval=$enable_fontmap;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7297 else
7298 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7299 fi
7300
7301 else
7302
7303 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7304
7305 fi
7306
7307
7308 eval "$wx_cv_use_fontmap"
7309
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_FONTMAP = no; then
7312 result=yes
7313 else
7314 result=no
7315 fi
7316 else
7317 result=$wxUSE_FONTMAP
7318 fi
7319
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7322
7323
7324 enablestring=
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7328 defaultval=yes
7329 else
7330 defaultval=no
7331 fi
7332 fi
7333
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7336 # Check whether --enable-fs_archive was given.
7337 if test "${enable_fs_archive+set}" = set; then
7338 enableval=$enable_fs_archive;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7341 else
7342 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7343 fi
7344
7345 else
7346
7347 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7348
7349 fi
7350
7351
7352 eval "$wx_cv_use_fs_archive"
7353
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_FS_ARCHIVE = no; then
7356 result=yes
7357 else
7358 result=no
7359 fi
7360 else
7361 result=$wxUSE_FS_ARCHIVE
7362 fi
7363
7364 { echo "$as_me:$LINENO: result: $result" >&5
7365 echo "${ECHO_T}$result" >&6; }
7366
7367
7368 enablestring=
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7372 defaultval=yes
7373 else
7374 defaultval=no
7375 fi
7376 fi
7377
7378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7380 # Check whether --enable-fs_inet was given.
7381 if test "${enable_fs_inet+set}" = set; then
7382 enableval=$enable_fs_inet;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7385 else
7386 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7387 fi
7388
7389 else
7390
7391 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7392
7393 fi
7394
7395
7396 eval "$wx_cv_use_fs_inet"
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_INET = no; then
7400 result=yes
7401 else
7402 result=no
7403 fi
7404 else
7405 result=$wxUSE_FS_INET
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7424 # Check whether --enable-fs_zip was given.
7425 if test "${enable_fs_zip+set}" = set; then
7426 enableval=$enable_fs_zip;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7429 else
7430 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7431 fi
7432
7433 else
7434
7435 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7436
7437 fi
7438
7439
7440 eval "$wx_cv_use_fs_zip"
7441
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_FS_ZIP = no; then
7444 result=yes
7445 else
7446 result=no
7447 fi
7448 else
7449 result=$wxUSE_FS_ZIP
7450 fi
7451
7452 { echo "$as_me:$LINENO: result: $result" >&5
7453 echo "${ECHO_T}$result" >&6; }
7454
7455
7456 enablestring=
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7460 defaultval=yes
7461 else
7462 defaultval=no
7463 fi
7464 fi
7465
7466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7468 # Check whether --enable-fswatcher was given.
7469 if test "${enable_fswatcher+set}" = set; then
7470 enableval=$enable_fswatcher;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7473 else
7474 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7475 fi
7476
7477 else
7478
7479 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7480
7481 fi
7482
7483
7484 eval "$wx_cv_use_fswatcher"
7485
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_FSWATCHER = no; then
7488 result=yes
7489 else
7490 result=no
7491 fi
7492 else
7493 result=$wxUSE_FSWATCHER
7494 fi
7495
7496 { echo "$as_me:$LINENO: result: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7498
7499
7500 enablestring=
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7504 defaultval=yes
7505 else
7506 defaultval=no
7507 fi
7508 fi
7509
7510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7512 # Check whether --enable-geometry was given.
7513 if test "${enable_geometry+set}" = set; then
7514 enableval=$enable_geometry;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7517 else
7518 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7519 fi
7520
7521 else
7522
7523 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7524
7525 fi
7526
7527
7528 eval "$wx_cv_use_geometry"
7529
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_GEOMETRY = no; then
7532 result=yes
7533 else
7534 result=no
7535 fi
7536 else
7537 result=$wxUSE_GEOMETRY
7538 fi
7539
7540 { echo "$as_me:$LINENO: result: $result" >&5
7541 echo "${ECHO_T}$result" >&6; }
7542
7543
7544 enablestring=
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7548 defaultval=yes
7549 else
7550 defaultval=no
7551 fi
7552 fi
7553
7554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7556 # Check whether --enable-log was given.
7557 if test "${enable_log+set}" = set; then
7558 enableval=$enable_log;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_log='wxUSE_LOG=yes'
7561 else
7562 wx_cv_use_log='wxUSE_LOG=no'
7563 fi
7564
7565 else
7566
7567 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_log"
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_LOG = no; then
7576 result=yes
7577 else
7578 result=no
7579 fi
7580 else
7581 result=$wxUSE_LOG
7582 fi
7583
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7586
7587
7588 enablestring=
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7592 defaultval=yes
7593 else
7594 defaultval=no
7595 fi
7596 fi
7597
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7600 # Check whether --enable-longlong was given.
7601 if test "${enable_longlong+set}" = set; then
7602 enableval=$enable_longlong;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7605 else
7606 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7607 fi
7608
7609 else
7610
7611 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7612
7613 fi
7614
7615
7616 eval "$wx_cv_use_longlong"
7617
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LONGLONG = no; then
7620 result=yes
7621 else
7622 result=no
7623 fi
7624 else
7625 result=$wxUSE_LONGLONG
7626 fi
7627
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7630
7631
7632 enablestring=
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7636 defaultval=yes
7637 else
7638 defaultval=no
7639 fi
7640 fi
7641
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7644 # Check whether --enable-mimetype was given.
7645 if test "${enable_mimetype+set}" = set; then
7646 enableval=$enable_mimetype;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7649 else
7650 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7651 fi
7652
7653 else
7654
7655 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7656
7657 fi
7658
7659
7660 eval "$wx_cv_use_mimetype"
7661
7662 if test x"$enablestring" = xdisable; then
7663 if test $wxUSE_MIMETYPE = no; then
7664 result=yes
7665 else
7666 result=no
7667 fi
7668 else
7669 result=$wxUSE_MIMETYPE
7670 fi
7671
7672 { echo "$as_me:$LINENO: result: $result" >&5
7673 echo "${ECHO_T}$result" >&6; }
7674
7675
7676 enablestring=
7677 defaultval=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x"$enablestring" = xdisable; then
7680 defaultval=yes
7681 else
7682 defaultval=no
7683 fi
7684 fi
7685
7686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7688 # Check whether --enable-printfposparam was given.
7689 if test "${enable_printfposparam+set}" = set; then
7690 enableval=$enable_printfposparam;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7693 else
7694 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7695 fi
7696
7697 else
7698
7699 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7700
7701 fi
7702
7703
7704 eval "$wx_cv_use_printfposparam"
7705
7706 if test x"$enablestring" = xdisable; then
7707 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7708 result=yes
7709 else
7710 result=no
7711 fi
7712 else
7713 result=$wxUSE_PRINTF_POS_PARAMS
7714 fi
7715
7716 { echo "$as_me:$LINENO: result: $result" >&5
7717 echo "${ECHO_T}$result" >&6; }
7718
7719
7720 enablestring=
7721 defaultval=$wxUSE_ALL_FEATURES
7722 if test -z "$defaultval"; then
7723 if test x"$enablestring" = xdisable; then
7724 defaultval=yes
7725 else
7726 defaultval=no
7727 fi
7728 fi
7729
7730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7732 # Check whether --enable-snglinst was given.
7733 if test "${enable_snglinst+set}" = set; then
7734 enableval=$enable_snglinst;
7735 if test "$enableval" = yes; then
7736 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7737 else
7738 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7739 fi
7740
7741 else
7742
7743 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7744
7745 fi
7746
7747
7748 eval "$wx_cv_use_snglinst"
7749
7750 if test x"$enablestring" = xdisable; then
7751 if test $wxUSE_SNGLINST_CHECKER = no; then
7752 result=yes
7753 else
7754 result=no
7755 fi
7756 else
7757 result=$wxUSE_SNGLINST_CHECKER
7758 fi
7759
7760 { echo "$as_me:$LINENO: result: $result" >&5
7761 echo "${ECHO_T}$result" >&6; }
7762
7763
7764 enablestring=
7765 defaultval=$wxUSE_ALL_FEATURES
7766 if test -z "$defaultval"; then
7767 if test x"$enablestring" = xdisable; then
7768 defaultval=yes
7769 else
7770 defaultval=no
7771 fi
7772 fi
7773
7774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7776 # Check whether --enable-sound was given.
7777 if test "${enable_sound+set}" = set; then
7778 enableval=$enable_sound;
7779 if test "$enableval" = yes; then
7780 wx_cv_use_sound='wxUSE_SOUND=yes'
7781 else
7782 wx_cv_use_sound='wxUSE_SOUND=no'
7783 fi
7784
7785 else
7786
7787 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7788
7789 fi
7790
7791
7792 eval "$wx_cv_use_sound"
7793
7794 if test x"$enablestring" = xdisable; then
7795 if test $wxUSE_SOUND = no; then
7796 result=yes
7797 else
7798 result=no
7799 fi
7800 else
7801 result=$wxUSE_SOUND
7802 fi
7803
7804 { echo "$as_me:$LINENO: result: $result" >&5
7805 echo "${ECHO_T}$result" >&6; }
7806
7807
7808 enablestring=
7809 defaultval=$wxUSE_ALL_FEATURES
7810 if test -z "$defaultval"; then
7811 if test x"$enablestring" = xdisable; then
7812 defaultval=yes
7813 else
7814 defaultval=no
7815 fi
7816 fi
7817
7818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7819 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7820 # Check whether --enable-stdpaths was given.
7821 if test "${enable_stdpaths+set}" = set; then
7822 enableval=$enable_stdpaths;
7823 if test "$enableval" = yes; then
7824 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7825 else
7826 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7827 fi
7828
7829 else
7830
7831 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7832
7833 fi
7834
7835
7836 eval "$wx_cv_use_stdpaths"
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = no; then
7840 result=yes
7841 else
7842 result=no
7843 fi
7844 else
7845 result=$wxUSE_STDPATHS
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7864 # Check whether --enable-stopwatch was given.
7865 if test "${enable_stopwatch+set}" = set; then
7866 enableval=$enable_stopwatch;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7869 else
7870 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7871 fi
7872
7873 else
7874
7875 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7876
7877 fi
7878
7879
7880 eval "$wx_cv_use_stopwatch"
7881
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_STOPWATCH = no; then
7884 result=yes
7885 else
7886 result=no
7887 fi
7888 else
7889 result=$wxUSE_STOPWATCH
7890 fi
7891
7892 { echo "$as_me:$LINENO: result: $result" >&5
7893 echo "${ECHO_T}$result" >&6; }
7894
7895
7896 enablestring=
7897 defaultval=$wxUSE_ALL_FEATURES
7898 if test -z "$defaultval"; then
7899 if test x"$enablestring" = xdisable; then
7900 defaultval=yes
7901 else
7902 defaultval=no
7903 fi
7904 fi
7905
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7908 # Check whether --enable-streams was given.
7909 if test "${enable_streams+set}" = set; then
7910 enableval=$enable_streams;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_streams='wxUSE_STREAMS=yes'
7913 else
7914 wx_cv_use_streams='wxUSE_STREAMS=no'
7915 fi
7916
7917 else
7918
7919 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7920
7921 fi
7922
7923
7924 eval "$wx_cv_use_streams"
7925
7926 if test x"$enablestring" = xdisable; then
7927 if test $wxUSE_STREAMS = no; then
7928 result=yes
7929 else
7930 result=no
7931 fi
7932 else
7933 result=$wxUSE_STREAMS
7934 fi
7935
7936 { echo "$as_me:$LINENO: result: $result" >&5
7937 echo "${ECHO_T}$result" >&6; }
7938
7939
7940 enablestring=
7941 defaultval=$wxUSE_ALL_FEATURES
7942 if test -z "$defaultval"; then
7943 if test x"$enablestring" = xdisable; then
7944 defaultval=yes
7945 else
7946 defaultval=no
7947 fi
7948 fi
7949
7950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7952 # Check whether --enable-sysoptions was given.
7953 if test "${enable_sysoptions+set}" = set; then
7954 enableval=$enable_sysoptions;
7955 if test "$enableval" = yes; then
7956 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7957 else
7958 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7959 fi
7960
7961 else
7962
7963 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7964
7965 fi
7966
7967
7968 eval "$wx_cv_use_sysoptions"
7969
7970 if test x"$enablestring" = xdisable; then
7971 if test $wxUSE_SYSTEM_OPTIONS = no; then
7972 result=yes
7973 else
7974 result=no
7975 fi
7976 else
7977 result=$wxUSE_SYSTEM_OPTIONS
7978 fi
7979
7980 { echo "$as_me:$LINENO: result: $result" >&5
7981 echo "${ECHO_T}$result" >&6; }
7982
7983
7984 enablestring=
7985 defaultval=$wxUSE_ALL_FEATURES
7986 if test -z "$defaultval"; then
7987 if test x"$enablestring" = xdisable; then
7988 defaultval=yes
7989 else
7990 defaultval=no
7991 fi
7992 fi
7993
7994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7996 # Check whether --enable-tarstream was given.
7997 if test "${enable_tarstream+set}" = set; then
7998 enableval=$enable_tarstream;
7999 if test "$enableval" = yes; then
8000 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8001 else
8002 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8003 fi
8004
8005 else
8006
8007 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8008
8009 fi
8010
8011
8012 eval "$wx_cv_use_tarstream"
8013
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_TARSTREAM = no; then
8016 result=yes
8017 else
8018 result=no
8019 fi
8020 else
8021 result=$wxUSE_TARSTREAM
8022 fi
8023
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8026
8027
8028 enablestring=
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8032 defaultval=yes
8033 else
8034 defaultval=no
8035 fi
8036 fi
8037
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8040 # Check whether --enable-textbuf was given.
8041 if test "${enable_textbuf+set}" = set; then
8042 enableval=$enable_textbuf;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8045 else
8046 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8047 fi
8048
8049 else
8050
8051 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8052
8053 fi
8054
8055
8056 eval "$wx_cv_use_textbuf"
8057
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TEXTBUFFER = no; then
8060 result=yes
8061 else
8062 result=no
8063 fi
8064 else
8065 result=$wxUSE_TEXTBUFFER
8066 fi
8067
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8070
8071
8072 enablestring=
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8076 defaultval=yes
8077 else
8078 defaultval=no
8079 fi
8080 fi
8081
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8084 # Check whether --enable-textfile was given.
8085 if test "${enable_textfile+set}" = set; then
8086 enableval=$enable_textfile;
8087 if test "$enableval" = yes; then
8088 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8089 else
8090 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8091 fi
8092
8093 else
8094
8095 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8096
8097 fi
8098
8099
8100 eval "$wx_cv_use_textfile"
8101
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_TEXTFILE = no; then
8104 result=yes
8105 else
8106 result=no
8107 fi
8108 else
8109 result=$wxUSE_TEXTFILE
8110 fi
8111
8112 { echo "$as_me:$LINENO: result: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8128 # Check whether --enable-timer was given.
8129 if test "${enable_timer+set}" = set; then
8130 enableval=$enable_timer;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_timer='wxUSE_TIMER=yes'
8133 else
8134 wx_cv_use_timer='wxUSE_TIMER=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_timer"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_TIMER = no; then
8148 result=yes
8149 else
8150 result=no
8151 fi
8152 else
8153 result=$wxUSE_TIMER
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8172 # Check whether --enable-variant was given.
8173 if test "${enable_variant+set}" = set; then
8174 enableval=$enable_variant;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_variant='wxUSE_VARIANT=yes'
8177 else
8178 wx_cv_use_variant='wxUSE_VARIANT=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_variant"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_VARIANT = no; then
8192 result=yes
8193 else
8194 result=no
8195 fi
8196 else
8197 result=$wxUSE_VARIANT
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8216 # Check whether --enable-zipstream was given.
8217 if test "${enable_zipstream+set}" = set; then
8218 enableval=$enable_zipstream;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8221 else
8222 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_zipstream"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_ZIPSTREAM = no; then
8236 result=yes
8237 else
8238 result=no
8239 fi
8240 else
8241 result=$wxUSE_ZIPSTREAM
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248
8249 enablestring=
8250 defaultval=$wxUSE_ALL_FEATURES
8251 if test -z "$defaultval"; then
8252 if test x"$enablestring" = xdisable; then
8253 defaultval=yes
8254 else
8255 defaultval=no
8256 fi
8257 fi
8258
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8261 # Check whether --enable-url was given.
8262 if test "${enable_url+set}" = set; then
8263 enableval=$enable_url;
8264 if test "$enableval" = yes; then
8265 wx_cv_use_url='wxUSE_URL=yes'
8266 else
8267 wx_cv_use_url='wxUSE_URL=no'
8268 fi
8269
8270 else
8271
8272 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8273
8274 fi
8275
8276
8277 eval "$wx_cv_use_url"
8278
8279 if test x"$enablestring" = xdisable; then
8280 if test $wxUSE_URL = no; then
8281 result=yes
8282 else
8283 result=no
8284 fi
8285 else
8286 result=$wxUSE_URL
8287 fi
8288
8289 { echo "$as_me:$LINENO: result: $result" >&5
8290 echo "${ECHO_T}$result" >&6; }
8291
8292
8293 enablestring=
8294 defaultval=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x"$enablestring" = xdisable; then
8297 defaultval=yes
8298 else
8299 defaultval=no
8300 fi
8301 fi
8302
8303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8305 # Check whether --enable-protocol was given.
8306 if test "${enable_protocol+set}" = set; then
8307 enableval=$enable_protocol;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8310 else
8311 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8312 fi
8313
8314 else
8315
8316 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8317
8318 fi
8319
8320
8321 eval "$wx_cv_use_protocol"
8322
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_PROTOCOL = no; then
8325 result=yes
8326 else
8327 result=no
8328 fi
8329 else
8330 result=$wxUSE_PROTOCOL
8331 fi
8332
8333 { echo "$as_me:$LINENO: result: $result" >&5
8334 echo "${ECHO_T}$result" >&6; }
8335
8336
8337 enablestring=
8338 defaultval=$wxUSE_ALL_FEATURES
8339 if test -z "$defaultval"; then
8340 if test x"$enablestring" = xdisable; then
8341 defaultval=yes
8342 else
8343 defaultval=no
8344 fi
8345 fi
8346
8347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8349 # Check whether --enable-protocol_http was given.
8350 if test "${enable_protocol_http+set}" = set; then
8351 enableval=$enable_protocol_http;
8352 if test "$enableval" = yes; then
8353 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8354 else
8355 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8356 fi
8357
8358 else
8359
8360 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8361
8362 fi
8363
8364
8365 eval "$wx_cv_use_protocol_http"
8366
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_PROTOCOL_HTTP = no; then
8369 result=yes
8370 else
8371 result=no
8372 fi
8373 else
8374 result=$wxUSE_PROTOCOL_HTTP
8375 fi
8376
8377 { echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6; }
8379
8380
8381 enablestring=
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8385 defaultval=yes
8386 else
8387 defaultval=no
8388 fi
8389 fi
8390
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8393 # Check whether --enable-protocol_ftp was given.
8394 if test "${enable_protocol_ftp+set}" = set; then
8395 enableval=$enable_protocol_ftp;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8398 else
8399 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8400 fi
8401
8402 else
8403
8404 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8405
8406 fi
8407
8408
8409 eval "$wx_cv_use_protocol_ftp"
8410
8411 if test x"$enablestring" = xdisable; then
8412 if test $wxUSE_PROTOCOL_FTP = no; then
8413 result=yes
8414 else
8415 result=no
8416 fi
8417 else
8418 result=$wxUSE_PROTOCOL_FTP
8419 fi
8420
8421 { echo "$as_me:$LINENO: result: $result" >&5
8422 echo "${ECHO_T}$result" >&6; }
8423
8424
8425 enablestring=
8426 defaultval=$wxUSE_ALL_FEATURES
8427 if test -z "$defaultval"; then
8428 if test x"$enablestring" = xdisable; then
8429 defaultval=yes
8430 else
8431 defaultval=no
8432 fi
8433 fi
8434
8435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8436 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8437 # Check whether --enable-protocol_file was given.
8438 if test "${enable_protocol_file+set}" = set; then
8439 enableval=$enable_protocol_file;
8440 if test "$enableval" = yes; then
8441 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8442 else
8443 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8444 fi
8445
8446 else
8447
8448 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8449
8450 fi
8451
8452
8453 eval "$wx_cv_use_protocol_file"
8454
8455 if test x"$enablestring" = xdisable; then
8456 if test $wxUSE_PROTOCOL_FILE = no; then
8457 result=yes
8458 else
8459 result=no
8460 fi
8461 else
8462 result=$wxUSE_PROTOCOL_FILE
8463 fi
8464
8465 { echo "$as_me:$LINENO: result: $result" >&5
8466 echo "${ECHO_T}$result" >&6; }
8467
8468
8469
8470 enablestring=
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8474 defaultval=yes
8475 else
8476 defaultval=no
8477 fi
8478 fi
8479
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8482 # Check whether --enable-threads was given.
8483 if test "${enable_threads+set}" = set; then
8484 enableval=$enable_threads;
8485 if test "$enableval" = yes; then
8486 wx_cv_use_threads='wxUSE_THREADS=yes'
8487 else
8488 wx_cv_use_threads='wxUSE_THREADS=no'
8489 fi
8490
8491 else
8492
8493 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8494
8495 fi
8496
8497
8498 eval "$wx_cv_use_threads"
8499
8500 if test x"$enablestring" = xdisable; then
8501 if test $wxUSE_THREADS = no; then
8502 result=yes
8503 else
8504 result=no
8505 fi
8506 else
8507 result=$wxUSE_THREADS
8508 fi
8509
8510 { echo "$as_me:$LINENO: result: $result" >&5
8511 echo "${ECHO_T}$result" >&6; }
8512
8513
8514
8515 enablestring=
8516 defaultval=
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8519 defaultval=yes
8520 else
8521 defaultval=no
8522 fi
8523 fi
8524
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8527 # Check whether --enable-iniconf was given.
8528 if test "${enable_iniconf+set}" = set; then
8529 enableval=$enable_iniconf;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8532 else
8533 wx_cv_use_iniconf='wxUSE_INICONF=no'
8534 fi
8535
8536 else
8537
8538 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8539
8540 fi
8541
8542
8543 eval "$wx_cv_use_iniconf"
8544
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_INICONF = no; then
8547 result=yes
8548 else
8549 result=no
8550 fi
8551 else
8552 result=$wxUSE_INICONF
8553 fi
8554
8555 { echo "$as_me:$LINENO: result: $result" >&5
8556 echo "${ECHO_T}$result" >&6; }
8557
8558
8559 enablestring=
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8563 defaultval=yes
8564 else
8565 defaultval=no
8566 fi
8567 fi
8568
8569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8571 # Check whether --enable-regkey was given.
8572 if test "${enable_regkey+set}" = set; then
8573 enableval=$enable_regkey;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8576 else
8577 wx_cv_use_regkey='wxUSE_REGKEY=no'
8578 fi
8579
8580 else
8581
8582 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8583
8584 fi
8585
8586
8587 eval "$wx_cv_use_regkey"
8588
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_REGKEY = no; then
8591 result=yes
8592 else
8593 result=no
8594 fi
8595 else
8596 result=$wxUSE_REGKEY
8597 fi
8598
8599 { echo "$as_me:$LINENO: result: $result" >&5
8600 echo "${ECHO_T}$result" >&6; }
8601
8602
8603 if test "$wxUSE_GUI" = "yes"; then
8604
8605
8606
8607 enablestring=
8608 defaultval=$wxUSE_ALL_FEATURES
8609 if test -z "$defaultval"; then
8610 if test x"$enablestring" = xdisable; then
8611 defaultval=yes
8612 else
8613 defaultval=no
8614 fi
8615 fi
8616
8617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8619 # Check whether --enable-docview was given.
8620 if test "${enable_docview+set}" = set; then
8621 enableval=$enable_docview;
8622 if test "$enableval" = yes; then
8623 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8624 else
8625 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8626 fi
8627
8628 else
8629
8630 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8631
8632 fi
8633
8634
8635 eval "$wx_cv_use_docview"
8636
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8639 result=yes
8640 else
8641 result=no
8642 fi
8643 else
8644 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8645 fi
8646
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8649
8650
8651 enablestring=
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8655 defaultval=yes
8656 else
8657 defaultval=no
8658 fi
8659 fi
8660
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8663 # Check whether --enable-help was given.
8664 if test "${enable_help+set}" = set; then
8665 enableval=$enable_help;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_help='wxUSE_HELP=yes'
8668 else
8669 wx_cv_use_help='wxUSE_HELP=no'
8670 fi
8671
8672 else
8673
8674 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8675
8676 fi
8677
8678
8679 eval "$wx_cv_use_help"
8680
8681 if test x"$enablestring" = xdisable; then
8682 if test $wxUSE_HELP = no; then
8683 result=yes
8684 else
8685 result=no
8686 fi
8687 else
8688 result=$wxUSE_HELP
8689 fi
8690
8691 { echo "$as_me:$LINENO: result: $result" >&5
8692 echo "${ECHO_T}$result" >&6; }
8693
8694
8695 enablestring=
8696 defaultval=$wxUSE_ALL_FEATURES
8697 if test -z "$defaultval"; then
8698 if test x"$enablestring" = xdisable; then
8699 defaultval=yes
8700 else
8701 defaultval=no
8702 fi
8703 fi
8704
8705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8706 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8707 # Check whether --enable-mshtmlhelp was given.
8708 if test "${enable_mshtmlhelp+set}" = set; then
8709 enableval=$enable_mshtmlhelp;
8710 if test "$enableval" = yes; then
8711 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8712 else
8713 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8714 fi
8715
8716 else
8717
8718 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8719
8720 fi
8721
8722
8723 eval "$wx_cv_use_mshtmlhelp"
8724
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_MS_HTML_HELP = no; then
8727 result=yes
8728 else
8729 result=no
8730 fi
8731 else
8732 result=$wxUSE_MS_HTML_HELP
8733 fi
8734
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8737
8738
8739 enablestring=
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8743 defaultval=yes
8744 else
8745 defaultval=no
8746 fi
8747 fi
8748
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8751 # Check whether --enable-html was given.
8752 if test "${enable_html+set}" = set; then
8753 enableval=$enable_html;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_html='wxUSE_HTML=yes'
8756 else
8757 wx_cv_use_html='wxUSE_HTML=no'
8758 fi
8759
8760 else
8761
8762 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8763
8764 fi
8765
8766
8767 eval "$wx_cv_use_html"
8768
8769 if test x"$enablestring" = xdisable; then
8770 if test $wxUSE_HTML = no; then
8771 result=yes
8772 else
8773 result=no
8774 fi
8775 else
8776 result=$wxUSE_HTML
8777 fi
8778
8779 { echo "$as_me:$LINENO: result: $result" >&5
8780 echo "${ECHO_T}$result" >&6; }
8781
8782
8783 enablestring=
8784 defaultval=$wxUSE_ALL_FEATURES
8785 if test -z "$defaultval"; then
8786 if test x"$enablestring" = xdisable; then
8787 defaultval=yes
8788 else
8789 defaultval=no
8790 fi
8791 fi
8792
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8795 # Check whether --enable-htmlhelp was given.
8796 if test "${enable_htmlhelp+set}" = set; then
8797 enableval=$enable_htmlhelp;
8798 if test "$enableval" = yes; then
8799 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8800 else
8801 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8802 fi
8803
8804 else
8805
8806 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8807
8808 fi
8809
8810
8811 eval "$wx_cv_use_htmlhelp"
8812
8813 if test x"$enablestring" = xdisable; then
8814 if test $wxUSE_WXHTML_HELP = no; then
8815 result=yes
8816 else
8817 result=no
8818 fi
8819 else
8820 result=$wxUSE_WXHTML_HELP
8821 fi
8822
8823 { echo "$as_me:$LINENO: result: $result" >&5
8824 echo "${ECHO_T}$result" >&6; }
8825
8826
8827 enablestring=
8828 defaultval=$wxUSE_ALL_FEATURES
8829 if test -z "$defaultval"; then
8830 if test x"$enablestring" = xdisable; then
8831 defaultval=yes
8832 else
8833 defaultval=no
8834 fi
8835 fi
8836
8837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8839 # Check whether --enable-xrc was given.
8840 if test "${enable_xrc+set}" = set; then
8841 enableval=$enable_xrc;
8842 if test "$enableval" = yes; then
8843 wx_cv_use_xrc='wxUSE_XRC=yes'
8844 else
8845 wx_cv_use_xrc='wxUSE_XRC=no'
8846 fi
8847
8848 else
8849
8850 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8851
8852 fi
8853
8854
8855 eval "$wx_cv_use_xrc"
8856
8857 if test x"$enablestring" = xdisable; then
8858 if test $wxUSE_XRC = no; then
8859 result=yes
8860 else
8861 result=no
8862 fi
8863 else
8864 result=$wxUSE_XRC
8865 fi
8866
8867 { echo "$as_me:$LINENO: result: $result" >&5
8868 echo "${ECHO_T}$result" >&6; }
8869
8870
8871 enablestring=
8872 defaultval=$wxUSE_ALL_FEATURES
8873 if test -z "$defaultval"; then
8874 if test x"$enablestring" = xdisable; then
8875 defaultval=yes
8876 else
8877 defaultval=no
8878 fi
8879 fi
8880
8881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8883 # Check whether --enable-aui was given.
8884 if test "${enable_aui+set}" = set; then
8885 enableval=$enable_aui;
8886 if test "$enableval" = yes; then
8887 wx_cv_use_aui='wxUSE_AUI=yes'
8888 else
8889 wx_cv_use_aui='wxUSE_AUI=no'
8890 fi
8891
8892 else
8893
8894 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8895
8896 fi
8897
8898
8899 eval "$wx_cv_use_aui"
8900
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_AUI = no; then
8903 result=yes
8904 else
8905 result=no
8906 fi
8907 else
8908 result=$wxUSE_AUI
8909 fi
8910
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8913
8914
8915 enablestring=
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8919 defaultval=yes
8920 else
8921 defaultval=no
8922 fi
8923 fi
8924
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8927 # Check whether --enable-propgrid was given.
8928 if test "${enable_propgrid+set}" = set; then
8929 enableval=$enable_propgrid;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8932 else
8933 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8934 fi
8935
8936 else
8937
8938 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8939
8940 fi
8941
8942
8943 eval "$wx_cv_use_propgrid"
8944
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_PROPGRID = no; then
8947 result=yes
8948 else
8949 result=no
8950 fi
8951 else
8952 result=$wxUSE_PROPGRID
8953 fi
8954
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8957
8958
8959 enablestring=
8960 defaultval=$wxUSE_ALL_FEATURES
8961 if test -z "$defaultval"; then
8962 if test x"$enablestring" = xdisable; then
8963 defaultval=yes
8964 else
8965 defaultval=no
8966 fi
8967 fi
8968
8969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8971 # Check whether --enable-ribbon was given.
8972 if test "${enable_ribbon+set}" = set; then
8973 enableval=$enable_ribbon;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8976 else
8977 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8978 fi
8979
8980 else
8981
8982 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8983
8984 fi
8985
8986
8987 eval "$wx_cv_use_ribbon"
8988
8989 if test x"$enablestring" = xdisable; then
8990 if test $wxUSE_RIBBON = no; then
8991 result=yes
8992 else
8993 result=no
8994 fi
8995 else
8996 result=$wxUSE_RIBBON
8997 fi
8998
8999 { echo "$as_me:$LINENO: result: $result" >&5
9000 echo "${ECHO_T}$result" >&6; }
9001
9002
9003 enablestring=
9004 defaultval=$wxUSE_ALL_FEATURES
9005 if test -z "$defaultval"; then
9006 if test x"$enablestring" = xdisable; then
9007 defaultval=yes
9008 else
9009 defaultval=no
9010 fi
9011 fi
9012
9013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9015 # Check whether --enable-stc was given.
9016 if test "${enable_stc+set}" = set; then
9017 enableval=$enable_stc;
9018 if test "$enableval" = yes; then
9019 wx_cv_use_stc='wxUSE_STC=yes'
9020 else
9021 wx_cv_use_stc='wxUSE_STC=no'
9022 fi
9023
9024 else
9025
9026 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9027
9028 fi
9029
9030
9031 eval "$wx_cv_use_stc"
9032
9033 if test x"$enablestring" = xdisable; then
9034 if test $wxUSE_STC = no; then
9035 result=yes
9036 else
9037 result=no
9038 fi
9039 else
9040 result=$wxUSE_STC
9041 fi
9042
9043 { echo "$as_me:$LINENO: result: $result" >&5
9044 echo "${ECHO_T}$result" >&6; }
9045
9046
9047 enablestring=
9048 defaultval=$wxUSE_ALL_FEATURES
9049 if test -z "$defaultval"; then
9050 if test x"$enablestring" = xdisable; then
9051 defaultval=yes
9052 else
9053 defaultval=no
9054 fi
9055 fi
9056
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9059 # Check whether --enable-constraints was given.
9060 if test "${enable_constraints+set}" = set; then
9061 enableval=$enable_constraints;
9062 if test "$enableval" = yes; then
9063 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9064 else
9065 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9066 fi
9067
9068 else
9069
9070 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9071
9072 fi
9073
9074
9075 eval "$wx_cv_use_constraints"
9076
9077 if test x"$enablestring" = xdisable; then
9078 if test $wxUSE_CONSTRAINTS = no; then
9079 result=yes
9080 else
9081 result=no
9082 fi
9083 else
9084 result=$wxUSE_CONSTRAINTS
9085 fi
9086
9087 { echo "$as_me:$LINENO: result: $result" >&5
9088 echo "${ECHO_T}$result" >&6; }
9089
9090
9091 enablestring=
9092 defaultval=$wxUSE_ALL_FEATURES
9093 if test -z "$defaultval"; then
9094 if test x"$enablestring" = xdisable; then
9095 defaultval=yes
9096 else
9097 defaultval=no
9098 fi
9099 fi
9100
9101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9103 # Check whether --enable-loggui was given.
9104 if test "${enable_loggui+set}" = set; then
9105 enableval=$enable_loggui;
9106 if test "$enableval" = yes; then
9107 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9108 else
9109 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9110 fi
9111
9112 else
9113
9114 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9115
9116 fi
9117
9118
9119 eval "$wx_cv_use_loggui"
9120
9121 if test x"$enablestring" = xdisable; then
9122 if test $wxUSE_LOGGUI = no; then
9123 result=yes
9124 else
9125 result=no
9126 fi
9127 else
9128 result=$wxUSE_LOGGUI
9129 fi
9130
9131 { echo "$as_me:$LINENO: result: $result" >&5
9132 echo "${ECHO_T}$result" >&6; }
9133
9134
9135 enablestring=
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9139 defaultval=yes
9140 else
9141 defaultval=no
9142 fi
9143 fi
9144
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9147 # Check whether --enable-logwin was given.
9148 if test "${enable_logwin+set}" = set; then
9149 enableval=$enable_logwin;
9150 if test "$enableval" = yes; then
9151 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9152 else
9153 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9154 fi
9155
9156 else
9157
9158 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9159
9160 fi
9161
9162
9163 eval "$wx_cv_use_logwin"
9164
9165 if test x"$enablestring" = xdisable; then
9166 if test $wxUSE_LOGWINDOW = no; then
9167 result=yes
9168 else
9169 result=no
9170 fi
9171 else
9172 result=$wxUSE_LOGWINDOW
9173 fi
9174
9175 { echo "$as_me:$LINENO: result: $result" >&5
9176 echo "${ECHO_T}$result" >&6; }
9177
9178
9179 enablestring=
9180 defaultval=$wxUSE_ALL_FEATURES
9181 if test -z "$defaultval"; then
9182 if test x"$enablestring" = xdisable; then
9183 defaultval=yes
9184 else
9185 defaultval=no
9186 fi
9187 fi
9188
9189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9191 # Check whether --enable-logdialog was given.
9192 if test "${enable_logdialog+set}" = set; then
9193 enableval=$enable_logdialog;
9194 if test "$enableval" = yes; then
9195 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9196 else
9197 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9198 fi
9199
9200 else
9201
9202 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9203
9204 fi
9205
9206
9207 eval "$wx_cv_use_logdialog"
9208
9209 if test x"$enablestring" = xdisable; then
9210 if test $wxUSE_LOGDIALOG = no; then
9211 result=yes
9212 else
9213 result=no
9214 fi
9215 else
9216 result=$wxUSE_LOGDIALOG
9217 fi
9218
9219 { echo "$as_me:$LINENO: result: $result" >&5
9220 echo "${ECHO_T}$result" >&6; }
9221
9222
9223 enablestring=
9224 defaultval=$wxUSE_ALL_FEATURES
9225 if test -z "$defaultval"; then
9226 if test x"$enablestring" = xdisable; then
9227 defaultval=yes
9228 else
9229 defaultval=no
9230 fi
9231 fi
9232
9233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9235 # Check whether --enable-mdi was given.
9236 if test "${enable_mdi+set}" = set; then
9237 enableval=$enable_mdi;
9238 if test "$enableval" = yes; then
9239 wx_cv_use_mdi='wxUSE_MDI=yes'
9240 else
9241 wx_cv_use_mdi='wxUSE_MDI=no'
9242 fi
9243
9244 else
9245
9246 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9247
9248 fi
9249
9250
9251 eval "$wx_cv_use_mdi"
9252
9253 if test x"$enablestring" = xdisable; then
9254 if test $wxUSE_MDI = no; then
9255 result=yes
9256 else
9257 result=no
9258 fi
9259 else
9260 result=$wxUSE_MDI
9261 fi
9262
9263 { echo "$as_me:$LINENO: result: $result" >&5
9264 echo "${ECHO_T}$result" >&6; }
9265
9266
9267 enablestring=
9268 defaultval=$wxUSE_ALL_FEATURES
9269 if test -z "$defaultval"; then
9270 if test x"$enablestring" = xdisable; then
9271 defaultval=yes
9272 else
9273 defaultval=no
9274 fi
9275 fi
9276
9277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9279 # Check whether --enable-mdidoc was given.
9280 if test "${enable_mdidoc+set}" = set; then
9281 enableval=$enable_mdidoc;
9282 if test "$enableval" = yes; then
9283 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9284 else
9285 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9286 fi
9287
9288 else
9289
9290 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9291
9292 fi
9293
9294
9295 eval "$wx_cv_use_mdidoc"
9296
9297 if test x"$enablestring" = xdisable; then
9298 if test $wxUSE_MDI_ARCHITECTURE = no; then
9299 result=yes
9300 else
9301 result=no
9302 fi
9303 else
9304 result=$wxUSE_MDI_ARCHITECTURE
9305 fi
9306
9307 { echo "$as_me:$LINENO: result: $result" >&5
9308 echo "${ECHO_T}$result" >&6; }
9309
9310
9311 enablestring=
9312 defaultval=$wxUSE_ALL_FEATURES
9313 if test -z "$defaultval"; then
9314 if test x"$enablestring" = xdisable; then
9315 defaultval=yes
9316 else
9317 defaultval=no
9318 fi
9319 fi
9320
9321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9323 # Check whether --enable-mediactrl was given.
9324 if test "${enable_mediactrl+set}" = set; then
9325 enableval=$enable_mediactrl;
9326 if test "$enableval" = yes; then
9327 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9328 else
9329 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9330 fi
9331
9332 else
9333
9334 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9335
9336 fi
9337
9338
9339 eval "$wx_cv_use_mediactrl"
9340
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_MEDIACTRL = no; then
9343 result=yes
9344 else
9345 result=no
9346 fi
9347 else
9348 result=$wxUSE_MEDIACTRL
9349 fi
9350
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9353
9354
9355 enablestring=
9356 defaultval=$wxUSE_ALL_FEATURES
9357 if test -z "$defaultval"; then
9358 if test x"$enablestring" = xdisable; then
9359 defaultval=yes
9360 else
9361 defaultval=no
9362 fi
9363 fi
9364
9365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9367 # Check whether --enable-gstreamer8 was given.
9368 if test "${enable_gstreamer8+set}" = set; then
9369 enableval=$enable_gstreamer8;
9370 if test "$enableval" = yes; then
9371 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9372 else
9373 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9374 fi
9375
9376 else
9377
9378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9379
9380 fi
9381
9382
9383 eval "$wx_cv_use_gstreamer8"
9384
9385 if test x"$enablestring" = xdisable; then
9386 if test $wxUSE_GSTREAMER8 = no; then
9387 result=yes
9388 else
9389 result=no
9390 fi
9391 else
9392 result=$wxUSE_GSTREAMER8
9393 fi
9394
9395 { echo "$as_me:$LINENO: result: $result" >&5
9396 echo "${ECHO_T}$result" >&6; }
9397
9398
9399 enablestring=
9400 defaultval=$wxUSE_ALL_FEATURES
9401 if test -z "$defaultval"; then
9402 if test x"$enablestring" = xdisable; then
9403 defaultval=yes
9404 else
9405 defaultval=no
9406 fi
9407 fi
9408
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9411 # Check whether --enable-webkit was given.
9412 if test "${enable_webkit+set}" = set; then
9413 enableval=$enable_webkit;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9416 else
9417 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9418 fi
9419
9420 else
9421
9422 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9423
9424 fi
9425
9426
9427 eval "$wx_cv_use_webkit"
9428
9429 if test x"$enablestring" = xdisable; then
9430 if test $wxUSE_WEBKIT = no; then
9431 result=yes
9432 else
9433 result=no
9434 fi
9435 else
9436 result=$wxUSE_WEBKIT
9437 fi
9438
9439 { echo "$as_me:$LINENO: result: $result" >&5
9440 echo "${ECHO_T}$result" >&6; }
9441
9442
9443 enablestring=
9444 defaultval=$wxUSE_ALL_FEATURES
9445 if test -z "$defaultval"; then
9446 if test x"$enablestring" = xdisable; then
9447 defaultval=yes
9448 else
9449 defaultval=no
9450 fi
9451 fi
9452
9453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9455 # Check whether --enable-richtext was given.
9456 if test "${enable_richtext+set}" = set; then
9457 enableval=$enable_richtext;
9458 if test "$enableval" = yes; then
9459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9460 else
9461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9462 fi
9463
9464 else
9465
9466 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9467
9468 fi
9469
9470
9471 eval "$wx_cv_use_richtext"
9472
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_RICHTEXT = no; then
9475 result=yes
9476 else
9477 result=no
9478 fi
9479 else
9480 result=$wxUSE_RICHTEXT
9481 fi
9482
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9485
9486
9487 enablestring=
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9491 defaultval=yes
9492 else
9493 defaultval=no
9494 fi
9495 fi
9496
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9499 # Check whether --enable-postscript was given.
9500 if test "${enable_postscript+set}" = set; then
9501 enableval=$enable_postscript;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9504 else
9505 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9506 fi
9507
9508 else
9509
9510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9511
9512 fi
9513
9514
9515 eval "$wx_cv_use_postscript"
9516
9517 if test x"$enablestring" = xdisable; then
9518 if test $wxUSE_POSTSCRIPT = no; then
9519 result=yes
9520 else
9521 result=no
9522 fi
9523 else
9524 result=$wxUSE_POSTSCRIPT
9525 fi
9526
9527 { echo "$as_me:$LINENO: result: $result" >&5
9528 echo "${ECHO_T}$result" >&6; }
9529
9530
9531 enablestring=
9532 defaultval=$wxUSE_ALL_FEATURES
9533 if test -z "$defaultval"; then
9534 if test x"$enablestring" = xdisable; then
9535 defaultval=yes
9536 else
9537 defaultval=no
9538 fi
9539 fi
9540
9541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9542 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9543 # Check whether --enable-printarch was given.
9544 if test "${enable_printarch+set}" = set; then
9545 enableval=$enable_printarch;
9546 if test "$enableval" = yes; then
9547 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9548 else
9549 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9550 fi
9551
9552 else
9553
9554 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9555
9556 fi
9557
9558
9559 eval "$wx_cv_use_printarch"
9560
9561 if test x"$enablestring" = xdisable; then
9562 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9563 result=yes
9564 else
9565 result=no
9566 fi
9567 else
9568 result=$wxUSE_PRINTING_ARCHITECTURE
9569 fi
9570
9571 { echo "$as_me:$LINENO: result: $result" >&5
9572 echo "${ECHO_T}$result" >&6; }
9573
9574
9575 enablestring=
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9579 defaultval=yes
9580 else
9581 defaultval=no
9582 fi
9583 fi
9584
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9587 # Check whether --enable-svg was given.
9588 if test "${enable_svg+set}" = set; then
9589 enableval=$enable_svg;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_svg='wxUSE_SVG=yes'
9592 else
9593 wx_cv_use_svg='wxUSE_SVG=no'
9594 fi
9595
9596 else
9597
9598 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9599
9600 fi
9601
9602
9603 eval "$wx_cv_use_svg"
9604
9605 if test x"$enablestring" = xdisable; then
9606 if test $wxUSE_SVG = no; then
9607 result=yes
9608 else
9609 result=no
9610 fi
9611 else
9612 result=$wxUSE_SVG
9613 fi
9614
9615 { echo "$as_me:$LINENO: result: $result" >&5
9616 echo "${ECHO_T}$result" >&6; }
9617
9618
9619 if test "$wxUSE_MAC" != 1; then
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9633 # Check whether --enable-graphics_ctx was given.
9634 if test "${enable_graphics_ctx+set}" = set; then
9635 enableval=$enable_graphics_ctx;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9638 else
9639 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_graphics_ctx"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9653 result=yes
9654 else
9655 result=no
9656 fi
9657 else
9658 result=$wxUSE_GRAPHICS_CONTEXT
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664 fi
9665
9666
9667
9668 enablestring=
9669 defaultval=$wxUSE_ALL_FEATURES
9670 if test -z "$defaultval"; then
9671 if test x"$enablestring" = xdisable; then
9672 defaultval=yes
9673 else
9674 defaultval=no
9675 fi
9676 fi
9677
9678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9680 # Check whether --enable-clipboard was given.
9681 if test "${enable_clipboard+set}" = set; then
9682 enableval=$enable_clipboard;
9683 if test "$enableval" = yes; then
9684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9685 else
9686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9687 fi
9688
9689 else
9690
9691 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9692
9693 fi
9694
9695
9696 eval "$wx_cv_use_clipboard"
9697
9698 if test x"$enablestring" = xdisable; then
9699 if test $wxUSE_CLIPBOARD = no; then
9700 result=yes
9701 else
9702 result=no
9703 fi
9704 else
9705 result=$wxUSE_CLIPBOARD
9706 fi
9707
9708 { echo "$as_me:$LINENO: result: $result" >&5
9709 echo "${ECHO_T}$result" >&6; }
9710
9711
9712 enablestring=
9713 defaultval=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9716 defaultval=yes
9717 else
9718 defaultval=no
9719 fi
9720 fi
9721
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9724 # Check whether --enable-dnd was given.
9725 if test "${enable_dnd+set}" = set; then
9726 enableval=$enable_dnd;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9729 else
9730 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9731 fi
9732
9733 else
9734
9735 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_dnd"
9741
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_DRAG_AND_DROP = no; then
9744 result=yes
9745 else
9746 result=no
9747 fi
9748 else
9749 result=$wxUSE_DRAG_AND_DROP
9750 fi
9751
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9754
9755
9756 enablestring=
9757 defaultval=$wxUSE_ALL_FEATURES
9758 if test -z "$defaultval"; then
9759 if test x"$enablestring" = xdisable; then
9760 defaultval=yes
9761 else
9762 defaultval=no
9763 fi
9764 fi
9765
9766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9768 # Check whether --enable-metafile was given.
9769 if test "${enable_metafile+set}" = set; then
9770 enableval=$enable_metafile;
9771 if test "$enableval" = yes; then
9772 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9773 else
9774 wx_cv_use_metafile='wxUSE_METAFILE=no'
9775 fi
9776
9777 else
9778
9779 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9780
9781 fi
9782
9783
9784 eval "$wx_cv_use_metafile"
9785
9786 if test x"$enablestring" = xdisable; then
9787 if test $wxUSE_METAFILE = no; then
9788 result=yes
9789 else
9790 result=no
9791 fi
9792 else
9793 result=$wxUSE_METAFILE
9794 fi
9795
9796 { echo "$as_me:$LINENO: result: $result" >&5
9797 echo "${ECHO_T}$result" >&6; }
9798
9799
9800
9801 DEFAULT_wxUSE_CONTROLS=none
9802
9803 enablestring=disable
9804 defaultval=
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9807 defaultval=yes
9808 else
9809 defaultval=no
9810 fi
9811 fi
9812
9813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9815 # Check whether --enable-controls was given.
9816 if test "${enable_controls+set}" = set; then
9817 enableval=$enable_controls;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9820 else
9821 wx_cv_use_controls='wxUSE_CONTROLS=no'
9822 fi
9823
9824 else
9825
9826 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9827
9828 fi
9829
9830
9831 eval "$wx_cv_use_controls"
9832
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_CONTROLS = no; then
9835 result=yes
9836 else
9837 result=no
9838 fi
9839 else
9840 result=$wxUSE_CONTROLS
9841 fi
9842
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9845
9846
9847 if test "$wxUSE_CONTROLS" = "no"; then
9848 DEFAULT_wxUSE_ACCEL=no
9849 DEFAULT_wxUSE_ANIMATIONCTRL=no
9850 DEFAULT_wxUSE_BMPBUTTON=no
9851 DEFAULT_wxUSE_BUTTON=no
9852 DEFAULT_wxUSE_CALCTRL=no
9853 DEFAULT_wxUSE_CARET=no
9854 DEFAULT_wxUSE_CHECKBOX=no
9855 DEFAULT_wxUSE_CHECKLISTBOX=no
9856 DEFAULT_wxUSE_CHOICE=no
9857 DEFAULT_wxUSE_CHOICEBOOK=no
9858 DEFAULT_wxUSE_COLLPANE=no
9859 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9860 DEFAULT_wxUSE_COMBOBOX=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9863 DEFAULT_wxUSE_DATAVIEWCTRL=no
9864 DEFAULT_wxUSE_DATEPICKCTRL=no
9865 DEFAULT_wxUSE_DETECT_SM=no
9866 DEFAULT_wxUSE_DIRPICKERCTRL=no
9867 DEFAULT_wxUSE_DISPLAY=no
9868 DEFAULT_wxUSE_FILECTRL=no
9869 DEFAULT_wxUSE_FILEPICKERCTRL=no
9870 DEFAULT_wxUSE_FONTPICKERCTRL=no
9871 DEFAULT_wxUSE_GAUGE=no
9872 DEFAULT_wxUSE_GRID=no
9873 DEFAULT_wxUSE_HEADERCTRL=no
9874 DEFAULT_wxUSE_HYPERLINKCTRL=no
9875 DEFAULT_wxUSE_IMAGLIST=no
9876 DEFAULT_wxUSE_LISTBOOK=no
9877 DEFAULT_wxUSE_LISTBOX=no
9878 DEFAULT_wxUSE_LISTCTRL=no
9879 DEFAULT_wxUSE_MARKUP=no
9880 DEFAULT_wxUSE_NOTEBOOK=no
9881 DEFAULT_wxUSE_POPUPWIN=no
9882 DEFAULT_wxUSE_RADIOBOX=no
9883 DEFAULT_wxUSE_RADIOBTN=no
9884 DEFAULT_wxUSE_RICHMSGDLG=no
9885 DEFAULT_wxUSE_REARRANGECTRL=no
9886 DEFAULT_wxUSE_SASH=no
9887 DEFAULT_wxUSE_SCROLLBAR=no
9888 DEFAULT_wxUSE_SEARCHCTRL=no
9889 DEFAULT_wxUSE_SLIDER=no
9890 DEFAULT_wxUSE_SPINBTN=no
9891 DEFAULT_wxUSE_SPINCTRL=no
9892 DEFAULT_wxUSE_SPLITTER=no
9893 DEFAULT_wxUSE_STATBMP=no
9894 DEFAULT_wxUSE_STATBOX=no
9895 DEFAULT_wxUSE_STATLINE=no
9896 DEFAULT_wxUSE_STATUSBAR=no
9897 DEFAULT_wxUSE_TIPWINDOW=no
9898 DEFAULT_wxUSE_TOGGLEBTN=no
9899 DEFAULT_wxUSE_TOOLBAR=no
9900 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9901 DEFAULT_wxUSE_TOOLBOOK=no
9902 DEFAULT_wxUSE_TOOLTIPS=no
9903 DEFAULT_wxUSE_TREEBOOK=no
9904 DEFAULT_wxUSE_TREECTRL=no
9905 fi
9906
9907
9908 enablestring=
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9912 defaultval=yes
9913 else
9914 defaultval=no
9915 fi
9916 fi
9917
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9920 # Check whether --enable-markup was given.
9921 if test "${enable_markup+set}" = set; then
9922 enableval=$enable_markup;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_markup='wxUSE_MARKUP=yes'
9925 else
9926 wx_cv_use_markup='wxUSE_MARKUP=no'
9927 fi
9928
9929 else
9930
9931 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9932
9933 fi
9934
9935
9936 eval "$wx_cv_use_markup"
9937
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_MARKUP = no; then
9940 result=yes
9941 else
9942 result=no
9943 fi
9944 else
9945 result=$wxUSE_MARKUP
9946 fi
9947
9948 { echo "$as_me:$LINENO: result: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9950
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9965 # Check whether --enable-accel was given.
9966 if test "${enable_accel+set}" = set; then
9967 enableval=$enable_accel;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_accel='wxUSE_ACCEL=yes'
9970 else
9971 wx_cv_use_accel='wxUSE_ACCEL=no'
9972 fi
9973
9974 else
9975
9976 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9977
9978 fi
9979
9980
9981 eval "$wx_cv_use_accel"
9982
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_ACCEL = no; then
9985 result=yes
9986 else
9987 result=no
9988 fi
9989 else
9990 result=$wxUSE_ACCEL
9991 fi
9992
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9995
9996
9997 enablestring=
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10001 defaultval=yes
10002 else
10003 defaultval=no
10004 fi
10005 fi
10006
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10009 # Check whether --enable-animatectrl was given.
10010 if test "${enable_animatectrl+set}" = set; then
10011 enableval=$enable_animatectrl;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10014 else
10015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10016 fi
10017
10018 else
10019
10020 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10021
10022 fi
10023
10024
10025 eval "$wx_cv_use_animatectrl"
10026
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_ANIMATIONCTRL = no; then
10029 result=yes
10030 else
10031 result=no
10032 fi
10033 else
10034 result=$wxUSE_ANIMATIONCTRL
10035 fi
10036
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10039
10040
10041 enablestring=
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10045 defaultval=yes
10046 else
10047 defaultval=no
10048 fi
10049 fi
10050
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10053 # Check whether --enable-artstd was given.
10054 if test "${enable_artstd+set}" = set; then
10055 enableval=$enable_artstd;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10058 else
10059 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10060 fi
10061
10062 else
10063
10064 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_artstd"
10070
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_ARTPROVIDER_STD = no; then
10073 result=yes
10074 else
10075 result=no
10076 fi
10077 else
10078 result=$wxUSE_ARTPROVIDER_STD
10079 fi
10080
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10083
10084
10085 enablestring=
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10089 defaultval=yes
10090 else
10091 defaultval=no
10092 fi
10093 fi
10094
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10097 # Check whether --enable-arttango was given.
10098 if test "${enable_arttango+set}" = set; then
10099 enableval=$enable_arttango;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10102 else
10103 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10104 fi
10105
10106 else
10107
10108 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10109
10110 fi
10111
10112
10113 eval "$wx_cv_use_arttango"
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10117 result=yes
10118 else
10119 result=no
10120 fi
10121 else
10122 result=$wxUSE_ARTPROVIDER_TANGO
10123 fi
10124
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10141 # Check whether --enable-bmpbutton was given.
10142 if test "${enable_bmpbutton+set}" = set; then
10143 enableval=$enable_bmpbutton;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10146 else
10147 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10148 fi
10149
10150 else
10151
10152 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10153
10154 fi
10155
10156
10157 eval "$wx_cv_use_bmpbutton"
10158
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_BMPBUTTON = no; then
10161 result=yes
10162 else
10163 result=no
10164 fi
10165 else
10166 result=$wxUSE_BMPBUTTON
10167 fi
10168
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10171
10172
10173 enablestring=
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10185 # Check whether --enable-bmpcombobox was given.
10186 if test "${enable_bmpcombobox+set}" = set; then
10187 enableval=$enable_bmpcombobox;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10190 else
10191 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10192 fi
10193
10194 else
10195
10196 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_bmpcombobox"
10202
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_BITMAPCOMBOBOX = no; then
10205 result=yes
10206 else
10207 result=no
10208 fi
10209 else
10210 result=$wxUSE_BITMAPCOMBOBOX
10211 fi
10212
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10215
10216
10217 enablestring=
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10221 defaultval=yes
10222 else
10223 defaultval=no
10224 fi
10225 fi
10226
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10229 # Check whether --enable-button was given.
10230 if test "${enable_button+set}" = set; then
10231 enableval=$enable_button;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_button='wxUSE_BUTTON=yes'
10234 else
10235 wx_cv_use_button='wxUSE_BUTTON=no'
10236 fi
10237
10238 else
10239
10240 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_button"
10246
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_BUTTON = no; then
10249 result=yes
10250 else
10251 result=no
10252 fi
10253 else
10254 result=$wxUSE_BUTTON
10255 fi
10256
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10259
10260
10261 enablestring=
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10265 defaultval=yes
10266 else
10267 defaultval=no
10268 fi
10269 fi
10270
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10273 # Check whether --enable-calendar was given.
10274 if test "${enable_calendar+set}" = set; then
10275 enableval=$enable_calendar;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10278 else
10279 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10280 fi
10281
10282 else
10283
10284 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10285
10286 fi
10287
10288
10289 eval "$wx_cv_use_calendar"
10290
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_CALCTRL = no; then
10293 result=yes
10294 else
10295 result=no
10296 fi
10297 else
10298 result=$wxUSE_CALCTRL
10299 fi
10300
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10303
10304
10305 enablestring=
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10309 defaultval=yes
10310 else
10311 defaultval=no
10312 fi
10313 fi
10314
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10317 # Check whether --enable-caret was given.
10318 if test "${enable_caret+set}" = set; then
10319 enableval=$enable_caret;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_caret='wxUSE_CARET=yes'
10322 else
10323 wx_cv_use_caret='wxUSE_CARET=no'
10324 fi
10325
10326 else
10327
10328 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10329
10330 fi
10331
10332
10333 eval "$wx_cv_use_caret"
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_CARET = no; then
10337 result=yes
10338 else
10339 result=no
10340 fi
10341 else
10342 result=$wxUSE_CARET
10343 fi
10344
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10361 # Check whether --enable-checkbox was given.
10362 if test "${enable_checkbox+set}" = set; then
10363 enableval=$enable_checkbox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10366 else
10367 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10368 fi
10369
10370 else
10371
10372 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10373
10374 fi
10375
10376
10377 eval "$wx_cv_use_checkbox"
10378
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_CHECKBOX = no; then
10381 result=yes
10382 else
10383 result=no
10384 fi
10385 else
10386 result=$wxUSE_CHECKBOX
10387 fi
10388
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10391
10392
10393 enablestring=
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10397 defaultval=yes
10398 else
10399 defaultval=no
10400 fi
10401 fi
10402
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10405 # Check whether --enable-checklst was given.
10406 if test "${enable_checklst+set}" = set; then
10407 enableval=$enable_checklst;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10410 else
10411 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10412 fi
10413
10414 else
10415
10416 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10417
10418 fi
10419
10420
10421 eval "$wx_cv_use_checklst"
10422
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_CHECKLST = no; then
10425 result=yes
10426 else
10427 result=no
10428 fi
10429 else
10430 result=$wxUSE_CHECKLST
10431 fi
10432
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10435
10436
10437 enablestring=
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10441 defaultval=yes
10442 else
10443 defaultval=no
10444 fi
10445 fi
10446
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10449 # Check whether --enable-choice was given.
10450 if test "${enable_choice+set}" = set; then
10451 enableval=$enable_choice;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_choice='wxUSE_CHOICE=yes'
10454 else
10455 wx_cv_use_choice='wxUSE_CHOICE=no'
10456 fi
10457
10458 else
10459
10460 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10461
10462 fi
10463
10464
10465 eval "$wx_cv_use_choice"
10466
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_CHOICE = no; then
10469 result=yes
10470 else
10471 result=no
10472 fi
10473 else
10474 result=$wxUSE_CHOICE
10475 fi
10476
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10479
10480
10481 enablestring=
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10485 defaultval=yes
10486 else
10487 defaultval=no
10488 fi
10489 fi
10490
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10493 # Check whether --enable-choicebook was given.
10494 if test "${enable_choicebook+set}" = set; then
10495 enableval=$enable_choicebook;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10498 else
10499 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10500 fi
10501
10502 else
10503
10504 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10505
10506 fi
10507
10508
10509 eval "$wx_cv_use_choicebook"
10510
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_CHOICEBOOK = no; then
10513 result=yes
10514 else
10515 result=no
10516 fi
10517 else
10518 result=$wxUSE_CHOICEBOOK
10519 fi
10520
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10523
10524
10525 enablestring=
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10529 defaultval=yes
10530 else
10531 defaultval=no
10532 fi
10533 fi
10534
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10537 # Check whether --enable-collpane was given.
10538 if test "${enable_collpane+set}" = set; then
10539 enableval=$enable_collpane;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10542 else
10543 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10544 fi
10545
10546 else
10547
10548 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_collpane"
10554
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_COLLPANE = no; then
10557 result=yes
10558 else
10559 result=no
10560 fi
10561 else
10562 result=$wxUSE_COLLPANE
10563 fi
10564
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10567
10568
10569 enablestring=
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10573 defaultval=yes
10574 else
10575 defaultval=no
10576 fi
10577 fi
10578
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10581 # Check whether --enable-colourpicker was given.
10582 if test "${enable_colourpicker+set}" = set; then
10583 enableval=$enable_colourpicker;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10586 else
10587 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10588 fi
10589
10590 else
10591
10592 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_colourpicker"
10598
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_COLOURPICKERCTRL = no; then
10601 result=yes
10602 else
10603 result=no
10604 fi
10605 else
10606 result=$wxUSE_COLOURPICKERCTRL
10607 fi
10608
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10611
10612
10613 enablestring=
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10617 defaultval=yes
10618 else
10619 defaultval=no
10620 fi
10621 fi
10622
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10625 # Check whether --enable-combobox was given.
10626 if test "${enable_combobox+set}" = set; then
10627 enableval=$enable_combobox;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10630 else
10631 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10632 fi
10633
10634 else
10635
10636 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10637
10638 fi
10639
10640
10641 eval "$wx_cv_use_combobox"
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_COMBOBOX = no; then
10645 result=yes
10646 else
10647 result=no
10648 fi
10649 else
10650 result=$wxUSE_COMBOBOX
10651 fi
10652
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10655
10656
10657 enablestring=
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10661 defaultval=yes
10662 else
10663 defaultval=no
10664 fi
10665 fi
10666
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10669 # Check whether --enable-comboctrl was given.
10670 if test "${enable_comboctrl+set}" = set; then
10671 enableval=$enable_comboctrl;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10674 else
10675 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10676 fi
10677
10678 else
10679
10680 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_comboctrl"
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_COMBOCTRL = no; then
10689 result=yes
10690 else
10691 result=no
10692 fi
10693 else
10694 result=$wxUSE_COMBOCTRL
10695 fi
10696
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10713 # Check whether --enable-commandlinkbutton was given.
10714 if test "${enable_commandlinkbutton+set}" = set; then
10715 enableval=$enable_commandlinkbutton;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10718 else
10719 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10720 fi
10721
10722 else
10723
10724 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10725
10726 fi
10727
10728
10729 eval "$wx_cv_use_commandlinkbutton"
10730
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_COMMANDLINKBUTTON = no; then
10733 result=yes
10734 else
10735 result=no
10736 fi
10737 else
10738 result=$wxUSE_COMMANDLINKBUTTON
10739 fi
10740
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10743
10744
10745 enablestring=
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10749 defaultval=yes
10750 else
10751 defaultval=no
10752 fi
10753 fi
10754
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10757 # Check whether --enable-dataviewctrl was given.
10758 if test "${enable_dataviewctrl+set}" = set; then
10759 enableval=$enable_dataviewctrl;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10762 else
10763 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10764 fi
10765
10766 else
10767
10768 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10769
10770 fi
10771
10772
10773 eval "$wx_cv_use_dataviewctrl"
10774
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_DATAVIEWCTRL = no; then
10777 result=yes
10778 else
10779 result=no
10780 fi
10781 else
10782 result=$wxUSE_DATAVIEWCTRL
10783 fi
10784
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10787
10788
10789 enablestring=
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10793 defaultval=yes
10794 else
10795 defaultval=no
10796 fi
10797 fi
10798
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10801 # Check whether --enable-datepick was given.
10802 if test "${enable_datepick+set}" = set; then
10803 enableval=$enable_datepick;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10806 else
10807 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10808 fi
10809
10810 else
10811
10812 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_datepick"
10818
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_DATEPICKCTRL = no; then
10821 result=yes
10822 else
10823 result=no
10824 fi
10825 else
10826 result=$wxUSE_DATEPICKCTRL
10827 fi
10828
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10831
10832
10833 enablestring=
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10837 defaultval=yes
10838 else
10839 defaultval=no
10840 fi
10841 fi
10842
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10845 # Check whether --enable-detect_sm was given.
10846 if test "${enable_detect_sm+set}" = set; then
10847 enableval=$enable_detect_sm;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10850 else
10851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10852 fi
10853
10854 else
10855
10856 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10857
10858 fi
10859
10860
10861 eval "$wx_cv_use_detect_sm"
10862
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_DETECT_SM = no; then
10865 result=yes
10866 else
10867 result=no
10868 fi
10869 else
10870 result=$wxUSE_DETECT_SM
10871 fi
10872
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10889 # Check whether --enable-dirpicker was given.
10890 if test "${enable_dirpicker+set}" = set; then
10891 enableval=$enable_dirpicker;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10894 else
10895 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_dirpicker"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_DIRPICKERCTRL = no; then
10909 result=yes
10910 else
10911 result=no
10912 fi
10913 else
10914 result=$wxUSE_DIRPICKERCTRL
10915 fi
10916
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10919
10920
10921 enablestring=
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10925 defaultval=yes
10926 else
10927 defaultval=no
10928 fi
10929 fi
10930
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10933 # Check whether --enable-display was given.
10934 if test "${enable_display+set}" = set; then
10935 enableval=$enable_display;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_display='wxUSE_DISPLAY=yes'
10938 else
10939 wx_cv_use_display='wxUSE_DISPLAY=no'
10940 fi
10941
10942 else
10943
10944 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10945
10946 fi
10947
10948
10949 eval "$wx_cv_use_display"
10950
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_DISPLAY = no; then
10953 result=yes
10954 else
10955 result=no
10956 fi
10957 else
10958 result=$wxUSE_DISPLAY
10959 fi
10960
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10963
10964
10965 enablestring=
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10969 defaultval=yes
10970 else
10971 defaultval=no
10972 fi
10973 fi
10974
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10977 # Check whether --enable-editablebox was given.
10978 if test "${enable_editablebox+set}" = set; then
10979 enableval=$enable_editablebox;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10982 else
10983 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10984 fi
10985
10986 else
10987
10988 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10989
10990 fi
10991
10992
10993 eval "$wx_cv_use_editablebox"
10994
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_EDITABLELISTBOX = no; then
10997 result=yes
10998 else
10999 result=no
11000 fi
11001 else
11002 result=$wxUSE_EDITABLELISTBOX
11003 fi
11004
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11007
11008
11009 enablestring=
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11013 defaultval=yes
11014 else
11015 defaultval=no
11016 fi
11017 fi
11018
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11021 # Check whether --enable-filectrl was given.
11022 if test "${enable_filectrl+set}" = set; then
11023 enableval=$enable_filectrl;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11026 else
11027 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11028 fi
11029
11030 else
11031
11032 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11033
11034 fi
11035
11036
11037 eval "$wx_cv_use_filectrl"
11038
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_FILECTRL = no; then
11041 result=yes
11042 else
11043 result=no
11044 fi
11045 else
11046 result=$wxUSE_FILECTRL
11047 fi
11048
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11051
11052
11053 enablestring=
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11057 defaultval=yes
11058 else
11059 defaultval=no
11060 fi
11061 fi
11062
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11065 # Check whether --enable-filepicker was given.
11066 if test "${enable_filepicker+set}" = set; then
11067 enableval=$enable_filepicker;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11070 else
11071 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11072 fi
11073
11074 else
11075
11076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_filepicker"
11082
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_FILEPICKERCTRL = no; then
11085 result=yes
11086 else
11087 result=no
11088 fi
11089 else
11090 result=$wxUSE_FILEPICKERCTRL
11091 fi
11092
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11095
11096
11097 enablestring=
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11101 defaultval=yes
11102 else
11103 defaultval=no
11104 fi
11105 fi
11106
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11109 # Check whether --enable-fontpicker was given.
11110 if test "${enable_fontpicker+set}" = set; then
11111 enableval=$enable_fontpicker;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11114 else
11115 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11116 fi
11117
11118 else
11119
11120 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11121
11122 fi
11123
11124
11125 eval "$wx_cv_use_fontpicker"
11126
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_FONTPICKERCTRL = no; then
11129 result=yes
11130 else
11131 result=no
11132 fi
11133 else
11134 result=$wxUSE_FONTPICKERCTRL
11135 fi
11136
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11139
11140
11141 enablestring=
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11145 defaultval=yes
11146 else
11147 defaultval=no
11148 fi
11149 fi
11150
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11153 # Check whether --enable-gauge was given.
11154 if test "${enable_gauge+set}" = set; then
11155 enableval=$enable_gauge;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11158 else
11159 wx_cv_use_gauge='wxUSE_GAUGE=no'
11160 fi
11161
11162 else
11163
11164 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11165
11166 fi
11167
11168
11169 eval "$wx_cv_use_gauge"
11170
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_GAUGE = no; then
11173 result=yes
11174 else
11175 result=no
11176 fi
11177 else
11178 result=$wxUSE_GAUGE
11179 fi
11180
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11183
11184
11185 enablestring=
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11189 defaultval=yes
11190 else
11191 defaultval=no
11192 fi
11193 fi
11194
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11197 # Check whether --enable-grid was given.
11198 if test "${enable_grid+set}" = set; then
11199 enableval=$enable_grid;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_grid='wxUSE_GRID=yes'
11202 else
11203 wx_cv_use_grid='wxUSE_GRID=no'
11204 fi
11205
11206 else
11207
11208 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_grid"
11214
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_GRID = no; then
11217 result=yes
11218 else
11219 result=no
11220 fi
11221 else
11222 result=$wxUSE_GRID
11223 fi
11224
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11227
11228
11229 enablestring=
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11233 defaultval=yes
11234 else
11235 defaultval=no
11236 fi
11237 fi
11238
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11241 # Check whether --enable-headerctrl was given.
11242 if test "${enable_headerctrl+set}" = set; then
11243 enableval=$enable_headerctrl;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11246 else
11247 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11248 fi
11249
11250 else
11251
11252 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11253
11254 fi
11255
11256
11257 eval "$wx_cv_use_headerctrl"
11258
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_HEADERCTRL = no; then
11261 result=yes
11262 else
11263 result=no
11264 fi
11265 else
11266 result=$wxUSE_HEADERCTRL
11267 fi
11268
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11271
11272
11273 enablestring=
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11277 defaultval=yes
11278 else
11279 defaultval=no
11280 fi
11281 fi
11282
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11285 # Check whether --enable-hyperlink was given.
11286 if test "${enable_hyperlink+set}" = set; then
11287 enableval=$enable_hyperlink;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11290 else
11291 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11292 fi
11293
11294 else
11295
11296 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11297
11298 fi
11299
11300
11301 eval "$wx_cv_use_hyperlink"
11302
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_HYPERLINKCTRL = no; then
11305 result=yes
11306 else
11307 result=no
11308 fi
11309 else
11310 result=$wxUSE_HYPERLINKCTRL
11311 fi
11312
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11315
11316
11317 enablestring=
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11321 defaultval=yes
11322 else
11323 defaultval=no
11324 fi
11325 fi
11326
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11329 # Check whether --enable-imaglist was given.
11330 if test "${enable_imaglist+set}" = set; then
11331 enableval=$enable_imaglist;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11334 else
11335 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11336 fi
11337
11338 else
11339
11340 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11341
11342 fi
11343
11344
11345 eval "$wx_cv_use_imaglist"
11346
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_IMAGLIST = no; then
11349 result=yes
11350 else
11351 result=no
11352 fi
11353 else
11354 result=$wxUSE_IMAGLIST
11355 fi
11356
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11359
11360
11361 enablestring=
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11365 defaultval=yes
11366 else
11367 defaultval=no
11368 fi
11369 fi
11370
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11373 # Check whether --enable-infobar was given.
11374 if test "${enable_infobar+set}" = set; then
11375 enableval=$enable_infobar;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11378 else
11379 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11380 fi
11381
11382 else
11383
11384 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11385
11386 fi
11387
11388
11389 eval "$wx_cv_use_infobar"
11390
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_INFOBAR = no; then
11393 result=yes
11394 else
11395 result=no
11396 fi
11397 else
11398 result=$wxUSE_INFOBAR
11399 fi
11400
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11403
11404
11405 enablestring=
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11409 defaultval=yes
11410 else
11411 defaultval=no
11412 fi
11413 fi
11414
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11417 # Check whether --enable-listbook was given.
11418 if test "${enable_listbook+set}" = set; then
11419 enableval=$enable_listbook;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11422 else
11423 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11424 fi
11425
11426 else
11427
11428 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_listbook"
11434
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_LISTBOOK = no; then
11437 result=yes
11438 else
11439 result=no
11440 fi
11441 else
11442 result=$wxUSE_LISTBOOK
11443 fi
11444
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11447
11448
11449 enablestring=
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11453 defaultval=yes
11454 else
11455 defaultval=no
11456 fi
11457 fi
11458
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11461 # Check whether --enable-listbox was given.
11462 if test "${enable_listbox+set}" = set; then
11463 enableval=$enable_listbox;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11466 else
11467 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11468 fi
11469
11470 else
11471
11472 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11473
11474 fi
11475
11476
11477 eval "$wx_cv_use_listbox"
11478
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_LISTBOX = no; then
11481 result=yes
11482 else
11483 result=no
11484 fi
11485 else
11486 result=$wxUSE_LISTBOX
11487 fi
11488
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11491
11492
11493 enablestring=
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11497 defaultval=yes
11498 else
11499 defaultval=no
11500 fi
11501 fi
11502
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11505 # Check whether --enable-listctrl was given.
11506 if test "${enable_listctrl+set}" = set; then
11507 enableval=$enable_listctrl;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11510 else
11511 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11512 fi
11513
11514 else
11515
11516 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11517
11518 fi
11519
11520
11521 eval "$wx_cv_use_listctrl"
11522
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_LISTCTRL = no; then
11525 result=yes
11526 else
11527 result=no
11528 fi
11529 else
11530 result=$wxUSE_LISTCTRL
11531 fi
11532
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11535
11536
11537 enablestring=
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11541 defaultval=yes
11542 else
11543 defaultval=no
11544 fi
11545 fi
11546
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11549 # Check whether --enable-notebook was given.
11550 if test "${enable_notebook+set}" = set; then
11551 enableval=$enable_notebook;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11554 else
11555 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11556 fi
11557
11558 else
11559
11560 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11561
11562 fi
11563
11564
11565 eval "$wx_cv_use_notebook"
11566
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_NOTEBOOK = no; then
11569 result=yes
11570 else
11571 result=no
11572 fi
11573 else
11574 result=$wxUSE_NOTEBOOK
11575 fi
11576
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11579
11580
11581 enablestring=
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11585 defaultval=yes
11586 else
11587 defaultval=no
11588 fi
11589 fi
11590
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11593 # Check whether --enable-notifmsg was given.
11594 if test "${enable_notifmsg+set}" = set; then
11595 enableval=$enable_notifmsg;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11598 else
11599 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11600 fi
11601
11602 else
11603
11604 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11605
11606 fi
11607
11608
11609 eval "$wx_cv_use_notifmsg"
11610
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11613 result=yes
11614 else
11615 result=no
11616 fi
11617 else
11618 result=$wxUSE_NOTIFICATION_MESSAGE
11619 fi
11620
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11623
11624
11625 enablestring=
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11629 defaultval=yes
11630 else
11631 defaultval=no
11632 fi
11633 fi
11634
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11637 # Check whether --enable-odcombobox was given.
11638 if test "${enable_odcombobox+set}" = set; then
11639 enableval=$enable_odcombobox;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11642 else
11643 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11644 fi
11645
11646 else
11647
11648 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11649
11650 fi
11651
11652
11653 eval "$wx_cv_use_odcombobox"
11654
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_ODCOMBOBOX = no; then
11657 result=yes
11658 else
11659 result=no
11660 fi
11661 else
11662 result=$wxUSE_ODCOMBOBOX
11663 fi
11664
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11667
11668
11669 enablestring=
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11673 defaultval=yes
11674 else
11675 defaultval=no
11676 fi
11677 fi
11678
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11681 # Check whether --enable-popupwin was given.
11682 if test "${enable_popupwin+set}" = set; then
11683 enableval=$enable_popupwin;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11686 else
11687 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11688 fi
11689
11690 else
11691
11692 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_popupwin"
11698
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_POPUPWIN = no; then
11701 result=yes
11702 else
11703 result=no
11704 fi
11705 else
11706 result=$wxUSE_POPUPWIN
11707 fi
11708
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11711
11712
11713 enablestring=
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11717 defaultval=yes
11718 else
11719 defaultval=no
11720 fi
11721 fi
11722
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11725 # Check whether --enable-radiobox was given.
11726 if test "${enable_radiobox+set}" = set; then
11727 enableval=$enable_radiobox;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11730 else
11731 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11732 fi
11733
11734 else
11735
11736 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11737
11738 fi
11739
11740
11741 eval "$wx_cv_use_radiobox"
11742
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_RADIOBOX = no; then
11745 result=yes
11746 else
11747 result=no
11748 fi
11749 else
11750 result=$wxUSE_RADIOBOX
11751 fi
11752
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11755
11756
11757 enablestring=
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11761 defaultval=yes
11762 else
11763 defaultval=no
11764 fi
11765 fi
11766
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11769 # Check whether --enable-radiobtn was given.
11770 if test "${enable_radiobtn+set}" = set; then
11771 enableval=$enable_radiobtn;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11774 else
11775 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11776 fi
11777
11778 else
11779
11780 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11781
11782 fi
11783
11784
11785 eval "$wx_cv_use_radiobtn"
11786
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_RADIOBTN = no; then
11789 result=yes
11790 else
11791 result=no
11792 fi
11793 else
11794 result=$wxUSE_RADIOBTN
11795 fi
11796
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11799
11800
11801 enablestring=
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11805 defaultval=yes
11806 else
11807 defaultval=no
11808 fi
11809 fi
11810
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11813 # Check whether --enable-richmsgdlg was given.
11814 if test "${enable_richmsgdlg+set}" = set; then
11815 enableval=$enable_richmsgdlg;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11818 else
11819 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11820 fi
11821
11822 else
11823
11824 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11825
11826 fi
11827
11828
11829 eval "$wx_cv_use_richmsgdlg"
11830
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_RICHMSGDLG = no; then
11833 result=yes
11834 else
11835 result=no
11836 fi
11837 else
11838 result=$wxUSE_RICHMSGDLG
11839 fi
11840
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11843
11844
11845 enablestring=
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11849 defaultval=yes
11850 else
11851 defaultval=no
11852 fi
11853 fi
11854
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11857 # Check whether --enable-rearrangectrl was given.
11858 if test "${enable_rearrangectrl+set}" = set; then
11859 enableval=$enable_rearrangectrl;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11862 else
11863 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11864 fi
11865
11866 else
11867
11868 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11869
11870 fi
11871
11872
11873 eval "$wx_cv_use_rearrangectrl"
11874
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_REARRANGECTRL = no; then
11877 result=yes
11878 else
11879 result=no
11880 fi
11881 else
11882 result=$wxUSE_REARRANGECTRL
11883 fi
11884
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11887
11888
11889 enablestring=
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11893 defaultval=yes
11894 else
11895 defaultval=no
11896 fi
11897 fi
11898
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11901 # Check whether --enable-sash was given.
11902 if test "${enable_sash+set}" = set; then
11903 enableval=$enable_sash;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_sash='wxUSE_SASH=yes'
11906 else
11907 wx_cv_use_sash='wxUSE_SASH=no'
11908 fi
11909
11910 else
11911
11912 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11913
11914 fi
11915
11916
11917 eval "$wx_cv_use_sash"
11918
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_SASH = no; then
11921 result=yes
11922 else
11923 result=no
11924 fi
11925 else
11926 result=$wxUSE_SASH
11927 fi
11928
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11931
11932
11933 enablestring=
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11937 defaultval=yes
11938 else
11939 defaultval=no
11940 fi
11941 fi
11942
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11945 # Check whether --enable-scrollbar was given.
11946 if test "${enable_scrollbar+set}" = set; then
11947 enableval=$enable_scrollbar;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11950 else
11951 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11952 fi
11953
11954 else
11955
11956 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11957
11958 fi
11959
11960
11961 eval "$wx_cv_use_scrollbar"
11962
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_SCROLLBAR = no; then
11965 result=yes
11966 else
11967 result=no
11968 fi
11969 else
11970 result=$wxUSE_SCROLLBAR
11971 fi
11972
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11975
11976
11977 enablestring=
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11981 defaultval=yes
11982 else
11983 defaultval=no
11984 fi
11985 fi
11986
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11989 # Check whether --enable-searchctrl was given.
11990 if test "${enable_searchctrl+set}" = set; then
11991 enableval=$enable_searchctrl;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11994 else
11995 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11996 fi
11997
11998 else
11999
12000 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12001
12002 fi
12003
12004
12005 eval "$wx_cv_use_searchctrl"
12006
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_SEARCHCTRL = no; then
12009 result=yes
12010 else
12011 result=no
12012 fi
12013 else
12014 result=$wxUSE_SEARCHCTRL
12015 fi
12016
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12019
12020
12021 enablestring=
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12025 defaultval=yes
12026 else
12027 defaultval=no
12028 fi
12029 fi
12030
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12033 # Check whether --enable-slider was given.
12034 if test "${enable_slider+set}" = set; then
12035 enableval=$enable_slider;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_slider='wxUSE_SLIDER=yes'
12038 else
12039 wx_cv_use_slider='wxUSE_SLIDER=no'
12040 fi
12041
12042 else
12043
12044 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_slider"
12050
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_SLIDER = no; then
12053 result=yes
12054 else
12055 result=no
12056 fi
12057 else
12058 result=$wxUSE_SLIDER
12059 fi
12060
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12063
12064
12065 enablestring=
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12069 defaultval=yes
12070 else
12071 defaultval=no
12072 fi
12073 fi
12074
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12077 # Check whether --enable-spinbtn was given.
12078 if test "${enable_spinbtn+set}" = set; then
12079 enableval=$enable_spinbtn;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12082 else
12083 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12084 fi
12085
12086 else
12087
12088 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12089
12090 fi
12091
12092
12093 eval "$wx_cv_use_spinbtn"
12094
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_SPINBTN = no; then
12097 result=yes
12098 else
12099 result=no
12100 fi
12101 else
12102 result=$wxUSE_SPINBTN
12103 fi
12104
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12107
12108
12109 enablestring=
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12113 defaultval=yes
12114 else
12115 defaultval=no
12116 fi
12117 fi
12118
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12121 # Check whether --enable-spinctrl was given.
12122 if test "${enable_spinctrl+set}" = set; then
12123 enableval=$enable_spinctrl;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12126 else
12127 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12128 fi
12129
12130 else
12131
12132 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12133
12134 fi
12135
12136
12137 eval "$wx_cv_use_spinctrl"
12138
12139 if test x"$enablestring" = xdisable; then
12140 if test $wxUSE_SPINCTRL = no; then
12141 result=yes
12142 else
12143 result=no
12144 fi
12145 else
12146 result=$wxUSE_SPINCTRL
12147 fi
12148
12149 { echo "$as_me:$LINENO: result: $result" >&5
12150 echo "${ECHO_T}$result" >&6; }
12151
12152
12153 enablestring=
12154 defaultval=$wxUSE_ALL_FEATURES
12155 if test -z "$defaultval"; then
12156 if test x"$enablestring" = xdisable; then
12157 defaultval=yes
12158 else
12159 defaultval=no
12160 fi
12161 fi
12162
12163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12164 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12165 # Check whether --enable-splitter was given.
12166 if test "${enable_splitter+set}" = set; then
12167 enableval=$enable_splitter;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12170 else
12171 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12172 fi
12173
12174 else
12175
12176 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12177
12178 fi
12179
12180
12181 eval "$wx_cv_use_splitter"
12182
12183 if test x"$enablestring" = xdisable; then
12184 if test $wxUSE_SPLITTER = no; then
12185 result=yes
12186 else
12187 result=no
12188 fi
12189 else
12190 result=$wxUSE_SPLITTER
12191 fi
12192
12193 { echo "$as_me:$LINENO: result: $result" >&5
12194 echo "${ECHO_T}$result" >&6; }
12195
12196
12197 enablestring=
12198 defaultval=$wxUSE_ALL_FEATURES
12199 if test -z "$defaultval"; then
12200 if test x"$enablestring" = xdisable; then
12201 defaultval=yes
12202 else
12203 defaultval=no
12204 fi
12205 fi
12206
12207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12208 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12209 # Check whether --enable-statbmp was given.
12210 if test "${enable_statbmp+set}" = set; then
12211 enableval=$enable_statbmp;
12212 if test "$enableval" = yes; then
12213 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12214 else
12215 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12216 fi
12217
12218 else
12219
12220 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12221
12222 fi
12223
12224
12225 eval "$wx_cv_use_statbmp"
12226
12227 if test x"$enablestring" = xdisable; then
12228 if test $wxUSE_STATBMP = no; then
12229 result=yes
12230 else
12231 result=no
12232 fi
12233 else
12234 result=$wxUSE_STATBMP
12235 fi
12236
12237 { echo "$as_me:$LINENO: result: $result" >&5
12238 echo "${ECHO_T}$result" >&6; }
12239
12240
12241 enablestring=
12242 defaultval=$wxUSE_ALL_FEATURES
12243 if test -z "$defaultval"; then
12244 if test x"$enablestring" = xdisable; then
12245 defaultval=yes
12246 else
12247 defaultval=no
12248 fi
12249 fi
12250
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12253 # Check whether --enable-statbox was given.
12254 if test "${enable_statbox+set}" = set; then
12255 enableval=$enable_statbox;
12256 if test "$enableval" = yes; then
12257 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12258 else
12259 wx_cv_use_statbox='wxUSE_STATBOX=no'
12260 fi
12261
12262 else
12263
12264 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12265
12266 fi
12267
12268
12269 eval "$wx_cv_use_statbox"
12270
12271 if test x"$enablestring" = xdisable; then
12272 if test $wxUSE_STATBOX = no; then
12273 result=yes
12274 else
12275 result=no
12276 fi
12277 else
12278 result=$wxUSE_STATBOX
12279 fi
12280
12281 { echo "$as_me:$LINENO: result: $result" >&5
12282 echo "${ECHO_T}$result" >&6; }
12283
12284
12285 enablestring=
12286 defaultval=$wxUSE_ALL_FEATURES
12287 if test -z "$defaultval"; then
12288 if test x"$enablestring" = xdisable; then
12289 defaultval=yes
12290 else
12291 defaultval=no
12292 fi
12293 fi
12294
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12297 # Check whether --enable-statline was given.
12298 if test "${enable_statline+set}" = set; then
12299 enableval=$enable_statline;
12300 if test "$enableval" = yes; then
12301 wx_cv_use_statline='wxUSE_STATLINE=yes'
12302 else
12303 wx_cv_use_statline='wxUSE_STATLINE=no'
12304 fi
12305
12306 else
12307
12308 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12309
12310 fi
12311
12312
12313 eval "$wx_cv_use_statline"
12314
12315 if test x"$enablestring" = xdisable; then
12316 if test $wxUSE_STATLINE = no; then
12317 result=yes
12318 else
12319 result=no
12320 fi
12321 else
12322 result=$wxUSE_STATLINE
12323 fi
12324
12325 { echo "$as_me:$LINENO: result: $result" >&5
12326 echo "${ECHO_T}$result" >&6; }
12327
12328
12329 enablestring=
12330 defaultval=$wxUSE_ALL_FEATURES
12331 if test -z "$defaultval"; then
12332 if test x"$enablestring" = xdisable; then
12333 defaultval=yes
12334 else
12335 defaultval=no
12336 fi
12337 fi
12338
12339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12340 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12341 # Check whether --enable-stattext was given.
12342 if test "${enable_stattext+set}" = set; then
12343 enableval=$enable_stattext;
12344 if test "$enableval" = yes; then
12345 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12346 else
12347 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12348 fi
12349
12350 else
12351
12352 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12353
12354 fi
12355
12356
12357 eval "$wx_cv_use_stattext"
12358
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_STATTEXT = no; then
12361 result=yes
12362 else
12363 result=no
12364 fi
12365 else
12366 result=$wxUSE_STATTEXT
12367 fi
12368
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12371
12372
12373 enablestring=
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12377 defaultval=yes
12378 else
12379 defaultval=no
12380 fi
12381 fi
12382
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12385 # Check whether --enable-statusbar was given.
12386 if test "${enable_statusbar+set}" = set; then
12387 enableval=$enable_statusbar;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12390 else
12391 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12392 fi
12393
12394 else
12395
12396 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12397
12398 fi
12399
12400
12401 eval "$wx_cv_use_statusbar"
12402
12403 if test x"$enablestring" = xdisable; then
12404 if test $wxUSE_STATUSBAR = no; then
12405 result=yes
12406 else
12407 result=no
12408 fi
12409 else
12410 result=$wxUSE_STATUSBAR
12411 fi
12412
12413 { echo "$as_me:$LINENO: result: $result" >&5
12414 echo "${ECHO_T}$result" >&6; }
12415
12416
12417 enablestring=
12418 defaultval=$wxUSE_ALL_FEATURES
12419 if test -z "$defaultval"; then
12420 if test x"$enablestring" = xdisable; then
12421 defaultval=yes
12422 else
12423 defaultval=no
12424 fi
12425 fi
12426
12427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12428 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12429 # Check whether --enable-taskbaricon was given.
12430 if test "${enable_taskbaricon+set}" = set; then
12431 enableval=$enable_taskbaricon;
12432 if test "$enableval" = yes; then
12433 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12434 else
12435 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12436 fi
12437
12438 else
12439
12440 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12441
12442 fi
12443
12444
12445 eval "$wx_cv_use_taskbaricon"
12446
12447 if test x"$enablestring" = xdisable; then
12448 if test $wxUSE_TASKBARICON = no; then
12449 result=yes
12450 else
12451 result=no
12452 fi
12453 else
12454 result=$wxUSE_TASKBARICON
12455 fi
12456
12457 { echo "$as_me:$LINENO: result: $result" >&5
12458 echo "${ECHO_T}$result" >&6; }
12459
12460
12461 enablestring=
12462 defaultval=$wxUSE_ALL_FEATURES
12463 if test -z "$defaultval"; then
12464 if test x"$enablestring" = xdisable; then
12465 defaultval=yes
12466 else
12467 defaultval=no
12468 fi
12469 fi
12470
12471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12472 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12473 # Check whether --enable-tbarnative was given.
12474 if test "${enable_tbarnative+set}" = set; then
12475 enableval=$enable_tbarnative;
12476 if test "$enableval" = yes; then
12477 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12478 else
12479 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12480 fi
12481
12482 else
12483
12484 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12485
12486 fi
12487
12488
12489 eval "$wx_cv_use_tbarnative"
12490
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_TOOLBAR_NATIVE = no; then
12493 result=yes
12494 else
12495 result=no
12496 fi
12497 else
12498 result=$wxUSE_TOOLBAR_NATIVE
12499 fi
12500
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12503
12504
12505 enablestring=
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12509 defaultval=yes
12510 else
12511 defaultval=no
12512 fi
12513 fi
12514
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12517 # Check whether --enable-textctrl was given.
12518 if test "${enable_textctrl+set}" = set; then
12519 enableval=$enable_textctrl;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12522 else
12523 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12524 fi
12525
12526 else
12527
12528 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12529
12530 fi
12531
12532
12533 eval "$wx_cv_use_textctrl"
12534
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_TEXTCTRL = no; then
12537 result=yes
12538 else
12539 result=no
12540 fi
12541 else
12542 result=$wxUSE_TEXTCTRL
12543 fi
12544
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12547
12548
12549 enablestring=
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12553 defaultval=yes
12554 else
12555 defaultval=no
12556 fi
12557 fi
12558
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12561 # Check whether --enable-tipwindow was given.
12562 if test "${enable_tipwindow+set}" = set; then
12563 enableval=$enable_tipwindow;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12566 else
12567 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12568 fi
12569
12570 else
12571
12572 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12573
12574 fi
12575
12576
12577 eval "$wx_cv_use_tipwindow"
12578
12579 if test x"$enablestring" = xdisable; then
12580 if test $wxUSE_TIPWINDOW = no; then
12581 result=yes
12582 else
12583 result=no
12584 fi
12585 else
12586 result=$wxUSE_TIPWINDOW
12587 fi
12588
12589 { echo "$as_me:$LINENO: result: $result" >&5
12590 echo "${ECHO_T}$result" >&6; }
12591
12592
12593 enablestring=
12594 defaultval=$wxUSE_ALL_FEATURES
12595 if test -z "$defaultval"; then
12596 if test x"$enablestring" = xdisable; then
12597 defaultval=yes
12598 else
12599 defaultval=no
12600 fi
12601 fi
12602
12603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12604 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12605 # Check whether --enable-togglebtn was given.
12606 if test "${enable_togglebtn+set}" = set; then
12607 enableval=$enable_togglebtn;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12610 else
12611 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12612 fi
12613
12614 else
12615
12616 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12617
12618 fi
12619
12620
12621 eval "$wx_cv_use_togglebtn"
12622
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_TOGGLEBTN = no; then
12625 result=yes
12626 else
12627 result=no
12628 fi
12629 else
12630 result=$wxUSE_TOGGLEBTN
12631 fi
12632
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12635
12636
12637 enablestring=
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12641 defaultval=yes
12642 else
12643 defaultval=no
12644 fi
12645 fi
12646
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12649 # Check whether --enable-toolbar was given.
12650 if test "${enable_toolbar+set}" = set; then
12651 enableval=$enable_toolbar;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12654 else
12655 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12656 fi
12657
12658 else
12659
12660 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12661
12662 fi
12663
12664
12665 eval "$wx_cv_use_toolbar"
12666
12667 if test x"$enablestring" = xdisable; then
12668 if test $wxUSE_TOOLBAR = no; then
12669 result=yes
12670 else
12671 result=no
12672 fi
12673 else
12674 result=$wxUSE_TOOLBAR
12675 fi
12676
12677 { echo "$as_me:$LINENO: result: $result" >&5
12678 echo "${ECHO_T}$result" >&6; }
12679
12680
12681 enablestring=
12682 defaultval=$wxUSE_ALL_FEATURES
12683 if test -z "$defaultval"; then
12684 if test x"$enablestring" = xdisable; then
12685 defaultval=yes
12686 else
12687 defaultval=no
12688 fi
12689 fi
12690
12691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12692 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12693 # Check whether --enable-toolbook was given.
12694 if test "${enable_toolbook+set}" = set; then
12695 enableval=$enable_toolbook;
12696 if test "$enableval" = yes; then
12697 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12698 else
12699 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12700 fi
12701
12702 else
12703
12704 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12705
12706 fi
12707
12708
12709 eval "$wx_cv_use_toolbook"
12710
12711 if test x"$enablestring" = xdisable; then
12712 if test $wxUSE_TOOLBOOK = no; then
12713 result=yes
12714 else
12715 result=no
12716 fi
12717 else
12718 result=$wxUSE_TOOLBOOK
12719 fi
12720
12721 { echo "$as_me:$LINENO: result: $result" >&5
12722 echo "${ECHO_T}$result" >&6; }
12723
12724
12725 enablestring=
12726 defaultval=$wxUSE_ALL_FEATURES
12727 if test -z "$defaultval"; then
12728 if test x"$enablestring" = xdisable; then
12729 defaultval=yes
12730 else
12731 defaultval=no
12732 fi
12733 fi
12734
12735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12736 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12737 # Check whether --enable-treebook was given.
12738 if test "${enable_treebook+set}" = set; then
12739 enableval=$enable_treebook;
12740 if test "$enableval" = yes; then
12741 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12742 else
12743 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12744 fi
12745
12746 else
12747
12748 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12749
12750 fi
12751
12752
12753 eval "$wx_cv_use_treebook"
12754
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_TREEBOOK = no; then
12757 result=yes
12758 else
12759 result=no
12760 fi
12761 else
12762 result=$wxUSE_TREEBOOK
12763 fi
12764
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12767
12768
12769 enablestring=
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12773 defaultval=yes
12774 else
12775 defaultval=no
12776 fi
12777 fi
12778
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12781 # Check whether --enable-treectrl was given.
12782 if test "${enable_treectrl+set}" = set; then
12783 enableval=$enable_treectrl;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12786 else
12787 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12788 fi
12789
12790 else
12791
12792 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12793
12794 fi
12795
12796
12797 eval "$wx_cv_use_treectrl"
12798
12799 if test x"$enablestring" = xdisable; then
12800 if test $wxUSE_TREECTRL = no; then
12801 result=yes
12802 else
12803 result=no
12804 fi
12805 else
12806 result=$wxUSE_TREECTRL
12807 fi
12808
12809 { echo "$as_me:$LINENO: result: $result" >&5
12810 echo "${ECHO_T}$result" >&6; }
12811
12812
12813
12814
12815 enablestring=
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12819 defaultval=yes
12820 else
12821 defaultval=no
12822 fi
12823 fi
12824
12825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12826 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12827 # Check whether --enable-commondlg was given.
12828 if test "${enable_commondlg+set}" = set; then
12829 enableval=$enable_commondlg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12832 else
12833 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12834 fi
12835
12836 else
12837
12838 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12839
12840 fi
12841
12842
12843 eval "$wx_cv_use_commondlg"
12844
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_COMMONDLGS = no; then
12847 result=yes
12848 else
12849 result=no
12850 fi
12851 else
12852 result=$wxUSE_COMMONDLGS
12853 fi
12854
12855 { echo "$as_me:$LINENO: result: $result" >&5
12856 echo "${ECHO_T}$result" >&6; }
12857
12858
12859 enablestring=
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12863 defaultval=yes
12864 else
12865 defaultval=no
12866 fi
12867 fi
12868
12869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12870 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12871 # Check whether --enable-aboutdlg was given.
12872 if test "${enable_aboutdlg+set}" = set; then
12873 enableval=$enable_aboutdlg;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12876 else
12877 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12878 fi
12879
12880 else
12881
12882 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12883
12884 fi
12885
12886
12887 eval "$wx_cv_use_aboutdlg"
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_ABOUTDLG = no; then
12891 result=yes
12892 else
12893 result=no
12894 fi
12895 else
12896 result=$wxUSE_ABOUTDLG
12897 fi
12898
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12915 # Check whether --enable-choicedlg was given.
12916 if test "${enable_choicedlg+set}" = set; then
12917 enableval=$enable_choicedlg;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12920 else
12921 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12922 fi
12923
12924 else
12925
12926 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12927
12928 fi
12929
12930
12931 eval "$wx_cv_use_choicedlg"
12932
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_CHOICEDLG = no; then
12935 result=yes
12936 else
12937 result=no
12938 fi
12939 else
12940 result=$wxUSE_CHOICEDLG
12941 fi
12942
12943 { echo "$as_me:$LINENO: result: $result" >&5
12944 echo "${ECHO_T}$result" >&6; }
12945
12946
12947 enablestring=
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12951 defaultval=yes
12952 else
12953 defaultval=no
12954 fi
12955 fi
12956
12957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12959 # Check whether --enable-coldlg was given.
12960 if test "${enable_coldlg+set}" = set; then
12961 enableval=$enable_coldlg;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12964 else
12965 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12966 fi
12967
12968 else
12969
12970 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12971
12972 fi
12973
12974
12975 eval "$wx_cv_use_coldlg"
12976
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_COLOURDLG = no; then
12979 result=yes
12980 else
12981 result=no
12982 fi
12983 else
12984 result=$wxUSE_COLOURDLG
12985 fi
12986
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12989
12990
12991 enablestring=
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
12995 defaultval=yes
12996 else
12997 defaultval=no
12998 fi
12999 fi
13000
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13003 # Check whether --enable-filedlg was given.
13004 if test "${enable_filedlg+set}" = set; then
13005 enableval=$enable_filedlg;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13008 else
13009 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13010 fi
13011
13012 else
13013
13014 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13015
13016 fi
13017
13018
13019 eval "$wx_cv_use_filedlg"
13020
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_FILEDLG = no; then
13023 result=yes
13024 else
13025 result=no
13026 fi
13027 else
13028 result=$wxUSE_FILEDLG
13029 fi
13030
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13033
13034
13035 enablestring=
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13039 defaultval=yes
13040 else
13041 defaultval=no
13042 fi
13043 fi
13044
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13047 # Check whether --enable-finddlg was given.
13048 if test "${enable_finddlg+set}" = set; then
13049 enableval=$enable_finddlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13052 else
13053 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13054 fi
13055
13056 else
13057
13058 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13059
13060 fi
13061
13062
13063 eval "$wx_cv_use_finddlg"
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_FINDREPLDLG = no; then
13067 result=yes
13068 else
13069 result=no
13070 fi
13071 else
13072 result=$wxUSE_FINDREPLDLG
13073 fi
13074
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13091 # Check whether --enable-fontdlg was given.
13092 if test "${enable_fontdlg+set}" = set; then
13093 enableval=$enable_fontdlg;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13096 else
13097 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13098 fi
13099
13100 else
13101
13102 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13103
13104 fi
13105
13106
13107 eval "$wx_cv_use_fontdlg"
13108
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_FONTDLG = no; then
13111 result=yes
13112 else
13113 result=no
13114 fi
13115 else
13116 result=$wxUSE_FONTDLG
13117 fi
13118
13119 { echo "$as_me:$LINENO: result: $result" >&5
13120 echo "${ECHO_T}$result" >&6; }
13121
13122
13123 enablestring=
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13127 defaultval=yes
13128 else
13129 defaultval=no
13130 fi
13131 fi
13132
13133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13134 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13135 # Check whether --enable-dirdlg was given.
13136 if test "${enable_dirdlg+set}" = set; then
13137 enableval=$enable_dirdlg;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13140 else
13141 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13142 fi
13143
13144 else
13145
13146 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_dirdlg"
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_DIRDLG = no; then
13155 result=yes
13156 else
13157 result=no
13158 fi
13159 else
13160 result=$wxUSE_DIRDLG
13161 fi
13162
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13179 # Check whether --enable-msgdlg was given.
13180 if test "${enable_msgdlg+set}" = set; then
13181 enableval=$enable_msgdlg;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13184 else
13185 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13186 fi
13187
13188 else
13189
13190 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13191
13192 fi
13193
13194
13195 eval "$wx_cv_use_msgdlg"
13196
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_MSGDLG = no; then
13199 result=yes
13200 else
13201 result=no
13202 fi
13203 else
13204 result=$wxUSE_MSGDLG
13205 fi
13206
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13209
13210
13211 enablestring=
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13215 defaultval=yes
13216 else
13217 defaultval=no
13218 fi
13219 fi
13220
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13223 # Check whether --enable-numberdlg was given.
13224 if test "${enable_numberdlg+set}" = set; then
13225 enableval=$enable_numberdlg;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13228 else
13229 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13230 fi
13231
13232 else
13233
13234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13235
13236 fi
13237
13238
13239 eval "$wx_cv_use_numberdlg"
13240
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_NUMBERDLG = no; then
13243 result=yes
13244 else
13245 result=no
13246 fi
13247 else
13248 result=$wxUSE_NUMBERDLG
13249 fi
13250
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13253
13254
13255 enablestring=
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13259 defaultval=yes
13260 else
13261 defaultval=no
13262 fi
13263 fi
13264
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13267 # Check whether --enable-splash was given.
13268 if test "${enable_splash+set}" = set; then
13269 enableval=$enable_splash;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_splash='wxUSE_SPLASH=yes'
13272 else
13273 wx_cv_use_splash='wxUSE_SPLASH=no'
13274 fi
13275
13276 else
13277
13278 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13279
13280 fi
13281
13282
13283 eval "$wx_cv_use_splash"
13284
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SPLASH = no; then
13287 result=yes
13288 else
13289 result=no
13290 fi
13291 else
13292 result=$wxUSE_SPLASH
13293 fi
13294
13295 { echo "$as_me:$LINENO: result: $result" >&5
13296 echo "${ECHO_T}$result" >&6; }
13297
13298
13299 enablestring=
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13303 defaultval=yes
13304 else
13305 defaultval=no
13306 fi
13307 fi
13308
13309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13310 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13311 # Check whether --enable-textdlg was given.
13312 if test "${enable_textdlg+set}" = set; then
13313 enableval=$enable_textdlg;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13316 else
13317 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13318 fi
13319
13320 else
13321
13322 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_textdlg"
13328
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_TEXTDLG = no; then
13331 result=yes
13332 else
13333 result=no
13334 fi
13335 else
13336 result=$wxUSE_TEXTDLG
13337 fi
13338
13339 { echo "$as_me:$LINENO: result: $result" >&5
13340 echo "${ECHO_T}$result" >&6; }
13341
13342
13343 enablestring=
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13347 defaultval=yes
13348 else
13349 defaultval=no
13350 fi
13351 fi
13352
13353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13354 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13355 # Check whether --enable-tipdlg was given.
13356 if test "${enable_tipdlg+set}" = set; then
13357 enableval=$enable_tipdlg;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13360 else
13361 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13362 fi
13363
13364 else
13365
13366 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13367
13368 fi
13369
13370
13371 eval "$wx_cv_use_tipdlg"
13372
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_STARTUP_TIPS = no; then
13375 result=yes
13376 else
13377 result=no
13378 fi
13379 else
13380 result=$wxUSE_STARTUP_TIPS
13381 fi
13382
13383 { echo "$as_me:$LINENO: result: $result" >&5
13384 echo "${ECHO_T}$result" >&6; }
13385
13386
13387 enablestring=
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13391 defaultval=yes
13392 else
13393 defaultval=no
13394 fi
13395 fi
13396
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13399 # Check whether --enable-progressdlg was given.
13400 if test "${enable_progressdlg+set}" = set; then
13401 enableval=$enable_progressdlg;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13404 else
13405 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13406 fi
13407
13408 else
13409
13410 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_progressdlg"
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_PROGRESSDLG = no; then
13419 result=yes
13420 else
13421 result=no
13422 fi
13423 else
13424 result=$wxUSE_PROGRESSDLG
13425 fi
13426
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13443 # Check whether --enable-wizarddlg was given.
13444 if test "${enable_wizarddlg+set}" = set; then
13445 enableval=$enable_wizarddlg;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13448 else
13449 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13450 fi
13451
13452 else
13453
13454 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13455
13456 fi
13457
13458
13459 eval "$wx_cv_use_wizarddlg"
13460
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_WIZARDDLG = no; then
13463 result=yes
13464 else
13465 result=no
13466 fi
13467 else
13468 result=$wxUSE_WIZARDDLG
13469 fi
13470
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13473
13474
13475
13476
13477 enablestring=
13478 defaultval=$wxUSE_ALL_FEATURES
13479 if test -z "$defaultval"; then
13480 if test x"$enablestring" = xdisable; then
13481 defaultval=yes
13482 else
13483 defaultval=no
13484 fi
13485 fi
13486
13487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13488 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13489 # Check whether --enable-menus was given.
13490 if test "${enable_menus+set}" = set; then
13491 enableval=$enable_menus;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_menus='wxUSE_MENUS=yes'
13494 else
13495 wx_cv_use_menus='wxUSE_MENUS=no'
13496 fi
13497
13498 else
13499
13500 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13501
13502 fi
13503
13504
13505 eval "$wx_cv_use_menus"
13506
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_MENUS = no; then
13509 result=yes
13510 else
13511 result=no
13512 fi
13513 else
13514 result=$wxUSE_MENUS
13515 fi
13516
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13519
13520
13521 enablestring=
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13525 defaultval=yes
13526 else
13527 defaultval=no
13528 fi
13529 fi
13530
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13533 # Check whether --enable-miniframe was given.
13534 if test "${enable_miniframe+set}" = set; then
13535 enableval=$enable_miniframe;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13538 else
13539 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13540 fi
13541
13542 else
13543
13544 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13545
13546 fi
13547
13548
13549 eval "$wx_cv_use_miniframe"
13550
13551 if test x"$enablestring" = xdisable; then
13552 if test $wxUSE_MINIFRAME = no; then
13553 result=yes
13554 else
13555 result=no
13556 fi
13557 else
13558 result=$wxUSE_MINIFRAME
13559 fi
13560
13561 { echo "$as_me:$LINENO: result: $result" >&5
13562 echo "${ECHO_T}$result" >&6; }
13563
13564
13565 enablestring=
13566 defaultval=$wxUSE_ALL_FEATURES
13567 if test -z "$defaultval"; then
13568 if test x"$enablestring" = xdisable; then
13569 defaultval=yes
13570 else
13571 defaultval=no
13572 fi
13573 fi
13574
13575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13576 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13577 # Check whether --enable-tooltips was given.
13578 if test "${enable_tooltips+set}" = set; then
13579 enableval=$enable_tooltips;
13580 if test "$enableval" = yes; then
13581 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13582 else
13583 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13584 fi
13585
13586 else
13587
13588 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13589
13590 fi
13591
13592
13593 eval "$wx_cv_use_tooltips"
13594
13595 if test x"$enablestring" = xdisable; then
13596 if test $wxUSE_TOOLTIPS = no; then
13597 result=yes
13598 else
13599 result=no
13600 fi
13601 else
13602 result=$wxUSE_TOOLTIPS
13603 fi
13604
13605 { echo "$as_me:$LINENO: result: $result" >&5
13606 echo "${ECHO_T}$result" >&6; }
13607
13608
13609 enablestring=
13610 defaultval=$wxUSE_ALL_FEATURES
13611 if test -z "$defaultval"; then
13612 if test x"$enablestring" = xdisable; then
13613 defaultval=yes
13614 else
13615 defaultval=no
13616 fi
13617 fi
13618
13619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13620 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13621 # Check whether --enable-splines was given.
13622 if test "${enable_splines+set}" = set; then
13623 enableval=$enable_splines;
13624 if test "$enableval" = yes; then
13625 wx_cv_use_splines='wxUSE_SPLINES=yes'
13626 else
13627 wx_cv_use_splines='wxUSE_SPLINES=no'
13628 fi
13629
13630 else
13631
13632 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13633
13634 fi
13635
13636
13637 eval "$wx_cv_use_splines"
13638
13639 if test x"$enablestring" = xdisable; then
13640 if test $wxUSE_SPLINES = no; then
13641 result=yes
13642 else
13643 result=no
13644 fi
13645 else
13646 result=$wxUSE_SPLINES
13647 fi
13648
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13651
13652
13653 enablestring=
13654 defaultval=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x"$enablestring" = xdisable; then
13657 defaultval=yes
13658 else
13659 defaultval=no
13660 fi
13661 fi
13662
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13665 # Check whether --enable-mousewheel was given.
13666 if test "${enable_mousewheel+set}" = set; then
13667 enableval=$enable_mousewheel;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13670 else
13671 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13672 fi
13673
13674 else
13675
13676 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13677
13678 fi
13679
13680
13681 eval "$wx_cv_use_mousewheel"
13682
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_MOUSEWHEEL = no; then
13685 result=yes
13686 else
13687 result=no
13688 fi
13689 else
13690 result=$wxUSE_MOUSEWHEEL
13691 fi
13692
13693 { echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6; }
13695
13696
13697 enablestring=
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13701 defaultval=yes
13702 else
13703 defaultval=no
13704 fi
13705 fi
13706
13707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13709 # Check whether --enable-validators was given.
13710 if test "${enable_validators+set}" = set; then
13711 enableval=$enable_validators;
13712 if test "$enableval" = yes; then
13713 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13714 else
13715 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13716 fi
13717
13718 else
13719
13720 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13721
13722 fi
13723
13724
13725 eval "$wx_cv_use_validators"
13726
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_VALIDATORS = no; then
13729 result=yes
13730 else
13731 result=no
13732 fi
13733 else
13734 result=$wxUSE_VALIDATORS
13735 fi
13736
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13739
13740
13741 enablestring=
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13745 defaultval=yes
13746 else
13747 defaultval=no
13748 fi
13749 fi
13750
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13753 # Check whether --enable-busyinfo was given.
13754 if test "${enable_busyinfo+set}" = set; then
13755 enableval=$enable_busyinfo;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13758 else
13759 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13760 fi
13761
13762 else
13763
13764 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13765
13766 fi
13767
13768
13769 eval "$wx_cv_use_busyinfo"
13770
13771 if test x"$enablestring" = xdisable; then
13772 if test $wxUSE_BUSYINFO = no; then
13773 result=yes
13774 else
13775 result=no
13776 fi
13777 else
13778 result=$wxUSE_BUSYINFO
13779 fi
13780
13781 { echo "$as_me:$LINENO: result: $result" >&5
13782 echo "${ECHO_T}$result" >&6; }
13783
13784
13785 enablestring=
13786 defaultval=$wxUSE_ALL_FEATURES
13787 if test -z "$defaultval"; then
13788 if test x"$enablestring" = xdisable; then
13789 defaultval=yes
13790 else
13791 defaultval=no
13792 fi
13793 fi
13794
13795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13796 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13797 # Check whether --enable-joystick was given.
13798 if test "${enable_joystick+set}" = set; then
13799 enableval=$enable_joystick;
13800 if test "$enableval" = yes; then
13801 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13802 else
13803 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13804 fi
13805
13806 else
13807
13808 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13809
13810 fi
13811
13812
13813 eval "$wx_cv_use_joystick"
13814
13815 if test x"$enablestring" = xdisable; then
13816 if test $wxUSE_JOYSTICK = no; then
13817 result=yes
13818 else
13819 result=no
13820 fi
13821 else
13822 result=$wxUSE_JOYSTICK
13823 fi
13824
13825 { echo "$as_me:$LINENO: result: $result" >&5
13826 echo "${ECHO_T}$result" >&6; }
13827
13828
13829 enablestring=
13830 defaultval=$wxUSE_ALL_FEATURES
13831 if test -z "$defaultval"; then
13832 if test x"$enablestring" = xdisable; then
13833 defaultval=yes
13834 else
13835 defaultval=no
13836 fi
13837 fi
13838
13839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13840 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13841 # Check whether --enable-metafile was given.
13842 if test "${enable_metafile+set}" = set; then
13843 enableval=$enable_metafile;
13844 if test "$enableval" = yes; then
13845 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13846 else
13847 wx_cv_use_metafile='wxUSE_METAFILE=no'
13848 fi
13849
13850 else
13851
13852 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13853
13854 fi
13855
13856
13857 eval "$wx_cv_use_metafile"
13858
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_METAFILE = no; then
13861 result=yes
13862 else
13863 result=no
13864 fi
13865 else
13866 result=$wxUSE_METAFILE
13867 fi
13868
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13871
13872
13873 enablestring=
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13877 defaultval=yes
13878 else
13879 defaultval=no
13880 fi
13881 fi
13882
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13885 # Check whether --enable-dragimage was given.
13886 if test "${enable_dragimage+set}" = set; then
13887 enableval=$enable_dragimage;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13890 else
13891 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13892 fi
13893
13894 else
13895
13896 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13897
13898 fi
13899
13900
13901 eval "$wx_cv_use_dragimage"
13902
13903 if test x"$enablestring" = xdisable; then
13904 if test $wxUSE_DRAGIMAGE = no; then
13905 result=yes
13906 else
13907 result=no
13908 fi
13909 else
13910 result=$wxUSE_DRAGIMAGE
13911 fi
13912
13913 { echo "$as_me:$LINENO: result: $result" >&5
13914 echo "${ECHO_T}$result" >&6; }
13915
13916
13917 enablestring=
13918 defaultval=$wxUSE_ALL_FEATURES
13919 if test -z "$defaultval"; then
13920 if test x"$enablestring" = xdisable; then
13921 defaultval=yes
13922 else
13923 defaultval=no
13924 fi
13925 fi
13926
13927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13928 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13929 # Check whether --enable-accessibility was given.
13930 if test "${enable_accessibility+set}" = set; then
13931 enableval=$enable_accessibility;
13932 if test "$enableval" = yes; then
13933 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13934 else
13935 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13936 fi
13937
13938 else
13939
13940 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13941
13942 fi
13943
13944
13945 eval "$wx_cv_use_accessibility"
13946
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_ACCESSIBILITY = no; then
13949 result=yes
13950 else
13951 result=no
13952 fi
13953 else
13954 result=$wxUSE_ACCESSIBILITY
13955 fi
13956
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13959
13960
13961 enablestring=
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13965 defaultval=yes
13966 else
13967 defaultval=no
13968 fi
13969 fi
13970
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13973 # Check whether --enable-uiactionsim was given.
13974 if test "${enable_uiactionsim+set}" = set; then
13975 enableval=$enable_uiactionsim;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13978 else
13979 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13980 fi
13981
13982 else
13983
13984 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13985
13986 fi
13987
13988
13989 eval "$wx_cv_use_uiactionsim"
13990
13991 if test x"$enablestring" = xdisable; then
13992 if test $wxUSE_UIACTIONSIMULATOR = no; then
13993 result=yes
13994 else
13995 result=no
13996 fi
13997 else
13998 result=$wxUSE_UIACTIONSIMULATOR
13999 fi
14000
14001 { echo "$as_me:$LINENO: result: $result" >&5
14002 echo "${ECHO_T}$result" >&6; }
14003
14004
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14018 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14019 # Check whether --enable-palette was given.
14020 if test "${enable_palette+set}" = set; then
14021 enableval=$enable_palette;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_palette='wxUSE_PALETTE=yes'
14024 else
14025 wx_cv_use_palette='wxUSE_PALETTE=no'
14026 fi
14027
14028 else
14029
14030 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14031
14032 fi
14033
14034
14035 eval "$wx_cv_use_palette"
14036
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_PALETTE = no; then
14039 result=yes
14040 else
14041 result=no
14042 fi
14043 else
14044 result=$wxUSE_PALETTE
14045 fi
14046
14047 { echo "$as_me:$LINENO: result: $result" >&5
14048 echo "${ECHO_T}$result" >&6; }
14049
14050
14051 enablestring=
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14055 defaultval=yes
14056 else
14057 defaultval=no
14058 fi
14059 fi
14060
14061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14062 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14063 # Check whether --enable-image was given.
14064 if test "${enable_image+set}" = set; then
14065 enableval=$enable_image;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_image='wxUSE_IMAGE=yes'
14068 else
14069 wx_cv_use_image='wxUSE_IMAGE=no'
14070 fi
14071
14072 else
14073
14074 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14075
14076 fi
14077
14078
14079 eval "$wx_cv_use_image"
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_IMAGE = no; then
14083 result=yes
14084 else
14085 result=no
14086 fi
14087 else
14088 result=$wxUSE_IMAGE
14089 fi
14090
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14107 # Check whether --enable-gif was given.
14108 if test "${enable_gif+set}" = set; then
14109 enableval=$enable_gif;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_gif='wxUSE_GIF=yes'
14112 else
14113 wx_cv_use_gif='wxUSE_GIF=no'
14114 fi
14115
14116 else
14117
14118 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14119
14120 fi
14121
14122
14123 eval "$wx_cv_use_gif"
14124
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_GIF = no; then
14127 result=yes
14128 else
14129 result=no
14130 fi
14131 else
14132 result=$wxUSE_GIF
14133 fi
14134
14135 { echo "$as_me:$LINENO: result: $result" >&5
14136 echo "${ECHO_T}$result" >&6; }
14137
14138
14139 enablestring=
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14143 defaultval=yes
14144 else
14145 defaultval=no
14146 fi
14147 fi
14148
14149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14150 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14151 # Check whether --enable-pcx was given.
14152 if test "${enable_pcx+set}" = set; then
14153 enableval=$enable_pcx;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_pcx='wxUSE_PCX=yes'
14156 else
14157 wx_cv_use_pcx='wxUSE_PCX=no'
14158 fi
14159
14160 else
14161
14162 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$wx_cv_use_pcx"
14168
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_PCX = no; then
14171 result=yes
14172 else
14173 result=no
14174 fi
14175 else
14176 result=$wxUSE_PCX
14177 fi
14178
14179 { echo "$as_me:$LINENO: result: $result" >&5
14180 echo "${ECHO_T}$result" >&6; }
14181
14182
14183 enablestring=
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14187 defaultval=yes
14188 else
14189 defaultval=no
14190 fi
14191 fi
14192
14193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14194 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14195 # Check whether --enable-tga was given.
14196 if test "${enable_tga+set}" = set; then
14197 enableval=$enable_tga;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_tga='wxUSE_TGA=yes'
14200 else
14201 wx_cv_use_tga='wxUSE_TGA=no'
14202 fi
14203
14204 else
14205
14206 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14207
14208 fi
14209
14210
14211 eval "$wx_cv_use_tga"
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TGA = no; then
14215 result=yes
14216 else
14217 result=no
14218 fi
14219 else
14220 result=$wxUSE_TGA
14221 fi
14222
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14239 # Check whether --enable-iff was given.
14240 if test "${enable_iff+set}" = set; then
14241 enableval=$enable_iff;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_iff='wxUSE_IFF=yes'
14244 else
14245 wx_cv_use_iff='wxUSE_IFF=no'
14246 fi
14247
14248 else
14249
14250 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14251
14252 fi
14253
14254
14255 eval "$wx_cv_use_iff"
14256
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_IFF = no; then
14259 result=yes
14260 else
14261 result=no
14262 fi
14263 else
14264 result=$wxUSE_IFF
14265 fi
14266
14267 { echo "$as_me:$LINENO: result: $result" >&5
14268 echo "${ECHO_T}$result" >&6; }
14269
14270
14271 enablestring=
14272 defaultval=$wxUSE_ALL_FEATURES
14273 if test -z "$defaultval"; then
14274 if test x"$enablestring" = xdisable; then
14275 defaultval=yes
14276 else
14277 defaultval=no
14278 fi
14279 fi
14280
14281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14282 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14283 # Check whether --enable-pnm was given.
14284 if test "${enable_pnm+set}" = set; then
14285 enableval=$enable_pnm;
14286 if test "$enableval" = yes; then
14287 wx_cv_use_pnm='wxUSE_PNM=yes'
14288 else
14289 wx_cv_use_pnm='wxUSE_PNM=no'
14290 fi
14291
14292 else
14293
14294 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14295
14296 fi
14297
14298
14299 eval "$wx_cv_use_pnm"
14300
14301 if test x"$enablestring" = xdisable; then
14302 if test $wxUSE_PNM = no; then
14303 result=yes
14304 else
14305 result=no
14306 fi
14307 else
14308 result=$wxUSE_PNM
14309 fi
14310
14311 { echo "$as_me:$LINENO: result: $result" >&5
14312 echo "${ECHO_T}$result" >&6; }
14313
14314
14315 enablestring=
14316 defaultval=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x"$enablestring" = xdisable; then
14319 defaultval=yes
14320 else
14321 defaultval=no
14322 fi
14323 fi
14324
14325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14327 # Check whether --enable-xpm was given.
14328 if test "${enable_xpm+set}" = set; then
14329 enableval=$enable_xpm;
14330 if test "$enableval" = yes; then
14331 wx_cv_use_xpm='wxUSE_XPM=yes'
14332 else
14333 wx_cv_use_xpm='wxUSE_XPM=no'
14334 fi
14335
14336 else
14337
14338 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14339
14340 fi
14341
14342
14343 eval "$wx_cv_use_xpm"
14344
14345 if test x"$enablestring" = xdisable; then
14346 if test $wxUSE_XPM = no; then
14347 result=yes
14348 else
14349 result=no
14350 fi
14351 else
14352 result=$wxUSE_XPM
14353 fi
14354
14355 { echo "$as_me:$LINENO: result: $result" >&5
14356 echo "${ECHO_T}$result" >&6; }
14357
14358
14359 enablestring=
14360 defaultval=$wxUSE_ALL_FEATURES
14361 if test -z "$defaultval"; then
14362 if test x"$enablestring" = xdisable; then
14363 defaultval=yes
14364 else
14365 defaultval=no
14366 fi
14367 fi
14368
14369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14370 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14371 # Check whether --enable-ico_cur was given.
14372 if test "${enable_ico_cur+set}" = set; then
14373 enableval=$enable_ico_cur;
14374 if test "$enableval" = yes; then
14375 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14376 else
14377 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14378 fi
14379
14380 else
14381
14382 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14383
14384 fi
14385
14386
14387 eval "$wx_cv_use_ico_cur"
14388
14389 if test x"$enablestring" = xdisable; then
14390 if test $wxUSE_ICO_CUR = no; then
14391 result=yes
14392 else
14393 result=no
14394 fi
14395 else
14396 result=$wxUSE_ICO_CUR
14397 fi
14398
14399 { echo "$as_me:$LINENO: result: $result" >&5
14400 echo "${ECHO_T}$result" >&6; }
14401
14402
14403
14404
14405 enablestring=
14406 defaultval=$wxUSE_ALL_FEATURES
14407 if test -z "$defaultval"; then
14408 if test x"$enablestring" = xdisable; then
14409 defaultval=yes
14410 else
14411 defaultval=no
14412 fi
14413 fi
14414
14415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14416 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14417 # Check whether --enable-dccache was given.
14418 if test "${enable_dccache+set}" = set; then
14419 enableval=$enable_dccache;
14420 if test "$enableval" = yes; then
14421 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14422 else
14423 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14424 fi
14425
14426 else
14427
14428 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14429
14430 fi
14431
14432
14433 eval "$wx_cv_use_dccache"
14434
14435 if test x"$enablestring" = xdisable; then
14436 if test $wxUSE_DC_CACHEING = no; then
14437 result=yes
14438 else
14439 result=no
14440 fi
14441 else
14442 result=$wxUSE_DC_CACHEING
14443 fi
14444
14445 { echo "$as_me:$LINENO: result: $result" >&5
14446 echo "${ECHO_T}$result" >&6; }
14447
14448
14449 enablestring=
14450 defaultval=$wxUSE_ALL_FEATURES
14451 if test -z "$defaultval"; then
14452 if test x"$enablestring" = xdisable; then
14453 defaultval=yes
14454 else
14455 defaultval=no
14456 fi
14457 fi
14458
14459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14460 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14461 # Check whether --enable-ps-in-msw was given.
14462 if test "${enable_ps_in_msw+set}" = set; then
14463 enableval=$enable_ps_in_msw;
14464 if test "$enableval" = yes; then
14465 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14466 else
14467 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14468 fi
14469
14470 else
14471
14472 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14473
14474 fi
14475
14476
14477 eval "$wx_cv_use_ps_in_msw"
14478
14479 if test x"$enablestring" = xdisable; then
14480 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14481 result=yes
14482 else
14483 result=no
14484 fi
14485 else
14486 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14487 fi
14488
14489 { echo "$as_me:$LINENO: result: $result" >&5
14490 echo "${ECHO_T}$result" >&6; }
14491
14492
14493 enablestring=
14494 defaultval=$wxUSE_ALL_FEATURES
14495 if test -z "$defaultval"; then
14496 if test x"$enablestring" = xdisable; then
14497 defaultval=yes
14498 else
14499 defaultval=no
14500 fi
14501 fi
14502
14503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14504 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14505 # Check whether --enable-ownerdrawn was given.
14506 if test "${enable_ownerdrawn+set}" = set; then
14507 enableval=$enable_ownerdrawn;
14508 if test "$enableval" = yes; then
14509 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14510 else
14511 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14512 fi
14513
14514 else
14515
14516 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14517
14518 fi
14519
14520
14521 eval "$wx_cv_use_ownerdrawn"
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_OWNER_DRAWN = no; then
14525 result=yes
14526 else
14527 result=no
14528 fi
14529 else
14530 result=$wxUSE_OWNER_DRAWN
14531 fi
14532
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14549 # Check whether --enable-uxtheme was given.
14550 if test "${enable_uxtheme+set}" = set; then
14551 enableval=$enable_uxtheme;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14554 else
14555 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14556 fi
14557
14558 else
14559
14560 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14561
14562 fi
14563
14564
14565 eval "$wx_cv_use_uxtheme"
14566
14567 if test x"$enablestring" = xdisable; then
14568 if test $wxUSE_UXTHEME = no; then
14569 result=yes
14570 else
14571 result=no
14572 fi
14573 else
14574 result=$wxUSE_UXTHEME
14575 fi
14576
14577 { echo "$as_me:$LINENO: result: $result" >&5
14578 echo "${ECHO_T}$result" >&6; }
14579
14580
14581 enablestring=
14582 defaultval=$wxUSE_ALL_FEATURES
14583 if test -z "$defaultval"; then
14584 if test x"$enablestring" = xdisable; then
14585 defaultval=yes
14586 else
14587 defaultval=no
14588 fi
14589 fi
14590
14591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14592 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14593 # Check whether --enable-wxdib was given.
14594 if test "${enable_wxdib+set}" = set; then
14595 enableval=$enable_wxdib;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_wxdib='wxUSE_DIB=yes'
14598 else
14599 wx_cv_use_wxdib='wxUSE_DIB=no'
14600 fi
14601
14602 else
14603
14604 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$wx_cv_use_wxdib"
14610
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_DIB = no; then
14613 result=yes
14614 else
14615 result=no
14616 fi
14617 else
14618 result=$wxUSE_DIB
14619 fi
14620
14621 { echo "$as_me:$LINENO: result: $result" >&5
14622 echo "${ECHO_T}$result" >&6; }
14623
14624
14625 if test "$wxUSE_MSW" != 1; then
14626 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14627 fi
14628
14629
14630 enablestring=
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14634 defaultval=yes
14635 else
14636 defaultval=no
14637 fi
14638 fi
14639
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14642 # Check whether --enable-autoidman was given.
14643 if test "${enable_autoidman+set}" = set; then
14644 enableval=$enable_autoidman;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14647 else
14648 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14649 fi
14650
14651 else
14652
14653 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14654
14655 fi
14656
14657
14658 eval "$wx_cv_use_autoidman"
14659
14660 if test x"$enablestring" = xdisable; then
14661 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14662 result=yes
14663 else
14664 result=no
14665 fi
14666 else
14667 result=$wxUSE_AUTOID_MANAGEMENT
14668 fi
14669
14670 { echo "$as_me:$LINENO: result: $result" >&5
14671 echo "${ECHO_T}$result" >&6; }
14672
14673
14674 fi
14675
14676
14677 cat >confcache <<\_ACEOF
14678 # This file is a shell script that caches the results of configure
14679 # tests run on this system so they can be shared between configure
14680 # scripts and configure runs, see configure's option --config-cache.
14681 # It is not useful on other systems. If it contains results you don't
14682 # want to keep, you may remove or edit it.
14683 #
14684 # config.status only pays attention to the cache file if you give it
14685 # the --recheck option to rerun configure.
14686 #
14687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14689 # following values.
14690
14691 _ACEOF
14692
14693 # The following way of writing the cache mishandles newlines in values,
14694 # but we know of no workaround that is simple, portable, and efficient.
14695 # So, we kill variables containing newlines.
14696 # Ultrix sh set writes to stderr and can't be redirected directly,
14697 # and sets the high bit in the cache file unless we assign to the vars.
14698 (
14699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14700 eval ac_val=\$$ac_var
14701 case $ac_val in #(
14702 *${as_nl}*)
14703 case $ac_var in #(
14704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14706 esac
14707 case $ac_var in #(
14708 _ | IFS | as_nl) ;; #(
14709 *) $as_unset $ac_var ;;
14710 esac ;;
14711 esac
14712 done
14713
14714 (set) 2>&1 |
14715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14716 *${as_nl}ac_space=\ *)
14717 # `set' does not quote correctly, so add quotes (double-quote
14718 # substitution turns \\\\ into \\, and sed turns \\ into \).
14719 sed -n \
14720 "s/'/'\\\\''/g;
14721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14722 ;; #(
14723 *)
14724 # `set' quotes correctly as required by POSIX, so do not add quotes.
14725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14726 ;;
14727 esac |
14728 sort
14729 ) |
14730 sed '
14731 /^ac_cv_env_/b end
14732 t clear
14733 :clear
14734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14735 t end
14736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14737 :end' >>confcache
14738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14739 if test -w "$cache_file"; then
14740 test "x$cache_file" != "x/dev/null" &&
14741 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14742 echo "$as_me: updating cache $cache_file" >&6;}
14743 cat confcache >$cache_file
14744 else
14745 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14746 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14747 fi
14748 fi
14749 rm -f confcache
14750
14751 CFLAGS=${CFLAGS:=}
14752 ac_ext=c
14753 ac_cpp='$CPP $CPPFLAGS'
14754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14757 if test -n "$ac_tool_prefix"; then
14758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14762 if test "${ac_cv_prog_CC+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 else
14765 if test -n "$CC"; then
14766 ac_cv_prog_CC="$CC" # Let the user override the test.
14767 else
14768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14769 for as_dir in $PATH
14770 do
14771 IFS=$as_save_IFS
14772 test -z "$as_dir" && as_dir=.
14773 for ac_exec_ext in '' $ac_executable_extensions; do
14774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14775 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14777 break 2
14778 fi
14779 done
14780 done
14781 IFS=$as_save_IFS
14782
14783 fi
14784 fi
14785 CC=$ac_cv_prog_CC
14786 if test -n "$CC"; then
14787 { echo "$as_me:$LINENO: result: $CC" >&5
14788 echo "${ECHO_T}$CC" >&6; }
14789 else
14790 { echo "$as_me:$LINENO: result: no" >&5
14791 echo "${ECHO_T}no" >&6; }
14792 fi
14793
14794
14795 fi
14796 if test -z "$ac_cv_prog_CC"; then
14797 ac_ct_CC=$CC
14798 # Extract the first word of "gcc", so it can be a program name with args.
14799 set dummy gcc; ac_word=$2
14800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 else
14805 if test -n "$ac_ct_CC"; then
14806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14807 else
14808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14809 for as_dir in $PATH
14810 do
14811 IFS=$as_save_IFS
14812 test -z "$as_dir" && as_dir=.
14813 for ac_exec_ext in '' $ac_executable_extensions; do
14814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14815 ac_cv_prog_ac_ct_CC="gcc"
14816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14817 break 2
14818 fi
14819 done
14820 done
14821 IFS=$as_save_IFS
14822
14823 fi
14824 fi
14825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14826 if test -n "$ac_ct_CC"; then
14827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14828 echo "${ECHO_T}$ac_ct_CC" >&6; }
14829 else
14830 { echo "$as_me:$LINENO: result: no" >&5
14831 echo "${ECHO_T}no" >&6; }
14832 fi
14833
14834 if test "x$ac_ct_CC" = x; then
14835 CC=""
14836 else
14837 case $cross_compiling:$ac_tool_warned in
14838 yes:)
14839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14840 whose name does not start with the host triplet. If you think this
14841 configuration is useful to you, please write to autoconf@gnu.org." >&5
14842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14843 whose name does not start with the host triplet. If you think this
14844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14845 ac_tool_warned=yes ;;
14846 esac
14847 CC=$ac_ct_CC
14848 fi
14849 else
14850 CC="$ac_cv_prog_CC"
14851 fi
14852
14853 if test -z "$CC"; then
14854 if test -n "$ac_tool_prefix"; then
14855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14856 set dummy ${ac_tool_prefix}cc; ac_word=$2
14857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14859 if test "${ac_cv_prog_CC+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 if test -n "$CC"; then
14863 ac_cv_prog_CC="$CC" # Let the user override the test.
14864 else
14865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866 for as_dir in $PATH
14867 do
14868 IFS=$as_save_IFS
14869 test -z "$as_dir" && as_dir=.
14870 for ac_exec_ext in '' $ac_executable_extensions; do
14871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14872 ac_cv_prog_CC="${ac_tool_prefix}cc"
14873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14874 break 2
14875 fi
14876 done
14877 done
14878 IFS=$as_save_IFS
14879
14880 fi
14881 fi
14882 CC=$ac_cv_prog_CC
14883 if test -n "$CC"; then
14884 { echo "$as_me:$LINENO: result: $CC" >&5
14885 echo "${ECHO_T}$CC" >&6; }
14886 else
14887 { echo "$as_me:$LINENO: result: no" >&5
14888 echo "${ECHO_T}no" >&6; }
14889 fi
14890
14891
14892 fi
14893 fi
14894 if test -z "$CC"; then
14895 # Extract the first word of "cc", so it can be a program name with args.
14896 set dummy cc; ac_word=$2
14897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14899 if test "${ac_cv_prog_CC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902 if test -n "$CC"; then
14903 ac_cv_prog_CC="$CC" # Let the user override the test.
14904 else
14905 ac_prog_rejected=no
14906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14907 for as_dir in $PATH
14908 do
14909 IFS=$as_save_IFS
14910 test -z "$as_dir" && as_dir=.
14911 for ac_exec_ext in '' $ac_executable_extensions; do
14912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14914 ac_prog_rejected=yes
14915 continue
14916 fi
14917 ac_cv_prog_CC="cc"
14918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14919 break 2
14920 fi
14921 done
14922 done
14923 IFS=$as_save_IFS
14924
14925 if test $ac_prog_rejected = yes; then
14926 # We found a bogon in the path, so make sure we never use it.
14927 set dummy $ac_cv_prog_CC
14928 shift
14929 if test $# != 0; then
14930 # We chose a different compiler from the bogus one.
14931 # However, it has the same basename, so the bogon will be chosen
14932 # first if we set CC to just the basename; use the full file name.
14933 shift
14934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14935 fi
14936 fi
14937 fi
14938 fi
14939 CC=$ac_cv_prog_CC
14940 if test -n "$CC"; then
14941 { echo "$as_me:$LINENO: result: $CC" >&5
14942 echo "${ECHO_T}$CC" >&6; }
14943 else
14944 { echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6; }
14946 fi
14947
14948
14949 fi
14950 if test -z "$CC"; then
14951 if test -n "$ac_tool_prefix"; then
14952 for ac_prog in cl.exe
14953 do
14954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14958 if test "${ac_cv_prog_CC+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14960 else
14961 if test -n "$CC"; then
14962 ac_cv_prog_CC="$CC" # Let the user override the test.
14963 else
14964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14966 do
14967 IFS=$as_save_IFS
14968 test -z "$as_dir" && as_dir=.
14969 for ac_exec_ext in '' $ac_executable_extensions; do
14970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14973 break 2
14974 fi
14975 done
14976 done
14977 IFS=$as_save_IFS
14978
14979 fi
14980 fi
14981 CC=$ac_cv_prog_CC
14982 if test -n "$CC"; then
14983 { echo "$as_me:$LINENO: result: $CC" >&5
14984 echo "${ECHO_T}$CC" >&6; }
14985 else
14986 { echo "$as_me:$LINENO: result: no" >&5
14987 echo "${ECHO_T}no" >&6; }
14988 fi
14989
14990
14991 test -n "$CC" && break
14992 done
14993 fi
14994 if test -z "$CC"; then
14995 ac_ct_CC=$CC
14996 for ac_prog in cl.exe
14997 do
14998 # Extract the first word of "$ac_prog", so it can be a program name with args.
14999 set dummy $ac_prog; ac_word=$2
15000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 if test -n "$ac_ct_CC"; then
15006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15007 else
15008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15009 for as_dir in $PATH
15010 do
15011 IFS=$as_save_IFS
15012 test -z "$as_dir" && as_dir=.
15013 for ac_exec_ext in '' $ac_executable_extensions; do
15014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15015 ac_cv_prog_ac_ct_CC="$ac_prog"
15016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15017 break 2
15018 fi
15019 done
15020 done
15021 IFS=$as_save_IFS
15022
15023 fi
15024 fi
15025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15026 if test -n "$ac_ct_CC"; then
15027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15028 echo "${ECHO_T}$ac_ct_CC" >&6; }
15029 else
15030 { echo "$as_me:$LINENO: result: no" >&5
15031 echo "${ECHO_T}no" >&6; }
15032 fi
15033
15034
15035 test -n "$ac_ct_CC" && break
15036 done
15037
15038 if test "x$ac_ct_CC" = x; then
15039 CC=""
15040 else
15041 case $cross_compiling:$ac_tool_warned in
15042 yes:)
15043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15044 whose name does not start with the host triplet. If you think this
15045 configuration is useful to you, please write to autoconf@gnu.org." >&5
15046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15047 whose name does not start with the host triplet. If you think this
15048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15049 ac_tool_warned=yes ;;
15050 esac
15051 CC=$ac_ct_CC
15052 fi
15053 fi
15054
15055 fi
15056
15057
15058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15059 See \`config.log' for more details." >&5
15060 echo "$as_me: error: no acceptable C compiler found in \$PATH
15061 See \`config.log' for more details." >&2;}
15062 { (exit 1); exit 1; }; }
15063
15064 # Provide some information about the compiler.
15065 echo "$as_me:$LINENO: checking for C compiler version" >&5
15066 ac_compiler=`set X $ac_compile; echo $2`
15067 { (ac_try="$ac_compiler --version >&5"
15068 case "(($ac_try" in
15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15070 *) ac_try_echo=$ac_try;;
15071 esac
15072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15073 (eval "$ac_compiler --version >&5") 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }
15077 { (ac_try="$ac_compiler -v >&5"
15078 case "(($ac_try" in
15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15081 esac
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_compiler -v >&5") 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }
15087 { (ac_try="$ac_compiler -V >&5"
15088 case "(($ac_try" in
15089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15090 *) ac_try_echo=$ac_try;;
15091 esac
15092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_compiler -V >&5") 2>&5
15094 ac_status=$?
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }
15097
15098 cat >conftest.$ac_ext <<_ACEOF
15099 /* confdefs.h. */
15100 _ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104
15105 int
15106 main ()
15107 {
15108
15109 ;
15110 return 0;
15111 }
15112 _ACEOF
15113 ac_clean_files_save=$ac_clean_files
15114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15115 # Try to create an executable without -o first, disregard a.out.
15116 # It will help us diagnose broken compilers, and finding out an intuition
15117 # of exeext.
15118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15121 #
15122 # List of possible output files, starting from the most likely.
15123 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15124 # only as a last resort. b.out is created by i960 compilers.
15125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15126 #
15127 # The IRIX 6 linker writes into existing files which may not be
15128 # executable, retaining their permissions. Remove them first so a
15129 # subsequent execution test works.
15130 ac_rmfiles=
15131 for ac_file in $ac_files
15132 do
15133 case $ac_file in
15134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15136 esac
15137 done
15138 rm -f $ac_rmfiles
15139
15140 if { (ac_try="$ac_link_default"
15141 case "(($ac_try" in
15142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15143 *) ac_try_echo=$ac_try;;
15144 esac
15145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15146 (eval "$ac_link_default") 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; then
15150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15153 # so that the user can short-circuit this test for compilers unknown to
15154 # Autoconf.
15155 for ac_file in $ac_files ''
15156 do
15157 test -f "$ac_file" || continue
15158 case $ac_file in
15159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15160 ;;
15161 [ab].out )
15162 # We found the default executable, but exeext='' is most
15163 # certainly right.
15164 break;;
15165 *.* )
15166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15167 then :; else
15168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15169 fi
15170 # We set ac_cv_exeext here because the later test for it is not
15171 # safe: cross compilers may not add the suffix if given an `-o'
15172 # argument, so we may need to know it at that point already.
15173 # Even if this section looks crufty: it has the advantage of
15174 # actually working.
15175 break;;
15176 * )
15177 break;;
15178 esac
15179 done
15180 test "$ac_cv_exeext" = no && ac_cv_exeext=
15181
15182 else
15183 ac_file=''
15184 fi
15185
15186 { echo "$as_me:$LINENO: result: $ac_file" >&5
15187 echo "${ECHO_T}$ac_file" >&6; }
15188 if test -z "$ac_file"; then
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15193 See \`config.log' for more details." >&5
15194 echo "$as_me: error: C compiler cannot create executables
15195 See \`config.log' for more details." >&2;}
15196 { (exit 77); exit 77; }; }
15197 fi
15198
15199 ac_exeext=$ac_cv_exeext
15200
15201 # Check that the compiler produces executables we can run. If not, either
15202 # the compiler is broken, or we cross compile.
15203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15206 # If not cross compiling, check that we can run a simple program.
15207 if test "$cross_compiling" != yes; then
15208 if { ac_try='./$ac_file'
15209 { (case "(($ac_try" in
15210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15211 *) ac_try_echo=$ac_try;;
15212 esac
15213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15214 (eval "$ac_try") 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 cross_compiling=no
15219 else
15220 if test "$cross_compiling" = maybe; then
15221 cross_compiling=yes
15222 else
15223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15224 If you meant to cross compile, use \`--host'.
15225 See \`config.log' for more details." >&5
15226 echo "$as_me: error: cannot run C compiled programs.
15227 If you meant to cross compile, use \`--host'.
15228 See \`config.log' for more details." >&2;}
15229 { (exit 1); exit 1; }; }
15230 fi
15231 fi
15232 fi
15233 { echo "$as_me:$LINENO: result: yes" >&5
15234 echo "${ECHO_T}yes" >&6; }
15235
15236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15237 ac_clean_files=$ac_clean_files_save
15238 # Check that the compiler produces executables we can run. If not, either
15239 # the compiler is broken, or we cross compile.
15240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15243 echo "${ECHO_T}$cross_compiling" >&6; }
15244
15245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15247 if { (ac_try="$ac_link"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15251 esac
15252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15253 (eval "$ac_link") 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15259 # work properly (i.e., refer to `conftest.exe'), while it won't with
15260 # `rm'.
15261 for ac_file in conftest.exe conftest conftest.*; do
15262 test -f "$ac_file" || continue
15263 case $ac_file in
15264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15266 break;;
15267 * ) break;;
15268 esac
15269 done
15270 else
15271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15272 See \`config.log' for more details." >&5
15273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15274 See \`config.log' for more details." >&2;}
15275 { (exit 1); exit 1; }; }
15276 fi
15277
15278 rm -f conftest$ac_cv_exeext
15279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15281
15282 rm -f conftest.$ac_ext
15283 EXEEXT=$ac_cv_exeext
15284 ac_exeext=$EXEEXT
15285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15287 if test "${ac_cv_objext+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 else
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296
15297 int
15298 main ()
15299 {
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.o conftest.obj
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; then
15316 for ac_file in conftest.o conftest.obj conftest.*; do
15317 test -f "$ac_file" || continue;
15318 case $ac_file in
15319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15321 break;;
15322 esac
15323 done
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15329 See \`config.log' for more details." >&5
15330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15331 See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15333 fi
15334
15335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15336 fi
15337 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15338 echo "${ECHO_T}$ac_cv_objext" >&6; }
15339 OBJEXT=$ac_cv_objext
15340 ac_objext=$OBJEXT
15341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15342 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352
15353 int
15354 main ()
15355 {
15356 #ifndef __GNUC__
15357 choke me
15358 #endif
15359
15360 ;
15361 return 0;
15362 }
15363 _ACEOF
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_compiler_gnu=yes
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 ac_compiler_gnu=no
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15391
15392 fi
15393 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15395 GCC=`test $ac_compiler_gnu = yes && echo yes`
15396 ac_test_CFLAGS=${CFLAGS+set}
15397 ac_save_CFLAGS=$CFLAGS
15398 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15400 if test "${ac_cv_prog_cc_g+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 ac_save_c_werror_flag=$ac_c_werror_flag
15404 ac_c_werror_flag=yes
15405 ac_cv_prog_cc_g=no
15406 CFLAGS="-g"
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h. */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413
15414 int
15415 main ()
15416 {
15417
15418 ;
15419 return 0;
15420 }
15421 _ACEOF
15422 rm -f conftest.$ac_objext
15423 if { (ac_try="$ac_compile"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15427 esac
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_compile") 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest.$ac_objext; then
15439 ac_cv_prog_cc_g=yes
15440 else
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15443
15444 CFLAGS=""
15445 cat >conftest.$ac_ext <<_ACEOF
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451
15452 int
15453 main ()
15454 {
15455
15456 ;
15457 return 0;
15458 }
15459 _ACEOF
15460 rm -f conftest.$ac_objext
15461 if { (ac_try="$ac_compile"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15465 esac
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_compile") 2>conftest.er1
15468 ac_status=$?
15469 grep -v '^ *+' conftest.er1 >conftest.err
15470 rm -f conftest.er1
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } && {
15474 test -z "$ac_c_werror_flag" ||
15475 test ! -s conftest.err
15476 } && test -s conftest.$ac_objext; then
15477 :
15478 else
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15481
15482 ac_c_werror_flag=$ac_save_c_werror_flag
15483 CFLAGS="-g"
15484 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */
15486 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490
15491 int
15492 main ()
15493 {
15494
15495 ;
15496 return 0;
15497 }
15498 _ACEOF
15499 rm -f conftest.$ac_objext
15500 if { (ac_try="$ac_compile"
15501 case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15504 esac
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_compile") 2>conftest.er1
15507 ac_status=$?
15508 grep -v '^ *+' conftest.er1 >conftest.err
15509 rm -f conftest.er1
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && {
15513 test -z "$ac_c_werror_flag" ||
15514 test ! -s conftest.err
15515 } && test -s conftest.$ac_objext; then
15516 ac_cv_prog_cc_g=yes
15517 else
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5
15520
15521
15522 fi
15523
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15525 fi
15526
15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 fi
15529
15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15531 ac_c_werror_flag=$ac_save_c_werror_flag
15532 fi
15533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15535 if test "$ac_test_CFLAGS" = set; then
15536 CFLAGS=$ac_save_CFLAGS
15537 elif test $ac_cv_prog_cc_g = yes; then
15538 if test "$GCC" = yes; then
15539 CFLAGS="-g -O2"
15540 else
15541 CFLAGS="-g"
15542 fi
15543 else
15544 if test "$GCC" = yes; then
15545 CFLAGS="-O2"
15546 else
15547 CFLAGS=
15548 fi
15549 fi
15550 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15551 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15552 if test "${ac_cv_prog_cc_c89+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 ac_cv_prog_cc_c89=no
15556 ac_save_CC=$CC
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <stdarg.h>
15564 #include <stdio.h>
15565 #include <sys/types.h>
15566 #include <sys/stat.h>
15567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15568 struct buf { int x; };
15569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15570 static char *e (p, i)
15571 char **p;
15572 int i;
15573 {
15574 return p[i];
15575 }
15576 static char *f (char * (*g) (char **, int), char **p, ...)
15577 {
15578 char *s;
15579 va_list v;
15580 va_start (v,p);
15581 s = g (p, va_arg (v,int));
15582 va_end (v);
15583 return s;
15584 }
15585
15586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15587 function prototypes and stuff, but not '\xHH' hex character constants.
15588 These don't provoke an error unfortunately, instead are silently treated
15589 as 'x'. The following induces an error, until -std is added to get
15590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15591 array size at least. It's necessary to write '\x00'==0 to get something
15592 that's true only with -std. */
15593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15594
15595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15596 inside strings and character constants. */
15597 #define FOO(x) 'x'
15598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15599
15600 int test (int i, double x);
15601 struct s1 {int (*f) (int a);};
15602 struct s2 {int (*f) (double a);};
15603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15604 int argc;
15605 char **argv;
15606 int
15607 main ()
15608 {
15609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15610 ;
15611 return 0;
15612 }
15613 _ACEOF
15614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15616 do
15617 CC="$ac_save_CC $ac_arg"
15618 rm -f conftest.$ac_objext
15619 if { (ac_try="$ac_compile"
15620 case "(($ac_try" in
15621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15622 *) ac_try_echo=$ac_try;;
15623 esac
15624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15625 (eval "$ac_compile") 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && {
15632 test -z "$ac_c_werror_flag" ||
15633 test ! -s conftest.err
15634 } && test -s conftest.$ac_objext; then
15635 ac_cv_prog_cc_c89=$ac_arg
15636 else
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15639
15640
15641 fi
15642
15643 rm -f core conftest.err conftest.$ac_objext
15644 test "x$ac_cv_prog_cc_c89" != "xno" && break
15645 done
15646 rm -f conftest.$ac_ext
15647 CC=$ac_save_CC
15648
15649 fi
15650 # AC_CACHE_VAL
15651 case "x$ac_cv_prog_cc_c89" in
15652 x)
15653 { echo "$as_me:$LINENO: result: none needed" >&5
15654 echo "${ECHO_T}none needed" >&6; } ;;
15655 xno)
15656 { echo "$as_me:$LINENO: result: unsupported" >&5
15657 echo "${ECHO_T}unsupported" >&6; } ;;
15658 *)
15659 CC="$CC $ac_cv_prog_cc_c89"
15660 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15662 esac
15663
15664
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15670
15671
15672
15673
15674
15675
15676
15677
15678 ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
15684 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15685 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15686 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15688 else
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695
15696 int
15697 main ()
15698 {
15699
15700 #ifndef __INTEL_COMPILER
15701 choke me
15702 #endif
15703
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15713 esac
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>conftest.er1
15716 ac_status=$?
15717 grep -v '^ *+' conftest.er1 >conftest.err
15718 rm -f conftest.er1
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } && {
15722 test -z "$ac_c_werror_flag" ||
15723 test ! -s conftest.err
15724 } && test -s conftest.$ac_objext; then
15725 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15729
15730 bakefile_cv_c_compiler___INTEL_COMPILER=no
15731
15732 fi
15733
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15735
15736
15737 fi
15738 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15739 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15740 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15741 :; INTELCC=yes
15742 else
15743 :;
15744 fi
15745 ac_ext=c
15746 ac_cpp='$CPP $CPPFLAGS'
15747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15750
15751
15752
15753
15754 if test "$INTELCC" = "yes"; then
15755
15756
15757 ac_ext=c
15758 ac_cpp='$CPP $CPPFLAGS'
15759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762
15763 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15764 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15765 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 else
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774
15775 int
15776 main ()
15777 {
15778
15779 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15780 choke me
15781 #endif
15782
15783 ;
15784 return 0;
15785 }
15786 _ACEOF
15787 rm -f conftest.$ac_objext
15788 if { (ac_try="$ac_compile"
15789 case "(($ac_try" in
15790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15791 *) ac_try_echo=$ac_try;;
15792 esac
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_compile") 2>conftest.er1
15795 ac_status=$?
15796 grep -v '^ *+' conftest.er1 >conftest.err
15797 rm -f conftest.er1
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest.$ac_objext; then
15804 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15805 else
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15808
15809 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15810
15811 fi
15812
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15814
15815
15816 fi
15817 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15818 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15819 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15820 :; INTELCC8=yes
15821 else
15822 :;
15823 fi
15824 ac_ext=c
15825 ac_cpp='$CPP $CPPFLAGS'
15826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15829
15830
15831
15832
15833
15834 ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839
15840 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15841 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15842 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15843 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 else
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851
15852 int
15853 main ()
15854 {
15855
15856 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15857 choke me
15858 #endif
15859
15860 ;
15861 return 0;
15862 }
15863 _ACEOF
15864 rm -f conftest.$ac_objext
15865 if { (ac_try="$ac_compile"
15866 case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15869 esac
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_compile") 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } && {
15878 test -z "$ac_c_werror_flag" ||
15879 test ! -s conftest.err
15880 } && test -s conftest.$ac_objext; then
15881 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15882 else
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.$ac_ext >&5
15885
15886 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15887
15888 fi
15889
15890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15891
15892
15893 fi
15894 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15895 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15896 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15897 :; INTELCC10=yes
15898 else
15899 :;
15900 fi
15901 ac_ext=c
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15906
15907
15908
15909 fi
15910
15911 if test "x$GCC" != "xyes"; then
15912 if test "xCC" = "xC"; then
15913 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15914 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15915 if test "${bakefile_cv_c_exto+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 else
15918 cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924
15925 int
15926 main ()
15927 {
15928
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext conftest.$ac_ext.o
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; then
15939 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15940 case $ac_file in
15941 conftest.$ac_ext.o)
15942 bakefile_cv_c_exto="-ext o"
15943 ;;
15944 *)
15945 ;;
15946 esac
15947 done
15948 else
15949 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15954
15955 fi
15956
15957 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15958
15959 fi
15960 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15961 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15962 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15963 if test "c" = "c"; then
15964 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15965 fi
15966 if test "c" = "cxx"; then
15967 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15968 fi
15969 fi
15970
15971 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15972 unset ac_cv_prog_cc_g
15973 ac_test_CFLAGS=${CFLAGS+set}
15974 ac_save_CFLAGS=$CFLAGS
15975 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15976 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15977 if test "${ac_cv_prog_cc_g+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980 ac_save_c_werror_flag=$ac_c_werror_flag
15981 ac_c_werror_flag=yes
15982 ac_cv_prog_cc_g=no
15983 CFLAGS="-g"
15984 cat >conftest.$ac_ext <<_ACEOF
15985 /* confdefs.h. */
15986 _ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15990
15991 int
15992 main ()
15993 {
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (ac_try="$ac_compile"
16001 case "(($ac_try" in
16002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16003 *) ac_try_echo=$ac_try;;
16004 esac
16005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16006 (eval "$ac_compile") 2>conftest.er1
16007 ac_status=$?
16008 grep -v '^ *+' conftest.er1 >conftest.err
16009 rm -f conftest.er1
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } && {
16013 test -z "$ac_c_werror_flag" ||
16014 test ! -s conftest.err
16015 } && test -s conftest.$ac_objext; then
16016 ac_cv_prog_cc_g=yes
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16020
16021 CFLAGS=""
16022 cat >conftest.$ac_ext <<_ACEOF
16023 /* confdefs.h. */
16024 _ACEOF
16025 cat confdefs.h >>conftest.$ac_ext
16026 cat >>conftest.$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028
16029 int
16030 main ()
16031 {
16032
16033 ;
16034 return 0;
16035 }
16036 _ACEOF
16037 rm -f conftest.$ac_objext
16038 if { (ac_try="$ac_compile"
16039 case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16042 esac
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_compile") 2>conftest.er1
16045 ac_status=$?
16046 grep -v '^ *+' conftest.er1 >conftest.err
16047 rm -f conftest.er1
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } && {
16051 test -z "$ac_c_werror_flag" ||
16052 test ! -s conftest.err
16053 } && test -s conftest.$ac_objext; then
16054 :
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 ac_c_werror_flag=$ac_save_c_werror_flag
16060 CFLAGS="-g"
16061 cat >conftest.$ac_ext <<_ACEOF
16062 /* confdefs.h. */
16063 _ACEOF
16064 cat confdefs.h >>conftest.$ac_ext
16065 cat >>conftest.$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16067
16068 int
16069 main ()
16070 {
16071
16072 ;
16073 return 0;
16074 }
16075 _ACEOF
16076 rm -f conftest.$ac_objext
16077 if { (ac_try="$ac_compile"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16081 esac
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_compile") 2>conftest.er1
16084 ac_status=$?
16085 grep -v '^ *+' conftest.er1 >conftest.err
16086 rm -f conftest.er1
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } && {
16090 test -z "$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16092 } && test -s conftest.$ac_objext; then
16093 ac_cv_prog_cc_g=yes
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098
16099 fi
16100
16101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16102 fi
16103
16104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16105 fi
16106
16107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16108 ac_c_werror_flag=$ac_save_c_werror_flag
16109 fi
16110 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16111 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16112 if test "$ac_test_CFLAGS" = set; then
16113 CFLAGS=$ac_save_CFLAGS
16114 elif test $ac_cv_prog_cc_g = yes; then
16115 if test "$GCC" = yes; then
16116 CFLAGS="-g -O2"
16117 else
16118 CFLAGS="-g"
16119 fi
16120 else
16121 if test "$GCC" = yes; then
16122 CFLAGS="-O2"
16123 else
16124 CFLAGS=
16125 fi
16126 fi
16127 fi
16128 fi
16129
16130 case `uname -s` in
16131 AIX*)
16132
16133
16134 ac_ext=c
16135 ac_cpp='$CPP $CPPFLAGS'
16136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16139
16140 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16141 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16142 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 else
16145 cat >conftest.$ac_ext <<_ACEOF
16146 /* confdefs.h. */
16147 _ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151
16152 int
16153 main ()
16154 {
16155
16156 #ifndef __xlC__
16157 choke me
16158 #endif
16159
16160 ;
16161 return 0;
16162 }
16163 _ACEOF
16164 rm -f conftest.$ac_objext
16165 if { (ac_try="$ac_compile"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_compile") 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest.$ac_objext; then
16181 bakefile_cv_c_compiler___xlC__=yes
16182 else
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16185
16186 bakefile_cv_c_compiler___xlC__=no
16187
16188 fi
16189
16190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191
16192
16193 fi
16194 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16195 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16196 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16197 :; XLCC=yes
16198 else
16199 :;
16200 fi
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206
16207
16208
16209 ;;
16210
16211 Darwin)
16212
16213
16214 ac_ext=c
16215 ac_cpp='$CPP $CPPFLAGS'
16216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16219
16220 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16221 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16222 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231
16232 int
16233 main ()
16234 {
16235
16236 #ifndef __MWERKS__
16237 choke me
16238 #endif
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (ac_try="$ac_compile"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 bakefile_cv_c_compiler___MWERKS__=yes
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 bakefile_cv_c_compiler___MWERKS__=no
16267
16268 fi
16269
16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16271
16272
16273 fi
16274 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16275 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16276 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16277 :; MWCC=yes
16278 else
16279 :;
16280 fi
16281 ac_ext=c
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286
16287
16288
16289 if test "$MWCC" != "yes"; then
16290
16291
16292 ac_ext=c
16293 ac_cpp='$CPP $CPPFLAGS'
16294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16297
16298 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16299 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16300 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309
16310 int
16311 main ()
16312 {
16313
16314 #ifndef __xlC__
16315 choke me
16316 #endif
16317
16318 ;
16319 return 0;
16320 }
16321 _ACEOF
16322 rm -f conftest.$ac_objext
16323 if { (ac_try="$ac_compile"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16327 esac
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_compile") 2>conftest.er1
16330 ac_status=$?
16331 grep -v '^ *+' conftest.er1 >conftest.err
16332 rm -f conftest.er1
16333 cat conftest.err >&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && {
16336 test -z "$ac_c_werror_flag" ||
16337 test ! -s conftest.err
16338 } && test -s conftest.$ac_objext; then
16339 bakefile_cv_c_compiler___xlC__=yes
16340 else
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.$ac_ext >&5
16343
16344 bakefile_cv_c_compiler___xlC__=no
16345
16346 fi
16347
16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16349
16350
16351 fi
16352 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16353 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16354 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16355 :; XLCC=yes
16356 else
16357 :;
16358 fi
16359 ac_ext=c
16360 ac_cpp='$CPP $CPPFLAGS'
16361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16364
16365
16366
16367 fi
16368 ;;
16369
16370 IRIX*)
16371
16372
16373 ac_ext=c
16374 ac_cpp='$CPP $CPPFLAGS'
16375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378
16379 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16380 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16381 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 else
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390
16391 int
16392 main ()
16393 {
16394
16395 #ifndef _SGI_COMPILER_VERSION
16396 choke me
16397 #endif
16398
16399 ;
16400 return 0;
16401 }
16402 _ACEOF
16403 rm -f conftest.$ac_objext
16404 if { (ac_try="$ac_compile"
16405 case "(($ac_try" in
16406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16407 *) ac_try_echo=$ac_try;;
16408 esac
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_compile") 2>conftest.er1
16411 ac_status=$?
16412 grep -v '^ *+' conftest.er1 >conftest.err
16413 rm -f conftest.er1
16414 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && {
16417 test -z "$ac_c_werror_flag" ||
16418 test ! -s conftest.err
16419 } && test -s conftest.$ac_objext; then
16420 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16421 else
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16424
16425 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16426
16427 fi
16428
16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430
16431
16432 fi
16433 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16434 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16435 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16436 :; SGICC=yes
16437 else
16438 :;
16439 fi
16440 ac_ext=c
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445
16446
16447
16448 ;;
16449
16450 Linux*)
16451 if test "$INTELCC" != "yes"; then
16452
16453
16454 ac_ext=c
16455 ac_cpp='$CPP $CPPFLAGS'
16456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16459
16460 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16461 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16462 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471
16472 int
16473 main ()
16474 {
16475
16476 #ifndef __SUNPRO_C
16477 choke me
16478 #endif
16479
16480 ;
16481 return 0;
16482 }
16483 _ACEOF
16484 rm -f conftest.$ac_objext
16485 if { (ac_try="$ac_compile"
16486 case "(($ac_try" in
16487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16488 *) ac_try_echo=$ac_try;;
16489 esac
16490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16491 (eval "$ac_compile") 2>conftest.er1
16492 ac_status=$?
16493 grep -v '^ *+' conftest.er1 >conftest.err
16494 rm -f conftest.er1
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_c_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest.$ac_objext; then
16501 bakefile_cv_c_compiler___SUNPRO_C=yes
16502 else
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16505
16506 bakefile_cv_c_compiler___SUNPRO_C=no
16507
16508 fi
16509
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511
16512
16513 fi
16514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16515 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16516 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16517 :; SUNCC=yes
16518 else
16519 :;
16520 fi
16521 ac_ext=c
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16526
16527
16528
16529 fi
16530 ;;
16531
16532 HP-UX*)
16533
16534
16535 ac_ext=c
16536 ac_cpp='$CPP $CPPFLAGS'
16537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16540
16541 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16542 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16543 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 else
16546 cat >conftest.$ac_ext <<_ACEOF
16547 /* confdefs.h. */
16548 _ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552
16553 int
16554 main ()
16555 {
16556
16557 #ifndef __HP_cc
16558 choke me
16559 #endif
16560
16561 ;
16562 return 0;
16563 }
16564 _ACEOF
16565 rm -f conftest.$ac_objext
16566 if { (ac_try="$ac_compile"
16567 case "(($ac_try" in
16568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16570 esac
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_compile") 2>conftest.er1
16573 ac_status=$?
16574 grep -v '^ *+' conftest.er1 >conftest.err
16575 rm -f conftest.er1
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } && {
16579 test -z "$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 } && test -s conftest.$ac_objext; then
16582 bakefile_cv_c_compiler___HP_cc=yes
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16586
16587 bakefile_cv_c_compiler___HP_cc=no
16588
16589 fi
16590
16591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16592
16593
16594 fi
16595 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16596 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16597 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16598 :; HPCC=yes
16599 else
16600 :;
16601 fi
16602 ac_ext=c
16603 ac_cpp='$CPP $CPPFLAGS'
16604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16607
16608
16609
16610 ;;
16611
16612 OSF1)
16613
16614
16615 ac_ext=c
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16620
16621 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16622 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16623 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632
16633 int
16634 main ()
16635 {
16636
16637 #ifndef __DECC
16638 choke me
16639 #endif
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 rm -f conftest.$ac_objext
16646 if { (ac_try="$ac_compile"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16650 esac
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_compile") 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest.$ac_objext; then
16662 bakefile_cv_c_compiler___DECC=yes
16663 else
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16666
16667 bakefile_cv_c_compiler___DECC=no
16668
16669 fi
16670
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672
16673
16674 fi
16675 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16676 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16677 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16678 :; COMPAQCC=yes
16679 else
16680 :;
16681 fi
16682 ac_ext=c
16683 ac_cpp='$CPP $CPPFLAGS'
16684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16687
16688
16689
16690 ;;
16691
16692 SunOS)
16693
16694
16695 ac_ext=c
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16700
16701 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16702 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16703 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 #ifndef __SUNPRO_C
16718 choke me
16719 #endif
16720
16721 ;
16722 return 0;
16723 }
16724 _ACEOF
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 bakefile_cv_c_compiler___SUNPRO_C=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 bakefile_cv_c_compiler___SUNPRO_C=no
16748
16749 fi
16750
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752
16753
16754 fi
16755 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16756 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16757 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16758 :; SUNCC=yes
16759 else
16760 :;
16761 fi
16762 ac_ext=c
16763 ac_cpp='$CPP $CPPFLAGS'
16764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16767
16768
16769
16770 ;;
16771 esac
16772 fi
16773
16774
16775
16776 ac_ext=c
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16781 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16782 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16783 # On Suns, sometimes $CPP names a directory.
16784 if test -n "$CPP" && test -d "$CPP"; then
16785 CPP=
16786 fi
16787 if test -z "$CPP"; then
16788 if test "${ac_cv_prog_CPP+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 else
16791 # Double quotes because CPP needs to be expanded
16792 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16793 do
16794 ac_preproc_ok=false
16795 for ac_c_preproc_warn_flag in '' yes
16796 do
16797 # Use a header file that comes with gcc, so configuring glibc
16798 # with a fresh cross-compiler works.
16799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16800 # <limits.h> exists even on freestanding compilers.
16801 # On the NeXT, cc -E runs the code through the compiler's parser,
16802 # not just through cpp. "Syntax error" is here to catch this case.
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #ifdef __STDC__
16810 # include <limits.h>
16811 #else
16812 # include <assert.h>
16813 #endif
16814 Syntax error
16815 _ACEOF
16816 if { (ac_try="$ac_cpp conftest.$ac_ext"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16820 esac
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16823 ac_status=$?
16824 grep -v '^ *+' conftest.er1 >conftest.err
16825 rm -f conftest.er1
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } >/dev/null && {
16829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 }; then
16832 :
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837 # Broken: fails on valid input.
16838 continue
16839 fi
16840
16841 rm -f conftest.err conftest.$ac_ext
16842
16843 # OK, works on sane cases. Now check whether nonexistent headers
16844 # can be detected and how.
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 #include <ac_nonexistent.h>
16852 _ACEOF
16853 if { (ac_try="$ac_cpp conftest.$ac_ext"
16854 case "(($ac_try" in
16855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16857 esac
16858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null && {
16866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16868 }; then
16869 # Broken: success on invalid input.
16870 continue
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 # Passes both tests.
16876 ac_preproc_ok=:
16877 break
16878 fi
16879
16880 rm -f conftest.err conftest.$ac_ext
16881
16882 done
16883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16884 rm -f conftest.err conftest.$ac_ext
16885 if $ac_preproc_ok; then
16886 break
16887 fi
16888
16889 done
16890 ac_cv_prog_CPP=$CPP
16891
16892 fi
16893 CPP=$ac_cv_prog_CPP
16894 else
16895 ac_cv_prog_CPP=$CPP
16896 fi
16897 { echo "$as_me:$LINENO: result: $CPP" >&5
16898 echo "${ECHO_T}$CPP" >&6; }
16899 ac_preproc_ok=false
16900 for ac_c_preproc_warn_flag in '' yes
16901 do
16902 # Use a header file that comes with gcc, so configuring glibc
16903 # with a fresh cross-compiler works.
16904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16905 # <limits.h> exists even on freestanding compilers.
16906 # On the NeXT, cc -E runs the code through the compiler's parser,
16907 # not just through cpp. "Syntax error" is here to catch this case.
16908 cat >conftest.$ac_ext <<_ACEOF
16909 /* confdefs.h. */
16910 _ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 #ifdef __STDC__
16915 # include <limits.h>
16916 #else
16917 # include <assert.h>
16918 #endif
16919 Syntax error
16920 _ACEOF
16921 if { (ac_try="$ac_cpp conftest.$ac_ext"
16922 case "(($ac_try" in
16923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16924 *) ac_try_echo=$ac_try;;
16925 esac
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16928 ac_status=$?
16929 grep -v '^ *+' conftest.er1 >conftest.err
16930 rm -f conftest.er1
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } >/dev/null && {
16934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16936 }; then
16937 :
16938 else
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16941
16942 # Broken: fails on valid input.
16943 continue
16944 fi
16945
16946 rm -f conftest.err conftest.$ac_ext
16947
16948 # OK, works on sane cases. Now check whether nonexistent headers
16949 # can be detected and how.
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 #include <ac_nonexistent.h>
16957 _ACEOF
16958 if { (ac_try="$ac_cpp conftest.$ac_ext"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } >/dev/null && {
16971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16972 test ! -s conftest.err
16973 }; then
16974 # Broken: success on invalid input.
16975 continue
16976 else
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16979
16980 # Passes both tests.
16981 ac_preproc_ok=:
16982 break
16983 fi
16984
16985 rm -f conftest.err conftest.$ac_ext
16986
16987 done
16988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16989 rm -f conftest.err conftest.$ac_ext
16990 if $ac_preproc_ok; then
16991 :
16992 else
16993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16994 See \`config.log' for more details." >&5
16995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16996 See \`config.log' for more details." >&2;}
16997 { (exit 1); exit 1; }; }
16998 fi
16999
17000 ac_ext=c
17001 ac_cpp='$CPP $CPPFLAGS'
17002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17005
17006
17007 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17008 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17009 if test "${ac_cv_path_GREP+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17012 # Extract the first word of "grep ggrep" to use in msg output
17013 if test -z "$GREP"; then
17014 set dummy grep ggrep; ac_prog_name=$2
17015 if test "${ac_cv_path_GREP+set}" = set; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 else
17018 ac_path_GREP_found=false
17019 # Loop through the user's path and test for each of PROGNAME-LIST
17020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17022 do
17023 IFS=$as_save_IFS
17024 test -z "$as_dir" && as_dir=.
17025 for ac_prog in grep ggrep; do
17026 for ac_exec_ext in '' $ac_executable_extensions; do
17027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17029 # Check for GNU ac_path_GREP and select it if it is found.
17030 # Check for GNU $ac_path_GREP
17031 case `"$ac_path_GREP" --version 2>&1` in
17032 *GNU*)
17033 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17034 *)
17035 ac_count=0
17036 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17037 while :
17038 do
17039 cat "conftest.in" "conftest.in" >"conftest.tmp"
17040 mv "conftest.tmp" "conftest.in"
17041 cp "conftest.in" "conftest.nl"
17042 echo 'GREP' >> "conftest.nl"
17043 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17045 ac_count=`expr $ac_count + 1`
17046 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17047 # Best one so far, save it but keep looking for a better one
17048 ac_cv_path_GREP="$ac_path_GREP"
17049 ac_path_GREP_max=$ac_count
17050 fi
17051 # 10*(2^10) chars as input seems more than enough
17052 test $ac_count -gt 10 && break
17053 done
17054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17055 esac
17056
17057
17058 $ac_path_GREP_found && break 3
17059 done
17060 done
17061
17062 done
17063 IFS=$as_save_IFS
17064
17065
17066 fi
17067
17068 GREP="$ac_cv_path_GREP"
17069 if test -z "$GREP"; then
17070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17072 { (exit 1); exit 1; }; }
17073 fi
17074
17075 else
17076 ac_cv_path_GREP=$GREP
17077 fi
17078
17079
17080 fi
17081 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17082 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17083 GREP="$ac_cv_path_GREP"
17084
17085
17086 { echo "$as_me:$LINENO: checking for egrep" >&5
17087 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17088 if test "${ac_cv_path_EGREP+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17092 then ac_cv_path_EGREP="$GREP -E"
17093 else
17094 # Extract the first word of "egrep" to use in msg output
17095 if test -z "$EGREP"; then
17096 set dummy egrep; ac_prog_name=$2
17097 if test "${ac_cv_path_EGREP+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 ac_path_EGREP_found=false
17101 # Loop through the user's path and test for each of PROGNAME-LIST
17102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17104 do
17105 IFS=$as_save_IFS
17106 test -z "$as_dir" && as_dir=.
17107 for ac_prog in egrep; do
17108 for ac_exec_ext in '' $ac_executable_extensions; do
17109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17111 # Check for GNU ac_path_EGREP and select it if it is found.
17112 # Check for GNU $ac_path_EGREP
17113 case `"$ac_path_EGREP" --version 2>&1` in
17114 *GNU*)
17115 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17116 *)
17117 ac_count=0
17118 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17119 while :
17120 do
17121 cat "conftest.in" "conftest.in" >"conftest.tmp"
17122 mv "conftest.tmp" "conftest.in"
17123 cp "conftest.in" "conftest.nl"
17124 echo 'EGREP' >> "conftest.nl"
17125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17126 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17127 ac_count=`expr $ac_count + 1`
17128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17129 # Best one so far, save it but keep looking for a better one
17130 ac_cv_path_EGREP="$ac_path_EGREP"
17131 ac_path_EGREP_max=$ac_count
17132 fi
17133 # 10*(2^10) chars as input seems more than enough
17134 test $ac_count -gt 10 && break
17135 done
17136 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17137 esac
17138
17139
17140 $ac_path_EGREP_found && break 3
17141 done
17142 done
17143
17144 done
17145 IFS=$as_save_IFS
17146
17147
17148 fi
17149
17150 EGREP="$ac_cv_path_EGREP"
17151 if test -z "$EGREP"; then
17152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17154 { (exit 1); exit 1; }; }
17155 fi
17156
17157 else
17158 ac_cv_path_EGREP=$EGREP
17159 fi
17160
17161
17162 fi
17163 fi
17164 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17165 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17166 EGREP="$ac_cv_path_EGREP"
17167
17168
17169 if test $ac_cv_c_compiler_gnu = yes; then
17170 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17171 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17172 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 else
17175 ac_pattern="Autoconf.*'x'"
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182 #include <sgtty.h>
17183 Autoconf TIOCGETP
17184 _ACEOF
17185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17186 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17187 ac_cv_prog_gcc_traditional=yes
17188 else
17189 ac_cv_prog_gcc_traditional=no
17190 fi
17191 rm -f conftest*
17192
17193
17194 if test $ac_cv_prog_gcc_traditional = no; then
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 #include <termio.h>
17202 Autoconf TCGETA
17203 _ACEOF
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17206 ac_cv_prog_gcc_traditional=yes
17207 fi
17208 rm -f conftest*
17209
17210 fi
17211 fi
17212 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17213 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17214 if test $ac_cv_prog_gcc_traditional = yes; then
17215 CC="$CC -traditional"
17216 fi
17217 fi
17218
17219
17220 CXXFLAGS=${CXXFLAGS:=}
17221 ac_ext=cpp
17222 ac_cpp='$CXXCPP $CPPFLAGS'
17223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17226 if test -z "$CXX"; then
17227 if test -n "$CCC"; then
17228 CXX=$CCC
17229 else
17230 if test -n "$ac_tool_prefix"; then
17231 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17232 do
17233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17237 if test "${ac_cv_prog_CXX+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 if test -n "$CXX"; then
17241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17242 else
17243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17244 for as_dir in $PATH
17245 do
17246 IFS=$as_save_IFS
17247 test -z "$as_dir" && as_dir=.
17248 for ac_exec_ext in '' $ac_executable_extensions; do
17249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17252 break 2
17253 fi
17254 done
17255 done
17256 IFS=$as_save_IFS
17257
17258 fi
17259 fi
17260 CXX=$ac_cv_prog_CXX
17261 if test -n "$CXX"; then
17262 { echo "$as_me:$LINENO: result: $CXX" >&5
17263 echo "${ECHO_T}$CXX" >&6; }
17264 else
17265 { echo "$as_me:$LINENO: result: no" >&5
17266 echo "${ECHO_T}no" >&6; }
17267 fi
17268
17269
17270 test -n "$CXX" && break
17271 done
17272 fi
17273 if test -z "$CXX"; then
17274 ac_ct_CXX=$CXX
17275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17276 do
17277 # Extract the first word of "$ac_prog", so it can be a program name with args.
17278 set dummy $ac_prog; ac_word=$2
17279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 if test -n "$ac_ct_CXX"; then
17285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17286 else
17287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17288 for as_dir in $PATH
17289 do
17290 IFS=$as_save_IFS
17291 test -z "$as_dir" && as_dir=.
17292 for ac_exec_ext in '' $ac_executable_extensions; do
17293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17294 ac_cv_prog_ac_ct_CXX="$ac_prog"
17295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17296 break 2
17297 fi
17298 done
17299 done
17300 IFS=$as_save_IFS
17301
17302 fi
17303 fi
17304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17305 if test -n "$ac_ct_CXX"; then
17306 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17307 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17308 else
17309 { echo "$as_me:$LINENO: result: no" >&5
17310 echo "${ECHO_T}no" >&6; }
17311 fi
17312
17313
17314 test -n "$ac_ct_CXX" && break
17315 done
17316
17317 if test "x$ac_ct_CXX" = x; then
17318 CXX="g++"
17319 else
17320 case $cross_compiling:$ac_tool_warned in
17321 yes:)
17322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17323 whose name does not start with the host triplet. If you think this
17324 configuration is useful to you, please write to autoconf@gnu.org." >&5
17325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17326 whose name does not start with the host triplet. If you think this
17327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17328 ac_tool_warned=yes ;;
17329 esac
17330 CXX=$ac_ct_CXX
17331 fi
17332 fi
17333
17334 fi
17335 fi
17336 # Provide some information about the compiler.
17337 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17338 ac_compiler=`set X $ac_compile; echo $2`
17339 { (ac_try="$ac_compiler --version >&5"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17343 esac
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_compiler --version >&5") 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }
17349 { (ac_try="$ac_compiler -v >&5"
17350 case "(($ac_try" in
17351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17352 *) ac_try_echo=$ac_try;;
17353 esac
17354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17355 (eval "$ac_compiler -v >&5") 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }
17359 { (ac_try="$ac_compiler -V >&5"
17360 case "(($ac_try" in
17361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17362 *) ac_try_echo=$ac_try;;
17363 esac
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_compiler -V >&5") 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }
17369
17370 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17371 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17372 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 else
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h. */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381
17382 int
17383 main ()
17384 {
17385 #ifndef __GNUC__
17386 choke me
17387 #endif
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 ac_compiler_gnu=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 ac_compiler_gnu=no
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17424 GXX=`test $ac_compiler_gnu = yes && echo yes`
17425 ac_test_CXXFLAGS=${CXXFLAGS+set}
17426 ac_save_CXXFLAGS=$CXXFLAGS
17427 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17428 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17429 if test "${ac_cv_prog_cxx_g+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17433 ac_cxx_werror_flag=yes
17434 ac_cv_prog_cxx_g=no
17435 CXXFLAGS="-g"
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442
17443 int
17444 main ()
17445 {
17446
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (ac_try="$ac_compile"
17453 case "(($ac_try" in
17454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17455 *) ac_try_echo=$ac_try;;
17456 esac
17457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17458 (eval "$ac_compile") 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } && {
17465 test -z "$ac_cxx_werror_flag" ||
17466 test ! -s conftest.err
17467 } && test -s conftest.$ac_objext; then
17468 ac_cv_prog_cxx_g=yes
17469 else
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17472
17473 CXXFLAGS=""
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480
17481 int
17482 main ()
17483 {
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (ac_try="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17494 esac
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 :
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17512 CXXFLAGS="-g"
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519
17520 int
17521 main ()
17522 {
17523
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17533 esac
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_cxx_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 ac_cv_prog_cxx_g=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17549
17550
17551 fi
17552
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 fi
17555
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557 fi
17558
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17561 fi
17562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17563 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17564 if test "$ac_test_CXXFLAGS" = set; then
17565 CXXFLAGS=$ac_save_CXXFLAGS
17566 elif test $ac_cv_prog_cxx_g = yes; then
17567 if test "$GXX" = yes; then
17568 CXXFLAGS="-g -O2"
17569 else
17570 CXXFLAGS="-g"
17571 fi
17572 else
17573 if test "$GXX" = yes; then
17574 CXXFLAGS="-O2"
17575 else
17576 CXXFLAGS=
17577 fi
17578 fi
17579 ac_ext=c
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17584
17585
17586
17587
17588
17589
17590
17591
17592 ac_ext=cpp
17593 ac_cpp='$CXXCPP $CPPFLAGS'
17594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17597
17598 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609
17610 int
17611 main ()
17612 {
17613
17614 #ifndef __INTEL_COMPILER
17615 choke me
17616 #endif
17617
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17627 esac
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17630 ac_status=$?
17631 grep -v '^ *+' conftest.er1 >conftest.err
17632 rm -f conftest.er1
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_cxx_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17645
17646 fi
17647
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649
17650
17651 fi
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17653 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17654 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17655 :; INTELCXX=yes
17656 else
17657 :;
17658 fi
17659 ac_ext=c
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664
17665
17666
17667
17668 if test "$INTELCXX" = "yes"; then
17669
17670
17671 ac_ext=cpp
17672 ac_cpp='$CXXCPP $CPPFLAGS'
17673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17676
17677 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17678 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17679 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 else
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688
17689 int
17690 main ()
17691 {
17692
17693 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17694 choke me
17695 #endif
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_cxx_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17724
17725 fi
17726
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729
17730 fi
17731 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17732 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17733 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17734 :; INTELCXX8=yes
17735 else
17736 :;
17737 fi
17738 ac_ext=c
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17743
17744
17745
17746
17747
17748 ac_ext=cpp
17749 ac_cpp='$CXXCPP $CPPFLAGS'
17750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17753
17754 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17755 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17756 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 else
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765
17766 int
17767 main ()
17768 {
17769
17770 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17771 choke me
17772 #endif
17773
17774 ;
17775 return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17782 *) ac_try_echo=$ac_try;;
17783 esac
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17786 ac_status=$?
17787 grep -v '^ *+' conftest.er1 >conftest.err
17788 rm -f conftest.er1
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_cxx_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.$ac_objext; then
17795 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17796 else
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17799
17800 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17801
17802 fi
17803
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806
17807 fi
17808 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17809 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17810 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17811 :; INTELCXX10=yes
17812 else
17813 :;
17814 fi
17815 ac_ext=c
17816 ac_cpp='$CPP $CPPFLAGS'
17817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17820
17821
17822
17823 fi
17824
17825 if test "x$GCXX" != "xyes"; then
17826 if test "xCXX" = "xC"; then
17827 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17828 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17829 if test "${bakefile_cv_c_exto+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838
17839 int
17840 main ()
17841 {
17842
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 rm -f conftest.$ac_objext conftest.$ac_ext.o
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; then
17853 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17854 case $ac_file in
17855 conftest.$ac_ext.o)
17856 bakefile_cv_c_exto="-ext o"
17857 ;;
17858 *)
17859 ;;
17860 esac
17861 done
17862 else
17863 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17864 See \`config.log' for more details." >&5
17865 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17866 See \`config.log' for more details." >&2;}
17867 { (exit 1); exit 1; }; }
17868
17869 fi
17870
17871 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17875 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17876 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17877 if test "c" = "c"; then
17878 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17879 fi
17880 if test "c" = "cxx"; then
17881 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17882 fi
17883 fi
17884
17885 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17886 unset ac_cv_prog_cc_g
17887 ac_test_CFLAGS=${CFLAGS+set}
17888 ac_save_CFLAGS=$CFLAGS
17889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17891 if test "${ac_cv_prog_cc_g+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 ac_save_c_werror_flag=$ac_c_werror_flag
17895 ac_c_werror_flag=yes
17896 ac_cv_prog_cc_g=no
17897 CFLAGS="-g"
17898 cat >conftest.$ac_ext <<_ACEOF
17899 /* confdefs.h. */
17900 _ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17904
17905 int
17906 main ()
17907 {
17908
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (ac_try="$ac_compile"
17915 case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17918 esac
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_compile") 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && {
17927 test -z "$ac_c_werror_flag" ||
17928 test ! -s conftest.err
17929 } && test -s conftest.$ac_objext; then
17930 ac_cv_prog_cc_g=yes
17931 else
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.$ac_ext >&5
17934
17935 CFLAGS=""
17936 cat >conftest.$ac_ext <<_ACEOF
17937 /* confdefs.h. */
17938 _ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17942
17943 int
17944 main ()
17945 {
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17956 esac
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17968 :
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17972
17973 ac_c_werror_flag=$ac_save_c_werror_flag
17974 CFLAGS="-g"
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981
17982 int
17983 main ()
17984 {
17985
17986 ;
17987 return 0;
17988 }
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17995 esac
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17998 ac_status=$?
17999 grep -v '^ *+' conftest.er1 >conftest.err
18000 rm -f conftest.er1
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 ac_cv_prog_cc_g=yes
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012
18013 fi
18014
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 fi
18017
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 fi
18020
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 ac_c_werror_flag=$ac_save_c_werror_flag
18023 fi
18024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18026 if test "$ac_test_CFLAGS" = set; then
18027 CFLAGS=$ac_save_CFLAGS
18028 elif test $ac_cv_prog_cc_g = yes; then
18029 if test "$GCC" = yes; then
18030 CFLAGS="-g -O2"
18031 else
18032 CFLAGS="-g"
18033 fi
18034 else
18035 if test "$GCC" = yes; then
18036 CFLAGS="-O2"
18037 else
18038 CFLAGS=
18039 fi
18040 fi
18041 fi
18042 fi
18043
18044 case `uname -s` in
18045 AIX*)
18046
18047
18048 ac_ext=cpp
18049 ac_cpp='$CXXCPP $CPPFLAGS'
18050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18053
18054 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18055 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18056 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 else
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065
18066 int
18067 main ()
18068 {
18069
18070 #ifndef __xlC__
18071 choke me
18072 #endif
18073
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18083 esac
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_cxx_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 bakefile_cv_cxx_compiler___xlC__=yes
18096 else
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18099
18100 bakefile_cv_cxx_compiler___xlC__=no
18101
18102 fi
18103
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105
18106
18107 fi
18108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18109 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18110 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18111 :; XLCXX=yes
18112 else
18113 :;
18114 fi
18115 ac_ext=c
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120
18121
18122
18123 ;;
18124
18125 Darwin)
18126
18127
18128 ac_ext=cpp
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133
18134 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18135 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18136 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18138 else
18139 cat >conftest.$ac_ext <<_ACEOF
18140 /* confdefs.h. */
18141 _ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18145
18146 int
18147 main ()
18148 {
18149
18150 #ifndef __MWERKS__
18151 choke me
18152 #endif
18153
18154 ;
18155 return 0;
18156 }
18157 _ACEOF
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162 *) ac_try_echo=$ac_try;;
18163 esac
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18166 ac_status=$?
18167 grep -v '^ *+' conftest.er1 >conftest.err
18168 rm -f conftest.er1
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_cxx_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.$ac_objext; then
18175 bakefile_cv_cxx_compiler___MWERKS__=yes
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18179
18180 bakefile_cv_cxx_compiler___MWERKS__=no
18181
18182 fi
18183
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185
18186
18187 fi
18188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18190 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18191 :; MWCXX=yes
18192 else
18193 :;
18194 fi
18195 ac_ext=c
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200
18201
18202
18203 if test "$MWCXX" != "yes"; then
18204
18205
18206 ac_ext=cpp
18207 ac_cpp='$CXXCPP $CPPFLAGS'
18208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18211
18212 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18213 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18214 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 else
18217 cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h. */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223
18224 int
18225 main ()
18226 {
18227
18228 #ifndef __xlC__
18229 choke me
18230 #endif
18231
18232 ;
18233 return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (ac_try="$ac_compile"
18238 case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18241 esac
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_compile") 2>conftest.er1
18244 ac_status=$?
18245 grep -v '^ *+' conftest.er1 >conftest.err
18246 rm -f conftest.er1
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } && {
18250 test -z "$ac_cxx_werror_flag" ||
18251 test ! -s conftest.err
18252 } && test -s conftest.$ac_objext; then
18253 bakefile_cv_cxx_compiler___xlC__=yes
18254 else
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18257
18258 bakefile_cv_cxx_compiler___xlC__=no
18259
18260 fi
18261
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263
18264
18265 fi
18266 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18267 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18268 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18269 :; XLCXX=yes
18270 else
18271 :;
18272 fi
18273 ac_ext=c
18274 ac_cpp='$CPP $CPPFLAGS'
18275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18278
18279
18280
18281 fi
18282 ;;
18283
18284 IRIX*)
18285
18286
18287 ac_ext=cpp
18288 ac_cpp='$CXXCPP $CPPFLAGS'
18289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18292
18293 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18294 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18295 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 cat >conftest.$ac_ext <<_ACEOF
18299 /* confdefs.h. */
18300 _ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304
18305 int
18306 main ()
18307 {
18308
18309 #ifndef _SGI_COMPILER_VERSION
18310 choke me
18311 #endif
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18338
18339 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18340
18341 fi
18342
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344
18345
18346 fi
18347 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18348 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18349 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18350 :; SGICXX=yes
18351 else
18352 :;
18353 fi
18354 ac_ext=c
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359
18360
18361
18362 ;;
18363
18364 Linux*)
18365 if test "$INTELCXX" != "yes"; then
18366
18367
18368 ac_ext=cpp
18369 ac_cpp='$CXXCPP $CPPFLAGS'
18370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18373
18374 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18375 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18376 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18378 else
18379 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */
18381 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385
18386 int
18387 main ()
18388 {
18389
18390 #ifndef __SUNPRO_CC
18391 choke me
18392 #endif
18393
18394 ;
18395 return 0;
18396 }
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_cxx_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18421
18422 fi
18423
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425
18426
18427 fi
18428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18430 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18431 :; SUNCXX=yes
18432 else
18433 :;
18434 fi
18435 ac_ext=c
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440
18441
18442
18443 fi
18444 ;;
18445
18446 HP-UX*)
18447
18448
18449 ac_ext=cpp
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18454
18455 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18456 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18457 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460 cat >conftest.$ac_ext <<_ACEOF
18461 /* confdefs.h. */
18462 _ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466
18467 int
18468 main ()
18469 {
18470
18471 #ifndef __HP_aCC
18472 choke me
18473 #endif
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18484 esac
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_cxx_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18496 bakefile_cv_cxx_compiler___HP_aCC=yes
18497 else
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18500
18501 bakefile_cv_cxx_compiler___HP_aCC=no
18502
18503 fi
18504
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18506
18507
18508 fi
18509 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18510 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18511 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18512 :; HPCXX=yes
18513 else
18514 :;
18515 fi
18516 ac_ext=c
18517 ac_cpp='$CPP $CPPFLAGS'
18518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18521
18522
18523
18524 ;;
18525
18526 OSF1)
18527
18528
18529 ac_ext=cpp
18530 ac_cpp='$CXXCPP $CPPFLAGS'
18531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18534
18535 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18536 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18537 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 else
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546
18547 int
18548 main ()
18549 {
18550
18551 #ifndef __DECCXX
18552 choke me
18553 #endif
18554
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_cxx_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 bakefile_cv_cxx_compiler___DECCXX=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 bakefile_cv_cxx_compiler___DECCXX=no
18582
18583 fi
18584
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586
18587
18588 fi
18589 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18590 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18591 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18592 :; COMPAQCXX=yes
18593 else
18594 :;
18595 fi
18596 ac_ext=c
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18601
18602
18603
18604 ;;
18605
18606 SunOS)
18607
18608
18609 ac_ext=cpp
18610 ac_cpp='$CXXCPP $CPPFLAGS'
18611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18614
18615 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18616 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18617 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626
18627 int
18628 main ()
18629 {
18630
18631 #ifndef __SUNPRO_CC
18632 choke me
18633 #endif
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_cxx_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18662
18663 fi
18664
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18672 :; SUNCXX=yes
18673 else
18674 :;
18675 fi
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684 ;;
18685 esac
18686 fi
18687
18688
18689
18690 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18691 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18692 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18693 { (exit 1); exit 1; }; }
18694 fi
18695
18696 if test "x$SUNCXX" != xyes; then
18697 if test -n "$ac_tool_prefix"; then
18698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18699 set dummy ${ac_tool_prefix}ar; ac_word=$2
18700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18702 if test "${ac_cv_prog_AR+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 else
18705 if test -n "$AR"; then
18706 ac_cv_prog_AR="$AR" # Let the user override the test.
18707 else
18708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18709 for as_dir in $PATH
18710 do
18711 IFS=$as_save_IFS
18712 test -z "$as_dir" && as_dir=.
18713 for ac_exec_ext in '' $ac_executable_extensions; do
18714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18715 ac_cv_prog_AR="${ac_tool_prefix}ar"
18716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18717 break 2
18718 fi
18719 done
18720 done
18721 IFS=$as_save_IFS
18722
18723 fi
18724 fi
18725 AR=$ac_cv_prog_AR
18726 if test -n "$AR"; then
18727 { echo "$as_me:$LINENO: result: $AR" >&5
18728 echo "${ECHO_T}$AR" >&6; }
18729 else
18730 { echo "$as_me:$LINENO: result: no" >&5
18731 echo "${ECHO_T}no" >&6; }
18732 fi
18733
18734
18735 fi
18736 if test -z "$ac_cv_prog_AR"; then
18737 ac_ct_AR=$AR
18738 # Extract the first word of "ar", so it can be a program name with args.
18739 set dummy ar; ac_word=$2
18740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18745 if test -n "$ac_ct_AR"; then
18746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18747 else
18748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18749 for as_dir in $PATH
18750 do
18751 IFS=$as_save_IFS
18752 test -z "$as_dir" && as_dir=.
18753 for ac_exec_ext in '' $ac_executable_extensions; do
18754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18755 ac_cv_prog_ac_ct_AR="ar"
18756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18757 break 2
18758 fi
18759 done
18760 done
18761 IFS=$as_save_IFS
18762
18763 fi
18764 fi
18765 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18766 if test -n "$ac_ct_AR"; then
18767 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18768 echo "${ECHO_T}$ac_ct_AR" >&6; }
18769 else
18770 { echo "$as_me:$LINENO: result: no" >&5
18771 echo "${ECHO_T}no" >&6; }
18772 fi
18773
18774 if test "x$ac_ct_AR" = x; then
18775 AR=""
18776 else
18777 case $cross_compiling:$ac_tool_warned in
18778 yes:)
18779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18780 whose name does not start with the host triplet. If you think this
18781 configuration is useful to you, please write to autoconf@gnu.org." >&5
18782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18783 whose name does not start with the host triplet. If you think this
18784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18785 ac_tool_warned=yes ;;
18786 esac
18787 AR=$ac_ct_AR
18788 fi
18789 else
18790 AR="$ac_cv_prog_AR"
18791 fi
18792
18793 if test "x$AR" = "x" ; then
18794 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18795 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18796 { (exit 1); exit 1; }; }
18797 fi
18798 fi
18799
18800
18801 if test "$wxUSE_MAC" = 1; then
18802
18803 retest_macosx_linking=no
18804
18805 OSX_ARCH_OPTS=""
18806 if test "x$wxUSE_MAC_ARCH" != xno; then
18807 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18808 fi
18809
18810 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18811 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18812 # Implicitly turn on the new --with-macosx-sdk using the default
18813 # SDK which provides the behaviour this option has always had.
18814 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18815 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18816 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18817 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18818 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18819 wxUSE_MACOSX_SDK=yes
18820 fi
18821 else
18822 # Complain to user if he specified an argument to --enable-universal_binary
18823 # and also 1) specified --with-macosx-sdk using the default (yes) or
18824 # 2) specified --with-macosx-sdk using a path or 3) specified
18825 # --without-macosx-sdk (no).
18826 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18827 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18828 See \`config.log' for more details." >&5
18829 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18830 See \`config.log' for more details." >&2;}
18831 { (exit 1); exit 1; }; }
18832 else
18833 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18834 # special-case the empty string because the below test simply
18835 # converts "no" to the empty string anyway.
18836 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18837 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18838 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18839 fi
18840 fi
18841 OSX_ARCH_OPTS="-arch ppc -arch i386"
18842 if test "$wxUSE_OSX_COCOA" = 1; then
18843 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18844 fi
18845 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18846 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18847 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18848 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18849
18850 retest_macosx_linking=yes
18851
18852 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18853 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18854 bk_use_pch=no
18855 fi
18856
18857 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18858 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18859 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18860 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18861 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18862
18863 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18864 wxUSE_MACOSX_SDK=
18865 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18866 # TODO: Search for most recent SDK and use it.
18867 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18868 fi
18869
18870
18871 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18872 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18873 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18874 if ! test -d "$wxUSE_MACOSX_SDK"; then
18875 { { echo "$as_me:$LINENO: error: not found
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: not found
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 else
18881 { echo "$as_me:$LINENO: result: exists" >&5
18882 echo "${ECHO_T}exists" >&6; }
18883 fi
18884 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18885 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18886 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18887 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18888 retest_macosx_linking=yes
18889 fi
18890
18891 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18892 wxUSE_MACOSX_VERSION_MIN=
18893 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18894 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18895 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18896 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18897
18898 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/'`
18899
18900 # If that failed, try again with the new key
18901 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18902
18903 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/'`
18904
18905 fi
18906
18907 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18908 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18909 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18910 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18911 else
18912 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18913 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18914 wxUSE_MACOSX_VERSION_MIN=
18915 fi
18916 else
18917 wxUSE_MACOSX_VERSION_MIN=
18918 fi
18919 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18920 for ac_prog in sw_vers
18921 do
18922 # Extract the first word of "$ac_prog", so it can be a program name with args.
18923 set dummy $ac_prog; ac_word=$2
18924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18926 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929 if test -n "$OSX_SW_VERS"; then
18930 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18931 else
18932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18933 for as_dir in $PATH
18934 do
18935 IFS=$as_save_IFS
18936 test -z "$as_dir" && as_dir=.
18937 for ac_exec_ext in '' $ac_executable_extensions; do
18938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18939 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18941 break 2
18942 fi
18943 done
18944 done
18945 IFS=$as_save_IFS
18946
18947 fi
18948 fi
18949 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18950 if test -n "$OSX_SW_VERS"; then
18951 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18952 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18953 else
18954 { echo "$as_me:$LINENO: result: no" >&5
18955 echo "${ECHO_T}no" >&6; }
18956 fi
18957
18958
18959 test -n "$OSX_SW_VERS" && break
18960 done
18961
18962 if test "$OSX_SW_VERS" != ""; then
18963 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18964 else
18965 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18966 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18967 OSX_VERSION="10.4"
18968 fi
18969
18970 case "$OSX_VERSION" in
18971 10.4* )
18972 wxUSE_MACOSX_VERSION_MIN=10.4
18973 ;;
18974
18975 * )
18976 if test "$wxUSE_OSX_CARBON" = 1; then
18977 # otherwise configure stops on leopard for universal_binary
18978 wxUSE_MACOSX_VERSION_MIN=10.4
18979 else
18980 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18981 wxUSE_MACOSX_VERSION_MIN=10.5
18982 fi
18983 ;;
18984 esac
18985 fi
18986
18987 NEEDS_GCC40="no"
18988 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18989 NEEDS_GCC40="yes"
18990 fi
18991
18992 if test "$wxUSE_OSX_CARBON" = 1; then
18993 NEEDS_GCC40="yes"
18994 fi
18995
18996 if test "x$NEEDS_GCC40" == "xyes"; then
18997 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18998 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18999 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19000 if test "x$CC" = "xgcc"; then
19001 CCVERSION=`$CC --version | grep 4.[2-9].`
19002 if test "x$CCVERSION" != "x"; then
19003 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19004 CC="/usr/bin/gcc-4.0"
19005 fi
19006 fi
19007
19008 if test "x$CXX" = "xg++"; then
19009 CCVERSION=`$CXX --version | grep 4.[2-9].`
19010 if test "x$CCVERSION" != "x"; then
19011 CXX="/usr/bin/g++-4.0"
19012 fi
19013 fi
19014 fi
19015
19016 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19017 if test "$wxUSE_OSX_IPHONE" = 1; then
19018 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19019 else
19020 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19021 fi
19022 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19023 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19024 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19025 retest_macosx_linking=yes
19026 fi
19027
19028 if test "x$retest_macosx_linking" = "xyes"; then
19029 ac_ext=c
19030 ac_cpp='$CPP $CPPFLAGS'
19031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19034
19035 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19036 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043
19044 int
19045 main ()
19046 {
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext conftest$ac_exeext
19053 if { (ac_try="$ac_link"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19057 esac
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_link") 2>conftest.er1
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest$ac_exeext &&
19069 $as_test_x conftest$ac_exeext; then
19070 { echo "$as_me:$LINENO: result: yes" >&5
19071 echo "${ECHO_T}yes" >&6; }
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19077 See \`config.log' for more details." >&5
19078 echo "$as_me: error: no. Try a different SDK
19079 See \`config.log' for more details." >&2;}
19080 { (exit 1); exit 1; }; }; exit 1
19081 fi
19082
19083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19084 conftest$ac_exeext conftest.$ac_ext
19085 ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092 ac_ext=cpp
19093 ac_cpp='$CXXCPP $CPPFLAGS'
19094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19097
19098 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19099 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106
19107 int
19108 main ()
19109 {
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (ac_try="$ac_link"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_link") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_cxx_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest$ac_exeext &&
19132 $as_test_x conftest$ac_exeext; then
19133 { echo "$as_me:$LINENO: result: yes" >&5
19134 echo "${ECHO_T}yes" >&6; }
19135 else
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19138
19139 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19140 See \`config.log' for more details." >&5
19141 echo "$as_me: error: no. Try a different SDK
19142 See \`config.log' for more details." >&2;}
19143 { (exit 1); exit 1; }; }; exit 1
19144 fi
19145
19146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19147 conftest$ac_exeext conftest.$ac_ext
19148 ac_ext=c
19149 ac_cpp='$CPP $CPPFLAGS'
19150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19153
19154 fi
19155
19156 fi
19157 case "${host}" in
19158
19159 *-*-darwin* )
19160 INSTALL_PROGRAM="cp -fp"
19161 INSTALL_DATA="cp -fp"
19162 ;;
19163 *)
19164 ;;
19165 esac
19166
19167
19168 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19169 CXXFLAGS="-qunique $CXXFLAGS"
19170 fi
19171
19172 case "${host}" in
19173 powerpc-*-darwin* )
19174 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19175 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182
19183 int
19184 main ()
19185 {
19186 #ifndef __POWERPC__
19187 choke me for lack of PowerPC
19188 #endif
19189
19190 ;
19191 return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 { echo "$as_me:$LINENO: result: yes" >&5
19212 echo "${ECHO_T}yes" >&6; }
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 { echo "$as_me:$LINENO: result: no" >&5
19218 echo "${ECHO_T}no" >&6; }
19219 cat >>confdefs.h <<\_ACEOF
19220 #define __POWERPC__ 1
19221 _ACEOF
19222
19223
19224 fi
19225
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 ;;
19228 esac
19229
19230 case "${host}" in
19231 *-*-darwin* )
19232 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19233 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <CoreFoundation/CFBase.h>
19241
19242 int
19243 main ()
19244 {
19245
19246 ;
19247 return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (ac_try="$ac_compile"
19252 case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19255 esac
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_compile") 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err
19266 } && test -s conftest.$ac_objext; then
19267 { echo "$as_me:$LINENO: result: yes" >&5
19268 echo "${ECHO_T}yes" >&6; }
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19272
19273 { echo "$as_me:$LINENO: result: no" >&5
19274 echo "${ECHO_T}no" >&6; }
19275 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19276 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #define __CF_USE_FRAMEWORK_INCLUDES__
19284 #include <CoreFoundation/CFBase.h>
19285
19286 int
19287 main ()
19288 {
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 { echo "$as_me:$LINENO: result: yes" >&5
19312 echo "${ECHO_T}yes" >&6; }
19313 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19319 See \`config.log' for more details." >&5
19320 echo "$as_me: error: no. CoreFoundation not available.
19321 See \`config.log' for more details." >&2;}
19322 { (exit 1); exit 1; }; }
19323
19324 fi
19325
19326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19327
19328
19329 fi
19330
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 ;;
19333 esac
19334
19335 wants_win32=0
19336 doesnt_want_win32=0
19337 case "${host}" in
19338 *-*-cygwin*)
19339 if test "$wxUSE_MSW" = 1 ; then
19340 wants_win32=1
19341 else
19342 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19343 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19344 if test "${wx_cv_nocygwin+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 else
19347
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354
19355 int
19356 main ()
19357 {
19358
19359 #ifdef __MINGW32__
19360 choke me
19361 #endif
19362
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19372 esac
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 wx_cv_nocygwin=no
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 wx_cv_nocygwin=yes
19390
19391 fi
19392
19393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19394
19395
19396 fi
19397 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19398 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19399
19400 if test "$wx_cv_nocygwin" = "yes"; then
19401 wants_win32=1
19402 else
19403 doesnt_want_win32=1
19404 fi
19405 fi
19406 if test "$wants_win32" = 1 ; then
19407 BAKEFILE_FORCE_PLATFORM=win32
19408 fi
19409 ;;
19410 *-*-mingw*)
19411 wants_win32=1
19412 ;;
19413 esac
19414
19415 if test "$wxUSE_WINE" = "yes"; then
19416 wants_win32=1
19417 LDFLAGS_GUI="-mwindows"
19418 fi
19419
19420 if test "$wants_win32" = 1 ; then
19421 USE_UNIX=0
19422 USE_WIN32=1
19423 cat >>confdefs.h <<\_ACEOF
19424 #define __WIN32__ 1
19425 _ACEOF
19426
19427 cat >>confdefs.h <<\_ACEOF
19428 #define __WIN95__ 1
19429 _ACEOF
19430
19431 cat >>confdefs.h <<\_ACEOF
19432 #define __WINDOWS__ 1
19433 _ACEOF
19434
19435 cat >>confdefs.h <<\_ACEOF
19436 #define __GNUWIN32__ 1
19437 _ACEOF
19438
19439 cat >>confdefs.h <<\_ACEOF
19440 #define STRICT 1
19441 _ACEOF
19442
19443 fi
19444 if test "$doesnt_want_win32" = 1 ; then
19445 USE_UNIX=1
19446 USE_WIN32=0
19447 fi
19448
19449 if test "$USE_UNIX" = 1 ; then
19450 wxUSE_UNIX=yes
19451 cat >>confdefs.h <<\_ACEOF
19452 #define __UNIX__ 1
19453 _ACEOF
19454
19455 fi
19456
19457 case "${host}" in
19458 *-pc-os2_emx | *-pc-os2-emx )
19459 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19460 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19461 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19462 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 ac_check_lib_save_LIBS=$LIBS
19466 LIBS="-lcExt $LIBS"
19467 cat >conftest.$ac_ext <<_ACEOF
19468 /* confdefs.h. */
19469 _ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473
19474 /* Override any GCC internal prototype to avoid an error.
19475 Use char because int might match the return type of a GCC
19476 builtin and then its argument prototype would still apply. */
19477 #ifdef __cplusplus
19478 extern "C"
19479 #endif
19480 char drand48 ();
19481 int
19482 main ()
19483 {
19484 return drand48 ();
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 rm -f conftest.$ac_objext conftest$ac_exeext
19490 if { (ac_try="$ac_link"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_link") 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest$ac_exeext &&
19506 $as_test_x conftest$ac_exeext; then
19507 ac_cv_lib_cExt_drand48=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19511
19512 ac_cv_lib_cExt_drand48=no
19513 fi
19514
19515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19516 conftest$ac_exeext conftest.$ac_ext
19517 LIBS=$ac_check_lib_save_LIBS
19518 fi
19519 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19520 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19521 if test $ac_cv_lib_cExt_drand48 = yes; then
19522 LIBS="$LIBS -lcExt"
19523 fi
19524
19525 else
19526 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19527 fi
19528 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19529 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19530 if test "${wx_cv_gccversion+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 else
19533
19534 if test "$cross_compiling" = yes; then
19535 wx_cv_gccversion="EMX2"
19536
19537 else
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544
19545 #include <stdio.h>
19546
19547 int main()
19548 {
19549 FILE *f=fopen("conftestval", "w");
19550 if (!f) exit(1);
19551 fprintf(f,
19552 #if (__GNUC__ < 3)
19553 "EMX2"
19554 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19555 "EMX3"
19556 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19557 "Innotek5"
19558 #else
19559 "Innotek6"
19560 #endif
19561 );
19562 exit(0);
19563 }
19564
19565 _ACEOF
19566 rm -f conftest$ac_exeext
19567 if { (ac_try="$ac_link"
19568 case "(($ac_try" in
19569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19570 *) ac_try_echo=$ac_try;;
19571 esac
19572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19573 (eval "$ac_link") 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19577 { (case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19580 esac
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_try") 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 wx_cv_gccversion=`cat conftestval`
19587 else
19588 echo "$as_me: program exited with status $ac_status" >&5
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 ( exit $ac_status )
19593 wx_cv_gccversion="EMX2"
19594 fi
19595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19596 fi
19597
19598
19599
19600 fi
19601 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19602 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19603 if test "$wx_cv_gccversion" = "EMX2"; then
19604 LIBS="$LIBS -lstdcpp"
19605 LDFLAGS="$LDFLAGS -Zsysv-signals"
19606 else
19607 if test "$wx_cv_gccversion" = "EMX3"; then
19608 LIBS="$LIBS -lstdcxx -lgcc"
19609 LDFLAGS="$LDFLAGS -Zsysv-signals"
19610 else
19611 LIBS="$LIBS -lstdc++"
19612 fi
19613 fi
19614 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19615 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19616 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19617 wxUSE_OMF=yes
19618 enable_omf=yes
19619 fi
19620 ;;
19621 *)
19622
19623 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19624 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19625 if test "${ac_cv_string_strcasecmp+set}" = set; then
19626 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 else
19628
19629 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */
19631 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635
19636 #include <string.h>
19637
19638 int
19639 main ()
19640 {
19641
19642 strcasecmp("foo", "bar");
19643
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest.$ac_objext conftest$ac_exeext
19649 if { (ac_try="$ac_link"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_link") 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest$ac_exeext &&
19665 $as_test_x conftest$ac_exeext; then
19666 ac_cv_string_strcasecmp=yes
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 ac_cv_string_strcasecmp=no
19672
19673 fi
19674
19675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19676 conftest$ac_exeext conftest.$ac_ext
19677
19678 fi
19679 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19680 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19681
19682 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19683 cat >>confdefs.h <<\_ACEOF
19684 #define HAVE_STRCASECMP_IN_STRING_H 1
19685 _ACEOF
19686
19687 else
19688 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19689 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19690 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700
19701 #include <strings.h>
19702
19703 int
19704 main ()
19705 {
19706
19707 strcasecmp("foo", "bar");
19708
19709 ;
19710 return 0;
19711 }
19712 _ACEOF
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && {
19727 test -z "$ac_c_werror_flag" ||
19728 test ! -s conftest.err
19729 } && test -s conftest$ac_exeext &&
19730 $as_test_x conftest$ac_exeext; then
19731 ac_cv_strings_strcasecmp=yes
19732 else
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19735
19736 ac_cv_strings_strcasecmp=no
19737
19738 fi
19739
19740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19741 conftest$ac_exeext conftest.$ac_ext
19742
19743 fi
19744 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19745 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19746
19747 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19748 cat >>confdefs.h <<\_ACEOF
19749 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19750 _ACEOF
19751
19752 else
19753 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19754 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19755 { (exit 1); exit 1; }; }
19756 fi
19757 fi
19758
19759 ;;
19760 esac
19761
19762
19763 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19764 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19765 if test "${ac_cv_header_stdc+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 else
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <stdlib.h>
19775 #include <stdarg.h>
19776 #include <string.h>
19777 #include <float.h>
19778
19779 int
19780 main ()
19781 {
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_header_stdc=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 ac_cv_header_stdc=no
19810 fi
19811
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813
19814 if test $ac_cv_header_stdc = yes; then
19815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <string.h>
19823
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "memchr" >/dev/null 2>&1; then
19827 :
19828 else
19829 ac_cv_header_stdc=no
19830 fi
19831 rm -f conftest*
19832
19833 fi
19834
19835 if test $ac_cv_header_stdc = yes; then
19836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h. */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #include <stdlib.h>
19844
19845 _ACEOF
19846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19847 $EGREP "free" >/dev/null 2>&1; then
19848 :
19849 else
19850 ac_cv_header_stdc=no
19851 fi
19852 rm -f conftest*
19853
19854 fi
19855
19856 if test $ac_cv_header_stdc = yes; then
19857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19858 if test "$cross_compiling" = yes; then
19859 :
19860 else
19861 cat >conftest.$ac_ext <<_ACEOF
19862 /* confdefs.h. */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <ctype.h>
19868 #include <stdlib.h>
19869 #if ((' ' & 0x0FF) == 0x020)
19870 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19871 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19872 #else
19873 # define ISLOWER(c) \
19874 (('a' <= (c) && (c) <= 'i') \
19875 || ('j' <= (c) && (c) <= 'r') \
19876 || ('s' <= (c) && (c) <= 'z'))
19877 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19878 #endif
19879
19880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19881 int
19882 main ()
19883 {
19884 int i;
19885 for (i = 0; i < 256; i++)
19886 if (XOR (islower (i), ISLOWER (i))
19887 || toupper (i) != TOUPPER (i))
19888 return 2;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest$ac_exeext
19893 if { (ac_try="$ac_link"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_link") 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19903 { (case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19906 esac
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_try") 2>&5
19909 ac_status=$?
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19912 :
19913 else
19914 echo "$as_me: program exited with status $ac_status" >&5
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19917
19918 ( exit $ac_status )
19919 ac_cv_header_stdc=no
19920 fi
19921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19922 fi
19923
19924
19925 fi
19926 fi
19927 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19928 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19929 if test $ac_cv_header_stdc = yes; then
19930
19931 cat >>confdefs.h <<\_ACEOF
19932 #define STDC_HEADERS 1
19933 _ACEOF
19934
19935 fi
19936
19937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19948 inttypes.h stdint.h unistd.h
19949 do
19950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 else
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963
19964 #include <$ac_header>
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19974 ac_status=$?
19975 grep -v '^ *+' conftest.er1 >conftest.err
19976 rm -f conftest.er1
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } && {
19980 test -z "$ac_c_werror_flag" ||
19981 test ! -s conftest.err
19982 } && test -s conftest.$ac_objext; then
19983 eval "$as_ac_Header=yes"
19984 else
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.$ac_ext >&5
19987
19988 eval "$as_ac_Header=no"
19989 fi
19990
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 fi
19993 ac_res=`eval echo '${'$as_ac_Header'}'`
19994 { echo "$as_me:$LINENO: result: $ac_res" >&5
19995 echo "${ECHO_T}$ac_res" >&6; }
19996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19997 cat >>confdefs.h <<_ACEOF
19998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19999 _ACEOF
20000
20001 fi
20002
20003 done
20004
20005
20006
20007
20008 for ac_header in langinfo.h wchar.h
20009 do
20010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 else
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20023
20024 #include <$ac_header>
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 eval "$as_ac_Header=yes"
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20047
20048 eval "$as_ac_Header=no"
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 fi
20053 ac_res=`eval echo '${'$as_ac_Header'}'`
20054 { echo "$as_me:$LINENO: result: $ac_res" >&5
20055 echo "${ECHO_T}$ac_res" >&6; }
20056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20057 cat >>confdefs.h <<_ACEOF
20058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20059 _ACEOF
20060
20061 fi
20062
20063 done
20064
20065
20066 if test "$ac_cv_header_wchar_h" != "yes"; then
20067
20068 for ac_header in wcstr.h
20069 do
20070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083
20084 #include <$ac_header>
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 eval "$as_ac_Header=yes"
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 eval "$as_ac_Header=no"
20109 fi
20110
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 fi
20113 ac_res=`eval echo '${'$as_ac_Header'}'`
20114 { echo "$as_me:$LINENO: result: $ac_res" >&5
20115 echo "${ECHO_T}$ac_res" >&6; }
20116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20117 cat >>confdefs.h <<_ACEOF
20118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20119 _ACEOF
20120
20121 fi
20122
20123 done
20124
20125 fi
20126
20127 case "${host}" in
20128 *-pc-os2_emx | *-pc-os2-emx )
20129 if test $ac_cv_header_langinfo_h = "yes" \
20130 -a \( "$wx_cv_gccversion" = "EMX2" \
20131 -o "$wx_cv_gccversion" = "EMX3" \
20132 -o "$wx_cv_gccversion" = "Innotek5" \); then
20133 LIBS="$LIBS -lintl"
20134 fi
20135 ;;
20136 esac
20137
20138 if test "$USE_UNIX" = 1 ; then
20139
20140 for ac_header in sys/select.h
20141 do
20142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20155
20156 #include <$ac_header>
20157 _ACEOF
20158 rm -f conftest.$ac_objext
20159 if { (ac_try="$ac_compile"
20160 case "(($ac_try" in
20161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20163 esac
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_compile") 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && {
20172 test -z "$ac_c_werror_flag" ||
20173 test ! -s conftest.err
20174 } && test -s conftest.$ac_objext; then
20175 eval "$as_ac_Header=yes"
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20179
20180 eval "$as_ac_Header=no"
20181 fi
20182
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 fi
20185 ac_res=`eval echo '${'$as_ac_Header'}'`
20186 { echo "$as_me:$LINENO: result: $ac_res" >&5
20187 echo "${ECHO_T}$ac_res" >&6; }
20188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20189 cat >>confdefs.h <<_ACEOF
20190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20191 _ACEOF
20192
20193 fi
20194
20195 done
20196
20197 fi
20198
20199
20200 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20201 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20202 if test "${ac_cv_c_const+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 else
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h. */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211
20212 int
20213 main ()
20214 {
20215 /* FIXME: Include the comments suggested by Paul. */
20216 #ifndef __cplusplus
20217 /* Ultrix mips cc rejects this. */
20218 typedef int charset[2];
20219 const charset cs;
20220 /* SunOS 4.1.1 cc rejects this. */
20221 char const *const *pcpcc;
20222 char **ppc;
20223 /* NEC SVR4.0.2 mips cc rejects this. */
20224 struct point {int x, y;};
20225 static struct point const zero = {0,0};
20226 /* AIX XL C 1.02.0.0 rejects this.
20227 It does not let you subtract one const X* pointer from another in
20228 an arm of an if-expression whose if-part is not a constant
20229 expression */
20230 const char *g = "string";
20231 pcpcc = &g + (g ? g-g : 0);
20232 /* HPUX 7.0 cc rejects these. */
20233 ++pcpcc;
20234 ppc = (char**) pcpcc;
20235 pcpcc = (char const *const *) ppc;
20236 { /* SCO 3.2v4 cc rejects this. */
20237 char *t;
20238 char const *s = 0 ? (char *) 0 : (char const *) 0;
20239
20240 *t++ = 0;
20241 if (s) return 0;
20242 }
20243 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20244 int x[] = {25, 17};
20245 const int *foo = &x[0];
20246 ++foo;
20247 }
20248 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20249 typedef const int *iptr;
20250 iptr p = 0;
20251 ++p;
20252 }
20253 { /* AIX XL C 1.02.0.0 rejects this saying
20254 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20255 struct s { int j; const int *ap[3]; };
20256 struct s *b; b->j = 5;
20257 }
20258 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20259 const int foo = 10;
20260 if (!foo) return 0;
20261 }
20262 return !cs[0] && !zero.x;
20263 #endif
20264
20265 ;
20266 return 0;
20267 }
20268 _ACEOF
20269 rm -f conftest.$ac_objext
20270 if { (ac_try="$ac_compile"
20271 case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20274 esac
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_compile") 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } && {
20283 test -z "$ac_c_werror_flag" ||
20284 test ! -s conftest.err
20285 } && test -s conftest.$ac_objext; then
20286 ac_cv_c_const=yes
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ac_cv_c_const=no
20292 fi
20293
20294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20295 fi
20296 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20297 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20298 if test $ac_cv_c_const = no; then
20299
20300 cat >>confdefs.h <<\_ACEOF
20301 #define const
20302 _ACEOF
20303
20304 fi
20305
20306 { echo "$as_me:$LINENO: checking for inline" >&5
20307 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20308 if test "${ac_cv_c_inline+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 ac_cv_c_inline=no
20312 for ac_kw in inline __inline__ __inline; do
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #ifndef __cplusplus
20320 typedef int foo_t;
20321 static $ac_kw foo_t static_foo () {return 0; }
20322 $ac_kw foo_t foo () {return 0; }
20323 #endif
20324
20325 _ACEOF
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_cv_c_inline=$ac_kw
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348
20349 fi
20350
20351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20352 test "$ac_cv_c_inline" != no && break
20353 done
20354
20355 fi
20356 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20357 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20358
20359
20360 case $ac_cv_c_inline in
20361 inline | yes) ;;
20362 *)
20363 case $ac_cv_c_inline in
20364 no) ac_val=;;
20365 *) ac_val=$ac_cv_c_inline;;
20366 esac
20367 cat >>confdefs.h <<_ACEOF
20368 #ifndef __cplusplus
20369 #define inline $ac_val
20370 #endif
20371 _ACEOF
20372 ;;
20373 esac
20374
20375
20376 { echo "$as_me:$LINENO: checking for short" >&5
20377 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20378 if test "${ac_cv_type_short+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 else
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef short ac__type_new_;
20389 int
20390 main ()
20391 {
20392 if ((ac__type_new_ *) 0)
20393 return 0;
20394 if (sizeof (ac__type_new_))
20395 return 0;
20396 ;
20397 return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20405 esac
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.$ac_objext; then
20417 ac_cv_type_short=yes
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20421
20422 ac_cv_type_short=no
20423 fi
20424
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20426 fi
20427 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20428 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20429
20430 # The cast to long int works around a bug in the HP C Compiler
20431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20433 # This bug is HP SR number 8606223364.
20434 { echo "$as_me:$LINENO: checking size of short" >&5
20435 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20436 if test "${ac_cv_sizeof_short+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20439 if test "$cross_compiling" = yes; then
20440 # Depending upon the size, compute the lo and hi bounds.
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef short ac__type_sizeof_;
20449 int
20450 main ()
20451 {
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20453 test_array [0] = 0
20454
20455 ;
20456 return 0;
20457 }
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20464 esac
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20476 ac_lo=0 ac_mid=0
20477 while :; do
20478 cat >conftest.$ac_ext <<_ACEOF
20479 /* confdefs.h. */
20480 _ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef short ac__type_sizeof_;
20486 int
20487 main ()
20488 {
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20490 test_array [0] = 0
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20501 esac
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20504 ac_status=$?
20505 grep -v '^ *+' conftest.er1 >conftest.err
20506 rm -f conftest.er1
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_hi=$ac_mid; break
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20517
20518 ac_lo=`expr $ac_mid + 1`
20519 if test $ac_lo -le $ac_mid; then
20520 ac_lo= ac_hi=
20521 break
20522 fi
20523 ac_mid=`expr 2 '*' $ac_mid + 1`
20524 fi
20525
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 done
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20531
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 $ac_includes_default
20539 typedef short ac__type_sizeof_;
20540 int
20541 main ()
20542 {
20543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20544 test_array [0] = 0
20545
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20567 ac_hi=-1 ac_mid=-1
20568 while :; do
20569 cat >conftest.$ac_ext <<_ACEOF
20570 /* confdefs.h. */
20571 _ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef short ac__type_sizeof_;
20577 int
20578 main ()
20579 {
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20581 test_array [0] = 0
20582
20583 ;
20584 return 0;
20585 }
20586 _ACEOF
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20592 esac
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 ac_lo=$ac_mid; break
20605 else
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20608
20609 ac_hi=`expr '(' $ac_mid ')' - 1`
20610 if test $ac_mid -le $ac_hi; then
20611 ac_lo= ac_hi=
20612 break
20613 fi
20614 ac_mid=`expr 2 '*' $ac_mid`
20615 fi
20616
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 done
20619 else
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20622
20623 ac_lo= ac_hi=
20624 fi
20625
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 # Binary search between lo and hi bounds.
20631 while test "x$ac_lo" != "x$ac_hi"; do
20632 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 $ac_includes_default
20640 typedef short ac__type_sizeof_;
20641 int
20642 main ()
20643 {
20644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20645 test_array [0] = 0
20646
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20656 esac
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_hi=$ac_mid
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 ac_lo=`expr '(' $ac_mid ')' + 1`
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 done
20678 case $ac_lo in
20679 ?*) ac_cv_sizeof_short=$ac_lo;;
20680 '') if test "$ac_cv_type_short" = yes; then
20681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20682 See \`config.log' for more details." >&5
20683 echo "$as_me: error: cannot compute sizeof (short)
20684 See \`config.log' for more details." >&2;}
20685 { (exit 77); exit 77; }; }
20686 else
20687 ac_cv_sizeof_short=0
20688 fi ;;
20689 esac
20690 else
20691 cat >conftest.$ac_ext <<_ACEOF
20692 /* confdefs.h. */
20693 _ACEOF
20694 cat confdefs.h >>conftest.$ac_ext
20695 cat >>conftest.$ac_ext <<_ACEOF
20696 /* end confdefs.h. */
20697 $ac_includes_default
20698 typedef short ac__type_sizeof_;
20699 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20700 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20701 #include <stdio.h>
20702 #include <stdlib.h>
20703 int
20704 main ()
20705 {
20706
20707 FILE *f = fopen ("conftest.val", "w");
20708 if (! f)
20709 return 1;
20710 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20711 {
20712 long int i = longval ();
20713 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20714 return 1;
20715 fprintf (f, "%ld\n", i);
20716 }
20717 else
20718 {
20719 unsigned long int i = ulongval ();
20720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20721 return 1;
20722 fprintf (f, "%lu\n", i);
20723 }
20724 return ferror (f) || fclose (f) != 0;
20725
20726 ;
20727 return 0;
20728 }
20729 _ACEOF
20730 rm -f conftest$ac_exeext
20731 if { (ac_try="$ac_link"
20732 case "(($ac_try" in
20733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20734 *) ac_try_echo=$ac_try;;
20735 esac
20736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20737 (eval "$ac_link") 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20741 { (case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20744 esac
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_try") 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_cv_sizeof_short=`cat conftest.val`
20751 else
20752 echo "$as_me: program exited with status $ac_status" >&5
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ( exit $ac_status )
20757 if test "$ac_cv_type_short" = yes; then
20758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20759 See \`config.log' for more details." >&5
20760 echo "$as_me: error: cannot compute sizeof (short)
20761 See \`config.log' for more details." >&2;}
20762 { (exit 77); exit 77; }; }
20763 else
20764 ac_cv_sizeof_short=0
20765 fi
20766 fi
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20768 fi
20769 rm -f conftest.val
20770 fi
20771 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20772 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20773
20774
20775
20776 cat >>confdefs.h <<_ACEOF
20777 #define SIZEOF_SHORT $ac_cv_sizeof_short
20778 _ACEOF
20779
20780
20781 { echo "$as_me:$LINENO: checking for void *" >&5
20782 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20783 if test "${ac_cv_type_void_p+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20785 else
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef void * ac__type_new_;
20794 int
20795 main ()
20796 {
20797 if ((ac__type_new_ *) 0)
20798 return 0;
20799 if (sizeof (ac__type_new_))
20800 return 0;
20801 ;
20802 return 0;
20803 }
20804 _ACEOF
20805 rm -f conftest.$ac_objext
20806 if { (ac_try="$ac_compile"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20810 esac
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_compile") 2>conftest.er1
20813 ac_status=$?
20814 grep -v '^ *+' conftest.er1 >conftest.err
20815 rm -f conftest.er1
20816 cat conftest.err >&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } && {
20819 test -z "$ac_c_werror_flag" ||
20820 test ! -s conftest.err
20821 } && test -s conftest.$ac_objext; then
20822 ac_cv_type_void_p=yes
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 ac_cv_type_void_p=no
20828 fi
20829
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831 fi
20832 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20833 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20834
20835 # The cast to long int works around a bug in the HP C Compiler
20836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20838 # This bug is HP SR number 8606223364.
20839 { echo "$as_me:$LINENO: checking size of void *" >&5
20840 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20841 if test "${ac_cv_sizeof_void_p+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20844 if test "$cross_compiling" = yes; then
20845 # Depending upon the size, compute the lo and hi bounds.
20846 cat >conftest.$ac_ext <<_ACEOF
20847 /* confdefs.h. */
20848 _ACEOF
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 typedef void * ac__type_sizeof_;
20854 int
20855 main ()
20856 {
20857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20858 test_array [0] = 0
20859
20860 ;
20861 return 0;
20862 }
20863 _ACEOF
20864 rm -f conftest.$ac_objext
20865 if { (ac_try="$ac_compile"
20866 case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20869 esac
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_compile") 2>conftest.er1
20872 ac_status=$?
20873 grep -v '^ *+' conftest.er1 >conftest.err
20874 rm -f conftest.er1
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest.$ac_objext; then
20881 ac_lo=0 ac_mid=0
20882 while :; do
20883 cat >conftest.$ac_ext <<_ACEOF
20884 /* confdefs.h. */
20885 _ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef void * ac__type_sizeof_;
20891 int
20892 main ()
20893 {
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20895 test_array [0] = 0
20896
20897 ;
20898 return 0;
20899 }
20900 _ACEOF
20901 rm -f conftest.$ac_objext
20902 if { (ac_try="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20906 esac
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20909 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.$ac_objext; then
20918 ac_hi=$ac_mid; break
20919 else
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20922
20923 ac_lo=`expr $ac_mid + 1`
20924 if test $ac_lo -le $ac_mid; then
20925 ac_lo= ac_hi=
20926 break
20927 fi
20928 ac_mid=`expr 2 '*' $ac_mid + 1`
20929 fi
20930
20931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 done
20933 else
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 cat >conftest.$ac_ext <<_ACEOF
20938 /* confdefs.h. */
20939 _ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 typedef void * ac__type_sizeof_;
20945 int
20946 main ()
20947 {
20948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20949 test_array [0] = 0
20950
20951 ;
20952 return 0;
20953 }
20954 _ACEOF
20955 rm -f conftest.$ac_objext
20956 if { (ac_try="$ac_compile"
20957 case "(($ac_try" in
20958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20959 *) ac_try_echo=$ac_try;;
20960 esac
20961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20962 (eval "$ac_compile") 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } && {
20969 test -z "$ac_c_werror_flag" ||
20970 test ! -s conftest.err
20971 } && test -s conftest.$ac_objext; then
20972 ac_hi=-1 ac_mid=-1
20973 while :; do
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 $ac_includes_default
20981 typedef void * ac__type_sizeof_;
20982 int
20983 main ()
20984 {
20985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20986 test_array [0] = 0
20987
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 rm -f conftest.$ac_objext
20993 if { (ac_try="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20997 esac
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21000 ac_status=$?
21001 grep -v '^ *+' conftest.er1 >conftest.err
21002 rm -f conftest.er1
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21009 ac_lo=$ac_mid; break
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_hi=`expr '(' $ac_mid ')' - 1`
21015 if test $ac_mid -le $ac_hi; then
21016 ac_lo= ac_hi=
21017 break
21018 fi
21019 ac_mid=`expr 2 '*' $ac_mid`
21020 fi
21021
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 done
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21027
21028 ac_lo= ac_hi=
21029 fi
21030
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 # Binary search between lo and hi bounds.
21036 while test "x$ac_lo" != "x$ac_hi"; do
21037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21038 cat >conftest.$ac_ext <<_ACEOF
21039 /* confdefs.h. */
21040 _ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21045 typedef void * ac__type_sizeof_;
21046 int
21047 main ()
21048 {
21049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21050 test_array [0] = 0
21051
21052 ;
21053 return 0;
21054 }
21055 _ACEOF
21056 rm -f conftest.$ac_objext
21057 if { (ac_try="$ac_compile"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21061 esac
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21064 ac_status=$?
21065 grep -v '^ *+' conftest.er1 >conftest.err
21066 rm -f conftest.er1
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21073 ac_hi=$ac_mid
21074 else
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.$ac_ext >&5
21077
21078 ac_lo=`expr '(' $ac_mid ')' + 1`
21079 fi
21080
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 done
21083 case $ac_lo in
21084 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21085 '') if test "$ac_cv_type_void_p" = yes; then
21086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21087 See \`config.log' for more details." >&5
21088 echo "$as_me: error: cannot compute sizeof (void *)
21089 See \`config.log' for more details." >&2;}
21090 { (exit 77); exit 77; }; }
21091 else
21092 ac_cv_sizeof_void_p=0
21093 fi ;;
21094 esac
21095 else
21096 cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h. */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 $ac_includes_default
21103 typedef void * ac__type_sizeof_;
21104 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21105 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21106 #include <stdio.h>
21107 #include <stdlib.h>
21108 int
21109 main ()
21110 {
21111
21112 FILE *f = fopen ("conftest.val", "w");
21113 if (! f)
21114 return 1;
21115 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21116 {
21117 long int i = longval ();
21118 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21119 return 1;
21120 fprintf (f, "%ld\n", i);
21121 }
21122 else
21123 {
21124 unsigned long int i = ulongval ();
21125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21126 return 1;
21127 fprintf (f, "%lu\n", i);
21128 }
21129 return ferror (f) || fclose (f) != 0;
21130
21131 ;
21132 return 0;
21133 }
21134 _ACEOF
21135 rm -f conftest$ac_exeext
21136 if { (ac_try="$ac_link"
21137 case "(($ac_try" in
21138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21139 *) ac_try_echo=$ac_try;;
21140 esac
21141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21142 (eval "$ac_link") 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21146 { (case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21149 esac
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_try") 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_sizeof_void_p=`cat conftest.val`
21156 else
21157 echo "$as_me: program exited with status $ac_status" >&5
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ( exit $ac_status )
21162 if test "$ac_cv_type_void_p" = yes; then
21163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21164 See \`config.log' for more details." >&5
21165 echo "$as_me: error: cannot compute sizeof (void *)
21166 See \`config.log' for more details." >&2;}
21167 { (exit 77); exit 77; }; }
21168 else
21169 ac_cv_sizeof_void_p=0
21170 fi
21171 fi
21172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21173 fi
21174 rm -f conftest.val
21175 fi
21176 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21177 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21178
21179
21180
21181 cat >>confdefs.h <<_ACEOF
21182 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21183 _ACEOF
21184
21185
21186 { echo "$as_me:$LINENO: checking for int" >&5
21187 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21188 if test "${ac_cv_type_int+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef int ac__type_new_;
21199 int
21200 main ()
21201 {
21202 if ((ac__type_new_ *) 0)
21203 return 0;
21204 if (sizeof (ac__type_new_))
21205 return 0;
21206 ;
21207 return 0;
21208 }
21209 _ACEOF
21210 rm -f conftest.$ac_objext
21211 if { (ac_try="$ac_compile"
21212 case "(($ac_try" in
21213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21214 *) ac_try_echo=$ac_try;;
21215 esac
21216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21217 (eval "$ac_compile") 2>conftest.er1
21218 ac_status=$?
21219 grep -v '^ *+' conftest.er1 >conftest.err
21220 rm -f conftest.er1
21221 cat conftest.err >&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } && {
21224 test -z "$ac_c_werror_flag" ||
21225 test ! -s conftest.err
21226 } && test -s conftest.$ac_objext; then
21227 ac_cv_type_int=yes
21228 else
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21231
21232 ac_cv_type_int=no
21233 fi
21234
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236 fi
21237 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21238 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21239
21240 # The cast to long int works around a bug in the HP C Compiler
21241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21243 # This bug is HP SR number 8606223364.
21244 { echo "$as_me:$LINENO: checking size of int" >&5
21245 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21246 if test "${ac_cv_sizeof_int+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 else
21249 if test "$cross_compiling" = yes; then
21250 # Depending upon the size, compute the lo and hi bounds.
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h. */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef int ac__type_sizeof_;
21259 int
21260 main ()
21261 {
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21263 test_array [0] = 0
21264
21265 ;
21266 return 0;
21267 }
21268 _ACEOF
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 ac_lo=0 ac_mid=0
21287 while :; do
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef int ac__type_sizeof_;
21296 int
21297 main ()
21298 {
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21300 test_array [0] = 0
21301
21302 ;
21303 return 0;
21304 }
21305 _ACEOF
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21311 esac
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21314 ac_status=$?
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_hi=$ac_mid; break
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_lo=`expr $ac_mid + 1`
21329 if test $ac_lo -le $ac_mid; then
21330 ac_lo= ac_hi=
21331 break
21332 fi
21333 ac_mid=`expr 2 '*' $ac_mid + 1`
21334 fi
21335
21336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21337 done
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 typedef int ac__type_sizeof_;
21350 int
21351 main ()
21352 {
21353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21354 test_array [0] = 0
21355
21356 ;
21357 return 0;
21358 }
21359 _ACEOF
21360 rm -f conftest.$ac_objext
21361 if { (ac_try="$ac_compile"
21362 case "(($ac_try" in
21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364 *) ac_try_echo=$ac_try;;
21365 esac
21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367 (eval "$ac_compile") 2>conftest.er1
21368 ac_status=$?
21369 grep -v '^ *+' conftest.er1 >conftest.err
21370 rm -f conftest.er1
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } && {
21374 test -z "$ac_c_werror_flag" ||
21375 test ! -s conftest.err
21376 } && test -s conftest.$ac_objext; then
21377 ac_hi=-1 ac_mid=-1
21378 while :; do
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef int ac__type_sizeof_;
21387 int
21388 main ()
21389 {
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21391 test_array [0] = 0
21392
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21402 esac
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21405 ac_status=$?
21406 grep -v '^ *+' conftest.er1 >conftest.err
21407 rm -f conftest.er1
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21414 ac_lo=$ac_mid; break
21415 else
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21418
21419 ac_hi=`expr '(' $ac_mid ')' - 1`
21420 if test $ac_mid -le $ac_hi; then
21421 ac_lo= ac_hi=
21422 break
21423 fi
21424 ac_mid=`expr 2 '*' $ac_mid`
21425 fi
21426
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 done
21429 else
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.$ac_ext >&5
21432
21433 ac_lo= ac_hi=
21434 fi
21435
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 # Binary search between lo and hi bounds.
21441 while test "x$ac_lo" != "x$ac_hi"; do
21442 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 typedef int ac__type_sizeof_;
21451 int
21452 main ()
21453 {
21454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21455 test_array [0] = 0
21456
21457 ;
21458 return 0;
21459 }
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (ac_try="$ac_compile"
21463 case "(($ac_try" in
21464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21465 *) ac_try_echo=$ac_try;;
21466 esac
21467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21468 (eval "$ac_compile") 2>conftest.er1
21469 ac_status=$?
21470 grep -v '^ *+' conftest.er1 >conftest.err
21471 rm -f conftest.er1
21472 cat conftest.err >&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } && {
21475 test -z "$ac_c_werror_flag" ||
21476 test ! -s conftest.err
21477 } && test -s conftest.$ac_objext; then
21478 ac_hi=$ac_mid
21479 else
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21482
21483 ac_lo=`expr '(' $ac_mid ')' + 1`
21484 fi
21485
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21487 done
21488 case $ac_lo in
21489 ?*) ac_cv_sizeof_int=$ac_lo;;
21490 '') if test "$ac_cv_type_int" = yes; then
21491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21492 See \`config.log' for more details." >&5
21493 echo "$as_me: error: cannot compute sizeof (int)
21494 See \`config.log' for more details." >&2;}
21495 { (exit 77); exit 77; }; }
21496 else
21497 ac_cv_sizeof_int=0
21498 fi ;;
21499 esac
21500 else
21501 cat >conftest.$ac_ext <<_ACEOF
21502 /* confdefs.h. */
21503 _ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 $ac_includes_default
21508 typedef int ac__type_sizeof_;
21509 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21510 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21511 #include <stdio.h>
21512 #include <stdlib.h>
21513 int
21514 main ()
21515 {
21516
21517 FILE *f = fopen ("conftest.val", "w");
21518 if (! f)
21519 return 1;
21520 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21521 {
21522 long int i = longval ();
21523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21524 return 1;
21525 fprintf (f, "%ld\n", i);
21526 }
21527 else
21528 {
21529 unsigned long int i = ulongval ();
21530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21531 return 1;
21532 fprintf (f, "%lu\n", i);
21533 }
21534 return ferror (f) || fclose (f) != 0;
21535
21536 ;
21537 return 0;
21538 }
21539 _ACEOF
21540 rm -f conftest$ac_exeext
21541 if { (ac_try="$ac_link"
21542 case "(($ac_try" in
21543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21544 *) ac_try_echo=$ac_try;;
21545 esac
21546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21547 (eval "$ac_link") 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21551 { (case "(($ac_try" in
21552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21553 *) ac_try_echo=$ac_try;;
21554 esac
21555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556 (eval "$ac_try") 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_sizeof_int=`cat conftest.val`
21561 else
21562 echo "$as_me: program exited with status $ac_status" >&5
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 ( exit $ac_status )
21567 if test "$ac_cv_type_int" = yes; then
21568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21569 See \`config.log' for more details." >&5
21570 echo "$as_me: error: cannot compute sizeof (int)
21571 See \`config.log' for more details." >&2;}
21572 { (exit 77); exit 77; }; }
21573 else
21574 ac_cv_sizeof_int=0
21575 fi
21576 fi
21577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21578 fi
21579 rm -f conftest.val
21580 fi
21581 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21582 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21583
21584
21585
21586 cat >>confdefs.h <<_ACEOF
21587 #define SIZEOF_INT $ac_cv_sizeof_int
21588 _ACEOF
21589
21590
21591 { echo "$as_me:$LINENO: checking for long" >&5
21592 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21593 if test "${ac_cv_type_long+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603 typedef long ac__type_new_;
21604 int
21605 main ()
21606 {
21607 if ((ac__type_new_ *) 0)
21608 return 0;
21609 if (sizeof (ac__type_new_))
21610 return 0;
21611 ;
21612 return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } && {
21629 test -z "$ac_c_werror_flag" ||
21630 test ! -s conftest.err
21631 } && test -s conftest.$ac_objext; then
21632 ac_cv_type_long=yes
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21636
21637 ac_cv_type_long=no
21638 fi
21639
21640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641 fi
21642 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21643 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21644
21645 # The cast to long int works around a bug in the HP C Compiler
21646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21648 # This bug is HP SR number 8606223364.
21649 { echo "$as_me:$LINENO: checking size of long" >&5
21650 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21651 if test "${ac_cv_sizeof_long+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 else
21654 if test "$cross_compiling" = yes; then
21655 # Depending upon the size, compute the lo and hi bounds.
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long ac__type_sizeof_;
21664 int
21665 main ()
21666 {
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21668 test_array [0] = 0
21669
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679 esac
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21691 ac_lo=0 ac_mid=0
21692 while :; do
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef long ac__type_sizeof_;
21701 int
21702 main ()
21703 {
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21705 test_array [0] = 0
21706
21707 ;
21708 return 0;
21709 }
21710 _ACEOF
21711 rm -f conftest.$ac_objext
21712 if { (ac_try="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21716 esac
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21719 ac_status=$?
21720 grep -v '^ *+' conftest.er1 >conftest.err
21721 rm -f conftest.er1
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.$ac_objext; then
21728 ac_hi=$ac_mid; break
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_lo=`expr $ac_mid + 1`
21734 if test $ac_lo -le $ac_mid; then
21735 ac_lo= ac_hi=
21736 break
21737 fi
21738 ac_mid=`expr 2 '*' $ac_mid + 1`
21739 fi
21740
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742 done
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h. */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 $ac_includes_default
21754 typedef long ac__type_sizeof_;
21755 int
21756 main ()
21757 {
21758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21759 test_array [0] = 0
21760
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 rm -f conftest.$ac_objext
21766 if { (ac_try="$ac_compile"
21767 case "(($ac_try" in
21768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 *) ac_try_echo=$ac_try;;
21770 esac
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_compile") 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } && {
21779 test -z "$ac_c_werror_flag" ||
21780 test ! -s conftest.err
21781 } && test -s conftest.$ac_objext; then
21782 ac_hi=-1 ac_mid=-1
21783 while :; do
21784 cat >conftest.$ac_ext <<_ACEOF
21785 /* confdefs.h. */
21786 _ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 $ac_includes_default
21791 typedef long ac__type_sizeof_;
21792 int
21793 main ()
21794 {
21795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21796 test_array [0] = 0
21797
21798 ;
21799 return 0;
21800 }
21801 _ACEOF
21802 rm -f conftest.$ac_objext
21803 if { (ac_try="$ac_compile"
21804 case "(($ac_try" in
21805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21807 esac
21808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21809 (eval "$ac_compile") 2>conftest.er1
21810 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && {
21816 test -z "$ac_c_werror_flag" ||
21817 test ! -s conftest.err
21818 } && test -s conftest.$ac_objext; then
21819 ac_lo=$ac_mid; break
21820 else
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21823
21824 ac_hi=`expr '(' $ac_mid ')' - 1`
21825 if test $ac_mid -le $ac_hi; then
21826 ac_lo= ac_hi=
21827 break
21828 fi
21829 ac_mid=`expr 2 '*' $ac_mid`
21830 fi
21831
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833 done
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838 ac_lo= ac_hi=
21839 fi
21840
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 fi
21843
21844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21845 # Binary search between lo and hi bounds.
21846 while test "x$ac_lo" != "x$ac_hi"; do
21847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21848 cat >conftest.$ac_ext <<_ACEOF
21849 /* confdefs.h. */
21850 _ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 $ac_includes_default
21855 typedef long ac__type_sizeof_;
21856 int
21857 main ()
21858 {
21859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21860 test_array [0] = 0
21861
21862 ;
21863 return 0;
21864 }
21865 _ACEOF
21866 rm -f conftest.$ac_objext
21867 if { (ac_try="$ac_compile"
21868 case "(($ac_try" in
21869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21870 *) ac_try_echo=$ac_try;;
21871 esac
21872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21873 (eval "$ac_compile") 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && {
21880 test -z "$ac_c_werror_flag" ||
21881 test ! -s conftest.err
21882 } && test -s conftest.$ac_objext; then
21883 ac_hi=$ac_mid
21884 else
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21887
21888 ac_lo=`expr '(' $ac_mid ')' + 1`
21889 fi
21890
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892 done
21893 case $ac_lo in
21894 ?*) ac_cv_sizeof_long=$ac_lo;;
21895 '') if test "$ac_cv_type_long" = yes; then
21896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (long)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; }
21901 else
21902 ac_cv_sizeof_long=0
21903 fi ;;
21904 esac
21905 else
21906 cat >conftest.$ac_ext <<_ACEOF
21907 /* confdefs.h. */
21908 _ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 $ac_includes_default
21913 typedef long ac__type_sizeof_;
21914 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21916 #include <stdio.h>
21917 #include <stdlib.h>
21918 int
21919 main ()
21920 {
21921
21922 FILE *f = fopen ("conftest.val", "w");
21923 if (! f)
21924 return 1;
21925 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21926 {
21927 long int i = longval ();
21928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21929 return 1;
21930 fprintf (f, "%ld\n", i);
21931 }
21932 else
21933 {
21934 unsigned long int i = ulongval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 return 1;
21937 fprintf (f, "%lu\n", i);
21938 }
21939 return ferror (f) || fclose (f) != 0;
21940
21941 ;
21942 return 0;
21943 }
21944 _ACEOF
21945 rm -f conftest$ac_exeext
21946 if { (ac_try="$ac_link"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21950 esac
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_link") 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21956 { (case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21959 esac
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_try") 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_sizeof_long=`cat conftest.val`
21966 else
21967 echo "$as_me: program exited with status $ac_status" >&5
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ( exit $ac_status )
21972 if test "$ac_cv_type_long" = yes; then
21973 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21974 See \`config.log' for more details." >&5
21975 echo "$as_me: error: cannot compute sizeof (long)
21976 See \`config.log' for more details." >&2;}
21977 { (exit 77); exit 77; }; }
21978 else
21979 ac_cv_sizeof_long=0
21980 fi
21981 fi
21982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21983 fi
21984 rm -f conftest.val
21985 fi
21986 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21987 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21988
21989
21990
21991 cat >>confdefs.h <<_ACEOF
21992 #define SIZEOF_LONG $ac_cv_sizeof_long
21993 _ACEOF
21994
21995
21996 { echo "$as_me:$LINENO: checking for size_t" >&5
21997 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21998 if test "${ac_cv_type_size_t+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22000 else
22001 cat >conftest.$ac_ext <<_ACEOF
22002 /* confdefs.h. */
22003 _ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007 $ac_includes_default
22008 typedef size_t ac__type_new_;
22009 int
22010 main ()
22011 {
22012 if ((ac__type_new_ *) 0)
22013 return 0;
22014 if (sizeof (ac__type_new_))
22015 return 0;
22016 ;
22017 return 0;
22018 }
22019 _ACEOF
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22024 *) ac_try_echo=$ac_try;;
22025 esac
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22028 ac_status=$?
22029 grep -v '^ *+' conftest.er1 >conftest.err
22030 rm -f conftest.er1
22031 cat conftest.err >&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } && {
22034 test -z "$ac_c_werror_flag" ||
22035 test ! -s conftest.err
22036 } && test -s conftest.$ac_objext; then
22037 ac_cv_type_size_t=yes
22038 else
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22041
22042 ac_cv_type_size_t=no
22043 fi
22044
22045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046 fi
22047 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22048 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22049
22050 # The cast to long int works around a bug in the HP C Compiler
22051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22053 # This bug is HP SR number 8606223364.
22054 { echo "$as_me:$LINENO: checking size of size_t" >&5
22055 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22056 if test "${ac_cv_sizeof_size_t+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059 if test "$cross_compiling" = yes; then
22060 # Depending upon the size, compute the lo and hi bounds.
22061 cat >conftest.$ac_ext <<_ACEOF
22062 /* confdefs.h. */
22063 _ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 $ac_includes_default
22068 typedef size_t ac__type_sizeof_;
22069 int
22070 main ()
22071 {
22072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22073 test_array [0] = 0
22074
22075 ;
22076 return 0;
22077 }
22078 _ACEOF
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22084 esac
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22087 ac_status=$?
22088 grep -v '^ *+' conftest.er1 >conftest.err
22089 rm -f conftest.er1
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.$ac_objext; then
22096 ac_lo=0 ac_mid=0
22097 while :; do
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 typedef size_t ac__type_sizeof_;
22106 int
22107 main ()
22108 {
22109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22110 test_array [0] = 0
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext
22117 if { (ac_try="$ac_compile"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_compile") 2>conftest.er1
22124 ac_status=$?
22125 grep -v '^ *+' conftest.er1 >conftest.err
22126 rm -f conftest.er1
22127 cat conftest.err >&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } && {
22130 test -z "$ac_c_werror_flag" ||
22131 test ! -s conftest.err
22132 } && test -s conftest.$ac_objext; then
22133 ac_hi=$ac_mid; break
22134 else
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22137
22138 ac_lo=`expr $ac_mid + 1`
22139 if test $ac_lo -le $ac_mid; then
22140 ac_lo= ac_hi=
22141 break
22142 fi
22143 ac_mid=`expr 2 '*' $ac_mid + 1`
22144 fi
22145
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 done
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 $ac_includes_default
22159 typedef size_t ac__type_sizeof_;
22160 int
22161 main ()
22162 {
22163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22164 test_array [0] = 0
22165
22166 ;
22167 return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest.$ac_objext
22171 if { (ac_try="$ac_compile"
22172 case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22175 esac
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_compile") 2>conftest.er1
22178 ac_status=$?
22179 grep -v '^ *+' conftest.er1 >conftest.err
22180 rm -f conftest.er1
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && {
22184 test -z "$ac_c_werror_flag" ||
22185 test ! -s conftest.err
22186 } && test -s conftest.$ac_objext; then
22187 ac_hi=-1 ac_mid=-1
22188 while :; do
22189 cat >conftest.$ac_ext <<_ACEOF
22190 /* confdefs.h. */
22191 _ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22195 $ac_includes_default
22196 typedef size_t ac__type_sizeof_;
22197 int
22198 main ()
22199 {
22200 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22201 test_array [0] = 0
22202
22203 ;
22204 return 0;
22205 }
22206 _ACEOF
22207 rm -f conftest.$ac_objext
22208 if { (ac_try="$ac_compile"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22212 esac
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_compile") 2>conftest.er1
22215 ac_status=$?
22216 grep -v '^ *+' conftest.er1 >conftest.err
22217 rm -f conftest.er1
22218 cat conftest.err >&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && {
22221 test -z "$ac_c_werror_flag" ||
22222 test ! -s conftest.err
22223 } && test -s conftest.$ac_objext; then
22224 ac_lo=$ac_mid; break
22225 else
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22228
22229 ac_hi=`expr '(' $ac_mid ')' - 1`
22230 if test $ac_mid -le $ac_hi; then
22231 ac_lo= ac_hi=
22232 break
22233 fi
22234 ac_mid=`expr 2 '*' $ac_mid`
22235 fi
22236
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 done
22239 else
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22242
22243 ac_lo= ac_hi=
22244 fi
22245
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22247 fi
22248
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250 # Binary search between lo and hi bounds.
22251 while test "x$ac_lo" != "x$ac_hi"; do
22252 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 typedef size_t ac__type_sizeof_;
22261 int
22262 main ()
22263 {
22264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22265 test_array [0] = 0
22266
22267 ;
22268 return 0;
22269 }
22270 _ACEOF
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275 *) ac_try_echo=$ac_try;;
22276 esac
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22279 ac_status=$?
22280 grep -v '^ *+' conftest.er1 >conftest.err
22281 rm -f conftest.er1
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } && {
22285 test -z "$ac_c_werror_flag" ||
22286 test ! -s conftest.err
22287 } && test -s conftest.$ac_objext; then
22288 ac_hi=$ac_mid
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ac_lo=`expr '(' $ac_mid ')' + 1`
22294 fi
22295
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 done
22298 case $ac_lo in
22299 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22300 '') if test "$ac_cv_type_size_t" = yes; then
22301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22302 See \`config.log' for more details." >&5
22303 echo "$as_me: error: cannot compute sizeof (size_t)
22304 See \`config.log' for more details." >&2;}
22305 { (exit 77); exit 77; }; }
22306 else
22307 ac_cv_sizeof_size_t=0
22308 fi ;;
22309 esac
22310 else
22311 cat >conftest.$ac_ext <<_ACEOF
22312 /* confdefs.h. */
22313 _ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 $ac_includes_default
22318 typedef size_t ac__type_sizeof_;
22319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22321 #include <stdio.h>
22322 #include <stdlib.h>
22323 int
22324 main ()
22325 {
22326
22327 FILE *f = fopen ("conftest.val", "w");
22328 if (! f)
22329 return 1;
22330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22331 {
22332 long int i = longval ();
22333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22334 return 1;
22335 fprintf (f, "%ld\n", i);
22336 }
22337 else
22338 {
22339 unsigned long int i = ulongval ();
22340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22341 return 1;
22342 fprintf (f, "%lu\n", i);
22343 }
22344 return ferror (f) || fclose (f) != 0;
22345
22346 ;
22347 return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest$ac_exeext
22351 if { (ac_try="$ac_link"
22352 case "(($ac_try" in
22353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22355 esac
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_link") 2>&5
22358 ac_status=$?
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22361 { (case "(($ac_try" in
22362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22363 *) ac_try_echo=$ac_try;;
22364 esac
22365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22366 (eval "$ac_try") 2>&5
22367 ac_status=$?
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_sizeof_size_t=`cat conftest.val`
22371 else
22372 echo "$as_me: program exited with status $ac_status" >&5
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ( exit $ac_status )
22377 if test "$ac_cv_type_size_t" = yes; then
22378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22379 See \`config.log' for more details." >&5
22380 echo "$as_me: error: cannot compute sizeof (size_t)
22381 See \`config.log' for more details." >&2;}
22382 { (exit 77); exit 77; }; }
22383 else
22384 ac_cv_sizeof_size_t=0
22385 fi
22386 fi
22387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22388 fi
22389 rm -f conftest.val
22390 fi
22391 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22392 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22393
22394
22395
22396 cat >>confdefs.h <<_ACEOF
22397 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22398 _ACEOF
22399
22400
22401
22402 case "${host}" in
22403 arm-*-linux* )
22404 { echo "$as_me:$LINENO: checking for long long" >&5
22405 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22406 if test "${ac_cv_type_long_long+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 else
22409 cat >conftest.$ac_ext <<_ACEOF
22410 /* confdefs.h. */
22411 _ACEOF
22412 cat confdefs.h >>conftest.$ac_ext
22413 cat >>conftest.$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22415 $ac_includes_default
22416 typedef long long ac__type_new_;
22417 int
22418 main ()
22419 {
22420 if ((ac__type_new_ *) 0)
22421 return 0;
22422 if (sizeof (ac__type_new_))
22423 return 0;
22424 ;
22425 return 0;
22426 }
22427 _ACEOF
22428 rm -f conftest.$ac_objext
22429 if { (ac_try="$ac_compile"
22430 case "(($ac_try" in
22431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22432 *) ac_try_echo=$ac_try;;
22433 esac
22434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22435 (eval "$ac_compile") 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } && {
22442 test -z "$ac_c_werror_flag" ||
22443 test ! -s conftest.err
22444 } && test -s conftest.$ac_objext; then
22445 ac_cv_type_long_long=yes
22446 else
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22449
22450 ac_cv_type_long_long=no
22451 fi
22452
22453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22454 fi
22455 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22456 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22457
22458 # The cast to long int works around a bug in the HP C Compiler
22459 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22460 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22461 # This bug is HP SR number 8606223364.
22462 { echo "$as_me:$LINENO: checking size of long long" >&5
22463 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22464 if test "${ac_cv_sizeof_long_long+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22467 if test "$cross_compiling" = yes; then
22468 # Depending upon the size, compute the lo and hi bounds.
22469 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef long long ac__type_sizeof_;
22477 int
22478 main ()
22479 {
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22481 test_array [0] = 0
22482
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22492 esac
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_lo=0 ac_mid=0
22505 while :; do
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 $ac_includes_default
22513 typedef long long ac__type_sizeof_;
22514 int
22515 main ()
22516 {
22517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22518 test_array [0] = 0
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22529 esac
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 ac_hi=$ac_mid; break
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 ac_lo=`expr $ac_mid + 1`
22547 if test $ac_lo -le $ac_mid; then
22548 ac_lo= ac_hi=
22549 break
22550 fi
22551 ac_mid=`expr 2 '*' $ac_mid + 1`
22552 fi
22553
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 done
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22559
22560 cat >conftest.$ac_ext <<_ACEOF
22561 /* confdefs.h. */
22562 _ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 $ac_includes_default
22567 typedef long long ac__type_sizeof_;
22568 int
22569 main ()
22570 {
22571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22572 test_array [0] = 0
22573
22574 ;
22575 return 0;
22576 }
22577 _ACEOF
22578 rm -f conftest.$ac_objext
22579 if { (ac_try="$ac_compile"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22583 esac
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_compile") 2>conftest.er1
22586 ac_status=$?
22587 grep -v '^ *+' conftest.er1 >conftest.err
22588 rm -f conftest.er1
22589 cat conftest.err >&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } && {
22592 test -z "$ac_c_werror_flag" ||
22593 test ! -s conftest.err
22594 } && test -s conftest.$ac_objext; then
22595 ac_hi=-1 ac_mid=-1
22596 while :; do
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 $ac_includes_default
22604 typedef long long ac__type_sizeof_;
22605 int
22606 main ()
22607 {
22608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22609 test_array [0] = 0
22610
22611 ;
22612 return 0;
22613 }
22614 _ACEOF
22615 rm -f conftest.$ac_objext
22616 if { (ac_try="$ac_compile"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22620 esac
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_compile") 2>conftest.er1
22623 ac_status=$?
22624 grep -v '^ *+' conftest.er1 >conftest.err
22625 rm -f conftest.er1
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && {
22629 test -z "$ac_c_werror_flag" ||
22630 test ! -s conftest.err
22631 } && test -s conftest.$ac_objext; then
22632 ac_lo=$ac_mid; break
22633 else
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637 ac_hi=`expr '(' $ac_mid ')' - 1`
22638 if test $ac_mid -le $ac_hi; then
22639 ac_lo= ac_hi=
22640 break
22641 fi
22642 ac_mid=`expr 2 '*' $ac_mid`
22643 fi
22644
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 done
22647 else
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22650
22651 ac_lo= ac_hi=
22652 fi
22653
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22655 fi
22656
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 # Binary search between lo and hi bounds.
22659 while test "x$ac_lo" != "x$ac_hi"; do
22660 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long long ac__type_sizeof_;
22669 int
22670 main ()
22671 {
22672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22673 test_array [0] = 0
22674
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 rm -f conftest.$ac_objext
22680 if { (ac_try="$ac_compile"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22684 esac
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_compile") 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } && {
22693 test -z "$ac_c_werror_flag" ||
22694 test ! -s conftest.err
22695 } && test -s conftest.$ac_objext; then
22696 ac_hi=$ac_mid
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 ac_lo=`expr '(' $ac_mid ')' + 1`
22702 fi
22703
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705 done
22706 case $ac_lo in
22707 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22708 '') if test "$ac_cv_type_long_long" = yes; then
22709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22710 See \`config.log' for more details." >&5
22711 echo "$as_me: error: cannot compute sizeof (long long)
22712 See \`config.log' for more details." >&2;}
22713 { (exit 77); exit 77; }; }
22714 else
22715 ac_cv_sizeof_long_long=0
22716 fi ;;
22717 esac
22718 else
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 $ac_includes_default
22726 typedef long long ac__type_sizeof_;
22727 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22728 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22729 #include <stdio.h>
22730 #include <stdlib.h>
22731 int
22732 main ()
22733 {
22734
22735 FILE *f = fopen ("conftest.val", "w");
22736 if (! f)
22737 return 1;
22738 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22739 {
22740 long int i = longval ();
22741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22742 return 1;
22743 fprintf (f, "%ld\n", i);
22744 }
22745 else
22746 {
22747 unsigned long int i = ulongval ();
22748 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22749 return 1;
22750 fprintf (f, "%lu\n", i);
22751 }
22752 return ferror (f) || fclose (f) != 0;
22753
22754 ;
22755 return 0;
22756 }
22757 _ACEOF
22758 rm -f conftest$ac_exeext
22759 if { (ac_try="$ac_link"
22760 case "(($ac_try" in
22761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762 *) ac_try_echo=$ac_try;;
22763 esac
22764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22765 (eval "$ac_link") 2>&5
22766 ac_status=$?
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22769 { (case "(($ac_try" in
22770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22771 *) ac_try_echo=$ac_try;;
22772 esac
22773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22774 (eval "$ac_try") 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_sizeof_long_long=`cat conftest.val`
22779 else
22780 echo "$as_me: program exited with status $ac_status" >&5
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 ( exit $ac_status )
22785 if test "$ac_cv_type_long_long" = yes; then
22786 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22787 See \`config.log' for more details." >&5
22788 echo "$as_me: error: cannot compute sizeof (long long)
22789 See \`config.log' for more details." >&2;}
22790 { (exit 77); exit 77; }; }
22791 else
22792 ac_cv_sizeof_long_long=0
22793 fi
22794 fi
22795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22796 fi
22797 rm -f conftest.val
22798 fi
22799 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22800 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22801
22802
22803
22804 cat >>confdefs.h <<_ACEOF
22805 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22806 _ACEOF
22807
22808
22809 ;;
22810 *-hp-hpux* )
22811 { echo "$as_me:$LINENO: checking for long long" >&5
22812 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22813 if test "${ac_cv_type_long_long+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 $ac_includes_default
22823 typedef long long ac__type_new_;
22824 int
22825 main ()
22826 {
22827 if ((ac__type_new_ *) 0)
22828 return 0;
22829 if (sizeof (ac__type_new_))
22830 return 0;
22831 ;
22832 return 0;
22833 }
22834 _ACEOF
22835 rm -f conftest.$ac_objext
22836 if { (ac_try="$ac_compile"
22837 case "(($ac_try" in
22838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22839 *) ac_try_echo=$ac_try;;
22840 esac
22841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22842 (eval "$ac_compile") 2>conftest.er1
22843 ac_status=$?
22844 grep -v '^ *+' conftest.er1 >conftest.err
22845 rm -f conftest.er1
22846 cat conftest.err >&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } && {
22849 test -z "$ac_c_werror_flag" ||
22850 test ! -s conftest.err
22851 } && test -s conftest.$ac_objext; then
22852 ac_cv_type_long_long=yes
22853 else
22854 echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.$ac_ext >&5
22856
22857 ac_cv_type_long_long=no
22858 fi
22859
22860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22861 fi
22862 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22863 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22864
22865 # The cast to long int works around a bug in the HP C Compiler
22866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22868 # This bug is HP SR number 8606223364.
22869 { echo "$as_me:$LINENO: checking size of long long" >&5
22870 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22871 if test "${ac_cv_sizeof_long_long+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 else
22874 if test "$cross_compiling" = yes; then
22875 # Depending upon the size, compute the lo and hi bounds.
22876 cat >conftest.$ac_ext <<_ACEOF
22877 /* confdefs.h. */
22878 _ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 typedef long long ac__type_sizeof_;
22884 int
22885 main ()
22886 {
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22888 test_array [0] = 0
22889
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22911 ac_lo=0 ac_mid=0
22912 while :; do
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_sizeof_;
22921 int
22922 main ()
22923 {
22924 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22925 test_array [0] = 0
22926
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22936 esac
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_c_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 ac_hi=$ac_mid; break
22949 else
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22952
22953 ac_lo=`expr $ac_mid + 1`
22954 if test $ac_lo -le $ac_mid; then
22955 ac_lo= ac_hi=
22956 break
22957 fi
22958 ac_mid=`expr 2 '*' $ac_mid + 1`
22959 fi
22960
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 done
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 typedef long long ac__type_sizeof_;
22975 int
22976 main ()
22977 {
22978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22979 test_array [0] = 0
22980
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 rm -f conftest.$ac_objext
22986 if { (ac_try="$ac_compile"
22987 case "(($ac_try" in
22988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22989 *) ac_try_echo=$ac_try;;
22990 esac
22991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22992 (eval "$ac_compile") 2>conftest.er1
22993 ac_status=$?
22994 grep -v '^ *+' conftest.er1 >conftest.err
22995 rm -f conftest.er1
22996 cat conftest.err >&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } && {
22999 test -z "$ac_c_werror_flag" ||
23000 test ! -s conftest.err
23001 } && test -s conftest.$ac_objext; then
23002 ac_hi=-1 ac_mid=-1
23003 while :; do
23004 cat >conftest.$ac_ext <<_ACEOF
23005 /* confdefs.h. */
23006 _ACEOF
23007 cat confdefs.h >>conftest.$ac_ext
23008 cat >>conftest.$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010 $ac_includes_default
23011 typedef long long ac__type_sizeof_;
23012 int
23013 main ()
23014 {
23015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23016 test_array [0] = 0
23017
23018 ;
23019 return 0;
23020 }
23021 _ACEOF
23022 rm -f conftest.$ac_objext
23023 if { (ac_try="$ac_compile"
23024 case "(($ac_try" in
23025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 *) ac_try_echo=$ac_try;;
23027 esac
23028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 (eval "$ac_compile") 2>conftest.er1
23030 ac_status=$?
23031 grep -v '^ *+' conftest.er1 >conftest.err
23032 rm -f conftest.er1
23033 cat conftest.err >&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && {
23036 test -z "$ac_c_werror_flag" ||
23037 test ! -s conftest.err
23038 } && test -s conftest.$ac_objext; then
23039 ac_lo=$ac_mid; break
23040 else
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.$ac_ext >&5
23043
23044 ac_hi=`expr '(' $ac_mid ')' - 1`
23045 if test $ac_mid -le $ac_hi; then
23046 ac_lo= ac_hi=
23047 break
23048 fi
23049 ac_mid=`expr 2 '*' $ac_mid`
23050 fi
23051
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053 done
23054 else
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.$ac_ext >&5
23057
23058 ac_lo= ac_hi=
23059 fi
23060
23061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23062 fi
23063
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 # Binary search between lo and hi bounds.
23066 while test "x$ac_lo" != "x$ac_hi"; do
23067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23068 cat >conftest.$ac_ext <<_ACEOF
23069 /* confdefs.h. */
23070 _ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 $ac_includes_default
23075 typedef long long ac__type_sizeof_;
23076 int
23077 main ()
23078 {
23079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23080 test_array [0] = 0
23081
23082 ;
23083 return 0;
23084 }
23085 _ACEOF
23086 rm -f conftest.$ac_objext
23087 if { (ac_try="$ac_compile"
23088 case "(($ac_try" in
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23090 *) ac_try_echo=$ac_try;;
23091 esac
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23093 (eval "$ac_compile") 2>conftest.er1
23094 ac_status=$?
23095 grep -v '^ *+' conftest.er1 >conftest.err
23096 rm -f conftest.er1
23097 cat conftest.err >&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); } && {
23100 test -z "$ac_c_werror_flag" ||
23101 test ! -s conftest.err
23102 } && test -s conftest.$ac_objext; then
23103 ac_hi=$ac_mid
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_lo=`expr '(' $ac_mid ')' + 1`
23109 fi
23110
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 done
23113 case $ac_lo in
23114 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23115 '') if test "$ac_cv_type_long_long" = yes; then
23116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23117 See \`config.log' for more details." >&5
23118 echo "$as_me: error: cannot compute sizeof (long long)
23119 See \`config.log' for more details." >&2;}
23120 { (exit 77); exit 77; }; }
23121 else
23122 ac_cv_sizeof_long_long=0
23123 fi ;;
23124 esac
23125 else
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23133 typedef long long ac__type_sizeof_;
23134 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23135 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23136 #include <stdio.h>
23137 #include <stdlib.h>
23138 int
23139 main ()
23140 {
23141
23142 FILE *f = fopen ("conftest.val", "w");
23143 if (! f)
23144 return 1;
23145 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23146 {
23147 long int i = longval ();
23148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23149 return 1;
23150 fprintf (f, "%ld\n", i);
23151 }
23152 else
23153 {
23154 unsigned long int i = ulongval ();
23155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23156 return 1;
23157 fprintf (f, "%lu\n", i);
23158 }
23159 return ferror (f) || fclose (f) != 0;
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest$ac_exeext
23166 if { (ac_try="$ac_link"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_link") 2>&5
23173 ac_status=$?
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23176 { (case "(($ac_try" in
23177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178 *) ac_try_echo=$ac_try;;
23179 esac
23180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181 (eval "$ac_try") 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_sizeof_long_long=`cat conftest.val`
23186 else
23187 echo "$as_me: program exited with status $ac_status" >&5
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 ( exit $ac_status )
23192 if test "$ac_cv_type_long_long" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23194 See \`config.log' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (long long)
23196 See \`config.log' for more details." >&2;}
23197 { (exit 77); exit 77; }; }
23198 else
23199 ac_cv_sizeof_long_long=0
23200 fi
23201 fi
23202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23203 fi
23204 rm -f conftest.val
23205 fi
23206 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23207 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23208
23209
23210
23211 cat >>confdefs.h <<_ACEOF
23212 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23213 _ACEOF
23214
23215
23216 if test "$ac_cv_sizeof_long_long" != 0; then
23217 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23218 fi
23219 ;;
23220 * )
23221 { echo "$as_me:$LINENO: checking for long long" >&5
23222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23223 if test "${ac_cv_type_long_long+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23225 else
23226 cat >conftest.$ac_ext <<_ACEOF
23227 /* confdefs.h. */
23228 _ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long long ac__type_new_;
23234 int
23235 main ()
23236 {
23237 if ((ac__type_new_ *) 0)
23238 return 0;
23239 if (sizeof (ac__type_new_))
23240 return 0;
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23250 esac
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23253 ac_status=$?
23254 grep -v '^ *+' conftest.er1 >conftest.err
23255 rm -f conftest.er1
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_cv_type_long_long=yes
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267 ac_cv_type_long_long=no
23268 fi
23269
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 fi
23272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23274
23275 # The cast to long int works around a bug in the HP C Compiler
23276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23278 # This bug is HP SR number 8606223364.
23279 { echo "$as_me:$LINENO: checking size of long long" >&5
23280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23281 if test "${ac_cv_sizeof_long_long+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284 if test "$cross_compiling" = yes; then
23285 # Depending upon the size, compute the lo and hi bounds.
23286 cat >conftest.$ac_ext <<_ACEOF
23287 /* confdefs.h. */
23288 _ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23294 int
23295 main ()
23296 {
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23298 test_array [0] = 0
23299
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest.$ac_objext
23305 if { (ac_try="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23309 esac
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23312 ac_status=$?
23313 grep -v '^ *+' conftest.er1 >conftest.err
23314 rm -f conftest.er1
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23321 ac_lo=0 ac_mid=0
23322 while :; do
23323 cat >conftest.$ac_ext <<_ACEOF
23324 /* confdefs.h. */
23325 _ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23331 int
23332 main ()
23333 {
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23335 test_array [0] = 0
23336
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23346 esac
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.$ac_objext; then
23358 ac_hi=$ac_mid; break
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363 ac_lo=`expr $ac_mid + 1`
23364 if test $ac_lo -le $ac_mid; then
23365 ac_lo= ac_hi=
23366 break
23367 fi
23368 ac_mid=`expr 2 '*' $ac_mid + 1`
23369 fi
23370
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 done
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h. */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 $ac_includes_default
23384 typedef long long ac__type_sizeof_;
23385 int
23386 main ()
23387 {
23388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23389 test_array [0] = 0
23390
23391 ;
23392 return 0;
23393 }
23394 _ACEOF
23395 rm -f conftest.$ac_objext
23396 if { (ac_try="$ac_compile"
23397 case "(($ac_try" in
23398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23400 esac
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_compile") 2>conftest.er1
23403 ac_status=$?
23404 grep -v '^ *+' conftest.er1 >conftest.err
23405 rm -f conftest.er1
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest.$ac_objext; then
23412 ac_hi=-1 ac_mid=-1
23413 while :; do
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long long ac__type_sizeof_;
23422 int
23423 main ()
23424 {
23425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23426 test_array [0] = 0
23427
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23437 esac
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23440 ac_status=$?
23441 grep -v '^ *+' conftest.er1 >conftest.err
23442 rm -f conftest.er1
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && {
23446 test -z "$ac_c_werror_flag" ||
23447 test ! -s conftest.err
23448 } && test -s conftest.$ac_objext; then
23449 ac_lo=$ac_mid; break
23450 else
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23453
23454 ac_hi=`expr '(' $ac_mid ')' - 1`
23455 if test $ac_mid -le $ac_hi; then
23456 ac_lo= ac_hi=
23457 break
23458 fi
23459 ac_mid=`expr 2 '*' $ac_mid`
23460 fi
23461
23462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 done
23464 else
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23467
23468 ac_lo= ac_hi=
23469 fi
23470
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 fi
23473
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 # Binary search between lo and hi bounds.
23476 while test "x$ac_lo" != "x$ac_hi"; do
23477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23486 int
23487 main ()
23488 {
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23490 test_array [0] = 0
23491
23492 ;
23493 return 0;
23494 }
23495 _ACEOF
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23501 esac
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23504 ac_status=$?
23505 grep -v '^ *+' conftest.er1 >conftest.err
23506 rm -f conftest.er1
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23513 ac_hi=$ac_mid
23514 else
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23517
23518 ac_lo=`expr '(' $ac_mid ')' + 1`
23519 fi
23520
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23522 done
23523 case $ac_lo in
23524 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23525 '') if test "$ac_cv_type_long_long" = yes; then
23526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23527 See \`config.log' for more details." >&5
23528 echo "$as_me: error: cannot compute sizeof (long long)
23529 See \`config.log' for more details." >&2;}
23530 { (exit 77); exit 77; }; }
23531 else
23532 ac_cv_sizeof_long_long=0
23533 fi ;;
23534 esac
23535 else
23536 cat >conftest.$ac_ext <<_ACEOF
23537 /* confdefs.h. */
23538 _ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 $ac_includes_default
23543 typedef long long ac__type_sizeof_;
23544 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23545 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23546 #include <stdio.h>
23547 #include <stdlib.h>
23548 int
23549 main ()
23550 {
23551
23552 FILE *f = fopen ("conftest.val", "w");
23553 if (! f)
23554 return 1;
23555 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23556 {
23557 long int i = longval ();
23558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23559 return 1;
23560 fprintf (f, "%ld\n", i);
23561 }
23562 else
23563 {
23564 unsigned long int i = ulongval ();
23565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23566 return 1;
23567 fprintf (f, "%lu\n", i);
23568 }
23569 return ferror (f) || fclose (f) != 0;
23570
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 rm -f conftest$ac_exeext
23576 if { (ac_try="$ac_link"
23577 case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23580 esac
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_link") 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23586 { (case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23589 esac
23590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_try") 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_sizeof_long_long=`cat conftest.val`
23596 else
23597 echo "$as_me: program exited with status $ac_status" >&5
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ( exit $ac_status )
23602 if test "$ac_cv_type_long_long" = yes; then
23603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23604 See \`config.log' for more details." >&5
23605 echo "$as_me: error: cannot compute sizeof (long long)
23606 See \`config.log' for more details." >&2;}
23607 { (exit 77); exit 77; }; }
23608 else
23609 ac_cv_sizeof_long_long=0
23610 fi
23611 fi
23612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23613 fi
23614 rm -f conftest.val
23615 fi
23616 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23617 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23618
23619
23620
23621 cat >>confdefs.h <<_ACEOF
23622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23623 _ACEOF
23624
23625
23626 esac
23627
23628 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23629 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23630 if test "${ac_cv_type_wchar_t+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639
23640 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23642 # error "fake wchar_t"
23643 #endif
23644 #ifdef HAVE_WCHAR_H
23645 # ifdef __CYGWIN__
23646 # include <stddef.h>
23647 # endif
23648 # include <wchar.h>
23649 #endif
23650 #ifdef HAVE_STDLIB_H
23651 # include <stdlib.h>
23652 #endif
23653 #include <stdio.h>
23654
23655
23656
23657 typedef wchar_t ac__type_new_;
23658 int
23659 main ()
23660 {
23661 if ((ac__type_new_ *) 0)
23662 return 0;
23663 if (sizeof (ac__type_new_))
23664 return 0;
23665 ;
23666 return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674 esac
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23677 ac_status=$?
23678 grep -v '^ *+' conftest.er1 >conftest.err
23679 rm -f conftest.er1
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_wchar_t=yes
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_cv_type_wchar_t=no
23692 fi
23693
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695 fi
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23697 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23698
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23704 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716
23717 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23718 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23719 # error "fake wchar_t"
23720 #endif
23721 #ifdef HAVE_WCHAR_H
23722 # ifdef __CYGWIN__
23723 # include <stddef.h>
23724 # endif
23725 # include <wchar.h>
23726 #endif
23727 #ifdef HAVE_STDLIB_H
23728 # include <stdlib.h>
23729 #endif
23730 #include <stdio.h>
23731
23732
23733
23734 typedef wchar_t ac__type_sizeof_;
23735 int
23736 main ()
23737 {
23738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23739 test_array [0] = 0
23740
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (ac_try="$ac_compile"
23747 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23750 esac
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_compile") 2>conftest.er1
23753 ac_status=$?
23754 grep -v '^ *+' conftest.er1 >conftest.err
23755 rm -f conftest.er1
23756 cat conftest.err >&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } && {
23759 test -z "$ac_c_werror_flag" ||
23760 test ! -s conftest.err
23761 } && test -s conftest.$ac_objext; then
23762 ac_lo=0 ac_mid=0
23763 while :; do
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770
23771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23773 # error "fake wchar_t"
23774 #endif
23775 #ifdef HAVE_WCHAR_H
23776 # ifdef __CYGWIN__
23777 # include <stddef.h>
23778 # endif
23779 # include <wchar.h>
23780 #endif
23781 #ifdef HAVE_STDLIB_H
23782 # include <stdlib.h>
23783 #endif
23784 #include <stdio.h>
23785
23786
23787
23788 typedef wchar_t ac__type_sizeof_;
23789 int
23790 main ()
23791 {
23792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23793 test_array [0] = 0
23794
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23807 ac_status=$?
23808 grep -v '^ *+' conftest.er1 >conftest.err
23809 rm -f conftest.er1
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_c_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 ac_hi=$ac_mid; break
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 ac_lo=`expr $ac_mid + 1`
23822 if test $ac_lo -le $ac_mid; then
23823 ac_lo= ac_hi=
23824 break
23825 fi
23826 ac_mid=`expr 2 '*' $ac_mid + 1`
23827 fi
23828
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830 done
23831 else
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23834
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841
23842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23844 # error "fake wchar_t"
23845 #endif
23846 #ifdef HAVE_WCHAR_H
23847 # ifdef __CYGWIN__
23848 # include <stddef.h>
23849 # endif
23850 # include <wchar.h>
23851 #endif
23852 #ifdef HAVE_STDLIB_H
23853 # include <stdlib.h>
23854 #endif
23855 #include <stdio.h>
23856
23857
23858
23859 typedef wchar_t ac__type_sizeof_;
23860 int
23861 main ()
23862 {
23863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23864 test_array [0] = 0
23865
23866 ;
23867 return 0;
23868 }
23869 _ACEOF
23870 rm -f conftest.$ac_objext
23871 if { (ac_try="$ac_compile"
23872 case "(($ac_try" in
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23874 *) ac_try_echo=$ac_try;;
23875 esac
23876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23877 (eval "$ac_compile") 2>conftest.er1
23878 ac_status=$?
23879 grep -v '^ *+' conftest.er1 >conftest.err
23880 rm -f conftest.er1
23881 cat conftest.err >&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } && {
23884 test -z "$ac_c_werror_flag" ||
23885 test ! -s conftest.err
23886 } && test -s conftest.$ac_objext; then
23887 ac_hi=-1 ac_mid=-1
23888 while :; do
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895
23896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23898 # error "fake wchar_t"
23899 #endif
23900 #ifdef HAVE_WCHAR_H
23901 # ifdef __CYGWIN__
23902 # include <stddef.h>
23903 # endif
23904 # include <wchar.h>
23905 #endif
23906 #ifdef HAVE_STDLIB_H
23907 # include <stdlib.h>
23908 #endif
23909 #include <stdio.h>
23910
23911
23912
23913 typedef wchar_t ac__type_sizeof_;
23914 int
23915 main ()
23916 {
23917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23918 test_array [0] = 0
23919
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23929 esac
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23932 ac_status=$?
23933 grep -v '^ *+' conftest.er1 >conftest.err
23934 rm -f conftest.er1
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_c_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23941 ac_lo=$ac_mid; break
23942 else
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23945
23946 ac_hi=`expr '(' $ac_mid ')' - 1`
23947 if test $ac_mid -le $ac_hi; then
23948 ac_lo= ac_hi=
23949 break
23950 fi
23951 ac_mid=`expr 2 '*' $ac_mid`
23952 fi
23953
23954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23955 done
23956 else
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23959
23960 ac_lo= ac_hi=
23961 fi
23962
23963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23964 fi
23965
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 # Binary search between lo and hi bounds.
23968 while test "x$ac_lo" != "x$ac_hi"; do
23969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23970 cat >conftest.$ac_ext <<_ACEOF
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976
23977 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23978 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23979 # error "fake wchar_t"
23980 #endif
23981 #ifdef HAVE_WCHAR_H
23982 # ifdef __CYGWIN__
23983 # include <stddef.h>
23984 # endif
23985 # include <wchar.h>
23986 #endif
23987 #ifdef HAVE_STDLIB_H
23988 # include <stdlib.h>
23989 #endif
23990 #include <stdio.h>
23991
23992
23993
23994 typedef wchar_t ac__type_sizeof_;
23995 int
23996 main ()
23997 {
23998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23999 test_array [0] = 0
24000
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_c_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 ac_hi=$ac_mid
24023 else
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027 ac_lo=`expr '(' $ac_mid ')' + 1`
24028 fi
24029
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 done
24032 case $ac_lo in
24033 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24034 '') if test "$ac_cv_type_wchar_t" = yes; then
24035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24036 See \`config.log' for more details." >&5
24037 echo "$as_me: error: cannot compute sizeof (wchar_t)
24038 See \`config.log' for more details." >&2;}
24039 { (exit 77); exit 77; }; }
24040 else
24041 ac_cv_sizeof_wchar_t=0
24042 fi ;;
24043 esac
24044 else
24045 cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h. */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24051
24052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24054 # error "fake wchar_t"
24055 #endif
24056 #ifdef HAVE_WCHAR_H
24057 # ifdef __CYGWIN__
24058 # include <stddef.h>
24059 # endif
24060 # include <wchar.h>
24061 #endif
24062 #ifdef HAVE_STDLIB_H
24063 # include <stdlib.h>
24064 #endif
24065 #include <stdio.h>
24066
24067
24068
24069 typedef wchar_t ac__type_sizeof_;
24070 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24071 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24072 #include <stdio.h>
24073 #include <stdlib.h>
24074 int
24075 main ()
24076 {
24077
24078 FILE *f = fopen ("conftest.val", "w");
24079 if (! f)
24080 return 1;
24081 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24082 {
24083 long int i = longval ();
24084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24085 return 1;
24086 fprintf (f, "%ld\n", i);
24087 }
24088 else
24089 {
24090 unsigned long int i = ulongval ();
24091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24092 return 1;
24093 fprintf (f, "%lu\n", i);
24094 }
24095 return ferror (f) || fclose (f) != 0;
24096
24097 ;
24098 return 0;
24099 }
24100 _ACEOF
24101 rm -f conftest$ac_exeext
24102 if { (ac_try="$ac_link"
24103 case "(($ac_try" in
24104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24105 *) ac_try_echo=$ac_try;;
24106 esac
24107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24108 (eval "$ac_link") 2>&5
24109 ac_status=$?
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24112 { (case "(($ac_try" in
24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24114 *) ac_try_echo=$ac_try;;
24115 esac
24116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24117 (eval "$ac_try") 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 ac_cv_sizeof_wchar_t=`cat conftest.val`
24122 else
24123 echo "$as_me: program exited with status $ac_status" >&5
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 ( exit $ac_status )
24128 if test "$ac_cv_type_wchar_t" = yes; then
24129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24130 See \`config.log' for more details." >&5
24131 echo "$as_me: error: cannot compute sizeof (wchar_t)
24132 See \`config.log' for more details." >&2;}
24133 { (exit 77); exit 77; }; }
24134 else
24135 ac_cv_sizeof_wchar_t=0
24136 fi
24137 fi
24138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24139 fi
24140 rm -f conftest.val
24141 fi
24142 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24143 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24144
24145
24146
24147 cat >>confdefs.h <<_ACEOF
24148 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24149 _ACEOF
24150
24151
24152 if test "$ac_cv_sizeof_wchar_t" = 0; then
24153 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24154 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24155 { (exit 1); exit 1; }; }
24156 fi
24157 cat >>confdefs.h <<\_ACEOF
24158 #define wxUSE_WCHAR_T 1
24159 _ACEOF
24160
24161
24162 { echo "$as_me:$LINENO: checking for va_copy" >&5
24163 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24164 if test "${wx_cv_func_va_copy+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 else
24167
24168 ac_ext=cpp
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24173
24174 cat >conftest.$ac_ext <<_ACEOF
24175
24176 #include <stdarg.h>
24177 void foo(char *f, ...)
24178 {
24179 va_list ap1, ap2;
24180 va_start(ap1, f);
24181 va_copy(ap2, ap1);
24182 va_end(ap2);
24183 va_end(ap1);
24184 }
24185 int main()
24186 {
24187 foo("hi", 17);
24188 return 0;
24189 }
24190 _ACEOF
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (ac_try="$ac_link"
24193 case "(($ac_try" in
24194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 *) ac_try_echo=$ac_try;;
24196 esac
24197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 (eval "$ac_link") 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext &&
24208 $as_test_x conftest$ac_exeext; then
24209 wx_cv_func_va_copy=yes
24210 else
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214 wx_cv_func_va_copy=no
24215
24216 fi
24217
24218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24219 conftest$ac_exeext conftest.$ac_ext
24220 ac_ext=c
24221 ac_cpp='$CPP $CPPFLAGS'
24222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24225
24226
24227
24228 fi
24229 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24230 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24231
24232 if test $wx_cv_func_va_copy = "yes"; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define HAVE_VA_COPY 1
24235 _ACEOF
24236
24237 else
24238 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24239 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24240 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243
24244 if test "$cross_compiling" = yes; then
24245 wx_cv_type_va_list_lvalue=yes
24246
24247 else
24248 cat >conftest.$ac_ext <<_ACEOF
24249
24250 #include <stdarg.h>
24251 int foo(char *f, ...)
24252 {
24253 va_list ap1, ap2;
24254 va_start(ap1, f);
24255 ap2 = ap1;
24256 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24257 return 1;
24258 va_end(ap2);
24259 va_end(ap1);
24260 return 0;
24261 }
24262 int main()
24263 {
24264 return foo("hi", 17);
24265 }
24266 _ACEOF
24267 rm -f conftest$ac_exeext
24268 if { (ac_try="$ac_link"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_link") 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24278 { (case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24281 esac
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_try") 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 wx_cv_type_va_list_lvalue=yes
24288 else
24289 echo "$as_me: program exited with status $ac_status" >&5
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24292
24293 ( exit $ac_status )
24294 wx_cv_type_va_list_lvalue=no
24295 fi
24296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24297 fi
24298
24299
24300
24301
24302 fi
24303 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24304 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24305
24306 if test $wx_cv_type_va_list_lvalue != "yes"; then
24307 cat >>confdefs.h <<\_ACEOF
24308 #define VA_LIST_IS_ARRAY 1
24309 _ACEOF
24310
24311 fi
24312 fi
24313
24314 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24315
24316 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24317 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24318 if test "${wx_cv_have_variadic_macros+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 else
24321
24322 ac_ext=cpp
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24327
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334
24335 #include <stdio.h>
24336 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24337
24338 int
24339 main ()
24340 {
24341
24342 test("%s %d %p", "test", 1, 0);
24343
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_cxx_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 wx_cv_have_variadic_macros=yes
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371 wx_cv_have_variadic_macros=no
24372
24373 fi
24374
24375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24376 ac_ext=c
24377 ac_cpp='$CPP $CPPFLAGS'
24378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24381
24382
24383
24384 fi
24385 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24386 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24387
24388 if test $wx_cv_have_variadic_macros = "yes"; then
24389 cat >>confdefs.h <<\_ACEOF
24390 #define HAVE_VARIADIC_MACROS 1
24391 _ACEOF
24392
24393 fi
24394
24395 fi
24396
24397 LARGEFILE_CPPFLAGS=
24398 # Check whether --enable-largefile was given.
24399 if test "${enable_largefile+set}" = set; then
24400 enableval=$enable_largefile;
24401 fi
24402
24403 if test "$enable_largefile" != no; then
24404 wx_largefile=no
24405
24406 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24407 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24408 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 else
24411
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h. */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 #define _FILE_OFFSET_BITS 64
24419 #include <sys/types.h>
24420 int
24421 main ()
24422 {
24423 typedef struct {
24424 unsigned int field: sizeof(off_t) == 8;
24425 } wxlf;
24426
24427 ;
24428 return 0;
24429 }
24430 _ACEOF
24431 rm -f conftest.$ac_objext
24432 if { (ac_try="$ac_compile"
24433 case "(($ac_try" in
24434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24435 *) ac_try_echo=$ac_try;;
24436 esac
24437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24438 (eval "$ac_compile") 2>conftest.er1
24439 ac_status=$?
24440 grep -v '^ *+' conftest.er1 >conftest.err
24441 rm -f conftest.er1
24442 cat conftest.err >&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } && {
24445 test -z "$ac_c_werror_flag" ||
24446 test ! -s conftest.err
24447 } && test -s conftest.$ac_objext; then
24448 ac_cv_sys_file_offset_bits=64
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 ac_cv_sys_file_offset_bits=no
24454 fi
24455
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24457
24458
24459 fi
24460 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24461 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24462
24463 if test "$ac_cv_sys_file_offset_bits" != no; then
24464 wx_largefile=yes
24465 cat >>confdefs.h <<_ACEOF
24466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24467 _ACEOF
24468
24469 fi
24470
24471 if test "x$wx_largefile" != "xyes"; then
24472
24473 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24474 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24475 if test "${ac_cv_sys_large_files+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 #define _LARGE_FILES 1
24486 #include <sys/types.h>
24487 int
24488 main ()
24489 {
24490 typedef struct {
24491 unsigned int field: sizeof(off_t) == 8;
24492 } wxlf;
24493
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_c_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 ac_cv_sys_large_files=1
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_cv_sys_large_files=no
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524
24525
24526 fi
24527 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24528 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24529
24530 if test "$ac_cv_sys_large_files" != no; then
24531 wx_largefile=yes
24532 cat >>confdefs.h <<_ACEOF
24533 #define _LARGE_FILES $ac_cv_sys_large_files
24534 _ACEOF
24535
24536 fi
24537
24538 fi
24539
24540 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24541 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24542 if test "x$wx_largefile" = "xyes"; then
24543 cat >>confdefs.h <<\_ACEOF
24544 #define HAVE_LARGEFILE_SUPPORT 1
24545 _ACEOF
24546
24547 fi
24548 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24549 echo "${ECHO_T}$wx_largefile" >&6; }
24550 fi
24551
24552 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24553 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24554 elif test "$ac_cv_sys_large_files" = 1; then
24555 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24556 fi
24557
24558 if test -n "$LARGEFILE_CPPFLAGS"; then
24559 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24560
24561 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24562 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24563 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24564 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567
24568 ac_ext=cpp
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580
24581 int
24582 main ()
24583 {
24584
24585 #ifndef __STDC_EXT__
24586 choke me
24587 #endif
24588
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24598 esac
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_cxx_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 wx_cv_STDC_EXT_required=no
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 wx_cv_STDC_EXT_required=yes
24616
24617 fi
24618
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24620 ac_ext=c
24621 ac_cpp='$CPP $CPPFLAGS'
24622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625
24626
24627
24628 fi
24629 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24630 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24631 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24632 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24633 fi
24634 fi
24635 fi
24636
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642
24643 old_CPPFLAGS="$CPPFLAGS"
24644 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24645 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24646 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24647 if test "${ac_cv_sys_largefile_source+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 else
24650 while :; do
24651 cat >conftest.$ac_ext <<_ACEOF
24652 /* confdefs.h. */
24653 _ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <sys/types.h> /* for off_t */
24658 #include <stdio.h>
24659 int
24660 main ()
24661 {
24662 int (*fp) (FILE *, off_t, int) = fseeko;
24663 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext conftest$ac_exeext
24669 if { (ac_try="$ac_link"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_link") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest$ac_exeext &&
24685 $as_test_x conftest$ac_exeext; then
24686 ac_cv_sys_largefile_source=no; break
24687 else
24688 echo "$as_me: failed program was:" >&5
24689 sed 's/^/| /' conftest.$ac_ext >&5
24690
24691
24692 fi
24693
24694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24695 conftest$ac_exeext conftest.$ac_ext
24696 cat >conftest.$ac_ext <<_ACEOF
24697 /* confdefs.h. */
24698 _ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #define _LARGEFILE_SOURCE 1
24703 #include <sys/types.h> /* for off_t */
24704 #include <stdio.h>
24705 int
24706 main ()
24707 {
24708 int (*fp) (FILE *, off_t, int) = fseeko;
24709 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24710 ;
24711 return 0;
24712 }
24713 _ACEOF
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24719 esac
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest$ac_exeext &&
24731 $as_test_x conftest$ac_exeext; then
24732 ac_cv_sys_largefile_source=1; break
24733 else
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737
24738 fi
24739
24740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24741 conftest$ac_exeext conftest.$ac_ext
24742 ac_cv_sys_largefile_source=unknown
24743 break
24744 done
24745 fi
24746 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24747 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24748 case $ac_cv_sys_largefile_source in #(
24749 no | unknown) ;;
24750 *)
24751 cat >>confdefs.h <<_ACEOF
24752 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24753 _ACEOF
24754 ;;
24755 esac
24756 rm -f conftest*
24757
24758 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24759 # in glibc 2.1.3, but that breaks too many other things.
24760 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24761 if test $ac_cv_sys_largefile_source != unknown; then
24762
24763 cat >>confdefs.h <<\_ACEOF
24764 #define HAVE_FSEEKO 1
24765 _ACEOF
24766
24767 fi
24768
24769 CPPFLAGS="$old_CPPFLAGS"
24770 ac_ext=c
24771 ac_cpp='$CPP $CPPFLAGS'
24772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775
24776 if test "$ac_cv_sys_largefile_source" != no; then
24777 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24778 fi
24779
24780 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24781 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24782 if test "${ac_cv_c_bigendian+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 else
24785 ac_cv_c_bigendian=unknown
24786 # See if sys/param.h defines the BYTE_ORDER macro.
24787 cat >conftest.$ac_ext <<_ACEOF
24788 /* confdefs.h. */
24789 _ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 #include <sys/types.h>
24794 #include <sys/param.h>
24795 int
24796 main ()
24797 {
24798
24799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24800 bogus endian macros
24801 #endif
24802 ;
24803 return 0;
24804 }
24805 _ACEOF
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24811 esac
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24814 ac_status=$?
24815 grep -v '^ *+' conftest.er1 >conftest.err
24816 rm -f conftest.er1
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_c_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 # It does; now see whether it defined to BIG_ENDIAN or not.
24824 cat >conftest.$ac_ext <<_ACEOF
24825 /* confdefs.h. */
24826 _ACEOF
24827 cat confdefs.h >>conftest.$ac_ext
24828 cat >>conftest.$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24830 #include <sys/types.h>
24831 #include <sys/param.h>
24832 int
24833 main ()
24834 {
24835
24836 #if BYTE_ORDER != BIG_ENDIAN
24837 not big endian
24838 #endif
24839 ;
24840 return 0;
24841 }
24842 _ACEOF
24843 rm -f conftest.$ac_objext
24844 if { (ac_try="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24847 *) ac_try_echo=$ac_try;;
24848 esac
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24851 ac_status=$?
24852 grep -v '^ *+' conftest.er1 >conftest.err
24853 rm -f conftest.er1
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24860 ac_cv_c_bigendian=yes
24861 else
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24864
24865 ac_cv_c_bigendian=no
24866 fi
24867
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 if test $ac_cv_c_bigendian = unknown; then
24878 if test "$cross_compiling" = yes; then
24879 ac_cv_c_bigendian=unknown
24880 else
24881 cat >conftest.$ac_ext <<_ACEOF
24882 /* confdefs.h. */
24883 _ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 main () {
24888 /* Are we little or big endian? From Harbison&Steele. */
24889 union
24890 {
24891 long l;
24892 char c[sizeof (long)];
24893 } u;
24894 u.l = 1;
24895 exit (u.c[sizeof (long) - 1] == 1);
24896 }
24897 _ACEOF
24898 rm -f conftest$ac_exeext
24899 if { (ac_try="$ac_link"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24903 esac
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_link") 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24909 { (case "(($ac_try" in
24910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24912 esac
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_try") 2>&5
24915 ac_status=$?
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; }; then
24918 ac_cv_c_bigendian=no
24919 else
24920 echo "$as_me: program exited with status $ac_status" >&5
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 ( exit $ac_status )
24925 ac_cv_c_bigendian=yes
24926 fi
24927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24928 fi
24929
24930
24931 fi
24932 fi
24933 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24934 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24935 if test $ac_cv_c_bigendian = unknown; then
24936 { 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
24937 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;}
24938 fi
24939 if test $ac_cv_c_bigendian = yes; then
24940 cat >>confdefs.h <<\_ACEOF
24941 #define WORDS_BIGENDIAN 1
24942 _ACEOF
24943
24944 fi
24945
24946
24947
24948
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955
24956
24957 for ac_header in iostream
24958 do
24959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971
24972
24973 #include <$ac_header>
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 eval "$as_ac_Header=yes"
24993 else
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24996
24997 eval "$as_ac_Header=no"
24998 fi
24999
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001 fi
25002 ac_res=`eval echo '${'$as_ac_Header'}'`
25003 { echo "$as_me:$LINENO: result: $ac_res" >&5
25004 echo "${ECHO_T}$ac_res" >&6; }
25005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25006 cat >>confdefs.h <<_ACEOF
25007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25008 _ACEOF
25009
25010 fi
25011
25012 done
25013
25014
25015 if test "$ac_cv_header_iostream" = "yes" ; then
25016 :
25017 else
25018 cat >>confdefs.h <<\_ACEOF
25019 #define wxUSE_IOSTREAMH 1
25020 _ACEOF
25021
25022 fi
25023
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25029
25030
25031
25032
25033 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25034 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25035 if test "${wx_cv_explicit+set}" = set; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 else
25038
25039
25040 ac_ext=cpp
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25045
25046
25047 cat >conftest.$ac_ext <<_ACEOF
25048 /* confdefs.h. */
25049 _ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25053
25054 class Foo { public: explicit Foo(int) {} };
25055
25056 int
25057 main ()
25058 {
25059
25060 return 0;
25061
25062 ;
25063 return 0;
25064 }
25065 _ACEOF
25066 rm -f conftest.$ac_objext
25067 if { (ac_try="$ac_compile"
25068 case "(($ac_try" in
25069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070 *) ac_try_echo=$ac_try;;
25071 esac
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073 (eval "$ac_compile") 2>conftest.er1
25074 ac_status=$?
25075 grep -v '^ *+' conftest.er1 >conftest.err
25076 rm -f conftest.er1
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } && {
25080 test -z "$ac_cxx_werror_flag" ||
25081 test ! -s conftest.err
25082 } && test -s conftest.$ac_objext; then
25083
25084 cat >conftest.$ac_ext <<_ACEOF
25085 /* confdefs.h. */
25086 _ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090
25091 class Foo { public: explicit Foo(int) {} };
25092 static void TakeFoo(const Foo& foo) { }
25093
25094 int
25095 main ()
25096 {
25097
25098 TakeFoo(17);
25099 return 0;
25100
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (ac_try="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25110 esac
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25113 ac_status=$?
25114 grep -v '^ *+' conftest.er1 >conftest.err
25115 rm -f conftest.er1
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_explicit=no
25123 else
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25126
25127 wx_cv_explicit=yes
25128
25129 fi
25130
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 wx_cv_explicit=no
25138
25139 fi
25140
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142
25143 ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25148
25149
25150 fi
25151 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25152 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25153
25154 if test "$wx_cv_explicit" = "yes"; then
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_EXPLICIT 1
25157 _ACEOF
25158
25159 fi
25160
25161
25162 if test "x$SUNCXX" = xyes; then
25163 CXXFLAGS="-features=tmplife $CXXFLAGS"
25164 fi
25165
25166 if test "x$SUNCC" = xyes; then
25167 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25168 fi
25169
25170 if test "x$SGICC" = "xyes"; then
25171 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25172 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25173 if test "${wx_cv_prog_sgicc744+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183
25184 int
25185 main ()
25186 {
25187
25188 #if _SGI_COMPILER_VERSION >= 744
25189 chock me: mipsPro is 7.4.4 or later
25190 #endif
25191
25192 ;
25193 return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext
25197 if { (ac_try="$ac_compile"
25198 case "(($ac_try" in
25199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25200 *) ac_try_echo=$ac_try;;
25201 esac
25202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25203 (eval "$ac_compile") 2>conftest.er1
25204 ac_status=$?
25205 grep -v '^ *+' conftest.er1 >conftest.err
25206 rm -f conftest.er1
25207 cat conftest.err >&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); } && {
25210 test -z "$ac_c_werror_flag" ||
25211 test ! -s conftest.err
25212 } && test -s conftest.$ac_objext; then
25213 wx_cv_prog_sgicc744=no
25214 else
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25217
25218 wx_cv_prog_sgicc744=yes
25219
25220 fi
25221
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223
25224
25225 fi
25226 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25227 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25228
25229 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25230 CFLAGS="-woff 3970 $CFLAGS"
25231 fi
25232 fi
25233 if test "x$SGICXX" = "xyes"; then
25234 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25235 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25236 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239
25240 ac_ext=cpp
25241 ac_cpp='$CXXCPP $CPPFLAGS'
25242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25245
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h. */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25252
25253 int
25254 main ()
25255 {
25256
25257 #if _SGI_COMPILER_VERSION >= 744
25258 chock me: mipsPro is 7.4.4 or later
25259 #endif
25260
25261 ;
25262 return 0;
25263 }
25264 _ACEOF
25265 rm -f conftest.$ac_objext
25266 if { (ac_try="$ac_compile"
25267 case "(($ac_try" in
25268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25269 *) ac_try_echo=$ac_try;;
25270 esac
25271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25272 (eval "$ac_compile") 2>conftest.er1
25273 ac_status=$?
25274 grep -v '^ *+' conftest.er1 >conftest.err
25275 rm -f conftest.er1
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && {
25279 test -z "$ac_cxx_werror_flag" ||
25280 test ! -s conftest.err
25281 } && test -s conftest.$ac_objext; then
25282 wx_cv_prog_sgicxx744=no
25283 else
25284 echo "$as_me: failed program was:" >&5
25285 sed 's/^/| /' conftest.$ac_ext >&5
25286
25287 wx_cv_prog_sgicxx744=yes
25288
25289 fi
25290
25291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25292 ac_ext=c
25293 ac_cpp='$CPP $CPPFLAGS'
25294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25297
25298
25299
25300 fi
25301 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25302 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25303
25304 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25305 CXXFLAGS="-woff 3970 $CXXFLAGS"
25306 fi
25307 fi
25308
25309 if test "x$HPCC" = "xyes"; then
25310 CFLAGS="+W 2011,2450 $CFLAGS"
25311 fi
25312 if test "x$HPCXX" = "xyes"; then
25313 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25314 fi
25315
25316 if test "x$COMPAQCXX" = "xyes"; then
25317 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25318 fi
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326
25327 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25328 if test "$wxUSE_UNICODE" = "yes"; then
25329 std_string="std::wstring"
25330 char_type="wchar_t"
25331 else
25332 std_string="std::string"
25333 char_type="char"
25334 fi
25335
25336 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25337 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25338 if test "${wx_cv_class_stdstring+set}" = set; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341
25342 cat >conftest.$ac_ext <<_ACEOF
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348 #include <string>
25349 int
25350 main ()
25351 {
25352 $std_string foo;
25353 ;
25354 return 0;
25355 }
25356 _ACEOF
25357 rm -f conftest.$ac_objext
25358 if { (ac_try="$ac_compile"
25359 case "(($ac_try" in
25360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361 *) ac_try_echo=$ac_try;;
25362 esac
25363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364 (eval "$ac_compile") 2>conftest.er1
25365 ac_status=$?
25366 grep -v '^ *+' conftest.er1 >conftest.err
25367 rm -f conftest.er1
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } && {
25371 test -z "$ac_cxx_werror_flag" ||
25372 test ! -s conftest.err
25373 } && test -s conftest.$ac_objext; then
25374 wx_cv_class_stdstring=yes
25375 else
25376 echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25378
25379 wx_cv_class_stdstring=no
25380
25381 fi
25382
25383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25384
25385
25386 fi
25387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25388 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25389
25390 if test "$wx_cv_class_stdstring" = yes; then
25391 if test "$wxUSE_UNICODE" = "yes"; then
25392 cat >>confdefs.h <<\_ACEOF
25393 #define HAVE_STD_WSTRING 1
25394 _ACEOF
25395
25396 fi
25397 else
25398 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25399 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25400 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403
25404 cat >conftest.$ac_ext <<_ACEOF
25405 /* confdefs.h. */
25406 _ACEOF
25407 cat confdefs.h >>conftest.$ac_ext
25408 cat >>conftest.$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410
25411 #ifdef HAVE_WCHAR_H
25412 # ifdef __CYGWIN__
25413 # include <stddef.h>
25414 # endif
25415 # include <wchar.h>
25416 #endif
25417 #ifdef HAVE_STDLIB_H
25418 # include <stdlib.h>
25419 #endif
25420 #include <stdio.h>
25421 #include <string>
25422
25423 int
25424 main ()
25425 {
25426 std::basic_string<$char_type> foo;
25427 const $char_type* dummy = foo.c_str();
25428 ;
25429 return 0;
25430 }
25431 _ACEOF
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25437 esac
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_cxx_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.$ac_objext; then
25449 wx_cv_class_stdbasicstring=yes
25450 else
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 wx_cv_class_stdbasicstring=no
25455
25456 fi
25457
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459
25460
25461 fi
25462 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25463 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25464
25465 if test "$wx_cv_class_stdbasicstring" != yes; then
25466 if test "$wxUSE_STL" = "yes"; then
25467 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25468 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25469 { (exit 1); exit 1; }; }
25470 elif test "$wxUSE_STD_STRING" = "yes"; then
25471 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25472 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25473 { (exit 1); exit 1; }; }
25474 else
25475 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25476 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25477 wxUSE_STD_STRING=no
25478 fi
25479 fi
25480 fi
25481 fi
25482
25483 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for std::istream" >&5
25485 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25486 if test "${ac_cv_type_std__istream+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489 cat >conftest.$ac_ext <<_ACEOF
25490 /* confdefs.h. */
25491 _ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495 #include <iostream>
25496
25497 typedef std::istream ac__type_new_;
25498 int
25499 main ()
25500 {
25501 if ((ac__type_new_ *) 0)
25502 return 0;
25503 if (sizeof (ac__type_new_))
25504 return 0;
25505 ;
25506 return 0;
25507 }
25508 _ACEOF
25509 rm -f conftest.$ac_objext
25510 if { (ac_try="$ac_compile"
25511 case "(($ac_try" in
25512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25513 *) ac_try_echo=$ac_try;;
25514 esac
25515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25516 (eval "$ac_compile") 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } && {
25523 test -z "$ac_cxx_werror_flag" ||
25524 test ! -s conftest.err
25525 } && test -s conftest.$ac_objext; then
25526 ac_cv_type_std__istream=yes
25527 else
25528 echo "$as_me: failed program was:" >&5
25529 sed 's/^/| /' conftest.$ac_ext >&5
25530
25531 ac_cv_type_std__istream=no
25532 fi
25533
25534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25535 fi
25536 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25537 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25538 if test $ac_cv_type_std__istream = yes; then
25539
25540 cat >>confdefs.h <<_ACEOF
25541 #define HAVE_STD__ISTREAM 1
25542 _ACEOF
25543
25544
25545 else
25546 wxUSE_STD_IOSTREAM=no
25547 fi
25548 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25549 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25550 if test "${ac_cv_type_std__ostream+set}" = set; then
25551 echo $ECHO_N "(cached) $ECHO_C" >&6
25552 else
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559 #include <iostream>
25560
25561 typedef std::ostream ac__type_new_;
25562 int
25563 main ()
25564 {
25565 if ((ac__type_new_ *) 0)
25566 return 0;
25567 if (sizeof (ac__type_new_))
25568 return 0;
25569 ;
25570 return 0;
25571 }
25572 _ACEOF
25573 rm -f conftest.$ac_objext
25574 if { (ac_try="$ac_compile"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25578 esac
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_compile") 2>conftest.er1
25581 ac_status=$?
25582 grep -v '^ *+' conftest.er1 >conftest.err
25583 rm -f conftest.er1
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_cxx_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest.$ac_objext; then
25590 ac_cv_type_std__ostream=yes
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ac_cv_type_std__ostream=no
25596 fi
25597
25598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25599 fi
25600 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25601 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25602 if test $ac_cv_type_std__ostream = yes; then
25603
25604 cat >>confdefs.h <<_ACEOF
25605 #define HAVE_STD__OSTREAM 1
25606 _ACEOF
25607
25608
25609 else
25610 wxUSE_STD_IOSTREAM=no
25611 fi
25612
25613
25614 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25615 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25616 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25617 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25618 { (exit 1); exit 1; }; }
25619 else
25620 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25621 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25622 fi
25623 fi
25624 fi
25625
25626 if test "$wxUSE_STL" = "yes"; then
25627 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25628 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25629 if test "${wx_cv_lib_stl+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 cat >conftest.$ac_ext <<_ACEOF
25633 /* confdefs.h. */
25634 _ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638 #include <string>
25639 #include <functional>
25640 #include <algorithm>
25641 #include <vector>
25642 #include <list>
25643 int
25644 main ()
25645 {
25646 std::vector<int> moo;
25647 std::list<int> foo;
25648 std::vector<int>::iterator it =
25649 std::find_if(moo.begin(), moo.end(),
25650 std::bind2nd(std::less<int>(), 3));
25651 ;
25652 return 0;
25653 }
25654 _ACEOF
25655 rm -f conftest.$ac_objext
25656 if { (ac_try="$ac_compile"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25660 esac
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_compile") 2>conftest.er1
25663 ac_status=$?
25664 grep -v '^ *+' conftest.er1 >conftest.err
25665 rm -f conftest.er1
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_cxx_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest.$ac_objext; then
25672 wx_cv_lib_stl=yes
25673 else
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25676
25677 wx_cv_lib_stl=no
25678
25679 fi
25680
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682
25683 fi
25684 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25685 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25686
25687 if test "$wx_cv_lib_stl" != yes; then
25688 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25689 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25690 { (exit 1); exit 1; }; }
25691 fi
25692
25693 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25694 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25695 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25698 cat >conftest.$ac_ext <<_ACEOF
25699 /* confdefs.h. */
25700 _ACEOF
25701 cat confdefs.h >>conftest.$ac_ext
25702 cat >>conftest.$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25704 #include <string>
25705 int
25706 main ()
25707 {
25708 std::string foo, bar;
25709 foo.compare(bar);
25710 foo.compare(1, 1, bar);
25711 foo.compare(1, 1, bar, 1, 1);
25712 foo.compare("");
25713 foo.compare(1, 1, "");
25714 foo.compare(1, 1, "", 2);
25715 ;
25716 return 0;
25717 }
25718 _ACEOF
25719 rm -f conftest.$ac_objext
25720 if { (ac_try="$ac_compile"
25721 case "(($ac_try" in
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25724 esac
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_compile") 2>conftest.er1
25727 ac_status=$?
25728 grep -v '^ *+' conftest.er1 >conftest.err
25729 rm -f conftest.er1
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_cxx_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest.$ac_objext; then
25736 wx_cv_func_stdstring_compare=yes
25737 else
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25740
25741 wx_cv_func_stdstring_compare=no
25742
25743 fi
25744
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746
25747 fi
25748 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25749 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25750
25751 if test "$wx_cv_func_stdstring_compare" = yes; then
25752 cat >>confdefs.h <<\_ACEOF
25753 #define HAVE_STD_STRING_COMPARE 1
25754 _ACEOF
25755
25756 fi
25757
25758 if test "$wx_cv_class_gnuhashmapset" = yes; then
25759 cat >>confdefs.h <<\_ACEOF
25760 #define HAVE_EXT_HASH_MAP 1
25761 _ACEOF
25762
25763 cat >>confdefs.h <<\_ACEOF
25764 #define HAVE_GNU_CXX_HASH_MAP 1
25765 _ACEOF
25766
25767 fi
25768
25769 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25770 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_unordered_map+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774 cat >conftest.$ac_ext <<_ACEOF
25775 /* confdefs.h. */
25776 _ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780
25781
25782
25783 #include <unordered_map>
25784 _ACEOF
25785 rm -f conftest.$ac_objext
25786 if { (ac_try="$ac_compile"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790 esac
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_compile") 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_cxx_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest.$ac_objext; then
25802 ac_cv_header_unordered_map=yes
25803 else
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25806
25807 ac_cv_header_unordered_map=no
25808 fi
25809
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811 fi
25812 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25813 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25814 if test $ac_cv_header_unordered_map = yes; then
25815 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25816 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25817 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 else
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <unordered_map>
25827 #include <unordered_set>
25828 int
25829 main ()
25830 {
25831 std::unordered_map<double*, char*> test1;
25832 std::unordered_set<char*> test2;
25833 ;
25834 return 0;
25835 }
25836 _ACEOF
25837 rm -f conftest.$ac_objext
25838 if { (ac_try="$ac_compile"
25839 case "(($ac_try" in
25840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25841 *) ac_try_echo=$ac_try;;
25842 esac
25843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25844 (eval "$ac_compile") 2>conftest.er1
25845 ac_status=$?
25846 grep -v '^ *+' conftest.er1 >conftest.err
25847 rm -f conftest.er1
25848 cat conftest.err >&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } && {
25851 test -z "$ac_cxx_werror_flag" ||
25852 test ! -s conftest.err
25853 } && test -s conftest.$ac_objext; then
25854 wx_cv_class_stdunorderedmapset=yes
25855 else
25856 echo "$as_me: failed program was:" >&5
25857 sed 's/^/| /' conftest.$ac_ext >&5
25858
25859 wx_cv_class_stdunorderedmapset=no
25860 fi
25861
25862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25863
25864
25865 fi
25866 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25867 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25868 fi
25869
25870
25871
25872 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25873 cat >>confdefs.h <<\_ACEOF
25874 #define HAVE_STD_UNORDERED_MAP 1
25875 _ACEOF
25876
25877 cat >>confdefs.h <<\_ACEOF
25878 #define HAVE_STD_UNORDERED_SET 1
25879 _ACEOF
25880
25881 else
25882 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25883 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25884 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25886 else
25887 cat >conftest.$ac_ext <<_ACEOF
25888 /* confdefs.h. */
25889 _ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25893
25894
25895
25896 #include <tr1/unordered_map>
25897 _ACEOF
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25903 esac
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_cxx_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 ac_cv_header_tr1_unordered_map=yes
25916 else
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.$ac_ext >&5
25919
25920 ac_cv_header_tr1_unordered_map=no
25921 fi
25922
25923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25924 fi
25925 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25926 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25927 if test $ac_cv_header_tr1_unordered_map = yes; then
25928 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25929 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25930 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 else
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <tr1/unordered_map>
25940 #include <tr1/unordered_set>
25941 int
25942 main ()
25943 {
25944 std::tr1::unordered_map<double*, char*> test1;
25945 std::tr1::unordered_set<char*> test2;
25946 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25947 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25948 #endif
25949 ;
25950 return 0;
25951 }
25952 _ACEOF
25953 rm -f conftest.$ac_objext
25954 if { (ac_try="$ac_compile"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25958 esac
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_compile") 2>conftest.er1
25961 ac_status=$?
25962 grep -v '^ *+' conftest.er1 >conftest.err
25963 rm -f conftest.er1
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest.$ac_objext; then
25970 wx_cv_class_tr1unorderedmapset=yes
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25974
25975 wx_cv_class_tr1unorderedmapset=no
25976 fi
25977
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25979
25980
25981 fi
25982 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25983 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25984 fi
25985
25986
25987
25988 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_TR1_UNORDERED_MAP 1
25991 _ACEOF
25992
25993 cat >>confdefs.h <<\_ACEOF
25994 #define HAVE_TR1_UNORDERED_SET 1
25995 _ACEOF
25996
25997 else
25998 { echo "$as_me:$LINENO: checking for hash_map" >&5
25999 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26000 if test "${ac_cv_header_hash_map+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003 cat >conftest.$ac_ext <<_ACEOF
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009
26010
26011
26012 #include <hash_map>
26013 _ACEOF
26014 rm -f conftest.$ac_objext
26015 if { (ac_try="$ac_compile"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_compile") 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_cxx_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest.$ac_objext; then
26031 ac_cv_header_hash_map=yes
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26035
26036 ac_cv_header_hash_map=no
26037 fi
26038
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 fi
26041 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26042 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26043 if test $ac_cv_header_hash_map = yes; then
26044 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26045 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26046 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 else
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <hash_map>
26056 #include <hash_set>
26057 int
26058 main ()
26059 {
26060 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26061 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26062 ;
26063 return 0;
26064 }
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (ac_try="$ac_compile"
26068 case "(($ac_try" in
26069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26070 *) ac_try_echo=$ac_try;;
26071 esac
26072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26073 (eval "$ac_compile") 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } && {
26080 test -z "$ac_cxx_werror_flag" ||
26081 test ! -s conftest.err
26082 } && test -s conftest.$ac_objext; then
26083 wx_cv_class_stdhashmapset=yes
26084 else
26085 echo "$as_me: failed program was:" >&5
26086 sed 's/^/| /' conftest.$ac_ext >&5
26087
26088 wx_cv_class_stdhashmapset=no
26089 fi
26090
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092
26093
26094 fi
26095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26096 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26097 fi
26098
26099
26100
26101 if test "$wx_cv_class_stdhashmapset" = yes; then
26102 cat >>confdefs.h <<\_ACEOF
26103 #define HAVE_HASH_MAP 1
26104 _ACEOF
26105
26106 cat >>confdefs.h <<\_ACEOF
26107 #define HAVE_STD_HASH_MAP 1
26108 _ACEOF
26109
26110 fi
26111
26112 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26113 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26114 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 else
26117 cat >conftest.$ac_ext <<_ACEOF
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123
26124
26125
26126 #include <ext/hash_map>
26127 _ACEOF
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26132 *) ac_try_echo=$ac_try;;
26133 esac
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } && {
26142 test -z "$ac_cxx_werror_flag" ||
26143 test ! -s conftest.err
26144 } && test -s conftest.$ac_objext; then
26145 ac_cv_header_ext_hash_map=yes
26146 else
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150 ac_cv_header_ext_hash_map=no
26151 fi
26152
26153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26154 fi
26155 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26156 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26157 if test $ac_cv_header_ext_hash_map = yes; then
26158 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26159 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26160 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26162 else
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 #include <ext/hash_map>
26170 #include <ext/hash_set>
26171 int
26172 main ()
26173 {
26174 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26175 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26176 ;
26177 return 0;
26178 }
26179 _ACEOF
26180 rm -f conftest.$ac_objext
26181 if { (ac_try="$ac_compile"
26182 case "(($ac_try" in
26183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26184 *) ac_try_echo=$ac_try;;
26185 esac
26186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26187 (eval "$ac_compile") 2>conftest.er1
26188 ac_status=$?
26189 grep -v '^ *+' conftest.er1 >conftest.err
26190 rm -f conftest.er1
26191 cat conftest.err >&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && {
26194 test -z "$ac_cxx_werror_flag" ||
26195 test ! -s conftest.err
26196 } && test -s conftest.$ac_objext; then
26197 wx_cv_class_gnuhashmapset=yes
26198 else
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26201
26202 wx_cv_class_gnuhashmapset=no
26203 fi
26204
26205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26206
26207
26208 fi
26209 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26210 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26211 fi
26212
26213
26214
26215 fi
26216 fi
26217 fi
26218
26219 ac_ext=cpp
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26224 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26225 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26226 if test -z "$CXXCPP"; then
26227 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 else
26230 # Double quotes because CXXCPP needs to be expanded
26231 for CXXCPP in "$CXX -E" "/lib/cpp"
26232 do
26233 ac_preproc_ok=false
26234 for ac_cxx_preproc_warn_flag in '' yes
26235 do
26236 # Use a header file that comes with gcc, so configuring glibc
26237 # with a fresh cross-compiler works.
26238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239 # <limits.h> exists even on freestanding compilers.
26240 # On the NeXT, cc -E runs the code through the compiler's parser,
26241 # not just through cpp. "Syntax error" is here to catch this case.
26242 cat >conftest.$ac_ext <<_ACEOF
26243 /* confdefs.h. */
26244 _ACEOF
26245 cat confdefs.h >>conftest.$ac_ext
26246 cat >>conftest.$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26248 #ifdef __STDC__
26249 # include <limits.h>
26250 #else
26251 # include <assert.h>
26252 #endif
26253 Syntax error
26254 _ACEOF
26255 if { (ac_try="$ac_cpp conftest.$ac_ext"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26259 esac
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } >/dev/null && {
26268 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26269 test ! -s conftest.err
26270 }; then
26271 :
26272 else
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.$ac_ext >&5
26275
26276 # Broken: fails on valid input.
26277 continue
26278 fi
26279
26280 rm -f conftest.err conftest.$ac_ext
26281
26282 # OK, works on sane cases. Now check whether nonexistent headers
26283 # can be detected and how.
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <ac_nonexistent.h>
26291 _ACEOF
26292 if { (ac_try="$ac_cpp conftest.$ac_ext"
26293 case "(($ac_try" in
26294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295 *) ac_try_echo=$ac_try;;
26296 esac
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } >/dev/null && {
26305 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26306 test ! -s conftest.err
26307 }; then
26308 # Broken: success on invalid input.
26309 continue
26310 else
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26313
26314 # Passes both tests.
26315 ac_preproc_ok=:
26316 break
26317 fi
26318
26319 rm -f conftest.err conftest.$ac_ext
26320
26321 done
26322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26323 rm -f conftest.err conftest.$ac_ext
26324 if $ac_preproc_ok; then
26325 break
26326 fi
26327
26328 done
26329 ac_cv_prog_CXXCPP=$CXXCPP
26330
26331 fi
26332 CXXCPP=$ac_cv_prog_CXXCPP
26333 else
26334 ac_cv_prog_CXXCPP=$CXXCPP
26335 fi
26336 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26337 echo "${ECHO_T}$CXXCPP" >&6; }
26338 ac_preproc_ok=false
26339 for ac_cxx_preproc_warn_flag in '' yes
26340 do
26341 # Use a header file that comes with gcc, so configuring glibc
26342 # with a fresh cross-compiler works.
26343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26344 # <limits.h> exists even on freestanding compilers.
26345 # On the NeXT, cc -E runs the code through the compiler's parser,
26346 # not just through cpp. "Syntax error" is here to catch this case.
26347 cat >conftest.$ac_ext <<_ACEOF
26348 /* confdefs.h. */
26349 _ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353 #ifdef __STDC__
26354 # include <limits.h>
26355 #else
26356 # include <assert.h>
26357 #endif
26358 Syntax error
26359 _ACEOF
26360 if { (ac_try="$ac_cpp conftest.$ac_ext"
26361 case "(($ac_try" in
26362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26363 *) ac_try_echo=$ac_try;;
26364 esac
26365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } >/dev/null && {
26373 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26374 test ! -s conftest.err
26375 }; then
26376 :
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 # Broken: fails on valid input.
26382 continue
26383 fi
26384
26385 rm -f conftest.err conftest.$ac_ext
26386
26387 # OK, works on sane cases. Now check whether nonexistent headers
26388 # can be detected and how.
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 #include <ac_nonexistent.h>
26396 _ACEOF
26397 if { (ac_try="$ac_cpp conftest.$ac_ext"
26398 case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26401 esac
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26404 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } >/dev/null && {
26410 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26411 test ! -s conftest.err
26412 }; then
26413 # Broken: success on invalid input.
26414 continue
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26418
26419 # Passes both tests.
26420 ac_preproc_ok=:
26421 break
26422 fi
26423
26424 rm -f conftest.err conftest.$ac_ext
26425
26426 done
26427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26428 rm -f conftest.err conftest.$ac_ext
26429 if $ac_preproc_ok; then
26430 :
26431 else
26432 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26433 See \`config.log' for more details." >&5
26434 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26435 See \`config.log' for more details." >&2;}
26436 { (exit 1); exit 1; }; }
26437 fi
26438
26439 ac_ext=cpp
26440 ac_cpp='$CXXCPP $CPPFLAGS'
26441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26444
26445
26446
26447
26448 for ac_header in type_traits tr1/type_traits
26449 do
26450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 fi
26457 ac_res=`eval echo '${'$as_ac_Header'}'`
26458 { echo "$as_me:$LINENO: result: $ac_res" >&5
26459 echo "${ECHO_T}$ac_res" >&6; }
26460 else
26461 # Is the header compilable?
26462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26464 cat >conftest.$ac_ext <<_ACEOF
26465 /* confdefs.h. */
26466 _ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26470 $ac_includes_default
26471 #include <$ac_header>
26472 _ACEOF
26473 rm -f conftest.$ac_objext
26474 if { (ac_try="$ac_compile"
26475 case "(($ac_try" in
26476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26477 *) ac_try_echo=$ac_try;;
26478 esac
26479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26480 (eval "$ac_compile") 2>conftest.er1
26481 ac_status=$?
26482 grep -v '^ *+' conftest.er1 >conftest.err
26483 rm -f conftest.er1
26484 cat conftest.err >&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } && {
26487 test -z "$ac_cxx_werror_flag" ||
26488 test ! -s conftest.err
26489 } && test -s conftest.$ac_objext; then
26490 ac_header_compiler=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_header_compiler=no
26496 fi
26497
26498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26500 echo "${ECHO_T}$ac_header_compiler" >&6; }
26501
26502 # Is the header present?
26503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26505 cat >conftest.$ac_ext <<_ACEOF
26506 /* confdefs.h. */
26507 _ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511 #include <$ac_header>
26512 _ACEOF
26513 if { (ac_try="$ac_cpp conftest.$ac_ext"
26514 case "(($ac_try" in
26515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26516 *) ac_try_echo=$ac_try;;
26517 esac
26518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26520 ac_status=$?
26521 grep -v '^ *+' conftest.er1 >conftest.err
26522 rm -f conftest.er1
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } >/dev/null && {
26526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26527 test ! -s conftest.err
26528 }; then
26529 ac_header_preproc=yes
26530 else
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 ac_header_preproc=no
26535 fi
26536
26537 rm -f conftest.err conftest.$ac_ext
26538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26539 echo "${ECHO_T}$ac_header_preproc" >&6; }
26540
26541 # So? What about this header?
26542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26543 yes:no: )
26544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26548 ac_header_preproc=yes
26549 ;;
26550 no:yes:* )
26551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26563 ( cat <<\_ASBOX
26564 ## ----------------------------------------- ##
26565 ## Report this to wx-dev@lists.wxwidgets.org ##
26566 ## ----------------------------------------- ##
26567 _ASBOX
26568 ) | sed "s/^/$as_me: WARNING: /" >&2
26569 ;;
26570 esac
26571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26576 eval "$as_ac_Header=\$ac_header_preproc"
26577 fi
26578 ac_res=`eval echo '${'$as_ac_Header'}'`
26579 { echo "$as_me:$LINENO: result: $ac_res" >&5
26580 echo "${ECHO_T}$ac_res" >&6; }
26581
26582 fi
26583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26584 cat >>confdefs.h <<_ACEOF
26585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26586 _ACEOF
26587
26588 fi
26589
26590 done
26591
26592
26593
26594
26595 if test -n "$GCC"; then
26596 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26597 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26598 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601
26602 cat >conftest.$ac_ext <<_ACEOF
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608
26609 int
26610 main ()
26611 {
26612
26613 unsigned int value=0;
26614 /* wxAtomicInc doesn't use return value here */
26615 __sync_fetch_and_add(&value, 2);
26616 __sync_sub_and_fetch(&value, 1);
26617 /* but wxAtomicDec does, so mimic that: */
26618 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26619
26620 ;
26621 return 0;
26622 }
26623 _ACEOF
26624 rm -f conftest.$ac_objext conftest$ac_exeext
26625 if { (ac_try="$ac_link"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26629 esac
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_link") 2>conftest.er1
26632 ac_status=$?
26633 grep -v '^ *+' conftest.er1 >conftest.err
26634 rm -f conftest.er1
26635 cat conftest.err >&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } && {
26638 test -z "$ac_cxx_werror_flag" ||
26639 test ! -s conftest.err
26640 } && test -s conftest$ac_exeext &&
26641 $as_test_x conftest$ac_exeext; then
26642 wx_cv_cc_gcc_atomic_builtins=yes
26643 else
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26646
26647 wx_cv_cc_gcc_atomic_builtins=no
26648 fi
26649
26650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26651 conftest$ac_exeext conftest.$ac_ext
26652
26653 fi
26654
26655 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26656 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26657 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26658 cat >>confdefs.h <<\_ACEOF
26659 #define HAVE_GCC_ATOMIC_BUILTINS 1
26660 _ACEOF
26661
26662 fi
26663 fi
26664
26665
26666 ac_ext=c
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26671
26672
26673
26674 SEARCH_INCLUDE="\
26675 /usr/local/include \
26676 /usr/local/X11/include \
26677 /usr/local/include/X11 \
26678 /usr/local/X11R7/include \
26679 /usr/local/X11R6/include \
26680 /usr/local/include/X11R7 \
26681 /usr/local/include/X11R6 \
26682 \
26683 /usr/Motif-2.1/include \
26684 /usr/Motif-1.2/include \
26685 /usr/include/Motif1.2 \
26686 \
26687 /usr/dt/include \
26688 /usr/openwin/include \
26689 \
26690 /usr/include/Xm \
26691 \
26692 /usr/X11R7/include \
26693 /usr/X11R6/include \
26694 /usr/X11R6.4/include \
26695 \
26696 /usr/include/X11R7 \
26697 /usr/include/X11R6 \
26698 \
26699 /usr/X11/include \
26700 /usr/include/X11 \
26701 \
26702 /usr/XFree86/include/X11 \
26703 /usr/pkg/include \
26704 \
26705 /usr/local/X1R5/include \
26706 /usr/local/include/X11R5 \
26707 /usr/X11R5/include \
26708 /usr/include/X11R5 \
26709 \
26710 /usr/local/X11R4/include \
26711 /usr/local/include/X11R4 \
26712 /usr/X11R4/include \
26713 /usr/include/X11R4 \
26714 \
26715 /usr/openwin/share/include"
26716
26717 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26718 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26719
26720 case "${host}" in
26721 *-*-irix6* )
26722 if test "${wx_cv_std_libpath+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 else
26725
26726 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26727 for e in a so sl dylib dll.a; do
26728 libc="$d/libc.$e"
26729 if test -f $libc; then
26730 save_LIBS="$LIBS"
26731 LIBS="$libc"
26732 cat >conftest.$ac_ext <<_ACEOF
26733 int main() { return 0; }
26734 _ACEOF
26735 rm -f conftest.$ac_objext conftest$ac_exeext
26736 if { (ac_try="$ac_link"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26740 esac
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_link") 2>conftest.er1
26743 ac_status=$?
26744 grep -v '^ *+' conftest.er1 >conftest.err
26745 rm -f conftest.er1
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } && {
26749 test -z "$ac_c_werror_flag" ||
26750 test ! -s conftest.err
26751 } && test -s conftest$ac_exeext &&
26752 $as_test_x conftest$ac_exeext; then
26753 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26757
26758
26759 fi
26760
26761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26762 conftest$ac_exeext conftest.$ac_ext
26763 LIBS="$save_LIBS"
26764 if test "x$wx_cv_std_libpath" != "x"; then
26765 break 2
26766 fi
26767 fi
26768 done
26769 done
26770 if test "x$wx_cv_std_libpath" = "x"; then
26771 wx_cv_std_libpath="lib"
26772 fi
26773
26774
26775 fi
26776
26777 ;;
26778
26779 *-*-solaris2* )
26780 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26781 wx_cv_std_libpath="lib/64"
26782 else
26783 wx_cv_std_libpath="lib"
26784 fi
26785 ;;
26786
26787 *-*-linux* )
26788 if test "$ac_cv_sizeof_void_p" = 8 -a \
26789 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26790 wx_cv_std_libpath="lib64"
26791 else
26792 wx_cv_std_libpath="lib"
26793 fi
26794 ;;
26795
26796 *)
26797 wx_cv_std_libpath="lib";
26798 ;;
26799 esac
26800
26801 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26802 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26803
26804 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26805
26806 if test "$build" != "$host" -a "$GCC" = yes; then
26807 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26808 cross_root=`dirname $cross_root`
26809 cross_root=`dirname $cross_root`
26810
26811 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26812 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26813 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26814
26815 if test -z "$PKG_CONFIG_PATH"; then
26816 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26817 export PKG_CONFIG_PATH
26818 fi
26819
26820 if test -z "$x_includes" -o "$x_includes" = NONE; then
26821
26822 ac_find_includes=
26823 for ac_dir in $SEARCH_INCLUDE /usr/include
26824 do
26825 if test -f "$ac_dir/X11/Intrinsic.h"; then
26826 ac_find_includes=$ac_dir
26827 break
26828 fi
26829 done
26830
26831 x_includes=$ac_find_includes
26832 fi
26833 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26834
26835 ac_find_libraries=
26836 for ac_dir in $SEARCH_LIB
26837 do
26838 for ac_extension in a so sl dylib dll.a; do
26839 if test -f "$ac_dir/libXt.$ac_extension"; then
26840 ac_find_libraries=$ac_dir
26841 break 2
26842 fi
26843 done
26844 done
26845
26846 x_libraries=$ac_find_libraries
26847 fi
26848 fi
26849 fi
26850
26851
26852 cat >confcache <<\_ACEOF
26853 # This file is a shell script that caches the results of configure
26854 # tests run on this system so they can be shared between configure
26855 # scripts and configure runs, see configure's option --config-cache.
26856 # It is not useful on other systems. If it contains results you don't
26857 # want to keep, you may remove or edit it.
26858 #
26859 # config.status only pays attention to the cache file if you give it
26860 # the --recheck option to rerun configure.
26861 #
26862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26864 # following values.
26865
26866 _ACEOF
26867
26868 # The following way of writing the cache mishandles newlines in values,
26869 # but we know of no workaround that is simple, portable, and efficient.
26870 # So, we kill variables containing newlines.
26871 # Ultrix sh set writes to stderr and can't be redirected directly,
26872 # and sets the high bit in the cache file unless we assign to the vars.
26873 (
26874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26875 eval ac_val=\$$ac_var
26876 case $ac_val in #(
26877 *${as_nl}*)
26878 case $ac_var in #(
26879 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26881 esac
26882 case $ac_var in #(
26883 _ | IFS | as_nl) ;; #(
26884 *) $as_unset $ac_var ;;
26885 esac ;;
26886 esac
26887 done
26888
26889 (set) 2>&1 |
26890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26891 *${as_nl}ac_space=\ *)
26892 # `set' does not quote correctly, so add quotes (double-quote
26893 # substitution turns \\\\ into \\, and sed turns \\ into \).
26894 sed -n \
26895 "s/'/'\\\\''/g;
26896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26897 ;; #(
26898 *)
26899 # `set' quotes correctly as required by POSIX, so do not add quotes.
26900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26901 ;;
26902 esac |
26903 sort
26904 ) |
26905 sed '
26906 /^ac_cv_env_/b end
26907 t clear
26908 :clear
26909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26910 t end
26911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26912 :end' >>confcache
26913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26914 if test -w "$cache_file"; then
26915 test "x$cache_file" != "x/dev/null" &&
26916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26917 echo "$as_me: updating cache $cache_file" >&6;}
26918 cat confcache >$cache_file
26919 else
26920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26922 fi
26923 fi
26924 rm -f confcache
26925
26926 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26927 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26928 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26929 if test "${wx_cv_lib_glibc21+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 else
26932
26933 cat >conftest.$ac_ext <<_ACEOF
26934 /* confdefs.h. */
26935 _ACEOF
26936 cat confdefs.h >>conftest.$ac_ext
26937 cat >>conftest.$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939 #include <features.h>
26940 int
26941 main ()
26942 {
26943
26944 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26945 not glibc 2.1
26946 #endif
26947
26948 ;
26949 return 0;
26950 }
26951 _ACEOF
26952 rm -f conftest.$ac_objext
26953 if { (ac_try="$ac_compile"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26957 esac
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26960 ac_status=$?
26961 grep -v '^ *+' conftest.er1 >conftest.err
26962 rm -f conftest.er1
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.$ac_objext; then
26969
26970 wx_cv_lib_glibc21=yes
26971
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976
26977 wx_cv_lib_glibc21=no
26978
26979
26980 fi
26981
26982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26983
26984 fi
26985 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26986 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26987 if test "$wx_cv_lib_glibc21" = "yes"; then
26988 cat >>confdefs.h <<\_ACEOF
26989 #define wxHAVE_GLIBC2 1
26990 _ACEOF
26991
26992 fi
26993 fi
26994
26995 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26996 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define _GNU_SOURCE 1
26999 _ACEOF
27000
27001 fi
27002 fi
27003
27004 have_cos=0
27005 have_floor=0
27006
27007 for ac_func in cos
27008 do
27009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27014 else
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27023 #define $ac_func innocuous_$ac_func
27024
27025 /* System header to define __stub macros and hopefully few prototypes,
27026 which can conflict with char $ac_func (); below.
27027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27028 <limits.h> exists even on freestanding compilers. */
27029
27030 #ifdef __STDC__
27031 # include <limits.h>
27032 #else
27033 # include <assert.h>
27034 #endif
27035
27036 #undef $ac_func
27037
27038 /* Override any GCC internal prototype to avoid an error.
27039 Use char because int might match the return type of a GCC
27040 builtin and then its argument prototype would still apply. */
27041 #ifdef __cplusplus
27042 extern "C"
27043 #endif
27044 char $ac_func ();
27045 /* The GNU C library defines this for functions which it implements
27046 to always fail with ENOSYS. Some functions are actually named
27047 something starting with __ and the normal name is an alias. */
27048 #if defined __stub_$ac_func || defined __stub___$ac_func
27049 choke me
27050 #endif
27051
27052 int
27053 main ()
27054 {
27055 return $ac_func ();
27056 ;
27057 return 0;
27058 }
27059 _ACEOF
27060 rm -f conftest.$ac_objext conftest$ac_exeext
27061 if { (ac_try="$ac_link"
27062 case "(($ac_try" in
27063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27064 *) ac_try_echo=$ac_try;;
27065 esac
27066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27067 (eval "$ac_link") 2>conftest.er1
27068 ac_status=$?
27069 grep -v '^ *+' conftest.er1 >conftest.err
27070 rm -f conftest.er1
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } && {
27074 test -z "$ac_c_werror_flag" ||
27075 test ! -s conftest.err
27076 } && test -s conftest$ac_exeext &&
27077 $as_test_x conftest$ac_exeext; then
27078 eval "$as_ac_var=yes"
27079 else
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27082
27083 eval "$as_ac_var=no"
27084 fi
27085
27086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27087 conftest$ac_exeext conftest.$ac_ext
27088 fi
27089 ac_res=`eval echo '${'$as_ac_var'}'`
27090 { echo "$as_me:$LINENO: result: $ac_res" >&5
27091 echo "${ECHO_T}$ac_res" >&6; }
27092 if test `eval echo '${'$as_ac_var'}'` = yes; then
27093 cat >>confdefs.h <<_ACEOF
27094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27095 _ACEOF
27096 have_cos=1
27097 fi
27098 done
27099
27100
27101 for ac_func in floor
27102 do
27103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27109 cat >conftest.$ac_ext <<_ACEOF
27110 /* confdefs.h. */
27111 _ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27117 #define $ac_func innocuous_$ac_func
27118
27119 /* System header to define __stub macros and hopefully few prototypes,
27120 which can conflict with char $ac_func (); below.
27121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27122 <limits.h> exists even on freestanding compilers. */
27123
27124 #ifdef __STDC__
27125 # include <limits.h>
27126 #else
27127 # include <assert.h>
27128 #endif
27129
27130 #undef $ac_func
27131
27132 /* Override any GCC internal prototype to avoid an error.
27133 Use char because int might match the return type of a GCC
27134 builtin and then its argument prototype would still apply. */
27135 #ifdef __cplusplus
27136 extern "C"
27137 #endif
27138 char $ac_func ();
27139 /* The GNU C library defines this for functions which it implements
27140 to always fail with ENOSYS. Some functions are actually named
27141 something starting with __ and the normal name is an alias. */
27142 #if defined __stub_$ac_func || defined __stub___$ac_func
27143 choke me
27144 #endif
27145
27146 int
27147 main ()
27148 {
27149 return $ac_func ();
27150 ;
27151 return 0;
27152 }
27153 _ACEOF
27154 rm -f conftest.$ac_objext conftest$ac_exeext
27155 if { (ac_try="$ac_link"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27159 esac
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_link") 2>conftest.er1
27162 ac_status=$?
27163 grep -v '^ *+' conftest.er1 >conftest.err
27164 rm -f conftest.er1
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } && {
27168 test -z "$ac_c_werror_flag" ||
27169 test ! -s conftest.err
27170 } && test -s conftest$ac_exeext &&
27171 $as_test_x conftest$ac_exeext; then
27172 eval "$as_ac_var=yes"
27173 else
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27176
27177 eval "$as_ac_var=no"
27178 fi
27179
27180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27181 conftest$ac_exeext conftest.$ac_ext
27182 fi
27183 ac_res=`eval echo '${'$as_ac_var'}'`
27184 { echo "$as_me:$LINENO: result: $ac_res" >&5
27185 echo "${ECHO_T}$ac_res" >&6; }
27186 if test `eval echo '${'$as_ac_var'}'` = yes; then
27187 cat >>confdefs.h <<_ACEOF
27188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27189 _ACEOF
27190 have_floor=1
27191 fi
27192 done
27193
27194 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27195 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27196 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27197 { echo "$as_me:$LINENO: result: yes" >&5
27198 echo "${ECHO_T}yes" >&6; }
27199 else
27200 { echo "$as_me:$LINENO: result: no" >&5
27201 echo "${ECHO_T}no" >&6; }
27202 LIBS="$LIBS -lm"
27203 # use different functions to avoid configure caching
27204 have_sin=0
27205 have_ceil=0
27206
27207 for ac_func in sin
27208 do
27209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27223 #define $ac_func innocuous_$ac_func
27224
27225 /* System header to define __stub macros and hopefully few prototypes,
27226 which can conflict with char $ac_func (); below.
27227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27228 <limits.h> exists even on freestanding compilers. */
27229
27230 #ifdef __STDC__
27231 # include <limits.h>
27232 #else
27233 # include <assert.h>
27234 #endif
27235
27236 #undef $ac_func
27237
27238 /* Override any GCC internal prototype to avoid an error.
27239 Use char because int might match the return type of a GCC
27240 builtin and then its argument prototype would still apply. */
27241 #ifdef __cplusplus
27242 extern "C"
27243 #endif
27244 char $ac_func ();
27245 /* The GNU C library defines this for functions which it implements
27246 to always fail with ENOSYS. Some functions are actually named
27247 something starting with __ and the normal name is an alias. */
27248 #if defined __stub_$ac_func || defined __stub___$ac_func
27249 choke me
27250 #endif
27251
27252 int
27253 main ()
27254 {
27255 return $ac_func ();
27256 ;
27257 return 0;
27258 }
27259 _ACEOF
27260 rm -f conftest.$ac_objext conftest$ac_exeext
27261 if { (ac_try="$ac_link"
27262 case "(($ac_try" in
27263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27264 *) ac_try_echo=$ac_try;;
27265 esac
27266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27267 (eval "$ac_link") 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } && {
27274 test -z "$ac_c_werror_flag" ||
27275 test ! -s conftest.err
27276 } && test -s conftest$ac_exeext &&
27277 $as_test_x conftest$ac_exeext; then
27278 eval "$as_ac_var=yes"
27279 else
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27282
27283 eval "$as_ac_var=no"
27284 fi
27285
27286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27287 conftest$ac_exeext conftest.$ac_ext
27288 fi
27289 ac_res=`eval echo '${'$as_ac_var'}'`
27290 { echo "$as_me:$LINENO: result: $ac_res" >&5
27291 echo "${ECHO_T}$ac_res" >&6; }
27292 if test `eval echo '${'$as_ac_var'}'` = yes; then
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27295 _ACEOF
27296 have_sin=1
27297 fi
27298 done
27299
27300
27301 for ac_func in ceil
27302 do
27303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309 cat >conftest.$ac_ext <<_ACEOF
27310 /* confdefs.h. */
27311 _ACEOF
27312 cat confdefs.h >>conftest.$ac_ext
27313 cat >>conftest.$ac_ext <<_ACEOF
27314 /* end confdefs.h. */
27315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27317 #define $ac_func innocuous_$ac_func
27318
27319 /* System header to define __stub macros and hopefully few prototypes,
27320 which can conflict with char $ac_func (); below.
27321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27322 <limits.h> exists even on freestanding compilers. */
27323
27324 #ifdef __STDC__
27325 # include <limits.h>
27326 #else
27327 # include <assert.h>
27328 #endif
27329
27330 #undef $ac_func
27331
27332 /* Override any GCC internal prototype to avoid an error.
27333 Use char because int might match the return type of a GCC
27334 builtin and then its argument prototype would still apply. */
27335 #ifdef __cplusplus
27336 extern "C"
27337 #endif
27338 char $ac_func ();
27339 /* The GNU C library defines this for functions which it implements
27340 to always fail with ENOSYS. Some functions are actually named
27341 something starting with __ and the normal name is an alias. */
27342 #if defined __stub_$ac_func || defined __stub___$ac_func
27343 choke me
27344 #endif
27345
27346 int
27347 main ()
27348 {
27349 return $ac_func ();
27350 ;
27351 return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (ac_try="$ac_link"
27356 case "(($ac_try" in
27357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27358 *) ac_try_echo=$ac_try;;
27359 esac
27360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27361 (eval "$ac_link") 2>conftest.er1
27362 ac_status=$?
27363 grep -v '^ *+' conftest.er1 >conftest.err
27364 rm -f conftest.er1
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } && {
27368 test -z "$ac_c_werror_flag" ||
27369 test ! -s conftest.err
27370 } && test -s conftest$ac_exeext &&
27371 $as_test_x conftest$ac_exeext; then
27372 eval "$as_ac_var=yes"
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 eval "$as_ac_var=no"
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27381 conftest$ac_exeext conftest.$ac_ext
27382 fi
27383 ac_res=`eval echo '${'$as_ac_var'}'`
27384 { echo "$as_me:$LINENO: result: $ac_res" >&5
27385 echo "${ECHO_T}$ac_res" >&6; }
27386 if test `eval echo '${'$as_ac_var'}'` = yes; then
27387 cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27389 _ACEOF
27390 have_ceil=1
27391 fi
27392 done
27393
27394 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27395 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27396 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27397 { echo "$as_me:$LINENO: result: yes" >&5
27398 echo "${ECHO_T}yes" >&6; }
27399 else
27400 { echo "$as_me:$LINENO: result: no" >&5
27401 echo "${ECHO_T}no" >&6; }
27402 # not sure we should warn the user, crash, etc.
27403 fi
27404 fi
27405
27406 ac_ext=cpp
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27411
27412 if test "wxUSE_UNICODE" = "yes"; then
27413
27414 for wx_func in wcstoull
27415 do
27416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421
27422 cat >conftest.$ac_ext <<_ACEOF
27423
27424 /* confdefs.h. */
27425 _ACEOF
27426 cat confdefs.h >>conftest.$ac_ext
27427 cat >>conftest.$ac_ext <<_ACEOF
27428 /* end confdefs.h. */
27429
27430
27431 $ac_includes_default
27432
27433 int
27434 main ()
27435 {
27436
27437 #ifndef $wx_func
27438 &$wx_func;
27439 #endif
27440
27441
27442 ;
27443 return 0;
27444 }
27445
27446 _ACEOF
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27452 esac
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27455 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_cxx_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest$ac_exeext &&
27464 $as_test_x conftest$ac_exeext; then
27465 eval wx_cv_func_$wx_func=yes
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 eval wx_cv_func_$wx_func=no
27471 fi
27472
27473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27474 conftest$ac_exeext conftest.$ac_ext
27475
27476 fi
27477 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27478 { echo "$as_me:$LINENO: result: $ac_res" >&5
27479 echo "${ECHO_T}$ac_res" >&6; }
27480
27481 if eval test \$wx_cv_func_$wx_func = yes
27482 then
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27485 _ACEOF
27486
27487
27488 else
27489 :
27490
27491 fi
27492 done
27493
27494 else
27495
27496 for wx_func in strtoull
27497 do
27498 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27499 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27500 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 else
27503
27504 cat >conftest.$ac_ext <<_ACEOF
27505
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511
27512
27513 $ac_includes_default
27514
27515 int
27516 main ()
27517 {
27518
27519 #ifndef $wx_func
27520 &$wx_func;
27521 #endif
27522
27523
27524 ;
27525 return 0;
27526 }
27527
27528 _ACEOF
27529 rm -f conftest.$ac_objext conftest$ac_exeext
27530 if { (ac_try="$ac_link"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 *) ac_try_echo=$ac_try;;
27534 esac
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_link") 2>conftest.er1
27537 ac_status=$?
27538 grep -v '^ *+' conftest.er1 >conftest.err
27539 rm -f conftest.er1
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && {
27543 test -z "$ac_cxx_werror_flag" ||
27544 test ! -s conftest.err
27545 } && test -s conftest$ac_exeext &&
27546 $as_test_x conftest$ac_exeext; then
27547 eval wx_cv_func_$wx_func=yes
27548 else
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.$ac_ext >&5
27551
27552 eval wx_cv_func_$wx_func=no
27553 fi
27554
27555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27556 conftest$ac_exeext conftest.$ac_ext
27557
27558 fi
27559 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27560 { echo "$as_me:$LINENO: result: $ac_res" >&5
27561 echo "${ECHO_T}$ac_res" >&6; }
27562
27563 if eval test \$wx_cv_func_$wx_func = yes
27564 then
27565 cat >>confdefs.h <<_ACEOF
27566 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27567 _ACEOF
27568
27569
27570 else
27571 :
27572
27573 fi
27574 done
27575
27576 fi
27577 ac_ext=c
27578 ac_cpp='$CPP $CPPFLAGS'
27579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27582
27583
27584
27585
27586 if test "$wxUSE_REGEX" != "no"; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_REGEX 1
27589 _ACEOF
27590
27591
27592 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27593 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27594 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27595 wxUSE_REGEX=builtin
27596 fi
27597
27598 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27599 { echo "$as_me:$LINENO: checking for regex.h" >&5
27600 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27601 if test "${ac_cv_header_regex_h+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27604 cat >conftest.$ac_ext <<_ACEOF
27605 /* confdefs.h. */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27610
27611
27612 #include <regex.h>
27613 _ACEOF
27614 rm -f conftest.$ac_objext
27615 if { (ac_try="$ac_compile"
27616 case "(($ac_try" in
27617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27618 *) ac_try_echo=$ac_try;;
27619 esac
27620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27621 (eval "$ac_compile") 2>conftest.er1
27622 ac_status=$?
27623 grep -v '^ *+' conftest.er1 >conftest.err
27624 rm -f conftest.er1
27625 cat conftest.err >&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } && {
27628 test -z "$ac_c_werror_flag" ||
27629 test ! -s conftest.err
27630 } && test -s conftest.$ac_objext; then
27631 ac_cv_header_regex_h=yes
27632 else
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27635
27636 ac_cv_header_regex_h=no
27637 fi
27638
27639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27640 fi
27641 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27642 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27643 if test $ac_cv_header_regex_h = yes; then
27644
27645
27646 for ac_func in regcomp re_search
27647 do
27648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27652 echo $ECHO_N "(cached) $ECHO_C" >&6
27653 else
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27662 #define $ac_func innocuous_$ac_func
27663
27664 /* System header to define __stub macros and hopefully few prototypes,
27665 which can conflict with char $ac_func (); below.
27666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27667 <limits.h> exists even on freestanding compilers. */
27668
27669 #ifdef __STDC__
27670 # include <limits.h>
27671 #else
27672 # include <assert.h>
27673 #endif
27674
27675 #undef $ac_func
27676
27677 /* Override any GCC internal prototype to avoid an error.
27678 Use char because int might match the return type of a GCC
27679 builtin and then its argument prototype would still apply. */
27680 #ifdef __cplusplus
27681 extern "C"
27682 #endif
27683 char $ac_func ();
27684 /* The GNU C library defines this for functions which it implements
27685 to always fail with ENOSYS. Some functions are actually named
27686 something starting with __ and the normal name is an alias. */
27687 #if defined __stub_$ac_func || defined __stub___$ac_func
27688 choke me
27689 #endif
27690
27691 int
27692 main ()
27693 {
27694 return $ac_func ();
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 rm -f conftest.$ac_objext conftest$ac_exeext
27700 if { (ac_try="$ac_link"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27704 esac
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_link") 2>conftest.er1
27707 ac_status=$?
27708 grep -v '^ *+' conftest.er1 >conftest.err
27709 rm -f conftest.er1
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest$ac_exeext &&
27716 $as_test_x conftest$ac_exeext; then
27717 eval "$as_ac_var=yes"
27718 else
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27721
27722 eval "$as_ac_var=no"
27723 fi
27724
27725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27726 conftest$ac_exeext conftest.$ac_ext
27727 fi
27728 ac_res=`eval echo '${'$as_ac_var'}'`
27729 { echo "$as_me:$LINENO: result: $ac_res" >&5
27730 echo "${ECHO_T}$ac_res" >&6; }
27731 if test `eval echo '${'$as_ac_var'}'` = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27734 _ACEOF
27735
27736 fi
27737 done
27738
27739 fi
27740
27741
27742
27743 if test "x$ac_cv_func_regcomp" != "xyes"; then
27744 if test "$wxUSE_REGEX" = "sys" ; then
27745 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27746 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27747 { (exit 1); exit 1; }; }
27748 else
27749 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27750 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27751 wxUSE_REGEX=builtin
27752 fi
27753 else
27754 wxUSE_REGEX=sys
27755 cat >>confdefs.h <<\_ACEOF
27756 #define WX_NO_REGEX_ADVANCED 1
27757 _ACEOF
27758
27759 fi
27760 fi
27761 fi
27762
27763
27764 ZLIB_LINK=
27765 if test "$wxUSE_ZLIB" != "no" ; then
27766 cat >>confdefs.h <<\_ACEOF
27767 #define wxUSE_ZLIB 1
27768 _ACEOF
27769
27770
27771 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27772 if test "$USE_DARWIN" = 1; then
27773 system_zlib_h_ok="yes"
27774 else
27775 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27776 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27777 if test "${ac_cv_header_zlib_h+set}" = set; then
27778 echo $ECHO_N "(cached) $ECHO_C" >&6
27779 else
27780 if test "$cross_compiling" = yes; then
27781 unset ac_cv_header_zlib_h
27782
27783 else
27784 cat >conftest.$ac_ext <<_ACEOF
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790
27791 #include <zlib.h>
27792 #include <stdio.h>
27793
27794 int main()
27795 {
27796 FILE *f=fopen("conftestval", "w");
27797 if (!f) exit(1);
27798 fprintf(f, "%s",
27799 ZLIB_VERSION[0] == '1' &&
27800 (ZLIB_VERSION[2] > '1' ||
27801 (ZLIB_VERSION[2] == '1' &&
27802 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27803 exit(0);
27804 }
27805
27806 _ACEOF
27807 rm -f conftest$ac_exeext
27808 if { (ac_try="$ac_link"
27809 case "(($ac_try" in
27810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27811 *) ac_try_echo=$ac_try;;
27812 esac
27813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27814 (eval "$ac_link") 2>&5
27815 ac_status=$?
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27818 { (case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27821 esac
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_try") 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827 ac_cv_header_zlib_h=`cat conftestval`
27828 else
27829 echo "$as_me: program exited with status $ac_status" >&5
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27832
27833 ( exit $ac_status )
27834 ac_cv_header_zlib_h=no
27835 fi
27836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27837 fi
27838
27839
27840
27841 fi
27842 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27843 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27844 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27845 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27846 if test "${ac_cv_header_zlib_h+set}" = set; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 else
27849 cat >conftest.$ac_ext <<_ACEOF
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856
27857 #include <zlib.h>
27858 _ACEOF
27859 rm -f conftest.$ac_objext
27860 if { (ac_try="$ac_compile"
27861 case "(($ac_try" in
27862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27863 *) ac_try_echo=$ac_try;;
27864 esac
27865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27866 (eval "$ac_compile") 2>conftest.er1
27867 ac_status=$?
27868 grep -v '^ *+' conftest.er1 >conftest.err
27869 rm -f conftest.er1
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } && {
27873 test -z "$ac_c_werror_flag" ||
27874 test ! -s conftest.err
27875 } && test -s conftest.$ac_objext; then
27876 ac_cv_header_zlib_h=yes
27877 else
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27880
27881 ac_cv_header_zlib_h=no
27882 fi
27883
27884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27885 fi
27886 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27888
27889
27890
27891 system_zlib_h_ok=$ac_cv_header_zlib_h
27892 fi
27893
27894 if test "$system_zlib_h_ok" = "yes"; then
27895 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27896 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27897 if test "${ac_cv_lib_z_deflate+set}" = set; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900 ac_check_lib_save_LIBS=$LIBS
27901 LIBS="-lz $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
27910 Use char because int might match the return type of a GCC
27911 builtin and then its argument prototype would still apply. */
27912 #ifdef __cplusplus
27913 extern "C"
27914 #endif
27915 char deflate ();
27916 int
27917 main ()
27918 {
27919 return deflate ();
27920 ;
27921 return 0;
27922 }
27923 _ACEOF
27924 rm -f conftest.$ac_objext conftest$ac_exeext
27925 if { (ac_try="$ac_link"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27929 esac
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_link") 2>conftest.er1
27932 ac_status=$?
27933 grep -v '^ *+' conftest.er1 >conftest.err
27934 rm -f conftest.er1
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest$ac_exeext &&
27941 $as_test_x conftest$ac_exeext; then
27942 ac_cv_lib_z_deflate=yes
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 ac_cv_lib_z_deflate=no
27948 fi
27949
27950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27951 conftest$ac_exeext conftest.$ac_ext
27952 LIBS=$ac_check_lib_save_LIBS
27953 fi
27954 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27955 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27956 if test $ac_cv_lib_z_deflate = yes; then
27957 ZLIB_LINK=" -lz"
27958 fi
27959
27960 fi
27961
27962 if test "x$ZLIB_LINK" = "x" ; then
27963 if test "$wxUSE_ZLIB" = "sys" ; then
27964 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27965 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27966 { (exit 1); exit 1; }; }
27967 else
27968 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27969 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27970 wxUSE_ZLIB=builtin
27971 fi
27972 else
27973 wxUSE_ZLIB=sys
27974 fi
27975 fi
27976 fi
27977
27978
27979 PNG_LINK=
27980 if test "$wxUSE_LIBPNG" != "no" ; then
27981 cat >>confdefs.h <<\_ACEOF
27982 #define wxUSE_LIBPNG 1
27983 _ACEOF
27984
27985
27986 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27987 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27988 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27989 wxUSE_LIBPNG=sys
27990 fi
27991
27992 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27993 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27994 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27995 wxUSE_LIBPNG=builtin
27996 fi
27997
27998 if test "$wxUSE_MGL" != 1 ; then
27999 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28000 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28001 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28002 if test "${ac_cv_header_png_h+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 if test "$cross_compiling" = yes; then
28006 unset ac_cv_header_png_h
28007
28008 else
28009 cat >conftest.$ac_ext <<_ACEOF
28010 /* confdefs.h. */
28011 _ACEOF
28012 cat confdefs.h >>conftest.$ac_ext
28013 cat >>conftest.$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28015
28016 #include <png.h>
28017 #include <stdio.h>
28018
28019 int main()
28020 {
28021 FILE *f=fopen("conftestval", "w");
28022 if (!f) exit(1);
28023 fprintf(f, "%s",
28024 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28025 exit(0);
28026 }
28027
28028 _ACEOF
28029 rm -f conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 *) ac_try_echo=$ac_try;;
28034 esac
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28040 { (case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28043 esac
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_try") 2>&5
28046 ac_status=$?
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 ac_cv_header_png_h=`cat conftestval`
28050 else
28051 echo "$as_me: program exited with status $ac_status" >&5
28052 echo "$as_me: failed program was:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28054
28055 ( exit $ac_status )
28056 ac_cv_header_png_h=no
28057 fi
28058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28059 fi
28060
28061
28062
28063 fi
28064 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28065 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28066 { echo "$as_me:$LINENO: checking for png.h" >&5
28067 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28068 if test "${ac_cv_header_png_h+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 cat >conftest.$ac_ext <<_ACEOF
28072 /* confdefs.h. */
28073 _ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077
28078
28079 #include <png.h>
28080 _ACEOF
28081 rm -f conftest.$ac_objext
28082 if { (ac_try="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28086 esac
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098 ac_cv_header_png_h=yes
28099 else
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28102
28103 ac_cv_header_png_h=no
28104 fi
28105
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107 fi
28108 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28109 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28110
28111
28112
28113 if test "$ac_cv_header_png_h" = "yes"; then
28114 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28115 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28116 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119 ac_check_lib_save_LIBS=$LIBS
28120 LIBS="-lpng -lz -lm $LIBS"
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28131 #ifdef __cplusplus
28132 extern "C"
28133 #endif
28134 char png_sig_cmp ();
28135 int
28136 main ()
28137 {
28138 return png_sig_cmp ();
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (ac_try="$ac_link"
28145 case "(($ac_try" in
28146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 *) ac_try_echo=$ac_try;;
28148 esac
28149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28150 (eval "$ac_link") 2>conftest.er1
28151 ac_status=$?
28152 grep -v '^ *+' conftest.er1 >conftest.err
28153 rm -f conftest.er1
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } && {
28157 test -z "$ac_c_werror_flag" ||
28158 test ! -s conftest.err
28159 } && test -s conftest$ac_exeext &&
28160 $as_test_x conftest$ac_exeext; then
28161 ac_cv_lib_png_png_sig_cmp=yes
28162 else
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28165
28166 ac_cv_lib_png_png_sig_cmp=no
28167 fi
28168
28169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28170 conftest$ac_exeext conftest.$ac_ext
28171 LIBS=$ac_check_lib_save_LIBS
28172 fi
28173 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28174 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28175 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28176 PNG_LINK=" -lpng -lz"
28177 fi
28178
28179 fi
28180
28181 if test "x$PNG_LINK" = "x" ; then
28182 if test "$wxUSE_LIBPNG" = "sys" ; then
28183 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28184 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28185 { (exit 1); exit 1; }; }
28186 else
28187 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28188 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28189 wxUSE_LIBPNG=builtin
28190 fi
28191 else
28192 wxUSE_LIBPNG=sys
28193 fi
28194 fi
28195 fi
28196 fi
28197
28198
28199 JPEG_LINK=
28200 if test "$wxUSE_LIBJPEG" != "no" ; then
28201 cat >>confdefs.h <<\_ACEOF
28202 #define wxUSE_LIBJPEG 1
28203 _ACEOF
28204
28205
28206 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28207 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28208 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28209 wxUSE_LIBJPEG=sys
28210 fi
28211
28212 if test "$wxUSE_MGL" != 1 ; then
28213 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28214 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28215 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28216 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 else
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 #undef HAVE_STDLIB_H
28227 #include <stdio.h>
28228 #include <jpeglib.h>
28229
28230 int
28231 main ()
28232 {
28233
28234
28235 ;
28236 return 0;
28237 }
28238 _ACEOF
28239 rm -f conftest.$ac_objext
28240 if { (ac_try="$ac_compile"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28244 esac
28245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_compile") 2>conftest.er1
28247 ac_status=$?
28248 grep -v '^ *+' conftest.er1 >conftest.err
28249 rm -f conftest.er1
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } && {
28253 test -z "$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28255 } && test -s conftest.$ac_objext; then
28256 ac_cv_header_jpeglib_h=yes
28257 else
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28260
28261 ac_cv_header_jpeglib_h=no
28262
28263 fi
28264
28265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28266
28267 fi
28268
28269 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28270 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28271
28272 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28273 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28274 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28275 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278 ac_check_lib_save_LIBS=$LIBS
28279 LIBS="-ljpeg $LIBS"
28280 cat >conftest.$ac_ext <<_ACEOF
28281 /* confdefs.h. */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286
28287 /* Override any GCC internal prototype to avoid an error.
28288 Use char because int might match the return type of a GCC
28289 builtin and then its argument prototype would still apply. */
28290 #ifdef __cplusplus
28291 extern "C"
28292 #endif
28293 char jpeg_read_header ();
28294 int
28295 main ()
28296 {
28297 return jpeg_read_header ();
28298 ;
28299 return 0;
28300 }
28301 _ACEOF
28302 rm -f conftest.$ac_objext conftest$ac_exeext
28303 if { (ac_try="$ac_link"
28304 case "(($ac_try" in
28305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28307 esac
28308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28309 (eval "$ac_link") 2>conftest.er1
28310 ac_status=$?
28311 grep -v '^ *+' conftest.er1 >conftest.err
28312 rm -f conftest.er1
28313 cat conftest.err >&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); } && {
28316 test -z "$ac_c_werror_flag" ||
28317 test ! -s conftest.err
28318 } && test -s conftest$ac_exeext &&
28319 $as_test_x conftest$ac_exeext; then
28320 ac_cv_lib_jpeg_jpeg_read_header=yes
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28324
28325 ac_cv_lib_jpeg_jpeg_read_header=no
28326 fi
28327
28328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28329 conftest$ac_exeext conftest.$ac_ext
28330 LIBS=$ac_check_lib_save_LIBS
28331 fi
28332 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28333 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28334 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28335 JPEG_LINK=" -ljpeg"
28336 fi
28337
28338 fi
28339
28340 if test "x$JPEG_LINK" = "x" ; then
28341 if test "$wxUSE_LIBJPEG" = "sys" ; then
28342 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28343 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28344 { (exit 1); exit 1; }; }
28345 else
28346 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28347 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28348 wxUSE_LIBJPEG=builtin
28349 fi
28350 else
28351 wxUSE_LIBJPEG=sys
28352
28353 if test "$wxUSE_MSW" = 1; then
28354 { echo "$as_me:$LINENO: checking for boolean" >&5
28355 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28356 if test "${ac_cv_type_boolean+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 else
28359 cat >conftest.$ac_ext <<_ACEOF
28360 /* confdefs.h. */
28361 _ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 #include <windows.h>
28366
28367 typedef boolean ac__type_new_;
28368 int
28369 main ()
28370 {
28371 if ((ac__type_new_ *) 0)
28372 return 0;
28373 if (sizeof (ac__type_new_))
28374 return 0;
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28384 esac
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_cv_type_boolean=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_type_boolean=no
28402 fi
28403
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 fi
28406 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28407 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28408 if test $ac_cv_type_boolean = yes; then
28409
28410 cat >>confdefs.h <<_ACEOF
28411 #define HAVE_BOOLEAN 1
28412 _ACEOF
28413
28414
28415 { echo "$as_me:$LINENO: checking for boolean" >&5
28416 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28417 if test "${ac_cv_type_boolean+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 else
28420 cat >conftest.$ac_ext <<_ACEOF
28421 /* confdefs.h. */
28422 _ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426
28427 #undef HAVE_BOOLEAN
28428 #include <stdio.h>
28429 #include <jpeglib.h>
28430
28431
28432 typedef boolean ac__type_new_;
28433 int
28434 main ()
28435 {
28436 if ((ac__type_new_ *) 0)
28437 return 0;
28438 if (sizeof (ac__type_new_))
28439 return 0;
28440 ;
28441 return 0;
28442 }
28443 _ACEOF
28444 rm -f conftest.$ac_objext
28445 if { (ac_try="$ac_compile"
28446 case "(($ac_try" in
28447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28448 *) ac_try_echo=$ac_try;;
28449 esac
28450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28451 (eval "$ac_compile") 2>conftest.er1
28452 ac_status=$?
28453 grep -v '^ *+' conftest.er1 >conftest.err
28454 rm -f conftest.er1
28455 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && {
28458 test -z "$ac_c_werror_flag" ||
28459 test ! -s conftest.err
28460 } && test -s conftest.$ac_objext; then
28461 ac_cv_type_boolean=yes
28462 else
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28465
28466 ac_cv_type_boolean=no
28467 fi
28468
28469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28470 fi
28471 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28472 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28473
28474 # The cast to long int works around a bug in the HP C Compiler
28475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28477 # This bug is HP SR number 8606223364.
28478 { echo "$as_me:$LINENO: checking size of boolean" >&5
28479 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28480 if test "${ac_cv_sizeof_boolean+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 else
28483 if test "$cross_compiling" = yes; then
28484 # Depending upon the size, compute the lo and hi bounds.
28485 cat >conftest.$ac_ext <<_ACEOF
28486 /* confdefs.h. */
28487 _ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28491
28492 #undef HAVE_BOOLEAN
28493 #include <stdio.h>
28494 #include <jpeglib.h>
28495
28496
28497 typedef boolean ac__type_sizeof_;
28498 int
28499 main ()
28500 {
28501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28502 test_array [0] = 0
28503
28504 ;
28505 return 0;
28506 }
28507 _ACEOF
28508 rm -f conftest.$ac_objext
28509 if { (ac_try="$ac_compile"
28510 case "(($ac_try" in
28511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28512 *) ac_try_echo=$ac_try;;
28513 esac
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_compile") 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } && {
28522 test -z "$ac_c_werror_flag" ||
28523 test ! -s conftest.err
28524 } && test -s conftest.$ac_objext; then
28525 ac_lo=0 ac_mid=0
28526 while :; do
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533
28534 #undef HAVE_BOOLEAN
28535 #include <stdio.h>
28536 #include <jpeglib.h>
28537
28538
28539 typedef boolean ac__type_sizeof_;
28540 int
28541 main ()
28542 {
28543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28544 test_array [0] = 0
28545
28546 ;
28547 return 0;
28548 }
28549 _ACEOF
28550 rm -f conftest.$ac_objext
28551 if { (ac_try="$ac_compile"
28552 case "(($ac_try" in
28553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28554 *) ac_try_echo=$ac_try;;
28555 esac
28556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28557 (eval "$ac_compile") 2>conftest.er1
28558 ac_status=$?
28559 grep -v '^ *+' conftest.er1 >conftest.err
28560 rm -f conftest.er1
28561 cat conftest.err >&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } && {
28564 test -z "$ac_c_werror_flag" ||
28565 test ! -s conftest.err
28566 } && test -s conftest.$ac_objext; then
28567 ac_hi=$ac_mid; break
28568 else
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28571
28572 ac_lo=`expr $ac_mid + 1`
28573 if test $ac_lo -le $ac_mid; then
28574 ac_lo= ac_hi=
28575 break
28576 fi
28577 ac_mid=`expr 2 '*' $ac_mid + 1`
28578 fi
28579
28580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28581 done
28582 else
28583 echo "$as_me: failed program was:" >&5
28584 sed 's/^/| /' conftest.$ac_ext >&5
28585
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593 #undef HAVE_BOOLEAN
28594 #include <stdio.h>
28595 #include <jpeglib.h>
28596
28597
28598 typedef boolean ac__type_sizeof_;
28599 int
28600 main ()
28601 {
28602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28603 test_array [0] = 0
28604
28605 ;
28606 return 0;
28607 }
28608 _ACEOF
28609 rm -f conftest.$ac_objext
28610 if { (ac_try="$ac_compile"
28611 case "(($ac_try" in
28612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28613 *) ac_try_echo=$ac_try;;
28614 esac
28615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28616 (eval "$ac_compile") 2>conftest.er1
28617 ac_status=$?
28618 grep -v '^ *+' conftest.er1 >conftest.err
28619 rm -f conftest.er1
28620 cat conftest.err >&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } && {
28623 test -z "$ac_c_werror_flag" ||
28624 test ! -s conftest.err
28625 } && test -s conftest.$ac_objext; then
28626 ac_hi=-1 ac_mid=-1
28627 while :; do
28628 cat >conftest.$ac_ext <<_ACEOF
28629 /* confdefs.h. */
28630 _ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28634
28635 #undef HAVE_BOOLEAN
28636 #include <stdio.h>
28637 #include <jpeglib.h>
28638
28639
28640 typedef boolean ac__type_sizeof_;
28641 int
28642 main ()
28643 {
28644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28645 test_array [0] = 0
28646
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 rm -f conftest.$ac_objext
28652 if { (ac_try="$ac_compile"
28653 case "(($ac_try" in
28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28656 esac
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_compile") 2>conftest.er1
28659 ac_status=$?
28660 grep -v '^ *+' conftest.er1 >conftest.err
28661 rm -f conftest.er1
28662 cat conftest.err >&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } && {
28665 test -z "$ac_c_werror_flag" ||
28666 test ! -s conftest.err
28667 } && test -s conftest.$ac_objext; then
28668 ac_lo=$ac_mid; break
28669 else
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28672
28673 ac_hi=`expr '(' $ac_mid ')' - 1`
28674 if test $ac_mid -le $ac_hi; then
28675 ac_lo= ac_hi=
28676 break
28677 fi
28678 ac_mid=`expr 2 '*' $ac_mid`
28679 fi
28680
28681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28682 done
28683 else
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28686
28687 ac_lo= ac_hi=
28688 fi
28689
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 fi
28692
28693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694 # Binary search between lo and hi bounds.
28695 while test "x$ac_lo" != "x$ac_hi"; do
28696 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28697 cat >conftest.$ac_ext <<_ACEOF
28698 /* confdefs.h. */
28699 _ACEOF
28700 cat confdefs.h >>conftest.$ac_ext
28701 cat >>conftest.$ac_ext <<_ACEOF
28702 /* end confdefs.h. */
28703
28704 #undef HAVE_BOOLEAN
28705 #include <stdio.h>
28706 #include <jpeglib.h>
28707
28708
28709 typedef boolean ac__type_sizeof_;
28710 int
28711 main ()
28712 {
28713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28714 test_array [0] = 0
28715
28716 ;
28717 return 0;
28718 }
28719 _ACEOF
28720 rm -f conftest.$ac_objext
28721 if { (ac_try="$ac_compile"
28722 case "(($ac_try" in
28723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28724 *) ac_try_echo=$ac_try;;
28725 esac
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_compile") 2>conftest.er1
28728 ac_status=$?
28729 grep -v '^ *+' conftest.er1 >conftest.err
28730 rm -f conftest.er1
28731 cat conftest.err >&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); } && {
28734 test -z "$ac_c_werror_flag" ||
28735 test ! -s conftest.err
28736 } && test -s conftest.$ac_objext; then
28737 ac_hi=$ac_mid
28738 else
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742 ac_lo=`expr '(' $ac_mid ')' + 1`
28743 fi
28744
28745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28746 done
28747 case $ac_lo in
28748 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28749 '') if test "$ac_cv_type_boolean" = yes; then
28750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28751 See \`config.log' for more details." >&5
28752 echo "$as_me: error: cannot compute sizeof (boolean)
28753 See \`config.log' for more details." >&2;}
28754 { (exit 77); exit 77; }; }
28755 else
28756 ac_cv_sizeof_boolean=0
28757 fi ;;
28758 esac
28759 else
28760 cat >conftest.$ac_ext <<_ACEOF
28761 /* confdefs.h. */
28762 _ACEOF
28763 cat confdefs.h >>conftest.$ac_ext
28764 cat >>conftest.$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28766
28767 #undef HAVE_BOOLEAN
28768 #include <stdio.h>
28769 #include <jpeglib.h>
28770
28771
28772 typedef boolean ac__type_sizeof_;
28773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28775 #include <stdio.h>
28776 #include <stdlib.h>
28777 int
28778 main ()
28779 {
28780
28781 FILE *f = fopen ("conftest.val", "w");
28782 if (! f)
28783 return 1;
28784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28785 {
28786 long int i = longval ();
28787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28788 return 1;
28789 fprintf (f, "%ld\n", i);
28790 }
28791 else
28792 {
28793 unsigned long int i = ulongval ();
28794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28795 return 1;
28796 fprintf (f, "%lu\n", i);
28797 }
28798 return ferror (f) || fclose (f) != 0;
28799
28800 ;
28801 return 0;
28802 }
28803 _ACEOF
28804 rm -f conftest$ac_exeext
28805 if { (ac_try="$ac_link"
28806 case "(($ac_try" in
28807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28808 *) ac_try_echo=$ac_try;;
28809 esac
28810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28811 (eval "$ac_link") 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28815 { (case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28818 esac
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_try") 2>&5
28821 ac_status=$?
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; }; then
28824 ac_cv_sizeof_boolean=`cat conftest.val`
28825 else
28826 echo "$as_me: program exited with status $ac_status" >&5
28827 echo "$as_me: failed program was:" >&5
28828 sed 's/^/| /' conftest.$ac_ext >&5
28829
28830 ( exit $ac_status )
28831 if test "$ac_cv_type_boolean" = yes; then
28832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28833 See \`config.log' for more details." >&5
28834 echo "$as_me: error: cannot compute sizeof (boolean)
28835 See \`config.log' for more details." >&2;}
28836 { (exit 77); exit 77; }; }
28837 else
28838 ac_cv_sizeof_boolean=0
28839 fi
28840 fi
28841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28842 fi
28843 rm -f conftest.val
28844 fi
28845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28846 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28847
28848
28849
28850 cat >>confdefs.h <<_ACEOF
28851 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28852 _ACEOF
28853
28854
28855 cat >>confdefs.h <<_ACEOF
28856 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28857 _ACEOF
28858
28859
28860 fi
28861
28862 fi
28863 fi
28864 fi
28865 fi
28866 fi
28867
28868
28869 TIFF_LINK=
28870 TIFF_PREREQ_LINKS=-lm
28871 if test "$wxUSE_LIBTIFF" != "no" ; then
28872 cat >>confdefs.h <<\_ACEOF
28873 #define wxUSE_LIBTIFF 1
28874 _ACEOF
28875
28876
28877 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28878 if test "$wxUSE_LIBJPEG" = "sys"; then
28879 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28880 fi
28881 if test "$wxUSE_ZLIB" = "sys"; then
28882 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28883 fi
28884 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28885 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28886 if test "${ac_cv_header_tiffio_h+set}" = set; then
28887 echo $ECHO_N "(cached) $ECHO_C" >&6
28888 else
28889 cat >conftest.$ac_ext <<_ACEOF
28890 /* confdefs.h. */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28895
28896
28897
28898 #include <tiffio.h>
28899 _ACEOF
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_header_tiffio_h=yes
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 ac_cv_header_tiffio_h=no
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 fi
28927 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28928 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28929 if test $ac_cv_header_tiffio_h = yes; then
28930
28931 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28932 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28933 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 else
28936 ac_check_lib_save_LIBS=$LIBS
28937 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28938 cat >conftest.$ac_ext <<_ACEOF
28939 /* confdefs.h. */
28940 _ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944
28945 /* Override any GCC internal prototype to avoid an error.
28946 Use char because int might match the return type of a GCC
28947 builtin and then its argument prototype would still apply. */
28948 #ifdef __cplusplus
28949 extern "C"
28950 #endif
28951 char TIFFError ();
28952 int
28953 main ()
28954 {
28955 return TIFFError ();
28956 ;
28957 return 0;
28958 }
28959 _ACEOF
28960 rm -f conftest.$ac_objext conftest$ac_exeext
28961 if { (ac_try="$ac_link"
28962 case "(($ac_try" in
28963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28965 esac
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_link") 2>conftest.er1
28968 ac_status=$?
28969 grep -v '^ *+' conftest.er1 >conftest.err
28970 rm -f conftest.er1
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } && {
28974 test -z "$ac_c_werror_flag" ||
28975 test ! -s conftest.err
28976 } && test -s conftest$ac_exeext &&
28977 $as_test_x conftest$ac_exeext; then
28978 ac_cv_lib_tiff_TIFFError=yes
28979 else
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28982
28983 ac_cv_lib_tiff_TIFFError=no
28984 fi
28985
28986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28987 conftest$ac_exeext conftest.$ac_ext
28988 LIBS=$ac_check_lib_save_LIBS
28989 fi
28990 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28991 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28992 if test $ac_cv_lib_tiff_TIFFError = yes; then
28993 TIFF_LINK=" -ltiff"
28994 fi
28995
28996
28997 fi
28998
28999
29000
29001 if test "x$TIFF_LINK" = "x" ; then
29002 if test "$wxUSE_LIBTIFF" = "sys" ; then
29003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29004 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29005 { (exit 1); exit 1; }; }
29006 else
29007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29008 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29009 wxUSE_LIBTIFF=builtin
29010 fi
29011 else
29012 wxUSE_LIBTIFF=sys
29013 fi
29014 fi
29015 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29016 if test "$wxUSE_LIBJPEG" = "no"; then
29017 ac_configure_args="$ac_configure_args --disable-jpeg"
29018 fi
29019 subdirs="$subdirs src/tiff"
29020
29021 fi
29022 fi
29023
29024
29025 if test "$wxUSE_EXPAT" != "no"; then
29026 wxUSE_XML=yes
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_EXPAT 1
29029 _ACEOF
29030
29031 cat >>confdefs.h <<\_ACEOF
29032 #define wxUSE_XML 1
29033 _ACEOF
29034
29035
29036 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29037 { echo "$as_me:$LINENO: checking for expat.h" >&5
29038 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29039 if test "${ac_cv_header_expat_h+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049
29050 #include <expat.h>
29051 _ACEOF
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29057 esac
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29060 ac_status=$?
29061 grep -v '^ *+' conftest.er1 >conftest.err
29062 rm -f conftest.er1
29063 cat conftest.err >&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.$ac_objext; then
29069 ac_cv_header_expat_h=yes
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 ac_cv_header_expat_h=no
29075 fi
29076
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 fi
29079 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29080 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29081 if test $ac_cv_header_expat_h = yes; then
29082 found_expat_h=1
29083 fi
29084
29085
29086 if test "x$found_expat_h" = "x1"; then
29087 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29088 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29089 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 else
29092
29093 ac_ext=cpp
29094 ac_cpp='$CXXCPP $CPPFLAGS'
29095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29098
29099 cat >conftest.$ac_ext <<_ACEOF
29100 /* confdefs.h. */
29101 _ACEOF
29102 cat confdefs.h >>conftest.$ac_ext
29103 cat >>conftest.$ac_ext <<_ACEOF
29104 /* end confdefs.h. */
29105 #include <expat.h>
29106 int
29107 main ()
29108 {
29109
29110 ;
29111 return 0;
29112 }
29113 _ACEOF
29114 rm -f conftest.$ac_objext
29115 if { (ac_try="$ac_compile"
29116 case "(($ac_try" in
29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29119 esac
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_compile") 2>conftest.er1
29122 ac_status=$?
29123 grep -v '^ *+' conftest.er1 >conftest.err
29124 rm -f conftest.er1
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } && {
29128 test -z "$ac_cxx_werror_flag" ||
29129 test ! -s conftest.err
29130 } && test -s conftest.$ac_objext; then
29131 wx_cv_expat_is_not_broken=yes
29132 else
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29135
29136 wx_cv_expat_is_not_broken=no
29137
29138 fi
29139
29140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29141 ac_ext=c
29142 ac_cpp='$CPP $CPPFLAGS'
29143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29146
29147
29148
29149 fi
29150 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29151 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29152 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29153 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29154 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29155 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29156 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 else
29158 ac_check_lib_save_LIBS=$LIBS
29159 LIBS="-lexpat $LIBS"
29160 cat >conftest.$ac_ext <<_ACEOF
29161 /* confdefs.h. */
29162 _ACEOF
29163 cat confdefs.h >>conftest.$ac_ext
29164 cat >>conftest.$ac_ext <<_ACEOF
29165 /* end confdefs.h. */
29166
29167 /* Override any GCC internal prototype to avoid an error.
29168 Use char because int might match the return type of a GCC
29169 builtin and then its argument prototype would still apply. */
29170 #ifdef __cplusplus
29171 extern "C"
29172 #endif
29173 char XML_ParserCreate ();
29174 int
29175 main ()
29176 {
29177 return XML_ParserCreate ();
29178 ;
29179 return 0;
29180 }
29181 _ACEOF
29182 rm -f conftest.$ac_objext conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29187 esac
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>conftest.er1
29190 ac_status=$?
29191 grep -v '^ *+' conftest.er1 >conftest.err
29192 rm -f conftest.er1
29193 cat conftest.err >&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } && {
29196 test -z "$ac_c_werror_flag" ||
29197 test ! -s conftest.err
29198 } && test -s conftest$ac_exeext &&
29199 $as_test_x conftest$ac_exeext; then
29200 ac_cv_lib_expat_XML_ParserCreate=yes
29201 else
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.$ac_ext >&5
29204
29205 ac_cv_lib_expat_XML_ParserCreate=no
29206 fi
29207
29208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29209 conftest$ac_exeext conftest.$ac_ext
29210 LIBS=$ac_check_lib_save_LIBS
29211 fi
29212 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29213 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29214 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29215 EXPAT_LINK=" -lexpat"
29216 fi
29217
29218 fi
29219 fi
29220 if test "x$EXPAT_LINK" = "x" ; then
29221 if test "$wxUSE_EXPAT" = "sys" ; then
29222 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29223 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29224 { (exit 1); exit 1; }; }
29225 else
29226 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29227 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29228 wxUSE_EXPAT=builtin
29229 fi
29230 else
29231 wxUSE_EXPAT=sys
29232 fi
29233 fi
29234 if test "$wxUSE_EXPAT" = "builtin" ; then
29235 subdirs="$subdirs src/expat"
29236
29237 fi
29238 fi
29239
29240
29241
29242 if test "$wxUSE_LIBMSPACK" != "no"; then
29243 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29244 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29245 if test "${ac_cv_header_mspack_h+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29247 else
29248 cat >conftest.$ac_ext <<_ACEOF
29249 /* confdefs.h. */
29250 _ACEOF
29251 cat confdefs.h >>conftest.$ac_ext
29252 cat >>conftest.$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29254
29255
29256 #include <mspack.h>
29257 _ACEOF
29258 rm -f conftest.$ac_objext
29259 if { (ac_try="$ac_compile"
29260 case "(($ac_try" in
29261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29262 *) ac_try_echo=$ac_try;;
29263 esac
29264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29265 (eval "$ac_compile") 2>conftest.er1
29266 ac_status=$?
29267 grep -v '^ *+' conftest.er1 >conftest.err
29268 rm -f conftest.er1
29269 cat conftest.err >&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } && {
29272 test -z "$ac_c_werror_flag" ||
29273 test ! -s conftest.err
29274 } && test -s conftest.$ac_objext; then
29275 ac_cv_header_mspack_h=yes
29276 else
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29279
29280 ac_cv_header_mspack_h=no
29281 fi
29282
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284 fi
29285 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29286 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29287 if test $ac_cv_header_mspack_h = yes; then
29288 found_mspack_h=1
29289 fi
29290
29291
29292 if test "x$found_mspack_h" = "x1"; then
29293 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29294 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29295 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29297 else
29298 ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-lmspack $LIBS"
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306
29307 /* Override any GCC internal prototype to avoid an error.
29308 Use char because int might match the return type of a GCC
29309 builtin and then its argument prototype would still apply. */
29310 #ifdef __cplusplus
29311 extern "C"
29312 #endif
29313 char mspack_create_chm_decompressor ();
29314 int
29315 main ()
29316 {
29317 return mspack_create_chm_decompressor ();
29318 ;
29319 return 0;
29320 }
29321 _ACEOF
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (ac_try="$ac_link"
29324 case "(($ac_try" in
29325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29326 *) ac_try_echo=$ac_try;;
29327 esac
29328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29329 (eval "$ac_link") 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } && {
29336 test -z "$ac_c_werror_flag" ||
29337 test ! -s conftest.err
29338 } && test -s conftest$ac_exeext &&
29339 $as_test_x conftest$ac_exeext; then
29340 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29341 else
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29344
29345 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29346 fi
29347
29348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29349 conftest$ac_exeext conftest.$ac_ext
29350 LIBS=$ac_check_lib_save_LIBS
29351 fi
29352 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29353 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29354 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29355 MSPACK_LINK=" -lmspack"
29356 fi
29357
29358 fi
29359 if test "x$MSPACK_LINK" = "x" ; then
29360 wxUSE_LIBMSPACK=no
29361 fi
29362 fi
29363
29364 if test "$wxUSE_LIBMSPACK" != "no"; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define wxUSE_LIBMSPACK 1
29367 _ACEOF
29368
29369 fi
29370
29371
29372
29373 AFMINSTALL=
29374 WIN32INSTALL=
29375
29376 TOOLKIT=
29377 TOOLKIT_INCLUDE=
29378 WIDGET_SET=
29379
29380 if test "$USE_WIN32" = 1 ; then
29381
29382 for ac_header in w32api.h
29383 do
29384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 else
29390 cat >conftest.$ac_ext <<_ACEOF
29391 /* confdefs.h. */
29392 _ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396
29397
29398 #include <$ac_header>
29399 _ACEOF
29400 rm -f conftest.$ac_objext
29401 if { (ac_try="$ac_compile"
29402 case "(($ac_try" in
29403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404 *) ac_try_echo=$ac_try;;
29405 esac
29406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407 (eval "$ac_compile") 2>conftest.er1
29408 ac_status=$?
29409 grep -v '^ *+' conftest.er1 >conftest.err
29410 rm -f conftest.er1
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && {
29414 test -z "$ac_c_werror_flag" ||
29415 test ! -s conftest.err
29416 } && test -s conftest.$ac_objext; then
29417 eval "$as_ac_Header=yes"
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 eval "$as_ac_Header=no"
29423 fi
29424
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29426 fi
29427 ac_res=`eval echo '${'$as_ac_Header'}'`
29428 { echo "$as_me:$LINENO: result: $ac_res" >&5
29429 echo "${ECHO_T}$ac_res" >&6; }
29430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29431 cat >>confdefs.h <<_ACEOF
29432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29433 _ACEOF
29434
29435 fi
29436
29437 done
29438
29439 { echo "$as_me:$LINENO: checking for windows.h" >&5
29440 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29441 if test "${ac_cv_header_windows_h+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29443 else
29444 cat >conftest.$ac_ext <<_ACEOF
29445 /* confdefs.h. */
29446 _ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29450
29451
29452 #include <windows.h>
29453 _ACEOF
29454 rm -f conftest.$ac_objext
29455 if { (ac_try="$ac_compile"
29456 case "(($ac_try" in
29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29458 *) ac_try_echo=$ac_try;;
29459 esac
29460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461 (eval "$ac_compile") 2>conftest.er1
29462 ac_status=$?
29463 grep -v '^ *+' conftest.er1 >conftest.err
29464 rm -f conftest.er1
29465 cat conftest.err >&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } && {
29468 test -z "$ac_c_werror_flag" ||
29469 test ! -s conftest.err
29470 } && test -s conftest.$ac_objext; then
29471 ac_cv_header_windows_h=yes
29472 else
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29475
29476 ac_cv_header_windows_h=no
29477 fi
29478
29479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29480 fi
29481 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29482 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29483 if test $ac_cv_header_windows_h = yes; then
29484 :
29485 else
29486
29487 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29488 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29489 { (exit 1); exit 1; }; }
29490
29491 fi
29492
29493
29494
29495 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29496 case "${host}" in
29497 x86_64-*-mingw32* )
29498 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29499 ;;
29500 esac
29501 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29502 LIBS="$LIBS -loleacc"
29503 fi
29504
29505 case "${host}" in
29506 *-*-cygwin* )
29507 LIBS="$LIBS -lkernel32 -luser32"
29508 esac
29509
29510 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29511 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29512
29513 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29514
29515 WIN32INSTALL=win32install
29516
29517 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29518 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29519 if test "${ac_cv_header_pbt_h+set}" = set; then
29520 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 else
29522 cat >conftest.$ac_ext <<_ACEOF
29523 /* confdefs.h. */
29524 _ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528
29529
29530 #include <pbt.h>
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (ac_try="$ac_compile"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29537 esac
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_compile") 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest.$ac_objext; then
29549 ac_cv_header_pbt_h=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_cv_header_pbt_h=no
29555 fi
29556
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29558 fi
29559 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29560 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29561 if test $ac_cv_header_pbt_h = yes; then
29562 :
29563 else
29564 cat >>confdefs.h <<\_ACEOF
29565 #define NEED_PBT_H 1
29566 _ACEOF
29567
29568 fi
29569
29570
29571 fi
29572
29573 if test "$wxUSE_GUI" = "yes"; then
29574 USE_GUI=1
29575
29576 GUI_TK_LIBRARY=
29577
29578 WXGTK12=
29579 WXGTK127=
29580 WXGTK2=
29581 WXGPE=
29582
29583 if test "$wxUSE_OLD_COCOA" = 1 ; then
29584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29585 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29586 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29587 wxUSE_PRINTING_ARCHITECTURE=no
29588 fi
29589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29590 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29591 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29592 wxUSE_DRAG_AND_DROP=no
29593 fi
29594 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29595 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29596 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29597 wxUSE_DRAGIMAGE=no
29598 fi
29599 fi
29600
29601 if test "$wxUSE_MSW" = 1 ; then
29602 TOOLKIT=MSW
29603 GUIDIST=MSW_DIST
29604
29605 case "${host}" in
29606 *-*-mingw32* )
29607 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29608 esac
29609 fi
29610
29611 if test "$wxUSE_GTK" = 1; then
29612 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29613 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29614
29615 gtk_version_cached=1
29616 if test "${wx_cv_lib_gtk+set}" = set; then
29617 echo $ECHO_N "(cached) $ECHO_C" >&6
29618 else
29619
29620 gtk_version_cached=0
29621 { echo "$as_me:$LINENO: result: " >&5
29622 echo "${ECHO_T}" >&6; }
29623
29624 GTK_MODULES=
29625 if test "$wxUSE_THREADS" = "yes"; then
29626 GTK_MODULES=gthread
29627 fi
29628
29629 wx_cv_lib_gtk=
29630 if test "x$wxGTK_VERSION" != "x1"
29631 then
29632 case "${host}" in
29633 *-*-solaris2* )
29634 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29635 enable_gtktest=no
29636 fi
29637 esac
29638
29639 # Check whether --enable-gtktest was given.
29640 if test "${enable_gtktest+set}" = set; then
29641 enableval=$enable_gtktest;
29642 else
29643 enable_gtktest=yes
29644 fi
29645
29646
29647 pkg_config_args=gtk+-2.0
29648 for module in . $GTK_MODULES
29649 do
29650 case "$module" in
29651 gthread)
29652 pkg_config_args="$pkg_config_args gthread-2.0"
29653 ;;
29654 esac
29655 done
29656
29657 no_gtk=""
29658
29659 # Extract the first word of "pkg-config", so it can be a program name with args.
29660 set dummy pkg-config; ac_word=$2
29661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29665 else
29666 case $PKG_CONFIG in
29667 [\\/]* | ?:[\\/]*)
29668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29669 ;;
29670 *)
29671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29672 for as_dir in $PATH
29673 do
29674 IFS=$as_save_IFS
29675 test -z "$as_dir" && as_dir=.
29676 for ac_exec_ext in '' $ac_executable_extensions; do
29677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29680 break 2
29681 fi
29682 done
29683 done
29684 IFS=$as_save_IFS
29685
29686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29687 ;;
29688 esac
29689 fi
29690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29691 if test -n "$PKG_CONFIG"; then
29692 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29693 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29694 else
29695 { echo "$as_me:$LINENO: result: no" >&5
29696 echo "${ECHO_T}no" >&6; }
29697 fi
29698
29699
29700
29701 if test x$PKG_CONFIG != xno ; then
29702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29703 :
29704 else
29705 echo "*** pkg-config too old; version 0.7 or better required."
29706 no_gtk=yes
29707 PKG_CONFIG=no
29708 fi
29709 else
29710 no_gtk=yes
29711 fi
29712
29713 min_gtk_version=2.4.0
29714 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29716
29717 if test x$PKG_CONFIG != xno ; then
29718 ## don't try to run the test against uninstalled libtool libs
29719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29721 enable_gtktest=no
29722 fi
29723
29724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29725 :
29726 else
29727 no_gtk=yes
29728 fi
29729 fi
29730
29731 if test x"$no_gtk" = x ; then
29732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29740 if test "x$enable_gtktest" = "xyes" ; then
29741 ac_save_CFLAGS="$CFLAGS"
29742 ac_save_LIBS="$LIBS"
29743 CFLAGS="$CFLAGS $GTK_CFLAGS"
29744 LIBS="$GTK_LIBS $LIBS"
29745 rm -f conf.gtktest
29746 if test "$cross_compiling" = yes; then
29747 echo $ac_n "cross compiling; assumed OK... $ac_c"
29748 else
29749 cat >conftest.$ac_ext <<_ACEOF
29750 /* confdefs.h. */
29751 _ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h. */
29755
29756 #include <gtk/gtk.h>
29757 #include <stdio.h>
29758 #include <stdlib.h>
29759
29760 int
29761 main ()
29762 {
29763 int major, minor, micro;
29764 char *tmp_version;
29765
29766 system ("touch conf.gtktest");
29767
29768 /* HP/UX 9 (%@#!) writes to sscanf strings */
29769 tmp_version = g_strdup("$min_gtk_version");
29770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29771 printf("%s, bad version string\n", "$min_gtk_version");
29772 exit(1);
29773 }
29774
29775 if ((gtk_major_version != $gtk_config_major_version) ||
29776 (gtk_minor_version != $gtk_config_minor_version) ||
29777 (gtk_micro_version != $gtk_config_micro_version))
29778 {
29779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29781 gtk_major_version, gtk_minor_version, gtk_micro_version);
29782 printf ("*** was found! If pkg-config was correct, then it is best\n");
29783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29786 printf("*** required on your system.\n");
29787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29788 printf("*** to point to the correct configuration files\n");
29789 }
29790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29791 (gtk_minor_version != GTK_MINOR_VERSION) ||
29792 (gtk_micro_version != GTK_MICRO_VERSION))
29793 {
29794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29796 printf("*** library (version %d.%d.%d)\n",
29797 gtk_major_version, gtk_minor_version, gtk_micro_version);
29798 }
29799 else
29800 {
29801 if ((gtk_major_version > major) ||
29802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29804 {
29805 return 0;
29806 }
29807 else
29808 {
29809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29810 gtk_major_version, gtk_minor_version, gtk_micro_version);
29811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29812 major, minor, micro);
29813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29814 printf("***\n");
29815 printf("*** If you have already installed a sufficiently new version, this error\n");
29816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29821 printf("*** so that the correct libraries are found at run-time))\n");
29822 }
29823 }
29824 return 1;
29825 }
29826
29827 _ACEOF
29828 rm -f conftest$ac_exeext
29829 if { (ac_try="$ac_link"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29833 esac
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_link") 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29839 { (case "(($ac_try" in
29840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29841 *) ac_try_echo=$ac_try;;
29842 esac
29843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29844 (eval "$ac_try") 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848 :
29849 else
29850 echo "$as_me: program exited with status $ac_status" >&5
29851 echo "$as_me: failed program was:" >&5
29852 sed 's/^/| /' conftest.$ac_ext >&5
29853
29854 ( exit $ac_status )
29855 no_gtk=yes
29856 fi
29857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29858 fi
29859
29860
29861 CFLAGS="$ac_save_CFLAGS"
29862 LIBS="$ac_save_LIBS"
29863 fi
29864 fi
29865 if test "x$no_gtk" = x ; then
29866 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29867 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29868 wx_cv_lib_gtk=2.0
29869 else
29870 { echo "$as_me:$LINENO: result: no" >&5
29871 echo "${ECHO_T}no" >&6; }
29872 if test "$PKG_CONFIG" = "no" ; then
29873 echo "*** A new enough version of pkg-config was not found."
29874 echo "*** See http://pkgconfig.sourceforge.net"
29875 else
29876 if test -f conf.gtktest ; then
29877 :
29878 else
29879 echo "*** Could not run GTK+ test program, checking why..."
29880 ac_save_CFLAGS="$CFLAGS"
29881 ac_save_LIBS="$LIBS"
29882 CFLAGS="$CFLAGS $GTK_CFLAGS"
29883 LIBS="$LIBS $GTK_LIBS"
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890
29891 #include <gtk/gtk.h>
29892 #include <stdio.h>
29893
29894 int
29895 main ()
29896 {
29897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29898 ;
29899 return 0;
29900 }
29901 _ACEOF
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 if { (ac_try="$ac_link"
29904 case "(($ac_try" in
29905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906 *) ac_try_echo=$ac_try;;
29907 esac
29908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_link") 2>conftest.er1
29910 ac_status=$?
29911 grep -v '^ *+' conftest.er1 >conftest.err
29912 rm -f conftest.er1
29913 cat conftest.err >&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } && {
29916 test -z "$ac_c_werror_flag" ||
29917 test ! -s conftest.err
29918 } && test -s conftest$ac_exeext &&
29919 $as_test_x conftest$ac_exeext; then
29920 echo "*** The test program compiled, but did not run. This usually means"
29921 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29922 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29925 echo "*** is required on your system"
29926 echo "***"
29927 echo "*** If you have an old version installed, it is best to remove it, although"
29928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29929 else
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29932
29933 echo "*** The test program failed to compile or link. See the file config.log for the"
29934 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29935 fi
29936
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29939 CFLAGS="$ac_save_CFLAGS"
29940 LIBS="$ac_save_LIBS"
29941 fi
29942 fi
29943 GTK_CFLAGS=""
29944 GTK_LIBS=""
29945 :
29946 fi
29947
29948
29949 rm -f conf.gtktest
29950
29951
29952 GTK_LIBS="$GTK_LIBS -lX11"
29953 fi
29954
29955 if test -z "$wx_cv_lib_gtk"; then
29956 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29957
29958 # Check whether --with-gtk-prefix was given.
29959 if test "${with_gtk_prefix+set}" = set; then
29960 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29961 else
29962 gtk_config_prefix=""
29963 fi
29964
29965
29966 # Check whether --with-gtk-exec-prefix was given.
29967 if test "${with_gtk_exec_prefix+set}" = set; then
29968 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29969 else
29970 gtk_config_exec_prefix=""
29971 fi
29972
29973 # Check whether --enable-gtktest was given.
29974 if test "${enable_gtktest+set}" = set; then
29975 enableval=$enable_gtktest;
29976 else
29977 enable_gtktest=yes
29978 fi
29979
29980
29981 for module in . $GTK_MODULES
29982 do
29983 case "$module" in
29984 gthread)
29985 gtk_config_args="$gtk_config_args gthread"
29986 ;;
29987 esac
29988 done
29989
29990 if test x$gtk_config_exec_prefix != x ; then
29991 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29992 if test x${GTK_CONFIG+set} != xset ; then
29993 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29994 fi
29995 fi
29996 if test x$gtk_config_prefix != x ; then
29997 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29998 if test x${GTK_CONFIG+set} != xset ; then
29999 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30000 fi
30001 fi
30002
30003 # Extract the first word of "gtk-config", so it can be a program name with args.
30004 set dummy gtk-config; ac_word=$2
30005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30007 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 else
30010 case $GTK_CONFIG in
30011 [\\/]* | ?:[\\/]*)
30012 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30013 ;;
30014 *)
30015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30016 for as_dir in $PATH
30017 do
30018 IFS=$as_save_IFS
30019 test -z "$as_dir" && as_dir=.
30020 for ac_exec_ext in '' $ac_executable_extensions; do
30021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30022 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30024 break 2
30025 fi
30026 done
30027 done
30028 IFS=$as_save_IFS
30029
30030 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30031 ;;
30032 esac
30033 fi
30034 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30035 if test -n "$GTK_CONFIG"; then
30036 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30037 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30038 else
30039 { echo "$as_me:$LINENO: result: no" >&5
30040 echo "${ECHO_T}no" >&6; }
30041 fi
30042
30043
30044 min_gtk_version=1.2.7
30045 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30046 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30047 no_gtk=""
30048 if test "$GTK_CONFIG" = "no" ; then
30049 no_gtk=yes
30050 else
30051 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30052 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30053 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30055 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30057 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30059 if test "x$enable_gtktest" = "xyes" ; then
30060 ac_save_CFLAGS="$CFLAGS"
30061 ac_save_LIBS="$LIBS"
30062 CFLAGS="$CFLAGS $GTK_CFLAGS"
30063 LIBS="$GTK_LIBS $LIBS"
30064 rm -f conf.gtktest
30065 if test "$cross_compiling" = yes; then
30066 echo $ac_n "cross compiling; assumed OK... $ac_c"
30067 else
30068 cat >conftest.$ac_ext <<_ACEOF
30069 /* confdefs.h. */
30070 _ACEOF
30071 cat confdefs.h >>conftest.$ac_ext
30072 cat >>conftest.$ac_ext <<_ACEOF
30073 /* end confdefs.h. */
30074
30075 #include <gtk/gtk.h>
30076 #include <stdio.h>
30077 #include <stdlib.h>
30078
30079 int
30080 main ()
30081 {
30082 int major, minor, micro;
30083 char *tmp_version;
30084
30085 system ("touch conf.gtktest");
30086
30087 /* HP/UX 9 (%@#!) writes to sscanf strings */
30088 tmp_version = g_strdup("$min_gtk_version");
30089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30090 printf("%s, bad version string\n", "$min_gtk_version");
30091 exit(1);
30092 }
30093
30094 if ((gtk_major_version != $gtk_config_major_version) ||
30095 (gtk_minor_version != $gtk_config_minor_version) ||
30096 (gtk_micro_version != $gtk_config_micro_version))
30097 {
30098 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30100 gtk_major_version, gtk_minor_version, gtk_micro_version);
30101 printf ("*** was found! If gtk-config was correct, then it is best\n");
30102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30105 printf("*** required on your system.\n");
30106 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30107 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30108 printf("*** before re-running configure\n");
30109 }
30110 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30111 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30112 (gtk_minor_version != GTK_MINOR_VERSION) ||
30113 (gtk_micro_version != GTK_MICRO_VERSION))
30114 {
30115 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30116 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30117 printf("*** library (version %d.%d.%d)\n",
30118 gtk_major_version, gtk_minor_version, gtk_micro_version);
30119 }
30120 #endif /* defined (GTK_MAJOR_VERSION) ... */
30121 else
30122 {
30123 if ((gtk_major_version > major) ||
30124 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30125 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30126 {
30127 return 0;
30128 }
30129 else
30130 {
30131 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30132 gtk_major_version, gtk_minor_version, gtk_micro_version);
30133 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30134 major, minor, micro);
30135 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30136 printf("***\n");
30137 printf("*** If you have already installed a sufficiently new version, this error\n");
30138 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30139 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30140 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30141 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30142 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30143 printf("*** so that the correct libraries are found at run-time))\n");
30144 }
30145 }
30146 return 1;
30147 }
30148
30149 _ACEOF
30150 rm -f conftest$ac_exeext
30151 if { (ac_try="$ac_link"
30152 case "(($ac_try" in
30153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30154 *) ac_try_echo=$ac_try;;
30155 esac
30156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30157 (eval "$ac_link") 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30161 { (case "(($ac_try" in
30162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30163 *) ac_try_echo=$ac_try;;
30164 esac
30165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30166 (eval "$ac_try") 2>&5
30167 ac_status=$?
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30170 :
30171 else
30172 echo "$as_me: program exited with status $ac_status" >&5
30173 echo "$as_me: failed program was:" >&5
30174 sed 's/^/| /' conftest.$ac_ext >&5
30175
30176 ( exit $ac_status )
30177 no_gtk=yes
30178 fi
30179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30180 fi
30181
30182
30183 CFLAGS="$ac_save_CFLAGS"
30184 LIBS="$ac_save_LIBS"
30185 fi
30186 fi
30187 if test "x$no_gtk" = x ; then
30188 { echo "$as_me:$LINENO: result: yes" >&5
30189 echo "${ECHO_T}yes" >&6; }
30190 wx_cv_lib_gtk=1.2.7
30191 else
30192 { echo "$as_me:$LINENO: result: no" >&5
30193 echo "${ECHO_T}no" >&6; }
30194 if test "$GTK_CONFIG" = "no" ; then
30195 echo "*** The gtk-config script installed by GTK could not be found"
30196 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30197 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30198 echo "*** full path to gtk-config."
30199 else
30200 if test -f conf.gtktest ; then
30201 :
30202 else
30203 echo "*** Could not run GTK test program, checking why..."
30204 CFLAGS="$CFLAGS $GTK_CFLAGS"
30205 LIBS="$LIBS $GTK_LIBS"
30206 cat >conftest.$ac_ext <<_ACEOF
30207 /* confdefs.h. */
30208 _ACEOF
30209 cat confdefs.h >>conftest.$ac_ext
30210 cat >>conftest.$ac_ext <<_ACEOF
30211 /* end confdefs.h. */
30212
30213 #include <gtk/gtk.h>
30214 #include <stdio.h>
30215
30216 int
30217 main ()
30218 {
30219 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30220 ;
30221 return 0;
30222 }
30223 _ACEOF
30224 rm -f conftest.$ac_objext conftest$ac_exeext
30225 if { (ac_try="$ac_link"
30226 case "(($ac_try" in
30227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30228 *) ac_try_echo=$ac_try;;
30229 esac
30230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30231 (eval "$ac_link") 2>conftest.er1
30232 ac_status=$?
30233 grep -v '^ *+' conftest.er1 >conftest.err
30234 rm -f conftest.er1
30235 cat conftest.err >&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); } && {
30238 test -z "$ac_c_werror_flag" ||
30239 test ! -s conftest.err
30240 } && test -s conftest$ac_exeext &&
30241 $as_test_x conftest$ac_exeext; then
30242 echo "*** The test program compiled, but did not run. This usually means"
30243 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30244 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30245 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30246 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30247 echo "*** is required on your system"
30248 echo "***"
30249 echo "*** If you have an old version installed, it is best to remove it, although"
30250 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30251 echo "***"
30252 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30253 echo "*** came with the system with the command"
30254 echo "***"
30255 echo "*** rpm --erase --nodeps gtk gtk-devel"
30256 else
30257 echo "$as_me: failed program was:" >&5
30258 sed 's/^/| /' conftest.$ac_ext >&5
30259
30260 echo "*** The test program failed to compile or link. See the file config.log for the"
30261 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30262 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30263 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30264 fi
30265
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30268 CFLAGS="$ac_save_CFLAGS"
30269 LIBS="$ac_save_LIBS"
30270 fi
30271 fi
30272 GTK_CFLAGS=""
30273 GTK_LIBS=""
30274 :
30275 fi
30276
30277
30278 rm -f conf.gtktest
30279
30280
30281 if test -z "$wx_cv_lib_gtk"; then
30282
30283 # Check whether --with-gtk-prefix was given.
30284 if test "${with_gtk_prefix+set}" = set; then
30285 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30286 else
30287 gtk_config_prefix=""
30288 fi
30289
30290
30291 # Check whether --with-gtk-exec-prefix was given.
30292 if test "${with_gtk_exec_prefix+set}" = set; then
30293 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30294 else
30295 gtk_config_exec_prefix=""
30296 fi
30297
30298 # Check whether --enable-gtktest was given.
30299 if test "${enable_gtktest+set}" = set; then
30300 enableval=$enable_gtktest;
30301 else
30302 enable_gtktest=yes
30303 fi
30304
30305
30306 for module in . $GTK_MODULES
30307 do
30308 case "$module" in
30309 gthread)
30310 gtk_config_args="$gtk_config_args gthread"
30311 ;;
30312 esac
30313 done
30314
30315 if test x$gtk_config_exec_prefix != x ; then
30316 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30317 if test x${GTK_CONFIG+set} != xset ; then
30318 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30319 fi
30320 fi
30321 if test x$gtk_config_prefix != x ; then
30322 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30323 if test x${GTK_CONFIG+set} != xset ; then
30324 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30325 fi
30326 fi
30327
30328 # Extract the first word of "gtk-config", so it can be a program name with args.
30329 set dummy gtk-config; ac_word=$2
30330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30332 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 else
30335 case $GTK_CONFIG in
30336 [\\/]* | ?:[\\/]*)
30337 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30338 ;;
30339 *)
30340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30341 for as_dir in $PATH
30342 do
30343 IFS=$as_save_IFS
30344 test -z "$as_dir" && as_dir=.
30345 for ac_exec_ext in '' $ac_executable_extensions; do
30346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30347 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30349 break 2
30350 fi
30351 done
30352 done
30353 IFS=$as_save_IFS
30354
30355 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30356 ;;
30357 esac
30358 fi
30359 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30360 if test -n "$GTK_CONFIG"; then
30361 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30362 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30363 else
30364 { echo "$as_me:$LINENO: result: no" >&5
30365 echo "${ECHO_T}no" >&6; }
30366 fi
30367
30368
30369 min_gtk_version=1.2.3
30370 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30371 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30372 no_gtk=""
30373 if test "$GTK_CONFIG" = "no" ; then
30374 no_gtk=yes
30375 else
30376 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30377 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30378 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30380 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30382 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30384 if test "x$enable_gtktest" = "xyes" ; then
30385 ac_save_CFLAGS="$CFLAGS"
30386 ac_save_LIBS="$LIBS"
30387 CFLAGS="$CFLAGS $GTK_CFLAGS"
30388 LIBS="$GTK_LIBS $LIBS"
30389 rm -f conf.gtktest
30390 if test "$cross_compiling" = yes; then
30391 echo $ac_n "cross compiling; assumed OK... $ac_c"
30392 else
30393 cat >conftest.$ac_ext <<_ACEOF
30394 /* confdefs.h. */
30395 _ACEOF
30396 cat confdefs.h >>conftest.$ac_ext
30397 cat >>conftest.$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30399
30400 #include <gtk/gtk.h>
30401 #include <stdio.h>
30402 #include <stdlib.h>
30403
30404 int
30405 main ()
30406 {
30407 int major, minor, micro;
30408 char *tmp_version;
30409
30410 system ("touch conf.gtktest");
30411
30412 /* HP/UX 9 (%@#!) writes to sscanf strings */
30413 tmp_version = g_strdup("$min_gtk_version");
30414 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30415 printf("%s, bad version string\n", "$min_gtk_version");
30416 exit(1);
30417 }
30418
30419 if ((gtk_major_version != $gtk_config_major_version) ||
30420 (gtk_minor_version != $gtk_config_minor_version) ||
30421 (gtk_micro_version != $gtk_config_micro_version))
30422 {
30423 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30424 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30425 gtk_major_version, gtk_minor_version, gtk_micro_version);
30426 printf ("*** was found! If gtk-config was correct, then it is best\n");
30427 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30428 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30429 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30430 printf("*** required on your system.\n");
30431 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30432 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30433 printf("*** before re-running configure\n");
30434 }
30435 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30436 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30437 (gtk_minor_version != GTK_MINOR_VERSION) ||
30438 (gtk_micro_version != GTK_MICRO_VERSION))
30439 {
30440 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30441 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30442 printf("*** library (version %d.%d.%d)\n",
30443 gtk_major_version, gtk_minor_version, gtk_micro_version);
30444 }
30445 #endif /* defined (GTK_MAJOR_VERSION) ... */
30446 else
30447 {
30448 if ((gtk_major_version > major) ||
30449 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30450 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30451 {
30452 return 0;
30453 }
30454 else
30455 {
30456 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30457 gtk_major_version, gtk_minor_version, gtk_micro_version);
30458 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30459 major, minor, micro);
30460 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30461 printf("***\n");
30462 printf("*** If you have already installed a sufficiently new version, this error\n");
30463 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30464 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30465 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30466 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30467 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30468 printf("*** so that the correct libraries are found at run-time))\n");
30469 }
30470 }
30471 return 1;
30472 }
30473
30474 _ACEOF
30475 rm -f conftest$ac_exeext
30476 if { (ac_try="$ac_link"
30477 case "(($ac_try" in
30478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30479 *) ac_try_echo=$ac_try;;
30480 esac
30481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30482 (eval "$ac_link") 2>&5
30483 ac_status=$?
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30486 { (case "(($ac_try" in
30487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30488 *) ac_try_echo=$ac_try;;
30489 esac
30490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30491 (eval "$ac_try") 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30495 :
30496 else
30497 echo "$as_me: program exited with status $ac_status" >&5
30498 echo "$as_me: failed program was:" >&5
30499 sed 's/^/| /' conftest.$ac_ext >&5
30500
30501 ( exit $ac_status )
30502 no_gtk=yes
30503 fi
30504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30505 fi
30506
30507
30508 CFLAGS="$ac_save_CFLAGS"
30509 LIBS="$ac_save_LIBS"
30510 fi
30511 fi
30512 if test "x$no_gtk" = x ; then
30513 { echo "$as_me:$LINENO: result: yes" >&5
30514 echo "${ECHO_T}yes" >&6; }
30515 wx_cv_lib_gtk=1.2.3
30516 else
30517 { echo "$as_me:$LINENO: result: no" >&5
30518 echo "${ECHO_T}no" >&6; }
30519 if test "$GTK_CONFIG" = "no" ; then
30520 echo "*** The gtk-config script installed by GTK could not be found"
30521 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30522 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30523 echo "*** full path to gtk-config."
30524 else
30525 if test -f conf.gtktest ; then
30526 :
30527 else
30528 echo "*** Could not run GTK test program, checking why..."
30529 CFLAGS="$CFLAGS $GTK_CFLAGS"
30530 LIBS="$LIBS $GTK_LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30532 /* confdefs.h. */
30533 _ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537
30538 #include <gtk/gtk.h>
30539 #include <stdio.h>
30540
30541 int
30542 main ()
30543 {
30544 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (ac_try="$ac_link"
30551 case "(($ac_try" in
30552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30553 *) ac_try_echo=$ac_try;;
30554 esac
30555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30556 (eval "$ac_link") 2>conftest.er1
30557 ac_status=$?
30558 grep -v '^ *+' conftest.er1 >conftest.err
30559 rm -f conftest.er1
30560 cat conftest.err >&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } && {
30563 test -z "$ac_c_werror_flag" ||
30564 test ! -s conftest.err
30565 } && test -s conftest$ac_exeext &&
30566 $as_test_x conftest$ac_exeext; then
30567 echo "*** The test program compiled, but did not run. This usually means"
30568 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30569 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30570 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30571 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30572 echo "*** is required on your system"
30573 echo "***"
30574 echo "*** If you have an old version installed, it is best to remove it, although"
30575 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30576 echo "***"
30577 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30578 echo "*** came with the system with the command"
30579 echo "***"
30580 echo "*** rpm --erase --nodeps gtk gtk-devel"
30581 else
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.$ac_ext >&5
30584
30585 echo "*** The test program failed to compile or link. See the file config.log for the"
30586 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30587 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30588 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30589 fi
30590
30591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30592 conftest$ac_exeext conftest.$ac_ext
30593 CFLAGS="$ac_save_CFLAGS"
30594 LIBS="$ac_save_LIBS"
30595 fi
30596 fi
30597 GTK_CFLAGS=""
30598 GTK_LIBS=""
30599 :
30600 fi
30601
30602
30603 rm -f conf.gtktest
30604
30605 fi
30606 fi
30607 fi
30608
30609 if test -z "$wx_cv_lib_gtk"; then
30610 wx_cv_lib_gtk=none
30611 else
30612 wx_cv_cflags_gtk=$GTK_CFLAGS
30613 wx_cv_libs_gtk=$GTK_LIBS
30614 fi
30615
30616
30617 fi
30618
30619
30620 if test "$gtk_version_cached" = 1; then
30621 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30622 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30623 fi
30624
30625 case "$wx_cv_lib_gtk" in
30626 2.0) WXGTK2=1
30627 TOOLKIT_VERSION=2
30628 ;;
30629 1.2.7) WXGTK127=1
30630 WXGTK12=1
30631 ;;
30632 1.2.3) WXGTK12=1
30633 ;;
30634 *) { { echo "$as_me:$LINENO: error:
30635 The development files for GTK+ were not found. For GTK+ 2, please
30636 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30637 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30638 and that the version is 1.2.3 or above. Also check that the
30639 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30640 --libs' are in the LD_LIBRARY_PATH or equivalent.
30641 " >&5
30642 echo "$as_me: error:
30643 The development files for GTK+ were not found. For GTK+ 2, please
30644 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30645 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30646 and that the version is 1.2.3 or above. Also check that the
30647 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30648 --libs' are in the LD_LIBRARY_PATH or equivalent.
30649 " >&2;}
30650 { (exit 1); exit 1; }; }
30651 ;;
30652 esac
30653
30654 if test "$WXGTK2" = 1; then
30655 save_CFLAGS="$CFLAGS"
30656 save_LIBS="$LIBS"
30657 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30658 LIBS="$LIBS $wx_cv_libs_gtk"
30659
30660 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30661 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30662 cat >conftest.$ac_ext <<_ACEOF
30663 /* confdefs.h. */
30664 _ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30668
30669 #include <gtk/gtk.h>
30670
30671 int
30672 main ()
30673 {
30674
30675 #if !GTK_CHECK_VERSION(2,18,0)
30676 Not GTK+ 2.18
30677 #endif
30678
30679 ;
30680 return 0;
30681 }
30682 _ACEOF
30683 rm -f conftest.$ac_objext
30684 if { (ac_try="$ac_compile"
30685 case "(($ac_try" in
30686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30687 *) ac_try_echo=$ac_try;;
30688 esac
30689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30690 (eval "$ac_compile") 2>conftest.er1
30691 ac_status=$?
30692 grep -v '^ *+' conftest.er1 >conftest.err
30693 rm -f conftest.er1
30694 cat conftest.err >&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); } && {
30697 test -z "$ac_c_werror_flag" ||
30698 test ! -s conftest.err
30699 } && test -s conftest.$ac_objext; then
30700
30701 cat >>confdefs.h <<\_ACEOF
30702 #define __WXGTK218__ 1
30703 _ACEOF
30704
30705 cat >>confdefs.h <<\_ACEOF
30706 #define __WXGTK210__ 1
30707 _ACEOF
30708
30709 cat >>confdefs.h <<\_ACEOF
30710 #define __WXGTK26__ 1
30711 _ACEOF
30712
30713 { echo "$as_me:$LINENO: result: yes" >&5
30714 echo "${ECHO_T}yes" >&6; }
30715 ac_wxgtk218=1
30716
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721
30722 { echo "$as_me:$LINENO: result: no" >&5
30723 echo "${ECHO_T}no" >&6; }
30724 ac_wxgtk218=0
30725
30726 fi
30727
30728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30729
30730 if test "$ac_wxgtk218" = 0; then
30731 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30732 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30733 cat >conftest.$ac_ext <<_ACEOF
30734 /* confdefs.h. */
30735 _ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30739
30740 #include <gtk/gtk.h>
30741
30742 int
30743 main ()
30744 {
30745
30746 #if !GTK_CHECK_VERSION(2,10,0)
30747 Not GTK+ 2.10
30748 #endif
30749
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 rm -f conftest.$ac_objext
30755 if { (ac_try="$ac_compile"
30756 case "(($ac_try" in
30757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30758 *) ac_try_echo=$ac_try;;
30759 esac
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_compile") 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } && {
30768 test -z "$ac_c_werror_flag" ||
30769 test ! -s conftest.err
30770 } && test -s conftest.$ac_objext; then
30771
30772 cat >>confdefs.h <<\_ACEOF
30773 #define __WXGTK210__ 1
30774 _ACEOF
30775
30776 cat >>confdefs.h <<\_ACEOF
30777 #define __WXGTK26__ 1
30778 _ACEOF
30779
30780 { echo "$as_me:$LINENO: result: yes" >&5
30781 echo "${ECHO_T}yes" >&6; }
30782 ac_wxgtk210=1
30783
30784 else
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30787
30788
30789 { echo "$as_me:$LINENO: result: no" >&5
30790 echo "${ECHO_T}no" >&6; }
30791 ac_wxgtk210=0
30792
30793 fi
30794
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796
30797 if test "$ac_wxgtk210" = 0; then
30798 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30799 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30800 cat >conftest.$ac_ext <<_ACEOF
30801 /* confdefs.h. */
30802 _ACEOF
30803 cat confdefs.h >>conftest.$ac_ext
30804 cat >>conftest.$ac_ext <<_ACEOF
30805 /* end confdefs.h. */
30806
30807 #include <gtk/gtk.h>
30808
30809 int
30810 main ()
30811 {
30812
30813 #if !GTK_CHECK_VERSION(2,6,0)
30814 Not GTK+ 2.6
30815 #endif
30816
30817 ;
30818 return 0;
30819 }
30820 _ACEOF
30821 rm -f conftest.$ac_objext
30822 if { (ac_try="$ac_compile"
30823 case "(($ac_try" in
30824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30825 *) ac_try_echo=$ac_try;;
30826 esac
30827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30828 (eval "$ac_compile") 2>conftest.er1
30829 ac_status=$?
30830 grep -v '^ *+' conftest.er1 >conftest.err
30831 rm -f conftest.er1
30832 cat conftest.err >&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); } && {
30835 test -z "$ac_c_werror_flag" ||
30836 test ! -s conftest.err
30837 } && test -s conftest.$ac_objext; then
30838
30839 cat >>confdefs.h <<\_ACEOF
30840 #define __WXGTK26__ 1
30841 _ACEOF
30842
30843 { echo "$as_me:$LINENO: result: yes" >&5
30844 echo "${ECHO_T}yes" >&6; }
30845 ac_wxgtk26=1
30846
30847 else
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30850
30851
30852 { echo "$as_me:$LINENO: result: no" >&5
30853 echo "${ECHO_T}no" >&6; }
30854 ac_wxgtk26=0
30855
30856 fi
30857
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 fi
30860 fi
30861
30862 CFLAGS="$save_CFLAGS"
30863 LIBS="$save_LIBS"
30864 else
30865 if test "$wxUSE_UNICODE" = "yes"; then
30866 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30867 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30868 wxUSE_UNICODE=no
30869 fi
30870
30871 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30872 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30873 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30875 else
30876 ac_check_lib_save_LIBS=$LIBS
30877 LIBS="-lgdk $LIBS"
30878 cat >conftest.$ac_ext <<_ACEOF
30879 /* confdefs.h. */
30880 _ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30884
30885 /* Override any GCC internal prototype to avoid an error.
30886 Use char because int might match the return type of a GCC
30887 builtin and then its argument prototype would still apply. */
30888 #ifdef __cplusplus
30889 extern "C"
30890 #endif
30891 char gdk_im_open ();
30892 int
30893 main ()
30894 {
30895 return gdk_im_open ();
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext conftest$ac_exeext
30901 if { (ac_try="$ac_link"
30902 case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30905 esac
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_link") 2>conftest.er1
30908 ac_status=$?
30909 grep -v '^ *+' conftest.er1 >conftest.err
30910 rm -f conftest.er1
30911 cat conftest.err >&5
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); } && {
30914 test -z "$ac_c_werror_flag" ||
30915 test ! -s conftest.err
30916 } && test -s conftest$ac_exeext &&
30917 $as_test_x conftest$ac_exeext; then
30918 ac_cv_lib_gdk_gdk_im_open=yes
30919 else
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30922
30923 ac_cv_lib_gdk_gdk_im_open=no
30924 fi
30925
30926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30927 conftest$ac_exeext conftest.$ac_ext
30928 LIBS=$ac_check_lib_save_LIBS
30929 fi
30930 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30931 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30932 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30933 cat >>confdefs.h <<\_ACEOF
30934 #define HAVE_XIM 1
30935 _ACEOF
30936
30937 fi
30938
30939
30940 if test "$USE_DARWIN" != 1; then
30941
30942 for ac_func in poll
30943 do
30944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30949 else
30950 cat >conftest.$ac_ext <<_ACEOF
30951 /* confdefs.h. */
30952 _ACEOF
30953 cat confdefs.h >>conftest.$ac_ext
30954 cat >>conftest.$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30958 #define $ac_func innocuous_$ac_func
30959
30960 /* System header to define __stub macros and hopefully few prototypes,
30961 which can conflict with char $ac_func (); below.
30962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30963 <limits.h> exists even on freestanding compilers. */
30964
30965 #ifdef __STDC__
30966 # include <limits.h>
30967 #else
30968 # include <assert.h>
30969 #endif
30970
30971 #undef $ac_func
30972
30973 /* Override any GCC internal prototype to avoid an error.
30974 Use char because int might match the return type of a GCC
30975 builtin and then its argument prototype would still apply. */
30976 #ifdef __cplusplus
30977 extern "C"
30978 #endif
30979 char $ac_func ();
30980 /* The GNU C library defines this for functions which it implements
30981 to always fail with ENOSYS. Some functions are actually named
30982 something starting with __ and the normal name is an alias. */
30983 #if defined __stub_$ac_func || defined __stub___$ac_func
30984 choke me
30985 #endif
30986
30987 int
30988 main ()
30989 {
30990 return $ac_func ();
30991 ;
30992 return 0;
30993 }
30994 _ACEOF
30995 rm -f conftest.$ac_objext conftest$ac_exeext
30996 if { (ac_try="$ac_link"
30997 case "(($ac_try" in
30998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30999 *) ac_try_echo=$ac_try;;
31000 esac
31001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31002 (eval "$ac_link") 2>conftest.er1
31003 ac_status=$?
31004 grep -v '^ *+' conftest.er1 >conftest.err
31005 rm -f conftest.er1
31006 cat conftest.err >&5
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && {
31009 test -z "$ac_c_werror_flag" ||
31010 test ! -s conftest.err
31011 } && test -s conftest$ac_exeext &&
31012 $as_test_x conftest$ac_exeext; then
31013 eval "$as_ac_var=yes"
31014 else
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31017
31018 eval "$as_ac_var=no"
31019 fi
31020
31021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31022 conftest$ac_exeext conftest.$ac_ext
31023 fi
31024 ac_res=`eval echo '${'$as_ac_var'}'`
31025 { echo "$as_me:$LINENO: result: $ac_res" >&5
31026 echo "${ECHO_T}$ac_res" >&6; }
31027 if test `eval echo '${'$as_ac_var'}'` = yes; then
31028 cat >>confdefs.h <<_ACEOF
31029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31030 _ACEOF
31031
31032 fi
31033 done
31034
31035 fi
31036 fi
31037
31038 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31039 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31040
31041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31042
31043 AFMINSTALL=afminstall
31044 TOOLKIT=GTK
31045 GUIDIST=GTK_DIST
31046
31047 if test "$wxUSE_GPE" = "yes"; then
31048 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31049 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31050
31051 ac_find_libraries=
31052 for ac_dir in $SEARCH_LIB
31053 do
31054 for ac_extension in a so sl dylib dll.a; do
31055 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31056 ac_find_libraries=$ac_dir
31057 break 2
31058 fi
31059 done
31060 done
31061
31062 if test "$ac_find_libraries" != "" ; then
31063
31064 if test "$ac_find_libraries" = "default location"; then
31065 ac_path_to_link=""
31066 else
31067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31068 result=$?
31069 if test $result = 0; then
31070 ac_path_to_link=""
31071 else
31072 ac_path_to_link=" -L$ac_find_libraries"
31073 fi
31074 fi
31075
31076 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31077 WXGPE=1
31078 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31079 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31080 else
31081 { echo "$as_me:$LINENO: result: not found" >&5
31082 echo "${ECHO_T}not found" >&6; }
31083 fi
31084
31085 fi
31086 fi
31087
31088 if test "$wxUSE_MGL" = 1; then
31089 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31090 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31091 if test "x$MGL_ROOT" = x ; then
31092 { echo "$as_me:$LINENO: result: not found" >&5
31093 echo "${ECHO_T}not found" >&6; }
31094 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31095 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31096 { (exit 1); exit 1; }; }
31097 else
31098 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31099 echo "${ECHO_T}$MGL_ROOT" >&6; }
31100 fi
31101
31102 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31103 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31104 case "${host}" in
31105 *-*-linux* )
31106 if test "x$wxUSE_SHARED" = xyes ; then
31107 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31108 else
31109 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31110 fi
31111 ;;
31112 *-pc-msdosdjgpp )
31113 mgl_os_candidates="dos32/dj2"
31114 ;;
31115 *)
31116 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31117 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31118 { (exit 1); exit 1; }; }
31119 esac
31120
31121 mgl_lib_type=""
31122 mgl_os=""
31123
31124 for mgl_os_i in $mgl_os_candidates ; do
31125 if test "x$mgl_os" = x ; then
31126 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31127 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31128 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31129 mgl_lib_type=debug
31130 mgl_os=$mgl_os_i
31131 fi
31132 fi
31133 if test "x$mgl_lib_type" = x ; then
31134 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31135 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31136 mgl_lib_type=release
31137 mgl_os=$mgl_os_i
31138 fi
31139 fi
31140 fi
31141 done
31142
31143 if test "x$mgl_os" = x ; then
31144 { echo "$as_me:$LINENO: result: not found" >&5
31145 echo "${ECHO_T}not found" >&6; }
31146 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31147 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31148 { (exit 1); exit 1; }; }
31149 fi
31150 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31151 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31152
31153 wxUSE_UNIVERSAL="yes"
31154
31155 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31156 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31157
31158 AFMINSTALL=afminstall
31159 TOOLKIT=MGL
31160 GUIDIST=MGL_DIST
31161 fi
31162
31163 if test "$wxUSE_DFB" = 1; then
31164
31165
31166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31167 if test -n "$ac_tool_prefix"; then
31168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31172 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 case $PKG_CONFIG in
31176 [\\/]* | ?:[\\/]*)
31177 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31178 ;;
31179 *)
31180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31181 for as_dir in $PATH
31182 do
31183 IFS=$as_save_IFS
31184 test -z "$as_dir" && as_dir=.
31185 for ac_exec_ext in '' $ac_executable_extensions; do
31186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31187 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31189 break 2
31190 fi
31191 done
31192 done
31193 IFS=$as_save_IFS
31194
31195 ;;
31196 esac
31197 fi
31198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31199 if test -n "$PKG_CONFIG"; then
31200 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31201 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31202 else
31203 { echo "$as_me:$LINENO: result: no" >&5
31204 echo "${ECHO_T}no" >&6; }
31205 fi
31206
31207
31208 fi
31209 if test -z "$ac_cv_path_PKG_CONFIG"; then
31210 ac_pt_PKG_CONFIG=$PKG_CONFIG
31211 # Extract the first word of "pkg-config", so it can be a program name with args.
31212 set dummy pkg-config; ac_word=$2
31213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31215 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 else
31218 case $ac_pt_PKG_CONFIG in
31219 [\\/]* | ?:[\\/]*)
31220 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31221 ;;
31222 *)
31223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31224 for as_dir in $PATH
31225 do
31226 IFS=$as_save_IFS
31227 test -z "$as_dir" && as_dir=.
31228 for ac_exec_ext in '' $ac_executable_extensions; do
31229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31230 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31232 break 2
31233 fi
31234 done
31235 done
31236 IFS=$as_save_IFS
31237
31238 ;;
31239 esac
31240 fi
31241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31242 if test -n "$ac_pt_PKG_CONFIG"; then
31243 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31244 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31245 else
31246 { echo "$as_me:$LINENO: result: no" >&5
31247 echo "${ECHO_T}no" >&6; }
31248 fi
31249
31250 if test "x$ac_pt_PKG_CONFIG" = x; then
31251 PKG_CONFIG=""
31252 else
31253 case $cross_compiling:$ac_tool_warned in
31254 yes:)
31255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31256 whose name does not start with the host triplet. If you think this
31257 configuration is useful to you, please write to autoconf@gnu.org." >&5
31258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31259 whose name does not start with the host triplet. If you think this
31260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31261 ac_tool_warned=yes ;;
31262 esac
31263 PKG_CONFIG=$ac_pt_PKG_CONFIG
31264 fi
31265 else
31266 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31267 fi
31268
31269 fi
31270 if test -n "$PKG_CONFIG"; then
31271 _pkg_min_version=0.9.0
31272 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31273 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31274 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31275 { echo "$as_me:$LINENO: result: yes" >&5
31276 echo "${ECHO_T}yes" >&6; }
31277 else
31278 { echo "$as_me:$LINENO: result: no" >&5
31279 echo "${ECHO_T}no" >&6; }
31280 PKG_CONFIG=""
31281 fi
31282
31283 fi
31284
31285
31286 pkg_failed=no
31287 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31288 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31289
31290 if test -n "$PKG_CONFIG"; then
31291 if test -n "$DIRECTFB_CFLAGS"; then
31292 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31293 else
31294 if test -n "$PKG_CONFIG" && \
31295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31296 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; then
31300 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31301 else
31302 pkg_failed=yes
31303 fi
31304 fi
31305 else
31306 pkg_failed=untried
31307 fi
31308 if test -n "$PKG_CONFIG"; then
31309 if test -n "$DIRECTFB_LIBS"; then
31310 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31311 else
31312 if test -n "$PKG_CONFIG" && \
31313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31314 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31315 ac_status=$?
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; then
31318 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31319 else
31320 pkg_failed=yes
31321 fi
31322 fi
31323 else
31324 pkg_failed=untried
31325 fi
31326
31327
31328
31329 if test $pkg_failed = yes; then
31330
31331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31332 _pkg_short_errors_supported=yes
31333 else
31334 _pkg_short_errors_supported=no
31335 fi
31336 if test $_pkg_short_errors_supported = yes; then
31337 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31338 else
31339 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31340 fi
31341 # Put the nasty error message in config.log where it belongs
31342 echo "$DIRECTFB_PKG_ERRORS" >&5
31343
31344
31345 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31346 echo "$as_me: error: DirectFB not found." >&2;}
31347 { (exit 1); exit 1; }; }
31348
31349
31350 elif test $pkg_failed = untried; then
31351
31352 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31353 echo "$as_me: error: DirectFB not found." >&2;}
31354 { (exit 1); exit 1; }; }
31355
31356
31357 else
31358 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31359 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31360 { echo "$as_me:$LINENO: result: yes" >&5
31361 echo "${ECHO_T}yes" >&6; }
31362
31363 wxUSE_UNIVERSAL="yes"
31364 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31365 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31366 TOOLKIT=DFB
31367 GUIDIST=DFB_DIST
31368
31369 fi
31370 fi
31371
31372 if test "$wxUSE_MICROWIN" = 1; then
31373 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31374 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31375 if test "x$MICROWINDOWS" = x ; then
31376 { echo "$as_me:$LINENO: result: not found" >&5
31377 echo "${ECHO_T}not found" >&6; }
31378 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31379 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31380 { (exit 1); exit 1; }; }
31381 else
31382 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31383 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31384 fi
31385
31386 if test -f $MICROWINDOWS/lib/libmwin.a; then
31387 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31388 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31389 else
31390 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31391 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31392 { (exit 1); exit 1; }; }
31393 fi
31394
31395 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31396 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31397
31398 wxUSE_UNIVERSAL="yes"
31399
31400 AFMINSTALL=afminstall
31401 TOOLKIT=MICROWIN
31402 GUIDIST=MICROWIN_DIST
31403
31404 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31405 fi
31406
31407 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31408 { echo "$as_me:$LINENO: checking for X" >&5
31409 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31410
31411
31412 # Check whether --with-x was given.
31413 if test "${with_x+set}" = set; then
31414 withval=$with_x;
31415 fi
31416
31417 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31418 if test "x$with_x" = xno; then
31419 # The user explicitly disabled X.
31420 have_x=disabled
31421 else
31422 case $x_includes,$x_libraries in #(
31423 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31424 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31425 { (exit 1); exit 1; }; };; #(
31426 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31427 echo $ECHO_N "(cached) $ECHO_C" >&6
31428 else
31429 # One or both of the vars are not set, and there is no cached value.
31430 ac_x_includes=no ac_x_libraries=no
31431 rm -f -r conftest.dir
31432 if mkdir conftest.dir; then
31433 cd conftest.dir
31434 cat >Imakefile <<'_ACEOF'
31435 incroot:
31436 @echo incroot='${INCROOT}'
31437 usrlibdir:
31438 @echo usrlibdir='${USRLIBDIR}'
31439 libdir:
31440 @echo libdir='${LIBDIR}'
31441 _ACEOF
31442 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31444 for ac_var in incroot usrlibdir libdir; do
31445 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31446 done
31447 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31448 for ac_extension in a so sl; do
31449 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31450 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31451 ac_im_usrlibdir=$ac_im_libdir; break
31452 fi
31453 done
31454 # Screen out bogus values from the imake configuration. They are
31455 # bogus both because they are the default anyway, and because
31456 # using them would break gcc on systems where it needs fixed includes.
31457 case $ac_im_incroot in
31458 /usr/include) ac_x_includes= ;;
31459 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31460 esac
31461 case $ac_im_usrlibdir in
31462 /usr/lib | /lib) ;;
31463 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31464 esac
31465 fi
31466 cd ..
31467 rm -f -r conftest.dir
31468 fi
31469
31470 # Standard set of common directories for X headers.
31471 # Check X11 before X11Rn because it is often a symlink to the current release.
31472 ac_x_header_dirs='
31473 /usr/X11/include
31474 /usr/X11R6/include
31475 /usr/X11R5/include
31476 /usr/X11R4/include
31477
31478 /usr/include/X11
31479 /usr/include/X11R6
31480 /usr/include/X11R5
31481 /usr/include/X11R4
31482
31483 /usr/local/X11/include
31484 /usr/local/X11R6/include
31485 /usr/local/X11R5/include
31486 /usr/local/X11R4/include
31487
31488 /usr/local/include/X11
31489 /usr/local/include/X11R6
31490 /usr/local/include/X11R5
31491 /usr/local/include/X11R4
31492
31493 /usr/X386/include
31494 /usr/x386/include
31495 /usr/XFree86/include/X11
31496
31497 /usr/include
31498 /usr/local/include
31499 /usr/unsupported/include
31500 /usr/athena/include
31501 /usr/local/x11r5/include
31502 /usr/lpp/Xamples/include
31503
31504 /usr/openwin/include
31505 /usr/openwin/share/include'
31506
31507 if test "$ac_x_includes" = no; then
31508 # Guess where to find include files, by looking for Xlib.h.
31509 # First, try using that file with no special directory specified.
31510 cat >conftest.$ac_ext <<_ACEOF
31511 /* confdefs.h. */
31512 _ACEOF
31513 cat confdefs.h >>conftest.$ac_ext
31514 cat >>conftest.$ac_ext <<_ACEOF
31515 /* end confdefs.h. */
31516 #include <X11/Xlib.h>
31517 _ACEOF
31518 if { (ac_try="$ac_cpp conftest.$ac_ext"
31519 case "(($ac_try" in
31520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31521 *) ac_try_echo=$ac_try;;
31522 esac
31523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31525 ac_status=$?
31526 grep -v '^ *+' conftest.er1 >conftest.err
31527 rm -f conftest.er1
31528 cat conftest.err >&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); } >/dev/null && {
31531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31532 test ! -s conftest.err
31533 }; then
31534 # We can compile using X headers with no special include directory.
31535 ac_x_includes=
31536 else
31537 echo "$as_me: failed program was:" >&5
31538 sed 's/^/| /' conftest.$ac_ext >&5
31539
31540 for ac_dir in $ac_x_header_dirs; do
31541 if test -r "$ac_dir/X11/Xlib.h"; then
31542 ac_x_includes=$ac_dir
31543 break
31544 fi
31545 done
31546 fi
31547
31548 rm -f conftest.err conftest.$ac_ext
31549 fi # $ac_x_includes = no
31550
31551 if test "$ac_x_libraries" = no; then
31552 # Check for the libraries.
31553 # See if we find them without any special options.
31554 # Don't add to $LIBS permanently.
31555 ac_save_LIBS=$LIBS
31556 LIBS="-lX11 $LIBS"
31557 cat >conftest.$ac_ext <<_ACEOF
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563 #include <X11/Xlib.h>
31564 int
31565 main ()
31566 {
31567 XrmInitialize ()
31568 ;
31569 return 0;
31570 }
31571 _ACEOF
31572 rm -f conftest.$ac_objext conftest$ac_exeext
31573 if { (ac_try="$ac_link"
31574 case "(($ac_try" in
31575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31576 *) ac_try_echo=$ac_try;;
31577 esac
31578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31579 (eval "$ac_link") 2>conftest.er1
31580 ac_status=$?
31581 grep -v '^ *+' conftest.er1 >conftest.err
31582 rm -f conftest.er1
31583 cat conftest.err >&5
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } && {
31586 test -z "$ac_c_werror_flag" ||
31587 test ! -s conftest.err
31588 } && test -s conftest$ac_exeext &&
31589 $as_test_x conftest$ac_exeext; then
31590 LIBS=$ac_save_LIBS
31591 # We can link X programs with no special library path.
31592 ac_x_libraries=
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31596
31597 LIBS=$ac_save_LIBS
31598 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31599 do
31600 # Don't even attempt the hair of trying to link an X program!
31601 for ac_extension in a so sl; do
31602 if test -r "$ac_dir/libX11.$ac_extension"; then
31603 ac_x_libraries=$ac_dir
31604 break 2
31605 fi
31606 done
31607 done
31608 fi
31609
31610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31611 conftest$ac_exeext conftest.$ac_ext
31612 fi # $ac_x_libraries = no
31613
31614 case $ac_x_includes,$ac_x_libraries in #(
31615 no,* | *,no | *\'*)
31616 # Didn't find X, or a directory has "'" in its name.
31617 ac_cv_have_x="have_x=no";; #(
31618 *)
31619 # Record where we found X for the cache.
31620 ac_cv_have_x="have_x=yes\
31621 ac_x_includes='$ac_x_includes'\
31622 ac_x_libraries='$ac_x_libraries'"
31623 esac
31624 fi
31625 ;; #(
31626 *) have_x=yes;;
31627 esac
31628 eval "$ac_cv_have_x"
31629 fi # $with_x != no
31630
31631 if test "$have_x" != yes; then
31632 { echo "$as_me:$LINENO: result: $have_x" >&5
31633 echo "${ECHO_T}$have_x" >&6; }
31634 no_x=yes
31635 else
31636 # If each of the values was on the command line, it overrides each guess.
31637 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31638 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31639 # Update the cache value to reflect the command line values.
31640 ac_cv_have_x="have_x=yes\
31641 ac_x_includes='$x_includes'\
31642 ac_x_libraries='$x_libraries'"
31643 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31644 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31645 fi
31646
31647 if test "$no_x" = yes; then
31648 # Not all programs may use this symbol, but it does not hurt to define it.
31649
31650 cat >>confdefs.h <<\_ACEOF
31651 #define X_DISPLAY_MISSING 1
31652 _ACEOF
31653
31654 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31655 else
31656 if test -n "$x_includes"; then
31657 X_CFLAGS="$X_CFLAGS -I$x_includes"
31658 fi
31659
31660 # It would also be nice to do this for all -L options, not just this one.
31661 if test -n "$x_libraries"; then
31662 X_LIBS="$X_LIBS -L$x_libraries"
31663 # For Solaris; some versions of Sun CC require a space after -R and
31664 # others require no space. Words are not sufficient . . . .
31665 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31666 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31667 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31668 ac_xsave_c_werror_flag=$ac_c_werror_flag
31669 ac_c_werror_flag=yes
31670 cat >conftest.$ac_ext <<_ACEOF
31671 /* confdefs.h. */
31672 _ACEOF
31673 cat confdefs.h >>conftest.$ac_ext
31674 cat >>conftest.$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31676
31677 int
31678 main ()
31679 {
31680
31681 ;
31682 return 0;
31683 }
31684 _ACEOF
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (ac_try="$ac_link"
31687 case "(($ac_try" in
31688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31689 *) ac_try_echo=$ac_try;;
31690 esac
31691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31692 (eval "$ac_link") 2>conftest.er1
31693 ac_status=$?
31694 grep -v '^ *+' conftest.er1 >conftest.err
31695 rm -f conftest.er1
31696 cat conftest.err >&5
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); } && {
31699 test -z "$ac_c_werror_flag" ||
31700 test ! -s conftest.err
31701 } && test -s conftest$ac_exeext &&
31702 $as_test_x conftest$ac_exeext; then
31703 { echo "$as_me:$LINENO: result: no" >&5
31704 echo "${ECHO_T}no" >&6; }
31705 X_LIBS="$X_LIBS -R$x_libraries"
31706 else
31707 echo "$as_me: failed program was:" >&5
31708 sed 's/^/| /' conftest.$ac_ext >&5
31709
31710 LIBS="$ac_xsave_LIBS -R $x_libraries"
31711 cat >conftest.$ac_ext <<_ACEOF
31712 /* confdefs.h. */
31713 _ACEOF
31714 cat confdefs.h >>conftest.$ac_ext
31715 cat >>conftest.$ac_ext <<_ACEOF
31716 /* end confdefs.h. */
31717
31718 int
31719 main ()
31720 {
31721
31722 ;
31723 return 0;
31724 }
31725 _ACEOF
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (ac_try="$ac_link"
31728 case "(($ac_try" in
31729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 *) ac_try_echo=$ac_try;;
31731 esac
31732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 (eval "$ac_link") 2>conftest.er1
31734 ac_status=$?
31735 grep -v '^ *+' conftest.er1 >conftest.err
31736 rm -f conftest.er1
31737 cat conftest.err >&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); } && {
31740 test -z "$ac_c_werror_flag" ||
31741 test ! -s conftest.err
31742 } && test -s conftest$ac_exeext &&
31743 $as_test_x conftest$ac_exeext; then
31744 { echo "$as_me:$LINENO: result: yes" >&5
31745 echo "${ECHO_T}yes" >&6; }
31746 X_LIBS="$X_LIBS -R $x_libraries"
31747 else
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31750
31751 { echo "$as_me:$LINENO: result: neither works" >&5
31752 echo "${ECHO_T}neither works" >&6; }
31753 fi
31754
31755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31756 conftest$ac_exeext conftest.$ac_ext
31757 fi
31758
31759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31760 conftest$ac_exeext conftest.$ac_ext
31761 ac_c_werror_flag=$ac_xsave_c_werror_flag
31762 LIBS=$ac_xsave_LIBS
31763 fi
31764
31765 # Check for system-dependent libraries X programs must link with.
31766 # Do this before checking for the system-independent R6 libraries
31767 # (-lICE), since we may need -lsocket or whatever for X linking.
31768
31769 if test "$ISC" = yes; then
31770 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31771 else
31772 # Martyn Johnson says this is needed for Ultrix, if the X
31773 # libraries were built with DECnet support. And Karl Berry says
31774 # the Alpha needs dnet_stub (dnet does not exist).
31775 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31776 cat >conftest.$ac_ext <<_ACEOF
31777 /* confdefs.h. */
31778 _ACEOF
31779 cat confdefs.h >>conftest.$ac_ext
31780 cat >>conftest.$ac_ext <<_ACEOF
31781 /* end confdefs.h. */
31782
31783 /* Override any GCC internal prototype to avoid an error.
31784 Use char because int might match the return type of a GCC
31785 builtin and then its argument prototype would still apply. */
31786 #ifdef __cplusplus
31787 extern "C"
31788 #endif
31789 char XOpenDisplay ();
31790 int
31791 main ()
31792 {
31793 return XOpenDisplay ();
31794 ;
31795 return 0;
31796 }
31797 _ACEOF
31798 rm -f conftest.$ac_objext conftest$ac_exeext
31799 if { (ac_try="$ac_link"
31800 case "(($ac_try" in
31801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31802 *) ac_try_echo=$ac_try;;
31803 esac
31804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31805 (eval "$ac_link") 2>conftest.er1
31806 ac_status=$?
31807 grep -v '^ *+' conftest.er1 >conftest.err
31808 rm -f conftest.er1
31809 cat conftest.err >&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } && {
31812 test -z "$ac_c_werror_flag" ||
31813 test ! -s conftest.err
31814 } && test -s conftest$ac_exeext &&
31815 $as_test_x conftest$ac_exeext; then
31816 :
31817 else
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31820
31821 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31822 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31823 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 else
31826 ac_check_lib_save_LIBS=$LIBS
31827 LIBS="-ldnet $LIBS"
31828 cat >conftest.$ac_ext <<_ACEOF
31829 /* confdefs.h. */
31830 _ACEOF
31831 cat confdefs.h >>conftest.$ac_ext
31832 cat >>conftest.$ac_ext <<_ACEOF
31833 /* end confdefs.h. */
31834
31835 /* Override any GCC internal prototype to avoid an error.
31836 Use char because int might match the return type of a GCC
31837 builtin and then its argument prototype would still apply. */
31838 #ifdef __cplusplus
31839 extern "C"
31840 #endif
31841 char dnet_ntoa ();
31842 int
31843 main ()
31844 {
31845 return dnet_ntoa ();
31846 ;
31847 return 0;
31848 }
31849 _ACEOF
31850 rm -f conftest.$ac_objext conftest$ac_exeext
31851 if { (ac_try="$ac_link"
31852 case "(($ac_try" in
31853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31854 *) ac_try_echo=$ac_try;;
31855 esac
31856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31857 (eval "$ac_link") 2>conftest.er1
31858 ac_status=$?
31859 grep -v '^ *+' conftest.er1 >conftest.err
31860 rm -f conftest.er1
31861 cat conftest.err >&5
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } && {
31864 test -z "$ac_c_werror_flag" ||
31865 test ! -s conftest.err
31866 } && test -s conftest$ac_exeext &&
31867 $as_test_x conftest$ac_exeext; then
31868 ac_cv_lib_dnet_dnet_ntoa=yes
31869 else
31870 echo "$as_me: failed program was:" >&5
31871 sed 's/^/| /' conftest.$ac_ext >&5
31872
31873 ac_cv_lib_dnet_dnet_ntoa=no
31874 fi
31875
31876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31877 conftest$ac_exeext conftest.$ac_ext
31878 LIBS=$ac_check_lib_save_LIBS
31879 fi
31880 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31881 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31882 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31883 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31884 fi
31885
31886 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31887 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31888 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31889 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31890 echo $ECHO_N "(cached) $ECHO_C" >&6
31891 else
31892 ac_check_lib_save_LIBS=$LIBS
31893 LIBS="-ldnet_stub $LIBS"
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900
31901 /* Override any GCC internal prototype to avoid an error.
31902 Use char because int might match the return type of a GCC
31903 builtin and then its argument prototype would still apply. */
31904 #ifdef __cplusplus
31905 extern "C"
31906 #endif
31907 char dnet_ntoa ();
31908 int
31909 main ()
31910 {
31911 return dnet_ntoa ();
31912 ;
31913 return 0;
31914 }
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (ac_try="$ac_link"
31918 case "(($ac_try" in
31919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31920 *) ac_try_echo=$ac_try;;
31921 esac
31922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31923 (eval "$ac_link") 2>conftest.er1
31924 ac_status=$?
31925 grep -v '^ *+' conftest.er1 >conftest.err
31926 rm -f conftest.er1
31927 cat conftest.err >&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } && {
31930 test -z "$ac_c_werror_flag" ||
31931 test ! -s conftest.err
31932 } && test -s conftest$ac_exeext &&
31933 $as_test_x conftest$ac_exeext; then
31934 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31935 else
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31938
31939 ac_cv_lib_dnet_stub_dnet_ntoa=no
31940 fi
31941
31942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31943 conftest$ac_exeext conftest.$ac_ext
31944 LIBS=$ac_check_lib_save_LIBS
31945 fi
31946 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31947 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31948 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31950 fi
31951
31952 fi
31953 fi
31954
31955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31956 conftest$ac_exeext conftest.$ac_ext
31957 LIBS="$ac_xsave_LIBS"
31958
31959 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31960 # to get the SysV transport functions.
31961 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31962 # needs -lnsl.
31963 # The nsl library prevents programs from opening the X display
31964 # on Irix 5.2, according to T.E. Dickey.
31965 # The functions gethostbyname, getservbyname, and inet_addr are
31966 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31967 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31968 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31969 if test "${ac_cv_func_gethostbyname+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31972 cat >conftest.$ac_ext <<_ACEOF
31973 /* confdefs.h. */
31974 _ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31980 #define gethostbyname innocuous_gethostbyname
31981
31982 /* System header to define __stub macros and hopefully few prototypes,
31983 which can conflict with char gethostbyname (); below.
31984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31985 <limits.h> exists even on freestanding compilers. */
31986
31987 #ifdef __STDC__
31988 # include <limits.h>
31989 #else
31990 # include <assert.h>
31991 #endif
31992
31993 #undef gethostbyname
31994
31995 /* Override any GCC internal prototype to avoid an error.
31996 Use char because int might match the return type of a GCC
31997 builtin and then its argument prototype would still apply. */
31998 #ifdef __cplusplus
31999 extern "C"
32000 #endif
32001 char gethostbyname ();
32002 /* The GNU C library defines this for functions which it implements
32003 to always fail with ENOSYS. Some functions are actually named
32004 something starting with __ and the normal name is an alias. */
32005 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32006 choke me
32007 #endif
32008
32009 int
32010 main ()
32011 {
32012 return gethostbyname ();
32013 ;
32014 return 0;
32015 }
32016 _ACEOF
32017 rm -f conftest.$ac_objext conftest$ac_exeext
32018 if { (ac_try="$ac_link"
32019 case "(($ac_try" in
32020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32021 *) ac_try_echo=$ac_try;;
32022 esac
32023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32024 (eval "$ac_link") 2>conftest.er1
32025 ac_status=$?
32026 grep -v '^ *+' conftest.er1 >conftest.err
32027 rm -f conftest.er1
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } && {
32031 test -z "$ac_c_werror_flag" ||
32032 test ! -s conftest.err
32033 } && test -s conftest$ac_exeext &&
32034 $as_test_x conftest$ac_exeext; then
32035 ac_cv_func_gethostbyname=yes
32036 else
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32039
32040 ac_cv_func_gethostbyname=no
32041 fi
32042
32043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32044 conftest$ac_exeext conftest.$ac_ext
32045 fi
32046 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32047 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32048
32049 if test $ac_cv_func_gethostbyname = no; then
32050 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32051 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32052 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32053 echo $ECHO_N "(cached) $ECHO_C" >&6
32054 else
32055 ac_check_lib_save_LIBS=$LIBS
32056 LIBS="-lnsl $LIBS"
32057 cat >conftest.$ac_ext <<_ACEOF
32058 /* confdefs.h. */
32059 _ACEOF
32060 cat confdefs.h >>conftest.$ac_ext
32061 cat >>conftest.$ac_ext <<_ACEOF
32062 /* end confdefs.h. */
32063
32064 /* Override any GCC internal prototype to avoid an error.
32065 Use char because int might match the return type of a GCC
32066 builtin and then its argument prototype would still apply. */
32067 #ifdef __cplusplus
32068 extern "C"
32069 #endif
32070 char gethostbyname ();
32071 int
32072 main ()
32073 {
32074 return gethostbyname ();
32075 ;
32076 return 0;
32077 }
32078 _ACEOF
32079 rm -f conftest.$ac_objext conftest$ac_exeext
32080 if { (ac_try="$ac_link"
32081 case "(($ac_try" in
32082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32083 *) ac_try_echo=$ac_try;;
32084 esac
32085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32086 (eval "$ac_link") 2>conftest.er1
32087 ac_status=$?
32088 grep -v '^ *+' conftest.er1 >conftest.err
32089 rm -f conftest.er1
32090 cat conftest.err >&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); } && {
32093 test -z "$ac_c_werror_flag" ||
32094 test ! -s conftest.err
32095 } && test -s conftest$ac_exeext &&
32096 $as_test_x conftest$ac_exeext; then
32097 ac_cv_lib_nsl_gethostbyname=yes
32098 else
32099 echo "$as_me: failed program was:" >&5
32100 sed 's/^/| /' conftest.$ac_ext >&5
32101
32102 ac_cv_lib_nsl_gethostbyname=no
32103 fi
32104
32105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32106 conftest$ac_exeext conftest.$ac_ext
32107 LIBS=$ac_check_lib_save_LIBS
32108 fi
32109 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32110 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32111 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32113 fi
32114
32115 if test $ac_cv_lib_nsl_gethostbyname = no; then
32116 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32117 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32118 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32119 echo $ECHO_N "(cached) $ECHO_C" >&6
32120 else
32121 ac_check_lib_save_LIBS=$LIBS
32122 LIBS="-lbsd $LIBS"
32123 cat >conftest.$ac_ext <<_ACEOF
32124 /* confdefs.h. */
32125 _ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32129
32130 /* Override any GCC internal prototype to avoid an error.
32131 Use char because int might match the return type of a GCC
32132 builtin and then its argument prototype would still apply. */
32133 #ifdef __cplusplus
32134 extern "C"
32135 #endif
32136 char gethostbyname ();
32137 int
32138 main ()
32139 {
32140 return gethostbyname ();
32141 ;
32142 return 0;
32143 }
32144 _ACEOF
32145 rm -f conftest.$ac_objext conftest$ac_exeext
32146 if { (ac_try="$ac_link"
32147 case "(($ac_try" in
32148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32149 *) ac_try_echo=$ac_try;;
32150 esac
32151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32152 (eval "$ac_link") 2>conftest.er1
32153 ac_status=$?
32154 grep -v '^ *+' conftest.er1 >conftest.err
32155 rm -f conftest.er1
32156 cat conftest.err >&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); } && {
32159 test -z "$ac_c_werror_flag" ||
32160 test ! -s conftest.err
32161 } && test -s conftest$ac_exeext &&
32162 $as_test_x conftest$ac_exeext; then
32163 ac_cv_lib_bsd_gethostbyname=yes
32164 else
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32167
32168 ac_cv_lib_bsd_gethostbyname=no
32169 fi
32170
32171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32172 conftest$ac_exeext conftest.$ac_ext
32173 LIBS=$ac_check_lib_save_LIBS
32174 fi
32175 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32176 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32177 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32179 fi
32180
32181 fi
32182 fi
32183
32184 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32185 # socket/setsockopt and other routines are undefined under SCO ODT
32186 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32187 # on later versions), says Simon Leinen: it contains gethostby*
32188 # variants that don't use the name server (or something). -lsocket
32189 # must be given before -lnsl if both are needed. We assume that
32190 # if connect needs -lnsl, so does gethostbyname.
32191 { echo "$as_me:$LINENO: checking for connect" >&5
32192 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32193 if test "${ac_cv_func_connect+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 else
32196 cat >conftest.$ac_ext <<_ACEOF
32197 /* confdefs.h. */
32198 _ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32204 #define connect innocuous_connect
32205
32206 /* System header to define __stub macros and hopefully few prototypes,
32207 which can conflict with char connect (); below.
32208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32209 <limits.h> exists even on freestanding compilers. */
32210
32211 #ifdef __STDC__
32212 # include <limits.h>
32213 #else
32214 # include <assert.h>
32215 #endif
32216
32217 #undef connect
32218
32219 /* Override any GCC internal prototype to avoid an error.
32220 Use char because int might match the return type of a GCC
32221 builtin and then its argument prototype would still apply. */
32222 #ifdef __cplusplus
32223 extern "C"
32224 #endif
32225 char connect ();
32226 /* The GNU C library defines this for functions which it implements
32227 to always fail with ENOSYS. Some functions are actually named
32228 something starting with __ and the normal name is an alias. */
32229 #if defined __stub_connect || defined __stub___connect
32230 choke me
32231 #endif
32232
32233 int
32234 main ()
32235 {
32236 return connect ();
32237 ;
32238 return 0;
32239 }
32240 _ACEOF
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32245 *) ac_try_echo=$ac_try;;
32246 esac
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32249 ac_status=$?
32250 grep -v '^ *+' conftest.er1 >conftest.err
32251 rm -f conftest.er1
32252 cat conftest.err >&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest$ac_exeext &&
32258 $as_test_x conftest$ac_exeext; then
32259 ac_cv_func_connect=yes
32260 else
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.$ac_ext >&5
32263
32264 ac_cv_func_connect=no
32265 fi
32266
32267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32268 conftest$ac_exeext conftest.$ac_ext
32269 fi
32270 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32271 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32272
32273 if test $ac_cv_func_connect = no; then
32274 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32275 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32276 if test "${ac_cv_lib_socket_connect+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32278 else
32279 ac_check_lib_save_LIBS=$LIBS
32280 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32281 cat >conftest.$ac_ext <<_ACEOF
32282 /* confdefs.h. */
32283 _ACEOF
32284 cat confdefs.h >>conftest.$ac_ext
32285 cat >>conftest.$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32287
32288 /* Override any GCC internal prototype to avoid an error.
32289 Use char because int might match the return type of a GCC
32290 builtin and then its argument prototype would still apply. */
32291 #ifdef __cplusplus
32292 extern "C"
32293 #endif
32294 char connect ();
32295 int
32296 main ()
32297 {
32298 return connect ();
32299 ;
32300 return 0;
32301 }
32302 _ACEOF
32303 rm -f conftest.$ac_objext conftest$ac_exeext
32304 if { (ac_try="$ac_link"
32305 case "(($ac_try" in
32306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32307 *) ac_try_echo=$ac_try;;
32308 esac
32309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32310 (eval "$ac_link") 2>conftest.er1
32311 ac_status=$?
32312 grep -v '^ *+' conftest.er1 >conftest.err
32313 rm -f conftest.er1
32314 cat conftest.err >&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } && {
32317 test -z "$ac_c_werror_flag" ||
32318 test ! -s conftest.err
32319 } && test -s conftest$ac_exeext &&
32320 $as_test_x conftest$ac_exeext; then
32321 ac_cv_lib_socket_connect=yes
32322 else
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.$ac_ext >&5
32325
32326 ac_cv_lib_socket_connect=no
32327 fi
32328
32329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32330 conftest$ac_exeext conftest.$ac_ext
32331 LIBS=$ac_check_lib_save_LIBS
32332 fi
32333 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32334 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32335 if test $ac_cv_lib_socket_connect = yes; then
32336 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32337 fi
32338
32339 fi
32340
32341 # Guillermo Gomez says -lposix is necessary on A/UX.
32342 { echo "$as_me:$LINENO: checking for remove" >&5
32343 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32344 if test "${ac_cv_func_remove+set}" = set; then
32345 echo $ECHO_N "(cached) $ECHO_C" >&6
32346 else
32347 cat >conftest.$ac_ext <<_ACEOF
32348 /* confdefs.h. */
32349 _ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32353 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32355 #define remove innocuous_remove
32356
32357 /* System header to define __stub macros and hopefully few prototypes,
32358 which can conflict with char remove (); below.
32359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32360 <limits.h> exists even on freestanding compilers. */
32361
32362 #ifdef __STDC__
32363 # include <limits.h>
32364 #else
32365 # include <assert.h>
32366 #endif
32367
32368 #undef remove
32369
32370 /* Override any GCC internal prototype to avoid an error.
32371 Use char because int might match the return type of a GCC
32372 builtin and then its argument prototype would still apply. */
32373 #ifdef __cplusplus
32374 extern "C"
32375 #endif
32376 char remove ();
32377 /* The GNU C library defines this for functions which it implements
32378 to always fail with ENOSYS. Some functions are actually named
32379 something starting with __ and the normal name is an alias. */
32380 #if defined __stub_remove || defined __stub___remove
32381 choke me
32382 #endif
32383
32384 int
32385 main ()
32386 {
32387 return remove ();
32388 ;
32389 return 0;
32390 }
32391 _ACEOF
32392 rm -f conftest.$ac_objext conftest$ac_exeext
32393 if { (ac_try="$ac_link"
32394 case "(($ac_try" in
32395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32396 *) ac_try_echo=$ac_try;;
32397 esac
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_link") 2>conftest.er1
32400 ac_status=$?
32401 grep -v '^ *+' conftest.er1 >conftest.err
32402 rm -f conftest.er1
32403 cat conftest.err >&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest$ac_exeext &&
32409 $as_test_x conftest$ac_exeext; then
32410 ac_cv_func_remove=yes
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 ac_cv_func_remove=no
32416 fi
32417
32418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32419 conftest$ac_exeext conftest.$ac_ext
32420 fi
32421 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32422 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32423
32424 if test $ac_cv_func_remove = no; then
32425 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32426 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32427 if test "${ac_cv_lib_posix_remove+set}" = set; then
32428 echo $ECHO_N "(cached) $ECHO_C" >&6
32429 else
32430 ac_check_lib_save_LIBS=$LIBS
32431 LIBS="-lposix $LIBS"
32432 cat >conftest.$ac_ext <<_ACEOF
32433 /* confdefs.h. */
32434 _ACEOF
32435 cat confdefs.h >>conftest.$ac_ext
32436 cat >>conftest.$ac_ext <<_ACEOF
32437 /* end confdefs.h. */
32438
32439 /* Override any GCC internal prototype to avoid an error.
32440 Use char because int might match the return type of a GCC
32441 builtin and then its argument prototype would still apply. */
32442 #ifdef __cplusplus
32443 extern "C"
32444 #endif
32445 char remove ();
32446 int
32447 main ()
32448 {
32449 return remove ();
32450 ;
32451 return 0;
32452 }
32453 _ACEOF
32454 rm -f conftest.$ac_objext conftest$ac_exeext
32455 if { (ac_try="$ac_link"
32456 case "(($ac_try" in
32457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32458 *) ac_try_echo=$ac_try;;
32459 esac
32460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32461 (eval "$ac_link") 2>conftest.er1
32462 ac_status=$?
32463 grep -v '^ *+' conftest.er1 >conftest.err
32464 rm -f conftest.er1
32465 cat conftest.err >&5
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); } && {
32468 test -z "$ac_c_werror_flag" ||
32469 test ! -s conftest.err
32470 } && test -s conftest$ac_exeext &&
32471 $as_test_x conftest$ac_exeext; then
32472 ac_cv_lib_posix_remove=yes
32473 else
32474 echo "$as_me: failed program was:" >&5
32475 sed 's/^/| /' conftest.$ac_ext >&5
32476
32477 ac_cv_lib_posix_remove=no
32478 fi
32479
32480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32481 conftest$ac_exeext conftest.$ac_ext
32482 LIBS=$ac_check_lib_save_LIBS
32483 fi
32484 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32485 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32486 if test $ac_cv_lib_posix_remove = yes; then
32487 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32488 fi
32489
32490 fi
32491
32492 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32493 { echo "$as_me:$LINENO: checking for shmat" >&5
32494 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32495 if test "${ac_cv_func_shmat+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32506 #define shmat innocuous_shmat
32507
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char shmat (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32512
32513 #ifdef __STDC__
32514 # include <limits.h>
32515 #else
32516 # include <assert.h>
32517 #endif
32518
32519 #undef shmat
32520
32521 /* Override any GCC internal prototype to avoid an error.
32522 Use char because int might match the return type of a GCC
32523 builtin and then its argument prototype would still apply. */
32524 #ifdef __cplusplus
32525 extern "C"
32526 #endif
32527 char shmat ();
32528 /* The GNU C library defines this for functions which it implements
32529 to always fail with ENOSYS. Some functions are actually named
32530 something starting with __ and the normal name is an alias. */
32531 #if defined __stub_shmat || defined __stub___shmat
32532 choke me
32533 #endif
32534
32535 int
32536 main ()
32537 {
32538 return shmat ();
32539 ;
32540 return 0;
32541 }
32542 _ACEOF
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (ac_try="$ac_link"
32545 case "(($ac_try" in
32546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32547 *) ac_try_echo=$ac_try;;
32548 esac
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_link") 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest$ac_exeext &&
32560 $as_test_x conftest$ac_exeext; then
32561 ac_cv_func_shmat=yes
32562 else
32563 echo "$as_me: failed program was:" >&5
32564 sed 's/^/| /' conftest.$ac_ext >&5
32565
32566 ac_cv_func_shmat=no
32567 fi
32568
32569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32570 conftest$ac_exeext conftest.$ac_ext
32571 fi
32572 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32573 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32574
32575 if test $ac_cv_func_shmat = no; then
32576 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32577 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32578 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32580 else
32581 ac_check_lib_save_LIBS=$LIBS
32582 LIBS="-lipc $LIBS"
32583 cat >conftest.$ac_ext <<_ACEOF
32584 /* confdefs.h. */
32585 _ACEOF
32586 cat confdefs.h >>conftest.$ac_ext
32587 cat >>conftest.$ac_ext <<_ACEOF
32588 /* end confdefs.h. */
32589
32590 /* Override any GCC internal prototype to avoid an error.
32591 Use char because int might match the return type of a GCC
32592 builtin and then its argument prototype would still apply. */
32593 #ifdef __cplusplus
32594 extern "C"
32595 #endif
32596 char shmat ();
32597 int
32598 main ()
32599 {
32600 return shmat ();
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 rm -f conftest.$ac_objext conftest$ac_exeext
32606 if { (ac_try="$ac_link"
32607 case "(($ac_try" in
32608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32609 *) ac_try_echo=$ac_try;;
32610 esac
32611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32612 (eval "$ac_link") 2>conftest.er1
32613 ac_status=$?
32614 grep -v '^ *+' conftest.er1 >conftest.err
32615 rm -f conftest.er1
32616 cat conftest.err >&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } && {
32619 test -z "$ac_c_werror_flag" ||
32620 test ! -s conftest.err
32621 } && test -s conftest$ac_exeext &&
32622 $as_test_x conftest$ac_exeext; then
32623 ac_cv_lib_ipc_shmat=yes
32624 else
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32627
32628 ac_cv_lib_ipc_shmat=no
32629 fi
32630
32631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32632 conftest$ac_exeext conftest.$ac_ext
32633 LIBS=$ac_check_lib_save_LIBS
32634 fi
32635 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32636 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32637 if test $ac_cv_lib_ipc_shmat = yes; then
32638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32639 fi
32640
32641 fi
32642 fi
32643
32644 # Check for libraries that X11R6 Xt/Xaw programs need.
32645 ac_save_LDFLAGS=$LDFLAGS
32646 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32647 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32648 # check for ICE first), but we must link in the order -lSM -lICE or
32649 # we get undefined symbols. So assume we have SM if we have ICE.
32650 # These have to be linked with before -lX11, unlike the other
32651 # libraries we check for below, so use a different variable.
32652 # John Interrante, Karl Berry
32653 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32654 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32655 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32656 echo $ECHO_N "(cached) $ECHO_C" >&6
32657 else
32658 ac_check_lib_save_LIBS=$LIBS
32659 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32660 cat >conftest.$ac_ext <<_ACEOF
32661 /* confdefs.h. */
32662 _ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32666
32667 /* Override any GCC internal prototype to avoid an error.
32668 Use char because int might match the return type of a GCC
32669 builtin and then its argument prototype would still apply. */
32670 #ifdef __cplusplus
32671 extern "C"
32672 #endif
32673 char IceConnectionNumber ();
32674 int
32675 main ()
32676 {
32677 return IceConnectionNumber ();
32678 ;
32679 return 0;
32680 }
32681 _ACEOF
32682 rm -f conftest.$ac_objext conftest$ac_exeext
32683 if { (ac_try="$ac_link"
32684 case "(($ac_try" in
32685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32686 *) ac_try_echo=$ac_try;;
32687 esac
32688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32689 (eval "$ac_link") 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } && {
32696 test -z "$ac_c_werror_flag" ||
32697 test ! -s conftest.err
32698 } && test -s conftest$ac_exeext &&
32699 $as_test_x conftest$ac_exeext; then
32700 ac_cv_lib_ICE_IceConnectionNumber=yes
32701 else
32702 echo "$as_me: failed program was:" >&5
32703 sed 's/^/| /' conftest.$ac_ext >&5
32704
32705 ac_cv_lib_ICE_IceConnectionNumber=no
32706 fi
32707
32708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32709 conftest$ac_exeext conftest.$ac_ext
32710 LIBS=$ac_check_lib_save_LIBS
32711 fi
32712 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32713 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32714 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32715 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32716 fi
32717
32718 LDFLAGS=$ac_save_LDFLAGS
32719
32720 fi
32721
32722
32723 if test "$no_x" = "yes"; then
32724 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32725 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32726 { (exit 1); exit 1; }; }
32727 fi
32728
32729 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32730 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32731 AFMINSTALL=afminstall
32732 COMPILED_X_PROGRAM=0
32733
32734 fi
32735
32736 if test "$wxUSE_X11" = 1; then
32737 if test "$wxUSE_NANOX" = "yes"; then
32738 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32739 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32740 if test "x$MICROWIN" = x ; then
32741 { echo "$as_me:$LINENO: result: not found" >&5
32742 echo "${ECHO_T}not found" >&6; }
32743 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32744 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32745 { (exit 1); exit 1; }; }
32746 else
32747 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32748 echo "${ECHO_T}$MICROWIN" >&6; }
32749 cat >>confdefs.h <<\_ACEOF
32750 #define wxUSE_NANOX 1
32751 _ACEOF
32752
32753 fi
32754 fi
32755
32756 if test "$wxUSE_UNICODE" = "yes"; then
32757
32758
32759 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32760 if test -n "$ac_tool_prefix"; then
32761 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32762 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32765 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32766 echo $ECHO_N "(cached) $ECHO_C" >&6
32767 else
32768 case $PKG_CONFIG in
32769 [\\/]* | ?:[\\/]*)
32770 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32771 ;;
32772 *)
32773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32774 for as_dir in $PATH
32775 do
32776 IFS=$as_save_IFS
32777 test -z "$as_dir" && as_dir=.
32778 for ac_exec_ext in '' $ac_executable_extensions; do
32779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32780 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32782 break 2
32783 fi
32784 done
32785 done
32786 IFS=$as_save_IFS
32787
32788 ;;
32789 esac
32790 fi
32791 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32792 if test -n "$PKG_CONFIG"; then
32793 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32794 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32795 else
32796 { echo "$as_me:$LINENO: result: no" >&5
32797 echo "${ECHO_T}no" >&6; }
32798 fi
32799
32800
32801 fi
32802 if test -z "$ac_cv_path_PKG_CONFIG"; then
32803 ac_pt_PKG_CONFIG=$PKG_CONFIG
32804 # Extract the first word of "pkg-config", so it can be a program name with args.
32805 set dummy pkg-config; ac_word=$2
32806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32808 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811 case $ac_pt_PKG_CONFIG in
32812 [\\/]* | ?:[\\/]*)
32813 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32814 ;;
32815 *)
32816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32817 for as_dir in $PATH
32818 do
32819 IFS=$as_save_IFS
32820 test -z "$as_dir" && as_dir=.
32821 for ac_exec_ext in '' $ac_executable_extensions; do
32822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32823 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32825 break 2
32826 fi
32827 done
32828 done
32829 IFS=$as_save_IFS
32830
32831 ;;
32832 esac
32833 fi
32834 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32835 if test -n "$ac_pt_PKG_CONFIG"; then
32836 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32837 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32838 else
32839 { echo "$as_me:$LINENO: result: no" >&5
32840 echo "${ECHO_T}no" >&6; }
32841 fi
32842
32843 if test "x$ac_pt_PKG_CONFIG" = x; then
32844 PKG_CONFIG=""
32845 else
32846 case $cross_compiling:$ac_tool_warned in
32847 yes:)
32848 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32849 whose name does not start with the host triplet. If you think this
32850 configuration is useful to you, please write to autoconf@gnu.org." >&5
32851 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32852 whose name does not start with the host triplet. If you think this
32853 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32854 ac_tool_warned=yes ;;
32855 esac
32856 PKG_CONFIG=$ac_pt_PKG_CONFIG
32857 fi
32858 else
32859 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32860 fi
32861
32862 fi
32863 if test -n "$PKG_CONFIG"; then
32864 _pkg_min_version=0.9.0
32865 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32866 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32868 { echo "$as_me:$LINENO: result: yes" >&5
32869 echo "${ECHO_T}yes" >&6; }
32870 else
32871 { echo "$as_me:$LINENO: result: no" >&5
32872 echo "${ECHO_T}no" >&6; }
32873 PKG_CONFIG=""
32874 fi
32875
32876 fi
32877
32878
32879 pkg_failed=no
32880 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32881 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32882
32883 if test -n "$PKG_CONFIG"; then
32884 if test -n "$PANGOX_CFLAGS"; then
32885 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32886 else
32887 if test -n "$PKG_CONFIG" && \
32888 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32889 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32890 ac_status=$?
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; then
32893 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32894 else
32895 pkg_failed=yes
32896 fi
32897 fi
32898 else
32899 pkg_failed=untried
32900 fi
32901 if test -n "$PKG_CONFIG"; then
32902 if test -n "$PANGOX_LIBS"; then
32903 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32904 else
32905 if test -n "$PKG_CONFIG" && \
32906 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32907 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32908 ac_status=$?
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); }; then
32911 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32912 else
32913 pkg_failed=yes
32914 fi
32915 fi
32916 else
32917 pkg_failed=untried
32918 fi
32919
32920
32921
32922 if test $pkg_failed = yes; then
32923
32924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32925 _pkg_short_errors_supported=yes
32926 else
32927 _pkg_short_errors_supported=no
32928 fi
32929 if test $_pkg_short_errors_supported = yes; then
32930 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32931 else
32932 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32933 fi
32934 # Put the nasty error message in config.log where it belongs
32935 echo "$PANGOX_PKG_ERRORS" >&5
32936
32937
32938 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32939 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32940 { (exit 1); exit 1; }; }
32941
32942
32943 elif test $pkg_failed = untried; then
32944
32945 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32946 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32947 { (exit 1); exit 1; }; }
32948
32949
32950 else
32951 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32952 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32953 { echo "$as_me:$LINENO: result: yes" >&5
32954 echo "${ECHO_T}yes" >&6; }
32955
32956 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32957 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32959
32960 fi
32961
32962 pkg_failed=no
32963 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32964 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32965
32966 if test -n "$PKG_CONFIG"; then
32967 if test -n "$PANGOFT2_CFLAGS"; then
32968 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32969 else
32970 if test -n "$PKG_CONFIG" && \
32971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32972 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32973 ac_status=$?
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; then
32976 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32977 else
32978 pkg_failed=yes
32979 fi
32980 fi
32981 else
32982 pkg_failed=untried
32983 fi
32984 if test -n "$PKG_CONFIG"; then
32985 if test -n "$PANGOFT2_LIBS"; then
32986 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32987 else
32988 if test -n "$PKG_CONFIG" && \
32989 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32990 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32991 ac_status=$?
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; then
32994 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32995 else
32996 pkg_failed=yes
32997 fi
32998 fi
32999 else
33000 pkg_failed=untried
33001 fi
33002
33003
33004
33005 if test $pkg_failed = yes; then
33006
33007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33008 _pkg_short_errors_supported=yes
33009 else
33010 _pkg_short_errors_supported=no
33011 fi
33012 if test $_pkg_short_errors_supported = yes; then
33013 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33014 else
33015 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33016 fi
33017 # Put the nasty error message in config.log where it belongs
33018 echo "$PANGOFT2_PKG_ERRORS" >&5
33019
33020
33021 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33022 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33023 wxUSE_PRINTING_ARCHITECTURE="no"
33024
33025
33026 elif test $pkg_failed = untried; then
33027
33028 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33029 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33030 wxUSE_PRINTING_ARCHITECTURE="no"
33031
33032
33033 else
33034 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33035 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33036 { echo "$as_me:$LINENO: result: yes" >&5
33037 echo "${ECHO_T}yes" >&6; }
33038
33039 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33040 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33042
33043 fi
33044
33045 pkg_failed=no
33046 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33047 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33048
33049 if test -n "$PKG_CONFIG"; then
33050 if test -n "$PANGOXFT_CFLAGS"; then
33051 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33052 else
33053 if test -n "$PKG_CONFIG" && \
33054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33055 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33056 ac_status=$?
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); }; then
33059 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33060 else
33061 pkg_failed=yes
33062 fi
33063 fi
33064 else
33065 pkg_failed=untried
33066 fi
33067 if test -n "$PKG_CONFIG"; then
33068 if test -n "$PANGOXFT_LIBS"; then
33069 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33070 else
33071 if test -n "$PKG_CONFIG" && \
33072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33073 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33074 ac_status=$?
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); }; then
33077 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33078 else
33079 pkg_failed=yes
33080 fi
33081 fi
33082 else
33083 pkg_failed=untried
33084 fi
33085
33086
33087
33088 if test $pkg_failed = yes; then
33089
33090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33091 _pkg_short_errors_supported=yes
33092 else
33093 _pkg_short_errors_supported=no
33094 fi
33095 if test $_pkg_short_errors_supported = yes; then
33096 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33097 else
33098 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33099 fi
33100 # Put the nasty error message in config.log where it belongs
33101 echo "$PANGOXFT_PKG_ERRORS" >&5
33102
33103
33104 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33105 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33106
33107
33108 elif test $pkg_failed = untried; then
33109
33110 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33111 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33112
33113
33114 else
33115 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33116 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33117 { echo "$as_me:$LINENO: result: yes" >&5
33118 echo "${ECHO_T}yes" >&6; }
33119
33120 cat >>confdefs.h <<\_ACEOF
33121 #define HAVE_PANGO_XFT 1
33122 _ACEOF
33123
33124 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33125 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33126 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33127
33128 fi
33129 save_LIBS="$LIBS"
33130 LIBS="$LIBS $PANGOX_LIBS"
33131
33132 for ac_func in pango_font_family_is_monospace
33133 do
33134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 else
33140 cat >conftest.$ac_ext <<_ACEOF
33141 /* confdefs.h. */
33142 _ACEOF
33143 cat confdefs.h >>conftest.$ac_ext
33144 cat >>conftest.$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33148 #define $ac_func innocuous_$ac_func
33149
33150 /* System header to define __stub macros and hopefully few prototypes,
33151 which can conflict with char $ac_func (); below.
33152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33153 <limits.h> exists even on freestanding compilers. */
33154
33155 #ifdef __STDC__
33156 # include <limits.h>
33157 #else
33158 # include <assert.h>
33159 #endif
33160
33161 #undef $ac_func
33162
33163 /* Override any GCC internal prototype to avoid an error.
33164 Use char because int might match the return type of a GCC
33165 builtin and then its argument prototype would still apply. */
33166 #ifdef __cplusplus
33167 extern "C"
33168 #endif
33169 char $ac_func ();
33170 /* The GNU C library defines this for functions which it implements
33171 to always fail with ENOSYS. Some functions are actually named
33172 something starting with __ and the normal name is an alias. */
33173 #if defined __stub_$ac_func || defined __stub___$ac_func
33174 choke me
33175 #endif
33176
33177 int
33178 main ()
33179 {
33180 return $ac_func ();
33181 ;
33182 return 0;
33183 }
33184 _ACEOF
33185 rm -f conftest.$ac_objext conftest$ac_exeext
33186 if { (ac_try="$ac_link"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33190 esac
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_link") 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest$ac_exeext &&
33202 $as_test_x conftest$ac_exeext; then
33203 eval "$as_ac_var=yes"
33204 else
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33207
33208 eval "$as_ac_var=no"
33209 fi
33210
33211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33212 conftest$ac_exeext conftest.$ac_ext
33213 fi
33214 ac_res=`eval echo '${'$as_ac_var'}'`
33215 { echo "$as_me:$LINENO: result: $ac_res" >&5
33216 echo "${ECHO_T}$ac_res" >&6; }
33217 if test `eval echo '${'$as_ac_var'}'` = yes; then
33218 cat >>confdefs.h <<_ACEOF
33219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33220 _ACEOF
33221
33222 fi
33223 done
33224
33225 LIBS="$save_LIBS"
33226 fi
33227
33228 wxUSE_UNIVERSAL="yes"
33229
33230 if test "$wxUSE_NANOX" = "yes"; then
33231 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33232 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"
33233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33234 else
33235 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33236 fi
33237
33238 TOOLKIT=X11
33239 GUIDIST=X11_DIST
33240 fi
33241
33242 if test "$wxUSE_MOTIF" = 1; then
33243 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33244 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33245
33246 ac_find_includes=
33247 for ac_dir in $SEARCH_INCLUDE /usr/include
33248 do
33249 if test -f "$ac_dir/Xm/Xm.h"; then
33250 ac_find_includes=$ac_dir
33251 break
33252 fi
33253 done
33254
33255 if test "$ac_find_includes" != "" ; then
33256 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33257 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33258
33259 if test "x$ac_find_includes" = "x/usr/include"; then
33260 ac_path_to_include=""
33261 else
33262 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33263 result=$?
33264 if test $result = 0; then
33265 ac_path_to_include=""
33266 else
33267 ac_path_to_include=" -I$ac_find_includes"
33268 fi
33269 fi
33270
33271 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33272 else
33273 save_CFLAGS=$CFLAGS
33274 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33275
33276 cat >conftest.$ac_ext <<_ACEOF
33277 /* confdefs.h. */
33278 _ACEOF
33279 cat confdefs.h >>conftest.$ac_ext
33280 cat >>conftest.$ac_ext <<_ACEOF
33281 /* end confdefs.h. */
33282
33283 #include <Xm/Xm.h>
33284
33285 int
33286 main ()
33287 {
33288
33289 int version;
33290 version = xmUseVersion;
33291
33292 ;
33293 return 0;
33294 }
33295 _ACEOF
33296 rm -f conftest.$ac_objext
33297 if { (ac_try="$ac_compile"
33298 case "(($ac_try" in
33299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33300 *) ac_try_echo=$ac_try;;
33301 esac
33302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33303 (eval "$ac_compile") 2>conftest.er1
33304 ac_status=$?
33305 grep -v '^ *+' conftest.er1 >conftest.err
33306 rm -f conftest.er1
33307 cat conftest.err >&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } && {
33310 test -z "$ac_c_werror_flag" ||
33311 test ! -s conftest.err
33312 } && test -s conftest.$ac_objext; then
33313
33314 { echo "$as_me:$LINENO: result: found in default search path" >&5
33315 echo "${ECHO_T}found in default search path" >&6; }
33316 COMPILED_X_PROGRAM=1
33317
33318 else
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33321
33322
33323 { echo "$as_me:$LINENO: result: no" >&5
33324 echo "${ECHO_T}no" >&6; }
33325 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33326 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33327 { (exit 1); exit 1; }; }
33328
33329
33330 fi
33331
33332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33333
33334 CFLAGS=$save_CFLAGS
33335 fi
33336
33337
33338 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33339 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33340
33341 ac_find_libraries=
33342 for ac_dir in $SEARCH_LIB
33343 do
33344 for ac_extension in a so sl dylib dll.a; do
33345 if test -f "$ac_dir/libXm.$ac_extension"; then
33346 ac_find_libraries=$ac_dir
33347 break 2
33348 fi
33349 done
33350 done
33351
33352
33353 if test "x$ac_find_libraries" != "x" ; then
33354 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33355 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33356
33357
33358 if test "$ac_find_libraries" = "default location"; then
33359 ac_path_to_link=""
33360 else
33361 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33362 result=$?
33363 if test $result = 0; then
33364 ac_path_to_link=""
33365 else
33366 ac_path_to_link=" -L$ac_find_libraries"
33367 fi
33368 fi
33369
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33371 else
33372 save_CFLAGS=$CFLAGS
33373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33374 save_LIBS="$LIBS"
33375 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33376
33377 cat >conftest.$ac_ext <<_ACEOF
33378 /* confdefs.h. */
33379 _ACEOF
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33383
33384 #include <Xm/Xm.h>
33385
33386 int
33387 main ()
33388 {
33389
33390 int version;
33391 version = xmUseVersion;
33392
33393 ;
33394 return 0;
33395 }
33396 _ACEOF
33397 rm -f conftest.$ac_objext conftest$ac_exeext
33398 if { (ac_try="$ac_link"
33399 case "(($ac_try" in
33400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33401 *) ac_try_echo=$ac_try;;
33402 esac
33403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33404 (eval "$ac_link") 2>conftest.er1
33405 ac_status=$?
33406 grep -v '^ *+' conftest.er1 >conftest.err
33407 rm -f conftest.er1
33408 cat conftest.err >&5
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); } && {
33411 test -z "$ac_c_werror_flag" ||
33412 test ! -s conftest.err
33413 } && test -s conftest$ac_exeext &&
33414 $as_test_x conftest$ac_exeext; then
33415
33416 { echo "$as_me:$LINENO: result: found in default search path" >&5
33417 echo "${ECHO_T}found in default search path" >&6; }
33418 COMPILED_X_PROGRAM=1
33419
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424
33425 { echo "$as_me:$LINENO: result: no" >&5
33426 echo "${ECHO_T}no" >&6; }
33427 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33428 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33429 { (exit 1); exit 1; }; }
33430
33431
33432 fi
33433
33434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33435 conftest$ac_exeext conftest.$ac_ext
33436
33437 CFLAGS=$save_CFLAGS
33438 LIBS="$save_LIBS"
33439 fi
33440
33441 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33442 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33443 libp_link=""
33444 libsm_ice_link=""
33445 libs_found=0
33446 for libp in "" " -lXp"; do
33447 if test "$libs_found" = 0; then
33448 for libsm_ice in "" " -lSM -lICE"; do
33449 if test "$libs_found" = 0; then
33450 save_LIBS="$LIBS"
33451 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33452 save_CFLAGS=$CFLAGS
33453 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33454
33455 cat >conftest.$ac_ext <<_ACEOF
33456 /* confdefs.h. */
33457 _ACEOF
33458 cat confdefs.h >>conftest.$ac_ext
33459 cat >>conftest.$ac_ext <<_ACEOF
33460 /* end confdefs.h. */
33461
33462 #include <Xm/Xm.h>
33463 #include <Xm/List.h>
33464
33465 int
33466 main ()
33467 {
33468
33469 XmString string = NULL;
33470 Widget w = NULL;
33471 int position = 0;
33472 XmListAddItem(w, string, position);
33473
33474 ;
33475 return 0;
33476 }
33477 _ACEOF
33478 rm -f conftest.$ac_objext conftest$ac_exeext
33479 if { (ac_try="$ac_link"
33480 case "(($ac_try" in
33481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33482 *) ac_try_echo=$ac_try;;
33483 esac
33484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33485 (eval "$ac_link") 2>conftest.er1
33486 ac_status=$?
33487 grep -v '^ *+' conftest.er1 >conftest.err
33488 rm -f conftest.er1
33489 cat conftest.err >&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); } && {
33492 test -z "$ac_c_werror_flag" ||
33493 test ! -s conftest.err
33494 } && test -s conftest$ac_exeext &&
33495 $as_test_x conftest$ac_exeext; then
33496
33497 libp_link="$libp"
33498 libsm_ice_link="$libsm_ice"
33499 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33500 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33501 libs_found=1
33502
33503 else
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33506
33507
33508
33509 fi
33510
33511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33512 conftest$ac_exeext conftest.$ac_ext
33513
33514 LIBS="$save_LIBS"
33515 CFLAGS=$save_CFLAGS
33516 fi
33517 done
33518 fi
33519 done
33520
33521 if test "$libs_found" = 0; then
33522 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33523 echo "${ECHO_T}can't find the right libraries" >&6; }
33524 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33525 echo "$as_me: error: can't link a simple motif program" >&2;}
33526 { (exit 1); exit 1; }; }
33527 fi
33528
33529 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33530 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33531 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33532 echo $ECHO_N "(cached) $ECHO_C" >&6
33533 else
33534 ac_check_lib_save_LIBS=$LIBS
33535 LIBS="-lSgm $LIBS"
33536 cat >conftest.$ac_ext <<_ACEOF
33537 /* confdefs.h. */
33538 _ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33542
33543 /* Override any GCC internal prototype to avoid an error.
33544 Use char because int might match the return type of a GCC
33545 builtin and then its argument prototype would still apply. */
33546 #ifdef __cplusplus
33547 extern "C"
33548 #endif
33549 char SgCreateList ();
33550 int
33551 main ()
33552 {
33553 return SgCreateList ();
33554 ;
33555 return 0;
33556 }
33557 _ACEOF
33558 rm -f conftest.$ac_objext conftest$ac_exeext
33559 if { (ac_try="$ac_link"
33560 case "(($ac_try" in
33561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33562 *) ac_try_echo=$ac_try;;
33563 esac
33564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33565 (eval "$ac_link") 2>conftest.er1
33566 ac_status=$?
33567 grep -v '^ *+' conftest.er1 >conftest.err
33568 rm -f conftest.er1
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } && {
33572 test -z "$ac_c_werror_flag" ||
33573 test ! -s conftest.err
33574 } && test -s conftest$ac_exeext &&
33575 $as_test_x conftest$ac_exeext; then
33576 ac_cv_lib_Sgm_SgCreateList=yes
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33580
33581 ac_cv_lib_Sgm_SgCreateList=no
33582 fi
33583
33584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33585 conftest$ac_exeext conftest.$ac_ext
33586 LIBS=$ac_check_lib_save_LIBS
33587 fi
33588 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33589 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33590 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33591 libsgm_link=" -lSgm"
33592 fi
33593
33594
33595 save_CFLAGS=$CFLAGS
33596 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33597
33598 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33599 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33600 if test "${wx_cv_lib_motif2+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 cat >conftest.$ac_ext <<_ACEOF
33604 /* confdefs.h. */
33605 _ACEOF
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609
33610 #include <Xm/Xm.h>
33611
33612 int
33613 main ()
33614 {
33615
33616 #if XmVersion < 2000
33617 Not Motif 2
33618 #endif
33619
33620 ;
33621 return 0;
33622 }
33623 _ACEOF
33624 rm -f conftest.$ac_objext
33625 if { (ac_try="$ac_compile"
33626 case "(($ac_try" in
33627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33629 esac
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_compile") 2>conftest.er1
33632 ac_status=$?
33633 grep -v '^ *+' conftest.er1 >conftest.err
33634 rm -f conftest.er1
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest.$ac_objext; then
33641 wx_cv_lib_motif2="yes"
33642 else
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33645
33646 wx_cv_lib_motif2="no"
33647 fi
33648
33649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33650 fi
33651 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33652 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33653 if test "$wx_cv_lib_motif2" = "yes"; then
33654 cat >>confdefs.h <<\_ACEOF
33655 #define __WXMOTIF20__ 1
33656 _ACEOF
33657
33658 else
33659 cat >>confdefs.h <<\_ACEOF
33660 #define __WXMOTIF20__ 0
33661 _ACEOF
33662
33663 fi
33664
33665 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33666 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33667 if test "${wx_cv_lib_lesstif+set}" = set; then
33668 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 else
33670 cat >conftest.$ac_ext <<_ACEOF
33671 /* confdefs.h. */
33672 _ACEOF
33673 cat confdefs.h >>conftest.$ac_ext
33674 cat >>conftest.$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33676
33677 #include <Xm/Xm.h>
33678
33679 int
33680 main ()
33681 {
33682
33683 #if !defined(LesstifVersion) || LesstifVersion <= 0
33684 Not Lesstif
33685 #endif
33686
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext
33692 if { (ac_try="$ac_compile"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33696 esac
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_compile") 2>conftest.er1
33699 ac_status=$?
33700 grep -v '^ *+' conftest.er1 >conftest.err
33701 rm -f conftest.er1
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest.$ac_objext; then
33708 wx_cv_lib_lesstif="yes"
33709 else
33710 echo "$as_me: failed program was:" >&5
33711 sed 's/^/| /' conftest.$ac_ext >&5
33712
33713 wx_cv_lib_lesstif="no"
33714 fi
33715
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33717
33718 fi
33719 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33720 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33721 if test "$wx_cv_lib_lesstif" = "yes"; then
33722 cat >>confdefs.h <<\_ACEOF
33723 #define __WXLESSTIF__ 1
33724 _ACEOF
33725
33726 else
33727 cat >>confdefs.h <<\_ACEOF
33728 #define __WXLESSTIF__ 0
33729 _ACEOF
33730
33731 fi
33732
33733 CFLAGS=$save_CFLAGS
33734
33735 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33736 TOOLKIT=MOTIF
33737 GUIDIST=MOTIF_DIST
33738 fi
33739
33740 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33741 if test "$wxUSE_LIBXPM" = "sys"; then
33742 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33743 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33744
33745 ac_find_libraries=
33746 for ac_dir in $SEARCH_LIB
33747 do
33748 for ac_extension in a so sl dylib dll.a; do
33749 if test -f "$ac_dir/libXpm.$ac_extension"; then
33750 ac_find_libraries=$ac_dir
33751 break 2
33752 fi
33753 done
33754 done
33755
33756 if test "$ac_find_libraries" != "" ; then
33757
33758 if test "$ac_find_libraries" = "default location"; then
33759 ac_path_to_link=""
33760 else
33761 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33762 result=$?
33763 if test $result = 0; then
33764 ac_path_to_link=""
33765 else
33766 ac_path_to_link=" -L$ac_find_libraries"
33767 fi
33768 fi
33769
33770 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33771 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33772 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33773
33774 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33775 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33776 if test "${wx_cv_x11_xpm_h+set}" = set; then
33777 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 else
33779
33780 save_CFLAGS=$CFLAGS
33781 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33782
33783 cat >conftest.$ac_ext <<_ACEOF
33784 /* confdefs.h. */
33785 _ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33789
33790 #include <X11/xpm.h>
33791
33792 int
33793 main ()
33794 {
33795
33796 int version;
33797 version = XpmLibraryVersion();
33798
33799 ;
33800 return 0;
33801 }
33802 _ACEOF
33803 rm -f conftest.$ac_objext
33804 if { (ac_try="$ac_compile"
33805 case "(($ac_try" in
33806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33807 *) ac_try_echo=$ac_try;;
33808 esac
33809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33810 (eval "$ac_compile") 2>conftest.er1
33811 ac_status=$?
33812 grep -v '^ *+' conftest.er1 >conftest.err
33813 rm -f conftest.er1
33814 cat conftest.err >&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); } && {
33817 test -z "$ac_c_werror_flag" ||
33818 test ! -s conftest.err
33819 } && test -s conftest.$ac_objext; then
33820 wx_cv_x11_xpm_h=yes
33821 else
33822 echo "$as_me: failed program was:" >&5
33823 sed 's/^/| /' conftest.$ac_ext >&5
33824
33825 wx_cv_x11_xpm_h=no
33826
33827 fi
33828
33829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33830
33831 CFLAGS=$save_CFLAGS
33832
33833
33834 fi
33835 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33836 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33837
33838 if test $wx_cv_x11_xpm_h = "yes"; then
33839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33840 cat >>confdefs.h <<\_ACEOF
33841 #define wxHAVE_LIB_XPM 1
33842 _ACEOF
33843
33844 else
33845 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33846 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33847 fi
33848 fi
33849
33850 fi
33851
33852 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33853 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33854 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33855 echo $ECHO_N "(cached) $ECHO_C" >&6
33856 else
33857 ac_check_lib_save_LIBS=$LIBS
33858 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865
33866 /* Override any GCC internal prototype to avoid an error.
33867 Use char because int might match the return type of a GCC
33868 builtin and then its argument prototype would still apply. */
33869 #ifdef __cplusplus
33870 extern "C"
33871 #endif
33872 char XShapeQueryExtension ();
33873 int
33874 main ()
33875 {
33876 return XShapeQueryExtension ();
33877 ;
33878 return 0;
33879 }
33880 _ACEOF
33881 rm -f conftest.$ac_objext conftest$ac_exeext
33882 if { (ac_try="$ac_link"
33883 case "(($ac_try" in
33884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33885 *) ac_try_echo=$ac_try;;
33886 esac
33887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33888 (eval "$ac_link") 2>conftest.er1
33889 ac_status=$?
33890 grep -v '^ *+' conftest.er1 >conftest.err
33891 rm -f conftest.er1
33892 cat conftest.err >&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); } && {
33895 test -z "$ac_c_werror_flag" ||
33896 test ! -s conftest.err
33897 } && test -s conftest$ac_exeext &&
33898 $as_test_x conftest$ac_exeext; then
33899 ac_cv_lib_Xext_XShapeQueryExtension=yes
33900 else
33901 echo "$as_me: failed program was:" >&5
33902 sed 's/^/| /' conftest.$ac_ext >&5
33903
33904 ac_cv_lib_Xext_XShapeQueryExtension=no
33905 fi
33906
33907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33908 conftest$ac_exeext conftest.$ac_ext
33909 LIBS=$ac_check_lib_save_LIBS
33910 fi
33911 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33912 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33913 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33914
33915 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33916 wxHAVE_XEXT_LIB=1
33917
33918 fi
33919
33920
33921 if test "$wxHAVE_XEXT_LIB" = 1; then
33922 save_CFLAGS="$CFLAGS"
33923 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33924
33925 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33926 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33927 cat >conftest.$ac_ext <<_ACEOF
33928 /* confdefs.h. */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933
33934 #include <X11/Xlib.h>
33935 #include <X11/extensions/shape.h>
33936
33937 int
33938 main ()
33939 {
33940
33941 int dummy1, dummy2;
33942 XShapeQueryExtension((Display*)NULL,
33943 (int*)NULL, (int*)NULL);
33944
33945 ;
33946 return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33954 esac
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33957 ac_status=$?
33958 grep -v '^ *+' conftest.er1 >conftest.err
33959 rm -f conftest.er1
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33966
33967 cat >>confdefs.h <<\_ACEOF
33968 #define HAVE_XSHAPE 1
33969 _ACEOF
33970
33971 { echo "$as_me:$LINENO: result: found" >&5
33972 echo "${ECHO_T}found" >&6; }
33973
33974 else
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33977
33978
33979 { echo "$as_me:$LINENO: result: not found" >&5
33980 echo "${ECHO_T}not found" >&6; }
33981
33982 fi
33983
33984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33985 CFLAGS="$save_CFLAGS"
33986
33987 fi
33988 fi
33989
33990 if test "$wxUSE_OSX_CARBON" = 1; then
33991 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33992 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33993 if test "$GCC" = yes; then
33994 { echo "$as_me:$LINENO: result: gcc" >&5
33995 echo "${ECHO_T}gcc" >&6; }
33996 CPPFLAGS_PASCAL="-fpascal-strings"
33997 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33998 { echo "$as_me:$LINENO: result: xlc" >&5
33999 echo "${ECHO_T}xlc" >&6; }
34000 CPPFLAGS_PASCAL="-qmacpstr"
34001 else
34002 { echo "$as_me:$LINENO: result: none" >&5
34003 echo "${ECHO_T}none" >&6; }
34004 fi
34005
34006 if test "x$wxUSE_UNIX" = "xyes"; then
34007 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34008 else
34009 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34010 fi
34011
34012 TOOLKIT=OSX_CARBON
34013 GUIDIST=OSX_CARBON_DIST
34014 WXBASEPORT="_carbon"
34015
34016 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34017 fi
34018
34019 if test "$wxUSE_OSX_COCOA" = 1; then
34020 TOOLKIT=OSX_COCOA
34021 GUIDIST=OSX_COCOA_DIST
34022
34023 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34024 fi
34025
34026 if test "$wxUSE_OSX_IPHONE" = 1; then
34027 TOOLKIT=OSX_IPHONE
34028 fi
34029
34030 if test "$wxUSE_OLD_COCOA" = 1; then
34031 TOOLKIT=COCOA
34032 GUIDIST=COCOA_DIST
34033 fi
34034
34035 if test "$wxUSE_PM" = 1; then
34036 TOOLKIT=PM
34037 GUIDIST=PM_DIST
34038 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34039 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34040 if test "${wx_cv_spbcdata+set}" = set; then
34041 echo $ECHO_N "(cached) $ECHO_C" >&6
34042 else
34043
34044 cat >conftest.$ac_ext <<_ACEOF
34045 /* confdefs.h. */
34046 _ACEOF
34047 cat confdefs.h >>conftest.$ac_ext
34048 cat >>conftest.$ac_ext <<_ACEOF
34049 /* end confdefs.h. */
34050
34051 #define INCL_PM
34052 #include <os2.h>
34053
34054 int
34055 main ()
34056 {
34057
34058 SPBCDATA test;
34059
34060 ;
34061 return 0;
34062 }
34063 _ACEOF
34064 rm -f conftest.$ac_objext
34065 if { (ac_try="$ac_compile"
34066 case "(($ac_try" in
34067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34068 *) ac_try_echo=$ac_try;;
34069 esac
34070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34071 (eval "$ac_compile") 2>conftest.er1
34072 ac_status=$?
34073 grep -v '^ *+' conftest.er1 >conftest.err
34074 rm -f conftest.er1
34075 cat conftest.err >&5
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); } && {
34078 test -z "$ac_c_werror_flag" ||
34079 test ! -s conftest.err
34080 } && test -s conftest.$ac_objext; then
34081 wx_cv_spbcdata=yes
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 wx_cv_spbcdata=no
34087
34088 fi
34089
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091
34092
34093 fi
34094 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34095 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34096
34097 if test $wx_cv_spbcdata = "yes"; then
34098 cat >>confdefs.h <<\_ACEOF
34099 #define HAVE_SPBCDATA 1
34100 _ACEOF
34101
34102 fi
34103 fi
34104
34105 if test "$TOOLKIT" = "PM" ; then
34106 TOOLKIT_DIR="os2"
34107 else
34108 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34109 fi
34110
34111 if test "$wxUSE_UNIVERSAL" = "yes"; then
34112 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34113 WIDGET_SET=univ
34114 fi
34115
34116 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34117 DISTDIR="wx\$(TOOLKIT)"
34118 else
34119 USE_GUI=0
34120
34121 TOOLKIT_DIR="base"
34122
34123 if test "$USE_WIN32" = 1 ; then
34124 TOOLKIT="MSW"
34125 fi
34126
34127 GUIDIST="BASE_DIST"
34128 DISTDIR="wxBase"
34129 fi
34130
34131
34132
34133 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34134 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34135 wxUSE_UNICODE_UTF8=yes
34136 elif test "$USE_OS2" = 1 ; then
34137 wxUSE_UNICODE_UTF8=yes
34138 else
34139 wxUSE_UNICODE_UTF8=no
34140 fi
34141 fi
34142
34143
34144 if test "$wxUSE_GUI" = "yes"; then
34145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34146
34147 for ac_header in X11/Xlib.h
34148 do
34149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34150 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34153 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 else
34155 cat >conftest.$ac_ext <<_ACEOF
34156 /* confdefs.h. */
34157 _ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h. */
34161
34162
34163 #include <$ac_header>
34164 _ACEOF
34165 rm -f conftest.$ac_objext
34166 if { (ac_try="$ac_compile"
34167 case "(($ac_try" in
34168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34169 *) ac_try_echo=$ac_try;;
34170 esac
34171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34172 (eval "$ac_compile") 2>conftest.er1
34173 ac_status=$?
34174 grep -v '^ *+' conftest.er1 >conftest.err
34175 rm -f conftest.er1
34176 cat conftest.err >&5
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); } && {
34179 test -z "$ac_c_werror_flag" ||
34180 test ! -s conftest.err
34181 } && test -s conftest.$ac_objext; then
34182 eval "$as_ac_Header=yes"
34183 else
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.$ac_ext >&5
34186
34187 eval "$as_ac_Header=no"
34188 fi
34189
34190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34191 fi
34192 ac_res=`eval echo '${'$as_ac_Header'}'`
34193 { echo "$as_me:$LINENO: result: $ac_res" >&5
34194 echo "${ECHO_T}$ac_res" >&6; }
34195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34196 cat >>confdefs.h <<_ACEOF
34197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34198 _ACEOF
34199
34200 fi
34201
34202 done
34203
34204
34205 for ac_header in X11/XKBlib.h
34206 do
34207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34211 echo $ECHO_N "(cached) $ECHO_C" >&6
34212 else
34213 cat >conftest.$ac_ext <<_ACEOF
34214 /* confdefs.h. */
34215 _ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219
34220 #if HAVE_X11_XLIB_H
34221 #include <X11/Xlib.h>
34222 #endif
34223
34224
34225 #include <$ac_header>
34226 _ACEOF
34227 rm -f conftest.$ac_objext
34228 if { (ac_try="$ac_compile"
34229 case "(($ac_try" in
34230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34231 *) ac_try_echo=$ac_try;;
34232 esac
34233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34234 (eval "$ac_compile") 2>conftest.er1
34235 ac_status=$?
34236 grep -v '^ *+' conftest.er1 >conftest.err
34237 rm -f conftest.er1
34238 cat conftest.err >&5
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); } && {
34241 test -z "$ac_c_werror_flag" ||
34242 test ! -s conftest.err
34243 } && test -s conftest.$ac_objext; then
34244 eval "$as_ac_Header=yes"
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34248
34249 eval "$as_ac_Header=no"
34250 fi
34251
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 fi
34254 ac_res=`eval echo '${'$as_ac_Header'}'`
34255 { echo "$as_me:$LINENO: result: $ac_res" >&5
34256 echo "${ECHO_T}$ac_res" >&6; }
34257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34258 cat >>confdefs.h <<_ACEOF
34259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34260 _ACEOF
34261
34262 fi
34263
34264 done
34265
34266 fi
34267 fi
34268
34269
34270
34271 USE_XINERAMA=0
34272 if test "$wxUSE_DISPLAY" = "yes"; then
34273 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34274 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34275 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34276
34277 ac_find_libraries=
34278 for ac_dir in $SEARCH_LIB
34279 do
34280 for ac_extension in a so sl dylib dll.a; do
34281 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34282 ac_find_libraries=$ac_dir
34283 break 2
34284 fi
34285 done
34286 done
34287
34288 if test "$ac_find_libraries" != "" ; then
34289
34290 if test "$ac_find_libraries" = "default location"; then
34291 ac_path_to_link=""
34292 else
34293 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34294 result=$?
34295 if test $result = 0; then
34296 ac_path_to_link=""
34297 else
34298 ac_path_to_link=" -L$ac_find_libraries"
34299 fi
34300 fi
34301
34302 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34303 LDFLAGS="$LDFLAGS $ac_path_to_link"
34304 fi
34305 USE_XINERAMA=1
34306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34307 { echo "$as_me:$LINENO: result: yes" >&5
34308 echo "${ECHO_T}yes" >&6; }
34309 else
34310 { echo "$as_me:$LINENO: result: no" >&5
34311 echo "${ECHO_T}no" >&6; }
34312 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34313 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34314 wxUSE_DISPLAY="no"
34315 fi
34316 elif test "$wxUSE_MSW" = 1; then
34317 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34318 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34319 if test "${ac_cv_header_ddraw_h+set}" = set; then
34320 echo $ECHO_N "(cached) $ECHO_C" >&6
34321 else
34322 cat >conftest.$ac_ext <<_ACEOF
34323 /* confdefs.h. */
34324 _ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34328 #include <windows.h>
34329
34330 #include <ddraw.h>
34331 _ACEOF
34332 rm -f conftest.$ac_objext
34333 if { (ac_try="$ac_compile"
34334 case "(($ac_try" in
34335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34336 *) ac_try_echo=$ac_try;;
34337 esac
34338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34339 (eval "$ac_compile") 2>conftest.er1
34340 ac_status=$?
34341 grep -v '^ *+' conftest.er1 >conftest.err
34342 rm -f conftest.er1
34343 cat conftest.err >&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } && {
34346 test -z "$ac_c_werror_flag" ||
34347 test ! -s conftest.err
34348 } && test -s conftest.$ac_objext; then
34349 ac_cv_header_ddraw_h=yes
34350 else
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.$ac_ext >&5
34353
34354 ac_cv_header_ddraw_h=no
34355 fi
34356
34357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34358 fi
34359 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34360 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34361
34362
34363 fi
34364 fi
34365
34366 if test "$wxUSE_DISPLAY" = "yes"; then
34367 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34368 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34369 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34370
34371 ac_find_libraries=
34372 for ac_dir in $SEARCH_LIB
34373 do
34374 for ac_extension in a so sl dylib dll.a; do
34375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34376 ac_find_libraries=$ac_dir
34377 break 2
34378 fi
34379 done
34380 done
34381
34382 if test "$ac_find_libraries" != "" ; then
34383 { echo "$as_me:$LINENO: result: yes" >&5
34384 echo "${ECHO_T}yes" >&6; }
34385
34386 for ac_header in X11/extensions/xf86vmode.h
34387 do
34388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34393 else
34394 cat >conftest.$ac_ext <<_ACEOF
34395 /* confdefs.h. */
34396 _ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400
34401 #if HAVE_X11_XLIB_H
34402 #include <X11/Xlib.h>
34403 #endif
34404
34405
34406 #include <$ac_header>
34407 _ACEOF
34408 rm -f conftest.$ac_objext
34409 if { (ac_try="$ac_compile"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34413 esac
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_compile") 2>conftest.er1
34416 ac_status=$?
34417 grep -v '^ *+' conftest.er1 >conftest.err
34418 rm -f conftest.er1
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } && {
34422 test -z "$ac_c_werror_flag" ||
34423 test ! -s conftest.err
34424 } && test -s conftest.$ac_objext; then
34425 eval "$as_ac_Header=yes"
34426 else
34427 echo "$as_me: failed program was:" >&5
34428 sed 's/^/| /' conftest.$ac_ext >&5
34429
34430 eval "$as_ac_Header=no"
34431 fi
34432
34433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34434 fi
34435 ac_res=`eval echo '${'$as_ac_Header'}'`
34436 { echo "$as_me:$LINENO: result: $ac_res" >&5
34437 echo "${ECHO_T}$ac_res" >&6; }
34438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34439 cat >>confdefs.h <<_ACEOF
34440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34441 _ACEOF
34442
34443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34444
34445 fi
34446
34447 done
34448
34449 else
34450 { echo "$as_me:$LINENO: result: no" >&5
34451 echo "${ECHO_T}no" >&6; }
34452 fi
34453 fi
34454 fi
34455
34456 if test "$wxUSE_DETECT_SM" = "yes"; then
34457 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34458 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34459 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34460
34461 ac_find_libraries=
34462 for ac_dir in $SEARCH_LIB
34463 do
34464 for ac_extension in a so sl dylib dll.a; do
34465 if test -f "$ac_dir/libSM.$ac_extension"; then
34466 ac_find_libraries=$ac_dir
34467 break 2
34468 fi
34469 done
34470 done
34471
34472 if test "$ac_find_libraries" != "" ; then
34473
34474 if test "$ac_find_libraries" = "default location"; then
34475 ac_path_to_link=""
34476 else
34477 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34478 result=$?
34479 if test $result = 0; then
34480 ac_path_to_link=""
34481 else
34482 ac_path_to_link=" -L$ac_find_libraries"
34483 fi
34484 fi
34485
34486 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34487 LDFLAGS="$LDFLAGS $ac_path_to_link"
34488 fi
34489 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34490 { echo "$as_me:$LINENO: result: yes" >&5
34491 echo "${ECHO_T}yes" >&6; }
34492 else
34493 { echo "$as_me:$LINENO: result: no" >&5
34494 echo "${ECHO_T}no" >&6; }
34495 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34496 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34497 wxUSE_DETECT_SM="no"
34498 fi
34499 else
34500 wxUSE_DETECT_SM="no"
34501 fi
34502 fi
34503
34504
34505
34506 USE_OPENGL=0
34507 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34508
34509
34510 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34511 OPENGL_LIBS="-framework OpenGL -framework AGL"
34512 elif test "$wxUSE_MSW" = 1; then
34513 OPENGL_LIBS="-lopengl32 -lglu32"
34514 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34515
34516 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34517 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34518
34519 ac_find_includes=
34520 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34521 do
34522 if test -f "$ac_dir/GL/gl.h"; then
34523 ac_find_includes=$ac_dir
34524 break
34525 fi
34526 done
34527
34528 if test "$ac_find_includes" != "" ; then
34529 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34530 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34531
34532 if test "x$ac_find_includes" = "x/usr/include"; then
34533 ac_path_to_include=""
34534 else
34535 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34536 result=$?
34537 if test $result = 0; then
34538 ac_path_to_include=""
34539 else
34540 ac_path_to_include=" -I$ac_find_includes"
34541 fi
34542 fi
34543
34544 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34545 else
34546 { echo "$as_me:$LINENO: result: not found" >&5
34547 echo "${ECHO_T}not found" >&6; }
34548 fi
34549
34550 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34551 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34552 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555 cat >conftest.$ac_ext <<_ACEOF
34556 /* confdefs.h. */
34557 _ACEOF
34558 cat confdefs.h >>conftest.$ac_ext
34559 cat >>conftest.$ac_ext <<_ACEOF
34560 /* end confdefs.h. */
34561
34562
34563 #include <GL/gl.h>
34564 _ACEOF
34565 rm -f conftest.$ac_objext
34566 if { (ac_try="$ac_compile"
34567 case "(($ac_try" in
34568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34569 *) ac_try_echo=$ac_try;;
34570 esac
34571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34572 (eval "$ac_compile") 2>conftest.er1
34573 ac_status=$?
34574 grep -v '^ *+' conftest.er1 >conftest.err
34575 rm -f conftest.er1
34576 cat conftest.err >&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); } && {
34579 test -z "$ac_c_werror_flag" ||
34580 test ! -s conftest.err
34581 } && test -s conftest.$ac_objext; then
34582 ac_cv_header_GL_gl_h=yes
34583 else
34584 echo "$as_me: failed program was:" >&5
34585 sed 's/^/| /' conftest.$ac_ext >&5
34586
34587 ac_cv_header_GL_gl_h=no
34588 fi
34589
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 fi
34592 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34593 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34594 if test $ac_cv_header_GL_gl_h = yes; then
34595
34596 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34597 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34598 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34600 else
34601 cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h. */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607
34608
34609 #include <GL/glu.h>
34610 _ACEOF
34611 rm -f conftest.$ac_objext
34612 if { (ac_try="$ac_compile"
34613 case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34615 *) ac_try_echo=$ac_try;;
34616 esac
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_compile") 2>conftest.er1
34619 ac_status=$?
34620 grep -v '^ *+' conftest.er1 >conftest.err
34621 rm -f conftest.er1
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } && {
34625 test -z "$ac_c_werror_flag" ||
34626 test ! -s conftest.err
34627 } && test -s conftest.$ac_objext; then
34628 ac_cv_header_GL_glu_h=yes
34629 else
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.$ac_ext >&5
34632
34633 ac_cv_header_GL_glu_h=no
34634 fi
34635
34636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34637 fi
34638 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34639 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34640 if test $ac_cv_header_GL_glu_h = yes; then
34641
34642 found_gl=0
34643
34644 { echo "$as_me:$LINENO: checking for -lGL" >&5
34645 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34646
34647 ac_find_libraries=
34648 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34649 do
34650 for ac_extension in a so sl dylib dll.a; do
34651 if test -f "$ac_dir/libGL.$ac_extension"; then
34652 ac_find_libraries=$ac_dir
34653 break 2
34654 fi
34655 done
34656 done
34657
34658 if test "$ac_find_libraries" != "" ; then
34659 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34660 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34661
34662
34663 if test "$ac_find_libraries" = "default location"; then
34664 ac_path_to_link=""
34665 else
34666 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34667 result=$?
34668 if test $result = 0; then
34669 ac_path_to_link=""
34670 else
34671 ac_path_to_link=" -L$ac_find_libraries"
34672 fi
34673 fi
34674
34675 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34676 LDFLAGS_GL="$ac_path_to_link"
34677 fi
34678
34679 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34680 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34681
34682 ac_find_libraries=
34683 for ac_dir in $SEARCH_LIB
34684 do
34685 for ac_extension in a so sl dylib dll.a; do
34686 if test -f "$ac_dir/libGLU.$ac_extension"; then
34687 ac_find_libraries=$ac_dir
34688 break 2
34689 fi
34690 done
34691 done
34692
34693 if test "$ac_find_libraries" != "" ; then
34694
34695 if test "$ac_find_libraries" = "default location"; then
34696 ac_path_to_link=""
34697 else
34698 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34699 result=$?
34700 if test $result = 0; then
34701 ac_path_to_link=""
34702 else
34703 ac_path_to_link=" -L$ac_find_libraries"
34704 fi
34705 fi
34706
34707 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34708 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34709 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34710 fi
34711
34712 found_gl=1
34713 OPENGL_LIBS="-lGL -lGLU"
34714 { echo "$as_me:$LINENO: result: yes" >&5
34715 echo "${ECHO_T}yes" >&6; }
34716 else
34717 { echo "$as_me:$LINENO: result: no" >&5
34718 echo "${ECHO_T}no" >&6; }
34719 fi
34720 else
34721 { echo "$as_me:$LINENO: result: no" >&5
34722 echo "${ECHO_T}no" >&6; }
34723 fi
34724
34725 if test "$found_gl" != 1; then
34726 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34727 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34728
34729 ac_find_libraries=
34730 for ac_dir in $SEARCH_LIB
34731 do
34732 for ac_extension in a so sl dylib dll.a; do
34733 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34734 ac_find_libraries=$ac_dir
34735 break 2
34736 fi
34737 done
34738 done
34739
34740 if test "$ac_find_libraries" != "" ; then
34741
34742 if test "$ac_find_libraries" = "default location"; then
34743 ac_path_to_link=""
34744 else
34745 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34746 result=$?
34747 if test $result = 0; then
34748 ac_path_to_link=""
34749 else
34750 ac_path_to_link=" -L$ac_find_libraries"
34751 fi
34752 fi
34753
34754 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34755 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34756 { echo "$as_me:$LINENO: result: yes" >&5
34757 echo "${ECHO_T}yes" >&6; }
34758 else
34759 { echo "$as_me:$LINENO: result: no" >&5
34760 echo "${ECHO_T}no" >&6; }
34761 fi
34762 fi
34763
34764 fi
34765
34766
34767
34768 fi
34769
34770
34771
34772 if test "x$OPENGL_LIBS" = "x"; then
34773 if test "$wxUSE_OPENGL" = "yes"; then
34774 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34775 echo "$as_me: error: OpenGL libraries not available" >&2;}
34776 { (exit 1); exit 1; }; }
34777 else
34778 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34779 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34780 wxUSE_OPENGL=no
34781 USE_OPENGL=0
34782 fi
34783 fi
34784 else
34785 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34786 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34787 wxUSE_OPENGL="no"
34788 fi
34789
34790 if test "$wxUSE_OPENGL" = "auto"; then
34791 wxUSE_OPENGL=yes
34792 fi
34793
34794 if test "$wxUSE_OPENGL" = "yes"; then
34795 USE_OPENGL=1
34796 cat >>confdefs.h <<\_ACEOF
34797 #define wxUSE_OPENGL 1
34798 _ACEOF
34799
34800 cat >>confdefs.h <<\_ACEOF
34801 #define wxUSE_GLCANVAS 1
34802 _ACEOF
34803
34804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34805 fi
34806 fi
34807
34808
34809 if test -n "$TOOLKIT" ; then
34810 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34811 fi
34812
34813
34814
34815 if test "$wxUSE_SHARED" = "yes"; then
34816 case "${host}" in
34817 *-pc-msdosdjgpp )
34818 wxUSE_SHARED=no
34819 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34820 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34821 ;;
34822 esac
34823 fi
34824
34825 if test "$wxUSE_SHARED" = "yes"; then
34826
34827
34828 case "${host}" in
34829 *-*-cygwin* | *-*-mingw* )
34830 wx_cv_version_script=no
34831 ;;
34832
34833 *)
34834 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34835 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34836 if test "${wx_cv_version_script+set}" = set; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 else
34839
34840 echo "VER_1 { *; };" >conftest.sym
34841 echo "int main() { return 0; }" >conftest.cpp
34842
34843 if { ac_try='
34844 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34845 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34847 (eval $ac_try) 2>&5
34848 ac_status=$?
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); }; } ; then
34851 if test -s conftest.stderr ; then
34852 wx_cv_version_script=no
34853 else
34854 wx_cv_version_script=yes
34855 fi
34856 else
34857 wx_cv_version_script=no
34858 fi
34859
34860 if test $wx_cv_version_script = yes
34861 then
34862 echo "struct B { virtual ~B() { } }; \
34863 struct D : public B { }; \
34864 void F() { D d; }" > conftest.cpp
34865
34866 if { ac_try='
34867 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34868 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34870 (eval $ac_try) 2>&5
34871 ac_status=$?
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); }; } &&
34874 { ac_try='
34875 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34876 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }
34882 then
34883 if { ac_try='
34884 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34885 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887 (eval $ac_try) 2>&5
34888 ac_status=$?
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); }; }
34891 then
34892 wx_cv_version_script=yes
34893 else
34894 wx_cv_version_script=no
34895 fi
34896 fi
34897 fi
34898
34899 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34900 rm -f conftest1.output conftest2.output conftest3.output
34901
34902 fi
34903 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34904 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34905
34906 if test $wx_cv_version_script = yes ; then
34907 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34908 fi
34909 ;;
34910 esac
34911
34912
34913 if test "$wxUSE_VISIBILITY" != "no"; then
34914
34915
34916 if test -n "$GCC"; then
34917 CFLAGS_VISIBILITY="-fvisibility=hidden"
34918 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34919 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34920 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34921 if test "${wx_cv_cc_visibility+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924
34925 wx_save_CXXFLAGS="$CXXFLAGS"
34926 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34927 ac_ext=cpp
34928 ac_cpp='$CXXCPP $CPPFLAGS'
34929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932
34933 cat >conftest.$ac_ext <<_ACEOF
34934 /* confdefs.h. */
34935 _ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939
34940 /* we need gcc >= 4.0, older versions with visibility support
34941 didn't have class visibility: */
34942 #if defined(__GNUC__) && __GNUC__ < 4
34943 error this gcc is too old;
34944 #endif
34945
34946 /* visibility only makes sense for ELF shared libs: */
34947 #if !defined(__ELF__) && !defined(__APPLE__)
34948 error this platform has no visibility;
34949 #endif
34950
34951 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34952 extern __attribute__((__visibility__("default"))) int exportedvar;
34953 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34954 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34955 class __attribute__((__visibility__("default"))) Foo {
34956 Foo() {}
34957 };
34958
34959 int
34960 main ()
34961 {
34962
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 rm -f conftest.$ac_objext
34968 if { (ac_try="$ac_compile"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34972 esac
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_compile") 2>conftest.er1
34975 ac_status=$?
34976 grep -v '^ *+' conftest.er1 >conftest.err
34977 rm -f conftest.er1
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_cxx_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest.$ac_objext; then
34984 wx_cv_cc_visibility=yes
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989 wx_cv_cc_visibility=no
34990 fi
34991
34992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34993 ac_ext=c
34994 ac_cpp='$CPP $CPPFLAGS'
34995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34998
34999 CXXFLAGS="$wx_save_CXXFLAGS"
35000 fi
35001
35002 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35003 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35004 if test $wx_cv_cc_visibility = yes; then
35005 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35006 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35007 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35008 echo $ECHO_N "(cached) $ECHO_C" >&6
35009 else
35010
35011 wx_save_CXXFLAGS="$CXXFLAGS"
35012 wx_save_LDFLAGS="$LDFLAGS"
35013 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35014 LDFLAGS="$LDFLAGS -shared -fPIC"
35015 ac_ext=cpp
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020
35021 cat >conftest.$ac_ext <<_ACEOF
35022 /* confdefs.h. */
35023 _ACEOF
35024 cat confdefs.h >>conftest.$ac_ext
35025 cat >>conftest.$ac_ext <<_ACEOF
35026 /* end confdefs.h. */
35027
35028 #include <string>
35029
35030 int
35031 main ()
35032 {
35033
35034 std::string s("hello");
35035 return s.length();
35036
35037 ;
35038 return 0;
35039 }
35040 _ACEOF
35041 rm -f conftest.$ac_objext conftest$ac_exeext
35042 if { (ac_try="$ac_link"
35043 case "(($ac_try" in
35044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35045 *) ac_try_echo=$ac_try;;
35046 esac
35047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35048 (eval "$ac_link") 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } && {
35055 test -z "$ac_cxx_werror_flag" ||
35056 test ! -s conftest.err
35057 } && test -s conftest$ac_exeext &&
35058 $as_test_x conftest$ac_exeext; then
35059 wx_cv_cc_broken_libstdcxx_visibility=no
35060 else
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35063
35064 wx_cv_cc_broken_libstdcxx_visibility=yes
35065 fi
35066
35067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35068 conftest$ac_exeext conftest.$ac_ext
35069 ac_ext=c
35070 ac_cpp='$CPP $CPPFLAGS'
35071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35074
35075 CXXFLAGS="$wx_save_CXXFLAGS"
35076 LDFLAGS="$wx_save_LDFLAGS"
35077 fi
35078
35079 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35080 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35081
35082 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35083 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35084 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35085 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35086 echo $ECHO_N "(cached) $ECHO_C" >&6
35087 else
35088
35089 ac_ext=cpp
35090 ac_cpp='$CXXCPP $CPPFLAGS'
35091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35094
35095 cat >conftest.$ac_ext <<_ACEOF
35096 /* confdefs.h. */
35097 _ACEOF
35098 cat confdefs.h >>conftest.$ac_ext
35099 cat >>conftest.$ac_ext <<_ACEOF
35100 /* end confdefs.h. */
35101
35102 #pragma GCC visibility push(default)
35103 #include <string>
35104 #pragma GCC visibility pop
35105
35106 int
35107 main ()
35108 {
35109
35110 std::string s("hello");
35111 return s.length();
35112
35113 ;
35114 return 0;
35115 }
35116 _ACEOF
35117 rm -f conftest.$ac_objext conftest$ac_exeext
35118 if { (ac_try="$ac_link"
35119 case "(($ac_try" in
35120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35121 *) ac_try_echo=$ac_try;;
35122 esac
35123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35124 (eval "$ac_link") 2>conftest.er1
35125 ac_status=$?
35126 grep -v '^ *+' conftest.er1 >conftest.err
35127 rm -f conftest.er1
35128 cat conftest.err >&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && {
35131 test -z "$ac_cxx_werror_flag" ||
35132 test ! -s conftest.err
35133 } && test -s conftest$ac_exeext &&
35134 $as_test_x conftest$ac_exeext; then
35135 wx_cv_cc_visibility_workaround=no
35136 else
35137 echo "$as_me: failed program was:" >&5
35138 sed 's/^/| /' conftest.$ac_ext >&5
35139
35140 wx_cv_cc_visibility_workaround=yes
35141 fi
35142
35143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35144 conftest$ac_exeext conftest.$ac_ext
35145 ac_ext=c
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150
35151
35152 fi
35153
35154 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35155 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35156
35157 if test $wx_cv_cc_visibility_workaround = no; then
35158 wx_cv_cc_visibility=no
35159 fi
35160 fi
35161 fi
35162
35163 if test $wx_cv_cc_visibility = yes; then
35164 cat >>confdefs.h <<\_ACEOF
35165 #define HAVE_VISIBILITY 1
35166 _ACEOF
35167
35168 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35171 _ACEOF
35172
35173 fi
35174 else
35175 CFLAGS_VISIBILITY=""
35176 CXXFLAGS_VISIBILITY=""
35177 fi
35178
35179
35180 fi
35181
35182 fi
35183
35184 if test "x$SUNCXX" = xyes; then
35185 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35186 WXCONFIG_RPATH="-R\$libdir"
35187 else
35188 case "${host}" in
35189 *-*-linux* | *-*-gnu* )
35190 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35191 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35192 ;;
35193
35194 *-*-solaris2* )
35195
35196 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35197
35198 saveLdflags="$LDFLAGS"
35199 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35200 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35201 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35202 cat >conftest.$ac_ext <<_ACEOF
35203 /* confdefs.h. */
35204 _ACEOF
35205 cat confdefs.h >>conftest.$ac_ext
35206 cat >>conftest.$ac_ext <<_ACEOF
35207 /* end confdefs.h. */
35208
35209 int
35210 main ()
35211 {
35212
35213 ;
35214 return 0;
35215 }
35216 _ACEOF
35217 rm -f conftest.$ac_objext conftest$ac_exeext
35218 if { (ac_try="$ac_link"
35219 case "(($ac_try" in
35220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35221 *) ac_try_echo=$ac_try;;
35222 esac
35223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35224 (eval "$ac_link") 2>conftest.er1
35225 ac_status=$?
35226 grep -v '^ *+' conftest.er1 >conftest.err
35227 rm -f conftest.er1
35228 cat conftest.err >&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } && {
35231 test -z "$ac_c_werror_flag" ||
35232 test ! -s conftest.err
35233 } && test -s conftest$ac_exeext &&
35234 $as_test_x conftest$ac_exeext; then
35235
35236 { echo "$as_me:$LINENO: result: yes" >&5
35237 echo "${ECHO_T}yes" >&6; }
35238 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35239 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35240
35241 else
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35244
35245
35246 { echo "$as_me:$LINENO: result: no" >&5
35247 echo "${ECHO_T}no" >&6; }
35248 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35249 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35250 LDFLAGS="$saveLdflags -Wl,-R,/"
35251 cat >conftest.$ac_ext <<_ACEOF
35252 /* confdefs.h. */
35253 _ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35257
35258 int
35259 main ()
35260 {
35261
35262 ;
35263 return 0;
35264 }
35265 _ACEOF
35266 rm -f conftest.$ac_objext conftest$ac_exeext
35267 if { (ac_try="$ac_link"
35268 case "(($ac_try" in
35269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35270 *) ac_try_echo=$ac_try;;
35271 esac
35272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35273 (eval "$ac_link") 2>conftest.er1
35274 ac_status=$?
35275 grep -v '^ *+' conftest.er1 >conftest.err
35276 rm -f conftest.er1
35277 cat conftest.err >&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); } && {
35280 test -z "$ac_c_werror_flag" ||
35281 test ! -s conftest.err
35282 } && test -s conftest$ac_exeext &&
35283 $as_test_x conftest$ac_exeext; then
35284
35285 { echo "$as_me:$LINENO: result: yes" >&5
35286 echo "${ECHO_T}yes" >&6; }
35287 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35288 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35289
35290 else
35291 echo "$as_me: failed program was:" >&5
35292 sed 's/^/| /' conftest.$ac_ext >&5
35293
35294
35295 { echo "$as_me:$LINENO: result: no" >&5
35296 echo "${ECHO_T}no" >&6; }
35297
35298 fi
35299
35300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35301 conftest$ac_exeext conftest.$ac_ext
35302
35303 fi
35304
35305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35306 conftest$ac_exeext conftest.$ac_ext
35307 LDFLAGS="$saveLdflags"
35308 ;;
35309
35310 *-*-darwin* )
35311 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35312 if test "$install_name_tool" -a -x "$install_name_tool"; then
35313 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35314 cat <<EOF >change-install-names
35315 #!/bin/sh
35316 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35317 for i in \${libnames} ; do
35318 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35319 for dep in \${libnames} ; do
35320 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35321 done
35322 done
35323 EOF
35324 chmod +x change-install-names
35325 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35326 fi
35327
35328 HEADER_PAD_OPTION="-headerpad_max_install_names"
35329 ;;
35330
35331 *-*-cygwin* | *-*-mingw32* )
35332 ;;
35333
35334 *-*-hpux* )
35335 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35336 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35337 ;;
35338
35339 esac
35340 fi
35341
35342 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35343
35344 if test $wxUSE_RPATH = "no"; then
35345 SAMPLES_RPATH_FLAG=''
35346 DYLIB_PATH_POSTLINK=''
35347 WXCONFIG_RPATH=''
35348 fi
35349
35350 SHARED=1
35351
35352 else
35353
35354 config_linkage_component="-static"
35355 SHARED=0
35356
35357 fi
35358
35359
35360 UNICODE=0
35361 lib_unicode_suffix=
35362 WX_CHARTYPE="ansi"
35363 if test "$wxUSE_UNICODE" = "yes"; then
35364 lib_unicode_suffix=u
35365 WX_CHARTYPE="unicode"
35366 UNICODE=1
35367 fi
35368
35369 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35370 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35371
35372 DEBUG_INFO=0
35373 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35374 DEBUG_INFO=1
35375 fi
35376
35377 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35378
35379 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35380
35381 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35382
35383
35384 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35385 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35386 else
35387 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35388 fi
35389 if test "${TOOLKIT_DIR}" = "os2"; then
35390 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35391 else
35392 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35393 fi
35394
35395
35396
35397 if test "$wxUSE_OLD_COCOA" = 1; then
35398
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404
35405 ac_ext=m
35406
35407 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35408 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 #include <AppKit/NSEvent.h>
35416 #include <CoreFoundation/CoreFoundation.h>
35417
35418 int
35419 main ()
35420 {
35421
35422 ;
35423 return 0;
35424 }
35425 _ACEOF
35426 rm -f conftest.$ac_objext
35427 if { (ac_try="$ac_compile"
35428 case "(($ac_try" in
35429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35431 esac
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_compile") 2>conftest.er1
35434 ac_status=$?
35435 grep -v '^ *+' conftest.er1 >conftest.err
35436 rm -f conftest.er1
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest.$ac_objext; then
35443 { echo "$as_me:$LINENO: result: no" >&5
35444 echo "${ECHO_T}no" >&6; }
35445 else
35446 echo "$as_me: failed program was:" >&5
35447 sed 's/^/| /' conftest.$ac_ext >&5
35448
35449 { echo "$as_me:$LINENO: result: yes" >&5
35450 echo "${ECHO_T}yes" >&6; }
35451 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35452 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35453 cat >conftest.$ac_ext <<_ACEOF
35454 /* confdefs.h. */
35455 _ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459 #define __Point__ 1
35460 #include <AppKit/NSEvent.h>
35461 #include <CoreFoundation/CoreFoundation.h>
35462
35463 int
35464 main ()
35465 {
35466
35467 ;
35468 return 0;
35469 }
35470 _ACEOF
35471 rm -f conftest.$ac_objext
35472 if { (ac_try="$ac_compile"
35473 case "(($ac_try" in
35474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35475 *) ac_try_echo=$ac_try;;
35476 esac
35477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35478 (eval "$ac_compile") 2>conftest.er1
35479 ac_status=$?
35480 grep -v '^ *+' conftest.er1 >conftest.err
35481 rm -f conftest.er1
35482 cat conftest.err >&5
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); } && {
35485 test -z "$ac_c_werror_flag" ||
35486 test ! -s conftest.err
35487 } && test -s conftest.$ac_objext; then
35488 { echo "$as_me:$LINENO: result: yes" >&5
35489 echo "${ECHO_T}yes" >&6; }
35490 cat >>confdefs.h <<\_ACEOF
35491 #define __Point__ 1
35492 _ACEOF
35493
35494
35495 else
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.$ac_ext >&5
35498
35499 { { echo "$as_me:$LINENO: error: no
35500 See \`config.log' for more details." >&5
35501 echo "$as_me: error: no
35502 See \`config.log' for more details." >&2;}
35503 { (exit 1); exit 1; }; }
35504
35505 fi
35506
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35508
35509 fi
35510
35511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35512 ac_ext=c
35513 ac_cpp='$CPP $CPPFLAGS'
35514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35517
35518 fi
35519
35520
35521 { echo "$as_me:$LINENO: checking for mode_t" >&5
35522 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35523 if test "${ac_cv_type_mode_t+set}" = set; then
35524 echo $ECHO_N "(cached) $ECHO_C" >&6
35525 else
35526 cat >conftest.$ac_ext <<_ACEOF
35527 /* confdefs.h. */
35528 _ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h. */
35532 $ac_includes_default
35533 typedef mode_t ac__type_new_;
35534 int
35535 main ()
35536 {
35537 if ((ac__type_new_ *) 0)
35538 return 0;
35539 if (sizeof (ac__type_new_))
35540 return 0;
35541 ;
35542 return 0;
35543 }
35544 _ACEOF
35545 rm -f conftest.$ac_objext
35546 if { (ac_try="$ac_compile"
35547 case "(($ac_try" in
35548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35549 *) ac_try_echo=$ac_try;;
35550 esac
35551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35552 (eval "$ac_compile") 2>conftest.er1
35553 ac_status=$?
35554 grep -v '^ *+' conftest.er1 >conftest.err
35555 rm -f conftest.er1
35556 cat conftest.err >&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); } && {
35559 test -z "$ac_c_werror_flag" ||
35560 test ! -s conftest.err
35561 } && test -s conftest.$ac_objext; then
35562 ac_cv_type_mode_t=yes
35563 else
35564 echo "$as_me: failed program was:" >&5
35565 sed 's/^/| /' conftest.$ac_ext >&5
35566
35567 ac_cv_type_mode_t=no
35568 fi
35569
35570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35571 fi
35572 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35573 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35574 if test $ac_cv_type_mode_t = yes; then
35575 :
35576 else
35577
35578 cat >>confdefs.h <<_ACEOF
35579 #define mode_t int
35580 _ACEOF
35581
35582 fi
35583
35584 { echo "$as_me:$LINENO: checking for off_t" >&5
35585 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35586 if test "${ac_cv_type_off_t+set}" = set; then
35587 echo $ECHO_N "(cached) $ECHO_C" >&6
35588 else
35589 cat >conftest.$ac_ext <<_ACEOF
35590 /* confdefs.h. */
35591 _ACEOF
35592 cat confdefs.h >>conftest.$ac_ext
35593 cat >>conftest.$ac_ext <<_ACEOF
35594 /* end confdefs.h. */
35595 $ac_includes_default
35596 typedef off_t ac__type_new_;
35597 int
35598 main ()
35599 {
35600 if ((ac__type_new_ *) 0)
35601 return 0;
35602 if (sizeof (ac__type_new_))
35603 return 0;
35604 ;
35605 return 0;
35606 }
35607 _ACEOF
35608 rm -f conftest.$ac_objext
35609 if { (ac_try="$ac_compile"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35613 esac
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_compile") 2>conftest.er1
35616 ac_status=$?
35617 grep -v '^ *+' conftest.er1 >conftest.err
35618 rm -f conftest.er1
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest.$ac_objext; then
35625 ac_cv_type_off_t=yes
35626 else
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35629
35630 ac_cv_type_off_t=no
35631 fi
35632
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 fi
35635 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35636 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35637 if test $ac_cv_type_off_t = yes; then
35638 :
35639 else
35640
35641 cat >>confdefs.h <<_ACEOF
35642 #define off_t long int
35643 _ACEOF
35644
35645 fi
35646
35647 { echo "$as_me:$LINENO: checking for pid_t" >&5
35648 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35649 if test "${ac_cv_type_pid_t+set}" = set; then
35650 echo $ECHO_N "(cached) $ECHO_C" >&6
35651 else
35652 cat >conftest.$ac_ext <<_ACEOF
35653 /* confdefs.h. */
35654 _ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 $ac_includes_default
35659 typedef pid_t ac__type_new_;
35660 int
35661 main ()
35662 {
35663 if ((ac__type_new_ *) 0)
35664 return 0;
35665 if (sizeof (ac__type_new_))
35666 return 0;
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (ac_try="$ac_compile"
35673 case "(($ac_try" in
35674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35675 *) ac_try_echo=$ac_try;;
35676 esac
35677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35678 (eval "$ac_compile") 2>conftest.er1
35679 ac_status=$?
35680 grep -v '^ *+' conftest.er1 >conftest.err
35681 rm -f conftest.er1
35682 cat conftest.err >&5
35683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35684 (exit $ac_status); } && {
35685 test -z "$ac_c_werror_flag" ||
35686 test ! -s conftest.err
35687 } && test -s conftest.$ac_objext; then
35688 ac_cv_type_pid_t=yes
35689 else
35690 echo "$as_me: failed program was:" >&5
35691 sed 's/^/| /' conftest.$ac_ext >&5
35692
35693 ac_cv_type_pid_t=no
35694 fi
35695
35696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35697 fi
35698 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35699 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35700 if test $ac_cv_type_pid_t = yes; then
35701 :
35702 else
35703
35704 cat >>confdefs.h <<_ACEOF
35705 #define pid_t int
35706 _ACEOF
35707
35708 fi
35709
35710 { echo "$as_me:$LINENO: checking for size_t" >&5
35711 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35712 if test "${ac_cv_type_size_t+set}" = set; then
35713 echo $ECHO_N "(cached) $ECHO_C" >&6
35714 else
35715 cat >conftest.$ac_ext <<_ACEOF
35716 /* confdefs.h. */
35717 _ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721 $ac_includes_default
35722 typedef size_t ac__type_new_;
35723 int
35724 main ()
35725 {
35726 if ((ac__type_new_ *) 0)
35727 return 0;
35728 if (sizeof (ac__type_new_))
35729 return 0;
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 rm -f conftest.$ac_objext
35735 if { (ac_try="$ac_compile"
35736 case "(($ac_try" in
35737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35738 *) ac_try_echo=$ac_try;;
35739 esac
35740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35741 (eval "$ac_compile") 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } && {
35748 test -z "$ac_c_werror_flag" ||
35749 test ! -s conftest.err
35750 } && test -s conftest.$ac_objext; then
35751 ac_cv_type_size_t=yes
35752 else
35753 echo "$as_me: failed program was:" >&5
35754 sed 's/^/| /' conftest.$ac_ext >&5
35755
35756 ac_cv_type_size_t=no
35757 fi
35758
35759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35760 fi
35761 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35762 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35763 if test $ac_cv_type_size_t = yes; then
35764 :
35765 else
35766
35767 cat >>confdefs.h <<_ACEOF
35768 #define size_t unsigned int
35769 _ACEOF
35770
35771 fi
35772
35773
35774 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35775 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35776 if test "${ac_cv_type_ssize_t+set}" = set; then
35777 echo $ECHO_N "(cached) $ECHO_C" >&6
35778 else
35779 cat >conftest.$ac_ext <<_ACEOF
35780 /* confdefs.h. */
35781 _ACEOF
35782 cat confdefs.h >>conftest.$ac_ext
35783 cat >>conftest.$ac_ext <<_ACEOF
35784 /* end confdefs.h. */
35785 $ac_includes_default
35786 typedef ssize_t ac__type_new_;
35787 int
35788 main ()
35789 {
35790 if ((ac__type_new_ *) 0)
35791 return 0;
35792 if (sizeof (ac__type_new_))
35793 return 0;
35794 ;
35795 return 0;
35796 }
35797 _ACEOF
35798 rm -f conftest.$ac_objext
35799 if { (ac_try="$ac_compile"
35800 case "(($ac_try" in
35801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35802 *) ac_try_echo=$ac_try;;
35803 esac
35804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35805 (eval "$ac_compile") 2>conftest.er1
35806 ac_status=$?
35807 grep -v '^ *+' conftest.er1 >conftest.err
35808 rm -f conftest.er1
35809 cat conftest.err >&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); } && {
35812 test -z "$ac_c_werror_flag" ||
35813 test ! -s conftest.err
35814 } && test -s conftest.$ac_objext; then
35815 ac_cv_type_ssize_t=yes
35816 else
35817 echo "$as_me: failed program was:" >&5
35818 sed 's/^/| /' conftest.$ac_ext >&5
35819
35820 ac_cv_type_ssize_t=no
35821 fi
35822
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35824 fi
35825 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35826 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35827 if test $ac_cv_type_ssize_t = yes; then
35828
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_SSIZE_T 1
35831 _ACEOF
35832
35833
35834 fi
35835
35836
35837 ac_ext=cpp
35838 ac_cpp='$CXXCPP $CPPFLAGS'
35839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35842 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35843 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35844 if test "${wx_cv_size_t_is_uint+set}" = set; then
35845 echo $ECHO_N "(cached) $ECHO_C" >&6
35846 else
35847
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 #include <stddef.h>
35855 int
35856 main ()
35857 {
35858
35859 return 0; }
35860
35861 struct Foo { void foo(size_t); void foo(unsigned int); };
35862
35863 int bar() {
35864
35865 ;
35866 return 0;
35867 }
35868 _ACEOF
35869 rm -f conftest.$ac_objext
35870 if { (ac_try="$ac_compile"
35871 case "(($ac_try" in
35872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35873 *) ac_try_echo=$ac_try;;
35874 esac
35875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35876 (eval "$ac_compile") 2>conftest.er1
35877 ac_status=$?
35878 grep -v '^ *+' conftest.er1 >conftest.err
35879 rm -f conftest.er1
35880 cat conftest.err >&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } && {
35883 test -z "$ac_cxx_werror_flag" ||
35884 test ! -s conftest.err
35885 } && test -s conftest.$ac_objext; then
35886 wx_cv_size_t_is_uint=no
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891 wx_cv_size_t_is_uint=yes
35892
35893 fi
35894
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35896
35897
35898 fi
35899 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35900 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35901
35902 if test "$wx_cv_size_t_is_uint" = "yes"; then
35903 cat >>confdefs.h <<\_ACEOF
35904 #define wxSIZE_T_IS_UINT 1
35905 _ACEOF
35906
35907 else
35908 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35909 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35910 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35911 echo $ECHO_N "(cached) $ECHO_C" >&6
35912 else
35913 cat >conftest.$ac_ext <<_ACEOF
35914 /* confdefs.h. */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919 #include <stddef.h>
35920 int
35921 main ()
35922 {
35923
35924 return 0; }
35925
35926 struct Foo { void foo(size_t); void foo(unsigned long); };
35927
35928 int bar() {
35929
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 rm -f conftest.$ac_objext
35935 if { (ac_try="$ac_compile"
35936 case "(($ac_try" in
35937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35938 *) ac_try_echo=$ac_try;;
35939 esac
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_compile") 2>conftest.er1
35942 ac_status=$?
35943 grep -v '^ *+' conftest.er1 >conftest.err
35944 rm -f conftest.er1
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_cxx_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest.$ac_objext; then
35951 wx_cv_size_t_is_ulong=no
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 wx_cv_size_t_is_ulong=yes
35957
35958 fi
35959
35960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35961
35962 fi
35963 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35964 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35965
35966 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35967 cat >>confdefs.h <<\_ACEOF
35968 #define wxSIZE_T_IS_ULONG 1
35969 _ACEOF
35970
35971 fi
35972 fi
35973
35974 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35975 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35976 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35977 echo $ECHO_N "(cached) $ECHO_C" >&6
35978 else
35979 cat >conftest.$ac_ext <<_ACEOF
35980 /* confdefs.h. */
35981 _ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 #include <wchar.h>
35986 int
35987 main ()
35988 {
35989
35990 return 0; }
35991
35992 struct Foo { void foo(wchar_t);
35993 void foo(unsigned short);
35994 void foo(unsigned int);
35995 void foo(unsigned long); };
35996
35997 int bar() {
35998
35999 ;
36000 return 0;
36001 }
36002 _ACEOF
36003 rm -f conftest.$ac_objext
36004 if { (ac_try="$ac_compile"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36008 esac
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_compile") 2>conftest.er1
36011 ac_status=$?
36012 grep -v '^ *+' conftest.er1 >conftest.err
36013 rm -f conftest.er1
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest.$ac_objext; then
36020 wx_cv_wchar_t_is_separate_type=yes
36021 else
36022 echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36024
36025 wx_cv_wchar_t_is_separate_type=no
36026
36027 fi
36028
36029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36030
36031 fi
36032 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36033 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36034
36035 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36036 cat >>confdefs.h <<\_ACEOF
36037 #define wxWCHAR_T_IS_REAL_TYPE 1
36038 _ACEOF
36039
36040 else
36041 cat >>confdefs.h <<\_ACEOF
36042 #define wxWCHAR_T_IS_REAL_TYPE 0
36043 _ACEOF
36044
36045 fi
36046
36047 ac_ext=c
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052
36053
36054 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36055 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36056 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 else
36059
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <pwd.h>
36067 int
36068 main ()
36069 {
36070
36071 char *p;
36072 struct passwd *pw;
36073 p = pw->pw_gecos;
36074
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 rm -f conftest.$ac_objext
36080 if { (ac_try="$ac_compile"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36084 esac
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_compile") 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_c_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest.$ac_objext; then
36096
36097 wx_cv_struct_pw_gecos=yes
36098
36099 else
36100 echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36102
36103
36104 wx_cv_struct_pw_gecos=no
36105
36106
36107 fi
36108
36109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36110
36111
36112 fi
36113 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36114 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36115
36116 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36117 cat >>confdefs.h <<\_ACEOF
36118 #define HAVE_PW_GECOS 1
36119 _ACEOF
36120
36121 fi
36122
36123
36124 WCSLEN_FOUND=0
36125 WCHAR_LINK=
36126
36127 for ac_func in wcslen
36128 do
36129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36130 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36132 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36134 else
36135 cat >conftest.$ac_ext <<_ACEOF
36136 /* confdefs.h. */
36137 _ACEOF
36138 cat confdefs.h >>conftest.$ac_ext
36139 cat >>conftest.$ac_ext <<_ACEOF
36140 /* end confdefs.h. */
36141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36143 #define $ac_func innocuous_$ac_func
36144
36145 /* System header to define __stub macros and hopefully few prototypes,
36146 which can conflict with char $ac_func (); below.
36147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36148 <limits.h> exists even on freestanding compilers. */
36149
36150 #ifdef __STDC__
36151 # include <limits.h>
36152 #else
36153 # include <assert.h>
36154 #endif
36155
36156 #undef $ac_func
36157
36158 /* Override any GCC internal prototype to avoid an error.
36159 Use char because int might match the return type of a GCC
36160 builtin and then its argument prototype would still apply. */
36161 #ifdef __cplusplus
36162 extern "C"
36163 #endif
36164 char $ac_func ();
36165 /* The GNU C library defines this for functions which it implements
36166 to always fail with ENOSYS. Some functions are actually named
36167 something starting with __ and the normal name is an alias. */
36168 #if defined __stub_$ac_func || defined __stub___$ac_func
36169 choke me
36170 #endif
36171
36172 int
36173 main ()
36174 {
36175 return $ac_func ();
36176 ;
36177 return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (ac_try="$ac_link"
36182 case "(($ac_try" in
36183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36184 *) ac_try_echo=$ac_try;;
36185 esac
36186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36187 (eval "$ac_link") 2>conftest.er1
36188 ac_status=$?
36189 grep -v '^ *+' conftest.er1 >conftest.err
36190 rm -f conftest.er1
36191 cat conftest.err >&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } && {
36194 test -z "$ac_c_werror_flag" ||
36195 test ! -s conftest.err
36196 } && test -s conftest$ac_exeext &&
36197 $as_test_x conftest$ac_exeext; then
36198 eval "$as_ac_var=yes"
36199 else
36200 echo "$as_me: failed program was:" >&5
36201 sed 's/^/| /' conftest.$ac_ext >&5
36202
36203 eval "$as_ac_var=no"
36204 fi
36205
36206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36207 conftest$ac_exeext conftest.$ac_ext
36208 fi
36209 ac_res=`eval echo '${'$as_ac_var'}'`
36210 { echo "$as_me:$LINENO: result: $ac_res" >&5
36211 echo "${ECHO_T}$ac_res" >&6; }
36212 if test `eval echo '${'$as_ac_var'}'` = yes; then
36213 cat >>confdefs.h <<_ACEOF
36214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36215 _ACEOF
36216 WCSLEN_FOUND=1
36217 fi
36218 done
36219
36220
36221 if test "$WCSLEN_FOUND" = 0; then
36222 if test "$TOOLKIT" = "MSW"; then
36223 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36224 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36225 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36226 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 else
36228 ac_check_lib_save_LIBS=$LIBS
36229 LIBS="-lmsvcrt $LIBS"
36230 cat >conftest.$ac_ext <<_ACEOF
36231 /* confdefs.h. */
36232 _ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36236
36237 /* Override any GCC internal prototype to avoid an error.
36238 Use char because int might match the return type of a GCC
36239 builtin and then its argument prototype would still apply. */
36240 #ifdef __cplusplus
36241 extern "C"
36242 #endif
36243 char wcslen ();
36244 int
36245 main ()
36246 {
36247 return wcslen ();
36248 ;
36249 return 0;
36250 }
36251 _ACEOF
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36257 esac
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36260 ac_status=$?
36261 grep -v '^ *+' conftest.er1 >conftest.err
36262 rm -f conftest.er1
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 ac_cv_lib_msvcrt_wcslen=yes
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36274
36275 ac_cv_lib_msvcrt_wcslen=no
36276 fi
36277
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36280 LIBS=$ac_check_lib_save_LIBS
36281 fi
36282 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36283 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36284 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36285 WCHAR_OK=1
36286 fi
36287
36288 else
36289 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36290 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36291 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294 ac_check_lib_save_LIBS=$LIBS
36295 LIBS="-lw $LIBS"
36296 cat >conftest.$ac_ext <<_ACEOF
36297 /* confdefs.h. */
36298 _ACEOF
36299 cat confdefs.h >>conftest.$ac_ext
36300 cat >>conftest.$ac_ext <<_ACEOF
36301 /* end confdefs.h. */
36302
36303 /* Override any GCC internal prototype to avoid an error.
36304 Use char because int might match the return type of a GCC
36305 builtin and then its argument prototype would still apply. */
36306 #ifdef __cplusplus
36307 extern "C"
36308 #endif
36309 char wcslen ();
36310 int
36311 main ()
36312 {
36313 return wcslen ();
36314 ;
36315 return 0;
36316 }
36317 _ACEOF
36318 rm -f conftest.$ac_objext conftest$ac_exeext
36319 if { (ac_try="$ac_link"
36320 case "(($ac_try" in
36321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36322 *) ac_try_echo=$ac_try;;
36323 esac
36324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36325 (eval "$ac_link") 2>conftest.er1
36326 ac_status=$?
36327 grep -v '^ *+' conftest.er1 >conftest.err
36328 rm -f conftest.er1
36329 cat conftest.err >&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } && {
36332 test -z "$ac_c_werror_flag" ||
36333 test ! -s conftest.err
36334 } && test -s conftest$ac_exeext &&
36335 $as_test_x conftest$ac_exeext; then
36336 ac_cv_lib_w_wcslen=yes
36337 else
36338 echo "$as_me: failed program was:" >&5
36339 sed 's/^/| /' conftest.$ac_ext >&5
36340
36341 ac_cv_lib_w_wcslen=no
36342 fi
36343
36344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36345 conftest$ac_exeext conftest.$ac_ext
36346 LIBS=$ac_check_lib_save_LIBS
36347 fi
36348 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36349 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36350 if test $ac_cv_lib_w_wcslen = yes; then
36351
36352 WCHAR_LINK=" -lw"
36353 WCSLEN_FOUND=1
36354
36355 fi
36356
36357 fi
36358 fi
36359
36360 if test "$WCSLEN_FOUND" = 1; then
36361 cat >>confdefs.h <<\_ACEOF
36362 #define HAVE_WCSLEN 1
36363 _ACEOF
36364
36365 fi
36366
36367
36368
36369
36370
36371
36372
36373 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36374 do
36375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36379 echo $ECHO_N "(cached) $ECHO_C" >&6
36380 else
36381 cat >conftest.$ac_ext <<_ACEOF
36382 /* confdefs.h. */
36383 _ACEOF
36384 cat confdefs.h >>conftest.$ac_ext
36385 cat >>conftest.$ac_ext <<_ACEOF
36386 /* end confdefs.h. */
36387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36389 #define $ac_func innocuous_$ac_func
36390
36391 /* System header to define __stub macros and hopefully few prototypes,
36392 which can conflict with char $ac_func (); below.
36393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36394 <limits.h> exists even on freestanding compilers. */
36395
36396 #ifdef __STDC__
36397 # include <limits.h>
36398 #else
36399 # include <assert.h>
36400 #endif
36401
36402 #undef $ac_func
36403
36404 /* Override any GCC internal prototype to avoid an error.
36405 Use char because int might match the return type of a GCC
36406 builtin and then its argument prototype would still apply. */
36407 #ifdef __cplusplus
36408 extern "C"
36409 #endif
36410 char $ac_func ();
36411 /* The GNU C library defines this for functions which it implements
36412 to always fail with ENOSYS. Some functions are actually named
36413 something starting with __ and the normal name is an alias. */
36414 #if defined __stub_$ac_func || defined __stub___$ac_func
36415 choke me
36416 #endif
36417
36418 int
36419 main ()
36420 {
36421 return $ac_func ();
36422 ;
36423 return 0;
36424 }
36425 _ACEOF
36426 rm -f conftest.$ac_objext conftest$ac_exeext
36427 if { (ac_try="$ac_link"
36428 case "(($ac_try" in
36429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36430 *) ac_try_echo=$ac_try;;
36431 esac
36432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36433 (eval "$ac_link") 2>conftest.er1
36434 ac_status=$?
36435 grep -v '^ *+' conftest.er1 >conftest.err
36436 rm -f conftest.er1
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } && {
36440 test -z "$ac_c_werror_flag" ||
36441 test ! -s conftest.err
36442 } && test -s conftest$ac_exeext &&
36443 $as_test_x conftest$ac_exeext; then
36444 eval "$as_ac_var=yes"
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36448
36449 eval "$as_ac_var=no"
36450 fi
36451
36452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36453 conftest$ac_exeext conftest.$ac_ext
36454 fi
36455 ac_res=`eval echo '${'$as_ac_var'}'`
36456 { echo "$as_me:$LINENO: result: $ac_res" >&5
36457 echo "${ECHO_T}$ac_res" >&6; }
36458 if test `eval echo '${'$as_ac_var'}'` = yes; then
36459 cat >>confdefs.h <<_ACEOF
36460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36461 _ACEOF
36462
36463 fi
36464 done
36465
36466
36467 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36468 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36469 fi
36470
36471 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36472 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36473 if test "${ac_cv_type_mbstate_t+set}" = set; then
36474 echo $ECHO_N "(cached) $ECHO_C" >&6
36475 else
36476 cat >conftest.$ac_ext <<_ACEOF
36477 /* confdefs.h. */
36478 _ACEOF
36479 cat confdefs.h >>conftest.$ac_ext
36480 cat >>conftest.$ac_ext <<_ACEOF
36481 /* end confdefs.h. */
36482 #include <wchar.h>
36483
36484 typedef mbstate_t ac__type_new_;
36485 int
36486 main ()
36487 {
36488 if ((ac__type_new_ *) 0)
36489 return 0;
36490 if (sizeof (ac__type_new_))
36491 return 0;
36492 ;
36493 return 0;
36494 }
36495 _ACEOF
36496 rm -f conftest.$ac_objext
36497 if { (ac_try="$ac_compile"
36498 case "(($ac_try" in
36499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36500 *) ac_try_echo=$ac_try;;
36501 esac
36502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36503 (eval "$ac_compile") 2>conftest.er1
36504 ac_status=$?
36505 grep -v '^ *+' conftest.er1 >conftest.err
36506 rm -f conftest.er1
36507 cat conftest.err >&5
36508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36509 (exit $ac_status); } && {
36510 test -z "$ac_c_werror_flag" ||
36511 test ! -s conftest.err
36512 } && test -s conftest.$ac_objext; then
36513 ac_cv_type_mbstate_t=yes
36514 else
36515 echo "$as_me: failed program was:" >&5
36516 sed 's/^/| /' conftest.$ac_ext >&5
36517
36518 ac_cv_type_mbstate_t=no
36519 fi
36520
36521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36522 fi
36523 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36524 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36525 if test $ac_cv_type_mbstate_t = yes; then
36526
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_MBSTATE_T 1
36529 _ACEOF
36530
36531
36532 for ac_func in wcsrtombs
36533 do
36534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36538 echo $ECHO_N "(cached) $ECHO_C" >&6
36539 else
36540 cat >conftest.$ac_ext <<_ACEOF
36541 /* confdefs.h. */
36542 _ACEOF
36543 cat confdefs.h >>conftest.$ac_ext
36544 cat >>conftest.$ac_ext <<_ACEOF
36545 /* end confdefs.h. */
36546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36548 #define $ac_func innocuous_$ac_func
36549
36550 /* System header to define __stub macros and hopefully few prototypes,
36551 which can conflict with char $ac_func (); below.
36552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36553 <limits.h> exists even on freestanding compilers. */
36554
36555 #ifdef __STDC__
36556 # include <limits.h>
36557 #else
36558 # include <assert.h>
36559 #endif
36560
36561 #undef $ac_func
36562
36563 /* Override any GCC internal prototype to avoid an error.
36564 Use char because int might match the return type of a GCC
36565 builtin and then its argument prototype would still apply. */
36566 #ifdef __cplusplus
36567 extern "C"
36568 #endif
36569 char $ac_func ();
36570 /* The GNU C library defines this for functions which it implements
36571 to always fail with ENOSYS. Some functions are actually named
36572 something starting with __ and the normal name is an alias. */
36573 #if defined __stub_$ac_func || defined __stub___$ac_func
36574 choke me
36575 #endif
36576
36577 int
36578 main ()
36579 {
36580 return $ac_func ();
36581 ;
36582 return 0;
36583 }
36584 _ACEOF
36585 rm -f conftest.$ac_objext conftest$ac_exeext
36586 if { (ac_try="$ac_link"
36587 case "(($ac_try" in
36588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36589 *) ac_try_echo=$ac_try;;
36590 esac
36591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36592 (eval "$ac_link") 2>conftest.er1
36593 ac_status=$?
36594 grep -v '^ *+' conftest.er1 >conftest.err
36595 rm -f conftest.er1
36596 cat conftest.err >&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); } && {
36599 test -z "$ac_c_werror_flag" ||
36600 test ! -s conftest.err
36601 } && test -s conftest$ac_exeext &&
36602 $as_test_x conftest$ac_exeext; then
36603 eval "$as_ac_var=yes"
36604 else
36605 echo "$as_me: failed program was:" >&5
36606 sed 's/^/| /' conftest.$ac_ext >&5
36607
36608 eval "$as_ac_var=no"
36609 fi
36610
36611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36612 conftest$ac_exeext conftest.$ac_ext
36613 fi
36614 ac_res=`eval echo '${'$as_ac_var'}'`
36615 { echo "$as_me:$LINENO: result: $ac_res" >&5
36616 echo "${ECHO_T}$ac_res" >&6; }
36617 if test `eval echo '${'$as_ac_var'}'` = yes; then
36618 cat >>confdefs.h <<_ACEOF
36619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36620 _ACEOF
36621
36622 fi
36623 done
36624
36625 fi
36626
36627
36628
36629
36630
36631 for ac_func in snprintf vsnprintf vsscanf
36632 do
36633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36637 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 else
36639 cat >conftest.$ac_ext <<_ACEOF
36640 /* confdefs.h. */
36641 _ACEOF
36642 cat confdefs.h >>conftest.$ac_ext
36643 cat >>conftest.$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36647 #define $ac_func innocuous_$ac_func
36648
36649 /* System header to define __stub macros and hopefully few prototypes,
36650 which can conflict with char $ac_func (); below.
36651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36652 <limits.h> exists even on freestanding compilers. */
36653
36654 #ifdef __STDC__
36655 # include <limits.h>
36656 #else
36657 # include <assert.h>
36658 #endif
36659
36660 #undef $ac_func
36661
36662 /* Override any GCC internal prototype to avoid an error.
36663 Use char because int might match the return type of a GCC
36664 builtin and then its argument prototype would still apply. */
36665 #ifdef __cplusplus
36666 extern "C"
36667 #endif
36668 char $ac_func ();
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined __stub_$ac_func || defined __stub___$ac_func
36673 choke me
36674 #endif
36675
36676 int
36677 main ()
36678 {
36679 return $ac_func ();
36680 ;
36681 return 0;
36682 }
36683 _ACEOF
36684 rm -f conftest.$ac_objext conftest$ac_exeext
36685 if { (ac_try="$ac_link"
36686 case "(($ac_try" in
36687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36688 *) ac_try_echo=$ac_try;;
36689 esac
36690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36691 (eval "$ac_link") 2>conftest.er1
36692 ac_status=$?
36693 grep -v '^ *+' conftest.er1 >conftest.err
36694 rm -f conftest.er1
36695 cat conftest.err >&5
36696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697 (exit $ac_status); } && {
36698 test -z "$ac_c_werror_flag" ||
36699 test ! -s conftest.err
36700 } && test -s conftest$ac_exeext &&
36701 $as_test_x conftest$ac_exeext; then
36702 eval "$as_ac_var=yes"
36703 else
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36706
36707 eval "$as_ac_var=no"
36708 fi
36709
36710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36711 conftest$ac_exeext conftest.$ac_ext
36712 fi
36713 ac_res=`eval echo '${'$as_ac_var'}'`
36714 { echo "$as_me:$LINENO: result: $ac_res" >&5
36715 echo "${ECHO_T}$ac_res" >&6; }
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717 cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36719 _ACEOF
36720
36721 fi
36722 done
36723
36724
36725 ac_ext=cpp
36726 ac_cpp='$CXXCPP $CPPFLAGS'
36727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36730
36731 if test "$ac_cv_func_vsnprintf" = "yes"; then
36732 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36733 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36734 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36735 echo $ECHO_N "(cached) $ECHO_C" >&6
36736 else
36737
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744
36745 #include <stdio.h>
36746 #include <stdarg.h>
36747 #ifdef __MSL__
36748 #if __MSL__ >= 0x6000
36749 namespace std {}
36750 using namespace std;
36751 #endif
36752 #endif
36753
36754 int
36755 main ()
36756 {
36757
36758 char *buf;
36759 va_list ap;
36760 vsnprintf(buf, 10u, "%s", ap);
36761
36762 ;
36763 return 0;
36764 }
36765 _ACEOF
36766 rm -f conftest.$ac_objext
36767 if { (ac_try="$ac_compile"
36768 case "(($ac_try" in
36769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36770 *) ac_try_echo=$ac_try;;
36771 esac
36772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36773 (eval "$ac_compile") 2>conftest.er1
36774 ac_status=$?
36775 grep -v '^ *+' conftest.er1 >conftest.err
36776 rm -f conftest.er1
36777 cat conftest.err >&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } && {
36780 test -z "$ac_cxx_werror_flag" ||
36781 test ! -s conftest.err
36782 } && test -s conftest.$ac_objext; then
36783 wx_cv_func_vsnprintf_decl=yes
36784 else
36785 echo "$as_me: failed program was:" >&5
36786 sed 's/^/| /' conftest.$ac_ext >&5
36787
36788 wx_cv_func_vsnprintf_decl=no
36789
36790 fi
36791
36792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36793
36794
36795 fi
36796 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36797 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36798
36799 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36800 cat >>confdefs.h <<\_ACEOF
36801 #define HAVE_VSNPRINTF_DECL 1
36802 _ACEOF
36803
36804
36805 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36806 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36807 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36808 echo $ECHO_N "(cached) $ECHO_C" >&6
36809 else
36810
36811 cat >conftest.$ac_ext <<_ACEOF
36812 /* confdefs.h. */
36813 _ACEOF
36814 cat confdefs.h >>conftest.$ac_ext
36815 cat >>conftest.$ac_ext <<_ACEOF
36816 /* end confdefs.h. */
36817
36818 #include <stdio.h>
36819 #include <stdarg.h>
36820 #ifdef __MSL__
36821 #if __MSL__ >= 0x6000
36822 namespace std {}
36823 using namespace std;
36824 #endif
36825 #endif
36826
36827 int
36828 main ()
36829 {
36830
36831 char *buf;
36832 va_list ap;
36833 const char *fmt = "%s";
36834 vsnprintf(buf, 10u, fmt, ap);
36835
36836 ;
36837 return 0;
36838 }
36839 _ACEOF
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36844 *) ac_try_echo=$ac_try;;
36845 esac
36846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36848 ac_status=$?
36849 grep -v '^ *+' conftest.er1 >conftest.err
36850 rm -f conftest.er1
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_cxx_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.$ac_objext; then
36857 wx_cv_func_broken_vsnprintf_decl=no
36858 else
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36861
36862 wx_cv_func_broken_vsnprintf_decl=yes
36863
36864 fi
36865
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867
36868
36869 fi
36870 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36871 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36872
36873 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36874 cat >>confdefs.h <<\_ACEOF
36875 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36876 _ACEOF
36877
36878 fi
36879 fi
36880 fi
36881
36882 if test "$ac_cv_func_snprintf" = "yes"; then
36883 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36884 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36885 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 else
36888
36889 cat >conftest.$ac_ext <<_ACEOF
36890 /* confdefs.h. */
36891 _ACEOF
36892 cat confdefs.h >>conftest.$ac_ext
36893 cat >>conftest.$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36895
36896 #include <stdio.h>
36897 #include <stdarg.h>
36898 #ifdef __MSL__
36899 #if __MSL__ >= 0x6000
36900 namespace std {}
36901 using namespace std;
36902 #endif
36903 #endif
36904
36905 int
36906 main ()
36907 {
36908
36909 char *buf;
36910 snprintf(buf, 10u, "%s", "wx");
36911
36912 ;
36913 return 0;
36914 }
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (ac_try="$ac_compile"
36918 case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36921 esac
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_compile") 2>conftest.er1
36924 ac_status=$?
36925 grep -v '^ *+' conftest.er1 >conftest.err
36926 rm -f conftest.er1
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } && {
36930 test -z "$ac_cxx_werror_flag" ||
36931 test ! -s conftest.err
36932 } && test -s conftest.$ac_objext; then
36933 wx_cv_func_snprintf_decl=yes
36934 else
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 wx_cv_func_snprintf_decl=no
36939
36940 fi
36941
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36943
36944
36945 fi
36946 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36947 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36948
36949 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define HAVE_SNPRINTF_DECL 1
36952 _ACEOF
36953
36954 fi
36955
36956 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36957
36958 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36959 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36960 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 else
36963
36964 if test "$cross_compiling" = yes; then
36965
36966 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36967 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36968 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36969 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36970 wx_cv_func_snprintf_pos_params=no
36971
36972
36973 else
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980
36981 #include <stdio.h>
36982
36983 int main (void)
36984 {
36985 char buffer[128];
36986 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36987 if (strcmp ("2 3 1", buffer) == 0)
36988 exit (0);
36989 exit (1);
36990 }
36991
36992 _ACEOF
36993 rm -f conftest$ac_exeext
36994 if { (ac_try="$ac_link"
36995 case "(($ac_try" in
36996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36997 *) ac_try_echo=$ac_try;;
36998 esac
36999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37000 (eval "$ac_link") 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37004 { (case "(($ac_try" in
37005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37006 *) ac_try_echo=$ac_try;;
37007 esac
37008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37009 (eval "$ac_try") 2>&5
37010 ac_status=$?
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; }; then
37013 wx_cv_func_snprintf_pos_params=no
37014 else
37015 echo "$as_me: program exited with status $ac_status" >&5
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37018
37019 ( exit $ac_status )
37020 wx_cv_func_snprintf_pos_params=yes
37021 fi
37022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37023 fi
37024
37025
37026
37027
37028 fi
37029 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37030 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37031
37032 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37033 cat >>confdefs.h <<\_ACEOF
37034 #define HAVE_UNIX98_PRINTF 1
37035 _ACEOF
37036
37037 fi
37038 fi
37039 fi
37040
37041 if test "$ac_cv_func_vsscanf" = "yes"; then
37042 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37043 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37044 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 else
37047
37048 cat >conftest.$ac_ext <<_ACEOF
37049 /* confdefs.h. */
37050 _ACEOF
37051 cat confdefs.h >>conftest.$ac_ext
37052 cat >>conftest.$ac_ext <<_ACEOF
37053 /* end confdefs.h. */
37054
37055 #include <stdio.h>
37056 #include <stdarg.h>
37057 #ifdef __MSL__
37058 #if __MSL__ >= 0x6000
37059 namespace std {}
37060 using namespace std;
37061 #endif
37062 #endif
37063
37064 int
37065 main ()
37066 {
37067
37068 char *buf;
37069 va_list args;
37070 vsscanf(buf, "%s", args);
37071
37072 ;
37073 return 0;
37074 }
37075 _ACEOF
37076 rm -f conftest.$ac_objext
37077 if { (ac_try="$ac_compile"
37078 case "(($ac_try" in
37079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37080 *) ac_try_echo=$ac_try;;
37081 esac
37082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37083 (eval "$ac_compile") 2>conftest.er1
37084 ac_status=$?
37085 grep -v '^ *+' conftest.er1 >conftest.err
37086 rm -f conftest.er1
37087 cat conftest.err >&5
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); } && {
37090 test -z "$ac_cxx_werror_flag" ||
37091 test ! -s conftest.err
37092 } && test -s conftest.$ac_objext; then
37093 wx_cv_func_vsscanf_decl=yes
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 wx_cv_func_vsscanf_decl=no
37099
37100 fi
37101
37102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37103
37104
37105 fi
37106 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37107 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37108
37109 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37110 cat >>confdefs.h <<\_ACEOF
37111 #define HAVE_VSSCANF_DECL 1
37112 _ACEOF
37113
37114 fi
37115 fi
37116 ac_ext=c
37117 ac_cpp='$CPP $CPPFLAGS'
37118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37121
37122
37123 if test "$wxUSE_UNICODE" = yes; then
37124
37125 wchar_headers="#include <stdio.h>
37126 #include <wchar.h>"
37127 case "${host}" in
37128 *-*-solaris2* )
37129
37130 for ac_header in widec.h
37131 do
37132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 else
37138 cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h. */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 $ac_includes_default
37145
37146 #include <$ac_header>
37147 _ACEOF
37148 rm -f conftest.$ac_objext
37149 if { (ac_try="$ac_compile"
37150 case "(($ac_try" in
37151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37152 *) ac_try_echo=$ac_try;;
37153 esac
37154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37155 (eval "$ac_compile") 2>conftest.er1
37156 ac_status=$?
37157 grep -v '^ *+' conftest.er1 >conftest.err
37158 rm -f conftest.er1
37159 cat conftest.err >&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); } && {
37162 test -z "$ac_c_werror_flag" ||
37163 test ! -s conftest.err
37164 } && test -s conftest.$ac_objext; then
37165 eval "$as_ac_Header=yes"
37166 else
37167 echo "$as_me: failed program was:" >&5
37168 sed 's/^/| /' conftest.$ac_ext >&5
37169
37170 eval "$as_ac_Header=no"
37171 fi
37172
37173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37174 fi
37175 ac_res=`eval echo '${'$as_ac_Header'}'`
37176 { echo "$as_me:$LINENO: result: $ac_res" >&5
37177 echo "${ECHO_T}$ac_res" >&6; }
37178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37179 cat >>confdefs.h <<_ACEOF
37180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37181 _ACEOF
37182
37183 fi
37184
37185 done
37186
37187 if test "$ac_cv_header_widec_h" = "yes"; then
37188 wchar_headers="$wchar_headers
37189 #include <widec.h>"
37190 fi
37191 esac
37192
37193
37194 for wx_func in putws fputws wprintf vswprintf vswscanf
37195 do
37196 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37197 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37198 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37199 echo $ECHO_N "(cached) $ECHO_C" >&6
37200 else
37201
37202 cat >conftest.$ac_ext <<_ACEOF
37203
37204 /* confdefs.h. */
37205 _ACEOF
37206 cat confdefs.h >>conftest.$ac_ext
37207 cat >>conftest.$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37209
37210 $wchar_headers
37211 $ac_includes_default
37212
37213 int
37214 main ()
37215 {
37216
37217 #ifndef $wx_func
37218 &$wx_func;
37219 #endif
37220
37221
37222 ;
37223 return 0;
37224 }
37225
37226 _ACEOF
37227 rm -f conftest.$ac_objext conftest$ac_exeext
37228 if { (ac_try="$ac_link"
37229 case "(($ac_try" in
37230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37231 *) ac_try_echo=$ac_try;;
37232 esac
37233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37234 (eval "$ac_link") 2>conftest.er1
37235 ac_status=$?
37236 grep -v '^ *+' conftest.er1 >conftest.err
37237 rm -f conftest.er1
37238 cat conftest.err >&5
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); } && {
37241 test -z "$ac_c_werror_flag" ||
37242 test ! -s conftest.err
37243 } && test -s conftest$ac_exeext &&
37244 $as_test_x conftest$ac_exeext; then
37245 eval wx_cv_func_$wx_func=yes
37246 else
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37249
37250 eval wx_cv_func_$wx_func=no
37251 fi
37252
37253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37254 conftest$ac_exeext conftest.$ac_ext
37255
37256 fi
37257 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37258 { echo "$as_me:$LINENO: result: $ac_res" >&5
37259 echo "${ECHO_T}$ac_res" >&6; }
37260
37261 if eval test \$wx_cv_func_$wx_func = yes
37262 then
37263 cat >>confdefs.h <<_ACEOF
37264 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37265 _ACEOF
37266
37267
37268 else
37269 :
37270
37271 fi
37272 done
37273
37274
37275 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37276 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37277 cat >conftest.$ac_ext <<_ACEOF
37278 /* confdefs.h. */
37279 _ACEOF
37280 cat confdefs.h >>conftest.$ac_ext
37281 cat >>conftest.$ac_ext <<_ACEOF
37282 /* end confdefs.h. */
37283 #include <wchar.h>
37284 int
37285 main ()
37286 {
37287 &_vsnwprintf;
37288 ;
37289 return 0;
37290 }
37291 _ACEOF
37292 rm -f conftest.$ac_objext
37293 if { (ac_try="$ac_compile"
37294 case "(($ac_try" in
37295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37296 *) ac_try_echo=$ac_try;;
37297 esac
37298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37299 (eval "$ac_compile") 2>conftest.er1
37300 ac_status=$?
37301 grep -v '^ *+' conftest.er1 >conftest.err
37302 rm -f conftest.er1
37303 cat conftest.err >&5
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); } && {
37306 test -z "$ac_c_werror_flag" ||
37307 test ! -s conftest.err
37308 } && test -s conftest.$ac_objext; then
37309 { echo "$as_me:$LINENO: result: yes" >&5
37310 echo "${ECHO_T}yes" >&6; }
37311 cat >>confdefs.h <<\_ACEOF
37312 #define HAVE__VSNWPRINTF 1
37313 _ACEOF
37314
37315 else
37316 echo "$as_me: failed program was:" >&5
37317 sed 's/^/| /' conftest.$ac_ext >&5
37318
37319 { echo "$as_me:$LINENO: result: no" >&5
37320 echo "${ECHO_T}no" >&6; }
37321 fi
37322
37323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37324 fi
37325
37326 if test "$wxUSE_FILE" = "yes"; then
37327
37328 for wx_func in fsync
37329 do
37330 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37331 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37332 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 else
37335
37336 cat >conftest.$ac_ext <<_ACEOF
37337
37338 /* confdefs.h. */
37339 _ACEOF
37340 cat confdefs.h >>conftest.$ac_ext
37341 cat >>conftest.$ac_ext <<_ACEOF
37342 /* end confdefs.h. */
37343
37344
37345 $ac_includes_default
37346
37347 int
37348 main ()
37349 {
37350
37351 #ifndef $wx_func
37352 &$wx_func;
37353 #endif
37354
37355
37356 ;
37357 return 0;
37358 }
37359
37360 _ACEOF
37361 rm -f conftest.$ac_objext conftest$ac_exeext
37362 if { (ac_try="$ac_link"
37363 case "(($ac_try" in
37364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37365 *) ac_try_echo=$ac_try;;
37366 esac
37367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37368 (eval "$ac_link") 2>conftest.er1
37369 ac_status=$?
37370 grep -v '^ *+' conftest.er1 >conftest.err
37371 rm -f conftest.er1
37372 cat conftest.err >&5
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); } && {
37375 test -z "$ac_c_werror_flag" ||
37376 test ! -s conftest.err
37377 } && test -s conftest$ac_exeext &&
37378 $as_test_x conftest$ac_exeext; then
37379 eval wx_cv_func_$wx_func=yes
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37383
37384 eval wx_cv_func_$wx_func=no
37385 fi
37386
37387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37388 conftest$ac_exeext conftest.$ac_ext
37389
37390 fi
37391 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37392 { echo "$as_me:$LINENO: result: $ac_res" >&5
37393 echo "${ECHO_T}$ac_res" >&6; }
37394
37395 if eval test \$wx_cv_func_$wx_func = yes
37396 then
37397 cat >>confdefs.h <<_ACEOF
37398 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37399 _ACEOF
37400
37401
37402 else
37403 :
37404
37405 fi
37406 done
37407
37408 fi
37409
37410 ac_ext=cpp
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415
37416
37417 for wx_func in round
37418 do
37419 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37420 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37421 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37422 echo $ECHO_N "(cached) $ECHO_C" >&6
37423 else
37424
37425 cat >conftest.$ac_ext <<_ACEOF
37426
37427 /* confdefs.h. */
37428 _ACEOF
37429 cat confdefs.h >>conftest.$ac_ext
37430 cat >>conftest.$ac_ext <<_ACEOF
37431 /* end confdefs.h. */
37432
37433 #include <math.h>
37434 $ac_includes_default
37435
37436 int
37437 main ()
37438 {
37439
37440 #ifndef $wx_func
37441 &$wx_func;
37442 #endif
37443
37444
37445 ;
37446 return 0;
37447 }
37448
37449 _ACEOF
37450 rm -f conftest.$ac_objext conftest$ac_exeext
37451 if { (ac_try="$ac_link"
37452 case "(($ac_try" in
37453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37454 *) ac_try_echo=$ac_try;;
37455 esac
37456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37457 (eval "$ac_link") 2>conftest.er1
37458 ac_status=$?
37459 grep -v '^ *+' conftest.er1 >conftest.err
37460 rm -f conftest.er1
37461 cat conftest.err >&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } && {
37464 test -z "$ac_cxx_werror_flag" ||
37465 test ! -s conftest.err
37466 } && test -s conftest$ac_exeext &&
37467 $as_test_x conftest$ac_exeext; then
37468 eval wx_cv_func_$wx_func=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37472
37473 eval wx_cv_func_$wx_func=no
37474 fi
37475
37476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37477 conftest$ac_exeext conftest.$ac_ext
37478
37479 fi
37480 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37481 { echo "$as_me:$LINENO: result: $ac_res" >&5
37482 echo "${ECHO_T}$ac_res" >&6; }
37483
37484 if eval test \$wx_cv_func_$wx_func = yes
37485 then
37486 cat >>confdefs.h <<_ACEOF
37487 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37488 _ACEOF
37489
37490
37491 else
37492 :
37493
37494 fi
37495 done
37496
37497 ac_ext=c
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37502
37503
37504 if test "$TOOLKIT" != "MSW"; then
37505
37506 if test "$wxUSE_LIBICONV" != "no" ; then
37507
37508
37509
37510 # Check whether --with-libiconv-prefix was given.
37511 if test "${with_libiconv_prefix+set}" = set; then
37512 withval=$with_libiconv_prefix;
37513 for dir in `echo "$withval" | tr : ' '`; do
37514 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37515 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37516 done
37517
37518 fi
37519
37520
37521 { echo "$as_me:$LINENO: checking for iconv" >&5
37522 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37523 if test "${am_cv_func_iconv+set}" = set; then
37524 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 else
37526
37527 am_cv_func_iconv="no, consider installing GNU libiconv"
37528 am_cv_lib_iconv=no
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 #include <stdlib.h>
37536 #include <iconv.h>
37537 int
37538 main ()
37539 {
37540 iconv_t cd = iconv_open("","");
37541 iconv(cd,NULL,NULL,NULL,NULL);
37542 iconv_close(cd);
37543 ;
37544 return 0;
37545 }
37546 _ACEOF
37547 rm -f conftest.$ac_objext conftest$ac_exeext
37548 if { (ac_try="$ac_link"
37549 case "(($ac_try" in
37550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37551 *) ac_try_echo=$ac_try;;
37552 esac
37553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37554 (eval "$ac_link") 2>conftest.er1
37555 ac_status=$?
37556 grep -v '^ *+' conftest.er1 >conftest.err
37557 rm -f conftest.er1
37558 cat conftest.err >&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); } && {
37561 test -z "$ac_c_werror_flag" ||
37562 test ! -s conftest.err
37563 } && test -s conftest$ac_exeext &&
37564 $as_test_x conftest$ac_exeext; then
37565 am_cv_func_iconv=yes
37566 else
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.$ac_ext >&5
37569
37570
37571 fi
37572
37573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37574 conftest$ac_exeext conftest.$ac_ext
37575 if test "$am_cv_func_iconv" != yes; then
37576 am_save_LIBS="$LIBS"
37577 LIBS="$LIBS -liconv"
37578 cat >conftest.$ac_ext <<_ACEOF
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584 #include <stdlib.h>
37585 #include <iconv.h>
37586 int
37587 main ()
37588 {
37589 iconv_t cd = iconv_open("","");
37590 iconv(cd,NULL,NULL,NULL,NULL);
37591 iconv_close(cd);
37592 ;
37593 return 0;
37594 }
37595 _ACEOF
37596 rm -f conftest.$ac_objext conftest$ac_exeext
37597 if { (ac_try="$ac_link"
37598 case "(($ac_try" in
37599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37600 *) ac_try_echo=$ac_try;;
37601 esac
37602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37603 (eval "$ac_link") 2>conftest.er1
37604 ac_status=$?
37605 grep -v '^ *+' conftest.er1 >conftest.err
37606 rm -f conftest.er1
37607 cat conftest.err >&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); } && {
37610 test -z "$ac_c_werror_flag" ||
37611 test ! -s conftest.err
37612 } && test -s conftest$ac_exeext &&
37613 $as_test_x conftest$ac_exeext; then
37614 am_cv_lib_iconv=yes
37615 am_cv_func_iconv=yes
37616 else
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37619
37620
37621 fi
37622
37623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37624 conftest$ac_exeext conftest.$ac_ext
37625 LIBS="$am_save_LIBS"
37626 fi
37627
37628 fi
37629 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37630 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37631 if test "$am_cv_func_iconv" = yes; then
37632
37633 cat >>confdefs.h <<\_ACEOF
37634 #define HAVE_ICONV 1
37635 _ACEOF
37636
37637 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37638 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37639 if test "${wx_cv_func_iconv_const+set}" = set; then
37640 echo $ECHO_N "(cached) $ECHO_C" >&6
37641 else
37642 cat >conftest.$ac_ext <<_ACEOF
37643 /* confdefs.h. */
37644 _ACEOF
37645 cat confdefs.h >>conftest.$ac_ext
37646 cat >>conftest.$ac_ext <<_ACEOF
37647 /* end confdefs.h. */
37648
37649 #include <stdlib.h>
37650 #include <iconv.h>
37651 extern
37652 #ifdef __cplusplus
37653 "C"
37654 #endif
37655 #if defined(__STDC__) || defined(__cplusplus)
37656 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37657 #else
37658 size_t iconv();
37659 #endif
37660
37661 int
37662 main ()
37663 {
37664
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 rm -f conftest.$ac_objext
37670 if { (ac_try="$ac_compile"
37671 case "(($ac_try" in
37672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37673 *) ac_try_echo=$ac_try;;
37674 esac
37675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37676 (eval "$ac_compile") 2>conftest.er1
37677 ac_status=$?
37678 grep -v '^ *+' conftest.er1 >conftest.err
37679 rm -f conftest.er1
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } && {
37683 test -z "$ac_c_werror_flag" ||
37684 test ! -s conftest.err
37685 } && test -s conftest.$ac_objext; then
37686 wx_cv_func_iconv_const="no"
37687 else
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37690
37691 wx_cv_func_iconv_const="yes"
37692
37693 fi
37694
37695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37696
37697 fi
37698 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37699 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37700
37701 iconv_const=
37702 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37703 iconv_const="const"
37704 fi
37705
37706
37707 cat >>confdefs.h <<_ACEOF
37708 #define ICONV_CONST $iconv_const
37709 _ACEOF
37710
37711 fi
37712 LIBICONV=
37713 if test "$am_cv_lib_iconv" = yes; then
37714 LIBICONV="-liconv"
37715 fi
37716
37717
37718 LIBS="$LIBICONV $LIBS"
37719 fi
37720
37721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37722
37723 for ac_func in sigaction
37724 do
37725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37726 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37728 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37729 echo $ECHO_N "(cached) $ECHO_C" >&6
37730 else
37731 cat >conftest.$ac_ext <<_ACEOF
37732 /* confdefs.h. */
37733 _ACEOF
37734 cat confdefs.h >>conftest.$ac_ext
37735 cat >>conftest.$ac_ext <<_ACEOF
37736 /* end confdefs.h. */
37737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37739 #define $ac_func innocuous_$ac_func
37740
37741 /* System header to define __stub macros and hopefully few prototypes,
37742 which can conflict with char $ac_func (); below.
37743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37744 <limits.h> exists even on freestanding compilers. */
37745
37746 #ifdef __STDC__
37747 # include <limits.h>
37748 #else
37749 # include <assert.h>
37750 #endif
37751
37752 #undef $ac_func
37753
37754 /* Override any GCC internal prototype to avoid an error.
37755 Use char because int might match the return type of a GCC
37756 builtin and then its argument prototype would still apply. */
37757 #ifdef __cplusplus
37758 extern "C"
37759 #endif
37760 char $ac_func ();
37761 /* The GNU C library defines this for functions which it implements
37762 to always fail with ENOSYS. Some functions are actually named
37763 something starting with __ and the normal name is an alias. */
37764 #if defined __stub_$ac_func || defined __stub___$ac_func
37765 choke me
37766 #endif
37767
37768 int
37769 main ()
37770 {
37771 return $ac_func ();
37772 ;
37773 return 0;
37774 }
37775 _ACEOF
37776 rm -f conftest.$ac_objext conftest$ac_exeext
37777 if { (ac_try="$ac_link"
37778 case "(($ac_try" in
37779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37780 *) ac_try_echo=$ac_try;;
37781 esac
37782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37783 (eval "$ac_link") 2>conftest.er1
37784 ac_status=$?
37785 grep -v '^ *+' conftest.er1 >conftest.err
37786 rm -f conftest.er1
37787 cat conftest.err >&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); } && {
37790 test -z "$ac_c_werror_flag" ||
37791 test ! -s conftest.err
37792 } && test -s conftest$ac_exeext &&
37793 $as_test_x conftest$ac_exeext; then
37794 eval "$as_ac_var=yes"
37795 else
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37798
37799 eval "$as_ac_var=no"
37800 fi
37801
37802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37803 conftest$ac_exeext conftest.$ac_ext
37804 fi
37805 ac_res=`eval echo '${'$as_ac_var'}'`
37806 { echo "$as_me:$LINENO: result: $ac_res" >&5
37807 echo "${ECHO_T}$ac_res" >&6; }
37808 if test `eval echo '${'$as_ac_var'}'` = yes; then
37809 cat >>confdefs.h <<_ACEOF
37810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37811 _ACEOF
37812
37813 fi
37814 done
37815
37816
37817 if test "$ac_cv_func_sigaction" = "no"; then
37818 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37819 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37820 wxUSE_ON_FATAL_EXCEPTION=no
37821 fi
37822
37823 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37824 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37825 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37826 if test "${wx_cv_type_sa_handler+set}" = set; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37828 else
37829
37830 ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836 cat >conftest.$ac_ext <<_ACEOF
37837 /* confdefs.h. */
37838 _ACEOF
37839 cat confdefs.h >>conftest.$ac_ext
37840 cat >>conftest.$ac_ext <<_ACEOF
37841 /* end confdefs.h. */
37842 #include <signal.h>
37843 int
37844 main ()
37845 {
37846
37847 extern void testSigHandler(int);
37848
37849 struct sigaction sa;
37850 sa.sa_handler = testSigHandler;
37851
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 rm -f conftest.$ac_objext
37857 if { (ac_try="$ac_compile"
37858 case "(($ac_try" in
37859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37861 esac
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_compile") 2>conftest.er1
37864 ac_status=$?
37865 grep -v '^ *+' conftest.er1 >conftest.err
37866 rm -f conftest.er1
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_cxx_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest.$ac_objext; then
37873
37874 wx_cv_type_sa_handler=int
37875
37876 else
37877 echo "$as_me: failed program was:" >&5
37878 sed 's/^/| /' conftest.$ac_ext >&5
37879
37880
37881 wx_cv_type_sa_handler=void
37882
37883 fi
37884
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37886 ac_ext=c
37887 ac_cpp='$CPP $CPPFLAGS'
37888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891
37892
37893 fi
37894 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37895 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37896
37897 cat >>confdefs.h <<_ACEOF
37898 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37899 _ACEOF
37900
37901 fi
37902 fi
37903
37904 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37905 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37906 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37907 if test "${wx_cv_func_backtrace+set}" = set; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910
37911 ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916
37917 cat >conftest.$ac_ext <<_ACEOF
37918 /* confdefs.h. */
37919 _ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923 #include <execinfo.h>
37924 int
37925 main ()
37926 {
37927
37928 void *trace[1];
37929 char **messages;
37930
37931 backtrace(trace, 1);
37932 messages = backtrace_symbols(trace, 1);
37933
37934 ;
37935 return 0;
37936 }
37937 _ACEOF
37938 rm -f conftest.$ac_objext
37939 if { (ac_try="$ac_compile"
37940 case "(($ac_try" in
37941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37942 *) ac_try_echo=$ac_try;;
37943 esac
37944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37945 (eval "$ac_compile") 2>conftest.er1
37946 ac_status=$?
37947 grep -v '^ *+' conftest.er1 >conftest.err
37948 rm -f conftest.er1
37949 cat conftest.err >&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); } && {
37952 test -z "$ac_cxx_werror_flag" ||
37953 test ! -s conftest.err
37954 } && test -s conftest.$ac_objext; then
37955 wx_cv_func_backtrace=yes
37956 else
37957 echo "$as_me: failed program was:" >&5
37958 sed 's/^/| /' conftest.$ac_ext >&5
37959
37960 wx_cv_func_backtrace=no
37961
37962 fi
37963
37964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965 ac_ext=c
37966 ac_cpp='$CPP $CPPFLAGS'
37967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37970
37971
37972
37973 fi
37974 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37975 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37976
37977
37978 if test "$wx_cv_func_backtrace" = "no"; then
37979 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37980 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37981 wxUSE_STACKWALKER=no
37982 else
37983 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37984 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37985 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37986 echo $ECHO_N "(cached) $ECHO_C" >&6
37987 else
37988
37989 ac_ext=cpp
37990 ac_cpp='$CXXCPP $CPPFLAGS'
37991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37994
37995 cat >conftest.$ac_ext <<_ACEOF
37996 /* confdefs.h. */
37997 _ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h. */
38001 #include <cxxabi.h>
38002 int
38003 main ()
38004 {
38005
38006 int rc;
38007 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38008
38009 ;
38010 return 0;
38011 }
38012 _ACEOF
38013 rm -f conftest.$ac_objext conftest$ac_exeext
38014 if { (ac_try="$ac_link"
38015 case "(($ac_try" in
38016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38017 *) ac_try_echo=$ac_try;;
38018 esac
38019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38020 (eval "$ac_link") 2>conftest.er1
38021 ac_status=$?
38022 grep -v '^ *+' conftest.er1 >conftest.err
38023 rm -f conftest.er1
38024 cat conftest.err >&5
38025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38026 (exit $ac_status); } && {
38027 test -z "$ac_cxx_werror_flag" ||
38028 test ! -s conftest.err
38029 } && test -s conftest$ac_exeext &&
38030 $as_test_x conftest$ac_exeext; then
38031 wx_cv_func_cxa_demangle=yes
38032 else
38033 echo "$as_me: failed program was:" >&5
38034 sed 's/^/| /' conftest.$ac_ext >&5
38035
38036 wx_cv_func_cxa_demangle=no
38037
38038 fi
38039
38040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38041 conftest$ac_exeext conftest.$ac_ext
38042 ac_ext=c
38043 ac_cpp='$CPP $CPPFLAGS'
38044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38047
38048
38049
38050 fi
38051 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38052 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38053
38054 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38055 cat >>confdefs.h <<\_ACEOF
38056 #define HAVE_CXA_DEMANGLE 1
38057 _ACEOF
38058
38059 fi
38060 fi
38061 fi
38062
38063 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38064 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38065 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38066 wxUSE_STACKWALKER=no
38067 fi
38068
38069
38070
38071
38072 for ac_func in mkstemp mktemp
38073 do
38074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38075 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38077 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38079 else
38080 cat >conftest.$ac_ext <<_ACEOF
38081 /* confdefs.h. */
38082 _ACEOF
38083 cat confdefs.h >>conftest.$ac_ext
38084 cat >>conftest.$ac_ext <<_ACEOF
38085 /* end confdefs.h. */
38086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38088 #define $ac_func innocuous_$ac_func
38089
38090 /* System header to define __stub macros and hopefully few prototypes,
38091 which can conflict with char $ac_func (); below.
38092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38093 <limits.h> exists even on freestanding compilers. */
38094
38095 #ifdef __STDC__
38096 # include <limits.h>
38097 #else
38098 # include <assert.h>
38099 #endif
38100
38101 #undef $ac_func
38102
38103 /* Override any GCC internal prototype to avoid an error.
38104 Use char because int might match the return type of a GCC
38105 builtin and then its argument prototype would still apply. */
38106 #ifdef __cplusplus
38107 extern "C"
38108 #endif
38109 char $ac_func ();
38110 /* The GNU C library defines this for functions which it implements
38111 to always fail with ENOSYS. Some functions are actually named
38112 something starting with __ and the normal name is an alias. */
38113 #if defined __stub_$ac_func || defined __stub___$ac_func
38114 choke me
38115 #endif
38116
38117 int
38118 main ()
38119 {
38120 return $ac_func ();
38121 ;
38122 return 0;
38123 }
38124 _ACEOF
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (ac_try="$ac_link"
38127 case "(($ac_try" in
38128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38129 *) ac_try_echo=$ac_try;;
38130 esac
38131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38132 (eval "$ac_link") 2>conftest.er1
38133 ac_status=$?
38134 grep -v '^ *+' conftest.er1 >conftest.err
38135 rm -f conftest.er1
38136 cat conftest.err >&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); } && {
38139 test -z "$ac_c_werror_flag" ||
38140 test ! -s conftest.err
38141 } && test -s conftest$ac_exeext &&
38142 $as_test_x conftest$ac_exeext; then
38143 eval "$as_ac_var=yes"
38144 else
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.$ac_ext >&5
38147
38148 eval "$as_ac_var=no"
38149 fi
38150
38151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38152 conftest$ac_exeext conftest.$ac_ext
38153 fi
38154 ac_res=`eval echo '${'$as_ac_var'}'`
38155 { echo "$as_me:$LINENO: result: $ac_res" >&5
38156 echo "${ECHO_T}$ac_res" >&6; }
38157 if test `eval echo '${'$as_ac_var'}'` = yes; then
38158 cat >>confdefs.h <<_ACEOF
38159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38160 _ACEOF
38161 break
38162 fi
38163 done
38164
38165
38166 { echo "$as_me:$LINENO: checking for statfs" >&5
38167 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38168 if test "${wx_cv_func_statfs+set}" = set; then
38169 echo $ECHO_N "(cached) $ECHO_C" >&6
38170 else
38171 cat >conftest.$ac_ext <<_ACEOF
38172 /* confdefs.h. */
38173 _ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177
38178 #if defined(__BSD__)
38179 #include <sys/param.h>
38180 #include <sys/mount.h>
38181 #else
38182 #include <sys/vfs.h>
38183 #endif
38184
38185 int
38186 main ()
38187 {
38188
38189 long l;
38190 struct statfs fs;
38191 statfs("/", &fs);
38192 l = fs.f_bsize;
38193 l += fs.f_blocks;
38194 l += fs.f_bavail;
38195
38196 ;
38197 return 0;
38198 }
38199 _ACEOF
38200 rm -f conftest.$ac_objext
38201 if { (ac_try="$ac_compile"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38205 esac
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_compile") 2>conftest.er1
38208 ac_status=$?
38209 grep -v '^ *+' conftest.er1 >conftest.err
38210 rm -f conftest.er1
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest.$ac_objext; then
38217 wx_cv_func_statfs=yes
38218 else
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38221
38222 wx_cv_func_statfs=no
38223
38224 fi
38225
38226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38227
38228 fi
38229 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38230 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38231
38232 if test "$wx_cv_func_statfs" = "yes"; then
38233 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38234 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38235 if test "${wx_cv_func_statfs_decl+set}" = set; then
38236 echo $ECHO_N "(cached) $ECHO_C" >&6
38237 else
38238 ac_ext=cpp
38239 ac_cpp='$CXXCPP $CPPFLAGS'
38240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38243
38244 cat >conftest.$ac_ext <<_ACEOF
38245 /* confdefs.h. */
38246 _ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38250
38251 #if defined(__BSD__)
38252 #include <sys/param.h>
38253 #include <sys/mount.h>
38254 #else
38255 #include <sys/vfs.h>
38256 #endif
38257
38258 int
38259 main ()
38260 {
38261
38262 struct statfs fs;
38263 statfs("", &fs);
38264
38265 ;
38266 return 0;
38267 }
38268 _ACEOF
38269 rm -f conftest.$ac_objext
38270 if { (ac_try="$ac_compile"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38273 *) ac_try_echo=$ac_try;;
38274 esac
38275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_compile") 2>conftest.er1
38277 ac_status=$?
38278 grep -v '^ *+' conftest.er1 >conftest.err
38279 rm -f conftest.er1
38280 cat conftest.err >&5
38281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_cxx_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest.$ac_objext; then
38286 wx_cv_func_statfs_decl=yes
38287 else
38288 echo "$as_me: failed program was:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38290
38291 wx_cv_func_statfs_decl=no
38292
38293 fi
38294
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38301
38302
38303 fi
38304 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38305 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38306
38307 if test "$wx_cv_func_statfs_decl" = "yes"; then
38308 cat >>confdefs.h <<\_ACEOF
38309 #define HAVE_STATFS_DECL 1
38310 _ACEOF
38311
38312 fi
38313
38314 wx_cv_type_statvfs_t="struct statfs"
38315 cat >>confdefs.h <<\_ACEOF
38316 #define HAVE_STATFS 1
38317 _ACEOF
38318
38319 else
38320 { echo "$as_me:$LINENO: checking for statvfs" >&5
38321 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38322 if test "${wx_cv_func_statvfs+set}" = set; then
38323 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 else
38325 cat >conftest.$ac_ext <<_ACEOF
38326 /* confdefs.h. */
38327 _ACEOF
38328 cat confdefs.h >>conftest.$ac_ext
38329 cat >>conftest.$ac_ext <<_ACEOF
38330 /* end confdefs.h. */
38331
38332 #include <stddef.h>
38333 #include <sys/statvfs.h>
38334
38335 int
38336 main ()
38337 {
38338
38339 statvfs("/", NULL);
38340
38341 ;
38342 return 0;
38343 }
38344 _ACEOF
38345 rm -f conftest.$ac_objext
38346 if { (ac_try="$ac_compile"
38347 case "(($ac_try" in
38348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38349 *) ac_try_echo=$ac_try;;
38350 esac
38351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38352 (eval "$ac_compile") 2>conftest.er1
38353 ac_status=$?
38354 grep -v '^ *+' conftest.er1 >conftest.err
38355 rm -f conftest.er1
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } && {
38359 test -z "$ac_c_werror_flag" ||
38360 test ! -s conftest.err
38361 } && test -s conftest.$ac_objext; then
38362 wx_cv_func_statvfs=yes
38363 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38366
38367 wx_cv_func_statvfs=no
38368
38369 fi
38370
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372
38373 fi
38374 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38375 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38376
38377 if test "$wx_cv_func_statvfs" = "yes"; then
38378 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38379 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38380 if test "${wx_cv_type_statvfs_t+set}" = set; then
38381 echo $ECHO_N "(cached) $ECHO_C" >&6
38382 else
38383 ac_ext=cpp
38384 ac_cpp='$CXXCPP $CPPFLAGS'
38385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388
38389 cat >conftest.$ac_ext <<_ACEOF
38390 /* confdefs.h. */
38391 _ACEOF
38392 cat confdefs.h >>conftest.$ac_ext
38393 cat >>conftest.$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38395
38396 #include <sys/statvfs.h>
38397
38398 int
38399 main ()
38400 {
38401
38402 long l;
38403 statvfs_t fs;
38404 statvfs("/", &fs);
38405 l = fs.f_bsize;
38406 l += fs.f_blocks;
38407 l += fs.f_bavail;
38408
38409 ;
38410 return 0;
38411 }
38412 _ACEOF
38413 rm -f conftest.$ac_objext
38414 if { (ac_try="$ac_compile"
38415 case "(($ac_try" in
38416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38417 *) ac_try_echo=$ac_try;;
38418 esac
38419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38420 (eval "$ac_compile") 2>conftest.er1
38421 ac_status=$?
38422 grep -v '^ *+' conftest.er1 >conftest.err
38423 rm -f conftest.er1
38424 cat conftest.err >&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } && {
38427 test -z "$ac_cxx_werror_flag" ||
38428 test ! -s conftest.err
38429 } && test -s conftest.$ac_objext; then
38430 wx_cv_type_statvfs_t=statvfs_t
38431 else
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.$ac_ext >&5
38434
38435
38436 cat >conftest.$ac_ext <<_ACEOF
38437 /* confdefs.h. */
38438 _ACEOF
38439 cat confdefs.h >>conftest.$ac_ext
38440 cat >>conftest.$ac_ext <<_ACEOF
38441 /* end confdefs.h. */
38442
38443 #include <sys/statvfs.h>
38444
38445 int
38446 main ()
38447 {
38448
38449 long l;
38450 struct statvfs fs;
38451 statvfs("/", &fs);
38452 l = fs.f_bsize;
38453 l += fs.f_blocks;
38454 l += fs.f_bavail;
38455
38456 ;
38457 return 0;
38458 }
38459 _ACEOF
38460 rm -f conftest.$ac_objext
38461 if { (ac_try="$ac_compile"
38462 case "(($ac_try" in
38463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38464 *) ac_try_echo=$ac_try;;
38465 esac
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_compile") 2>conftest.er1
38468 ac_status=$?
38469 grep -v '^ *+' conftest.er1 >conftest.err
38470 rm -f conftest.er1
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_cxx_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest.$ac_objext; then
38477 wx_cv_type_statvfs_t="struct statvfs"
38478 else
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38481
38482 wx_cv_type_statvfs_t="unknown"
38483
38484 fi
38485
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38487
38488
38489 fi
38490
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38501 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38502
38503 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_STATVFS 1
38506 _ACEOF
38507
38508 fi
38509 else
38510 wx_cv_type_statvfs_t="unknown"
38511 fi
38512 fi
38513
38514 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38515 cat >>confdefs.h <<_ACEOF
38516 #define WX_STATFS_T $wx_cv_type_statvfs_t
38517 _ACEOF
38518
38519 else
38520 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38521 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38522 fi
38523
38524 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38525
38526
38527 for ac_func in fcntl flock
38528 do
38529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38533 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 else
38535 cat >conftest.$ac_ext <<_ACEOF
38536 /* confdefs.h. */
38537 _ACEOF
38538 cat confdefs.h >>conftest.$ac_ext
38539 cat >>conftest.$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38543 #define $ac_func innocuous_$ac_func
38544
38545 /* System header to define __stub macros and hopefully few prototypes,
38546 which can conflict with char $ac_func (); below.
38547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38548 <limits.h> exists even on freestanding compilers. */
38549
38550 #ifdef __STDC__
38551 # include <limits.h>
38552 #else
38553 # include <assert.h>
38554 #endif
38555
38556 #undef $ac_func
38557
38558 /* Override any GCC internal prototype to avoid an error.
38559 Use char because int might match the return type of a GCC
38560 builtin and then its argument prototype would still apply. */
38561 #ifdef __cplusplus
38562 extern "C"
38563 #endif
38564 char $ac_func ();
38565 /* The GNU C library defines this for functions which it implements
38566 to always fail with ENOSYS. Some functions are actually named
38567 something starting with __ and the normal name is an alias. */
38568 #if defined __stub_$ac_func || defined __stub___$ac_func
38569 choke me
38570 #endif
38571
38572 int
38573 main ()
38574 {
38575 return $ac_func ();
38576 ;
38577 return 0;
38578 }
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38585 esac
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 eval "$as_ac_var=yes"
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603 eval "$as_ac_var=no"
38604 fi
38605
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38608 fi
38609 ac_res=`eval echo '${'$as_ac_var'}'`
38610 { echo "$as_me:$LINENO: result: $ac_res" >&5
38611 echo "${ECHO_T}$ac_res" >&6; }
38612 if test `eval echo '${'$as_ac_var'}'` = yes; then
38613 cat >>confdefs.h <<_ACEOF
38614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38615 _ACEOF
38616 break
38617 fi
38618 done
38619
38620
38621 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38622 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38623 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38624 wxUSE_SNGLINST_CHECKER=no
38625 fi
38626 fi
38627
38628
38629
38630 for ac_func in setenv putenv
38631 do
38632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38637 else
38638 cat >conftest.$ac_ext <<_ACEOF
38639 /* confdefs.h. */
38640 _ACEOF
38641 cat confdefs.h >>conftest.$ac_ext
38642 cat >>conftest.$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38646 #define $ac_func innocuous_$ac_func
38647
38648 /* System header to define __stub macros and hopefully few prototypes,
38649 which can conflict with char $ac_func (); below.
38650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38651 <limits.h> exists even on freestanding compilers. */
38652
38653 #ifdef __STDC__
38654 # include <limits.h>
38655 #else
38656 # include <assert.h>
38657 #endif
38658
38659 #undef $ac_func
38660
38661 /* Override any GCC internal prototype to avoid an error.
38662 Use char because int might match the return type of a GCC
38663 builtin and then its argument prototype would still apply. */
38664 #ifdef __cplusplus
38665 extern "C"
38666 #endif
38667 char $ac_func ();
38668 /* The GNU C library defines this for functions which it implements
38669 to always fail with ENOSYS. Some functions are actually named
38670 something starting with __ and the normal name is an alias. */
38671 #if defined __stub_$ac_func || defined __stub___$ac_func
38672 choke me
38673 #endif
38674
38675 int
38676 main ()
38677 {
38678 return $ac_func ();
38679 ;
38680 return 0;
38681 }
38682 _ACEOF
38683 rm -f conftest.$ac_objext conftest$ac_exeext
38684 if { (ac_try="$ac_link"
38685 case "(($ac_try" in
38686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38687 *) ac_try_echo=$ac_try;;
38688 esac
38689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38690 (eval "$ac_link") 2>conftest.er1
38691 ac_status=$?
38692 grep -v '^ *+' conftest.er1 >conftest.err
38693 rm -f conftest.er1
38694 cat conftest.err >&5
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); } && {
38697 test -z "$ac_c_werror_flag" ||
38698 test ! -s conftest.err
38699 } && test -s conftest$ac_exeext &&
38700 $as_test_x conftest$ac_exeext; then
38701 eval "$as_ac_var=yes"
38702 else
38703 echo "$as_me: failed program was:" >&5
38704 sed 's/^/| /' conftest.$ac_ext >&5
38705
38706 eval "$as_ac_var=no"
38707 fi
38708
38709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38710 conftest$ac_exeext conftest.$ac_ext
38711 fi
38712 ac_res=`eval echo '${'$as_ac_var'}'`
38713 { echo "$as_me:$LINENO: result: $ac_res" >&5
38714 echo "${ECHO_T}$ac_res" >&6; }
38715 if test `eval echo '${'$as_ac_var'}'` = yes; then
38716 cat >>confdefs.h <<_ACEOF
38717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38718 _ACEOF
38719 break
38720 fi
38721 done
38722
38723 if test "$ac_cv_func_setenv" = "yes"; then
38724
38725 for ac_func in unsetenv
38726 do
38727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38731 echo $ECHO_N "(cached) $ECHO_C" >&6
38732 else
38733 cat >conftest.$ac_ext <<_ACEOF
38734 /* confdefs.h. */
38735 _ACEOF
38736 cat confdefs.h >>conftest.$ac_ext
38737 cat >>conftest.$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38741 #define $ac_func innocuous_$ac_func
38742
38743 /* System header to define __stub macros and hopefully few prototypes,
38744 which can conflict with char $ac_func (); below.
38745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38746 <limits.h> exists even on freestanding compilers. */
38747
38748 #ifdef __STDC__
38749 # include <limits.h>
38750 #else
38751 # include <assert.h>
38752 #endif
38753
38754 #undef $ac_func
38755
38756 /* Override any GCC internal prototype to avoid an error.
38757 Use char because int might match the return type of a GCC
38758 builtin and then its argument prototype would still apply. */
38759 #ifdef __cplusplus
38760 extern "C"
38761 #endif
38762 char $ac_func ();
38763 /* The GNU C library defines this for functions which it implements
38764 to always fail with ENOSYS. Some functions are actually named
38765 something starting with __ and the normal name is an alias. */
38766 #if defined __stub_$ac_func || defined __stub___$ac_func
38767 choke me
38768 #endif
38769
38770 int
38771 main ()
38772 {
38773 return $ac_func ();
38774 ;
38775 return 0;
38776 }
38777 _ACEOF
38778 rm -f conftest.$ac_objext conftest$ac_exeext
38779 if { (ac_try="$ac_link"
38780 case "(($ac_try" in
38781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38782 *) ac_try_echo=$ac_try;;
38783 esac
38784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38785 (eval "$ac_link") 2>conftest.er1
38786 ac_status=$?
38787 grep -v '^ *+' conftest.er1 >conftest.err
38788 rm -f conftest.er1
38789 cat conftest.err >&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); } && {
38792 test -z "$ac_c_werror_flag" ||
38793 test ! -s conftest.err
38794 } && test -s conftest$ac_exeext &&
38795 $as_test_x conftest$ac_exeext; then
38796 eval "$as_ac_var=yes"
38797 else
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.$ac_ext >&5
38800
38801 eval "$as_ac_var=no"
38802 fi
38803
38804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38805 conftest$ac_exeext conftest.$ac_ext
38806 fi
38807 ac_res=`eval echo '${'$as_ac_var'}'`
38808 { echo "$as_me:$LINENO: result: $ac_res" >&5
38809 echo "${ECHO_T}$ac_res" >&6; }
38810 if test `eval echo '${'$as_ac_var'}'` = yes; then
38811 cat >>confdefs.h <<_ACEOF
38812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38813 _ACEOF
38814
38815 fi
38816 done
38817
38818 fi
38819
38820 HAVE_SOME_SLEEP_FUNC=0
38821 if test "$USE_BEOS" = 1; then
38822 cat >>confdefs.h <<\_ACEOF
38823 #define HAVE_SLEEP 1
38824 _ACEOF
38825
38826 HAVE_SOME_SLEEP_FUNC=1
38827 fi
38828
38829 if test "$USE_DARWIN" = 1; then
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_USLEEP 1
38832 _ACEOF
38833
38834 HAVE_SOME_SLEEP_FUNC=1
38835 fi
38836
38837 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38838 POSIX4_LINK=
38839
38840 for ac_func in nanosleep
38841 do
38842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38843 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38845 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38846 echo $ECHO_N "(cached) $ECHO_C" >&6
38847 else
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38856 #define $ac_func innocuous_$ac_func
38857
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char $ac_func (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38862
38863 #ifdef __STDC__
38864 # include <limits.h>
38865 #else
38866 # include <assert.h>
38867 #endif
38868
38869 #undef $ac_func
38870
38871 /* Override any GCC internal prototype to avoid an error.
38872 Use char because int might match the return type of a GCC
38873 builtin and then its argument prototype would still apply. */
38874 #ifdef __cplusplus
38875 extern "C"
38876 #endif
38877 char $ac_func ();
38878 /* The GNU C library defines this for functions which it implements
38879 to always fail with ENOSYS. Some functions are actually named
38880 something starting with __ and the normal name is an alias. */
38881 #if defined __stub_$ac_func || defined __stub___$ac_func
38882 choke me
38883 #endif
38884
38885 int
38886 main ()
38887 {
38888 return $ac_func ();
38889 ;
38890 return 0;
38891 }
38892 _ACEOF
38893 rm -f conftest.$ac_objext conftest$ac_exeext
38894 if { (ac_try="$ac_link"
38895 case "(($ac_try" in
38896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38897 *) ac_try_echo=$ac_try;;
38898 esac
38899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38900 (eval "$ac_link") 2>conftest.er1
38901 ac_status=$?
38902 grep -v '^ *+' conftest.er1 >conftest.err
38903 rm -f conftest.er1
38904 cat conftest.err >&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); } && {
38907 test -z "$ac_c_werror_flag" ||
38908 test ! -s conftest.err
38909 } && test -s conftest$ac_exeext &&
38910 $as_test_x conftest$ac_exeext; then
38911 eval "$as_ac_var=yes"
38912 else
38913 echo "$as_me: failed program was:" >&5
38914 sed 's/^/| /' conftest.$ac_ext >&5
38915
38916 eval "$as_ac_var=no"
38917 fi
38918
38919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38920 conftest$ac_exeext conftest.$ac_ext
38921 fi
38922 ac_res=`eval echo '${'$as_ac_var'}'`
38923 { echo "$as_me:$LINENO: result: $ac_res" >&5
38924 echo "${ECHO_T}$ac_res" >&6; }
38925 if test `eval echo '${'$as_ac_var'}'` = yes; then
38926 cat >>confdefs.h <<_ACEOF
38927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38928 _ACEOF
38929 cat >>confdefs.h <<\_ACEOF
38930 #define HAVE_NANOSLEEP 1
38931 _ACEOF
38932
38933 else
38934
38935 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38936 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38937 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 else
38940 ac_check_lib_save_LIBS=$LIBS
38941 LIBS="-lposix4 $LIBS"
38942 cat >conftest.$ac_ext <<_ACEOF
38943 /* confdefs.h. */
38944 _ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38948
38949 /* Override any GCC internal prototype to avoid an error.
38950 Use char because int might match the return type of a GCC
38951 builtin and then its argument prototype would still apply. */
38952 #ifdef __cplusplus
38953 extern "C"
38954 #endif
38955 char nanosleep ();
38956 int
38957 main ()
38958 {
38959 return nanosleep ();
38960 ;
38961 return 0;
38962 }
38963 _ACEOF
38964 rm -f conftest.$ac_objext conftest$ac_exeext
38965 if { (ac_try="$ac_link"
38966 case "(($ac_try" in
38967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38968 *) ac_try_echo=$ac_try;;
38969 esac
38970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38971 (eval "$ac_link") 2>conftest.er1
38972 ac_status=$?
38973 grep -v '^ *+' conftest.er1 >conftest.err
38974 rm -f conftest.er1
38975 cat conftest.err >&5
38976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38977 (exit $ac_status); } && {
38978 test -z "$ac_c_werror_flag" ||
38979 test ! -s conftest.err
38980 } && test -s conftest$ac_exeext &&
38981 $as_test_x conftest$ac_exeext; then
38982 ac_cv_lib_posix4_nanosleep=yes
38983 else
38984 echo "$as_me: failed program was:" >&5
38985 sed 's/^/| /' conftest.$ac_ext >&5
38986
38987 ac_cv_lib_posix4_nanosleep=no
38988 fi
38989
38990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38991 conftest$ac_exeext conftest.$ac_ext
38992 LIBS=$ac_check_lib_save_LIBS
38993 fi
38994 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38995 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38996 if test $ac_cv_lib_posix4_nanosleep = yes; then
38997
38998 cat >>confdefs.h <<\_ACEOF
38999 #define HAVE_NANOSLEEP 1
39000 _ACEOF
39001
39002 POSIX4_LINK=" -lposix4"
39003
39004 else
39005
39006
39007 for wx_func in usleep
39008 do
39009 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39010 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39011 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39013 else
39014
39015 cat >conftest.$ac_ext <<_ACEOF
39016
39017 /* confdefs.h. */
39018 _ACEOF
39019 cat confdefs.h >>conftest.$ac_ext
39020 cat >>conftest.$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39022
39023
39024 $ac_includes_default
39025
39026 int
39027 main ()
39028 {
39029
39030 #ifndef $wx_func
39031 &$wx_func;
39032 #endif
39033
39034
39035 ;
39036 return 0;
39037 }
39038
39039 _ACEOF
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 eval wx_cv_func_$wx_func=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 eval wx_cv_func_$wx_func=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39068
39069 fi
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39073
39074 if eval test \$wx_cv_func_$wx_func = yes
39075 then
39076 cat >>confdefs.h <<_ACEOF
39077 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39078 _ACEOF
39079
39080
39081 else
39082 :
39083 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39084 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39085
39086 fi
39087 done
39088
39089
39090
39091 fi
39092
39093
39094
39095 fi
39096 done
39097
39098 fi
39099
39100
39101 for wx_func in uname
39102 do
39103 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39104 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39105 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39106 echo $ECHO_N "(cached) $ECHO_C" >&6
39107 else
39108
39109 cat >conftest.$ac_ext <<_ACEOF
39110
39111 /* confdefs.h. */
39112 _ACEOF
39113 cat confdefs.h >>conftest.$ac_ext
39114 cat >>conftest.$ac_ext <<_ACEOF
39115 /* end confdefs.h. */
39116
39117 #include <sys/utsname.h>
39118 $ac_includes_default
39119
39120 int
39121 main ()
39122 {
39123
39124 #ifndef $wx_func
39125 &$wx_func;
39126 #endif
39127
39128
39129 ;
39130 return 0;
39131 }
39132
39133 _ACEOF
39134 rm -f conftest.$ac_objext conftest$ac_exeext
39135 if { (ac_try="$ac_link"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39139 esac
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_link") 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest$ac_exeext &&
39151 $as_test_x conftest$ac_exeext; then
39152 eval wx_cv_func_$wx_func=yes
39153 else
39154 echo "$as_me: failed program was:" >&5
39155 sed 's/^/| /' conftest.$ac_ext >&5
39156
39157 eval wx_cv_func_$wx_func=no
39158 fi
39159
39160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39161 conftest$ac_exeext conftest.$ac_ext
39162
39163 fi
39164 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39165 { echo "$as_me:$LINENO: result: $ac_res" >&5
39166 echo "${ECHO_T}$ac_res" >&6; }
39167
39168 if eval test \$wx_cv_func_$wx_func = yes
39169 then
39170 cat >>confdefs.h <<_ACEOF
39171 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39172 _ACEOF
39173
39174
39175 else
39176 :
39177
39178 fi
39179 done
39180
39181 if test "$wx_cv_func_uname" != yes; then
39182
39183 for wx_func in gethostname
39184 do
39185 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39187 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 else
39190
39191 cat >conftest.$ac_ext <<_ACEOF
39192
39193 /* confdefs.h. */
39194 _ACEOF
39195 cat confdefs.h >>conftest.$ac_ext
39196 cat >>conftest.$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39198
39199
39200 $ac_includes_default
39201
39202 int
39203 main ()
39204 {
39205
39206 #ifndef $wx_func
39207 &$wx_func;
39208 #endif
39209
39210
39211 ;
39212 return 0;
39213 }
39214
39215 _ACEOF
39216 rm -f conftest.$ac_objext conftest$ac_exeext
39217 if { (ac_try="$ac_link"
39218 case "(($ac_try" in
39219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39220 *) ac_try_echo=$ac_try;;
39221 esac
39222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39223 (eval "$ac_link") 2>conftest.er1
39224 ac_status=$?
39225 grep -v '^ *+' conftest.er1 >conftest.err
39226 rm -f conftest.er1
39227 cat conftest.err >&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } && {
39230 test -z "$ac_c_werror_flag" ||
39231 test ! -s conftest.err
39232 } && test -s conftest$ac_exeext &&
39233 $as_test_x conftest$ac_exeext; then
39234 eval wx_cv_func_$wx_func=yes
39235 else
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39238
39239 eval wx_cv_func_$wx_func=no
39240 fi
39241
39242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39243 conftest$ac_exeext conftest.$ac_ext
39244
39245 fi
39246 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39247 { echo "$as_me:$LINENO: result: $ac_res" >&5
39248 echo "${ECHO_T}$ac_res" >&6; }
39249
39250 if eval test \$wx_cv_func_$wx_func = yes
39251 then
39252 cat >>confdefs.h <<_ACEOF
39253 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39254 _ACEOF
39255
39256
39257 else
39258 :
39259
39260 fi
39261 done
39262
39263 fi
39264
39265
39266 for wx_func in strtok_r
39267 do
39268 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39269 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39270 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39271 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 else
39273
39274 cat >conftest.$ac_ext <<_ACEOF
39275
39276 /* confdefs.h. */
39277 _ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281
39282 #define _REENTRANT
39283 $ac_includes_default
39284
39285 int
39286 main ()
39287 {
39288
39289 #ifndef $wx_func
39290 &$wx_func;
39291 #endif
39292
39293
39294 ;
39295 return 0;
39296 }
39297
39298 _ACEOF
39299 rm -f conftest.$ac_objext conftest$ac_exeext
39300 if { (ac_try="$ac_link"
39301 case "(($ac_try" in
39302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39303 *) ac_try_echo=$ac_try;;
39304 esac
39305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39306 (eval "$ac_link") 2>conftest.er1
39307 ac_status=$?
39308 grep -v '^ *+' conftest.er1 >conftest.err
39309 rm -f conftest.er1
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } && {
39313 test -z "$ac_c_werror_flag" ||
39314 test ! -s conftest.err
39315 } && test -s conftest$ac_exeext &&
39316 $as_test_x conftest$ac_exeext; then
39317 eval wx_cv_func_$wx_func=yes
39318 else
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.$ac_ext >&5
39321
39322 eval wx_cv_func_$wx_func=no
39323 fi
39324
39325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39326 conftest$ac_exeext conftest.$ac_ext
39327
39328 fi
39329 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39330 { echo "$as_me:$LINENO: result: $ac_res" >&5
39331 echo "${ECHO_T}$ac_res" >&6; }
39332
39333 if eval test \$wx_cv_func_$wx_func = yes
39334 then
39335 cat >>confdefs.h <<_ACEOF
39336 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39337 _ACEOF
39338
39339
39340 else
39341 :
39342
39343 fi
39344 done
39345
39346
39347 INET_LINK=
39348
39349 for ac_func in inet_addr
39350 do
39351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39357 cat >conftest.$ac_ext <<_ACEOF
39358 /* confdefs.h. */
39359 _ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39365 #define $ac_func innocuous_$ac_func
39366
39367 /* System header to define __stub macros and hopefully few prototypes,
39368 which can conflict with char $ac_func (); below.
39369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39370 <limits.h> exists even on freestanding compilers. */
39371
39372 #ifdef __STDC__
39373 # include <limits.h>
39374 #else
39375 # include <assert.h>
39376 #endif
39377
39378 #undef $ac_func
39379
39380 /* Override any GCC internal prototype to avoid an error.
39381 Use char because int might match the return type of a GCC
39382 builtin and then its argument prototype would still apply. */
39383 #ifdef __cplusplus
39384 extern "C"
39385 #endif
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined __stub_$ac_func || defined __stub___$ac_func
39391 choke me
39392 #endif
39393
39394 int
39395 main ()
39396 {
39397 return $ac_func ();
39398 ;
39399 return 0;
39400 }
39401 _ACEOF
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (ac_try="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39407 esac
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval "$as_ac_var=yes"
39421 else
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425 eval "$as_ac_var=no"
39426 fi
39427
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39430 fi
39431 ac_res=`eval echo '${'$as_ac_var'}'`
39432 { echo "$as_me:$LINENO: result: $ac_res" >&5
39433 echo "${ECHO_T}$ac_res" >&6; }
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39437 _ACEOF
39438 cat >>confdefs.h <<\_ACEOF
39439 #define HAVE_INET_ADDR 1
39440 _ACEOF
39441
39442 else
39443
39444 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39445 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39446 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39447 echo $ECHO_N "(cached) $ECHO_C" >&6
39448 else
39449 ac_check_lib_save_LIBS=$LIBS
39450 LIBS="-lnsl $LIBS"
39451 cat >conftest.$ac_ext <<_ACEOF
39452 /* confdefs.h. */
39453 _ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39457
39458 /* Override any GCC internal prototype to avoid an error.
39459 Use char because int might match the return type of a GCC
39460 builtin and then its argument prototype would still apply. */
39461 #ifdef __cplusplus
39462 extern "C"
39463 #endif
39464 char inet_addr ();
39465 int
39466 main ()
39467 {
39468 return inet_addr ();
39469 ;
39470 return 0;
39471 }
39472 _ACEOF
39473 rm -f conftest.$ac_objext conftest$ac_exeext
39474 if { (ac_try="$ac_link"
39475 case "(($ac_try" in
39476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39477 *) ac_try_echo=$ac_try;;
39478 esac
39479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39480 (eval "$ac_link") 2>conftest.er1
39481 ac_status=$?
39482 grep -v '^ *+' conftest.er1 >conftest.err
39483 rm -f conftest.er1
39484 cat conftest.err >&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } && {
39487 test -z "$ac_c_werror_flag" ||
39488 test ! -s conftest.err
39489 } && test -s conftest$ac_exeext &&
39490 $as_test_x conftest$ac_exeext; then
39491 ac_cv_lib_nsl_inet_addr=yes
39492 else
39493 echo "$as_me: failed program was:" >&5
39494 sed 's/^/| /' conftest.$ac_ext >&5
39495
39496 ac_cv_lib_nsl_inet_addr=no
39497 fi
39498
39499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39500 conftest$ac_exeext conftest.$ac_ext
39501 LIBS=$ac_check_lib_save_LIBS
39502 fi
39503 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39504 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39505 if test $ac_cv_lib_nsl_inet_addr = yes; then
39506 INET_LINK="nsl"
39507 else
39508
39509 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39510 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39511 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39512 echo $ECHO_N "(cached) $ECHO_C" >&6
39513 else
39514 ac_check_lib_save_LIBS=$LIBS
39515 LIBS="-lresolv $LIBS"
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522
39523 /* Override any GCC internal prototype to avoid an error.
39524 Use char because int might match the return type of a GCC
39525 builtin and then its argument prototype would still apply. */
39526 #ifdef __cplusplus
39527 extern "C"
39528 #endif
39529 char inet_addr ();
39530 int
39531 main ()
39532 {
39533 return inet_addr ();
39534 ;
39535 return 0;
39536 }
39537 _ACEOF
39538 rm -f conftest.$ac_objext conftest$ac_exeext
39539 if { (ac_try="$ac_link"
39540 case "(($ac_try" in
39541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39542 *) ac_try_echo=$ac_try;;
39543 esac
39544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39545 (eval "$ac_link") 2>conftest.er1
39546 ac_status=$?
39547 grep -v '^ *+' conftest.er1 >conftest.err
39548 rm -f conftest.er1
39549 cat conftest.err >&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); } && {
39552 test -z "$ac_c_werror_flag" ||
39553 test ! -s conftest.err
39554 } && test -s conftest$ac_exeext &&
39555 $as_test_x conftest$ac_exeext; then
39556 ac_cv_lib_resolv_inet_addr=yes
39557 else
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39560
39561 ac_cv_lib_resolv_inet_addr=no
39562 fi
39563
39564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39565 conftest$ac_exeext conftest.$ac_ext
39566 LIBS=$ac_check_lib_save_LIBS
39567 fi
39568 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39569 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39570 if test $ac_cv_lib_resolv_inet_addr = yes; then
39571 INET_LINK="resolv"
39572 else
39573
39574 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39575 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39576 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39578 else
39579 ac_check_lib_save_LIBS=$LIBS
39580 LIBS="-lsocket $LIBS"
39581 cat >conftest.$ac_ext <<_ACEOF
39582 /* confdefs.h. */
39583 _ACEOF
39584 cat confdefs.h >>conftest.$ac_ext
39585 cat >>conftest.$ac_ext <<_ACEOF
39586 /* end confdefs.h. */
39587
39588 /* Override any GCC internal prototype to avoid an error.
39589 Use char because int might match the return type of a GCC
39590 builtin and then its argument prototype would still apply. */
39591 #ifdef __cplusplus
39592 extern "C"
39593 #endif
39594 char inet_addr ();
39595 int
39596 main ()
39597 {
39598 return inet_addr ();
39599 ;
39600 return 0;
39601 }
39602 _ACEOF
39603 rm -f conftest.$ac_objext conftest$ac_exeext
39604 if { (ac_try="$ac_link"
39605 case "(($ac_try" in
39606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39607 *) ac_try_echo=$ac_try;;
39608 esac
39609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39610 (eval "$ac_link") 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } && {
39617 test -z "$ac_c_werror_flag" ||
39618 test ! -s conftest.err
39619 } && test -s conftest$ac_exeext &&
39620 $as_test_x conftest$ac_exeext; then
39621 ac_cv_lib_socket_inet_addr=yes
39622 else
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39625
39626 ac_cv_lib_socket_inet_addr=no
39627 fi
39628
39629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39630 conftest$ac_exeext conftest.$ac_ext
39631 LIBS=$ac_check_lib_save_LIBS
39632 fi
39633 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39634 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39635 if test $ac_cv_lib_socket_inet_addr = yes; then
39636 INET_LINK="socket"
39637
39638 fi
39639
39640
39641
39642 fi
39643
39644
39645
39646 fi
39647
39648
39649
39650 fi
39651 done
39652
39653
39654
39655 for ac_func in inet_aton
39656 do
39657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39658 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39660 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39661 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 else
39663 cat >conftest.$ac_ext <<_ACEOF
39664 /* confdefs.h. */
39665 _ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39671 #define $ac_func innocuous_$ac_func
39672
39673 /* System header to define __stub macros and hopefully few prototypes,
39674 which can conflict with char $ac_func (); below.
39675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676 <limits.h> exists even on freestanding compilers. */
39677
39678 #ifdef __STDC__
39679 # include <limits.h>
39680 #else
39681 # include <assert.h>
39682 #endif
39683
39684 #undef $ac_func
39685
39686 /* Override any GCC internal prototype to avoid an error.
39687 Use char because int might match the return type of a GCC
39688 builtin and then its argument prototype would still apply. */
39689 #ifdef __cplusplus
39690 extern "C"
39691 #endif
39692 char $ac_func ();
39693 /* The GNU C library defines this for functions which it implements
39694 to always fail with ENOSYS. Some functions are actually named
39695 something starting with __ and the normal name is an alias. */
39696 #if defined __stub_$ac_func || defined __stub___$ac_func
39697 choke me
39698 #endif
39699
39700 int
39701 main ()
39702 {
39703 return $ac_func ();
39704 ;
39705 return 0;
39706 }
39707 _ACEOF
39708 rm -f conftest.$ac_objext conftest$ac_exeext
39709 if { (ac_try="$ac_link"
39710 case "(($ac_try" in
39711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39712 *) ac_try_echo=$ac_try;;
39713 esac
39714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39715 (eval "$ac_link") 2>conftest.er1
39716 ac_status=$?
39717 grep -v '^ *+' conftest.er1 >conftest.err
39718 rm -f conftest.er1
39719 cat conftest.err >&5
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } && {
39722 test -z "$ac_c_werror_flag" ||
39723 test ! -s conftest.err
39724 } && test -s conftest$ac_exeext &&
39725 $as_test_x conftest$ac_exeext; then
39726 eval "$as_ac_var=yes"
39727 else
39728 echo "$as_me: failed program was:" >&5
39729 sed 's/^/| /' conftest.$ac_ext >&5
39730
39731 eval "$as_ac_var=no"
39732 fi
39733
39734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39735 conftest$ac_exeext conftest.$ac_ext
39736 fi
39737 ac_res=`eval echo '${'$as_ac_var'}'`
39738 { echo "$as_me:$LINENO: result: $ac_res" >&5
39739 echo "${ECHO_T}$ac_res" >&6; }
39740 if test `eval echo '${'$as_ac_var'}'` = yes; then
39741 cat >>confdefs.h <<_ACEOF
39742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39743 _ACEOF
39744 cat >>confdefs.h <<\_ACEOF
39745 #define HAVE_INET_ATON 1
39746 _ACEOF
39747
39748 else
39749
39750 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39751 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39752 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39753 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39754 echo $ECHO_N "(cached) $ECHO_C" >&6
39755 else
39756 ac_check_lib_save_LIBS=$LIBS
39757 LIBS="-l$INET_LINK $LIBS"
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764
39765 /* Override any GCC internal prototype to avoid an error.
39766 Use char because int might match the return type of a GCC
39767 builtin and then its argument prototype would still apply. */
39768 #ifdef __cplusplus
39769 extern "C"
39770 #endif
39771 char inet_aton ();
39772 int
39773 main ()
39774 {
39775 return inet_aton ();
39776 ;
39777 return 0;
39778 }
39779 _ACEOF
39780 rm -f conftest.$ac_objext conftest$ac_exeext
39781 if { (ac_try="$ac_link"
39782 case "(($ac_try" in
39783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39784 *) ac_try_echo=$ac_try;;
39785 esac
39786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39787 (eval "$ac_link") 2>conftest.er1
39788 ac_status=$?
39789 grep -v '^ *+' conftest.er1 >conftest.err
39790 rm -f conftest.er1
39791 cat conftest.err >&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); } && {
39794 test -z "$ac_c_werror_flag" ||
39795 test ! -s conftest.err
39796 } && test -s conftest$ac_exeext &&
39797 $as_test_x conftest$ac_exeext; then
39798 eval "$as_ac_Lib=yes"
39799 else
39800 echo "$as_me: failed program was:" >&5
39801 sed 's/^/| /' conftest.$ac_ext >&5
39802
39803 eval "$as_ac_Lib=no"
39804 fi
39805
39806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39807 conftest$ac_exeext conftest.$ac_ext
39808 LIBS=$ac_check_lib_save_LIBS
39809 fi
39810 ac_res=`eval echo '${'$as_ac_Lib'}'`
39811 { echo "$as_me:$LINENO: result: $ac_res" >&5
39812 echo "${ECHO_T}$ac_res" >&6; }
39813 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39814 cat >>confdefs.h <<\_ACEOF
39815 #define HAVE_INET_ATON 1
39816 _ACEOF
39817
39818 fi
39819
39820
39821 fi
39822 done
39823
39824
39825 if test "x$INET_LINK" != "x"; then
39826 cat >>confdefs.h <<\_ACEOF
39827 #define HAVE_INET_ADDR 1
39828 _ACEOF
39829
39830 INET_LINK=" -l$INET_LINK"
39831 fi
39832
39833
39834 for wx_func in fdopen
39835 do
39836 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39837 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39838 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 else
39841
39842 cat >conftest.$ac_ext <<_ACEOF
39843
39844 /* confdefs.h. */
39845 _ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849
39850
39851 $ac_includes_default
39852
39853 int
39854 main ()
39855 {
39856
39857 #ifndef $wx_func
39858 &$wx_func;
39859 #endif
39860
39861
39862 ;
39863 return 0;
39864 }
39865
39866 _ACEOF
39867 rm -f conftest.$ac_objext conftest$ac_exeext
39868 if { (ac_try="$ac_link"
39869 case "(($ac_try" in
39870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39871 *) ac_try_echo=$ac_try;;
39872 esac
39873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39874 (eval "$ac_link") 2>conftest.er1
39875 ac_status=$?
39876 grep -v '^ *+' conftest.er1 >conftest.err
39877 rm -f conftest.er1
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } && {
39881 test -z "$ac_c_werror_flag" ||
39882 test ! -s conftest.err
39883 } && test -s conftest$ac_exeext &&
39884 $as_test_x conftest$ac_exeext; then
39885 eval wx_cv_func_$wx_func=yes
39886 else
39887 echo "$as_me: failed program was:" >&5
39888 sed 's/^/| /' conftest.$ac_ext >&5
39889
39890 eval wx_cv_func_$wx_func=no
39891 fi
39892
39893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39894 conftest$ac_exeext conftest.$ac_ext
39895
39896 fi
39897 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39898 { echo "$as_me:$LINENO: result: $ac_res" >&5
39899 echo "${ECHO_T}$ac_res" >&6; }
39900
39901 if eval test \$wx_cv_func_$wx_func = yes
39902 then
39903 cat >>confdefs.h <<_ACEOF
39904 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39905 _ACEOF
39906
39907
39908 else
39909 :
39910
39911 fi
39912 done
39913
39914
39915 if test "$wxUSE_TARSTREAM" = "yes"; then
39916
39917 for wx_func in sysconf
39918 do
39919 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39920 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39921 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39922 echo $ECHO_N "(cached) $ECHO_C" >&6
39923 else
39924
39925 cat >conftest.$ac_ext <<_ACEOF
39926
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932
39933
39934 $ac_includes_default
39935
39936 int
39937 main ()
39938 {
39939
39940 #ifndef $wx_func
39941 &$wx_func;
39942 #endif
39943
39944
39945 ;
39946 return 0;
39947 }
39948
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval wx_cv_func_$wx_func=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 eval wx_cv_func_$wx_func=no
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978
39979 fi
39980 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39981 { echo "$as_me:$LINENO: result: $ac_res" >&5
39982 echo "${ECHO_T}$ac_res" >&6; }
39983
39984 if eval test \$wx_cv_func_$wx_func = yes
39985 then
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39988 _ACEOF
39989
39990
39991 else
39992 :
39993
39994 fi
39995 done
39996
39997
39998
39999 for wx_func in getpwuid_r
40000 do
40001 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40002 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40003 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40004 echo $ECHO_N "(cached) $ECHO_C" >&6
40005 else
40006
40007 cat >conftest.$ac_ext <<_ACEOF
40008
40009 /* confdefs.h. */
40010 _ACEOF
40011 cat confdefs.h >>conftest.$ac_ext
40012 cat >>conftest.$ac_ext <<_ACEOF
40013 /* end confdefs.h. */
40014
40015
40016 #define _REENTRANT
40017 #include <pwd.h>
40018
40019 $ac_includes_default
40020
40021 int
40022 main ()
40023 {
40024
40025 #ifndef $wx_func
40026 &$wx_func;
40027 #endif
40028
40029 struct passwd pw, *ppw;
40030 char buf[1024];
40031 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40032
40033
40034 ;
40035 return 0;
40036 }
40037
40038 _ACEOF
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40043 *) ac_try_echo=$ac_try;;
40044 esac
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40047 ac_status=$?
40048 grep -v '^ *+' conftest.er1 >conftest.err
40049 rm -f conftest.er1
40050 cat conftest.err >&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest$ac_exeext &&
40056 $as_test_x conftest$ac_exeext; then
40057 eval wx_cv_func_$wx_func=yes
40058 else
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40061
40062 eval wx_cv_func_$wx_func=no
40063 fi
40064
40065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40066 conftest$ac_exeext conftest.$ac_ext
40067
40068 fi
40069 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40070 { echo "$as_me:$LINENO: result: $ac_res" >&5
40071 echo "${ECHO_T}$ac_res" >&6; }
40072
40073 if eval test \$wx_cv_func_$wx_func = yes
40074 then
40075 cat >>confdefs.h <<_ACEOF
40076 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40077 _ACEOF
40078
40079
40080 else
40081 :
40082
40083 fi
40084 done
40085
40086
40087
40088 for wx_func in getgrgid_r
40089 do
40090 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40091 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40092 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40093 echo $ECHO_N "(cached) $ECHO_C" >&6
40094 else
40095
40096 cat >conftest.$ac_ext <<_ACEOF
40097
40098 /* confdefs.h. */
40099 _ACEOF
40100 cat confdefs.h >>conftest.$ac_ext
40101 cat >>conftest.$ac_ext <<_ACEOF
40102 /* end confdefs.h. */
40103
40104
40105 #define _REENTRANT
40106 #include <grp.h>
40107
40108 $ac_includes_default
40109
40110 int
40111 main ()
40112 {
40113
40114 #ifndef $wx_func
40115 &$wx_func;
40116 #endif
40117
40118 struct group grp, *pgrp;
40119 char buf[1024];
40120 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40121
40122
40123 ;
40124 return 0;
40125 }
40126
40127 _ACEOF
40128 rm -f conftest.$ac_objext conftest$ac_exeext
40129 if { (ac_try="$ac_link"
40130 case "(($ac_try" in
40131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40132 *) ac_try_echo=$ac_try;;
40133 esac
40134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40135 (eval "$ac_link") 2>conftest.er1
40136 ac_status=$?
40137 grep -v '^ *+' conftest.er1 >conftest.err
40138 rm -f conftest.er1
40139 cat conftest.err >&5
40140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141 (exit $ac_status); } && {
40142 test -z "$ac_c_werror_flag" ||
40143 test ! -s conftest.err
40144 } && test -s conftest$ac_exeext &&
40145 $as_test_x conftest$ac_exeext; then
40146 eval wx_cv_func_$wx_func=yes
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 eval wx_cv_func_$wx_func=no
40152 fi
40153
40154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40155 conftest$ac_exeext conftest.$ac_ext
40156
40157 fi
40158 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40159 { echo "$as_me:$LINENO: result: $ac_res" >&5
40160 echo "${ECHO_T}$ac_res" >&6; }
40161
40162 if eval test \$wx_cv_func_$wx_func = yes
40163 then
40164 cat >>confdefs.h <<_ACEOF
40165 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40166 _ACEOF
40167
40168
40169 else
40170 :
40171
40172 fi
40173 done
40174
40175 fi
40176
40177 fi
40178
40179
40180
40181 cat >confcache <<\_ACEOF
40182 # This file is a shell script that caches the results of configure
40183 # tests run on this system so they can be shared between configure
40184 # scripts and configure runs, see configure's option --config-cache.
40185 # It is not useful on other systems. If it contains results you don't
40186 # want to keep, you may remove or edit it.
40187 #
40188 # config.status only pays attention to the cache file if you give it
40189 # the --recheck option to rerun configure.
40190 #
40191 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40192 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40193 # following values.
40194
40195 _ACEOF
40196
40197 # The following way of writing the cache mishandles newlines in values,
40198 # but we know of no workaround that is simple, portable, and efficient.
40199 # So, we kill variables containing newlines.
40200 # Ultrix sh set writes to stderr and can't be redirected directly,
40201 # and sets the high bit in the cache file unless we assign to the vars.
40202 (
40203 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40204 eval ac_val=\$$ac_var
40205 case $ac_val in #(
40206 *${as_nl}*)
40207 case $ac_var in #(
40208 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40209 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40210 esac
40211 case $ac_var in #(
40212 _ | IFS | as_nl) ;; #(
40213 *) $as_unset $ac_var ;;
40214 esac ;;
40215 esac
40216 done
40217
40218 (set) 2>&1 |
40219 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40220 *${as_nl}ac_space=\ *)
40221 # `set' does not quote correctly, so add quotes (double-quote
40222 # substitution turns \\\\ into \\, and sed turns \\ into \).
40223 sed -n \
40224 "s/'/'\\\\''/g;
40225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40226 ;; #(
40227 *)
40228 # `set' quotes correctly as required by POSIX, so do not add quotes.
40229 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40230 ;;
40231 esac |
40232 sort
40233 ) |
40234 sed '
40235 /^ac_cv_env_/b end
40236 t clear
40237 :clear
40238 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40239 t end
40240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40241 :end' >>confcache
40242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40243 if test -w "$cache_file"; then
40244 test "x$cache_file" != "x/dev/null" &&
40245 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40246 echo "$as_me: updating cache $cache_file" >&6;}
40247 cat confcache >$cache_file
40248 else
40249 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40250 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40251 fi
40252 fi
40253 rm -f confcache
40254
40255
40256 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40257
40258
40259 THREADS_LINK=
40260 THREADS_CFLAGS=
40261
40262 if test "$wxUSE_THREADS" = "yes" ; then
40263 if test "$USE_BEOS" = 1; then
40264 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40265 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40266 wxUSE_THREADS="no"
40267 fi
40268 fi
40269
40270 if test "$wxUSE_THREADS" = "yes" ; then
40271
40272
40273 THREAD_OPTS="-pthread"
40274 if test "x$SUNCXX" = xyes; then
40275 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40276 fi
40277
40278 case "${host}" in
40279 *-*-solaris2* | *-*-sunos4* )
40280 if test "x$GCC" = "xyes"; then
40281 THREAD_OPTS="-pthreads $THREAD_OPTS"
40282 fi
40283 ;;
40284 *-*-freebsd*)
40285 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40286 ;;
40287 *-*-darwin* | *-*-cygwin* )
40288 THREAD_OPTS=""
40289 ;;
40290 *-*-aix*)
40291 THREAD_OPTS="pthreads"
40292 ;;
40293 *-hp-hpux* )
40294 if test "x$GCC" = "xyes"; then
40295 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40296 THREAD_OPTS=""
40297 else
40298 THREAD_OPTS="-mt"
40299 fi
40300 ;;
40301
40302 *-*-irix* )
40303 if test "x$GCC" = "xyes"; then
40304 THREAD_OPTS=""
40305 fi
40306 ;;
40307
40308 *-*-qnx*)
40309 THREAD_OPTS=""
40310 ;;
40311
40312 *-*-*UnixWare*)
40313 if test "x$GCC" != "xyes"; then
40314 THREAD_OPTS="-Ethread"
40315 fi
40316 ;;
40317 esac
40318
40319 case "${host}" in
40320 *-*-qnx*)
40321 THREAD_OPTS="none pthread"
40322 ;;
40323
40324 *)
40325 THREAD_OPTS="$THREAD_OPTS pthread none"
40326 ;;
40327 esac
40328
40329 THREADS_OK=no
40330 for flag in $THREAD_OPTS; do
40331 case $flag in
40332 none)
40333 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40334 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40335 ;;
40336
40337 -*)
40338 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40339 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40340 THREADS_CFLAGS="$flag"
40341 ;;
40342
40343 *)
40344 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40345 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40346 THREADS_LINK="-l$flag"
40347 ;;
40348 esac
40349
40350 save_LIBS="$LIBS"
40351 save_CFLAGS="$CFLAGS"
40352 LIBS="$THREADS_LINK $LIBS"
40353 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40354
40355 cat >conftest.$ac_ext <<_ACEOF
40356 /* confdefs.h. */
40357 _ACEOF
40358 cat confdefs.h >>conftest.$ac_ext
40359 cat >>conftest.$ac_ext <<_ACEOF
40360 /* end confdefs.h. */
40361 #include <pthread.h>
40362 int
40363 main ()
40364 {
40365 pthread_create(0,0,0,0);
40366 ;
40367 return 0;
40368 }
40369 _ACEOF
40370 rm -f conftest.$ac_objext conftest$ac_exeext
40371 if { (ac_try="$ac_link"
40372 case "(($ac_try" in
40373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40374 *) ac_try_echo=$ac_try;;
40375 esac
40376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40377 (eval "$ac_link") 2>conftest.er1
40378 ac_status=$?
40379 grep -v '^ *+' conftest.er1 >conftest.err
40380 rm -f conftest.er1
40381 cat conftest.err >&5
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); } && {
40384 test -z "$ac_c_werror_flag" ||
40385 test ! -s conftest.err
40386 } && test -s conftest$ac_exeext &&
40387 $as_test_x conftest$ac_exeext; then
40388 THREADS_OK=yes
40389 else
40390 echo "$as_me: failed program was:" >&5
40391 sed 's/^/| /' conftest.$ac_ext >&5
40392
40393
40394 fi
40395
40396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40397 conftest$ac_exeext conftest.$ac_ext
40398
40399 LIBS="$save_LIBS"
40400 CFLAGS="$save_CFLAGS"
40401
40402 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40403 echo "${ECHO_T}$THREADS_OK" >&6; }
40404 if test "x$THREADS_OK" = "xyes"; then
40405 break;
40406 fi
40407
40408 THREADS_LINK=""
40409 THREADS_CFLAGS=""
40410 done
40411
40412 if test "x$THREADS_OK" != "xyes"; then
40413 wxUSE_THREADS=no
40414 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40415 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40416 else
40417 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40418 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40419 LIBS="$THREADS_LINK $LIBS"
40420
40421 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40422 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40423 flag=no
40424 case "${host}" in
40425 *-aix*)
40426 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40427 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40428 flag="-D_THREAD_SAFE"
40429 ;;
40430 *-freebsd*)
40431 flag="-D_THREAD_SAFE"
40432 ;;
40433 *-hp-hpux* )
40434 flag="-D_REENTRANT"
40435 if test "x$GCC" != "xyes"; then
40436 flag="$flag -D_RWSTD_MULTI_THREAD"
40437 fi
40438 ;;
40439 *solaris* | alpha*-osf*)
40440 flag="-D_REENTRANT"
40441 ;;
40442 esac
40443 { echo "$as_me:$LINENO: result: ${flag}" >&5
40444 echo "${ECHO_T}${flag}" >&6; }
40445 if test "x$flag" != xno; then
40446 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40447 fi
40448
40449 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40450 fi
40451 fi
40452
40453 if test "$wxUSE_THREADS" = "yes" ; then
40454
40455 for ac_func in thr_setconcurrency
40456 do
40457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40462 else
40463 cat >conftest.$ac_ext <<_ACEOF
40464 /* confdefs.h. */
40465 _ACEOF
40466 cat confdefs.h >>conftest.$ac_ext
40467 cat >>conftest.$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40471 #define $ac_func innocuous_$ac_func
40472
40473 /* System header to define __stub macros and hopefully few prototypes,
40474 which can conflict with char $ac_func (); below.
40475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40476 <limits.h> exists even on freestanding compilers. */
40477
40478 #ifdef __STDC__
40479 # include <limits.h>
40480 #else
40481 # include <assert.h>
40482 #endif
40483
40484 #undef $ac_func
40485
40486 /* Override any GCC internal prototype to avoid an error.
40487 Use char because int might match the return type of a GCC
40488 builtin and then its argument prototype would still apply. */
40489 #ifdef __cplusplus
40490 extern "C"
40491 #endif
40492 char $ac_func ();
40493 /* The GNU C library defines this for functions which it implements
40494 to always fail with ENOSYS. Some functions are actually named
40495 something starting with __ and the normal name is an alias. */
40496 #if defined __stub_$ac_func || defined __stub___$ac_func
40497 choke me
40498 #endif
40499
40500 int
40501 main ()
40502 {
40503 return $ac_func ();
40504 ;
40505 return 0;
40506 }
40507 _ACEOF
40508 rm -f conftest.$ac_objext conftest$ac_exeext
40509 if { (ac_try="$ac_link"
40510 case "(($ac_try" in
40511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40512 *) ac_try_echo=$ac_try;;
40513 esac
40514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40515 (eval "$ac_link") 2>conftest.er1
40516 ac_status=$?
40517 grep -v '^ *+' conftest.er1 >conftest.err
40518 rm -f conftest.er1
40519 cat conftest.err >&5
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); } && {
40522 test -z "$ac_c_werror_flag" ||
40523 test ! -s conftest.err
40524 } && test -s conftest$ac_exeext &&
40525 $as_test_x conftest$ac_exeext; then
40526 eval "$as_ac_var=yes"
40527 else
40528 echo "$as_me: failed program was:" >&5
40529 sed 's/^/| /' conftest.$ac_ext >&5
40530
40531 eval "$as_ac_var=no"
40532 fi
40533
40534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40535 conftest$ac_exeext conftest.$ac_ext
40536 fi
40537 ac_res=`eval echo '${'$as_ac_var'}'`
40538 { echo "$as_me:$LINENO: result: $ac_res" >&5
40539 echo "${ECHO_T}$ac_res" >&6; }
40540 if test `eval echo '${'$as_ac_var'}'` = yes; then
40541 cat >>confdefs.h <<_ACEOF
40542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40543 _ACEOF
40544
40545 fi
40546 done
40547
40548
40549 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40550 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40551 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40552 echo $ECHO_N "(cached) $ECHO_C" >&6
40553 else
40554
40555 ac_ext=cpp
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560
40561 cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 #include <pthread.h>
40568 void ThreadCleanupFunc(void *p);
40569
40570 int
40571 main ()
40572 {
40573
40574 void *p;
40575 pthread_cleanup_push(ThreadCleanupFunc, p);
40576 pthread_cleanup_pop(0);
40577
40578 ;
40579 return 0;
40580 }
40581 _ACEOF
40582 rm -f conftest.$ac_objext
40583 if { (ac_try="$ac_compile"
40584 case "(($ac_try" in
40585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40586 *) ac_try_echo=$ac_try;;
40587 esac
40588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40589 (eval "$ac_compile") 2>conftest.er1
40590 ac_status=$?
40591 grep -v '^ *+' conftest.er1 >conftest.err
40592 rm -f conftest.er1
40593 cat conftest.err >&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } && {
40596 test -z "$ac_cxx_werror_flag" ||
40597 test ! -s conftest.err
40598 } && test -s conftest.$ac_objext; then
40599
40600 wx_cv_func_pthread_cleanup=yes
40601
40602 else
40603 echo "$as_me: failed program was:" >&5
40604 sed 's/^/| /' conftest.$ac_ext >&5
40605
40606
40607 wx_cv_func_pthread_cleanup=no
40608
40609
40610 fi
40611
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618
40619
40620 fi
40621 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40622 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40623 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40624 cat >>confdefs.h <<\_ACEOF
40625 #define wxHAVE_PTHREAD_CLEANUP 1
40626 _ACEOF
40627
40628 fi
40629
40630
40631 for ac_header in sched.h
40632 do
40633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40637 echo $ECHO_N "(cached) $ECHO_C" >&6
40638 else
40639 cat >conftest.$ac_ext <<_ACEOF
40640 /* confdefs.h. */
40641 _ACEOF
40642 cat confdefs.h >>conftest.$ac_ext
40643 cat >>conftest.$ac_ext <<_ACEOF
40644 /* end confdefs.h. */
40645 $ac_includes_default
40646
40647 #include <$ac_header>
40648 _ACEOF
40649 rm -f conftest.$ac_objext
40650 if { (ac_try="$ac_compile"
40651 case "(($ac_try" in
40652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40653 *) ac_try_echo=$ac_try;;
40654 esac
40655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40656 (eval "$ac_compile") 2>conftest.er1
40657 ac_status=$?
40658 grep -v '^ *+' conftest.er1 >conftest.err
40659 rm -f conftest.er1
40660 cat conftest.err >&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } && {
40663 test -z "$ac_c_werror_flag" ||
40664 test ! -s conftest.err
40665 } && test -s conftest.$ac_objext; then
40666 eval "$as_ac_Header=yes"
40667 else
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40670
40671 eval "$as_ac_Header=no"
40672 fi
40673
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675 fi
40676 ac_res=`eval echo '${'$as_ac_Header'}'`
40677 { echo "$as_me:$LINENO: result: $ac_res" >&5
40678 echo "${ECHO_T}$ac_res" >&6; }
40679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40680 cat >>confdefs.h <<_ACEOF
40681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40682 _ACEOF
40683
40684 fi
40685
40686 done
40687
40688 if test "$ac_cv_header_sched_h" = "yes"; then
40689 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40690 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40691 if test "${ac_cv_func_sched_yield+set}" = set; then
40692 echo $ECHO_N "(cached) $ECHO_C" >&6
40693 else
40694 cat >conftest.$ac_ext <<_ACEOF
40695 /* confdefs.h. */
40696 _ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40702 #define sched_yield innocuous_sched_yield
40703
40704 /* System header to define __stub macros and hopefully few prototypes,
40705 which can conflict with char sched_yield (); below.
40706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40707 <limits.h> exists even on freestanding compilers. */
40708
40709 #ifdef __STDC__
40710 # include <limits.h>
40711 #else
40712 # include <assert.h>
40713 #endif
40714
40715 #undef sched_yield
40716
40717 /* Override any GCC internal prototype to avoid an error.
40718 Use char because int might match the return type of a GCC
40719 builtin and then its argument prototype would still apply. */
40720 #ifdef __cplusplus
40721 extern "C"
40722 #endif
40723 char sched_yield ();
40724 /* The GNU C library defines this for functions which it implements
40725 to always fail with ENOSYS. Some functions are actually named
40726 something starting with __ and the normal name is an alias. */
40727 #if defined __stub_sched_yield || defined __stub___sched_yield
40728 choke me
40729 #endif
40730
40731 int
40732 main ()
40733 {
40734 return sched_yield ();
40735 ;
40736 return 0;
40737 }
40738 _ACEOF
40739 rm -f conftest.$ac_objext conftest$ac_exeext
40740 if { (ac_try="$ac_link"
40741 case "(($ac_try" in
40742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40743 *) ac_try_echo=$ac_try;;
40744 esac
40745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40746 (eval "$ac_link") 2>conftest.er1
40747 ac_status=$?
40748 grep -v '^ *+' conftest.er1 >conftest.err
40749 rm -f conftest.er1
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } && {
40753 test -z "$ac_c_werror_flag" ||
40754 test ! -s conftest.err
40755 } && test -s conftest$ac_exeext &&
40756 $as_test_x conftest$ac_exeext; then
40757 ac_cv_func_sched_yield=yes
40758 else
40759 echo "$as_me: failed program was:" >&5
40760 sed 's/^/| /' conftest.$ac_ext >&5
40761
40762 ac_cv_func_sched_yield=no
40763 fi
40764
40765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40766 conftest$ac_exeext conftest.$ac_ext
40767 fi
40768 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40769 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40770 if test $ac_cv_func_sched_yield = yes; then
40771 cat >>confdefs.h <<\_ACEOF
40772 #define HAVE_SCHED_YIELD 1
40773 _ACEOF
40774
40775 else
40776
40777 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40778 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40779 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782 ac_check_lib_save_LIBS=$LIBS
40783 LIBS="-lposix4 $LIBS"
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790
40791 /* Override any GCC internal prototype to avoid an error.
40792 Use char because int might match the return type of a GCC
40793 builtin and then its argument prototype would still apply. */
40794 #ifdef __cplusplus
40795 extern "C"
40796 #endif
40797 char sched_yield ();
40798 int
40799 main ()
40800 {
40801 return sched_yield ();
40802 ;
40803 return 0;
40804 }
40805 _ACEOF
40806 rm -f conftest.$ac_objext conftest$ac_exeext
40807 if { (ac_try="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40811 esac
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40814 ac_status=$?
40815 grep -v '^ *+' conftest.er1 >conftest.err
40816 rm -f conftest.er1
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_lib_posix4_sched_yield=yes
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829 ac_cv_lib_posix4_sched_yield=no
40830 fi
40831
40832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40833 conftest$ac_exeext conftest.$ac_ext
40834 LIBS=$ac_check_lib_save_LIBS
40835 fi
40836 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40837 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40838 if test $ac_cv_lib_posix4_sched_yield = yes; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define HAVE_SCHED_YIELD 1
40841 _ACEOF
40842 POSIX4_LINK=" -lposix4"
40843 else
40844 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40845 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40846
40847 fi
40848
40849
40850
40851 fi
40852
40853 fi
40854
40855 HAVE_PRIOR_FUNCS=0
40856 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40857 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40858 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40859 echo $ECHO_N "(cached) $ECHO_C" >&6
40860 else
40861 cat >conftest.$ac_ext <<_ACEOF
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40870
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char pthread_attr_getschedpolicy (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40875
40876 #ifdef __STDC__
40877 # include <limits.h>
40878 #else
40879 # include <assert.h>
40880 #endif
40881
40882 #undef pthread_attr_getschedpolicy
40883
40884 /* Override any GCC internal prototype to avoid an error.
40885 Use char because int might match the return type of a GCC
40886 builtin and then its argument prototype would still apply. */
40887 #ifdef __cplusplus
40888 extern "C"
40889 #endif
40890 char pthread_attr_getschedpolicy ();
40891 /* The GNU C library defines this for functions which it implements
40892 to always fail with ENOSYS. Some functions are actually named
40893 something starting with __ and the normal name is an alias. */
40894 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40895 choke me
40896 #endif
40897
40898 int
40899 main ()
40900 {
40901 return pthread_attr_getschedpolicy ();
40902 ;
40903 return 0;
40904 }
40905 _ACEOF
40906 rm -f conftest.$ac_objext conftest$ac_exeext
40907 if { (ac_try="$ac_link"
40908 case "(($ac_try" in
40909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40910 *) ac_try_echo=$ac_try;;
40911 esac
40912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40913 (eval "$ac_link") 2>conftest.er1
40914 ac_status=$?
40915 grep -v '^ *+' conftest.er1 >conftest.err
40916 rm -f conftest.er1
40917 cat conftest.err >&5
40918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40919 (exit $ac_status); } && {
40920 test -z "$ac_c_werror_flag" ||
40921 test ! -s conftest.err
40922 } && test -s conftest$ac_exeext &&
40923 $as_test_x conftest$ac_exeext; then
40924 ac_cv_func_pthread_attr_getschedpolicy=yes
40925 else
40926 echo "$as_me: failed program was:" >&5
40927 sed 's/^/| /' conftest.$ac_ext >&5
40928
40929 ac_cv_func_pthread_attr_getschedpolicy=no
40930 fi
40931
40932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40933 conftest$ac_exeext conftest.$ac_ext
40934 fi
40935 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40936 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40937 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40938 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40939 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40940 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40941 echo $ECHO_N "(cached) $ECHO_C" >&6
40942 else
40943 cat >conftest.$ac_ext <<_ACEOF
40944 /* confdefs.h. */
40945 _ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40949 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40951 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40952
40953 /* System header to define __stub macros and hopefully few prototypes,
40954 which can conflict with char pthread_attr_setschedparam (); below.
40955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40956 <limits.h> exists even on freestanding compilers. */
40957
40958 #ifdef __STDC__
40959 # include <limits.h>
40960 #else
40961 # include <assert.h>
40962 #endif
40963
40964 #undef pthread_attr_setschedparam
40965
40966 /* Override any GCC internal prototype to avoid an error.
40967 Use char because int might match the return type of a GCC
40968 builtin and then its argument prototype would still apply. */
40969 #ifdef __cplusplus
40970 extern "C"
40971 #endif
40972 char pthread_attr_setschedparam ();
40973 /* The GNU C library defines this for functions which it implements
40974 to always fail with ENOSYS. Some functions are actually named
40975 something starting with __ and the normal name is an alias. */
40976 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40977 choke me
40978 #endif
40979
40980 int
40981 main ()
40982 {
40983 return pthread_attr_setschedparam ();
40984 ;
40985 return 0;
40986 }
40987 _ACEOF
40988 rm -f conftest.$ac_objext conftest$ac_exeext
40989 if { (ac_try="$ac_link"
40990 case "(($ac_try" in
40991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40992 *) ac_try_echo=$ac_try;;
40993 esac
40994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40995 (eval "$ac_link") 2>conftest.er1
40996 ac_status=$?
40997 grep -v '^ *+' conftest.er1 >conftest.err
40998 rm -f conftest.er1
40999 cat conftest.err >&5
41000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41001 (exit $ac_status); } && {
41002 test -z "$ac_c_werror_flag" ||
41003 test ! -s conftest.err
41004 } && test -s conftest$ac_exeext &&
41005 $as_test_x conftest$ac_exeext; then
41006 ac_cv_func_pthread_attr_setschedparam=yes
41007 else
41008 echo "$as_me: failed program was:" >&5
41009 sed 's/^/| /' conftest.$ac_ext >&5
41010
41011 ac_cv_func_pthread_attr_setschedparam=no
41012 fi
41013
41014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41015 conftest$ac_exeext conftest.$ac_ext
41016 fi
41017 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41018 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41019 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41020 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41021 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41022 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 else
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h. */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41033 #define sched_get_priority_max innocuous_sched_get_priority_max
41034
41035 /* System header to define __stub macros and hopefully few prototypes,
41036 which can conflict with char sched_get_priority_max (); below.
41037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41038 <limits.h> exists even on freestanding compilers. */
41039
41040 #ifdef __STDC__
41041 # include <limits.h>
41042 #else
41043 # include <assert.h>
41044 #endif
41045
41046 #undef sched_get_priority_max
41047
41048 /* Override any GCC internal prototype to avoid an error.
41049 Use char because int might match the return type of a GCC
41050 builtin and then its argument prototype would still apply. */
41051 #ifdef __cplusplus
41052 extern "C"
41053 #endif
41054 char sched_get_priority_max ();
41055 /* The GNU C library defines this for functions which it implements
41056 to always fail with ENOSYS. Some functions are actually named
41057 something starting with __ and the normal name is an alias. */
41058 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41059 choke me
41060 #endif
41061
41062 int
41063 main ()
41064 {
41065 return sched_get_priority_max ();
41066 ;
41067 return 0;
41068 }
41069 _ACEOF
41070 rm -f conftest.$ac_objext conftest$ac_exeext
41071 if { (ac_try="$ac_link"
41072 case "(($ac_try" in
41073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41075 esac
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_link") 2>conftest.er1
41078 ac_status=$?
41079 grep -v '^ *+' conftest.er1 >conftest.err
41080 rm -f conftest.er1
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest$ac_exeext &&
41087 $as_test_x conftest$ac_exeext; then
41088 ac_cv_func_sched_get_priority_max=yes
41089 else
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.$ac_ext >&5
41092
41093 ac_cv_func_sched_get_priority_max=no
41094 fi
41095
41096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41097 conftest$ac_exeext conftest.$ac_ext
41098 fi
41099 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41100 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41101 if test $ac_cv_func_sched_get_priority_max = yes; then
41102 HAVE_PRIOR_FUNCS=1
41103 else
41104 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41105 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41106 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41107 echo $ECHO_N "(cached) $ECHO_C" >&6
41108 else
41109 ac_check_lib_save_LIBS=$LIBS
41110 LIBS="-lposix4 $LIBS"
41111 cat >conftest.$ac_ext <<_ACEOF
41112 /* confdefs.h. */
41113 _ACEOF
41114 cat confdefs.h >>conftest.$ac_ext
41115 cat >>conftest.$ac_ext <<_ACEOF
41116 /* end confdefs.h. */
41117
41118 /* Override any GCC internal prototype to avoid an error.
41119 Use char because int might match the return type of a GCC
41120 builtin and then its argument prototype would still apply. */
41121 #ifdef __cplusplus
41122 extern "C"
41123 #endif
41124 char sched_get_priority_max ();
41125 int
41126 main ()
41127 {
41128 return sched_get_priority_max ();
41129 ;
41130 return 0;
41131 }
41132 _ACEOF
41133 rm -f conftest.$ac_objext conftest$ac_exeext
41134 if { (ac_try="$ac_link"
41135 case "(($ac_try" in
41136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41137 *) ac_try_echo=$ac_try;;
41138 esac
41139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41140 (eval "$ac_link") 2>conftest.er1
41141 ac_status=$?
41142 grep -v '^ *+' conftest.er1 >conftest.err
41143 rm -f conftest.er1
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } && {
41147 test -z "$ac_c_werror_flag" ||
41148 test ! -s conftest.err
41149 } && test -s conftest$ac_exeext &&
41150 $as_test_x conftest$ac_exeext; then
41151 ac_cv_lib_posix4_sched_get_priority_max=yes
41152 else
41153 echo "$as_me: failed program was:" >&5
41154 sed 's/^/| /' conftest.$ac_ext >&5
41155
41156 ac_cv_lib_posix4_sched_get_priority_max=no
41157 fi
41158
41159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41160 conftest$ac_exeext conftest.$ac_ext
41161 LIBS=$ac_check_lib_save_LIBS
41162 fi
41163 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41164 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41165 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41166
41167 HAVE_PRIOR_FUNCS=1
41168 POSIX4_LINK=" -lposix4"
41169
41170 fi
41171
41172
41173 fi
41174
41175
41176 fi
41177
41178
41179 fi
41180
41181
41182 if test "$HAVE_PRIOR_FUNCS" = 1; then
41183 cat >>confdefs.h <<\_ACEOF
41184 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41185 _ACEOF
41186
41187 else
41188 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41189 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41190 fi
41191
41192 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41193 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41194 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41195 echo $ECHO_N "(cached) $ECHO_C" >&6
41196 else
41197 cat >conftest.$ac_ext <<_ACEOF
41198 /* confdefs.h. */
41199 _ACEOF
41200 cat confdefs.h >>conftest.$ac_ext
41201 cat >>conftest.$ac_ext <<_ACEOF
41202 /* end confdefs.h. */
41203 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41205 #define pthread_cancel innocuous_pthread_cancel
41206
41207 /* System header to define __stub macros and hopefully few prototypes,
41208 which can conflict with char pthread_cancel (); below.
41209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41210 <limits.h> exists even on freestanding compilers. */
41211
41212 #ifdef __STDC__
41213 # include <limits.h>
41214 #else
41215 # include <assert.h>
41216 #endif
41217
41218 #undef pthread_cancel
41219
41220 /* Override any GCC internal prototype to avoid an error.
41221 Use char because int might match the return type of a GCC
41222 builtin and then its argument prototype would still apply. */
41223 #ifdef __cplusplus
41224 extern "C"
41225 #endif
41226 char pthread_cancel ();
41227 /* The GNU C library defines this for functions which it implements
41228 to always fail with ENOSYS. Some functions are actually named
41229 something starting with __ and the normal name is an alias. */
41230 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41231 choke me
41232 #endif
41233
41234 int
41235 main ()
41236 {
41237 return pthread_cancel ();
41238 ;
41239 return 0;
41240 }
41241 _ACEOF
41242 rm -f conftest.$ac_objext conftest$ac_exeext
41243 if { (ac_try="$ac_link"
41244 case "(($ac_try" in
41245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41246 *) ac_try_echo=$ac_try;;
41247 esac
41248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41249 (eval "$ac_link") 2>conftest.er1
41250 ac_status=$?
41251 grep -v '^ *+' conftest.er1 >conftest.err
41252 rm -f conftest.er1
41253 cat conftest.err >&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); } && {
41256 test -z "$ac_c_werror_flag" ||
41257 test ! -s conftest.err
41258 } && test -s conftest$ac_exeext &&
41259 $as_test_x conftest$ac_exeext; then
41260 ac_cv_func_pthread_cancel=yes
41261 else
41262 echo "$as_me: failed program was:" >&5
41263 sed 's/^/| /' conftest.$ac_ext >&5
41264
41265 ac_cv_func_pthread_cancel=no
41266 fi
41267
41268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41269 conftest$ac_exeext conftest.$ac_ext
41270 fi
41271 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41272 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41273 if test $ac_cv_func_pthread_cancel = yes; then
41274 cat >>confdefs.h <<\_ACEOF
41275 #define HAVE_PTHREAD_CANCEL 1
41276 _ACEOF
41277
41278 else
41279 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41280 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41281 fi
41282
41283
41284 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41285 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41286 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41287 echo $ECHO_N "(cached) $ECHO_C" >&6
41288 else
41289 cat >conftest.$ac_ext <<_ACEOF
41290 /* confdefs.h. */
41291 _ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41295 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41297 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41298
41299 /* System header to define __stub macros and hopefully few prototypes,
41300 which can conflict with char pthread_mutex_timedlock (); below.
41301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41302 <limits.h> exists even on freestanding compilers. */
41303
41304 #ifdef __STDC__
41305 # include <limits.h>
41306 #else
41307 # include <assert.h>
41308 #endif
41309
41310 #undef pthread_mutex_timedlock
41311
41312 /* Override any GCC internal prototype to avoid an error.
41313 Use char because int might match the return type of a GCC
41314 builtin and then its argument prototype would still apply. */
41315 #ifdef __cplusplus
41316 extern "C"
41317 #endif
41318 char pthread_mutex_timedlock ();
41319 /* The GNU C library defines this for functions which it implements
41320 to always fail with ENOSYS. Some functions are actually named
41321 something starting with __ and the normal name is an alias. */
41322 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41323 choke me
41324 #endif
41325
41326 int
41327 main ()
41328 {
41329 return pthread_mutex_timedlock ();
41330 ;
41331 return 0;
41332 }
41333 _ACEOF
41334 rm -f conftest.$ac_objext conftest$ac_exeext
41335 if { (ac_try="$ac_link"
41336 case "(($ac_try" in
41337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41338 *) ac_try_echo=$ac_try;;
41339 esac
41340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41341 (eval "$ac_link") 2>conftest.er1
41342 ac_status=$?
41343 grep -v '^ *+' conftest.er1 >conftest.err
41344 rm -f conftest.er1
41345 cat conftest.err >&5
41346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41347 (exit $ac_status); } && {
41348 test -z "$ac_c_werror_flag" ||
41349 test ! -s conftest.err
41350 } && test -s conftest$ac_exeext &&
41351 $as_test_x conftest$ac_exeext; then
41352 ac_cv_func_pthread_mutex_timedlock=yes
41353 else
41354 echo "$as_me: failed program was:" >&5
41355 sed 's/^/| /' conftest.$ac_ext >&5
41356
41357 ac_cv_func_pthread_mutex_timedlock=no
41358 fi
41359
41360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41361 conftest$ac_exeext conftest.$ac_ext
41362 fi
41363 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41364 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41365 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41366 cat >>confdefs.h <<\_ACEOF
41367 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41368 _ACEOF
41369
41370 else
41371 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41372 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41373 fi
41374
41375
41376 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41377 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41378 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41379 echo $ECHO_N "(cached) $ECHO_C" >&6
41380 else
41381 cat >conftest.$ac_ext <<_ACEOF
41382 /* confdefs.h. */
41383 _ACEOF
41384 cat confdefs.h >>conftest.$ac_ext
41385 cat >>conftest.$ac_ext <<_ACEOF
41386 /* end confdefs.h. */
41387 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41389 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41390
41391 /* System header to define __stub macros and hopefully few prototypes,
41392 which can conflict with char pthread_attr_setstacksize (); below.
41393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41394 <limits.h> exists even on freestanding compilers. */
41395
41396 #ifdef __STDC__
41397 # include <limits.h>
41398 #else
41399 # include <assert.h>
41400 #endif
41401
41402 #undef pthread_attr_setstacksize
41403
41404 /* Override any GCC internal prototype to avoid an error.
41405 Use char because int might match the return type of a GCC
41406 builtin and then its argument prototype would still apply. */
41407 #ifdef __cplusplus
41408 extern "C"
41409 #endif
41410 char pthread_attr_setstacksize ();
41411 /* The GNU C library defines this for functions which it implements
41412 to always fail with ENOSYS. Some functions are actually named
41413 something starting with __ and the normal name is an alias. */
41414 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41415 choke me
41416 #endif
41417
41418 int
41419 main ()
41420 {
41421 return pthread_attr_setstacksize ();
41422 ;
41423 return 0;
41424 }
41425 _ACEOF
41426 rm -f conftest.$ac_objext conftest$ac_exeext
41427 if { (ac_try="$ac_link"
41428 case "(($ac_try" in
41429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41430 *) ac_try_echo=$ac_try;;
41431 esac
41432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41433 (eval "$ac_link") 2>conftest.er1
41434 ac_status=$?
41435 grep -v '^ *+' conftest.er1 >conftest.err
41436 rm -f conftest.er1
41437 cat conftest.err >&5
41438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41439 (exit $ac_status); } && {
41440 test -z "$ac_c_werror_flag" ||
41441 test ! -s conftest.err
41442 } && test -s conftest$ac_exeext &&
41443 $as_test_x conftest$ac_exeext; then
41444 ac_cv_func_pthread_attr_setstacksize=yes
41445 else
41446 echo "$as_me: failed program was:" >&5
41447 sed 's/^/| /' conftest.$ac_ext >&5
41448
41449 ac_cv_func_pthread_attr_setstacksize=no
41450 fi
41451
41452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41453 conftest$ac_exeext conftest.$ac_ext
41454 fi
41455 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41456 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41457 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41458 cat >>confdefs.h <<\_ACEOF
41459 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41460 _ACEOF
41461
41462 fi
41463
41464
41465
41466 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41467 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41468 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41469 echo $ECHO_N "(cached) $ECHO_C" >&6
41470 else
41471
41472 cat >conftest.$ac_ext <<_ACEOF
41473 /* confdefs.h. */
41474 _ACEOF
41475 cat confdefs.h >>conftest.$ac_ext
41476 cat >>conftest.$ac_ext <<_ACEOF
41477 /* end confdefs.h. */
41478 #include <pthread.h>
41479 int
41480 main ()
41481 {
41482
41483 pthread_mutexattr_t attr;
41484 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41485
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext
41491 if { (ac_try="$ac_compile"
41492 case "(($ac_try" in
41493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41494 *) ac_try_echo=$ac_try;;
41495 esac
41496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41497 (eval "$ac_compile") 2>conftest.er1
41498 ac_status=$?
41499 grep -v '^ *+' conftest.er1 >conftest.err
41500 rm -f conftest.er1
41501 cat conftest.err >&5
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); } && {
41504 test -z "$ac_c_werror_flag" ||
41505 test ! -s conftest.err
41506 } && test -s conftest.$ac_objext; then
41507 wx_cv_type_pthread_mutexattr_t=yes
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41511
41512 wx_cv_type_pthread_mutexattr_t=no
41513
41514 fi
41515
41516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41517
41518 fi
41519 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41520 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41521
41522 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41523 cat >>confdefs.h <<\_ACEOF
41524 #define HAVE_PTHREAD_MUTEXATTR_T 1
41525 _ACEOF
41526
41527
41528 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41529 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41530 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41531 echo $ECHO_N "(cached) $ECHO_C" >&6
41532 else
41533
41534 cat >conftest.$ac_ext <<_ACEOF
41535 /* confdefs.h. */
41536 _ACEOF
41537 cat confdefs.h >>conftest.$ac_ext
41538 cat >>conftest.$ac_ext <<_ACEOF
41539 /* end confdefs.h. */
41540 #include <pthread.h>
41541 int
41542 main ()
41543 {
41544
41545 pthread_mutexattr_t attr;
41546 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41547
41548 ;
41549 return 0;
41550 }
41551 _ACEOF
41552 rm -f conftest.$ac_objext
41553 if { (ac_try="$ac_compile"
41554 case "(($ac_try" in
41555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41556 *) ac_try_echo=$ac_try;;
41557 esac
41558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41559 (eval "$ac_compile") 2>conftest.er1
41560 ac_status=$?
41561 grep -v '^ *+' conftest.er1 >conftest.err
41562 rm -f conftest.er1
41563 cat conftest.err >&5
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } && {
41566 test -z "$ac_c_werror_flag" ||
41567 test ! -s conftest.err
41568 } && test -s conftest.$ac_objext; then
41569 wx_cv_func_pthread_mutexattr_settype_decl=yes
41570 else
41571 echo "$as_me: failed program was:" >&5
41572 sed 's/^/| /' conftest.$ac_ext >&5
41573
41574 wx_cv_func_pthread_mutexattr_settype_decl=no
41575
41576 fi
41577
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579
41580 fi
41581 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41582 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41583 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41584 cat >>confdefs.h <<\_ACEOF
41585 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41586 _ACEOF
41587
41588 fi
41589 else
41590 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41591 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41592 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41593 echo $ECHO_N "(cached) $ECHO_C" >&6
41594 else
41595
41596 cat >conftest.$ac_ext <<_ACEOF
41597 /* confdefs.h. */
41598 _ACEOF
41599 cat confdefs.h >>conftest.$ac_ext
41600 cat >>conftest.$ac_ext <<_ACEOF
41601 /* end confdefs.h. */
41602 #include <pthread.h>
41603 int
41604 main ()
41605 {
41606
41607 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41608
41609 ;
41610 return 0;
41611 }
41612 _ACEOF
41613 rm -f conftest.$ac_objext
41614 if { (ac_try="$ac_compile"
41615 case "(($ac_try" in
41616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41617 *) ac_try_echo=$ac_try;;
41618 esac
41619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41620 (eval "$ac_compile") 2>conftest.er1
41621 ac_status=$?
41622 grep -v '^ *+' conftest.er1 >conftest.err
41623 rm -f conftest.er1
41624 cat conftest.err >&5
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); } && {
41627 test -z "$ac_c_werror_flag" ||
41628 test ! -s conftest.err
41629 } && test -s conftest.$ac_objext; then
41630
41631 wx_cv_type_pthread_rec_mutex_init=yes
41632
41633 else
41634 echo "$as_me: failed program was:" >&5
41635 sed 's/^/| /' conftest.$ac_ext >&5
41636
41637
41638 wx_cv_type_pthread_rec_mutex_init=no
41639
41640
41641 fi
41642
41643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41644
41645 fi
41646 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41647 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41648 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41649 cat >>confdefs.h <<\_ACEOF
41650 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41651 _ACEOF
41652
41653 else
41654 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41655 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41656 fi
41657 fi
41658
41659 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41660 if test "$USE_NETBSD" = 1; then
41661 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41662 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41663 wxUSE_COMPILER_TLS=no
41664 else
41665 wxUSE_COMPILER_TLS=yes
41666 fi
41667 fi
41668
41669 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41670 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41671 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41672 if test "${wx_cv_cc___thread+set}" = set; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 else
41675
41676 cat >conftest.$ac_ext <<_ACEOF
41677 /* confdefs.h. */
41678 _ACEOF
41679 cat confdefs.h >>conftest.$ac_ext
41680 cat >>conftest.$ac_ext <<_ACEOF
41681 /* end confdefs.h. */
41682 #include <pthread.h>
41683 int
41684 main ()
41685 {
41686
41687 static __thread int n = 0;
41688 static __thread int *p = 0;
41689
41690 ;
41691 return 0;
41692 }
41693 _ACEOF
41694 rm -f conftest.$ac_objext
41695 if { (ac_try="$ac_compile"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41699 esac
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_compile") 2>conftest.er1
41702 ac_status=$?
41703 grep -v '^ *+' conftest.er1 >conftest.err
41704 rm -f conftest.er1
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest.$ac_objext; then
41711 wx_cv_cc___thread=yes
41712 else
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41715
41716 wx_cv_cc___thread=no
41717
41718 fi
41719
41720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41721
41722
41723 fi
41724 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41725 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41726
41727 if test "$wx_cv_cc___thread" = "yes"; then
41728
41729 GXX_VERSION=""
41730
41731
41732
41733 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41734 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41735
41736 if test "x$GCC" = "xyes" ; then
41737
41738 if test -z "" ; then
41739
41740 ax_gcc_option_test="int main()
41741 {
41742 return 0;
41743 }"
41744
41745 else
41746
41747 ax_gcc_option_test=""
41748
41749 fi
41750
41751
41752 # Dump the test program to file
41753 cat <<EOF > conftest.c
41754 $ax_gcc_option_test
41755 EOF
41756
41757 # Dump back the file to the log, useful for debugging purposes
41758 { ac_try='cat conftest.c 1>&5'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41761 ac_status=$?
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; }
41764
41765 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41767 (eval $ac_try) 2>&5
41768 ac_status=$?
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; } ; then
41771
41772 { echo "$as_me:$LINENO: result: yes" >&5
41773 echo "${ECHO_T}yes" >&6; }
41774
41775 ax_gcc_version_option=yes
41776
41777
41778 else
41779
41780 { echo "$as_me:$LINENO: result: no" >&5
41781 echo "${ECHO_T}no" >&6; }
41782
41783 ax_gcc_version_option=no
41784
41785
41786 fi
41787
41788
41789 else
41790
41791 { echo "$as_me:$LINENO: result: no gcc available" >&5
41792 echo "${ECHO_T}no gcc available" >&6; }
41793
41794 fi
41795
41796
41797 if test "x$GXX" = "xyes"; then
41798
41799 if test "x$ax_gxx_version_option" != "no"; then
41800
41801 { echo "$as_me:$LINENO: checking gxx version" >&5
41802 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41803 if test "${ax_cv_gxx_version+set}" = set; then
41804 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 else
41806
41807 ax_cv_gxx_version="`$CXX -dumpversion`"
41808 if test "x$ax_cv_gxx_version" = "x"; then
41809
41810 ax_cv_gxx_version=""
41811
41812 fi
41813
41814
41815 fi
41816 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41817 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41818 GXX_VERSION=$ax_cv_gxx_version
41819
41820 fi
41821
41822
41823 fi
41824
41825
41826
41827 if test -n "$ax_cv_gxx_version"; then
41828 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41829 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41830 case "$ax_cv_gxx_version" in
41831 1.* | 2.* | 3.* )
41832 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41833 echo "${ECHO_T}no, it's broken" >&6; }
41834 wx_cv_cc___thread=no
41835 ;;
41836 *)
41837 { echo "$as_me:$LINENO: result: yes, it works" >&5
41838 echo "${ECHO_T}yes, it works" >&6; }
41839 ;;
41840 esac
41841 fi
41842 fi
41843
41844 if test "$wx_cv_cc___thread" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE___THREAD_KEYWORD 1
41847 _ACEOF
41848
41849 fi
41850 fi
41851 fi
41852
41853 else
41854 if test "$wxUSE_THREADS" = "yes" ; then
41855 case "${host}" in
41856 x86_64-*-mingw32* )
41857 ;;
41858 *-*-mingw32* )
41859 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41860 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41861 if test "${wx_cv_cflags_mthread+set}" = set; then
41862 echo $ECHO_N "(cached) $ECHO_C" >&6
41863 else
41864
41865 CFLAGS_OLD="$CFLAGS"
41866 CFLAGS="-mthreads $CFLAGS"
41867 cat >conftest.$ac_ext <<_ACEOF
41868 /* confdefs.h. */
41869 _ACEOF
41870 cat confdefs.h >>conftest.$ac_ext
41871 cat >>conftest.$ac_ext <<_ACEOF
41872 /* end confdefs.h. */
41873
41874 int
41875 main ()
41876 {
41877
41878 ;
41879 return 0;
41880 }
41881 _ACEOF
41882 rm -f conftest.$ac_objext
41883 if { (ac_try="$ac_compile"
41884 case "(($ac_try" in
41885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41886 *) ac_try_echo=$ac_try;;
41887 esac
41888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41889 (eval "$ac_compile") 2>conftest.er1
41890 ac_status=$?
41891 grep -v '^ *+' conftest.er1 >conftest.err
41892 rm -f conftest.er1
41893 cat conftest.err >&5
41894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41895 (exit $ac_status); } && {
41896 test -z "$ac_c_werror_flag" ||
41897 test ! -s conftest.err
41898 } && test -s conftest.$ac_objext; then
41899 wx_cv_cflags_mthread=yes
41900 else
41901 echo "$as_me: failed program was:" >&5
41902 sed 's/^/| /' conftest.$ac_ext >&5
41903
41904 wx_cv_cflags_mthread=no
41905
41906 fi
41907
41908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41909
41910
41911 fi
41912 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41913 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41914
41915 if test "$wx_cv_cflags_mthread" = "yes"; then
41916 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41917 LDFLAGS="$LDFLAGS -mthreads"
41918 else
41919 CFLAGS="$CFLAGS_OLD"
41920 fi
41921 ;;
41922 *-pc-os2*emx )
41923 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41924 LDFLAGS="$LDFLAGS -Zmt"
41925 ;;
41926 esac
41927 fi
41928 fi
41929
41930 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41931 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41932 if test "${ac_cv_func_localtime_r+set}" = set; then
41933 echo $ECHO_N "(cached) $ECHO_C" >&6
41934 else
41935 cat >conftest.$ac_ext <<_ACEOF
41936 /* confdefs.h. */
41937 _ACEOF
41938 cat confdefs.h >>conftest.$ac_ext
41939 cat >>conftest.$ac_ext <<_ACEOF
41940 /* end confdefs.h. */
41941 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41943 #define localtime_r innocuous_localtime_r
41944
41945 /* System header to define __stub macros and hopefully few prototypes,
41946 which can conflict with char localtime_r (); below.
41947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41948 <limits.h> exists even on freestanding compilers. */
41949
41950 #ifdef __STDC__
41951 # include <limits.h>
41952 #else
41953 # include <assert.h>
41954 #endif
41955
41956 #undef localtime_r
41957
41958 /* Override any GCC internal prototype to avoid an error.
41959 Use char because int might match the return type of a GCC
41960 builtin and then its argument prototype would still apply. */
41961 #ifdef __cplusplus
41962 extern "C"
41963 #endif
41964 char localtime_r ();
41965 /* The GNU C library defines this for functions which it implements
41966 to always fail with ENOSYS. Some functions are actually named
41967 something starting with __ and the normal name is an alias. */
41968 #if defined __stub_localtime_r || defined __stub___localtime_r
41969 choke me
41970 #endif
41971
41972 int
41973 main ()
41974 {
41975 return localtime_r ();
41976 ;
41977 return 0;
41978 }
41979 _ACEOF
41980 rm -f conftest.$ac_objext conftest$ac_exeext
41981 if { (ac_try="$ac_link"
41982 case "(($ac_try" in
41983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41984 *) ac_try_echo=$ac_try;;
41985 esac
41986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41987 (eval "$ac_link") 2>conftest.er1
41988 ac_status=$?
41989 grep -v '^ *+' conftest.er1 >conftest.err
41990 rm -f conftest.er1
41991 cat conftest.err >&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } && {
41994 test -z "$ac_c_werror_flag" ||
41995 test ! -s conftest.err
41996 } && test -s conftest$ac_exeext &&
41997 $as_test_x conftest$ac_exeext; then
41998 ac_cv_func_localtime_r=yes
41999 else
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.$ac_ext >&5
42002
42003 ac_cv_func_localtime_r=no
42004 fi
42005
42006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42007 conftest$ac_exeext conftest.$ac_ext
42008 fi
42009 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42010 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42011 if test $ac_cv_func_localtime_r = yes; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define HAVE_LOCALTIME_R 1
42014 _ACEOF
42015
42016 fi
42017
42018 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42019 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42020 if test "${ac_cv_func_gmtime_r+set}" = set; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42022 else
42023 cat >conftest.$ac_ext <<_ACEOF
42024 /* confdefs.h. */
42025 _ACEOF
42026 cat confdefs.h >>conftest.$ac_ext
42027 cat >>conftest.$ac_ext <<_ACEOF
42028 /* end confdefs.h. */
42029 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42031 #define gmtime_r innocuous_gmtime_r
42032
42033 /* System header to define __stub macros and hopefully few prototypes,
42034 which can conflict with char gmtime_r (); below.
42035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42036 <limits.h> exists even on freestanding compilers. */
42037
42038 #ifdef __STDC__
42039 # include <limits.h>
42040 #else
42041 # include <assert.h>
42042 #endif
42043
42044 #undef gmtime_r
42045
42046 /* Override any GCC internal prototype to avoid an error.
42047 Use char because int might match the return type of a GCC
42048 builtin and then its argument prototype would still apply. */
42049 #ifdef __cplusplus
42050 extern "C"
42051 #endif
42052 char gmtime_r ();
42053 /* The GNU C library defines this for functions which it implements
42054 to always fail with ENOSYS. Some functions are actually named
42055 something starting with __ and the normal name is an alias. */
42056 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42057 choke me
42058 #endif
42059
42060 int
42061 main ()
42062 {
42063 return gmtime_r ();
42064 ;
42065 return 0;
42066 }
42067 _ACEOF
42068 rm -f conftest.$ac_objext conftest$ac_exeext
42069 if { (ac_try="$ac_link"
42070 case "(($ac_try" in
42071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42072 *) ac_try_echo=$ac_try;;
42073 esac
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_link") 2>conftest.er1
42076 ac_status=$?
42077 grep -v '^ *+' conftest.er1 >conftest.err
42078 rm -f conftest.er1
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest$ac_exeext &&
42085 $as_test_x conftest$ac_exeext; then
42086 ac_cv_func_gmtime_r=yes
42087 else
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42090
42091 ac_cv_func_gmtime_r=no
42092 fi
42093
42094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42095 conftest$ac_exeext conftest.$ac_ext
42096 fi
42097 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42098 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42099 if test $ac_cv_func_gmtime_r = yes; then
42100 cat >>confdefs.h <<\_ACEOF
42101 #define HAVE_GMTIME_R 1
42102 _ACEOF
42103
42104 fi
42105
42106
42107
42108
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42114
42115 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42116 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42117
42118 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42119 echo $ECHO_N "(cached) $ECHO_C" >&6
42120 else
42121
42122
42123 ################################################################
42124
42125 ac_cv_func_which_gethostbyname_r=unknown
42126
42127 #
42128 # ONE ARGUMENT (sanity check)
42129 #
42130
42131 # This should fail, as there is no variant of gethostbyname_r() that takes
42132 # a single argument. If it actually compiles, then we can assume that
42133 # netdb.h is not declaring the function, and the compiler is thereby
42134 # assuming an implicit prototype. In which case, we're out of luck.
42135 #
42136 cat >conftest.$ac_ext <<_ACEOF
42137 /* confdefs.h. */
42138 _ACEOF
42139 cat confdefs.h >>conftest.$ac_ext
42140 cat >>conftest.$ac_ext <<_ACEOF
42141 /* end confdefs.h. */
42142 #include <netdb.h>
42143 int
42144 main ()
42145 {
42146
42147 char *name = "www.gnu.org";
42148 (void)gethostbyname_r(name) /* ; */
42149
42150 ;
42151 return 0;
42152 }
42153 _ACEOF
42154 rm -f conftest.$ac_objext
42155 if { (ac_try="$ac_compile"
42156 case "(($ac_try" in
42157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42158 *) ac_try_echo=$ac_try;;
42159 esac
42160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42161 (eval "$ac_compile") 2>conftest.er1
42162 ac_status=$?
42163 grep -v '^ *+' conftest.er1 >conftest.err
42164 rm -f conftest.er1
42165 cat conftest.err >&5
42166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42167 (exit $ac_status); } && {
42168 test -z "$ac_c_werror_flag" ||
42169 test ! -s conftest.err
42170 } && test -s conftest.$ac_objext; then
42171 ac_cv_func_which_gethostbyname_r=no
42172 else
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.$ac_ext >&5
42175
42176
42177 fi
42178
42179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42180
42181 #
42182 # SIX ARGUMENTS
42183 # (e.g. Linux)
42184 #
42185
42186 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42187
42188 cat >conftest.$ac_ext <<_ACEOF
42189 /* confdefs.h. */
42190 _ACEOF
42191 cat confdefs.h >>conftest.$ac_ext
42192 cat >>conftest.$ac_ext <<_ACEOF
42193 /* end confdefs.h. */
42194 #include <netdb.h>
42195 int
42196 main ()
42197 {
42198
42199 char *name = "www.gnu.org";
42200 struct hostent ret, *retp;
42201 char buf[1024];
42202 int buflen = 1024;
42203 int my_h_errno;
42204 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42205
42206 ;
42207 return 0;
42208 }
42209 _ACEOF
42210 rm -f conftest.$ac_objext
42211 if { (ac_try="$ac_compile"
42212 case "(($ac_try" in
42213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42215 esac
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_compile") 2>conftest.er1
42218 ac_status=$?
42219 grep -v '^ *+' conftest.er1 >conftest.err
42220 rm -f conftest.er1
42221 cat conftest.err >&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); } && {
42224 test -z "$ac_c_werror_flag" ||
42225 test ! -s conftest.err
42226 } && test -s conftest.$ac_objext; then
42227 ac_cv_func_which_gethostbyname_r=six
42228 else
42229 echo "$as_me: failed program was:" >&5
42230 sed 's/^/| /' conftest.$ac_ext >&5
42231
42232
42233 fi
42234
42235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42236
42237 fi
42238
42239 #
42240 # FIVE ARGUMENTS
42241 # (e.g. Solaris)
42242 #
42243
42244 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42245
42246 cat >conftest.$ac_ext <<_ACEOF
42247 /* confdefs.h. */
42248 _ACEOF
42249 cat confdefs.h >>conftest.$ac_ext
42250 cat >>conftest.$ac_ext <<_ACEOF
42251 /* end confdefs.h. */
42252 #include <netdb.h>
42253 int
42254 main ()
42255 {
42256
42257 char *name = "www.gnu.org";
42258 struct hostent ret;
42259 char buf[1024];
42260 int buflen = 1024;
42261 int my_h_errno;
42262 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42263
42264 ;
42265 return 0;
42266 }
42267 _ACEOF
42268 rm -f conftest.$ac_objext
42269 if { (ac_try="$ac_compile"
42270 case "(($ac_try" in
42271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42272 *) ac_try_echo=$ac_try;;
42273 esac
42274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42275 (eval "$ac_compile") 2>conftest.er1
42276 ac_status=$?
42277 grep -v '^ *+' conftest.er1 >conftest.err
42278 rm -f conftest.er1
42279 cat conftest.err >&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); } && {
42282 test -z "$ac_c_werror_flag" ||
42283 test ! -s conftest.err
42284 } && test -s conftest.$ac_objext; then
42285 ac_cv_func_which_gethostbyname_r=five
42286 else
42287 echo "$as_me: failed program was:" >&5
42288 sed 's/^/| /' conftest.$ac_ext >&5
42289
42290
42291 fi
42292
42293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42294
42295 fi
42296
42297 #
42298 # THREE ARGUMENTS
42299 # (e.g. AIX, HP-UX, Tru64)
42300 #
42301
42302 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42303
42304 cat >conftest.$ac_ext <<_ACEOF
42305 /* confdefs.h. */
42306 _ACEOF
42307 cat confdefs.h >>conftest.$ac_ext
42308 cat >>conftest.$ac_ext <<_ACEOF
42309 /* end confdefs.h. */
42310 #include <netdb.h>
42311 int
42312 main ()
42313 {
42314
42315 char *name = "www.gnu.org";
42316 struct hostent ret;
42317 struct hostent_data data;
42318 (void)gethostbyname_r(name, &ret, &data) /* ; */
42319
42320 ;
42321 return 0;
42322 }
42323 _ACEOF
42324 rm -f conftest.$ac_objext
42325 if { (ac_try="$ac_compile"
42326 case "(($ac_try" in
42327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42328 *) ac_try_echo=$ac_try;;
42329 esac
42330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42331 (eval "$ac_compile") 2>conftest.er1
42332 ac_status=$?
42333 grep -v '^ *+' conftest.er1 >conftest.err
42334 rm -f conftest.er1
42335 cat conftest.err >&5
42336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42337 (exit $ac_status); } && {
42338 test -z "$ac_c_werror_flag" ||
42339 test ! -s conftest.err
42340 } && test -s conftest.$ac_objext; then
42341 ac_cv_func_which_gethostbyname_r=three
42342 else
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42345
42346
42347 fi
42348
42349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42350
42351 fi
42352
42353 ################################################################
42354
42355
42356 fi
42357
42358 case "$ac_cv_func_which_gethostbyname_r" in
42359 three)
42360 { echo "$as_me:$LINENO: result: three" >&5
42361 echo "${ECHO_T}three" >&6; }
42362 cat >>confdefs.h <<\_ACEOF
42363 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42364 _ACEOF
42365
42366 ;;
42367
42368 five)
42369 { echo "$as_me:$LINENO: result: five" >&5
42370 echo "${ECHO_T}five" >&6; }
42371 cat >>confdefs.h <<\_ACEOF
42372 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42373 _ACEOF
42374
42375 ;;
42376
42377 six)
42378 { echo "$as_me:$LINENO: result: six" >&5
42379 echo "${ECHO_T}six" >&6; }
42380 cat >>confdefs.h <<\_ACEOF
42381 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42382 _ACEOF
42383
42384 ;;
42385
42386 no)
42387 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42388 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42389 ;;
42390
42391 unknown)
42392 { echo "$as_me:$LINENO: result: can't tell" >&5
42393 echo "${ECHO_T}can't tell" >&6; }
42394 ;;
42395
42396 *)
42397 { { echo "$as_me:$LINENO: error: internal error" >&5
42398 echo "$as_me: error: internal error" >&2;}
42399 { (exit 1); exit 1; }; }
42400 ;;
42401 esac
42402
42403 ac_ext=c
42404 ac_cpp='$CPP $CPPFLAGS'
42405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42408
42409
42410
42411 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42412 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42413 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42414 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42415 if test "${ac_cv_func_gethostbyname+set}" = set; then
42416 echo $ECHO_N "(cached) $ECHO_C" >&6
42417 else
42418 cat >conftest.$ac_ext <<_ACEOF
42419 /* confdefs.h. */
42420 _ACEOF
42421 cat confdefs.h >>conftest.$ac_ext
42422 cat >>conftest.$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42424 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42426 #define gethostbyname innocuous_gethostbyname
42427
42428 /* System header to define __stub macros and hopefully few prototypes,
42429 which can conflict with char gethostbyname (); below.
42430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42431 <limits.h> exists even on freestanding compilers. */
42432
42433 #ifdef __STDC__
42434 # include <limits.h>
42435 #else
42436 # include <assert.h>
42437 #endif
42438
42439 #undef gethostbyname
42440
42441 /* Override any GCC internal prototype to avoid an error.
42442 Use char because int might match the return type of a GCC
42443 builtin and then its argument prototype would still apply. */
42444 #ifdef __cplusplus
42445 extern "C"
42446 #endif
42447 char gethostbyname ();
42448 /* The GNU C library defines this for functions which it implements
42449 to always fail with ENOSYS. Some functions are actually named
42450 something starting with __ and the normal name is an alias. */
42451 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42452 choke me
42453 #endif
42454
42455 int
42456 main ()
42457 {
42458 return gethostbyname ();
42459 ;
42460 return 0;
42461 }
42462 _ACEOF
42463 rm -f conftest.$ac_objext conftest$ac_exeext
42464 if { (ac_try="$ac_link"
42465 case "(($ac_try" in
42466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42467 *) ac_try_echo=$ac_try;;
42468 esac
42469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42470 (eval "$ac_link") 2>conftest.er1
42471 ac_status=$?
42472 grep -v '^ *+' conftest.er1 >conftest.err
42473 rm -f conftest.er1
42474 cat conftest.err >&5
42475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42476 (exit $ac_status); } && {
42477 test -z "$ac_c_werror_flag" ||
42478 test ! -s conftest.err
42479 } && test -s conftest$ac_exeext &&
42480 $as_test_x conftest$ac_exeext; then
42481 ac_cv_func_gethostbyname=yes
42482 else
42483 echo "$as_me: failed program was:" >&5
42484 sed 's/^/| /' conftest.$ac_ext >&5
42485
42486 ac_cv_func_gethostbyname=no
42487 fi
42488
42489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42490 conftest$ac_exeext conftest.$ac_ext
42491 fi
42492 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42493 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42494 if test $ac_cv_func_gethostbyname = yes; then
42495 cat >>confdefs.h <<\_ACEOF
42496 #define HAVE_GETHOSTBYNAME 1
42497 _ACEOF
42498
42499 fi
42500
42501 fi
42502
42503 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42504 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42505 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42507 else
42508
42509 ac_ext=cpp
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42514
42515
42516 cat >conftest.$ac_ext <<_ACEOF
42517 /* confdefs.h. */
42518 _ACEOF
42519 cat confdefs.h >>conftest.$ac_ext
42520 cat >>conftest.$ac_ext <<_ACEOF
42521 /* end confdefs.h. */
42522 #include <netdb.h>
42523 int
42524 main ()
42525 {
42526
42527 char *name;
42528 char *proto;
42529 struct servent *se, *res;
42530 char buffer[2048];
42531 int buflen = 2048;
42532 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42533
42534 ;
42535 return 0;
42536 }
42537 _ACEOF
42538 rm -f conftest.$ac_objext
42539 if { (ac_try="$ac_compile"
42540 case "(($ac_try" in
42541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42542 *) ac_try_echo=$ac_try;;
42543 esac
42544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42545 (eval "$ac_compile") 2>conftest.er1
42546 ac_status=$?
42547 grep -v '^ *+' conftest.er1 >conftest.err
42548 rm -f conftest.er1
42549 cat conftest.err >&5
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); } && {
42552 test -z "$ac_cxx_werror_flag" ||
42553 test ! -s conftest.err
42554 } && test -s conftest.$ac_objext; then
42555 ac_cv_func_which_getservbyname_r=six
42556 else
42557 echo "$as_me: failed program was:" >&5
42558 sed 's/^/| /' conftest.$ac_ext >&5
42559
42560
42561 cat >conftest.$ac_ext <<_ACEOF
42562 /* confdefs.h. */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 #include <netdb.h>
42568 int
42569 main ()
42570 {
42571
42572 char *name;
42573 char *proto;
42574 struct servent *se;
42575 char buffer[2048];
42576 int buflen = 2048;
42577 (void) getservbyname_r(name, proto, se, buffer, buflen)
42578
42579 ;
42580 return 0;
42581 }
42582 _ACEOF
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42588 esac
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42591 ac_status=$?
42592 grep -v '^ *+' conftest.er1 >conftest.err
42593 rm -f conftest.er1
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_cxx_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 ac_cv_func_which_getservbyname_r=five
42601 else
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42604
42605
42606 cat >conftest.$ac_ext <<_ACEOF
42607 /* confdefs.h. */
42608 _ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42612 #include <netdb.h>
42613 int
42614 main ()
42615 {
42616
42617 char *name;
42618 char *proto;
42619 struct servent *se;
42620 struct servent_data data;
42621 (void) getservbyname_r(name, proto, se, &data);
42622
42623 ;
42624 return 0;
42625 }
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (ac_try="$ac_compile"
42629 case "(($ac_try" in
42630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42632 esac
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_compile") 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_cxx_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest.$ac_objext; then
42644 ac_cv_func_which_getservbyname_r=four
42645 else
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42648
42649 ac_cv_func_which_getservbyname_r=no
42650
42651 fi
42652
42653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42654
42655
42656 fi
42657
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659
42660
42661 fi
42662
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42664 ac_ext=c
42665 ac_cpp='$CPP $CPPFLAGS'
42666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42669
42670
42671
42672 fi
42673 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42674 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42675
42676 if test $ac_cv_func_which_getservbyname_r = six; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42679 _ACEOF
42680
42681 elif test $ac_cv_func_which_getservbyname_r = five; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42684 _ACEOF
42685
42686 elif test $ac_cv_func_which_getservbyname_r = four; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42689 _ACEOF
42690
42691 fi
42692
42693
42694 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42695 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42696
42697 for ac_func in getservbyname
42698 do
42699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42704 else
42705 cat >conftest.$ac_ext <<_ACEOF
42706 /* confdefs.h. */
42707 _ACEOF
42708 cat confdefs.h >>conftest.$ac_ext
42709 cat >>conftest.$ac_ext <<_ACEOF
42710 /* end confdefs.h. */
42711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42713 #define $ac_func innocuous_$ac_func
42714
42715 /* System header to define __stub macros and hopefully few prototypes,
42716 which can conflict with char $ac_func (); below.
42717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42718 <limits.h> exists even on freestanding compilers. */
42719
42720 #ifdef __STDC__
42721 # include <limits.h>
42722 #else
42723 # include <assert.h>
42724 #endif
42725
42726 #undef $ac_func
42727
42728 /* Override any GCC internal prototype to avoid an error.
42729 Use char because int might match the return type of a GCC
42730 builtin and then its argument prototype would still apply. */
42731 #ifdef __cplusplus
42732 extern "C"
42733 #endif
42734 char $ac_func ();
42735 /* The GNU C library defines this for functions which it implements
42736 to always fail with ENOSYS. Some functions are actually named
42737 something starting with __ and the normal name is an alias. */
42738 #if defined __stub_$ac_func || defined __stub___$ac_func
42739 choke me
42740 #endif
42741
42742 int
42743 main ()
42744 {
42745 return $ac_func ();
42746 ;
42747 return 0;
42748 }
42749 _ACEOF
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (ac_try="$ac_link"
42752 case "(($ac_try" in
42753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42754 *) ac_try_echo=$ac_try;;
42755 esac
42756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42757 (eval "$ac_link") 2>conftest.er1
42758 ac_status=$?
42759 grep -v '^ *+' conftest.er1 >conftest.err
42760 rm -f conftest.er1
42761 cat conftest.err >&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); } && {
42764 test -z "$ac_c_werror_flag" ||
42765 test ! -s conftest.err
42766 } && test -s conftest$ac_exeext &&
42767 $as_test_x conftest$ac_exeext; then
42768 eval "$as_ac_var=yes"
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42772
42773 eval "$as_ac_var=no"
42774 fi
42775
42776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42777 conftest$ac_exeext conftest.$ac_ext
42778 fi
42779 ac_res=`eval echo '${'$as_ac_var'}'`
42780 { echo "$as_me:$LINENO: result: $ac_res" >&5
42781 echo "${ECHO_T}$ac_res" >&6; }
42782 if test `eval echo '${'$as_ac_var'}'` = yes; then
42783 cat >>confdefs.h <<_ACEOF
42784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42785 _ACEOF
42786 cat >>confdefs.h <<\_ACEOF
42787 #define HAVE_GETSERVBYNAME 1
42788 _ACEOF
42789
42790 fi
42791 done
42792
42793 fi
42794
42795 if test "$wxUSE_THREADS" = "yes"; then
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_THREADS 1
42798 _ACEOF
42799
42800
42801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42802 else
42803 if test "$wx_cv_func_strtok_r" = "yes"; then
42804 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42805 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42806 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42807 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42808 { echo "$as_me:$LINENO: result: yes" >&5
42809 echo "${ECHO_T}yes" >&6; }
42810 else
42811 { echo "$as_me:$LINENO: result: no" >&5
42812 echo "${ECHO_T}no" >&6; }
42813 fi
42814 fi
42815 fi
42816
42817 if test "$WXGTK2" = 1 ; then
42818 cat >>confdefs.h <<_ACEOF
42819 #define __WXGTK20__ $WXGTK2
42820 _ACEOF
42821
42822 WXGTK12=1
42823 fi
42824
42825 if test "$WXGTK12" = 1 ; then
42826 cat >>confdefs.h <<_ACEOF
42827 #define __WXGTK12__ $WXGTK12
42828 _ACEOF
42829
42830 fi
42831
42832 if test "$WXGTK127" = 1 ; then
42833 cat >>confdefs.h <<_ACEOF
42834 #define __WXGTK127__ $WXGTK127
42835 _ACEOF
42836
42837 fi
42838
42839 if test "$WXGPE" = 1 ; then
42840 cat >>confdefs.h <<_ACEOF
42841 #define __WXGPE__ $WXGPE
42842 _ACEOF
42843
42844 fi
42845
42846 DEBUG_CFLAGS=
42847 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42848 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42849 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42850 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42851 DEBUG_CFLAGS="-g"
42852 fi
42853
42854 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42855 wxUSE_DEBUG_INFO=yes
42856 if test "$GCC" = yes; then
42857 DEBUG_CFLAGS="-ggdb"
42858 fi
42859 fi
42860
42861 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42862 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42863
42864 if test "$wxUSE_GTK" = 1 ; then
42865 if test "x$wxGTK_VERSION" = "x1" ; then
42866 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42867 fi
42868 fi
42869 fi
42870
42871 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42872 cat >>confdefs.h <<\_ACEOF
42873 #define wxUSE_MEMORY_TRACING 1
42874 _ACEOF
42875
42876 cat >>confdefs.h <<\_ACEOF
42877 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42878 _ACEOF
42879
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_DEBUG_NEW_ALWAYS 1
42882 _ACEOF
42883
42884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42885 fi
42886
42887 if test "$wxUSE_DMALLOC" = "yes" ; then
42888 DMALLOC_LIBS="-ldmallocthcxx"
42889 fi
42890
42891 PROFILE_FLAGS=
42892 if test "$wxUSE_PROFILE" = "yes" ; then
42893 PROFILE_FLAGS=" -pg"
42894 fi
42895
42896 if test "$GCC" = "yes" ; then
42897 if test "$wxUSE_NO_RTTI" = "yes" ; then
42898 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42899 fi
42900 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42901 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42902 fi
42903 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42904 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42905 fi
42906
42907 case "${host}" in
42908 powerpc*-*-aix* )
42909 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42910 ;;
42911 *-hppa* )
42912 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42913 ;;
42914 esac
42915 fi
42916
42917 OPTIMISE_CFLAGS=
42918 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42919 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42920 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42921 else
42922 if test "$wxUSE_OPTIMISE" = "no" ; then
42923 if test "$GCC" = yes ; then
42924 OPTIMISE_CFLAGS="-O0"
42925 fi
42926 else
42927 if test "$GCC" = yes ; then
42928 case "${host}" in
42929 *-pc-os2_emx | *-pc-os2-emx )
42930 OPTIMISE_CFLAGS="-O2"
42931 ;;
42932 *)
42933 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42934 ;;
42935 esac
42936 else
42937 OPTIMISE_CFLAGS="-O"
42938 fi
42939 fi
42940 fi
42941
42942
42943 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42944 cat >>confdefs.h <<\_ACEOF
42945 #define WXWIN_COMPATIBILITY_2_6 1
42946 _ACEOF
42947
42948
42949 WXWIN_COMPATIBILITY_2_8="yes"
42950 fi
42951
42952 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42953 cat >>confdefs.h <<\_ACEOF
42954 #define WXWIN_COMPATIBILITY_2_8 1
42955 _ACEOF
42956
42957 fi
42958
42959
42960 if test "$wxUSE_GUI" = "yes"; then
42961 cat >>confdefs.h <<\_ACEOF
42962 #define wxUSE_GUI 1
42963 _ACEOF
42964
42965
42966 fi
42967
42968
42969 if test "$wxUSE_UNIX" = "yes"; then
42970 cat >>confdefs.h <<\_ACEOF
42971 #define wxUSE_UNIX 1
42972 _ACEOF
42973
42974 fi
42975
42976
42977 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42978
42979 HAVE_DL_FUNCS=0
42980 HAVE_SHL_FUNCS=0
42981 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42982 if test "$USE_DOS" = 1; then
42983 HAVE_DL_FUNCS=0
42984 else
42985
42986 for ac_func in dlopen
42987 do
42988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42992 echo $ECHO_N "(cached) $ECHO_C" >&6
42993 else
42994 cat >conftest.$ac_ext <<_ACEOF
42995 /* confdefs.h. */
42996 _ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h. */
43000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43002 #define $ac_func innocuous_$ac_func
43003
43004 /* System header to define __stub macros and hopefully few prototypes,
43005 which can conflict with char $ac_func (); below.
43006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43007 <limits.h> exists even on freestanding compilers. */
43008
43009 #ifdef __STDC__
43010 # include <limits.h>
43011 #else
43012 # include <assert.h>
43013 #endif
43014
43015 #undef $ac_func
43016
43017 /* Override any GCC internal prototype to avoid an error.
43018 Use char because int might match the return type of a GCC
43019 builtin and then its argument prototype would still apply. */
43020 #ifdef __cplusplus
43021 extern "C"
43022 #endif
43023 char $ac_func ();
43024 /* The GNU C library defines this for functions which it implements
43025 to always fail with ENOSYS. Some functions are actually named
43026 something starting with __ and the normal name is an alias. */
43027 #if defined __stub_$ac_func || defined __stub___$ac_func
43028 choke me
43029 #endif
43030
43031 int
43032 main ()
43033 {
43034 return $ac_func ();
43035 ;
43036 return 0;
43037 }
43038 _ACEOF
43039 rm -f conftest.$ac_objext conftest$ac_exeext
43040 if { (ac_try="$ac_link"
43041 case "(($ac_try" in
43042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43043 *) ac_try_echo=$ac_try;;
43044 esac
43045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43046 (eval "$ac_link") 2>conftest.er1
43047 ac_status=$?
43048 grep -v '^ *+' conftest.er1 >conftest.err
43049 rm -f conftest.er1
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } && {
43053 test -z "$ac_c_werror_flag" ||
43054 test ! -s conftest.err
43055 } && test -s conftest$ac_exeext &&
43056 $as_test_x conftest$ac_exeext; then
43057 eval "$as_ac_var=yes"
43058 else
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.$ac_ext >&5
43061
43062 eval "$as_ac_var=no"
43063 fi
43064
43065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43066 conftest$ac_exeext conftest.$ac_ext
43067 fi
43068 ac_res=`eval echo '${'$as_ac_var'}'`
43069 { echo "$as_me:$LINENO: result: $ac_res" >&5
43070 echo "${ECHO_T}$ac_res" >&6; }
43071 if test `eval echo '${'$as_ac_var'}'` = yes; then
43072 cat >>confdefs.h <<_ACEOF
43073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43074 _ACEOF
43075
43076 cat >>confdefs.h <<\_ACEOF
43077 #define HAVE_DLOPEN 1
43078 _ACEOF
43079
43080 HAVE_DL_FUNCS=1
43081
43082 else
43083
43084 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43085 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43086 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43087 echo $ECHO_N "(cached) $ECHO_C" >&6
43088 else
43089 ac_check_lib_save_LIBS=$LIBS
43090 LIBS="-ldl $LIBS"
43091 cat >conftest.$ac_ext <<_ACEOF
43092 /* confdefs.h. */
43093 _ACEOF
43094 cat confdefs.h >>conftest.$ac_ext
43095 cat >>conftest.$ac_ext <<_ACEOF
43096 /* end confdefs.h. */
43097
43098 /* Override any GCC internal prototype to avoid an error.
43099 Use char because int might match the return type of a GCC
43100 builtin and then its argument prototype would still apply. */
43101 #ifdef __cplusplus
43102 extern "C"
43103 #endif
43104 char dlopen ();
43105 int
43106 main ()
43107 {
43108 return dlopen ();
43109 ;
43110 return 0;
43111 }
43112 _ACEOF
43113 rm -f conftest.$ac_objext conftest$ac_exeext
43114 if { (ac_try="$ac_link"
43115 case "(($ac_try" in
43116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43117 *) ac_try_echo=$ac_try;;
43118 esac
43119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43120 (eval "$ac_link") 2>conftest.er1
43121 ac_status=$?
43122 grep -v '^ *+' conftest.er1 >conftest.err
43123 rm -f conftest.er1
43124 cat conftest.err >&5
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); } && {
43127 test -z "$ac_c_werror_flag" ||
43128 test ! -s conftest.err
43129 } && test -s conftest$ac_exeext &&
43130 $as_test_x conftest$ac_exeext; then
43131 ac_cv_lib_dl_dlopen=yes
43132 else
43133 echo "$as_me: failed program was:" >&5
43134 sed 's/^/| /' conftest.$ac_ext >&5
43135
43136 ac_cv_lib_dl_dlopen=no
43137 fi
43138
43139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43140 conftest$ac_exeext conftest.$ac_ext
43141 LIBS=$ac_check_lib_save_LIBS
43142 fi
43143 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43144 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43145 if test $ac_cv_lib_dl_dlopen = yes; then
43146
43147 cat >>confdefs.h <<\_ACEOF
43148 #define HAVE_DLOPEN 1
43149 _ACEOF
43150
43151 HAVE_DL_FUNCS=1
43152 DL_LINK=" -ldl$DL_LINK"
43153
43154 else
43155
43156
43157 for ac_func in shl_load
43158 do
43159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43160 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43162 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43163 echo $ECHO_N "(cached) $ECHO_C" >&6
43164 else
43165 cat >conftest.$ac_ext <<_ACEOF
43166 /* confdefs.h. */
43167 _ACEOF
43168 cat confdefs.h >>conftest.$ac_ext
43169 cat >>conftest.$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43173 #define $ac_func innocuous_$ac_func
43174
43175 /* System header to define __stub macros and hopefully few prototypes,
43176 which can conflict with char $ac_func (); below.
43177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43178 <limits.h> exists even on freestanding compilers. */
43179
43180 #ifdef __STDC__
43181 # include <limits.h>
43182 #else
43183 # include <assert.h>
43184 #endif
43185
43186 #undef $ac_func
43187
43188 /* Override any GCC internal prototype to avoid an error.
43189 Use char because int might match the return type of a GCC
43190 builtin and then its argument prototype would still apply. */
43191 #ifdef __cplusplus
43192 extern "C"
43193 #endif
43194 char $ac_func ();
43195 /* The GNU C library defines this for functions which it implements
43196 to always fail with ENOSYS. Some functions are actually named
43197 something starting with __ and the normal name is an alias. */
43198 #if defined __stub_$ac_func || defined __stub___$ac_func
43199 choke me
43200 #endif
43201
43202 int
43203 main ()
43204 {
43205 return $ac_func ();
43206 ;
43207 return 0;
43208 }
43209 _ACEOF
43210 rm -f conftest.$ac_objext conftest$ac_exeext
43211 if { (ac_try="$ac_link"
43212 case "(($ac_try" in
43213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43214 *) ac_try_echo=$ac_try;;
43215 esac
43216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43217 (eval "$ac_link") 2>conftest.er1
43218 ac_status=$?
43219 grep -v '^ *+' conftest.er1 >conftest.err
43220 rm -f conftest.er1
43221 cat conftest.err >&5
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); } && {
43224 test -z "$ac_c_werror_flag" ||
43225 test ! -s conftest.err
43226 } && test -s conftest$ac_exeext &&
43227 $as_test_x conftest$ac_exeext; then
43228 eval "$as_ac_var=yes"
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43232
43233 eval "$as_ac_var=no"
43234 fi
43235
43236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43237 conftest$ac_exeext conftest.$ac_ext
43238 fi
43239 ac_res=`eval echo '${'$as_ac_var'}'`
43240 { echo "$as_me:$LINENO: result: $ac_res" >&5
43241 echo "${ECHO_T}$ac_res" >&6; }
43242 if test `eval echo '${'$as_ac_var'}'` = yes; then
43243 cat >>confdefs.h <<_ACEOF
43244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43245 _ACEOF
43246
43247 cat >>confdefs.h <<\_ACEOF
43248 #define HAVE_SHL_LOAD 1
43249 _ACEOF
43250
43251 HAVE_SHL_FUNCS=1
43252
43253 else
43254
43255 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43256 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43257 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43258 echo $ECHO_N "(cached) $ECHO_C" >&6
43259 else
43260 ac_check_lib_save_LIBS=$LIBS
43261 LIBS="-lshl_load $LIBS"
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h. */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268
43269 /* Override any GCC internal prototype to avoid an error.
43270 Use char because int might match the return type of a GCC
43271 builtin and then its argument prototype would still apply. */
43272 #ifdef __cplusplus
43273 extern "C"
43274 #endif
43275 char dld ();
43276 int
43277 main ()
43278 {
43279 return dld ();
43280 ;
43281 return 0;
43282 }
43283 _ACEOF
43284 rm -f conftest.$ac_objext conftest$ac_exeext
43285 if { (ac_try="$ac_link"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43288 *) ac_try_echo=$ac_try;;
43289 esac
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_link") 2>conftest.er1
43292 ac_status=$?
43293 grep -v '^ *+' conftest.er1 >conftest.err
43294 rm -f conftest.er1
43295 cat conftest.err >&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_c_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest$ac_exeext &&
43301 $as_test_x conftest$ac_exeext; then
43302 ac_cv_lib_shl_load_dld=yes
43303 else
43304 echo "$as_me: failed program was:" >&5
43305 sed 's/^/| /' conftest.$ac_ext >&5
43306
43307 ac_cv_lib_shl_load_dld=no
43308 fi
43309
43310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43311 conftest$ac_exeext conftest.$ac_ext
43312 LIBS=$ac_check_lib_save_LIBS
43313 fi
43314 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43315 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43316 if test $ac_cv_lib_shl_load_dld = yes; then
43317
43318 HAVE_SHL_FUNCS=1
43319 DL_LINK=" -ldld$DL_LINK"
43320
43321 fi
43322
43323
43324 fi
43325 done
43326
43327
43328 fi
43329
43330
43331 fi
43332 done
43333
43334
43335 if test "$HAVE_DL_FUNCS" = 1; then
43336
43337 for ac_func in dlerror
43338 do
43339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43342 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43343 echo $ECHO_N "(cached) $ECHO_C" >&6
43344 else
43345 cat >conftest.$ac_ext <<_ACEOF
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43353 #define $ac_func innocuous_$ac_func
43354
43355 /* System header to define __stub macros and hopefully few prototypes,
43356 which can conflict with char $ac_func (); below.
43357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43358 <limits.h> exists even on freestanding compilers. */
43359
43360 #ifdef __STDC__
43361 # include <limits.h>
43362 #else
43363 # include <assert.h>
43364 #endif
43365
43366 #undef $ac_func
43367
43368 /* Override any GCC internal prototype to avoid an error.
43369 Use char because int might match the return type of a GCC
43370 builtin and then its argument prototype would still apply. */
43371 #ifdef __cplusplus
43372 extern "C"
43373 #endif
43374 char $ac_func ();
43375 /* The GNU C library defines this for functions which it implements
43376 to always fail with ENOSYS. Some functions are actually named
43377 something starting with __ and the normal name is an alias. */
43378 #if defined __stub_$ac_func || defined __stub___$ac_func
43379 choke me
43380 #endif
43381
43382 int
43383 main ()
43384 {
43385 return $ac_func ();
43386 ;
43387 return 0;
43388 }
43389 _ACEOF
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (ac_try="$ac_link"
43392 case "(($ac_try" in
43393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43394 *) ac_try_echo=$ac_try;;
43395 esac
43396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43397 (eval "$ac_link") 2>conftest.er1
43398 ac_status=$?
43399 grep -v '^ *+' conftest.er1 >conftest.err
43400 rm -f conftest.er1
43401 cat conftest.err >&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } && {
43404 test -z "$ac_c_werror_flag" ||
43405 test ! -s conftest.err
43406 } && test -s conftest$ac_exeext &&
43407 $as_test_x conftest$ac_exeext; then
43408 eval "$as_ac_var=yes"
43409 else
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43412
43413 eval "$as_ac_var=no"
43414 fi
43415
43416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43417 conftest$ac_exeext conftest.$ac_ext
43418 fi
43419 ac_res=`eval echo '${'$as_ac_var'}'`
43420 { echo "$as_me:$LINENO: result: $ac_res" >&5
43421 echo "${ECHO_T}$ac_res" >&6; }
43422 if test `eval echo '${'$as_ac_var'}'` = yes; then
43423 cat >>confdefs.h <<_ACEOF
43424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43425 _ACEOF
43426 cat >>confdefs.h <<\_ACEOF
43427 #define HAVE_DLERROR 1
43428 _ACEOF
43429
43430 else
43431
43432 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43433 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43434 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43436 else
43437 ac_check_lib_save_LIBS=$LIBS
43438 LIBS="-ldl $LIBS"
43439 cat >conftest.$ac_ext <<_ACEOF
43440 /* confdefs.h. */
43441 _ACEOF
43442 cat confdefs.h >>conftest.$ac_ext
43443 cat >>conftest.$ac_ext <<_ACEOF
43444 /* end confdefs.h. */
43445
43446 /* Override any GCC internal prototype to avoid an error.
43447 Use char because int might match the return type of a GCC
43448 builtin and then its argument prototype would still apply. */
43449 #ifdef __cplusplus
43450 extern "C"
43451 #endif
43452 char dlerror ();
43453 int
43454 main ()
43455 {
43456 return dlerror ();
43457 ;
43458 return 0;
43459 }
43460 _ACEOF
43461 rm -f conftest.$ac_objext conftest$ac_exeext
43462 if { (ac_try="$ac_link"
43463 case "(($ac_try" in
43464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43465 *) ac_try_echo=$ac_try;;
43466 esac
43467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43468 (eval "$ac_link") 2>conftest.er1
43469 ac_status=$?
43470 grep -v '^ *+' conftest.er1 >conftest.err
43471 rm -f conftest.er1
43472 cat conftest.err >&5
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); } && {
43475 test -z "$ac_c_werror_flag" ||
43476 test ! -s conftest.err
43477 } && test -s conftest$ac_exeext &&
43478 $as_test_x conftest$ac_exeext; then
43479 ac_cv_lib_dl_dlerror=yes
43480 else
43481 echo "$as_me: failed program was:" >&5
43482 sed 's/^/| /' conftest.$ac_ext >&5
43483
43484 ac_cv_lib_dl_dlerror=no
43485 fi
43486
43487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43488 conftest$ac_exeext conftest.$ac_ext
43489 LIBS=$ac_check_lib_save_LIBS
43490 fi
43491 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43492 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43493 if test $ac_cv_lib_dl_dlerror = yes; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define HAVE_DLERROR 1
43496 _ACEOF
43497
43498 fi
43499
43500
43501
43502 fi
43503 done
43504
43505 fi
43506 fi
43507
43508 if test "$USE_DARWIN" = 1; then
43509 HAVE_DL_FUNCS=1
43510 fi
43511
43512 if test "$HAVE_DL_FUNCS" = 0; then
43513 if test "$HAVE_SHL_FUNCS" = 0; then
43514 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43515 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43516 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43517 wxUSE_DYNAMIC_LOADER=no
43518 wxUSE_DYNLIB_CLASS=no
43519 else
43520 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43521 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43522 fi
43523 fi
43524 fi
43525 fi
43526 fi
43527
43528 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43529 cat >>confdefs.h <<\_ACEOF
43530 #define wxUSE_DYNAMIC_LOADER 1
43531 _ACEOF
43532
43533 fi
43534 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_DYNLIB_CLASS 1
43537 _ACEOF
43538
43539 fi
43540
43541
43542
43543 if test "$wxUSE_PLUGINS" = "yes" ; then
43544 if test "$wxUSE_SHARED" = "no" ; then
43545 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43546 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43547 wxUSE_PLUGINS=no
43548 fi
43549 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43550 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43551 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43552 wxUSE_PLUGINS=no
43553 fi
43554 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43555 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43556 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43557 wxUSE_PLUGINS=no
43558 fi
43559 if test "$wxUSE_PLUGINS" = "yes" ; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_PLUGINS 1
43562 _ACEOF
43563
43564 fi
43565 fi
43566
43567
43568 if test "$wxUSE_FSWATCHER" = "yes"; then
43569 if test "$wxUSE_MSW" != "1"; then
43570 if test "$wxUSE_UNIX" = "yes"; then
43571
43572 for ac_header in sys/inotify.h
43573 do
43574 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43579 else
43580 cat >conftest.$ac_ext <<_ACEOF
43581 /* confdefs.h. */
43582 _ACEOF
43583 cat confdefs.h >>conftest.$ac_ext
43584 cat >>conftest.$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43586 $ac_includes_default
43587
43588 #include <$ac_header>
43589 _ACEOF
43590 rm -f conftest.$ac_objext
43591 if { (ac_try="$ac_compile"
43592 case "(($ac_try" in
43593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43594 *) ac_try_echo=$ac_try;;
43595 esac
43596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43597 (eval "$ac_compile") 2>conftest.er1
43598 ac_status=$?
43599 grep -v '^ *+' conftest.er1 >conftest.err
43600 rm -f conftest.er1
43601 cat conftest.err >&5
43602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43603 (exit $ac_status); } && {
43604 test -z "$ac_c_werror_flag" ||
43605 test ! -s conftest.err
43606 } && test -s conftest.$ac_objext; then
43607 eval "$as_ac_Header=yes"
43608 else
43609 echo "$as_me: failed program was:" >&5
43610 sed 's/^/| /' conftest.$ac_ext >&5
43611
43612 eval "$as_ac_Header=no"
43613 fi
43614
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 fi
43617 ac_res=`eval echo '${'$as_ac_Header'}'`
43618 { echo "$as_me:$LINENO: result: $ac_res" >&5
43619 echo "${ECHO_T}$ac_res" >&6; }
43620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43621 cat >>confdefs.h <<_ACEOF
43622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43623 _ACEOF
43624
43625 fi
43626
43627 done
43628
43629 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define wxHAS_INOTIFY 1
43632 _ACEOF
43633
43634 else
43635
43636 for ac_header in sys/event.h
43637 do
43638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43642 echo $ECHO_N "(cached) $ECHO_C" >&6
43643 else
43644 cat >conftest.$ac_ext <<_ACEOF
43645 /* confdefs.h. */
43646 _ACEOF
43647 cat confdefs.h >>conftest.$ac_ext
43648 cat >>conftest.$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43650 $ac_includes_default
43651
43652 #include <$ac_header>
43653 _ACEOF
43654 rm -f conftest.$ac_objext
43655 if { (ac_try="$ac_compile"
43656 case "(($ac_try" in
43657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43658 *) ac_try_echo=$ac_try;;
43659 esac
43660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43661 (eval "$ac_compile") 2>conftest.er1
43662 ac_status=$?
43663 grep -v '^ *+' conftest.er1 >conftest.err
43664 rm -f conftest.er1
43665 cat conftest.err >&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); } && {
43668 test -z "$ac_c_werror_flag" ||
43669 test ! -s conftest.err
43670 } && test -s conftest.$ac_objext; then
43671 eval "$as_ac_Header=yes"
43672 else
43673 echo "$as_me: failed program was:" >&5
43674 sed 's/^/| /' conftest.$ac_ext >&5
43675
43676 eval "$as_ac_Header=no"
43677 fi
43678
43679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43680 fi
43681 ac_res=`eval echo '${'$as_ac_Header'}'`
43682 { echo "$as_me:$LINENO: result: $ac_res" >&5
43683 echo "${ECHO_T}$ac_res" >&6; }
43684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43685 cat >>confdefs.h <<_ACEOF
43686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43687 _ACEOF
43688
43689 fi
43690
43691 done
43692
43693 if test "$ac_cv_header_sys_event_h" = "yes"; then
43694 cat >>confdefs.h <<\_ACEOF
43695 #define wxHAS_KQUEUE 1
43696 _ACEOF
43697
43698 else
43699 wxUSE_FSWATCHER=no
43700 fi
43701 fi
43702 else
43703 wxUSE_FSWATCHER=no
43704 fi
43705 fi
43706
43707 if test "$wxUSE_FSWATCHER" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_FSWATCHER 1
43710 _ACEOF
43711
43712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43713 else
43714 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43715 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43716 fi
43717 fi
43718
43719
43720 if test "$wxUSE_STL" = "yes"; then
43721 cat >>confdefs.h <<\_ACEOF
43722 #define wxUSE_STL 1
43723 _ACEOF
43724
43725 fi
43726
43727 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_EXTENDED_RTTI 1
43730 _ACEOF
43731
43732 fi
43733
43734 if test "$wxUSE_ANY" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_ANY 1
43737 _ACEOF
43738
43739 fi
43740
43741 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_APPLE_IEEE 1
43744 _ACEOF
43745
43746 fi
43747
43748 if test "$wxUSE_TIMER" = "yes"; then
43749 cat >>confdefs.h <<\_ACEOF
43750 #define wxUSE_TIMER 1
43751 _ACEOF
43752
43753 fi
43754
43755 if test "$USE_UNIX" = 1 ; then
43756 if test "$wxUSE_MGL" != 1; then
43757 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43758 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43759 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43760 echo $ECHO_N "(cached) $ECHO_C" >&6
43761 else
43762
43763 cat >conftest.$ac_ext <<_ACEOF
43764 /* confdefs.h. */
43765 _ACEOF
43766 cat confdefs.h >>conftest.$ac_ext
43767 cat >>conftest.$ac_ext <<_ACEOF
43768 /* end confdefs.h. */
43769
43770 #include <sys/ioctl.h>
43771 #include <sys/soundcard.h>
43772
43773 int
43774 main ()
43775 {
43776
43777 ioctl(0, SNDCTL_DSP_SPEED, 0);
43778
43779 ;
43780 return 0;
43781 }
43782 _ACEOF
43783 rm -f conftest.$ac_objext conftest$ac_exeext
43784 if { (ac_try="$ac_link"
43785 case "(($ac_try" in
43786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43787 *) ac_try_echo=$ac_try;;
43788 esac
43789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43790 (eval "$ac_link") 2>conftest.er1
43791 ac_status=$?
43792 grep -v '^ *+' conftest.er1 >conftest.err
43793 rm -f conftest.er1
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } && {
43797 test -z "$ac_c_werror_flag" ||
43798 test ! -s conftest.err
43799 } && test -s conftest$ac_exeext &&
43800 $as_test_x conftest$ac_exeext; then
43801 ac_cv_header_sys_soundcard=yes
43802 else
43803 echo "$as_me: failed program was:" >&5
43804 sed 's/^/| /' conftest.$ac_ext >&5
43805
43806
43807 saveLibs="$LIBS"
43808 LIBS="$saveLibs -lossaudio"
43809 cat >conftest.$ac_ext <<_ACEOF
43810 /* confdefs.h. */
43811 _ACEOF
43812 cat confdefs.h >>conftest.$ac_ext
43813 cat >>conftest.$ac_ext <<_ACEOF
43814 /* end confdefs.h. */
43815
43816 #include <sys/ioctl.h>
43817 #include <sys/soundcard.h>
43818
43819 int
43820 main ()
43821 {
43822
43823 ioctl(0, SNDCTL_DSP_SPEED, 0);
43824
43825 ;
43826 return 0;
43827 }
43828 _ACEOF
43829 rm -f conftest.$ac_objext conftest$ac_exeext
43830 if { (ac_try="$ac_link"
43831 case "(($ac_try" in
43832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43833 *) ac_try_echo=$ac_try;;
43834 esac
43835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43836 (eval "$ac_link") 2>conftest.er1
43837 ac_status=$?
43838 grep -v '^ *+' conftest.er1 >conftest.err
43839 rm -f conftest.er1
43840 cat conftest.err >&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } && {
43843 test -z "$ac_c_werror_flag" ||
43844 test ! -s conftest.err
43845 } && test -s conftest$ac_exeext &&
43846 $as_test_x conftest$ac_exeext; then
43847 ac_cv_header_sys_soundcard=yes
43848 else
43849 echo "$as_me: failed program was:" >&5
43850 sed 's/^/| /' conftest.$ac_ext >&5
43851
43852
43853 LIBS="$saveLibs"
43854 ac_cv_header_sys_soundcard=no
43855
43856
43857 fi
43858
43859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43860 conftest$ac_exeext conftest.$ac_ext
43861
43862
43863 fi
43864
43865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43866 conftest$ac_exeext conftest.$ac_ext
43867
43868 fi
43869 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43870 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43871 fi
43872
43873 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define HAVE_SYS_SOUNDCARD_H 1
43876 _ACEOF
43877
43878 fi
43879 fi
43880
43881 WITH_PLUGIN_SDL=0
43882 if test "$wxUSE_SOUND" = "yes"; then
43883 if test "$USE_UNIX" = 1 ; then
43884 if test "$wxUSE_LIBSDL" != "no"; then
43885
43886 # Check whether --with-sdl-prefix was given.
43887 if test "${with_sdl_prefix+set}" = set; then
43888 withval=$with_sdl_prefix; sdl_prefix="$withval"
43889 else
43890 sdl_prefix=""
43891 fi
43892
43893
43894 # Check whether --with-sdl-exec-prefix was given.
43895 if test "${with_sdl_exec_prefix+set}" = set; then
43896 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43897 else
43898 sdl_exec_prefix=""
43899 fi
43900
43901 # Check whether --enable-sdltest was given.
43902 if test "${enable_sdltest+set}" = set; then
43903 enableval=$enable_sdltest;
43904 else
43905 enable_sdltest=yes
43906 fi
43907
43908
43909 if test x$sdl_exec_prefix != x ; then
43910 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43911 if test x${SDL_CONFIG+set} != xset ; then
43912 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43913 fi
43914 fi
43915 if test x$sdl_prefix != x ; then
43916 sdl_args="$sdl_args --prefix=$sdl_prefix"
43917 if test x${SDL_CONFIG+set} != xset ; then
43918 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43919 fi
43920 fi
43921
43922 if test "x$prefix" != xNONE; then
43923 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43924 fi
43925 # Extract the first word of "sdl-config", so it can be a program name with args.
43926 set dummy sdl-config; ac_word=$2
43927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43929 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43930 echo $ECHO_N "(cached) $ECHO_C" >&6
43931 else
43932 case $SDL_CONFIG in
43933 [\\/]* | ?:[\\/]*)
43934 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43935 ;;
43936 *)
43937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43938 for as_dir in $PATH
43939 do
43940 IFS=$as_save_IFS
43941 test -z "$as_dir" && as_dir=.
43942 for ac_exec_ext in '' $ac_executable_extensions; do
43943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43944 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43946 break 2
43947 fi
43948 done
43949 done
43950 IFS=$as_save_IFS
43951
43952 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43953 ;;
43954 esac
43955 fi
43956 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43957 if test -n "$SDL_CONFIG"; then
43958 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43959 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43960 else
43961 { echo "$as_me:$LINENO: result: no" >&5
43962 echo "${ECHO_T}no" >&6; }
43963 fi
43964
43965
43966 min_sdl_version=1.2.0
43967 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43968 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43969 no_sdl=""
43970 if test "$SDL_CONFIG" = "no" ; then
43971 no_sdl=yes
43972 else
43973 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43974 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43975
43976 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43978 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43980 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43982 if test "x$enable_sdltest" = "xyes" ; then
43983 ac_save_CFLAGS="$CFLAGS"
43984 ac_save_CXXFLAGS="$CXXFLAGS"
43985 ac_save_LIBS="$LIBS"
43986 CFLAGS="$CFLAGS $SDL_CFLAGS"
43987 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43988 LIBS="$LIBS $SDL_LIBS"
43989 rm -f conf.sdltest
43990 if test "$cross_compiling" = yes; then
43991 echo $ac_n "cross compiling; assumed OK... $ac_c"
43992 else
43993 cat >conftest.$ac_ext <<_ACEOF
43994 /* confdefs.h. */
43995 _ACEOF
43996 cat confdefs.h >>conftest.$ac_ext
43997 cat >>conftest.$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
43999
44000 #include <stdio.h>
44001 #include <stdlib.h>
44002 #include <string.h>
44003 #include "SDL.h"
44004
44005 char*
44006 my_strdup (char *str)
44007 {
44008 char *new_str;
44009
44010 if (str)
44011 {
44012 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44013 strcpy (new_str, str);
44014 }
44015 else
44016 new_str = NULL;
44017
44018 return new_str;
44019 }
44020
44021 int main (int argc, char *argv[])
44022 {
44023 int major, minor, micro;
44024 char *tmp_version;
44025
44026 /* This hangs on some systems (?)
44027 system ("touch conf.sdltest");
44028 */
44029 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44030
44031 /* HP/UX 9 (%@#!) writes to sscanf strings */
44032 tmp_version = my_strdup("$min_sdl_version");
44033 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44034 printf("%s, bad version string\n", "$min_sdl_version");
44035 exit(1);
44036 }
44037
44038 if (($sdl_major_version > major) ||
44039 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44040 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44041 {
44042 return 0;
44043 }
44044 else
44045 {
44046 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44047 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44048 printf("*** best to upgrade to the required version.\n");
44049 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44050 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44051 printf("*** config.cache before re-running configure\n");
44052 return 1;
44053 }
44054 }
44055
44056
44057 _ACEOF
44058 rm -f conftest$ac_exeext
44059 if { (ac_try="$ac_link"
44060 case "(($ac_try" in
44061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44062 *) ac_try_echo=$ac_try;;
44063 esac
44064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44065 (eval "$ac_link") 2>&5
44066 ac_status=$?
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44069 { (case "(($ac_try" in
44070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44071 *) ac_try_echo=$ac_try;;
44072 esac
44073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44074 (eval "$ac_try") 2>&5
44075 ac_status=$?
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; }; then
44078 :
44079 else
44080 echo "$as_me: program exited with status $ac_status" >&5
44081 echo "$as_me: failed program was:" >&5
44082 sed 's/^/| /' conftest.$ac_ext >&5
44083
44084 ( exit $ac_status )
44085 no_sdl=yes
44086 fi
44087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44088 fi
44089
44090
44091 CFLAGS="$ac_save_CFLAGS"
44092 CXXFLAGS="$ac_save_CXXFLAGS"
44093 LIBS="$ac_save_LIBS"
44094 fi
44095 fi
44096 if test "x$no_sdl" = x ; then
44097 { echo "$as_me:$LINENO: result: yes" >&5
44098 echo "${ECHO_T}yes" >&6; }
44099
44100 EXTRALIBS_SDL="$SDL_LIBS"
44101 CFLAGS="$SDL_CFLAGS $CFLAGS"
44102 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44103 cat >>confdefs.h <<\_ACEOF
44104 #define wxUSE_LIBSDL 1
44105 _ACEOF
44106
44107
44108 else
44109 { echo "$as_me:$LINENO: result: no" >&5
44110 echo "${ECHO_T}no" >&6; }
44111 if test "$SDL_CONFIG" = "no" ; then
44112 echo "*** The sdl-config script installed by SDL could not be found"
44113 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44114 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44115 echo "*** full path to sdl-config."
44116 else
44117 if test -f conf.sdltest ; then
44118 :
44119 else
44120 echo "*** Could not run SDL test program, checking why..."
44121 CFLAGS="$CFLAGS $SDL_CFLAGS"
44122 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44123 LIBS="$LIBS $SDL_LIBS"
44124 cat >conftest.$ac_ext <<_ACEOF
44125 /* confdefs.h. */
44126 _ACEOF
44127 cat confdefs.h >>conftest.$ac_ext
44128 cat >>conftest.$ac_ext <<_ACEOF
44129 /* end confdefs.h. */
44130
44131 #include <stdio.h>
44132 #include "SDL.h"
44133
44134 int main(int argc, char *argv[])
44135 { return 0; }
44136 #undef main
44137 #define main K_and_R_C_main
44138
44139 int
44140 main ()
44141 {
44142 return 0;
44143 ;
44144 return 0;
44145 }
44146 _ACEOF
44147 rm -f conftest.$ac_objext conftest$ac_exeext
44148 if { (ac_try="$ac_link"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44152 esac
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_link") 2>conftest.er1
44155 ac_status=$?
44156 grep -v '^ *+' conftest.er1 >conftest.err
44157 rm -f conftest.er1
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_c_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest$ac_exeext &&
44164 $as_test_x conftest$ac_exeext; then
44165 echo "*** The test program compiled, but did not run. This usually means"
44166 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44167 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44170 echo "*** is required on your system"
44171 echo "***"
44172 echo "*** If you have an old version installed, it is best to remove it, although"
44173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44174 else
44175 echo "$as_me: failed program was:" >&5
44176 sed 's/^/| /' conftest.$ac_ext >&5
44177
44178 echo "*** The test program failed to compile or link. See the file config.log for the"
44179 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44180 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44181 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44182 fi
44183
44184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44185 conftest$ac_exeext conftest.$ac_ext
44186 CFLAGS="$ac_save_CFLAGS"
44187 CXXFLAGS="$ac_save_CXXFLAGS"
44188 LIBS="$ac_save_LIBS"
44189 fi
44190 fi
44191 SDL_CFLAGS=""
44192 SDL_LIBS=""
44193 wxUSE_LIBSDL="no"
44194 fi
44195
44196
44197 rm -f conf.sdltest
44198
44199 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44200 WITH_PLUGIN_SDL=1
44201 fi
44202 fi
44203 else
44204 if test "$wxUSE_MGL" = 1; then
44205 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44206 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44207 wxUSE_SOUND="no"
44208 fi
44209 fi
44210 fi
44211
44212 if test "$wxUSE_SOUND" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_SOUND 1
44215 _ACEOF
44216
44217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44218 fi
44219
44220 if test "$WXGTK2" = 1; then
44221
44222
44223 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44224 if test -n "$ac_tool_prefix"; then
44225 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44226 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44229 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 else
44232 case $PKG_CONFIG in
44233 [\\/]* | ?:[\\/]*)
44234 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44235 ;;
44236 *)
44237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44238 for as_dir in $PATH
44239 do
44240 IFS=$as_save_IFS
44241 test -z "$as_dir" && as_dir=.
44242 for ac_exec_ext in '' $ac_executable_extensions; do
44243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44244 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44246 break 2
44247 fi
44248 done
44249 done
44250 IFS=$as_save_IFS
44251
44252 ;;
44253 esac
44254 fi
44255 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44256 if test -n "$PKG_CONFIG"; then
44257 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44258 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44259 else
44260 { echo "$as_me:$LINENO: result: no" >&5
44261 echo "${ECHO_T}no" >&6; }
44262 fi
44263
44264
44265 fi
44266 if test -z "$ac_cv_path_PKG_CONFIG"; then
44267 ac_pt_PKG_CONFIG=$PKG_CONFIG
44268 # Extract the first word of "pkg-config", so it can be a program name with args.
44269 set dummy pkg-config; ac_word=$2
44270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44272 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44273 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 else
44275 case $ac_pt_PKG_CONFIG in
44276 [\\/]* | ?:[\\/]*)
44277 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44278 ;;
44279 *)
44280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44281 for as_dir in $PATH
44282 do
44283 IFS=$as_save_IFS
44284 test -z "$as_dir" && as_dir=.
44285 for ac_exec_ext in '' $ac_executable_extensions; do
44286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44287 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44289 break 2
44290 fi
44291 done
44292 done
44293 IFS=$as_save_IFS
44294
44295 ;;
44296 esac
44297 fi
44298 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44299 if test -n "$ac_pt_PKG_CONFIG"; then
44300 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44301 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44302 else
44303 { echo "$as_me:$LINENO: result: no" >&5
44304 echo "${ECHO_T}no" >&6; }
44305 fi
44306
44307 if test "x$ac_pt_PKG_CONFIG" = x; then
44308 PKG_CONFIG=""
44309 else
44310 case $cross_compiling:$ac_tool_warned in
44311 yes:)
44312 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44313 whose name does not start with the host triplet. If you think this
44314 configuration is useful to you, please write to autoconf@gnu.org." >&5
44315 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44316 whose name does not start with the host triplet. If you think this
44317 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44318 ac_tool_warned=yes ;;
44319 esac
44320 PKG_CONFIG=$ac_pt_PKG_CONFIG
44321 fi
44322 else
44323 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44324 fi
44325
44326 fi
44327 if test -n "$PKG_CONFIG"; then
44328 _pkg_min_version=0.9.0
44329 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44330 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44331 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44332 { echo "$as_me:$LINENO: result: yes" >&5
44333 echo "${ECHO_T}yes" >&6; }
44334 else
44335 { echo "$as_me:$LINENO: result: no" >&5
44336 echo "${ECHO_T}no" >&6; }
44337 PKG_CONFIG=""
44338 fi
44339
44340 fi
44341
44342 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44343
44344 if test "$wxUSE_GTKPRINT" = "yes" ; then
44345
44346
44347 pkg_failed=no
44348 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44349 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44350
44351 if test -n "$PKG_CONFIG"; then
44352 if test -n "$GTKPRINT_CFLAGS"; then
44353 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44354 else
44355 if test -n "$PKG_CONFIG" && \
44356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44357 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; then
44361 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44362 else
44363 pkg_failed=yes
44364 fi
44365 fi
44366 else
44367 pkg_failed=untried
44368 fi
44369 if test -n "$PKG_CONFIG"; then
44370 if test -n "$GTKPRINT_LIBS"; then
44371 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44372 else
44373 if test -n "$PKG_CONFIG" && \
44374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44375 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; then
44379 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44380 else
44381 pkg_failed=yes
44382 fi
44383 fi
44384 else
44385 pkg_failed=untried
44386 fi
44387
44388
44389
44390 if test $pkg_failed = yes; then
44391
44392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44393 _pkg_short_errors_supported=yes
44394 else
44395 _pkg_short_errors_supported=no
44396 fi
44397 if test $_pkg_short_errors_supported = yes; then
44398 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44399 else
44400 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44401 fi
44402 # Put the nasty error message in config.log where it belongs
44403 echo "$GTKPRINT_PKG_ERRORS" >&5
44404
44405
44406 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44407 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44408 wxUSE_GTKPRINT="no"
44409
44410
44411 elif test $pkg_failed = untried; then
44412
44413 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44414 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44415 wxUSE_GTKPRINT="no"
44416
44417
44418 else
44419 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44420 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44421 { echo "$as_me:$LINENO: result: yes" >&5
44422 echo "${ECHO_T}yes" >&6; }
44423
44424 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44425 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44426 cat >>confdefs.h <<\_ACEOF
44427 #define wxUSE_GTKPRINT 1
44428 _ACEOF
44429
44430
44431 fi
44432 fi
44433
44434 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44435
44436
44437 pkg_failed=no
44438 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44439 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44440
44441 if test -n "$PKG_CONFIG"; then
44442 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44443 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44444 else
44445 if test -n "$PKG_CONFIG" && \
44446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44447 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; then
44451 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44452 else
44453 pkg_failed=yes
44454 fi
44455 fi
44456 else
44457 pkg_failed=untried
44458 fi
44459 if test -n "$PKG_CONFIG"; then
44460 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44461 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44462 else
44463 if test -n "$PKG_CONFIG" && \
44464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44465 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44466 ac_status=$?
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; then
44469 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44470 else
44471 pkg_failed=yes
44472 fi
44473 fi
44474 else
44475 pkg_failed=untried
44476 fi
44477
44478
44479
44480 if test $pkg_failed = yes; then
44481
44482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44483 _pkg_short_errors_supported=yes
44484 else
44485 _pkg_short_errors_supported=no
44486 fi
44487 if test $_pkg_short_errors_supported = yes; then
44488 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44489 else
44490 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44491 fi
44492 # Put the nasty error message in config.log where it belongs
44493 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44494
44495
44496 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44497 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44498 wxUSE_LIBGNOMEPRINT="no"
44499
44500
44501 elif test $pkg_failed = untried; then
44502
44503 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44504 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44505 wxUSE_LIBGNOMEPRINT="no"
44506
44507
44508 else
44509 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44510 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44511 { echo "$as_me:$LINENO: result: yes" >&5
44512 echo "${ECHO_T}yes" >&6; }
44513
44514 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44515 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_LIBGNOMEPRINT 1
44518 _ACEOF
44519
44520
44521 fi
44522 fi
44523 fi
44524
44525 if test "$wxUSE_MIMETYPE" = "yes" ; then
44526 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44527
44528
44529 pkg_failed=no
44530 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44531 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44532
44533 if test -n "$PKG_CONFIG"; then
44534 if test -n "$GNOMEVFS_CFLAGS"; then
44535 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44536 else
44537 if test -n "$PKG_CONFIG" && \
44538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44539 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44540 ac_status=$?
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); }; then
44543 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44544 else
44545 pkg_failed=yes
44546 fi
44547 fi
44548 else
44549 pkg_failed=untried
44550 fi
44551 if test -n "$PKG_CONFIG"; then
44552 if test -n "$GNOMEVFS_LIBS"; then
44553 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44554 else
44555 if test -n "$PKG_CONFIG" && \
44556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44557 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44558 ac_status=$?
44559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44560 (exit $ac_status); }; then
44561 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44562 else
44563 pkg_failed=yes
44564 fi
44565 fi
44566 else
44567 pkg_failed=untried
44568 fi
44569
44570
44571
44572 if test $pkg_failed = yes; then
44573
44574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44575 _pkg_short_errors_supported=yes
44576 else
44577 _pkg_short_errors_supported=no
44578 fi
44579 if test $_pkg_short_errors_supported = yes; then
44580 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44581 else
44582 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44583 fi
44584 # Put the nasty error message in config.log where it belongs
44585 echo "$GNOMEVFS_PKG_ERRORS" >&5
44586
44587
44588 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44589 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44590 wxUSE_LIBGNOMEVFS="no"
44591
44592
44593 elif test $pkg_failed = untried; then
44594
44595 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44596 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44597 wxUSE_LIBGNOMEVFS="no"
44598
44599
44600 else
44601 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44602 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44603 { echo "$as_me:$LINENO: result: yes" >&5
44604 echo "${ECHO_T}yes" >&6; }
44605
44606 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44607 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_LIBGNOMEVFS 1
44610 _ACEOF
44611
44612
44613 fi
44614 fi
44615 fi
44616
44617 if test "$wxUSE_LIBHILDON" = "yes" ; then
44618
44619 pkg_failed=no
44620 { echo "$as_me:$LINENO: checking for HILDON" >&5
44621 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44622
44623 if test -n "$PKG_CONFIG"; then
44624 if test -n "$HILDON_CFLAGS"; then
44625 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44626 else
44627 if test -n "$PKG_CONFIG" && \
44628 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44629 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44630 ac_status=$?
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); }; then
44633 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44634 else
44635 pkg_failed=yes
44636 fi
44637 fi
44638 else
44639 pkg_failed=untried
44640 fi
44641 if test -n "$PKG_CONFIG"; then
44642 if test -n "$HILDON_LIBS"; then
44643 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44644 else
44645 if test -n "$PKG_CONFIG" && \
44646 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44647 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44648 ac_status=$?
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); }; then
44651 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44652 else
44653 pkg_failed=yes
44654 fi
44655 fi
44656 else
44657 pkg_failed=untried
44658 fi
44659
44660
44661
44662 if test $pkg_failed = yes; then
44663
44664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44665 _pkg_short_errors_supported=yes
44666 else
44667 _pkg_short_errors_supported=no
44668 fi
44669 if test $_pkg_short_errors_supported = yes; then
44670 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44671 else
44672 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44673 fi
44674 # Put the nasty error message in config.log where it belongs
44675 echo "$HILDON_PKG_ERRORS" >&5
44676
44677
44678 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44679 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44680 wxUSE_LIBHILDON="no"
44681 ac_hildon_lgpl=0
44682
44683
44684 elif test $pkg_failed = untried; then
44685
44686 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44687 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44688 wxUSE_LIBHILDON="no"
44689 ac_hildon_lgpl=0
44690
44691
44692 else
44693 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44694 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44695 { echo "$as_me:$LINENO: result: yes" >&5
44696 echo "${ECHO_T}yes" >&6; }
44697
44698 EXTRALIBS_HILDON="$HILDON_LIBS"
44699 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44700 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_LIBHILDON 1
44703 _ACEOF
44704
44705 ac_hildon_lgpl=1
44706
44707 fi
44708
44709 if test "$ac_hildon_lgpl" = 0 ; then
44710
44711 pkg_failed=no
44712 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44713 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44714
44715 if test -n "$PKG_CONFIG"; then
44716 if test -n "$HILDON2_CFLAGS"; then
44717 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44718 else
44719 if test -n "$PKG_CONFIG" && \
44720 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44721 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44722 ac_status=$?
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; then
44725 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44726 else
44727 pkg_failed=yes
44728 fi
44729 fi
44730 else
44731 pkg_failed=untried
44732 fi
44733 if test -n "$PKG_CONFIG"; then
44734 if test -n "$HILDON2_LIBS"; then
44735 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44736 else
44737 if test -n "$PKG_CONFIG" && \
44738 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44739 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44740 ac_status=$?
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); }; then
44743 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44744 else
44745 pkg_failed=yes
44746 fi
44747 fi
44748 else
44749 pkg_failed=untried
44750 fi
44751
44752
44753
44754 if test $pkg_failed = yes; then
44755
44756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44757 _pkg_short_errors_supported=yes
44758 else
44759 _pkg_short_errors_supported=no
44760 fi
44761 if test $_pkg_short_errors_supported = yes; then
44762 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44763 else
44764 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44765 fi
44766 # Put the nasty error message in config.log where it belongs
44767 echo "$HILDON2_PKG_ERRORS" >&5
44768
44769
44770 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44771 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44772 wxUSE_LIBHILDON2="no"
44773
44774
44775 elif test $pkg_failed = untried; then
44776
44777 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44778 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44779 wxUSE_LIBHILDON2="no"
44780
44781
44782 else
44783 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44784 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44785 { echo "$as_me:$LINENO: result: yes" >&5
44786 echo "${ECHO_T}yes" >&6; }
44787
44788 EXTRALIBS_HILDON="$HILDON2_LIBS"
44789 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44790 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_LIBHILDON2 1
44793 _ACEOF
44794
44795
44796 fi
44797 fi
44798 fi
44799 fi
44800
44801 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_CMDLINE_PARSER 1
44804 _ACEOF
44805
44806 fi
44807
44808 if test "$wxUSE_STOPWATCH" = "yes"; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_STOPWATCH 1
44811 _ACEOF
44812
44813 fi
44814
44815 if test "$wxUSE_DATETIME" = "yes"; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_DATETIME 1
44818 _ACEOF
44819
44820 fi
44821
44822 if test "$wxUSE_FILE" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_FILE 1
44825 _ACEOF
44826
44827 fi
44828
44829 if test "$wxUSE_FFILE" = "yes"; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_FFILE 1
44832 _ACEOF
44833
44834 fi
44835
44836 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44837 if test "$wxUSE_STREAMS" != yes; then
44838 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44839 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44840 wxUSE_ARCHIVE_STREAMS=no
44841 else
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_ARCHIVE_STREAMS 1
44844 _ACEOF
44845
44846 fi
44847 fi
44848
44849 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44850 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44851 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44852 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44853 elif test "$wxUSE_ZLIB" = "no"; then
44854 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44855 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44856 else
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_ZIPSTREAM 1
44859 _ACEOF
44860
44861 fi
44862 fi
44863
44864 if test "$wxUSE_TARSTREAM" = "yes"; then
44865 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44866 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44867 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44868 else
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_TARSTREAM 1
44871 _ACEOF
44872
44873 fi
44874 fi
44875
44876 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_FILE_HISTORY 1
44879 _ACEOF
44880
44881 fi
44882
44883 if test "$wxUSE_FILESYSTEM" = "yes"; then
44884 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44885 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44886 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44887 wxUSE_FILESYSTEM=no
44888 else
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_FILESYSTEM 1
44891 _ACEOF
44892
44893 fi
44894 fi
44895
44896 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44897 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44898 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44899 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44900 else
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_FS_ARCHIVE 1
44903 _ACEOF
44904
44905 fi
44906 fi
44907
44908 if test "$wxUSE_FS_ZIP" = "yes"; then
44909 if test "$wxUSE_FS_ARCHIVE" != yes; then
44910 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44911 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44912 else
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_FS_ZIP 1
44915 _ACEOF
44916
44917 fi
44918 fi
44919
44920 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44921 if test "$USE_UNIX" != 1; then
44922 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44923 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44924 wxUSE_ON_FATAL_EXCEPTION=no
44925 else
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_ON_FATAL_EXCEPTION 1
44928 _ACEOF
44929
44930 fi
44931 fi
44932
44933 if test "$wxUSE_STACKWALKER" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_STACKWALKER 1
44936 _ACEOF
44937
44938 fi
44939
44940 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44941 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44942 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44943 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44944 wxUSE_DEBUGREPORT=no
44945 else
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_DEBUGREPORT 1
44948 _ACEOF
44949
44950 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44952 fi
44953 fi
44954 fi
44955
44956 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_SNGLINST_CHECKER 1
44959 _ACEOF
44960
44961 fi
44962
44963 if test "$wxUSE_BUSYINFO" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_BUSYINFO 1
44966 _ACEOF
44967
44968 fi
44969
44970 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_STD_CONTAINERS 1
44973 _ACEOF
44974
44975 fi
44976
44977 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_STD_IOSTREAM 1
44980 _ACEOF
44981
44982 fi
44983
44984 if test "$wxUSE_STD_STRING" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_STD_STRING 1
44987 _ACEOF
44988
44989 fi
44990
44991 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
44994 _ACEOF
44995
44996 fi
44997
44998 if test "$wxUSE_STDPATHS" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_STDPATHS 1
45001 _ACEOF
45002
45003 fi
45004
45005 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_TEXTBUFFER 1
45008 _ACEOF
45009
45010 fi
45011
45012 if test "$wxUSE_TEXTFILE" = "yes"; then
45013 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45014 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45015 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45016 else
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_TEXTFILE 1
45019 _ACEOF
45020
45021 fi
45022 fi
45023
45024 if test "$wxUSE_CONFIG" = "yes" ; then
45025 if test "$wxUSE_TEXTFILE" != "yes"; then
45026 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45027 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45028 else
45029 cat >>confdefs.h <<\_ACEOF
45030 #define wxUSE_CONFIG 1
45031 _ACEOF
45032
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_CONFIG_NATIVE 1
45035 _ACEOF
45036
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45038 fi
45039 fi
45040
45041 if test "$wxUSE_INTL" = "yes" ; then
45042 if test "$wxUSE_FILE" != "yes"; then
45043 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45044 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45045 else
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_INTL 1
45048 _ACEOF
45049
45050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45051 GUIDIST="$GUIDIST INTL_DIST"
45052 fi
45053 fi
45054
45055 if test "$wxUSE_XLOCALE" = "yes" ; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_XLOCALE 1
45058 _ACEOF
45059
45060 { echo "$as_me:$LINENO: checking for locale_t" >&5
45061 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45062 if test "${ac_cv_type_locale_t+set}" = set; then
45063 echo $ECHO_N "(cached) $ECHO_C" >&6
45064 else
45065 cat >conftest.$ac_ext <<_ACEOF
45066 /* confdefs.h. */
45067 _ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45071 #include <xlocale.h>
45072 #include <locale.h>
45073
45074 typedef locale_t ac__type_new_;
45075 int
45076 main ()
45077 {
45078 if ((ac__type_new_ *) 0)
45079 return 0;
45080 if (sizeof (ac__type_new_))
45081 return 0;
45082 ;
45083 return 0;
45084 }
45085 _ACEOF
45086 rm -f conftest.$ac_objext
45087 if { (ac_try="$ac_compile"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45090 *) ac_try_echo=$ac_try;;
45091 esac
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_compile") 2>conftest.er1
45094 ac_status=$?
45095 grep -v '^ *+' conftest.er1 >conftest.err
45096 rm -f conftest.er1
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest.$ac_objext; then
45103 ac_cv_type_locale_t=yes
45104 else
45105 echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.$ac_ext >&5
45107
45108 ac_cv_type_locale_t=no
45109 fi
45110
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 fi
45113 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45114 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45115 if test $ac_cv_type_locale_t = yes; then
45116
45117 cat >>confdefs.h <<_ACEOF
45118 #define HAVE_LOCALE_T 1
45119 _ACEOF
45120
45121
45122 fi
45123
45124 fi
45125
45126 if test "$wxUSE_LOG" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LOG 1
45129 _ACEOF
45130
45131
45132 if test "$wxUSE_LOGGUI" = "yes"; then
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LOGGUI 1
45135 _ACEOF
45136
45137 fi
45138
45139 if test "$wxUSE_LOGWINDOW" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_LOGWINDOW 1
45142 _ACEOF
45143
45144 fi
45145
45146 if test "$wxUSE_LOGDIALOG" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_LOG_DIALOG 1
45149 _ACEOF
45150
45151 fi
45152
45153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45154 fi
45155
45156 if test "$wxUSE_LONGLONG" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_LONGLONG 1
45159 _ACEOF
45160
45161 fi
45162
45163 if test "$wxUSE_GEOMETRY" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_GEOMETRY 1
45166 _ACEOF
45167
45168 fi
45169
45170 if test "$wxUSE_BASE64" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_BASE64 1
45173 _ACEOF
45174
45175 fi
45176
45177 if test "$wxUSE_STREAMS" = "yes" ; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_STREAMS 1
45180 _ACEOF
45181
45182 fi
45183
45184 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_PRINTF_POS_PARAMS 1
45187 _ACEOF
45188
45189 fi
45190
45191 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_OBJC_UNIQUIFYING 1
45194 _ACEOF
45195
45196 fi
45197
45198
45199 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_CONSOLE_EVENTLOOP 1
45202 _ACEOF
45203
45204
45205 if test "$wxUSE_UNIX" = "yes"; then
45206 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SELECT_DISPATCHER 1
45209 _ACEOF
45210
45211 fi
45212
45213 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45214
45215 for ac_header in sys/epoll.h
45216 do
45217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45221 echo $ECHO_N "(cached) $ECHO_C" >&6
45222 else
45223 cat >conftest.$ac_ext <<_ACEOF
45224 /* confdefs.h. */
45225 _ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 $ac_includes_default
45230
45231 #include <$ac_header>
45232 _ACEOF
45233 rm -f conftest.$ac_objext
45234 if { (ac_try="$ac_compile"
45235 case "(($ac_try" in
45236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45237 *) ac_try_echo=$ac_try;;
45238 esac
45239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45240 (eval "$ac_compile") 2>conftest.er1
45241 ac_status=$?
45242 grep -v '^ *+' conftest.er1 >conftest.err
45243 rm -f conftest.er1
45244 cat conftest.err >&5
45245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246 (exit $ac_status); } && {
45247 test -z "$ac_c_werror_flag" ||
45248 test ! -s conftest.err
45249 } && test -s conftest.$ac_objext; then
45250 eval "$as_ac_Header=yes"
45251 else
45252 echo "$as_me: failed program was:" >&5
45253 sed 's/^/| /' conftest.$ac_ext >&5
45254
45255 eval "$as_ac_Header=no"
45256 fi
45257
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259 fi
45260 ac_res=`eval echo '${'$as_ac_Header'}'`
45261 { echo "$as_me:$LINENO: result: $ac_res" >&5
45262 echo "${ECHO_T}$ac_res" >&6; }
45263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45264 cat >>confdefs.h <<_ACEOF
45265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45266 _ACEOF
45267
45268 fi
45269
45270 done
45271
45272 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45273 cat >>confdefs.h <<\_ACEOF
45274 #define wxUSE_EPOLL_DISPATCHER 1
45275 _ACEOF
45276
45277 else
45278 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45279 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45280 fi
45281 fi
45282 fi
45283 fi
45284
45285
45286
45287
45288 for ac_func in gettimeofday ftime
45289 do
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296 cat >conftest.$ac_ext <<_ACEOF
45297 /* confdefs.h. */
45298 _ACEOF
45299 cat confdefs.h >>conftest.$ac_ext
45300 cat >>conftest.$ac_ext <<_ACEOF
45301 /* end confdefs.h. */
45302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45304 #define $ac_func innocuous_$ac_func
45305
45306 /* System header to define __stub macros and hopefully few prototypes,
45307 which can conflict with char $ac_func (); below.
45308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45309 <limits.h> exists even on freestanding compilers. */
45310
45311 #ifdef __STDC__
45312 # include <limits.h>
45313 #else
45314 # include <assert.h>
45315 #endif
45316
45317 #undef $ac_func
45318
45319 /* Override any GCC internal prototype to avoid an error.
45320 Use char because int might match the return type of a GCC
45321 builtin and then its argument prototype would still apply. */
45322 #ifdef __cplusplus
45323 extern "C"
45324 #endif
45325 char $ac_func ();
45326 /* The GNU C library defines this for functions which it implements
45327 to always fail with ENOSYS. Some functions are actually named
45328 something starting with __ and the normal name is an alias. */
45329 #if defined __stub_$ac_func || defined __stub___$ac_func
45330 choke me
45331 #endif
45332
45333 int
45334 main ()
45335 {
45336 return $ac_func ();
45337 ;
45338 return 0;
45339 }
45340 _ACEOF
45341 rm -f conftest.$ac_objext conftest$ac_exeext
45342 if { (ac_try="$ac_link"
45343 case "(($ac_try" in
45344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45345 *) ac_try_echo=$ac_try;;
45346 esac
45347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45348 (eval "$ac_link") 2>conftest.er1
45349 ac_status=$?
45350 grep -v '^ *+' conftest.er1 >conftest.err
45351 rm -f conftest.er1
45352 cat conftest.err >&5
45353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45354 (exit $ac_status); } && {
45355 test -z "$ac_c_werror_flag" ||
45356 test ! -s conftest.err
45357 } && test -s conftest$ac_exeext &&
45358 $as_test_x conftest$ac_exeext; then
45359 eval "$as_ac_var=yes"
45360 else
45361 echo "$as_me: failed program was:" >&5
45362 sed 's/^/| /' conftest.$ac_ext >&5
45363
45364 eval "$as_ac_var=no"
45365 fi
45366
45367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45368 conftest$ac_exeext conftest.$ac_ext
45369 fi
45370 ac_res=`eval echo '${'$as_ac_var'}'`
45371 { echo "$as_me:$LINENO: result: $ac_res" >&5
45372 echo "${ECHO_T}$ac_res" >&6; }
45373 if test `eval echo '${'$as_ac_var'}'` = yes; then
45374 cat >>confdefs.h <<_ACEOF
45375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45376 _ACEOF
45377 break
45378 fi
45379 done
45380
45381
45382 if test "$ac_cv_func_gettimeofday" = "yes"; then
45383 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45384 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45385 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45386 echo $ECHO_N "(cached) $ECHO_C" >&6
45387 else
45388
45389 cat >conftest.$ac_ext <<_ACEOF
45390 /* confdefs.h. */
45391 _ACEOF
45392 cat confdefs.h >>conftest.$ac_ext
45393 cat >>conftest.$ac_ext <<_ACEOF
45394 /* end confdefs.h. */
45395
45396 #include <sys/time.h>
45397 #include <unistd.h>
45398
45399 int
45400 main ()
45401 {
45402
45403 struct timeval tv;
45404 gettimeofday(&tv, NULL);
45405
45406 ;
45407 return 0;
45408 }
45409 _ACEOF
45410 rm -f conftest.$ac_objext
45411 if { (ac_try="$ac_compile"
45412 case "(($ac_try" in
45413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45414 *) ac_try_echo=$ac_try;;
45415 esac
45416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45417 (eval "$ac_compile") 2>conftest.er1
45418 ac_status=$?
45419 grep -v '^ *+' conftest.er1 >conftest.err
45420 rm -f conftest.er1
45421 cat conftest.err >&5
45422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45423 (exit $ac_status); } && {
45424 test -z "$ac_c_werror_flag" ||
45425 test ! -s conftest.err
45426 } && test -s conftest.$ac_objext; then
45427 wx_cv_func_gettimeofday_has_2_args=yes
45428 else
45429 echo "$as_me: failed program was:" >&5
45430 sed 's/^/| /' conftest.$ac_ext >&5
45431
45432 cat >conftest.$ac_ext <<_ACEOF
45433 /* confdefs.h. */
45434 _ACEOF
45435 cat confdefs.h >>conftest.$ac_ext
45436 cat >>conftest.$ac_ext <<_ACEOF
45437 /* end confdefs.h. */
45438
45439 #include <sys/time.h>
45440 #include <unistd.h>
45441
45442 int
45443 main ()
45444 {
45445
45446 struct timeval tv;
45447 gettimeofday(&tv);
45448
45449 ;
45450 return 0;
45451 }
45452 _ACEOF
45453 rm -f conftest.$ac_objext
45454 if { (ac_try="$ac_compile"
45455 case "(($ac_try" in
45456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45457 *) ac_try_echo=$ac_try;;
45458 esac
45459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45460 (eval "$ac_compile") 2>conftest.er1
45461 ac_status=$?
45462 grep -v '^ *+' conftest.er1 >conftest.err
45463 rm -f conftest.er1
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } && {
45467 test -z "$ac_c_werror_flag" ||
45468 test ! -s conftest.err
45469 } && test -s conftest.$ac_objext; then
45470 wx_cv_func_gettimeofday_has_2_args=no
45471 else
45472 echo "$as_me: failed program was:" >&5
45473 sed 's/^/| /' conftest.$ac_ext >&5
45474
45475
45476 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45477 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45478 wx_cv_func_gettimeofday_has_2_args=unknown
45479
45480
45481 fi
45482
45483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45484
45485 fi
45486
45487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45488
45489 fi
45490 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45491 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45492
45493 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define WX_GETTIMEOFDAY_NO_TZ 1
45496 _ACEOF
45497
45498 fi
45499 fi
45500
45501 if test "$wxUSE_DATETIME" = "yes"; then
45502 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45503 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45504 if test "${wx_cv_var_timezone+set}" = set; then
45505 echo $ECHO_N "(cached) $ECHO_C" >&6
45506 else
45507
45508 ac_ext=cpp
45509 ac_cpp='$CXXCPP $CPPFLAGS'
45510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45513
45514 cat >conftest.$ac_ext <<_ACEOF
45515 /* confdefs.h. */
45516 _ACEOF
45517 cat confdefs.h >>conftest.$ac_ext
45518 cat >>conftest.$ac_ext <<_ACEOF
45519 /* end confdefs.h. */
45520
45521 #include <time.h>
45522
45523 int
45524 main ()
45525 {
45526
45527 int tz;
45528 tz = timezone;
45529
45530 ;
45531 return 0;
45532 }
45533 _ACEOF
45534 rm -f conftest.$ac_objext
45535 if { (ac_try="$ac_compile"
45536 case "(($ac_try" in
45537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45538 *) ac_try_echo=$ac_try;;
45539 esac
45540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45541 (eval "$ac_compile") 2>conftest.er1
45542 ac_status=$?
45543 grep -v '^ *+' conftest.er1 >conftest.err
45544 rm -f conftest.er1
45545 cat conftest.err >&5
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); } && {
45548 test -z "$ac_cxx_werror_flag" ||
45549 test ! -s conftest.err
45550 } && test -s conftest.$ac_objext; then
45551
45552 wx_cv_var_timezone=timezone
45553
45554 else
45555 echo "$as_me: failed program was:" >&5
45556 sed 's/^/| /' conftest.$ac_ext >&5
45557
45558
45559 cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h. */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45565
45566 #include <time.h>
45567
45568 int
45569 main ()
45570 {
45571
45572 int tz;
45573 tz = _timezone;
45574
45575 ;
45576 return 0;
45577 }
45578 _ACEOF
45579 rm -f conftest.$ac_objext
45580 if { (ac_try="$ac_compile"
45581 case "(($ac_try" in
45582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45583 *) ac_try_echo=$ac_try;;
45584 esac
45585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45586 (eval "$ac_compile") 2>conftest.er1
45587 ac_status=$?
45588 grep -v '^ *+' conftest.er1 >conftest.err
45589 rm -f conftest.er1
45590 cat conftest.err >&5
45591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592 (exit $ac_status); } && {
45593 test -z "$ac_cxx_werror_flag" ||
45594 test ! -s conftest.err
45595 } && test -s conftest.$ac_objext; then
45596
45597 wx_cv_var_timezone=_timezone
45598
45599 else
45600 echo "$as_me: failed program was:" >&5
45601 sed 's/^/| /' conftest.$ac_ext >&5
45602
45603
45604 cat >conftest.$ac_ext <<_ACEOF
45605 /* confdefs.h. */
45606 _ACEOF
45607 cat confdefs.h >>conftest.$ac_ext
45608 cat >>conftest.$ac_ext <<_ACEOF
45609 /* end confdefs.h. */
45610
45611 #include <time.h>
45612
45613 int
45614 main ()
45615 {
45616
45617 int tz;
45618 tz = __timezone;
45619
45620 ;
45621 return 0;
45622 }
45623 _ACEOF
45624 rm -f conftest.$ac_objext
45625 if { (ac_try="$ac_compile"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45628 *) ac_try_echo=$ac_try;;
45629 esac
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_compile") 2>conftest.er1
45632 ac_status=$?
45633 grep -v '^ *+' conftest.er1 >conftest.err
45634 rm -f conftest.er1
45635 cat conftest.err >&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_cxx_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest.$ac_objext; then
45641
45642 wx_cv_var_timezone=__timezone
45643
45644 else
45645 echo "$as_me: failed program was:" >&5
45646 sed 's/^/| /' conftest.$ac_ext >&5
45647
45648
45649 if test "$USE_DOS" = 0 ; then
45650 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45651 echo "$as_me: WARNING: no timezone variable" >&2;}
45652 fi
45653
45654
45655 fi
45656
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658
45659
45660 fi
45661
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45663
45664
45665 fi
45666
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45668 ac_ext=c
45669 ac_cpp='$CPP $CPPFLAGS'
45670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45673
45674
45675
45676 fi
45677 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45678 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45679
45680 if test "x$wx_cv_var_timezone" != x ; then
45681 cat >>confdefs.h <<_ACEOF
45682 #define WX_TIMEZONE $wx_cv_var_timezone
45683 _ACEOF
45684
45685 fi
45686
45687
45688 for ac_func in localtime
45689 do
45690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45691 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45693 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45694 echo $ECHO_N "(cached) $ECHO_C" >&6
45695 else
45696 cat >conftest.$ac_ext <<_ACEOF
45697 /* confdefs.h. */
45698 _ACEOF
45699 cat confdefs.h >>conftest.$ac_ext
45700 cat >>conftest.$ac_ext <<_ACEOF
45701 /* end confdefs.h. */
45702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45704 #define $ac_func innocuous_$ac_func
45705
45706 /* System header to define __stub macros and hopefully few prototypes,
45707 which can conflict with char $ac_func (); below.
45708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45709 <limits.h> exists even on freestanding compilers. */
45710
45711 #ifdef __STDC__
45712 # include <limits.h>
45713 #else
45714 # include <assert.h>
45715 #endif
45716
45717 #undef $ac_func
45718
45719 /* Override any GCC internal prototype to avoid an error.
45720 Use char because int might match the return type of a GCC
45721 builtin and then its argument prototype would still apply. */
45722 #ifdef __cplusplus
45723 extern "C"
45724 #endif
45725 char $ac_func ();
45726 /* The GNU C library defines this for functions which it implements
45727 to always fail with ENOSYS. Some functions are actually named
45728 something starting with __ and the normal name is an alias. */
45729 #if defined __stub_$ac_func || defined __stub___$ac_func
45730 choke me
45731 #endif
45732
45733 int
45734 main ()
45735 {
45736 return $ac_func ();
45737 ;
45738 return 0;
45739 }
45740 _ACEOF
45741 rm -f conftest.$ac_objext conftest$ac_exeext
45742 if { (ac_try="$ac_link"
45743 case "(($ac_try" in
45744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45745 *) ac_try_echo=$ac_try;;
45746 esac
45747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45748 (eval "$ac_link") 2>conftest.er1
45749 ac_status=$?
45750 grep -v '^ *+' conftest.er1 >conftest.err
45751 rm -f conftest.er1
45752 cat conftest.err >&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } && {
45755 test -z "$ac_c_werror_flag" ||
45756 test ! -s conftest.err
45757 } && test -s conftest$ac_exeext &&
45758 $as_test_x conftest$ac_exeext; then
45759 eval "$as_ac_var=yes"
45760 else
45761 echo "$as_me: failed program was:" >&5
45762 sed 's/^/| /' conftest.$ac_ext >&5
45763
45764 eval "$as_ac_var=no"
45765 fi
45766
45767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45768 conftest$ac_exeext conftest.$ac_ext
45769 fi
45770 ac_res=`eval echo '${'$as_ac_var'}'`
45771 { echo "$as_me:$LINENO: result: $ac_res" >&5
45772 echo "${ECHO_T}$ac_res" >&6; }
45773 if test `eval echo '${'$as_ac_var'}'` = yes; then
45774 cat >>confdefs.h <<_ACEOF
45775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45776 _ACEOF
45777
45778 fi
45779 done
45780
45781
45782 if test "$ac_cv_func_localtime" = "yes"; then
45783 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45784 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45785 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45786 echo $ECHO_N "(cached) $ECHO_C" >&6
45787 else
45788
45789 cat >conftest.$ac_ext <<_ACEOF
45790 /* confdefs.h. */
45791 _ACEOF
45792 cat confdefs.h >>conftest.$ac_ext
45793 cat >>conftest.$ac_ext <<_ACEOF
45794 /* end confdefs.h. */
45795
45796 #include <time.h>
45797
45798 int
45799 main ()
45800 {
45801
45802 struct tm tm;
45803 tm.tm_gmtoff++;
45804
45805 ;
45806 return 0;
45807 }
45808 _ACEOF
45809 rm -f conftest.$ac_objext
45810 if { (ac_try="$ac_compile"
45811 case "(($ac_try" in
45812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45813 *) ac_try_echo=$ac_try;;
45814 esac
45815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45816 (eval "$ac_compile") 2>conftest.er1
45817 ac_status=$?
45818 grep -v '^ *+' conftest.er1 >conftest.err
45819 rm -f conftest.er1
45820 cat conftest.err >&5
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); } && {
45823 test -z "$ac_c_werror_flag" ||
45824 test ! -s conftest.err
45825 } && test -s conftest.$ac_objext; then
45826
45827 wx_cv_struct_tm_has_gmtoff=yes
45828
45829 else
45830 echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45832
45833 wx_cv_struct_tm_has_gmtoff=no
45834
45835 fi
45836
45837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45838
45839 fi
45840 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45841 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45842 fi
45843
45844 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define WX_GMTOFF_IN_TM 1
45847 _ACEOF
45848
45849 fi
45850
45851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45852 fi
45853
45854
45855 if test "$wxUSE_SOCKETS" = "yes"; then
45856 if test "$wxUSE_MGL" = 1; then
45857 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45858 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45859 wxUSE_SOCKETS="no"
45860 fi
45861 fi
45862
45863 if test "$wxUSE_SOCKETS" = "yes"; then
45864 if test "$TOOLKIT" != "MSW"; then
45865 { echo "$as_me:$LINENO: checking for socket" >&5
45866 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45867 if test "${ac_cv_func_socket+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 else
45870 cat >conftest.$ac_ext <<_ACEOF
45871 /* confdefs.h. */
45872 _ACEOF
45873 cat confdefs.h >>conftest.$ac_ext
45874 cat >>conftest.$ac_ext <<_ACEOF
45875 /* end confdefs.h. */
45876 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45878 #define socket innocuous_socket
45879
45880 /* System header to define __stub macros and hopefully few prototypes,
45881 which can conflict with char socket (); below.
45882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45883 <limits.h> exists even on freestanding compilers. */
45884
45885 #ifdef __STDC__
45886 # include <limits.h>
45887 #else
45888 # include <assert.h>
45889 #endif
45890
45891 #undef socket
45892
45893 /* Override any GCC internal prototype to avoid an error.
45894 Use char because int might match the return type of a GCC
45895 builtin and then its argument prototype would still apply. */
45896 #ifdef __cplusplus
45897 extern "C"
45898 #endif
45899 char socket ();
45900 /* The GNU C library defines this for functions which it implements
45901 to always fail with ENOSYS. Some functions are actually named
45902 something starting with __ and the normal name is an alias. */
45903 #if defined __stub_socket || defined __stub___socket
45904 choke me
45905 #endif
45906
45907 int
45908 main ()
45909 {
45910 return socket ();
45911 ;
45912 return 0;
45913 }
45914 _ACEOF
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (ac_try="$ac_link"
45917 case "(($ac_try" in
45918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45919 *) ac_try_echo=$ac_try;;
45920 esac
45921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45922 (eval "$ac_link") 2>conftest.er1
45923 ac_status=$?
45924 grep -v '^ *+' conftest.er1 >conftest.err
45925 rm -f conftest.er1
45926 cat conftest.err >&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); } && {
45929 test -z "$ac_c_werror_flag" ||
45930 test ! -s conftest.err
45931 } && test -s conftest$ac_exeext &&
45932 $as_test_x conftest$ac_exeext; then
45933 ac_cv_func_socket=yes
45934 else
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45937
45938 ac_cv_func_socket=no
45939 fi
45940
45941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45942 conftest$ac_exeext conftest.$ac_ext
45943 fi
45944 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45945 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45946 if test $ac_cv_func_socket = yes; then
45947 :
45948 else
45949
45950 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45951 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45952 if test "${ac_cv_lib_socket_socket+set}" = set; then
45953 echo $ECHO_N "(cached) $ECHO_C" >&6
45954 else
45955 ac_check_lib_save_LIBS=$LIBS
45956 LIBS="-lsocket $LIBS"
45957 cat >conftest.$ac_ext <<_ACEOF
45958 /* confdefs.h. */
45959 _ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h. */
45963
45964 /* Override any GCC internal prototype to avoid an error.
45965 Use char because int might match the return type of a GCC
45966 builtin and then its argument prototype would still apply. */
45967 #ifdef __cplusplus
45968 extern "C"
45969 #endif
45970 char socket ();
45971 int
45972 main ()
45973 {
45974 return socket ();
45975 ;
45976 return 0;
45977 }
45978 _ACEOF
45979 rm -f conftest.$ac_objext conftest$ac_exeext
45980 if { (ac_try="$ac_link"
45981 case "(($ac_try" in
45982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45983 *) ac_try_echo=$ac_try;;
45984 esac
45985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45986 (eval "$ac_link") 2>conftest.er1
45987 ac_status=$?
45988 grep -v '^ *+' conftest.er1 >conftest.err
45989 rm -f conftest.er1
45990 cat conftest.err >&5
45991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45992 (exit $ac_status); } && {
45993 test -z "$ac_c_werror_flag" ||
45994 test ! -s conftest.err
45995 } && test -s conftest$ac_exeext &&
45996 $as_test_x conftest$ac_exeext; then
45997 ac_cv_lib_socket_socket=yes
45998 else
45999 echo "$as_me: failed program was:" >&5
46000 sed 's/^/| /' conftest.$ac_ext >&5
46001
46002 ac_cv_lib_socket_socket=no
46003 fi
46004
46005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46006 conftest$ac_exeext conftest.$ac_ext
46007 LIBS=$ac_check_lib_save_LIBS
46008 fi
46009 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46010 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46011 if test $ac_cv_lib_socket_socket = yes; then
46012 if test "$INET_LINK" != " -lsocket"; then
46013 INET_LINK="$INET_LINK -lsocket"
46014 fi
46015 else
46016
46017 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46018 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46019 wxUSE_SOCKETS=no
46020
46021
46022 fi
46023
46024
46025
46026 fi
46027
46028 fi
46029 fi
46030
46031 if test "$wxUSE_SOCKETS" = "yes" ; then
46032 if test "$TOOLKIT" != "MSW"; then
46033 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46034 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46035 if test "${wx_cv_type_getsockname3+set}" = set; then
46036 echo $ECHO_N "(cached) $ECHO_C" >&6
46037 else
46038
46039 ac_ext=cpp
46040 ac_cpp='$CXXCPP $CPPFLAGS'
46041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46044
46045 cat >conftest.$ac_ext <<_ACEOF
46046 /* confdefs.h. */
46047 _ACEOF
46048 cat confdefs.h >>conftest.$ac_ext
46049 cat >>conftest.$ac_ext <<_ACEOF
46050 /* end confdefs.h. */
46051
46052 #include <sys/types.h>
46053 #include <sys/socket.h>
46054
46055 int
46056 main ()
46057 {
46058
46059 socklen_t len;
46060 getsockname(0, 0, &len);
46061
46062 ;
46063 return 0;
46064 }
46065 _ACEOF
46066 rm -f conftest.$ac_objext
46067 if { (ac_try="$ac_compile"
46068 case "(($ac_try" in
46069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46070 *) ac_try_echo=$ac_try;;
46071 esac
46072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46073 (eval "$ac_compile") 2>conftest.er1
46074 ac_status=$?
46075 grep -v '^ *+' conftest.er1 >conftest.err
46076 rm -f conftest.er1
46077 cat conftest.err >&5
46078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46079 (exit $ac_status); } && {
46080 test -z "$ac_cxx_werror_flag" ||
46081 test ! -s conftest.err
46082 } && test -s conftest.$ac_objext; then
46083 wx_cv_type_getsockname3=socklen_t
46084 else
46085 echo "$as_me: failed program was:" >&5
46086 sed 's/^/| /' conftest.$ac_ext >&5
46087
46088
46089 CFLAGS_OLD="$CFLAGS"
46090 if test "$GCC" = yes ; then
46091 CFLAGS="-Werror $CFLAGS"
46092 fi
46093
46094 cat >conftest.$ac_ext <<_ACEOF
46095 /* confdefs.h. */
46096 _ACEOF
46097 cat confdefs.h >>conftest.$ac_ext
46098 cat >>conftest.$ac_ext <<_ACEOF
46099 /* end confdefs.h. */
46100
46101 #include <sys/types.h>
46102 #include <sys/socket.h>
46103
46104 int
46105 main ()
46106 {
46107
46108 size_t len;
46109 getsockname(0, 0, &len);
46110
46111 ;
46112 return 0;
46113 }
46114 _ACEOF
46115 rm -f conftest.$ac_objext
46116 if { (ac_try="$ac_compile"
46117 case "(($ac_try" in
46118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46119 *) ac_try_echo=$ac_try;;
46120 esac
46121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46122 (eval "$ac_compile") 2>conftest.er1
46123 ac_status=$?
46124 grep -v '^ *+' conftest.er1 >conftest.err
46125 rm -f conftest.er1
46126 cat conftest.err >&5
46127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); } && {
46129 test -z "$ac_cxx_werror_flag" ||
46130 test ! -s conftest.err
46131 } && test -s conftest.$ac_objext; then
46132 wx_cv_type_getsockname3=size_t
46133 else
46134 echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.$ac_ext >&5
46136
46137 cat >conftest.$ac_ext <<_ACEOF
46138 /* confdefs.h. */
46139 _ACEOF
46140 cat confdefs.h >>conftest.$ac_ext
46141 cat >>conftest.$ac_ext <<_ACEOF
46142 /* end confdefs.h. */
46143
46144 #include <sys/types.h>
46145 #include <sys/socket.h>
46146
46147 int
46148 main ()
46149 {
46150
46151 int len;
46152 getsockname(0, 0, &len);
46153
46154 ;
46155 return 0;
46156 }
46157 _ACEOF
46158 rm -f conftest.$ac_objext
46159 if { (ac_try="$ac_compile"
46160 case "(($ac_try" in
46161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46162 *) ac_try_echo=$ac_try;;
46163 esac
46164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46165 (eval "$ac_compile") 2>conftest.er1
46166 ac_status=$?
46167 grep -v '^ *+' conftest.er1 >conftest.err
46168 rm -f conftest.er1
46169 cat conftest.err >&5
46170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 (exit $ac_status); } && {
46172 test -z "$ac_cxx_werror_flag" ||
46173 test ! -s conftest.err
46174 } && test -s conftest.$ac_objext; then
46175 wx_cv_type_getsockname3=int
46176 else
46177 echo "$as_me: failed program was:" >&5
46178 sed 's/^/| /' conftest.$ac_ext >&5
46179
46180 wx_cv_type_getsockname3=unknown
46181
46182 fi
46183
46184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46185
46186 fi
46187
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46189
46190 CFLAGS="$CFLAGS_OLD"
46191
46192
46193 fi
46194
46195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46196 ac_ext=c
46197 ac_cpp='$CPP $CPPFLAGS'
46198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46201
46202
46203 fi
46204 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46205 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46206
46207 if test "$wx_cv_type_getsockname3" = "unknown"; then
46208 wxUSE_SOCKETS=no
46209 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46210 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46211 else
46212 cat >>confdefs.h <<_ACEOF
46213 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46214 _ACEOF
46215
46216 fi
46217 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46218 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46219 if test "${wx_cv_type_getsockopt5+set}" = set; then
46220 echo $ECHO_N "(cached) $ECHO_C" >&6
46221 else
46222
46223 ac_ext=cpp
46224 ac_cpp='$CXXCPP $CPPFLAGS'
46225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228
46229 cat >conftest.$ac_ext <<_ACEOF
46230 /* confdefs.h. */
46231 _ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h. */
46235
46236 #include <sys/types.h>
46237 #include <sys/socket.h>
46238
46239 int
46240 main ()
46241 {
46242
46243 socklen_t len;
46244 getsockopt(0, 0, 0, 0, &len);
46245
46246 ;
46247 return 0;
46248 }
46249 _ACEOF
46250 rm -f conftest.$ac_objext
46251 if { (ac_try="$ac_compile"
46252 case "(($ac_try" in
46253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46254 *) ac_try_echo=$ac_try;;
46255 esac
46256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46257 (eval "$ac_compile") 2>conftest.er1
46258 ac_status=$?
46259 grep -v '^ *+' conftest.er1 >conftest.err
46260 rm -f conftest.er1
46261 cat conftest.err >&5
46262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46263 (exit $ac_status); } && {
46264 test -z "$ac_cxx_werror_flag" ||
46265 test ! -s conftest.err
46266 } && test -s conftest.$ac_objext; then
46267 wx_cv_type_getsockopt5=socklen_t
46268 else
46269 echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46271
46272
46273 cat >conftest.$ac_ext <<_ACEOF
46274 /* confdefs.h. */
46275 _ACEOF
46276 cat confdefs.h >>conftest.$ac_ext
46277 cat >>conftest.$ac_ext <<_ACEOF
46278 /* end confdefs.h. */
46279
46280 #include <sys/types.h>
46281 #include <sys/socket.h>
46282
46283 int
46284 main ()
46285 {
46286
46287 size_t len;
46288 getsockopt(0, 0, 0, 0, &len);
46289
46290 ;
46291 return 0;
46292 }
46293 _ACEOF
46294 rm -f conftest.$ac_objext
46295 if { (ac_try="$ac_compile"
46296 case "(($ac_try" in
46297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46298 *) ac_try_echo=$ac_try;;
46299 esac
46300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46301 (eval "$ac_compile") 2>conftest.er1
46302 ac_status=$?
46303 grep -v '^ *+' conftest.er1 >conftest.err
46304 rm -f conftest.er1
46305 cat conftest.err >&5
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); } && {
46308 test -z "$ac_cxx_werror_flag" ||
46309 test ! -s conftest.err
46310 } && test -s conftest.$ac_objext; then
46311 wx_cv_type_getsockopt5=size_t
46312 else
46313 echo "$as_me: failed program was:" >&5
46314 sed 's/^/| /' conftest.$ac_ext >&5
46315
46316 cat >conftest.$ac_ext <<_ACEOF
46317 /* confdefs.h. */
46318 _ACEOF
46319 cat confdefs.h >>conftest.$ac_ext
46320 cat >>conftest.$ac_ext <<_ACEOF
46321 /* end confdefs.h. */
46322
46323 #include <sys/types.h>
46324 #include <sys/socket.h>
46325
46326 int
46327 main ()
46328 {
46329
46330 int len;
46331 getsockopt(0, 0, 0, 0, &len);
46332
46333 ;
46334 return 0;
46335 }
46336 _ACEOF
46337 rm -f conftest.$ac_objext
46338 if { (ac_try="$ac_compile"
46339 case "(($ac_try" in
46340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46341 *) ac_try_echo=$ac_try;;
46342 esac
46343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46344 (eval "$ac_compile") 2>conftest.er1
46345 ac_status=$?
46346 grep -v '^ *+' conftest.er1 >conftest.err
46347 rm -f conftest.er1
46348 cat conftest.err >&5
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); } && {
46351 test -z "$ac_cxx_werror_flag" ||
46352 test ! -s conftest.err
46353 } && test -s conftest.$ac_objext; then
46354 wx_cv_type_getsockopt5=int
46355 else
46356 echo "$as_me: failed program was:" >&5
46357 sed 's/^/| /' conftest.$ac_ext >&5
46358
46359 wx_cv_type_getsockopt5=unknown
46360
46361 fi
46362
46363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46364
46365 fi
46366
46367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46368
46369
46370 fi
46371
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373 ac_ext=c
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378
46379
46380 fi
46381 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46382 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46383
46384 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46385 wxUSE_SOCKETS=no
46386 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46387 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46388 else
46389 cat >>confdefs.h <<_ACEOF
46390 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46391 _ACEOF
46392
46393 fi
46394 fi
46395 fi
46396
46397 if test "$wxUSE_SOCKETS" = "yes" ; then
46398 if test "$wxUSE_IPV6" = "yes"; then
46399 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46400 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46401 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46402 echo $ECHO_N "(cached) $ECHO_C" >&6
46403 else
46404
46405 cat >conftest.$ac_ext <<_ACEOF
46406 /* confdefs.h. */
46407 _ACEOF
46408 cat confdefs.h >>conftest.$ac_ext
46409 cat >>conftest.$ac_ext <<_ACEOF
46410 /* end confdefs.h. */
46411
46412 #include <sys/types.h>
46413 #include <sys/socket.h>
46414 #include <netinet/in.h>
46415
46416 int
46417 main ()
46418 {
46419
46420 struct sockaddr_in6 sa6;
46421
46422 ;
46423 return 0;
46424 }
46425 _ACEOF
46426 rm -f conftest.$ac_objext
46427 if { (ac_try="$ac_compile"
46428 case "(($ac_try" in
46429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46431 esac
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_compile") 2>conftest.er1
46434 ac_status=$?
46435 grep -v '^ *+' conftest.er1 >conftest.err
46436 rm -f conftest.er1
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_c_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest.$ac_objext; then
46443 wx_cv_type_sockaddr_in6=yes
46444 else
46445 echo "$as_me: failed program was:" >&5
46446 sed 's/^/| /' conftest.$ac_ext >&5
46447
46448 wx_cv_type_sockaddr_in6=no
46449
46450 fi
46451
46452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46453
46454
46455 fi
46456 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46457 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46458
46459 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46460 cat >>confdefs.h <<\_ACEOF
46461 #define wxUSE_IPV6 1
46462 _ACEOF
46463
46464 else
46465 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46466 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46467 fi
46468 fi
46469
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_SOCKETS 1
46472 _ACEOF
46473
46474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46475 fi
46476
46477 if test "$wxUSE_PROTOCOL" = "yes"; then
46478 if test "$wxUSE_SOCKETS" != "yes"; then
46479 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46480 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46481 wxUSE_PROTOCOL=no
46482 fi
46483 fi
46484
46485 if test "$wxUSE_PROTOCOL" = "yes"; then
46486 cat >>confdefs.h <<\_ACEOF
46487 #define wxUSE_PROTOCOL 1
46488 _ACEOF
46489
46490
46491 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_PROTOCOL_HTTP 1
46494 _ACEOF
46495
46496 fi
46497 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_PROTOCOL_FTP 1
46500 _ACEOF
46501
46502 fi
46503 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_PROTOCOL_FILE 1
46506 _ACEOF
46507
46508 fi
46509 else
46510 if test "$wxUSE_FS_INET" = "yes"; then
46511 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46512 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46513 wxUSE_FS_INET="no"
46514 fi
46515 fi
46516
46517 if test "$wxUSE_URL" = "yes"; then
46518 if test "$wxUSE_PROTOCOL" != "yes"; then
46519 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46520 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46521 wxUSE_URL=no
46522 fi
46523 if test "$wxUSE_URL" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_URL 1
46526 _ACEOF
46527
46528 fi
46529 fi
46530
46531 if test "$wxUSE_VARIANT" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_VARIANT 1
46534 _ACEOF
46535
46536 fi
46537
46538 if test "$wxUSE_FS_INET" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_FS_INET 1
46541 _ACEOF
46542
46543 fi
46544
46545
46546 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46547 wxUSE_JOYSTICK=no
46548
46549 if test "$TOOLKIT" = "MSW"; then
46550 wxUSE_JOYSTICK=yes
46551
46552 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46553 if test "$USE_DARWIN" = 1; then
46554 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46555 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46556 ac_ext=cpp
46557 ac_cpp='$CXXCPP $CPPFLAGS'
46558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46561
46562 cat >conftest.$ac_ext <<_ACEOF
46563 /* confdefs.h. */
46564 _ACEOF
46565 cat confdefs.h >>conftest.$ac_ext
46566 cat >>conftest.$ac_ext <<_ACEOF
46567 /* end confdefs.h. */
46568 #include <IOKit/hid/IOHIDLib.h>
46569 int
46570 main ()
46571 {
46572 IOHIDQueueInterface *qi = NULL;
46573 IOHIDCallbackFunction cb = NULL;
46574 qi->setEventCallout(NULL, cb, NULL, NULL);
46575 ;
46576 return 0;
46577 }
46578 _ACEOF
46579 rm -f conftest.$ac_objext
46580 if { (ac_try="$ac_compile"
46581 case "(($ac_try" in
46582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46583 *) ac_try_echo=$ac_try;;
46584 esac
46585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46586 (eval "$ac_compile") 2>conftest.er1
46587 ac_status=$?
46588 grep -v '^ *+' conftest.er1 >conftest.err
46589 rm -f conftest.er1
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } && {
46593 test -z "$ac_cxx_werror_flag" ||
46594 test ! -s conftest.err
46595 } && test -s conftest.$ac_objext; then
46596 wxUSE_JOYSTICK=yes
46597
46598 else
46599 echo "$as_me: failed program was:" >&5
46600 sed 's/^/| /' conftest.$ac_ext >&5
46601
46602
46603 fi
46604
46605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46606 ac_ext=c
46607 ac_cpp='$CPP $CPPFLAGS'
46608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46611
46612 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46613 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46614 fi
46615
46616 else
46617 if test "$wxUSE_MGL" != 1; then
46618
46619 for ac_header in linux/joystick.h
46620 do
46621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46625 echo $ECHO_N "(cached) $ECHO_C" >&6
46626 else
46627 cat >conftest.$ac_ext <<_ACEOF
46628 /* confdefs.h. */
46629 _ACEOF
46630 cat confdefs.h >>conftest.$ac_ext
46631 cat >>conftest.$ac_ext <<_ACEOF
46632 /* end confdefs.h. */
46633 $ac_includes_default
46634
46635 #include <$ac_header>
46636 _ACEOF
46637 rm -f conftest.$ac_objext
46638 if { (ac_try="$ac_compile"
46639 case "(($ac_try" in
46640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46641 *) ac_try_echo=$ac_try;;
46642 esac
46643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46644 (eval "$ac_compile") 2>conftest.er1
46645 ac_status=$?
46646 grep -v '^ *+' conftest.er1 >conftest.err
46647 rm -f conftest.er1
46648 cat conftest.err >&5
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); } && {
46651 test -z "$ac_c_werror_flag" ||
46652 test ! -s conftest.err
46653 } && test -s conftest.$ac_objext; then
46654 eval "$as_ac_Header=yes"
46655 else
46656 echo "$as_me: failed program was:" >&5
46657 sed 's/^/| /' conftest.$ac_ext >&5
46658
46659 eval "$as_ac_Header=no"
46660 fi
46661
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46663 fi
46664 ac_res=`eval echo '${'$as_ac_Header'}'`
46665 { echo "$as_me:$LINENO: result: $ac_res" >&5
46666 echo "${ECHO_T}$ac_res" >&6; }
46667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46668 cat >>confdefs.h <<_ACEOF
46669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46670 _ACEOF
46671 wxUSE_JOYSTICK=yes
46672 fi
46673
46674 done
46675
46676 fi
46677 fi
46678
46679 if test "$wxUSE_JOYSTICK" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_JOYSTICK 1
46682 _ACEOF
46683
46684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46685 else
46686 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46687 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46688 fi
46689 fi
46690
46691
46692
46693 if test "$wxUSE_FONTENUM" = "yes" ; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_FONTENUM 1
46696 _ACEOF
46697
46698 fi
46699
46700 if test "$wxUSE_FONTMAP" = "yes" ; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_FONTMAP 1
46703 _ACEOF
46704
46705 fi
46706
46707 if test "$wxUSE_UNICODE" = "yes" ; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_UNICODE 1
46710 _ACEOF
46711
46712
46713 if test "$USE_WIN32" != 1; then
46714 wxUSE_UNICODE_MSLU=no
46715 fi
46716
46717 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46718 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46719 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46720 if test "${ac_cv_lib_unicows_main+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723 ac_check_lib_save_LIBS=$LIBS
46724 LIBS="-lunicows $LIBS"
46725 cat >conftest.$ac_ext <<_ACEOF
46726 /* confdefs.h. */
46727 _ACEOF
46728 cat confdefs.h >>conftest.$ac_ext
46729 cat >>conftest.$ac_ext <<_ACEOF
46730 /* end confdefs.h. */
46731
46732
46733 int
46734 main ()
46735 {
46736 return main ();
46737 ;
46738 return 0;
46739 }
46740 _ACEOF
46741 rm -f conftest.$ac_objext conftest$ac_exeext
46742 if { (ac_try="$ac_link"
46743 case "(($ac_try" in
46744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46745 *) ac_try_echo=$ac_try;;
46746 esac
46747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46748 (eval "$ac_link") 2>conftest.er1
46749 ac_status=$?
46750 grep -v '^ *+' conftest.er1 >conftest.err
46751 rm -f conftest.er1
46752 cat conftest.err >&5
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); } && {
46755 test -z "$ac_c_werror_flag" ||
46756 test ! -s conftest.err
46757 } && test -s conftest$ac_exeext &&
46758 $as_test_x conftest$ac_exeext; then
46759 ac_cv_lib_unicows_main=yes
46760 else
46761 echo "$as_me: failed program was:" >&5
46762 sed 's/^/| /' conftest.$ac_ext >&5
46763
46764 ac_cv_lib_unicows_main=no
46765 fi
46766
46767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46768 conftest$ac_exeext conftest.$ac_ext
46769 LIBS=$ac_check_lib_save_LIBS
46770 fi
46771 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46772 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46773 if test $ac_cv_lib_unicows_main = yes; then
46774
46775 cat >>confdefs.h <<\_ACEOF
46776 #define wxUSE_UNICODE_MSLU 1
46777 _ACEOF
46778
46779
46780 else
46781
46782 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46783 Applications will only run on Windows NT/2000/XP!" >&5
46784 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46785 Applications will only run on Windows NT/2000/XP!" >&2;}
46786 wxUSE_UNICODE_MSLU=no
46787
46788 fi
46789
46790 fi
46791 fi
46792
46793 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_UNICODE_UTF8 1
46796 _ACEOF
46797
46798
46799 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_UTF8_LOCALE_ONLY 1
46802 _ACEOF
46803
46804 fi
46805 fi
46806
46807
46808 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_CONSTRAINTS 1
46811 _ACEOF
46812
46813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46814 fi
46815
46816 if test "$wxUSE_MDI" = "yes"; then
46817 cat >>confdefs.h <<\_ACEOF
46818 #define wxUSE_MDI 1
46819 _ACEOF
46820
46821
46822 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_MDI_ARCHITECTURE 1
46825 _ACEOF
46826
46827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46828 fi
46829 fi
46830
46831 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46834 _ACEOF
46835
46836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46837 fi
46838
46839 if test "$wxUSE_HELP" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_HELP 1
46842 _ACEOF
46843
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46845
46846 if test "$wxUSE_MSW" = 1; then
46847 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46848 cat >>confdefs.h <<\_ACEOF
46849 #define wxUSE_MS_HTML_HELP 1
46850 _ACEOF
46851
46852 fi
46853 fi
46854
46855 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46856 if test "$wxUSE_HTML" = "yes"; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_WXHTML_HELP 1
46859 _ACEOF
46860
46861 else
46862 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46863 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46864 wxUSE_WXHTML_HELP=no
46865 fi
46866 fi
46867 fi
46868
46869 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_PRINTING_ARCHITECTURE 1
46872 _ACEOF
46873
46874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46875 fi
46876
46877 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_POSTSCRIPT 1
46880 _ACEOF
46881
46882 fi
46883
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46886 _ACEOF
46887
46888
46889 if test "$wxUSE_SVG" = "yes"; then
46890 cat >>confdefs.h <<\_ACEOF
46891 #define wxUSE_SVG 1
46892 _ACEOF
46893
46894 fi
46895
46896
46897 if test "$wxUSE_METAFILE" = "yes"; then
46898 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46899 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46900 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46901 wxUSE_METAFILE=no
46902 fi
46903 fi
46904
46905
46906 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46907 -o "$wxUSE_CLIPBOARD" = "yes" \
46908 -o "$wxUSE_OLE" = "yes" \
46909 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46910 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46911 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46912 if test "${ac_cv_header_ole2_h+set}" = set; then
46913 echo $ECHO_N "(cached) $ECHO_C" >&6
46914 else
46915 cat >conftest.$ac_ext <<_ACEOF
46916 /* confdefs.h. */
46917 _ACEOF
46918 cat confdefs.h >>conftest.$ac_ext
46919 cat >>conftest.$ac_ext <<_ACEOF
46920 /* end confdefs.h. */
46921
46922
46923 #include <ole2.h>
46924 _ACEOF
46925 rm -f conftest.$ac_objext
46926 if { (ac_try="$ac_compile"
46927 case "(($ac_try" in
46928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46929 *) ac_try_echo=$ac_try;;
46930 esac
46931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46932 (eval "$ac_compile") 2>conftest.er1
46933 ac_status=$?
46934 grep -v '^ *+' conftest.er1 >conftest.err
46935 rm -f conftest.er1
46936 cat conftest.err >&5
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); } && {
46939 test -z "$ac_c_werror_flag" ||
46940 test ! -s conftest.err
46941 } && test -s conftest.$ac_objext; then
46942 ac_cv_header_ole2_h=yes
46943 else
46944 echo "$as_me: failed program was:" >&5
46945 sed 's/^/| /' conftest.$ac_ext >&5
46946
46947 ac_cv_header_ole2_h=no
46948 fi
46949
46950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46951 fi
46952 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46953 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46954
46955
46956
46957 if test "$ac_cv_header_ole2_h" = "yes" ; then
46958 if test "$GCC" = yes ; then
46959 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46960 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46961 cat >conftest.$ac_ext <<_ACEOF
46962 /* confdefs.h. */
46963 _ACEOF
46964 cat confdefs.h >>conftest.$ac_ext
46965 cat >>conftest.$ac_ext <<_ACEOF
46966 /* end confdefs.h. */
46967 #include <windows.h>
46968 #include <ole2.h>
46969 int
46970 main ()
46971 {
46972
46973 ;
46974 return 0;
46975 }
46976 _ACEOF
46977 rm -f conftest.$ac_objext
46978 if { (ac_try="$ac_compile"
46979 case "(($ac_try" in
46980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46981 *) ac_try_echo=$ac_try;;
46982 esac
46983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46984 (eval "$ac_compile") 2>conftest.er1
46985 ac_status=$?
46986 grep -v '^ *+' conftest.er1 >conftest.err
46987 rm -f conftest.er1
46988 cat conftest.err >&5
46989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46990 (exit $ac_status); } && {
46991 test -z "$ac_c_werror_flag" ||
46992 test ! -s conftest.err
46993 } && test -s conftest.$ac_objext; then
46994 { echo "$as_me:$LINENO: result: no" >&5
46995 echo "${ECHO_T}no" >&6; }
46996 else
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
46999
47000 { echo "$as_me:$LINENO: result: yes" >&5
47001 echo "${ECHO_T}yes" >&6; }
47002 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47003 fi
47004
47005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47006 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47007 if test "$wxUSE_OLE" = "yes" ; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_OLE 1
47010 _ACEOF
47011
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_OLE_AUTOMATION 1
47014 _ACEOF
47015
47016 cat >>confdefs.h <<\_ACEOF
47017 #define wxUSE_ACTIVEX 1
47018 _ACEOF
47019
47020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47021 fi
47022 fi
47023
47024 if test "$wxUSE_DATAOBJ" = "yes" ; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_DATAOBJ 1
47027 _ACEOF
47028
47029 fi
47030 else
47031 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47032 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47033
47034 wxUSE_CLIPBOARD=no
47035 wxUSE_DRAG_AND_DROP=no
47036 wxUSE_DATAOBJ=no
47037 wxUSE_OLE=no
47038 fi
47039
47040 if test "$wxUSE_METAFILE" = "yes"; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_METAFILE 1
47043 _ACEOF
47044
47045
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_ENH_METAFILE 1
47048 _ACEOF
47049
47050 fi
47051 fi
47052
47053 if test "$wxUSE_IPC" = "yes"; then
47054 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47055 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47056 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47057 wxUSE_IPC=no
47058 fi
47059
47060 if test "$wxUSE_IPC" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_IPC 1
47063 _ACEOF
47064
47065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47066 fi
47067 fi
47068
47069 if test "$wxUSE_DATAOBJ" = "yes"; then
47070 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47071 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47072 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47073 wxUSE_DATAOBJ=no
47074 else
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_DATAOBJ 1
47077 _ACEOF
47078
47079 fi
47080 else
47081 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47082 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47083 wxUSE_CLIPBOARD=no
47084 wxUSE_DRAG_AND_DROP=no
47085 fi
47086
47087 if test "$wxUSE_CLIPBOARD" = "yes"; then
47088 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47089 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47090 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47091 wxUSE_CLIPBOARD=no
47092 fi
47093
47094 if test "$wxUSE_CLIPBOARD" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_CLIPBOARD 1
47097 _ACEOF
47098
47099 fi
47100 fi
47101
47102 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47103 if test "$wxUSE_GTK" = 1; then
47104 if test "$WXGTK12" != 1; then
47105 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47106 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47107 wxUSE_DRAG_AND_DROP=no
47108 fi
47109 fi
47110
47111 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47112 "$wxUSE_DFB" = 1; then
47113 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47114 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47115 wxUSE_DRAG_AND_DROP=no
47116 fi
47117
47118 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_DRAG_AND_DROP 1
47121 _ACEOF
47122
47123 fi
47124
47125 fi
47126
47127 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47129 fi
47130
47131 if test "$wxUSE_CLIPBOARD" = "yes"; then
47132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47133 fi
47134
47135 if test "$wxUSE_SPLINES" = "yes" ; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_SPLINES 1
47138 _ACEOF
47139
47140 fi
47141
47142 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_MOUSEWHEEL 1
47145 _ACEOF
47146
47147 fi
47148
47149 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_UIACTIONSIMULATOR 1
47152 _ACEOF
47153
47154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47155 fi
47156
47157
47158 USES_CONTROLS=0
47159 if test "$wxUSE_CONTROLS" = "yes"; then
47160 USES_CONTROLS=1
47161 fi
47162
47163 if test "$wxUSE_MARKUP" = "yes"; then
47164 cat >>confdefs.h <<\_ACEOF
47165 #define wxUSE_MARKUP 1
47166 _ACEOF
47167
47168 fi
47169
47170 if test "$wxUSE_ACCEL" = "yes"; then
47171 cat >>confdefs.h <<\_ACEOF
47172 #define wxUSE_ACCEL 1
47173 _ACEOF
47174
47175 USES_CONTROLS=1
47176 fi
47177
47178 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47179 cat >>confdefs.h <<\_ACEOF
47180 #define wxUSE_ANIMATIONCTRL 1
47181 _ACEOF
47182
47183 USES_CONTROLS=1
47184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47185 fi
47186
47187 if test "$wxUSE_BUTTON" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_BUTTON 1
47190 _ACEOF
47191
47192 USES_CONTROLS=1
47193 fi
47194
47195 if test "$wxUSE_BMPBUTTON" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_BMPBUTTON 1
47198 _ACEOF
47199
47200 USES_CONTROLS=1
47201 fi
47202
47203 if test "$wxUSE_CALCTRL" = "yes"; then
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_CALENDARCTRL 1
47206 _ACEOF
47207
47208 USES_CONTROLS=1
47209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47210 fi
47211
47212 if test "$wxUSE_CARET" = "yes"; then
47213 cat >>confdefs.h <<\_ACEOF
47214 #define wxUSE_CARET 1
47215 _ACEOF
47216
47217 USES_CONTROLS=1
47218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47219 fi
47220
47221 if test "$wxUSE_COLLPANE" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_COLLPANE 1
47224 _ACEOF
47225
47226 USES_CONTROLS=1
47227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47228 fi
47229
47230 if test "$wxUSE_COMBOBOX" = "yes"; then
47231 cat >>confdefs.h <<\_ACEOF
47232 #define wxUSE_COMBOBOX 1
47233 _ACEOF
47234
47235 USES_CONTROLS=1
47236 fi
47237
47238 if test "$wxUSE_COMBOCTRL" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_COMBOCTRL 1
47241 _ACEOF
47242
47243 USES_CONTROLS=1
47244 fi
47245
47246 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_COMMANDLINKBUTTON 1
47249 _ACEOF
47250
47251 USES_CONTROLS=1
47252 fi
47253
47254 if test "$wxUSE_CHOICE" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_CHOICE 1
47257 _ACEOF
47258
47259 USES_CONTROLS=1
47260 fi
47261
47262 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_CHOICEBOOK 1
47265 _ACEOF
47266
47267 USES_CONTROLS=1
47268 fi
47269
47270 if test "$wxUSE_CHECKBOX" = "yes"; then
47271 cat >>confdefs.h <<\_ACEOF
47272 #define wxUSE_CHECKBOX 1
47273 _ACEOF
47274
47275 USES_CONTROLS=1
47276 fi
47277
47278 if test "$wxUSE_CHECKLST" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_CHECKLISTBOX 1
47281 _ACEOF
47282
47283 USES_CONTROLS=1
47284 fi
47285
47286 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_COLOURPICKERCTRL 1
47289 _ACEOF
47290
47291 USES_CONTROLS=1
47292 fi
47293
47294 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_DATEPICKCTRL 1
47297 _ACEOF
47298
47299 USES_CONTROLS=1
47300 fi
47301
47302 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_DIRPICKERCTRL 1
47305 _ACEOF
47306
47307 USES_CONTROLS=1
47308 fi
47309
47310 if test "$wxUSE_FILECTRL" = "yes"; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_FILECTRL 1
47313 _ACEOF
47314
47315 USES_CONTROLS=1
47316 fi
47317
47318 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_FILEPICKERCTRL 1
47321 _ACEOF
47322
47323 USES_CONTROLS=1
47324 fi
47325
47326 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47327 cat >>confdefs.h <<\_ACEOF
47328 #define wxUSE_FONTPICKERCTRL 1
47329 _ACEOF
47330
47331 USES_CONTROLS=1
47332 fi
47333
47334 if test "$wxUSE_DISPLAY" = "yes"; then
47335 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47336 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47337 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47338 wxUSE_DISPLAY=no
47339 else
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_DISPLAY 1
47342 _ACEOF
47343
47344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47345 fi
47346 fi
47347
47348 if test "$wxUSE_DETECT_SM" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_DETECT_SM 1
47351 _ACEOF
47352
47353 fi
47354
47355 if test "$wxUSE_GAUGE" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_GAUGE 1
47358 _ACEOF
47359
47360 USES_CONTROLS=1
47361 fi
47362
47363 if test "$wxUSE_GRID" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_GRID 1
47366 _ACEOF
47367
47368 USES_CONTROLS=1
47369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47370 fi
47371
47372 if test "$wxUSE_HEADERCTRL" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_HEADERCTRL 1
47375 _ACEOF
47376
47377 USES_CONTROLS=1
47378 fi
47379
47380 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47381 cat >>confdefs.h <<\_ACEOF
47382 #define wxUSE_HYPERLINKCTRL 1
47383 _ACEOF
47384
47385 USES_CONTROLS=1
47386 fi
47387
47388 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_BITMAPCOMBOBOX 1
47391 _ACEOF
47392
47393 USES_CONTROLS=1
47394 fi
47395
47396 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_DATAVIEWCTRL 1
47399 _ACEOF
47400
47401 USES_CONTROLS=1
47402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47403 fi
47404
47405 if test "$wxUSE_IMAGLIST" = "yes"; then
47406 cat >>confdefs.h <<\_ACEOF
47407 #define wxUSE_IMAGLIST 1
47408 _ACEOF
47409
47410 fi
47411
47412 if test "$wxUSE_INFOBAR" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_INFOBAR 1
47415 _ACEOF
47416
47417 fi
47418
47419 if test "$wxUSE_LISTBOOK" = "yes"; then
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_LISTBOOK 1
47422 _ACEOF
47423
47424 USES_CONTROLS=1
47425 fi
47426
47427 if test "$wxUSE_LISTBOX" = "yes"; then
47428 cat >>confdefs.h <<\_ACEOF
47429 #define wxUSE_LISTBOX 1
47430 _ACEOF
47431
47432 USES_CONTROLS=1
47433 fi
47434
47435 if test "$wxUSE_LISTCTRL" = "yes"; then
47436 if test "$wxUSE_IMAGLIST" = "yes"; then
47437 cat >>confdefs.h <<\_ACEOF
47438 #define wxUSE_LISTCTRL 1
47439 _ACEOF
47440
47441 USES_CONTROLS=1
47442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47443 else
47444 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47445 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47446 fi
47447 fi
47448
47449 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_EDITABLELISTBOX 1
47452 _ACEOF
47453
47454 USES_CONTROLS=1
47455 fi
47456
47457 if test "$wxUSE_NOTEBOOK" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_NOTEBOOK 1
47460 _ACEOF
47461
47462 USES_CONTROLS=1
47463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47464 fi
47465
47466 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_NOTIFICATION_MESSAGE 1
47469 _ACEOF
47470
47471 fi
47472
47473 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_ODCOMBOBOX 1
47476 _ACEOF
47477
47478 USES_CONTROLS=1
47479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47480 fi
47481
47482 if test "$wxUSE_RADIOBOX" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_RADIOBOX 1
47485 _ACEOF
47486
47487 USES_CONTROLS=1
47488 fi
47489
47490 if test "$wxUSE_RADIOBTN" = "yes"; then
47491 cat >>confdefs.h <<\_ACEOF
47492 #define wxUSE_RADIOBTN 1
47493 _ACEOF
47494
47495 USES_CONTROLS=1
47496 fi
47497
47498 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_REARRANGECTRL 1
47501 _ACEOF
47502
47503 fi
47504
47505 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_RICHMSGDLG 1
47508 _ACEOF
47509
47510 fi
47511
47512 if test "$wxUSE_SASH" = "yes"; then
47513 cat >>confdefs.h <<\_ACEOF
47514 #define wxUSE_SASH 1
47515 _ACEOF
47516
47517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47518 fi
47519
47520 if test "$wxUSE_SCROLLBAR" = "yes"; then
47521 cat >>confdefs.h <<\_ACEOF
47522 #define wxUSE_SCROLLBAR 1
47523 _ACEOF
47524
47525 USES_CONTROLS=1
47526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47527 fi
47528
47529 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_SEARCHCTRL 1
47532 _ACEOF
47533
47534 USES_CONTROLS=1
47535 fi
47536
47537 if test "$wxUSE_SLIDER" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_SLIDER 1
47540 _ACEOF
47541
47542 USES_CONTROLS=1
47543 fi
47544
47545 if test "$wxUSE_SPINBTN" = "yes"; then
47546 cat >>confdefs.h <<\_ACEOF
47547 #define wxUSE_SPINBTN 1
47548 _ACEOF
47549
47550 USES_CONTROLS=1
47551 fi
47552
47553 if test "$wxUSE_SPINCTRL" = "yes"; then
47554 cat >>confdefs.h <<\_ACEOF
47555 #define wxUSE_SPINCTRL 1
47556 _ACEOF
47557
47558 USES_CONTROLS=1
47559 fi
47560
47561 if test "$wxUSE_SPLITTER" = "yes"; then
47562 cat >>confdefs.h <<\_ACEOF
47563 #define wxUSE_SPLITTER 1
47564 _ACEOF
47565
47566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47567 fi
47568
47569 if test "$wxUSE_STATBMP" = "yes"; then
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_STATBMP 1
47572 _ACEOF
47573
47574 USES_CONTROLS=1
47575 fi
47576
47577 if test "$wxUSE_STATBOX" = "yes"; then
47578 cat >>confdefs.h <<\_ACEOF
47579 #define wxUSE_STATBOX 1
47580 _ACEOF
47581
47582 USES_CONTROLS=1
47583 fi
47584
47585 if test "$wxUSE_STATTEXT" = "yes"; then
47586 cat >>confdefs.h <<\_ACEOF
47587 #define wxUSE_STATTEXT 1
47588 _ACEOF
47589
47590 USES_CONTROLS=1
47591 fi
47592
47593 if test "$wxUSE_STATLINE" = "yes"; then
47594 cat >>confdefs.h <<\_ACEOF
47595 #define wxUSE_STATLINE 1
47596 _ACEOF
47597
47598 USES_CONTROLS=1
47599 fi
47600
47601 if test "$wxUSE_STATUSBAR" = "yes"; then
47602 cat >>confdefs.h <<\_ACEOF
47603 #define wxUSE_NATIVE_STATUSBAR 1
47604 _ACEOF
47605
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_STATUSBAR 1
47608 _ACEOF
47609
47610 USES_CONTROLS=1
47611
47612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47613 fi
47614
47615 if test "$wxUSE_TEXTCTRL" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_TEXTCTRL 1
47618 _ACEOF
47619
47620 USES_CONTROLS=1
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47622
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_RICHEDIT 1
47625 _ACEOF
47626
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_RICHEDIT2 1
47629 _ACEOF
47630
47631 fi
47632
47633 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47634 if test "$wxUSE_OLD_COCOA" = 1 ; then
47635 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47636 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47637 wxUSE_TOGGLEBTN=no
47638 fi
47639
47640 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_TOGGLEBTN 1
47643 _ACEOF
47644
47645 USES_CONTROLS=1
47646 fi
47647 fi
47648
47649 if test "$wxUSE_TOOLBAR" = "yes"; then
47650 cat >>confdefs.h <<\_ACEOF
47651 #define wxUSE_TOOLBAR 1
47652 _ACEOF
47653
47654 USES_CONTROLS=1
47655
47656 if test "$wxUSE_UNIVERSAL" = "yes"; then
47657 wxUSE_TOOLBAR_NATIVE="no"
47658 else
47659 wxUSE_TOOLBAR_NATIVE="yes"
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_TOOLBAR_NATIVE 1
47662 _ACEOF
47663
47664 fi
47665
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47667 fi
47668
47669 if test "$wxUSE_TOOLTIPS" = "yes"; then
47670 if test "$wxUSE_MOTIF" = 1; then
47671 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47672 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47673 else
47674 if test "$wxUSE_UNIVERSAL" = "yes"; then
47675 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47676 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47677 else
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_TOOLTIPS 1
47680 _ACEOF
47681
47682 fi
47683 fi
47684 fi
47685
47686 if test "$wxUSE_TREEBOOK" = "yes"; then
47687 cat >>confdefs.h <<\_ACEOF
47688 #define wxUSE_TREEBOOK 1
47689 _ACEOF
47690
47691 USES_CONTROLS=1
47692 fi
47693
47694 if test "$wxUSE_TOOLBOOK" = "yes"; then
47695 cat >>confdefs.h <<\_ACEOF
47696 #define wxUSE_TOOLBOOK 1
47697 _ACEOF
47698
47699 USES_CONTROLS=1
47700 fi
47701
47702 if test "$wxUSE_TREECTRL" = "yes"; then
47703 if test "$wxUSE_IMAGLIST" = "yes"; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_TREECTRL 1
47706 _ACEOF
47707
47708 USES_CONTROLS=1
47709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47710 else
47711 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47712 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47713 fi
47714 fi
47715
47716 if test "$wxUSE_POPUPWIN" = "yes"; then
47717 if test "$wxUSE_OLD_COCOA" = 1 ; then
47718 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47719 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47720 else
47721 if test "$wxUSE_PM" = 1; then
47722 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47723 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47724 else
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_POPUPWIN 1
47727 _ACEOF
47728
47729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47730
47731 USES_CONTROLS=1
47732 fi
47733 fi
47734 fi
47735
47736 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47737 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47738 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47739 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47740 else
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_DIALUP_MANAGER 1
47743 _ACEOF
47744
47745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47746 fi
47747 fi
47748
47749 if test "$wxUSE_TIPWINDOW" = "yes"; then
47750 if test "$wxUSE_PM" = 1; then
47751 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47752 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47753 else
47754 cat >>confdefs.h <<\_ACEOF
47755 #define wxUSE_TIPWINDOW 1
47756 _ACEOF
47757
47758 fi
47759 fi
47760
47761 if test "$USES_CONTROLS" = 1; then
47762 cat >>confdefs.h <<\_ACEOF
47763 #define wxUSE_CONTROLS 1
47764 _ACEOF
47765
47766 fi
47767
47768
47769 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_ACCESSIBILITY 1
47772 _ACEOF
47773
47774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47775 fi
47776
47777 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47778 cat >>confdefs.h <<\_ACEOF
47779 #define wxUSE_ARTPROVIDER_STD 1
47780 _ACEOF
47781
47782 fi
47783
47784 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47785 if test "$wxUSE_GTK" != 1; then
47786 if test "$wxUSE_LIBPNG" != no -a \
47787 "$wxUSE_IMAGE" = yes -a \
47788 "$wxUSE_STREAMS" = yes; then
47789 wxUSE_ARTPROVIDER_TANGO="yes"
47790 fi
47791 fi
47792 fi
47793
47794 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47795 cat >>confdefs.h <<\_ACEOF
47796 #define wxUSE_ARTPROVIDER_TANGO 1
47797 _ACEOF
47798
47799 fi
47800
47801 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47802 cat >>confdefs.h <<\_ACEOF
47803 #define wxUSE_DRAGIMAGE 1
47804 _ACEOF
47805
47806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47807 fi
47808
47809 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47810 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47811 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47812 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47813 else
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_EXCEPTIONS 1
47816 _ACEOF
47817
47818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47819 fi
47820 fi
47821
47822 USE_HTML=0
47823 if test "$wxUSE_HTML" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_HTML 1
47826 _ACEOF
47827
47828 USE_HTML=1
47829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47830 fi
47831 if test "$wxUSE_WEBKIT" = "yes"; then
47832 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47833 old_CPPFLAGS="$CPPFLAGS"
47834 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47835 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47836 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47837 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47838 echo $ECHO_N "(cached) $ECHO_C" >&6
47839 else
47840 cat >conftest.$ac_ext <<_ACEOF
47841 /* confdefs.h. */
47842 _ACEOF
47843 cat confdefs.h >>conftest.$ac_ext
47844 cat >>conftest.$ac_ext <<_ACEOF
47845 /* end confdefs.h. */
47846
47847 #include <Carbon/Carbon.h>
47848 #include <WebKit/WebKit.h>
47849
47850
47851 #include <WebKit/HIWebView.h>
47852 _ACEOF
47853 rm -f conftest.$ac_objext
47854 if { (ac_try="$ac_compile"
47855 case "(($ac_try" in
47856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47857 *) ac_try_echo=$ac_try;;
47858 esac
47859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47860 (eval "$ac_compile") 2>conftest.er1
47861 ac_status=$?
47862 grep -v '^ *+' conftest.er1 >conftest.err
47863 rm -f conftest.er1
47864 cat conftest.err >&5
47865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47866 (exit $ac_status); } && {
47867 test -z "$ac_c_werror_flag" ||
47868 test ! -s conftest.err
47869 } && test -s conftest.$ac_objext; then
47870 ac_cv_header_WebKit_HIWebView_h=yes
47871 else
47872 echo "$as_me: failed program was:" >&5
47873 sed 's/^/| /' conftest.$ac_ext >&5
47874
47875 ac_cv_header_WebKit_HIWebView_h=no
47876 fi
47877
47878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47879 fi
47880 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47881 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47882 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47883
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_WEBKIT 1
47886 _ACEOF
47887
47888 WEBKIT_LINK="-framework WebKit"
47889
47890 else
47891
47892 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47893 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47894 wxUSE_WEBKIT=no
47895
47896 fi
47897
47898
47899 CPPFLAGS="$old_CPPFLAGS"
47900 elif test "$wxUSE_OLD_COCOA" = 1; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_WEBKIT 1
47903 _ACEOF
47904
47905 else
47906 wxUSE_WEBKIT=no
47907 fi
47908 if test "$wxUSE_WEBKIT" = "yes"; then
47909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47910 fi
47911 fi
47912
47913 USE_XRC=0
47914 if test "$wxUSE_XRC" = "yes"; then
47915 if test "$wxUSE_XML" != "yes"; then
47916 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47917 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47918 wxUSE_XRC=no
47919 else
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_XRC 1
47922 _ACEOF
47923
47924 USE_XRC=1
47925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47926 fi
47927 fi
47928
47929 USE_AUI=0
47930 if test "$wxUSE_AUI" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_AUI 1
47933 _ACEOF
47934
47935 USE_AUI=1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47937 fi
47938
47939 USE_PROPGRID=0
47940 if test "$wxUSE_PROPGRID" = "yes"; then
47941 cat >>confdefs.h <<\_ACEOF
47942 #define wxUSE_PROPGRID 1
47943 _ACEOF
47944
47945 USE_PROPGRID=1
47946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47947 fi
47948
47949 USE_RIBBON=0
47950 if test "$wxUSE_RIBBON" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_RIBBON 1
47953 _ACEOF
47954
47955 USE_RIBBON=1
47956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47957 fi
47958
47959 USE_STC=0
47960 if test "$wxUSE_STC" = "yes"; then
47961 cat >>confdefs.h <<\_ACEOF
47962 #define wxUSE_STC 1
47963 _ACEOF
47964
47965 USE_STC=1
47966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47967
47968 # Extract the first word of "python", so it can be a program name with args.
47969 set dummy python; ac_word=$2
47970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47972 if test "${ac_cv_path_PYTHON+set}" = set; then
47973 echo $ECHO_N "(cached) $ECHO_C" >&6
47974 else
47975 case $PYTHON in
47976 [\\/]* | ?:[\\/]*)
47977 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47978 ;;
47979 *)
47980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47981 for as_dir in $PATH
47982 do
47983 IFS=$as_save_IFS
47984 test -z "$as_dir" && as_dir=.
47985 for ac_exec_ext in '' $ac_executable_extensions; do
47986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47987 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47989 break 2
47990 fi
47991 done
47992 done
47993 IFS=$as_save_IFS
47994
47995 ;;
47996 esac
47997 fi
47998 PYTHON=$ac_cv_path_PYTHON
47999 if test -n "$PYTHON"; then
48000 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48001 echo "${ECHO_T}$PYTHON" >&6; }
48002 else
48003 { echo "$as_me:$LINENO: result: no" >&5
48004 echo "${ECHO_T}no" >&6; }
48005 fi
48006
48007
48008 if test "x$PYTHON" = "x"; then
48009 COND_PYTHON="#"
48010 fi
48011
48012 fi
48013
48014 if test "$wxUSE_MENUS" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_MENUS 1
48017 _ACEOF
48018
48019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48020 fi
48021
48022 if test "$wxUSE_METAFILE" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_METAFILE 1
48025 _ACEOF
48026
48027 fi
48028
48029 if test "$wxUSE_MIMETYPE" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_MIMETYPE 1
48032 _ACEOF
48033
48034 fi
48035
48036 if test "$wxUSE_MINIFRAME" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_MINIFRAME 1
48039 _ACEOF
48040
48041 fi
48042
48043 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48044 cat >>confdefs.h <<\_ACEOF
48045 #define wxUSE_SYSTEM_OPTIONS 1
48046 _ACEOF
48047
48048 fi
48049
48050 if test "$wxUSE_TASKBARICON" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_TASKBARICON 1
48053 _ACEOF
48054
48055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48056 fi
48057
48058
48059 if test "$wxUSE_VALIDATORS" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_VALIDATORS 1
48062 _ACEOF
48063
48064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48065 fi
48066
48067 if test "$wxUSE_PALETTE" = "yes" ; then
48068 if test "$wxUSE_DFB" = 1; then
48069 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48070 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48071 wxUSE_PALETTE=no
48072 else
48073 cat >>confdefs.h <<\_ACEOF
48074 #define wxUSE_PALETTE 1
48075 _ACEOF
48076
48077 fi
48078 fi
48079
48080 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48081 LIBS=" -lunicows $LIBS"
48082 fi
48083
48084 USE_RICHTEXT=0
48085 if test "$wxUSE_RICHTEXT" = "yes"; then
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_RICHTEXT 1
48088 _ACEOF
48089
48090 USE_RICHTEXT=1
48091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48092 fi
48093
48094
48095 if test "$wxUSE_IMAGE" = "yes" ; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_IMAGE 1
48098 _ACEOF
48099
48100
48101 if test "$wxUSE_GIF" = "yes" ; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_GIF 1
48104 _ACEOF
48105
48106 fi
48107
48108 if test "$wxUSE_PCX" = "yes" ; then
48109 cat >>confdefs.h <<\_ACEOF
48110 #define wxUSE_PCX 1
48111 _ACEOF
48112
48113 fi
48114
48115 if test "$wxUSE_TGA" = "yes" ; then
48116 cat >>confdefs.h <<\_ACEOF
48117 #define wxUSE_TGA 1
48118 _ACEOF
48119
48120 fi
48121
48122 if test "$wxUSE_IFF" = "yes" ; then
48123 cat >>confdefs.h <<\_ACEOF
48124 #define wxUSE_IFF 1
48125 _ACEOF
48126
48127 fi
48128
48129 if test "$wxUSE_PNM" = "yes" ; then
48130 cat >>confdefs.h <<\_ACEOF
48131 #define wxUSE_PNM 1
48132 _ACEOF
48133
48134 fi
48135
48136 if test "$wxUSE_XPM" = "yes" ; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_XPM 1
48139 _ACEOF
48140
48141 fi
48142
48143 if test "$wxUSE_ICO_CUR" = "yes" ; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_ICO_CUR 1
48146 _ACEOF
48147
48148 fi
48149 fi
48150
48151
48152 if test "$wxUSE_ABOUTDLG" = "yes"; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_ABOUTDLG 1
48155 _ACEOF
48156
48157 fi
48158
48159 if test "$wxUSE_CHOICEDLG" = "yes"; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_CHOICEDLG 1
48162 _ACEOF
48163
48164 fi
48165
48166 if test "$wxUSE_COLOURDLG" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_COLOURDLG 1
48169 _ACEOF
48170
48171 fi
48172
48173 if test "$wxUSE_FILEDLG" = "yes"; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_FILEDLG 1
48176 _ACEOF
48177
48178 fi
48179
48180 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_FINDREPLDLG 1
48183 _ACEOF
48184
48185 fi
48186
48187 if test "$wxUSE_FONTDLG" = "yes"; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_FONTDLG 1
48190 _ACEOF
48191
48192 fi
48193
48194 if test "$wxUSE_DIRDLG" = "yes"; then
48195 if test "$wxUSE_TREECTRL" != "yes"; then
48196 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48197 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48198 else
48199 cat >>confdefs.h <<\_ACEOF
48200 #define wxUSE_DIRDLG 1
48201 _ACEOF
48202
48203 fi
48204 fi
48205
48206 if test "$wxUSE_MSGDLG" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_MSGDLG 1
48209 _ACEOF
48210
48211 fi
48212
48213 if test "$wxUSE_NUMBERDLG" = "yes"; then
48214 cat >>confdefs.h <<\_ACEOF
48215 #define wxUSE_NUMBERDLG 1
48216 _ACEOF
48217
48218 fi
48219
48220 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_PROGRESSDLG 1
48223 _ACEOF
48224
48225 fi
48226
48227 if test "$wxUSE_SPLASH" = "yes"; then
48228 cat >>confdefs.h <<\_ACEOF
48229 #define wxUSE_SPLASH 1
48230 _ACEOF
48231
48232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48233 fi
48234
48235 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48236 cat >>confdefs.h <<\_ACEOF
48237 #define wxUSE_STARTUP_TIPS 1
48238 _ACEOF
48239
48240 fi
48241
48242 if test "$wxUSE_TEXTDLG" = "yes"; then
48243 cat >>confdefs.h <<\_ACEOF
48244 #define wxUSE_TEXTDLG 1
48245 _ACEOF
48246
48247 fi
48248
48249 if test "$wxUSE_WIZARDDLG" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_WIZARDDLG 1
48252 _ACEOF
48253
48254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48255 fi
48256
48257
48258 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48259 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48260 cat >>confdefs.h <<\_ACEOF
48261 #define wxUSE_OWNER_DRAWN 1
48262 _ACEOF
48263
48264 fi
48265 fi
48266
48267
48268 if test "$wxUSE_MSW" = 1 ; then
48269
48270 if test "$wxUSE_DC_CACHEING" = "yes"; then
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_DC_CACHEING 1
48273 _ACEOF
48274
48275 fi
48276
48277 if test "$wxUSE_DIB" = "yes"; then
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_WXDIB 1
48280 _ACEOF
48281
48282 fi
48283
48284 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48285 cat >>confdefs.h <<\_ACEOF
48286 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48287 _ACEOF
48288
48289 fi
48290
48291 if test "$wxUSE_UXTHEME" = "yes"; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_UXTHEME 1
48294 _ACEOF
48295
48296 fi
48297
48298 fi
48299
48300 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_AUTOID_MANAGEMENT 1
48303 _ACEOF
48304
48305 fi
48306
48307 if test "$USE_WIN32" = 1 ; then
48308 if test "$wxUSE_INICONF" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_INICONF 1
48311 _ACEOF
48312
48313 fi
48314
48315 if test "$wxUSE_REGKEY" = "yes"; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_REGKEY 1
48318 _ACEOF
48319
48320 fi
48321 fi
48322
48323
48324 if test "$wxUSE_MAC" = 1; then
48325 wxUSE_GRAPHICS_CONTEXT="yes"
48326 fi
48327
48328 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48329 wx_has_graphics=0
48330 if test "$wxUSE_MSW" = 1; then
48331 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48332 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48333 if test "${wx_cv_lib_gdiplus+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336
48337 ac_ext=cpp
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48342
48343 cat >conftest.$ac_ext <<_ACEOF
48344 /* confdefs.h. */
48345 _ACEOF
48346 cat confdefs.h >>conftest.$ac_ext
48347 cat >>conftest.$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48349 #include <windows.h>
48350 #include <gdiplus.h>
48351 int
48352 main ()
48353 {
48354
48355 using namespace Gdiplus;
48356
48357 ;
48358 return 0;
48359 }
48360 _ACEOF
48361 rm -f conftest.$ac_objext
48362 if { (ac_try="$ac_compile"
48363 case "(($ac_try" in
48364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48365 *) ac_try_echo=$ac_try;;
48366 esac
48367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48368 (eval "$ac_compile") 2>conftest.er1
48369 ac_status=$?
48370 grep -v '^ *+' conftest.er1 >conftest.err
48371 rm -f conftest.er1
48372 cat conftest.err >&5
48373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48374 (exit $ac_status); } && {
48375 test -z "$ac_cxx_werror_flag" ||
48376 test ! -s conftest.err
48377 } && test -s conftest.$ac_objext; then
48378 wx_cv_lib_gdiplus=yes
48379 else
48380 echo "$as_me: failed program was:" >&5
48381 sed 's/^/| /' conftest.$ac_ext >&5
48382
48383 wx_cv_lib_gdiplus=no
48384
48385 fi
48386
48387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48388 ac_ext=c
48389 ac_cpp='$CPP $CPPFLAGS'
48390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48393
48394
48395
48396 fi
48397 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48398 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48399 if test "$wx_cv_lib_gdiplus" = "yes"; then
48400 wx_has_graphics=1
48401 fi
48402 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48403
48404 pkg_failed=no
48405 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48406 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48407
48408 if test -n "$PKG_CONFIG"; then
48409 if test -n "$CAIRO_CFLAGS"; then
48410 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48411 else
48412 if test -n "$PKG_CONFIG" && \
48413 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48414 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48415 ac_status=$?
48416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417 (exit $ac_status); }; then
48418 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48419 else
48420 pkg_failed=yes
48421 fi
48422 fi
48423 else
48424 pkg_failed=untried
48425 fi
48426 if test -n "$PKG_CONFIG"; then
48427 if test -n "$CAIRO_LIBS"; then
48428 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48429 else
48430 if test -n "$PKG_CONFIG" && \
48431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48432 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48433 ac_status=$?
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); }; then
48436 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48437 else
48438 pkg_failed=yes
48439 fi
48440 fi
48441 else
48442 pkg_failed=untried
48443 fi
48444
48445
48446
48447 if test $pkg_failed = yes; then
48448
48449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48450 _pkg_short_errors_supported=yes
48451 else
48452 _pkg_short_errors_supported=no
48453 fi
48454 if test $_pkg_short_errors_supported = yes; then
48455 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48456 else
48457 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48458 fi
48459 # Put the nasty error message in config.log where it belongs
48460 echo "$CAIRO_PKG_ERRORS" >&5
48461
48462 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48463 echo "$as_me: WARNING: Cairo library not found" >&2;}
48464
48465 elif test $pkg_failed = untried; then
48466 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48467 echo "$as_me: WARNING: Cairo library not found" >&2;}
48468
48469 else
48470 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48471 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48472 { echo "$as_me:$LINENO: result: yes" >&5
48473 echo "${ECHO_T}yes" >&6; }
48474 wx_has_graphics=1
48475 fi
48476 if test "$wx_has_graphics" = 1; then
48477 save_LIBS="$LIBS"
48478 LIBS="$LIBS $CAIRO_LIBS"
48479
48480 for ac_func in cairo_push_group
48481 do
48482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488 cat >conftest.$ac_ext <<_ACEOF
48489 /* confdefs.h. */
48490 _ACEOF
48491 cat confdefs.h >>conftest.$ac_ext
48492 cat >>conftest.$ac_ext <<_ACEOF
48493 /* end confdefs.h. */
48494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48496 #define $ac_func innocuous_$ac_func
48497
48498 /* System header to define __stub macros and hopefully few prototypes,
48499 which can conflict with char $ac_func (); below.
48500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48501 <limits.h> exists even on freestanding compilers. */
48502
48503 #ifdef __STDC__
48504 # include <limits.h>
48505 #else
48506 # include <assert.h>
48507 #endif
48508
48509 #undef $ac_func
48510
48511 /* Override any GCC internal prototype to avoid an error.
48512 Use char because int might match the return type of a GCC
48513 builtin and then its argument prototype would still apply. */
48514 #ifdef __cplusplus
48515 extern "C"
48516 #endif
48517 char $ac_func ();
48518 /* The GNU C library defines this for functions which it implements
48519 to always fail with ENOSYS. Some functions are actually named
48520 something starting with __ and the normal name is an alias. */
48521 #if defined __stub_$ac_func || defined __stub___$ac_func
48522 choke me
48523 #endif
48524
48525 int
48526 main ()
48527 {
48528 return $ac_func ();
48529 ;
48530 return 0;
48531 }
48532 _ACEOF
48533 rm -f conftest.$ac_objext conftest$ac_exeext
48534 if { (ac_try="$ac_link"
48535 case "(($ac_try" in
48536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48537 *) ac_try_echo=$ac_try;;
48538 esac
48539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48540 (eval "$ac_link") 2>conftest.er1
48541 ac_status=$?
48542 grep -v '^ *+' conftest.er1 >conftest.err
48543 rm -f conftest.er1
48544 cat conftest.err >&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); } && {
48547 test -z "$ac_c_werror_flag" ||
48548 test ! -s conftest.err
48549 } && test -s conftest$ac_exeext &&
48550 $as_test_x conftest$ac_exeext; then
48551 eval "$as_ac_var=yes"
48552 else
48553 echo "$as_me: failed program was:" >&5
48554 sed 's/^/| /' conftest.$ac_ext >&5
48555
48556 eval "$as_ac_var=no"
48557 fi
48558
48559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48560 conftest$ac_exeext conftest.$ac_ext
48561 fi
48562 ac_res=`eval echo '${'$as_ac_var'}'`
48563 { echo "$as_me:$LINENO: result: $ac_res" >&5
48564 echo "${ECHO_T}$ac_res" >&6; }
48565 if test `eval echo '${'$as_ac_var'}'` = yes; then
48566 cat >>confdefs.h <<_ACEOF
48567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48568 _ACEOF
48569
48570 fi
48571 done
48572
48573 LIBS="$save_LIBS"
48574 if test "$ac_cv_func_cairo_push_group" = "no"; then
48575 wx_has_graphics=0
48576 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48577 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48578 else
48579 cat >>confdefs.h <<\_ACEOF
48580 #define wxUSE_CAIRO 1
48581 _ACEOF
48582
48583
48584 if test "$wxUSE_GTK" != 1; then
48585 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48587 fi
48588 fi
48589 fi
48590 else
48591 wx_has_graphics=1
48592 fi
48593
48594 if test "$wx_has_graphics" = 1; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_GRAPHICS_CONTEXT 1
48597 _ACEOF
48598
48599 else
48600 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48601 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48602 fi
48603 fi
48604
48605
48606 USE_MEDIA=0
48607
48608 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48609 USE_MEDIA=1
48610
48611 if test "$wxUSE_GTK" = 1; then
48612 wxUSE_GSTREAMER="no"
48613
48614 GST_VERSION_MAJOR=0
48615 GST_VERSION_MINOR=10
48616 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48617
48618 if test "$wxUSE_GSTREAMER8" = "no"; then
48619
48620 pkg_failed=no
48621 { echo "$as_me:$LINENO: checking for GST" >&5
48622 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48623
48624 if test -n "$PKG_CONFIG"; then
48625 if test -n "$GST_CFLAGS"; then
48626 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48627 else
48628 if test -n "$PKG_CONFIG" && \
48629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48630 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48631 ac_status=$?
48632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48633 (exit $ac_status); }; then
48634 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48635 else
48636 pkg_failed=yes
48637 fi
48638 fi
48639 else
48640 pkg_failed=untried
48641 fi
48642 if test -n "$PKG_CONFIG"; then
48643 if test -n "$GST_LIBS"; then
48644 pkg_cv_GST_LIBS="$GST_LIBS"
48645 else
48646 if test -n "$PKG_CONFIG" && \
48647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48648 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48649 ac_status=$?
48650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48651 (exit $ac_status); }; then
48652 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48653 else
48654 pkg_failed=yes
48655 fi
48656 fi
48657 else
48658 pkg_failed=untried
48659 fi
48660
48661
48662
48663 if test $pkg_failed = yes; then
48664
48665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48666 _pkg_short_errors_supported=yes
48667 else
48668 _pkg_short_errors_supported=no
48669 fi
48670 if test $_pkg_short_errors_supported = yes; then
48671 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48672 else
48673 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48674 fi
48675 # Put the nasty error message in config.log where it belongs
48676 echo "$GST_PKG_ERRORS" >&5
48677
48678
48679 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48680 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48681 GST_VERSION_MINOR=8
48682
48683
48684 elif test $pkg_failed = untried; then
48685
48686 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48687 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48688 GST_VERSION_MINOR=8
48689
48690
48691 else
48692 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48693 GST_LIBS=$pkg_cv_GST_LIBS
48694 { echo "$as_me:$LINENO: result: yes" >&5
48695 echo "${ECHO_T}yes" >&6; }
48696
48697 wxUSE_GSTREAMER="yes"
48698 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48699
48700 fi
48701 else
48702 GST_VERSION_MINOR=8
48703 fi
48704
48705 if test $GST_VERSION_MINOR = "8"; then
48706 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48707
48708 pkg_failed=no
48709 { echo "$as_me:$LINENO: checking for GST" >&5
48710 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48711
48712 if test -n "$PKG_CONFIG"; then
48713 if test -n "$GST_CFLAGS"; then
48714 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48715 else
48716 if test -n "$PKG_CONFIG" && \
48717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48718 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48719 ac_status=$?
48720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721 (exit $ac_status); }; then
48722 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48723 else
48724 pkg_failed=yes
48725 fi
48726 fi
48727 else
48728 pkg_failed=untried
48729 fi
48730 if test -n "$PKG_CONFIG"; then
48731 if test -n "$GST_LIBS"; then
48732 pkg_cv_GST_LIBS="$GST_LIBS"
48733 else
48734 if test -n "$PKG_CONFIG" && \
48735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48736 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48737 ac_status=$?
48738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48739 (exit $ac_status); }; then
48740 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48741 else
48742 pkg_failed=yes
48743 fi
48744 fi
48745 else
48746 pkg_failed=untried
48747 fi
48748
48749
48750
48751 if test $pkg_failed = yes; then
48752
48753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48754 _pkg_short_errors_supported=yes
48755 else
48756 _pkg_short_errors_supported=no
48757 fi
48758 if test $_pkg_short_errors_supported = yes; then
48759 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48760 else
48761 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48762 fi
48763 # Put the nasty error message in config.log where it belongs
48764 echo "$GST_PKG_ERRORS" >&5
48765
48766
48767 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48768 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48769
48770 elif test $pkg_failed = untried; then
48771
48772 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48773 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48774
48775 else
48776 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48777 GST_LIBS=$pkg_cv_GST_LIBS
48778 { echo "$as_me:$LINENO: result: yes" >&5
48779 echo "${ECHO_T}yes" >&6; }
48780 wxUSE_GSTREAMER="yes"
48781 fi
48782 fi
48783
48784
48785 if test "$wxUSE_GSTREAMER" = "yes"; then
48786 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48787 EXTRALIBS_MEDIA="$GST_LIBS"
48788
48789 cat >>confdefs.h <<\_ACEOF
48790 #define wxUSE_GSTREAMER 1
48791 _ACEOF
48792
48793 else
48794 USE_MEDIA=0
48795 fi
48796 fi
48797
48798 if test $USE_MEDIA = 1; then
48799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48800 cat >>confdefs.h <<\_ACEOF
48801 #define wxUSE_MEDIACTRL 1
48802 _ACEOF
48803
48804 else
48805 if test "$wxUSE_MEDIACTRL" = "yes"; then
48806 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48807 echo "$as_me: error: GStreamer not available" >&2;}
48808 { (exit 1); exit 1; }; }
48809 else
48810 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48811 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48812 fi
48813 fi
48814 fi
48815
48816
48817 if test "$cross_compiling" != "no"; then
48818 OSINFO="\"$host\""
48819 else
48820 OSINFO=`uname -s -r -m`
48821 OSINFO="\"$OSINFO\""
48822 fi
48823
48824 cat >>confdefs.h <<_ACEOF
48825 #define WXWIN_OS_DESCRIPTION $OSINFO
48826 _ACEOF
48827
48828
48829
48830 if test "x$prefix" != "xNONE"; then
48831 wxPREFIX=$prefix
48832 else
48833 wxPREFIX=$ac_default_prefix
48834 fi
48835
48836 cat >>confdefs.h <<_ACEOF
48837 #define wxINSTALL_PREFIX "$wxPREFIX"
48838 _ACEOF
48839
48840
48841
48842
48843 STD_BASE_LIBS="base"
48844 STD_GUI_LIBS=""
48845 BUILT_WX_LIBS="base"
48846 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48847
48848 if test "$wxUSE_SOCKETS" = "yes" ; then
48849 STD_BASE_LIBS="net $STD_BASE_LIBS"
48850 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48851 fi
48852 if test "$wxUSE_XML" = "yes" ; then
48853 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48854 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48855 fi
48856
48857 if test "$wxUSE_GUI" = "yes"; then
48858 STD_GUI_LIBS="adv core"
48859 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48860
48861 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48862 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48863 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48864 fi
48865 if test "$wxUSE_HTML" = "yes" ; then
48866 STD_GUI_LIBS="html $STD_GUI_LIBS"
48867 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48868 fi
48869 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48870 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48871 fi
48872 if test "$wxUSE_OPENGL" = "yes" ; then
48873 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48874 fi
48875 if test "$wxUSE_AUI" = "yes" ; then
48876 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48877 fi
48878 if test "$wxUSE_PROPGRID" = "yes" ; then
48879 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48880 fi
48881 if test "$wxUSE_RIBBON" = "yes" ; then
48882 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48883 fi
48884 if test "$wxUSE_RICHTEXT" = "yes" ; then
48885 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48886 fi
48887 if test "$wxUSE_STC" = "yes" ; then
48888 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48889 fi
48890 if test "$wxUSE_XRC" = "yes" ; then
48891 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48892 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48893 fi
48894 fi
48895
48896
48897
48898
48899
48900
48901
48902 EXTRA_FRAMEWORKS=
48903 if test "$wxUSE_MAC" = 1 ; then
48904 if test "$USE_DARWIN" = 1; then
48905 if test "$wxUSE_OSX_IPHONE" = 1; then
48906 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48907 else
48908 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48909 fi
48910 fi
48911 fi
48912 if test "$wxUSE_OLD_COCOA" = 1 ; then
48913 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48914 if test "$wxUSE_MEDIACTRL" = "yes"; then
48915 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48916 fi
48917 fi
48918 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48919 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48920 fi
48921
48922 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48923 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48924
48925 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48926
48927 if test "$wxUSE_GUI" = "yes"; then
48928
48929
48930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48931 erase event exec font image minimal render \
48932 shaped svg taborder vscroll widgets wrapsizer"
48933
48934 if test "$wxUSE_MONOLITHIC" != "yes"; then
48935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48936 fi
48937 if test "$TOOLKIT" = "MSW"; then
48938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48939 if test "$wxUSE_UNIVERSAL" != "yes"; then
48940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48941 fi
48942 fi
48943 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48945 fi
48946 else
48947 SAMPLES_SUBDIRS="console"
48948 if test "$wxUSE_SOCKETS" = "yes" ; then
48949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48950 fi
48951 if test "$wxUSE_IPC" = "yes" ; then
48952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48953 fi
48954 fi
48955
48956
48957 if test "x$INTELCC" = "xyes" ; then
48958 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48959 elif test "$GCC" = yes ; then
48960 CWARNINGS="-Wall -Wundef"
48961 fi
48962
48963 if test "x$INTELCXX" = "xyes" ; then
48964 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48965 elif test "$GXX" = yes ; then
48966 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48967 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48968 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48969 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48970 echo $ECHO_N "(cached) $ECHO_C" >&6
48971 else
48972 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48973
48974 ac_ext=cpp
48975 ac_cpp='$CXXCPP $CPPFLAGS'
48976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979
48980 ac_save_CXXFLAGS="$CXXFLAGS"
48981 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48982 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48983 cat >conftest.$ac_ext <<_ACEOF
48984 /* confdefs.h. */
48985 _ACEOF
48986 cat confdefs.h >>conftest.$ac_ext
48987 cat >>conftest.$ac_ext <<_ACEOF
48988 /* end confdefs.h. */
48989
48990 int
48991 main ()
48992 {
48993 return 0;
48994 ;
48995 return 0;
48996 }
48997 _ACEOF
48998 rm -f conftest.$ac_objext
48999 if { (ac_try="$ac_compile"
49000 case "(($ac_try" in
49001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49002 *) ac_try_echo=$ac_try;;
49003 esac
49004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49005 (eval "$ac_compile") 2>conftest.er1
49006 ac_status=$?
49007 grep -v '^ *+' conftest.er1 >conftest.err
49008 rm -f conftest.er1
49009 cat conftest.err >&5
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); } && {
49012 test -z "$ac_cxx_werror_flag" ||
49013 test ! -s conftest.err
49014 } && test -s conftest.$ac_objext; then
49015 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49016 else
49017 echo "$as_me: failed program was:" >&5
49018 sed 's/^/| /' conftest.$ac_ext >&5
49019
49020
49021 fi
49022
49023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49024 done
49025 CXXFLAGS="$ac_save_CXXFLAGS"
49026 ac_ext=c
49027 ac_cpp='$CPP $CPPFLAGS'
49028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49031
49032
49033 fi
49034 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49035 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49036 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49037 .ok|.ok,*) ;;
49038 .|.no|.no,*) ;;
49039 *)
49040 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49041 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49042 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49043 ac_status=$?
49044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045 (exit $ac_status); }
49046 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49047 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }
49051 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49052 fi
49053 ;;
49054 esac
49055
49056
49057 if test "$wxUSE_MAC" = 1 ; then
49058 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49059 fi
49060 fi
49061
49062
49063 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49064 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49065
49066
49067 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49068 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49069 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49070 $CPPFLAGS `
49071
49072 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49073 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49074 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49075 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49076 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49077
49078 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49079
49080
49081 if test "x$MWCC" = "xyes"; then
49082
49083 CC="$CC -cwd source -I-"
49084 CXX="$CXX -cwd source -I-"
49085 fi
49086
49087
49088 LIBS=`echo $LIBS`
49089 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49090 EXTRALIBS_XML="$EXPAT_LINK"
49091 EXTRALIBS_HTML="$MSPACK_LINK"
49092 EXTRALIBS_MEDIA="$GST_LIBS"
49093 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49094 if test "$wxUSE_GUI" = "yes"; then
49095 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49096 fi
49097 if test "$wxUSE_OPENGL" = "yes"; then
49098 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49099 fi
49100
49101 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49102
49103 WXCONFIG_LIBS="$LIBS"
49104
49105 if test "$wxUSE_REGEX" = "builtin" ; then
49106 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49107 fi
49108 if test "$wxUSE_EXPAT" = "builtin" ; then
49109 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49110 fi
49111 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49112 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49113 fi
49114 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49115 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49116 fi
49117 if test "$wxUSE_LIBPNG" = "builtin" ; then
49118 wxconfig_3rdparty="png $wxconfig_3rdparty"
49119 fi
49120 if test "$wxUSE_ZLIB" = "builtin" ; then
49121 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49122 fi
49123
49124 for i in $wxconfig_3rdparty ; do
49125 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49126 done
49127
49128
49129 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49130 WXUNIV=1
49131
49132 case "$wxUNIV_THEMES" in
49133 ''|all)
49134 cat >>confdefs.h <<\_ACEOF
49135 #define wxUSE_ALL_THEMES 1
49136 _ACEOF
49137
49138 ;;
49139
49140 *)
49141 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49142 cat >>confdefs.h <<_ACEOF
49143 #define wxUSE_THEME_$t 1
49144 _ACEOF
49145
49146 done
49147 esac
49148 else
49149 WXUNIV=0
49150 fi
49151
49152
49153
49154
49155
49156
49157
49158
49159 if test $wxUSE_MONOLITHIC = "yes" ; then
49160 MONOLITHIC=1
49161 else
49162 MONOLITHIC=0
49163 fi
49164
49165 if test $wxUSE_PLUGINS = "yes" ; then
49166 USE_PLUGINS=1
49167 else
49168 USE_PLUGINS=0
49169 fi
49170
49171 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49172 USE_QA=1
49173 else
49174 USE_QA=0
49175 fi
49176
49177 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49178 OFFICIAL_BUILD=1
49179 else
49180 OFFICIAL_BUILD=0
49181 fi
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220 case "$TOOLKIT" in
49221 GTK)
49222 TOOLKIT_DESC="GTK+"
49223 if test "$WXGTK2" = 1; then
49224 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49225 if test "$wxUSE_GTKPRINT" = "yes" ; then
49226 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49227 fi
49228 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49229 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49230 fi
49231 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49232 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49233 fi
49234 if test "$wxUSE_LIBHILDON" = "yes"; then
49235 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49236 fi
49237 if test "$wxUSE_LIBHILDON2" = "yes"; then
49238 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49239 fi
49240
49241 if test "$TOOLKIT_EXTRA" != ""; then
49242 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49243 fi
49244 fi
49245 ;;
49246
49247 ?*)
49248 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49249 ;;
49250
49251 *)
49252 TOOLKIT_DESC="base only"
49253 ;;
49254 esac
49255
49256 if test "$wxUSE_WINE" = "yes"; then
49257 BAKEFILE_FORCE_PLATFORM=win32
49258 fi
49259
49260 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49261 then
49262 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49263 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49264 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49265 echo $ECHO_N "(cached) $ECHO_C" >&6
49266 else
49267
49268 echo '#include <stdio.h>
49269 const wchar_t test_var[] = L"awidetest";' > conftest.h
49270
49271 echo '#include "conftest.h"
49272 int main()
49273 {
49274 printf("%ls", test_var);
49275 return 0;
49276 }' > conftest.cpp
49277
49278 wx_cv_gcc_pch_bug="pch not supported"
49279
49280 if $CXX conftest.h >/dev/null 2>&1
49281 then
49282 wx_cv_gcc_pch_bug=
49283
49284 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49285 then
49286 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49287 grep awidetest >/dev/null
49288 then
49289 wx_cv_gcc_pch_bug=no
49290 else
49291 wx_cv_gcc_pch_bug=yes
49292 fi
49293 fi
49294 fi
49295
49296 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49297
49298 fi
49299 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49300 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49301
49302 if test "$wx_cv_gcc_pch_bug" = yes; then
49303 bk_use_pch=no
49304 fi
49305 fi
49306
49307
49308
49309
49310
49311
49312
49313 if test "x$BAKEFILE_HOST" = "x"; then
49314 if test "x${host}" = "x" ; then
49315 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49316 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49317 { (exit 1); exit 1; }; }
49318 fi
49319
49320 BAKEFILE_HOST="${host}"
49321 fi
49322
49323 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49324
49325 if test -n "$ac_tool_prefix"; then
49326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49330 if test "${ac_cv_prog_RANLIB+set}" = set; then
49331 echo $ECHO_N "(cached) $ECHO_C" >&6
49332 else
49333 if test -n "$RANLIB"; then
49334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49335 else
49336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49337 for as_dir in $PATH
49338 do
49339 IFS=$as_save_IFS
49340 test -z "$as_dir" && as_dir=.
49341 for ac_exec_ext in '' $ac_executable_extensions; do
49342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49345 break 2
49346 fi
49347 done
49348 done
49349 IFS=$as_save_IFS
49350
49351 fi
49352 fi
49353 RANLIB=$ac_cv_prog_RANLIB
49354 if test -n "$RANLIB"; then
49355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49356 echo "${ECHO_T}$RANLIB" >&6; }
49357 else
49358 { echo "$as_me:$LINENO: result: no" >&5
49359 echo "${ECHO_T}no" >&6; }
49360 fi
49361
49362
49363 fi
49364 if test -z "$ac_cv_prog_RANLIB"; then
49365 ac_ct_RANLIB=$RANLIB
49366 # Extract the first word of "ranlib", so it can be a program name with args.
49367 set dummy ranlib; ac_word=$2
49368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49371 echo $ECHO_N "(cached) $ECHO_C" >&6
49372 else
49373 if test -n "$ac_ct_RANLIB"; then
49374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49375 else
49376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49377 for as_dir in $PATH
49378 do
49379 IFS=$as_save_IFS
49380 test -z "$as_dir" && as_dir=.
49381 for ac_exec_ext in '' $ac_executable_extensions; do
49382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49383 ac_cv_prog_ac_ct_RANLIB="ranlib"
49384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49385 break 2
49386 fi
49387 done
49388 done
49389 IFS=$as_save_IFS
49390
49391 fi
49392 fi
49393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49394 if test -n "$ac_ct_RANLIB"; then
49395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49397 else
49398 { echo "$as_me:$LINENO: result: no" >&5
49399 echo "${ECHO_T}no" >&6; }
49400 fi
49401
49402 if test "x$ac_ct_RANLIB" = x; then
49403 RANLIB=":"
49404 else
49405 case $cross_compiling:$ac_tool_warned in
49406 yes:)
49407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49408 whose name does not start with the host triplet. If you think this
49409 configuration is useful to you, please write to autoconf@gnu.org." >&5
49410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49411 whose name does not start with the host triplet. If you think this
49412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49413 ac_tool_warned=yes ;;
49414 esac
49415 RANLIB=$ac_ct_RANLIB
49416 fi
49417 else
49418 RANLIB="$ac_cv_prog_RANLIB"
49419 fi
49420
49421 # Find a good install program. We prefer a C program (faster),
49422 # so one script is as good as another. But avoid the broken or
49423 # incompatible versions:
49424 # SysV /etc/install, /usr/sbin/install
49425 # SunOS /usr/etc/install
49426 # IRIX /sbin/install
49427 # AIX /bin/install
49428 # AmigaOS /C/install, which installs bootblocks on floppy discs
49429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49432 # OS/2's system install, which has a completely different semantic
49433 # ./install, which can be erroneously created by make from ./install.sh.
49434 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49435 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49436 if test -z "$INSTALL"; then
49437 if test "${ac_cv_path_install+set}" = set; then
49438 echo $ECHO_N "(cached) $ECHO_C" >&6
49439 else
49440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49441 for as_dir in $PATH
49442 do
49443 IFS=$as_save_IFS
49444 test -z "$as_dir" && as_dir=.
49445 # Account for people who put trailing slashes in PATH elements.
49446 case $as_dir/ in
49447 ./ | .// | /cC/* | \
49448 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49449 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49450 /usr/ucb/* ) ;;
49451 *)
49452 # OSF1 and SCO ODT 3.0 have their own names for install.
49453 # Don't use installbsd from OSF since it installs stuff as root
49454 # by default.
49455 for ac_prog in ginstall scoinst install; do
49456 for ac_exec_ext in '' $ac_executable_extensions; do
49457 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49458 if test $ac_prog = install &&
49459 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49460 # AIX install. It has an incompatible calling convention.
49461 :
49462 elif test $ac_prog = install &&
49463 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49464 # program-specific install script used by HP pwplus--don't use.
49465 :
49466 else
49467 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49468 break 3
49469 fi
49470 fi
49471 done
49472 done
49473 ;;
49474 esac
49475 done
49476 IFS=$as_save_IFS
49477
49478
49479 fi
49480 if test "${ac_cv_path_install+set}" = set; then
49481 INSTALL=$ac_cv_path_install
49482 else
49483 # As a last resort, use the slow shell script. Don't cache a
49484 # value for INSTALL within a source directory, because that will
49485 # break other packages using the cache if that directory is
49486 # removed, or if the value is a relative name.
49487 INSTALL=$ac_install_sh
49488 fi
49489 fi
49490 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49491 echo "${ECHO_T}$INSTALL" >&6; }
49492
49493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49494 # It thinks the first close brace ends the variable substitution.
49495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49496
49497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49498
49499 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49500
49501 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49502 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49503 LN_S=$as_ln_s
49504 if test "$LN_S" = "ln -s"; then
49505 { echo "$as_me:$LINENO: result: yes" >&5
49506 echo "${ECHO_T}yes" >&6; }
49507 else
49508 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49509 echo "${ECHO_T}no, using $LN_S" >&6; }
49510 fi
49511
49512
49513 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49514 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49515 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49516 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49517 echo $ECHO_N "(cached) $ECHO_C" >&6
49518 else
49519 cat >conftest.make <<\_ACEOF
49520 SHELL = /bin/sh
49521 all:
49522 @echo '@@@%%%=$(MAKE)=@@@%%%'
49523 _ACEOF
49524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49526 *@@@%%%=?*=@@@%%%*)
49527 eval ac_cv_prog_make_${ac_make}_set=yes;;
49528 *)
49529 eval ac_cv_prog_make_${ac_make}_set=no;;
49530 esac
49531 rm -f conftest.make
49532 fi
49533 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49534 { echo "$as_me:$LINENO: result: yes" >&5
49535 echo "${ECHO_T}yes" >&6; }
49536 SET_MAKE=
49537 else
49538 { echo "$as_me:$LINENO: result: no" >&5
49539 echo "${ECHO_T}no" >&6; }
49540 SET_MAKE="MAKE=${MAKE-make}"
49541 fi
49542
49543
49544
49545 if test "x$SUNCXX" = "xyes"; then
49546 AR=$CXX
49547 AROPTIONS="-xar -o"
49548
49549 elif test "x$SGICC" = "xyes"; then
49550 AR=$CXX
49551 AROPTIONS="-ar -o"
49552
49553 else
49554 if test -n "$ac_tool_prefix"; then
49555 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49556 set dummy ${ac_tool_prefix}ar; ac_word=$2
49557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49559 if test "${ac_cv_prog_AR+set}" = set; then
49560 echo $ECHO_N "(cached) $ECHO_C" >&6
49561 else
49562 if test -n "$AR"; then
49563 ac_cv_prog_AR="$AR" # Let the user override the test.
49564 else
49565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49566 for as_dir in $PATH
49567 do
49568 IFS=$as_save_IFS
49569 test -z "$as_dir" && as_dir=.
49570 for ac_exec_ext in '' $ac_executable_extensions; do
49571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49572 ac_cv_prog_AR="${ac_tool_prefix}ar"
49573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49574 break 2
49575 fi
49576 done
49577 done
49578 IFS=$as_save_IFS
49579
49580 fi
49581 fi
49582 AR=$ac_cv_prog_AR
49583 if test -n "$AR"; then
49584 { echo "$as_me:$LINENO: result: $AR" >&5
49585 echo "${ECHO_T}$AR" >&6; }
49586 else
49587 { echo "$as_me:$LINENO: result: no" >&5
49588 echo "${ECHO_T}no" >&6; }
49589 fi
49590
49591
49592 fi
49593 if test -z "$ac_cv_prog_AR"; then
49594 ac_ct_AR=$AR
49595 # Extract the first word of "ar", so it can be a program name with args.
49596 set dummy ar; ac_word=$2
49597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49599 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49601 else
49602 if test -n "$ac_ct_AR"; then
49603 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49604 else
49605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49606 for as_dir in $PATH
49607 do
49608 IFS=$as_save_IFS
49609 test -z "$as_dir" && as_dir=.
49610 for ac_exec_ext in '' $ac_executable_extensions; do
49611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49612 ac_cv_prog_ac_ct_AR="ar"
49613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49614 break 2
49615 fi
49616 done
49617 done
49618 IFS=$as_save_IFS
49619
49620 fi
49621 fi
49622 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49623 if test -n "$ac_ct_AR"; then
49624 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49625 echo "${ECHO_T}$ac_ct_AR" >&6; }
49626 else
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49629 fi
49630
49631 if test "x$ac_ct_AR" = x; then
49632 AR="ar"
49633 else
49634 case $cross_compiling:$ac_tool_warned in
49635 yes:)
49636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49637 whose name does not start with the host triplet. If you think this
49638 configuration is useful to you, please write to autoconf@gnu.org." >&5
49639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49640 whose name does not start with the host triplet. If you think this
49641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49642 ac_tool_warned=yes ;;
49643 esac
49644 AR=$ac_ct_AR
49645 fi
49646 else
49647 AR="$ac_cv_prog_AR"
49648 fi
49649
49650 AROPTIONS=rcu
49651 fi
49652
49653
49654 if test -n "$ac_tool_prefix"; then
49655 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49656 set dummy ${ac_tool_prefix}strip; ac_word=$2
49657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49659 if test "${ac_cv_prog_STRIP+set}" = set; then
49660 echo $ECHO_N "(cached) $ECHO_C" >&6
49661 else
49662 if test -n "$STRIP"; then
49663 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49664 else
49665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49666 for as_dir in $PATH
49667 do
49668 IFS=$as_save_IFS
49669 test -z "$as_dir" && as_dir=.
49670 for ac_exec_ext in '' $ac_executable_extensions; do
49671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49672 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49674 break 2
49675 fi
49676 done
49677 done
49678 IFS=$as_save_IFS
49679
49680 fi
49681 fi
49682 STRIP=$ac_cv_prog_STRIP
49683 if test -n "$STRIP"; then
49684 { echo "$as_me:$LINENO: result: $STRIP" >&5
49685 echo "${ECHO_T}$STRIP" >&6; }
49686 else
49687 { echo "$as_me:$LINENO: result: no" >&5
49688 echo "${ECHO_T}no" >&6; }
49689 fi
49690
49691
49692 fi
49693 if test -z "$ac_cv_prog_STRIP"; then
49694 ac_ct_STRIP=$STRIP
49695 # Extract the first word of "strip", so it can be a program name with args.
49696 set dummy strip; ac_word=$2
49697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49699 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49700 echo $ECHO_N "(cached) $ECHO_C" >&6
49701 else
49702 if test -n "$ac_ct_STRIP"; then
49703 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49704 else
49705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49706 for as_dir in $PATH
49707 do
49708 IFS=$as_save_IFS
49709 test -z "$as_dir" && as_dir=.
49710 for ac_exec_ext in '' $ac_executable_extensions; do
49711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49712 ac_cv_prog_ac_ct_STRIP="strip"
49713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49714 break 2
49715 fi
49716 done
49717 done
49718 IFS=$as_save_IFS
49719
49720 fi
49721 fi
49722 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49723 if test -n "$ac_ct_STRIP"; then
49724 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49725 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49726 else
49727 { echo "$as_me:$LINENO: result: no" >&5
49728 echo "${ECHO_T}no" >&6; }
49729 fi
49730
49731 if test "x$ac_ct_STRIP" = x; then
49732 STRIP=":"
49733 else
49734 case $cross_compiling:$ac_tool_warned in
49735 yes:)
49736 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49737 whose name does not start with the host triplet. If you think this
49738 configuration is useful to you, please write to autoconf@gnu.org." >&5
49739 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49740 whose name does not start with the host triplet. If you think this
49741 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49742 ac_tool_warned=yes ;;
49743 esac
49744 STRIP=$ac_ct_STRIP
49745 fi
49746 else
49747 STRIP="$ac_cv_prog_STRIP"
49748 fi
49749
49750 if test -n "$ac_tool_prefix"; then
49751 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49752 set dummy ${ac_tool_prefix}nm; ac_word=$2
49753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49755 if test "${ac_cv_prog_NM+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49758 if test -n "$NM"; then
49759 ac_cv_prog_NM="$NM" # Let the user override the test.
49760 else
49761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49762 for as_dir in $PATH
49763 do
49764 IFS=$as_save_IFS
49765 test -z "$as_dir" && as_dir=.
49766 for ac_exec_ext in '' $ac_executable_extensions; do
49767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49768 ac_cv_prog_NM="${ac_tool_prefix}nm"
49769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49770 break 2
49771 fi
49772 done
49773 done
49774 IFS=$as_save_IFS
49775
49776 fi
49777 fi
49778 NM=$ac_cv_prog_NM
49779 if test -n "$NM"; then
49780 { echo "$as_me:$LINENO: result: $NM" >&5
49781 echo "${ECHO_T}$NM" >&6; }
49782 else
49783 { echo "$as_me:$LINENO: result: no" >&5
49784 echo "${ECHO_T}no" >&6; }
49785 fi
49786
49787
49788 fi
49789 if test -z "$ac_cv_prog_NM"; then
49790 ac_ct_NM=$NM
49791 # Extract the first word of "nm", so it can be a program name with args.
49792 set dummy nm; ac_word=$2
49793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49795 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49796 echo $ECHO_N "(cached) $ECHO_C" >&6
49797 else
49798 if test -n "$ac_ct_NM"; then
49799 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49800 else
49801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49802 for as_dir in $PATH
49803 do
49804 IFS=$as_save_IFS
49805 test -z "$as_dir" && as_dir=.
49806 for ac_exec_ext in '' $ac_executable_extensions; do
49807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49808 ac_cv_prog_ac_ct_NM="nm"
49809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49810 break 2
49811 fi
49812 done
49813 done
49814 IFS=$as_save_IFS
49815
49816 fi
49817 fi
49818 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49819 if test -n "$ac_ct_NM"; then
49820 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49821 echo "${ECHO_T}$ac_ct_NM" >&6; }
49822 else
49823 { echo "$as_me:$LINENO: result: no" >&5
49824 echo "${ECHO_T}no" >&6; }
49825 fi
49826
49827 if test "x$ac_ct_NM" = x; then
49828 NM=":"
49829 else
49830 case $cross_compiling:$ac_tool_warned in
49831 yes:)
49832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49833 whose name does not start with the host triplet. If you think this
49834 configuration is useful to you, please write to autoconf@gnu.org." >&5
49835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49836 whose name does not start with the host triplet. If you think this
49837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49838 ac_tool_warned=yes ;;
49839 esac
49840 NM=$ac_ct_NM
49841 fi
49842 else
49843 NM="$ac_cv_prog_NM"
49844 fi
49845
49846
49847 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49848 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49849 INSTALL_TEST_DIR=acbftest$$
49850 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49851 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49852 rmdir $INSTALL_TEST_DIR
49853 INSTALL_DIR='$(INSTALL) -d'
49854 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49855 echo "${ECHO_T}$INSTALL -d" >&6; }
49856 else
49857 INSTALL_DIR="mkdir -p"
49858 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49859 echo "${ECHO_T}mkdir -p" >&6; }
49860 fi
49861
49862
49863 LDFLAGS_GUI=
49864 case ${BAKEFILE_HOST} in
49865 *-*-cygwin* | *-*-mingw32* )
49866 LDFLAGS_GUI="-mwindows"
49867 esac
49868
49869
49870 fi
49871
49872 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49873 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49874 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49875 echo $ECHO_N "(cached) $ECHO_C" >&6
49876 else
49877
49878 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49879 egrep -s GNU > /dev/null); then
49880 bakefile_cv_prog_makeisgnu="yes"
49881 else
49882 bakefile_cv_prog_makeisgnu="no"
49883 fi
49884
49885 fi
49886 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49887 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49888
49889 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49890 IF_GNU_MAKE=""
49891 else
49892 IF_GNU_MAKE="#"
49893 fi
49894
49895
49896
49897 PLATFORM_UNIX=0
49898 PLATFORM_WIN32=0
49899 PLATFORM_MSDOS=0
49900 PLATFORM_MAC=0
49901 PLATFORM_MACOS=0
49902 PLATFORM_MACOSX=0
49903 PLATFORM_OS2=0
49904 PLATFORM_BEOS=0
49905
49906 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49907 case "${BAKEFILE_HOST}" in
49908 *-*-mingw32* )
49909 PLATFORM_WIN32=1
49910 ;;
49911 *-pc-msdosdjgpp )
49912 PLATFORM_MSDOS=1
49913 ;;
49914 *-pc-os2_emx | *-pc-os2-emx )
49915 PLATFORM_OS2=1
49916 ;;
49917 *-*-darwin* )
49918 PLATFORM_MAC=1
49919 PLATFORM_MACOSX=1
49920 ;;
49921 *-*-beos* )
49922 PLATFORM_BEOS=1
49923 ;;
49924 powerpc-apple-macos* )
49925 PLATFORM_MAC=1
49926 PLATFORM_MACOS=1
49927 ;;
49928 * )
49929 PLATFORM_UNIX=1
49930 ;;
49931 esac
49932 else
49933 case "$BAKEFILE_FORCE_PLATFORM" in
49934 win32 )
49935 PLATFORM_WIN32=1
49936 ;;
49937 msdos )
49938 PLATFORM_MSDOS=1
49939 ;;
49940 os2 )
49941 PLATFORM_OS2=1
49942 ;;
49943 darwin )
49944 PLATFORM_MAC=1
49945 PLATFORM_MACOSX=1
49946 ;;
49947 unix )
49948 PLATFORM_UNIX=1
49949 ;;
49950 beos )
49951 PLATFORM_BEOS=1
49952 ;;
49953 * )
49954 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49955 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49956 { (exit 1); exit 1; }; }
49957 ;;
49958 esac
49959 fi
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971 # Check whether --enable-omf was given.
49972 if test "${enable_omf+set}" = set; then
49973 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49974 fi
49975
49976
49977 case "${BAKEFILE_HOST}" in
49978 *-*-darwin* )
49979 if test "x$GCC" = "xyes"; then
49980 CFLAGS="$CFLAGS -fno-common"
49981 CXXFLAGS="$CXXFLAGS -fno-common"
49982 fi
49983 if test "x$XLCC" = "xyes"; then
49984 CFLAGS="$CFLAGS -qnocommon"
49985 CXXFLAGS="$CXXFLAGS -qnocommon"
49986 fi
49987 ;;
49988
49989 *-pc-os2_emx | *-pc-os2-emx )
49990 if test "x$bk_os2_use_omf" = "xyes" ; then
49991 AR=emxomfar
49992 RANLIB=:
49993 LDFLAGS="-Zomf $LDFLAGS"
49994 CFLAGS="-Zomf $CFLAGS"
49995 CXXFLAGS="-Zomf $CXXFLAGS"
49996 OS2_LIBEXT="lib"
49997 else
49998 OS2_LIBEXT="a"
49999 fi
50000 ;;
50001
50002 i*86-*-beos* )
50003 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50004 ;;
50005 esac
50006
50007
50008 SO_SUFFIX="so"
50009 SO_SUFFIX_MODULE="so"
50010 EXEEXT=""
50011 LIBPREFIX="lib"
50012 LIBEXT=".a"
50013 DLLPREFIX="lib"
50014 DLLPREFIX_MODULE=""
50015 DLLIMP_SUFFIX=""
50016 dlldir="$libdir"
50017
50018 case "${BAKEFILE_HOST}" in
50019 ia64-hp-hpux* )
50020 ;;
50021 *-hp-hpux* )
50022 SO_SUFFIX="sl"
50023 SO_SUFFIX_MODULE="sl"
50024 ;;
50025 *-*-aix* )
50026 SO_SUFFIX="a"
50027 SO_SUFFIX_MODULE="a"
50028 ;;
50029 *-*-cygwin* )
50030 SO_SUFFIX="dll"
50031 SO_SUFFIX_MODULE="dll"
50032 DLLIMP_SUFFIX="dll.a"
50033 EXEEXT=".exe"
50034 DLLPREFIX="cyg"
50035 dlldir="$bindir"
50036 ;;
50037 *-*-mingw32* )
50038 SO_SUFFIX="dll"
50039 SO_SUFFIX_MODULE="dll"
50040 DLLIMP_SUFFIX="dll.a"
50041 EXEEXT=".exe"
50042 DLLPREFIX=""
50043 dlldir="$bindir"
50044 ;;
50045 *-pc-msdosdjgpp )
50046 EXEEXT=".exe"
50047 DLLPREFIX=""
50048 dlldir="$bindir"
50049 ;;
50050 *-pc-os2_emx | *-pc-os2-emx )
50051 SO_SUFFIX="dll"
50052 SO_SUFFIX_MODULE="dll"
50053 DLLIMP_SUFFIX=$OS2_LIBEXT
50054 EXEEXT=".exe"
50055 DLLPREFIX=""
50056 LIBPREFIX=""
50057 LIBEXT=".$OS2_LIBEXT"
50058 dlldir="$bindir"
50059 ;;
50060 *-*-darwin* )
50061 SO_SUFFIX="dylib"
50062 SO_SUFFIX_MODULE="bundle"
50063 ;;
50064 esac
50065
50066 if test "x$DLLIMP_SUFFIX" = "x" ; then
50067 DLLIMP_SUFFIX="$SO_SUFFIX"
50068 fi
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081 PIC_FLAG=""
50082 if test "x$GCC" = "xyes"; then
50083 PIC_FLAG="-fPIC"
50084 fi
50085
50086 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50087 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50088 WINDOWS_IMPLIB=0
50089
50090 case "${BAKEFILE_HOST}" in
50091 *-hp-hpux* )
50092 if test "x$GCC" != "xyes"; then
50093 LDFLAGS="$LDFLAGS -L/usr/lib"
50094
50095 SHARED_LD_CC="${CC} -b -o"
50096 SHARED_LD_CXX="${CXX} -b -o"
50097 PIC_FLAG="+Z"
50098 fi
50099 ;;
50100
50101 *-*-linux* )
50102 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50103 PIC_FLAG="-KPIC"
50104 elif test "x$SUNCXX" = "xyes"; then
50105 SHARED_LD_CC="${CC} -G -o"
50106 SHARED_LD_CXX="${CXX} -G -o"
50107 PIC_FLAG="-KPIC"
50108 fi
50109 ;;
50110
50111 *-*-solaris2* )
50112 if test "x$SUNCXX" = xyes ; then
50113 SHARED_LD_CC="${CC} -G -o"
50114 SHARED_LD_CXX="${CXX} -G -o"
50115 PIC_FLAG="-KPIC"
50116 fi
50117 ;;
50118
50119 *-*-darwin* )
50120
50121 D='$'
50122 cat <<EOF >shared-ld-sh
50123 #!/bin/sh
50124 #-----------------------------------------------------------------------------
50125 #-- Name: distrib/mac/shared-ld-sh
50126 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50127 #-- Author: Gilles Depeyrot
50128 #-- Copyright: (c) 2002 Gilles Depeyrot
50129 #-- Licence: any use permitted
50130 #-----------------------------------------------------------------------------
50131
50132 verbose=0
50133 args=""
50134 objects=""
50135 linking_flag="-dynamiclib"
50136 ldargs="-r -keep_private_externs -nostdlib"
50137
50138 if test "x${D}CXX" = "x"; then
50139 CXX="c++"
50140 fi
50141
50142 while test ${D}# -gt 0; do
50143 case ${D}1 in
50144
50145 -v)
50146 verbose=1
50147 ;;
50148
50149 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50150 # collect these options and values
50151 args="${D}{args} ${D}1 ${D}2"
50152 shift
50153 ;;
50154
50155 -arch|-isysroot)
50156 # collect these options and values
50157 ldargs="${D}{ldargs} ${D}1 ${D}2"
50158 shift
50159 ;;
50160
50161 -s|-Wl,*)
50162 # collect these load args
50163 ldargs="${D}{ldargs} ${D}1"
50164 ;;
50165
50166 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50167 # collect these options
50168 args="${D}{args} ${D}1"
50169 ;;
50170
50171 -dynamiclib|-bundle)
50172 linking_flag="${D}1"
50173 ;;
50174
50175 -*)
50176 echo "shared-ld: unhandled option '${D}1'"
50177 exit 1
50178 ;;
50179
50180 *.o | *.a | *.dylib)
50181 # collect object files
50182 objects="${D}{objects} ${D}1"
50183 ;;
50184
50185 *)
50186 echo "shared-ld: unhandled argument '${D}1'"
50187 exit 1
50188 ;;
50189
50190 esac
50191 shift
50192 done
50193
50194 status=0
50195
50196 #
50197 # Link one module containing all the others
50198 #
50199 if test ${D}{verbose} = 1; then
50200 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50201 fi
50202 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50203 status=${D}?
50204
50205 #
50206 # Link the shared library from the single module created, but only if the
50207 # previous command didn't fail:
50208 #
50209 if test ${D}{status} = 0; then
50210 if test ${D}{verbose} = 1; then
50211 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50212 fi
50213 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50214 status=${D}?
50215 fi
50216
50217 #
50218 # Remove intermediate module
50219 #
50220 rm -f master.${D}${D}.o
50221
50222 exit ${D}status
50223 EOF
50224
50225 chmod +x shared-ld-sh
50226
50227 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50228 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50229
50230
50231 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50232 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50233 if test "${bakefile_cv_gcc31+set}" = set; then
50234 echo $ECHO_N "(cached) $ECHO_C" >&6
50235 else
50236
50237 cat >conftest.$ac_ext <<_ACEOF
50238 /* confdefs.h. */
50239 _ACEOF
50240 cat confdefs.h >>conftest.$ac_ext
50241 cat >>conftest.$ac_ext <<_ACEOF
50242 /* end confdefs.h. */
50243
50244 int
50245 main ()
50246 {
50247
50248 #if (__GNUC__ < 3) || \
50249 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50250 This is old gcc
50251 #endif
50252
50253 ;
50254 return 0;
50255 }
50256 _ACEOF
50257 rm -f conftest.$ac_objext
50258 if { (ac_try="$ac_compile"
50259 case "(($ac_try" in
50260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50261 *) ac_try_echo=$ac_try;;
50262 esac
50263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50264 (eval "$ac_compile") 2>conftest.er1
50265 ac_status=$?
50266 grep -v '^ *+' conftest.er1 >conftest.err
50267 rm -f conftest.er1
50268 cat conftest.err >&5
50269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50270 (exit $ac_status); } && {
50271 test -z "$ac_c_werror_flag" ||
50272 test ! -s conftest.err
50273 } && test -s conftest.$ac_objext; then
50274
50275 bakefile_cv_gcc31=yes
50276
50277 else
50278 echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50280
50281
50282 bakefile_cv_gcc31=no
50283
50284
50285 fi
50286
50287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50288
50289 fi
50290 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50291 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50292 if test "$bakefile_cv_gcc31" = "no"; then
50293 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50294 SHARED_LD_CXX="$SHARED_LD_CC"
50295 else
50296 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50297 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50298 fi
50299
50300 if test "x$GCC" == "xyes"; then
50301 PIC_FLAG="-dynamic -fPIC"
50302 fi
50303 if test "x$XLCC" = "xyes"; then
50304 PIC_FLAG="-dynamic -DPIC"
50305 fi
50306 ;;
50307
50308 *-*-aix* )
50309 if test "x$GCC" = "xyes"; then
50310 PIC_FLAG=""
50311
50312 case "${BAKEFILE_HOST}" in
50313 *-*-aix5* )
50314 LD_EXPFULL="-Wl,-bexpfull"
50315 ;;
50316 esac
50317
50318 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50319 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50320 else
50321 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50322 set dummy makeC++SharedLib; ac_word=$2
50323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50325 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50326 echo $ECHO_N "(cached) $ECHO_C" >&6
50327 else
50328 if test -n "$AIX_CXX_LD"; then
50329 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50330 else
50331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50332 for as_dir in $PATH
50333 do
50334 IFS=$as_save_IFS
50335 test -z "$as_dir" && as_dir=.
50336 for ac_exec_ext in '' $ac_executable_extensions; do
50337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50338 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50340 break 2
50341 fi
50342 done
50343 done
50344 IFS=$as_save_IFS
50345
50346 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50347 fi
50348 fi
50349 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50350 if test -n "$AIX_CXX_LD"; then
50351 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50352 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50353 else
50354 { echo "$as_me:$LINENO: result: no" >&5
50355 echo "${ECHO_T}no" >&6; }
50356 fi
50357
50358
50359 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50360 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50361 fi
50362 ;;
50363
50364 *-*-beos* )
50365 SHARED_LD_CC="${LD} -nostart -o"
50366 SHARED_LD_CXX="${LD} -nostart -o"
50367 ;;
50368
50369 *-*-irix* )
50370 if test "x$GCC" != "xyes"; then
50371 PIC_FLAG="-KPIC"
50372 fi
50373 ;;
50374
50375 *-*-cygwin* | *-*-mingw32* )
50376 PIC_FLAG=""
50377 SHARED_LD_CC="\$(CC) -shared -o"
50378 SHARED_LD_CXX="\$(CXX) -shared -o"
50379 WINDOWS_IMPLIB=1
50380 ;;
50381
50382 *-pc-os2_emx | *-pc-os2-emx )
50383 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50384 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50385 PIC_FLAG=""
50386
50387 D='$'
50388 cat <<EOF >dllar.sh
50389 #!/bin/sh
50390 #
50391 # dllar - a tool to build both a .dll and an .a file
50392 # from a set of object (.o) files for EMX/OS2.
50393 #
50394 # Written by Andrew Zabolotny, bit@freya.etu.ru
50395 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50396 #
50397 # This script will accept a set of files on the command line.
50398 # All the public symbols from the .o files will be exported into
50399 # a .DEF file, then linker will be run (through gcc) against them to
50400 # build a shared library consisting of all given .o files. All libraries
50401 # (.a) will be first decompressed into component .o files then act as
50402 # described above. You can optionally give a description (-d "description")
50403 # which will be put into .DLL. To see the list of accepted options (as well
50404 # as command-line format) simply run this program without options. The .DLL
50405 # is built to be imported by name (there is no guarantee that new versions
50406 # of the library you build will have same ordinals for same symbols).
50407 #
50408 # dllar is free software; you can redistribute it and/or modify
50409 # it under the terms of the GNU General Public License as published by
50410 # the Free Software Foundation; either version 2, or (at your option)
50411 # any later version.
50412 #
50413 # dllar is distributed in the hope that it will be useful,
50414 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50416 # GNU General Public License for more details.
50417 #
50418 # You should have received a copy of the GNU General Public License
50419 # along with dllar; see the file COPYING. If not, write to the Free
50420 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50421 # 02111-1307, USA.
50422
50423 # To successfuly run this program you will need:
50424 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50425 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50426 # - gcc
50427 # (used to build the .dll)
50428 # - emxexp
50429 # (used to create .def file from .o files)
50430 # - emximp
50431 # (used to create .a file from .def file)
50432 # - GNU text utilites (cat, sort, uniq)
50433 # used to process emxexp output
50434 # - GNU file utilities (mv, rm)
50435 # - GNU sed
50436 # - lxlite (optional, see flag below)
50437 # (used for general .dll cleanup)
50438 #
50439
50440 flag_USE_LXLITE=1;
50441
50442 #
50443 # helper functions
50444 # basnam, variant of basename, which does _not_ remove the path, _iff_
50445 # second argument (suffix to remove) is given
50446 basnam(){
50447 case ${D}# in
50448 1)
50449 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50450 ;;
50451 2)
50452 echo ${D}1 | sed 's/'${D}2'${D}//'
50453 ;;
50454 *)
50455 echo "error in basnam ${D}*"
50456 exit 8
50457 ;;
50458 esac
50459 }
50460
50461 # Cleanup temporary files and output
50462 CleanUp() {
50463 cd ${D}curDir
50464 for i in ${D}inputFiles ; do
50465 case ${D}i in
50466 *!)
50467 rm -rf \`basnam ${D}i !\`
50468 ;;
50469 *)
50470 ;;
50471 esac
50472 done
50473
50474 # Kill result in case of failure as there is just to many stupid make/nmake
50475 # things out there which doesn't do this.
50476 if [ ${D}# -eq 0 ]; then
50477 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50478 fi
50479 }
50480
50481 # Print usage and exit script with rc=1.
50482 PrintHelp() {
50483 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50484 echo ' [-name-mangler-script script.sh]'
50485 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50486 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50487 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50488 echo ' [*.o] [*.a]'
50489 echo '*> "output_file" should have no extension.'
50490 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50491 echo ' The import library name is derived from this and is set to "name".a,'
50492 echo ' unless overridden by -import'
50493 echo '*> "importlib_name" should have no extension.'
50494 echo ' If it has the .o, or .a extension, it is automatically removed.'
50495 echo ' This name is used as the import library name and may be longer and'
50496 echo ' more descriptive than the DLL name which has to follow the old '
50497 echo ' 8.3 convention of FAT.'
50498 echo '*> "script.sh may be given to override the output_file name by a'
50499 echo ' different name. It is mainly useful if the regular make process'
50500 echo ' of some package does not take into account OS/2 restriction of'
50501 echo ' DLL name lengths. It takes the importlib name as input and is'
50502 echo ' supposed to procude a shorter name as output. The script should'
50503 echo ' expect to get importlib_name without extension and should produce'
50504 echo ' a (max.) 8 letter name without extension.'
50505 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50506 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50507 echo ' These flags will be put at the start of GCC command line.'
50508 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50509 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50510 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50511 echo ' If the last character of a symbol is "*", all symbols beginning'
50512 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50513 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50514 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50515 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50516 echo ' C runtime DLLs.'
50517 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50518 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50519 echo ' unchanged to GCC at the end of command line.'
50520 echo '*> If you create a DLL from a library and you do not specify -o,'
50521 echo ' the basename for DLL and import library will be set to library name,'
50522 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50523 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50524 echo ' library will be renamed into gcc_s.a.'
50525 echo '--------'
50526 echo 'Example:'
50527 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50528 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50529 CleanUp
50530 exit 1
50531 }
50532
50533 # Execute a command.
50534 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50535 # @Uses Whatever CleanUp() uses.
50536 doCommand() {
50537 echo "${D}*"
50538 eval ${D}*
50539 rcCmd=${D}?
50540
50541 if [ ${D}rcCmd -ne 0 ]; then
50542 echo "command failed, exit code="${D}rcCmd
50543 CleanUp
50544 exit ${D}rcCmd
50545 fi
50546 }
50547
50548 # main routine
50549 # setup globals
50550 cmdLine=${D}*
50551 outFile=""
50552 outimpFile=""
50553 inputFiles=""
50554 renameScript=""
50555 description=""
50556 CC=gcc.exe
50557 CFLAGS="-s -Zcrtdll"
50558 EXTRA_CFLAGS=""
50559 EXPORT_BY_ORDINALS=0
50560 exclude_symbols=""
50561 library_flags=""
50562 curDir=\`pwd\`
50563 curDirS=curDir
50564 case ${D}curDirS in
50565 */)
50566 ;;
50567 *)
50568 curDirS=${D}{curDirS}"/"
50569 ;;
50570 esac
50571 # Parse commandline
50572 libsToLink=0
50573 omfLinking=0
50574 while [ ${D}1 ]; do
50575 case ${D}1 in
50576 -ord*)
50577 EXPORT_BY_ORDINALS=1;
50578 ;;
50579 -o*)
50580 shift
50581 outFile=${D}1
50582 ;;
50583 -i*)
50584 shift
50585 outimpFile=${D}1
50586 ;;
50587 -name-mangler-script)
50588 shift
50589 renameScript=${D}1
50590 ;;
50591 -d*)
50592 shift
50593 description=${D}1
50594 ;;
50595 -f*)
50596 shift
50597 CFLAGS=${D}1
50598 ;;
50599 -c*)
50600 shift
50601 CC=${D}1
50602 ;;
50603 -h*)
50604 PrintHelp
50605 ;;
50606 -ex*)
50607 shift
50608 exclude_symbols=${D}{exclude_symbols}${D}1" "
50609 ;;
50610 -libf*)
50611 shift
50612 library_flags=${D}{library_flags}${D}1" "
50613 ;;
50614 -nocrt*)
50615 CFLAGS="-s"
50616 ;;
50617 -nolxl*)
50618 flag_USE_LXLITE=0
50619 ;;
50620 -* | /*)
50621 case ${D}1 in
50622 -L* | -l*)
50623 libsToLink=1
50624 ;;
50625 -Zomf)
50626 omfLinking=1
50627 ;;
50628 *)
50629 ;;
50630 esac
50631 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50632 ;;
50633 *.dll)
50634 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50635 if [ ${D}omfLinking -eq 1 ]; then
50636 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50637 else
50638 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50639 fi
50640 ;;
50641 *)
50642 found=0;
50643 if [ ${D}libsToLink -ne 0 ]; then
50644 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50645 else
50646 for file in ${D}1 ; do
50647 if [ -f ${D}file ]; then
50648 inputFiles="${D}{inputFiles} ${D}file"
50649 found=1
50650 fi
50651 done
50652 if [ ${D}found -eq 0 ]; then
50653 echo "ERROR: No file(s) found: "${D}1
50654 exit 8
50655 fi
50656 fi
50657 ;;
50658 esac
50659 shift
50660 done # iterate cmdline words
50661
50662 #
50663 if [ -z "${D}inputFiles" ]; then
50664 echo "dllar: no input files"
50665 PrintHelp
50666 fi
50667
50668 # Now extract all .o files from .a files
50669 newInputFiles=""
50670 for file in ${D}inputFiles ; do
50671 case ${D}file in
50672 *.a | *.lib)
50673 case ${D}file in
50674 *.a)
50675 suffix=".a"
50676 AR="ar"
50677 ;;
50678 *.lib)
50679 suffix=".lib"
50680 AR="emxomfar"
50681 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50682 ;;
50683 *)
50684 ;;
50685 esac
50686 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50687 mkdir ${D}dirname
50688 if [ ${D}? -ne 0 ]; then
50689 echo "Failed to create subdirectory ./${D}dirname"
50690 CleanUp
50691 exit 8;
50692 fi
50693 # Append '!' to indicate archive
50694 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50695 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50696 cd ${D}curDir
50697 found=0;
50698 for subfile in ${D}dirname/*.o* ; do
50699 if [ -f ${D}subfile ]; then
50700 found=1
50701 if [ -s ${D}subfile ]; then
50702 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50703 newInputFiles="${D}newInputFiles ${D}subfile"
50704 fi
50705 fi
50706 done
50707 if [ ${D}found -eq 0 ]; then
50708 echo "WARNING: there are no files in archive \\'${D}file\\'"
50709 fi
50710 ;;
50711 *)
50712 newInputFiles="${D}{newInputFiles} ${D}file"
50713 ;;
50714 esac
50715 done
50716 inputFiles="${D}newInputFiles"
50717
50718 # Output filename(s).
50719 do_backup=0;
50720 if [ -z ${D}outFile ]; then
50721 do_backup=1;
50722 set outFile ${D}inputFiles; outFile=${D}2
50723 fi
50724
50725 # If it is an archive, remove the '!' and the '_%' suffixes
50726 case ${D}outFile in
50727 *_%!)
50728 outFile=\`basnam ${D}outFile _%!\`
50729 ;;
50730 *)
50731 ;;
50732 esac
50733 case ${D}outFile in
50734 *.dll)
50735 outFile=\`basnam ${D}outFile .dll\`
50736 ;;
50737 *.DLL)
50738 outFile=\`basnam ${D}outFile .DLL\`
50739 ;;
50740 *.o)
50741 outFile=\`basnam ${D}outFile .o\`
50742 ;;
50743 *.obj)
50744 outFile=\`basnam ${D}outFile .obj\`
50745 ;;
50746 *.a)
50747 outFile=\`basnam ${D}outFile .a\`
50748 ;;
50749 *.lib)
50750 outFile=\`basnam ${D}outFile .lib\`
50751 ;;
50752 *)
50753 ;;
50754 esac
50755 case ${D}outimpFile in
50756 *.a)
50757 outimpFile=\`basnam ${D}outimpFile .a\`
50758 ;;
50759 *.lib)
50760 outimpFile=\`basnam ${D}outimpFile .lib\`
50761 ;;
50762 *)
50763 ;;
50764 esac
50765 if [ -z ${D}outimpFile ]; then
50766 outimpFile=${D}outFile
50767 fi
50768 defFile="${D}{outFile}.def"
50769 arcFile="${D}{outimpFile}.a"
50770 arcFile2="${D}{outimpFile}.lib"
50771
50772 #create ${D}dllFile as something matching 8.3 restrictions,
50773 if [ -z ${D}renameScript ] ; then
50774 dllFile="${D}outFile"
50775 else
50776 dllFile=\`${D}renameScript ${D}outimpFile\`
50777 fi
50778
50779 if [ ${D}do_backup -ne 0 ] ; then
50780 if [ -f ${D}arcFile ] ; then
50781 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50782 fi
50783 if [ -f ${D}arcFile2 ] ; then
50784 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50785 fi
50786 fi
50787
50788 # Extract public symbols from all the object files.
50789 tmpdefFile=${D}{defFile}_%
50790 rm -f ${D}tmpdefFile
50791 for file in ${D}inputFiles ; do
50792 case ${D}file in
50793 *!)
50794 ;;
50795 *)
50796 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50797 ;;
50798 esac
50799 done
50800
50801 # Create the def file.
50802 rm -f ${D}defFile
50803 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50804 dllFile="${D}{dllFile}.dll"
50805 if [ ! -z ${D}description ]; then
50806 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50807 fi
50808 echo "EXPORTS" >> ${D}defFile
50809
50810 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50811 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50812
50813 # Checks if the export is ok or not.
50814 for word in ${D}exclude_symbols; do
50815 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50816 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50817 done
50818
50819
50820 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50821 sed "=" < ${D}tmpdefFile | \\
50822 sed '
50823 N
50824 : loop
50825 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50826 t loop
50827 ' > ${D}{tmpdefFile}%
50828 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50829 else
50830 rm -f ${D}{tmpdefFile}%
50831 fi
50832 cat ${D}tmpdefFile >> ${D}defFile
50833 rm -f ${D}tmpdefFile
50834
50835 # Do linking, create implib, and apply lxlite.
50836 gccCmdl="";
50837 for file in ${D}inputFiles ; do
50838 case ${D}file in
50839 *!)
50840 ;;
50841 *)
50842 gccCmdl="${D}gccCmdl ${D}file"
50843 ;;
50844 esac
50845 done
50846 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50847 touch "${D}{outFile}.dll"
50848
50849 doCommand "emximp -o ${D}arcFile ${D}defFile"
50850 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50851 add_flags="";
50852 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50853 add_flags="-ynd"
50854 fi
50855 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50856 fi
50857 doCommand "emxomf -s -l ${D}arcFile"
50858
50859 # Successful exit.
50860 CleanUp 1
50861 exit 0
50862 EOF
50863
50864 chmod +x dllar.sh
50865 ;;
50866
50867 powerpc-apple-macos* | \
50868 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50869 *-*-mirbsd* | \
50870 *-*-sunos4* | \
50871 *-*-osf* | \
50872 *-*-dgux5* | \
50873 *-*-sysv5* | \
50874 *-pc-msdosdjgpp )
50875 ;;
50876
50877 *)
50878 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50879 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50880 { (exit 1); exit 1; }; }
50881 esac
50882
50883 if test "x$PIC_FLAG" != "x" ; then
50884 PIC_FLAG="$PIC_FLAG -DPIC"
50885 fi
50886
50887 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50888 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50889 fi
50890 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50891 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50892 fi
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902 USE_SOVERSION=0
50903 USE_SOVERLINUX=0
50904 USE_SOVERSOLARIS=0
50905 USE_SOVERCYGWIN=0
50906 USE_SOTWOSYMLINKS=0
50907 USE_MACVERSION=0
50908 SONAME_FLAG=
50909
50910 case "${BAKEFILE_HOST}" in
50911 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50912 *-*-k*bsd*-gnu | *-*-mirbsd* )
50913 if test "x$SUNCXX" = "xyes"; then
50914 SONAME_FLAG="-h "
50915 else
50916 SONAME_FLAG="-Wl,-soname,"
50917 fi
50918 USE_SOVERSION=1
50919 USE_SOVERLINUX=1
50920 USE_SOTWOSYMLINKS=1
50921 ;;
50922
50923 *-*-solaris2* )
50924 SONAME_FLAG="-h "
50925 USE_SOVERSION=1
50926 USE_SOVERSOLARIS=1
50927 ;;
50928
50929 *-*-darwin* )
50930 USE_MACVERSION=1
50931 USE_SOVERSION=1
50932 USE_SOTWOSYMLINKS=1
50933 ;;
50934
50935 *-*-cygwin* )
50936 USE_SOVERSION=1
50937 USE_SOVERCYGWIN=1
50938 ;;
50939 esac
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950 # Check whether --enable-dependency-tracking was given.
50951 if test "${enable_dependency_tracking+set}" = set; then
50952 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50953 fi
50954
50955
50956 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50957 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50958
50959 BK_DEPS=""
50960 if test "x$bk_use_trackdeps" = "xno" ; then
50961 DEPS_TRACKING=0
50962 { echo "$as_me:$LINENO: result: disabled" >&5
50963 echo "${ECHO_T}disabled" >&6; }
50964 else
50965 DEPS_TRACKING=1
50966
50967 if test "x$GCC" = "xyes"; then
50968 DEPSMODE=gcc
50969 case "${BAKEFILE_HOST}" in
50970 *-*-darwin* )
50971 DEPSFLAG="-no-cpp-precomp -MMD"
50972 ;;
50973 * )
50974 DEPSFLAG="-MMD"
50975 ;;
50976 esac
50977 { echo "$as_me:$LINENO: result: gcc" >&5
50978 echo "${ECHO_T}gcc" >&6; }
50979 elif test "x$MWCC" = "xyes"; then
50980 DEPSMODE=mwcc
50981 DEPSFLAG="-MM"
50982 { echo "$as_me:$LINENO: result: mwcc" >&5
50983 echo "${ECHO_T}mwcc" >&6; }
50984 elif test "x$SUNCC" = "xyes"; then
50985 DEPSMODE=unixcc
50986 DEPSFLAG="-xM1"
50987 { echo "$as_me:$LINENO: result: Sun cc" >&5
50988 echo "${ECHO_T}Sun cc" >&6; }
50989 elif test "x$SGICC" = "xyes"; then
50990 DEPSMODE=unixcc
50991 DEPSFLAG="-M"
50992 { echo "$as_me:$LINENO: result: SGI cc" >&5
50993 echo "${ECHO_T}SGI cc" >&6; }
50994 elif test "x$HPCC" = "xyes"; then
50995 DEPSMODE=unixcc
50996 DEPSFLAG="+make"
50997 { echo "$as_me:$LINENO: result: HP cc" >&5
50998 echo "${ECHO_T}HP cc" >&6; }
50999 elif test "x$COMPAQCC" = "xyes"; then
51000 DEPSMODE=gcc
51001 DEPSFLAG="-MD"
51002 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51003 echo "${ECHO_T}Compaq cc" >&6; }
51004 else
51005 DEPS_TRACKING=0
51006 { echo "$as_me:$LINENO: result: none" >&5
51007 echo "${ECHO_T}none" >&6; }
51008 fi
51009
51010 if test $DEPS_TRACKING = 1 ; then
51011
51012 D='$'
51013 cat <<EOF >bk-deps
51014 #!/bin/sh
51015
51016 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51017 # script. It is used to track C/C++ files dependencies in portable way.
51018 #
51019 # Permission is given to use this file in any way.
51020
51021 DEPSMODE=${DEPSMODE}
51022 DEPSFLAG="${DEPSFLAG}"
51023 DEPSDIRBASE=.deps
51024
51025 if test ${D}DEPSMODE = gcc ; then
51026 ${D}* ${D}{DEPSFLAG}
51027 status=${D}?
51028
51029 # determine location of created files:
51030 while test ${D}# -gt 0; do
51031 case "${D}1" in
51032 -o )
51033 shift
51034 objfile=${D}1
51035 ;;
51036 -* )
51037 ;;
51038 * )
51039 srcfile=${D}1
51040 ;;
51041 esac
51042 shift
51043 done
51044 objfilebase=\`basename ${D}objfile\`
51045 builddir=\`dirname ${D}objfile\`
51046 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51047 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51048 depsdir=${D}builddir/${D}DEPSDIRBASE
51049 mkdir -p ${D}depsdir
51050
51051 # if the compiler failed, we're done:
51052 if test ${D}{status} != 0 ; then
51053 rm -f ${D}depfile
51054 exit ${D}{status}
51055 fi
51056
51057 # move created file to the location we want it in:
51058 if test -f ${D}depfile ; then
51059 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51060 rm -f ${D}depfile
51061 else
51062 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51063 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51064 if test ! -f ${D}depfile ; then
51065 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51066 depfile="${D}objfile.d"
51067 fi
51068 if test -f ${D}depfile ; then
51069 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51070 rm -f ${D}depfile
51071 fi
51072 fi
51073 exit 0
51074
51075 elif test ${D}DEPSMODE = mwcc ; then
51076 ${D}* || exit ${D}?
51077 # Run mwcc again with -MM and redirect into the dep file we want
51078 # NOTE: We can't use shift here because we need ${D}* to be valid
51079 prevarg=
51080 for arg in ${D}* ; do
51081 if test "${D}prevarg" = "-o"; then
51082 objfile=${D}arg
51083 else
51084 case "${D}arg" in
51085 -* )
51086 ;;
51087 * )
51088 srcfile=${D}arg
51089 ;;
51090 esac
51091 fi
51092 prevarg="${D}arg"
51093 done
51094
51095 objfilebase=\`basename ${D}objfile\`
51096 builddir=\`dirname ${D}objfile\`
51097 depsdir=${D}builddir/${D}DEPSDIRBASE
51098 mkdir -p ${D}depsdir
51099
51100 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51101 exit 0
51102
51103 elif test ${D}DEPSMODE = unixcc; then
51104 ${D}* || exit ${D}?
51105 # Run compiler again with deps flag and redirect into the dep file.
51106 # It doesn't work if the '-o FILE' option is used, but without it the
51107 # dependency file will contain the wrong name for the object. So it is
51108 # removed from the command line, and the dep file is fixed with sed.
51109 cmd=""
51110 while test ${D}# -gt 0; do
51111 case "${D}1" in
51112 -o )
51113 shift
51114 objfile=${D}1
51115 ;;
51116 * )
51117 eval arg${D}#=\\${D}1
51118 cmd="${D}cmd \\${D}arg${D}#"
51119 ;;
51120 esac
51121 shift
51122 done
51123
51124 objfilebase=\`basename ${D}objfile\`
51125 builddir=\`dirname ${D}objfile\`
51126 depsdir=${D}builddir/${D}DEPSDIRBASE
51127 mkdir -p ${D}depsdir
51128
51129 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51130 exit 0
51131
51132 else
51133 ${D}*
51134 exit ${D}?
51135 fi
51136 EOF
51137
51138 chmod +x bk-deps
51139 BK_DEPS="`pwd`/bk-deps"
51140 fi
51141 fi
51142
51143
51144
51145
51146
51147 case ${BAKEFILE_HOST} in
51148 *-*-cygwin* | *-*-mingw32* )
51149 if test -n "$ac_tool_prefix"; then
51150 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51151 set dummy ${ac_tool_prefix}windres; ac_word=$2
51152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51154 if test "${ac_cv_prog_WINDRES+set}" = set; then
51155 echo $ECHO_N "(cached) $ECHO_C" >&6
51156 else
51157 if test -n "$WINDRES"; then
51158 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51159 else
51160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51161 for as_dir in $PATH
51162 do
51163 IFS=$as_save_IFS
51164 test -z "$as_dir" && as_dir=.
51165 for ac_exec_ext in '' $ac_executable_extensions; do
51166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51167 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51169 break 2
51170 fi
51171 done
51172 done
51173 IFS=$as_save_IFS
51174
51175 fi
51176 fi
51177 WINDRES=$ac_cv_prog_WINDRES
51178 if test -n "$WINDRES"; then
51179 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51180 echo "${ECHO_T}$WINDRES" >&6; }
51181 else
51182 { echo "$as_me:$LINENO: result: no" >&5
51183 echo "${ECHO_T}no" >&6; }
51184 fi
51185
51186
51187 fi
51188 if test -z "$ac_cv_prog_WINDRES"; then
51189 ac_ct_WINDRES=$WINDRES
51190 # Extract the first word of "windres", so it can be a program name with args.
51191 set dummy windres; ac_word=$2
51192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51194 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51195 echo $ECHO_N "(cached) $ECHO_C" >&6
51196 else
51197 if test -n "$ac_ct_WINDRES"; then
51198 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51199 else
51200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51201 for as_dir in $PATH
51202 do
51203 IFS=$as_save_IFS
51204 test -z "$as_dir" && as_dir=.
51205 for ac_exec_ext in '' $ac_executable_extensions; do
51206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51207 ac_cv_prog_ac_ct_WINDRES="windres"
51208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51209 break 2
51210 fi
51211 done
51212 done
51213 IFS=$as_save_IFS
51214
51215 fi
51216 fi
51217 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51218 if test -n "$ac_ct_WINDRES"; then
51219 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51220 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51221 else
51222 { echo "$as_me:$LINENO: result: no" >&5
51223 echo "${ECHO_T}no" >&6; }
51224 fi
51225
51226 if test "x$ac_ct_WINDRES" = x; then
51227 WINDRES=""
51228 else
51229 case $cross_compiling:$ac_tool_warned in
51230 yes:)
51231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51232 whose name does not start with the host triplet. If you think this
51233 configuration is useful to you, please write to autoconf@gnu.org." >&5
51234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51235 whose name does not start with the host triplet. If you think this
51236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51237 ac_tool_warned=yes ;;
51238 esac
51239 WINDRES=$ac_ct_WINDRES
51240 fi
51241 else
51242 WINDRES="$ac_cv_prog_WINDRES"
51243 fi
51244
51245 ;;
51246
51247 *-*-darwin* | powerpc-apple-macos* )
51248 # Extract the first word of "Rez", so it can be a program name with args.
51249 set dummy Rez; ac_word=$2
51250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51252 if test "${ac_cv_prog_REZ+set}" = set; then
51253 echo $ECHO_N "(cached) $ECHO_C" >&6
51254 else
51255 if test -n "$REZ"; then
51256 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51257 else
51258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51259 for as_dir in $PATH
51260 do
51261 IFS=$as_save_IFS
51262 test -z "$as_dir" && as_dir=.
51263 for ac_exec_ext in '' $ac_executable_extensions; do
51264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51265 ac_cv_prog_REZ="Rez"
51266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51267 break 2
51268 fi
51269 done
51270 done
51271 IFS=$as_save_IFS
51272
51273 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51274 fi
51275 fi
51276 REZ=$ac_cv_prog_REZ
51277 if test -n "$REZ"; then
51278 { echo "$as_me:$LINENO: result: $REZ" >&5
51279 echo "${ECHO_T}$REZ" >&6; }
51280 else
51281 { echo "$as_me:$LINENO: result: no" >&5
51282 echo "${ECHO_T}no" >&6; }
51283 fi
51284
51285
51286 # Extract the first word of "SetFile", so it can be a program name with args.
51287 set dummy SetFile; ac_word=$2
51288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51290 if test "${ac_cv_prog_SETFILE+set}" = set; then
51291 echo $ECHO_N "(cached) $ECHO_C" >&6
51292 else
51293 if test -n "$SETFILE"; then
51294 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51295 else
51296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51297 for as_dir in $PATH
51298 do
51299 IFS=$as_save_IFS
51300 test -z "$as_dir" && as_dir=.
51301 for ac_exec_ext in '' $ac_executable_extensions; do
51302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51303 ac_cv_prog_SETFILE="SetFile"
51304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51305 break 2
51306 fi
51307 done
51308 done
51309 IFS=$as_save_IFS
51310
51311 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51312 fi
51313 fi
51314 SETFILE=$ac_cv_prog_SETFILE
51315 if test -n "$SETFILE"; then
51316 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51317 echo "${ECHO_T}$SETFILE" >&6; }
51318 else
51319 { echo "$as_me:$LINENO: result: no" >&5
51320 echo "${ECHO_T}no" >&6; }
51321 fi
51322
51323
51324 ;;
51325 esac
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51336
51337
51338 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51339
51340
51341
51342 # Check whether --enable-precomp-headers was given.
51343 if test "${enable_precomp_headers+set}" = set; then
51344 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51345 fi
51346
51347
51348 GCC_PCH=0
51349 ICC_PCH=0
51350 USE_PCH=0
51351 BK_MAKE_PCH=""
51352
51353 case ${BAKEFILE_HOST} in
51354 *-*-cygwin* )
51355 bk_use_pch="no"
51356 ;;
51357 esac
51358
51359 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51360 if test "x$GCC" = "xyes"; then
51361 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51362 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51363 cat >conftest.$ac_ext <<_ACEOF
51364 /* confdefs.h. */
51365 _ACEOF
51366 cat confdefs.h >>conftest.$ac_ext
51367 cat >>conftest.$ac_ext <<_ACEOF
51368 /* end confdefs.h. */
51369
51370 int
51371 main ()
51372 {
51373
51374 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51375 There is no PCH support
51376 #endif
51377 #if (__GNUC__ < 3)
51378 There is no PCH support
51379 #endif
51380 #if (__GNUC__ == 3) && \
51381 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51382 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51383 ( defined(__INTEL_COMPILER) )
51384 There is no PCH support
51385 #endif
51386
51387 ;
51388 return 0;
51389 }
51390 _ACEOF
51391 rm -f conftest.$ac_objext
51392 if { (ac_try="$ac_compile"
51393 case "(($ac_try" in
51394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51395 *) ac_try_echo=$ac_try;;
51396 esac
51397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51398 (eval "$ac_compile") 2>conftest.er1
51399 ac_status=$?
51400 grep -v '^ *+' conftest.er1 >conftest.err
51401 rm -f conftest.er1
51402 cat conftest.err >&5
51403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51404 (exit $ac_status); } && {
51405 test -z "$ac_c_werror_flag" ||
51406 test ! -s conftest.err
51407 } && test -s conftest.$ac_objext; then
51408
51409 { echo "$as_me:$LINENO: result: yes" >&5
51410 echo "${ECHO_T}yes" >&6; }
51411 GCC_PCH=1
51412
51413 else
51414 echo "$as_me: failed program was:" >&5
51415 sed 's/^/| /' conftest.$ac_ext >&5
51416
51417
51418 if test "$INTELCXX8" = "yes"; then
51419 { echo "$as_me:$LINENO: result: yes" >&5
51420 echo "${ECHO_T}yes" >&6; }
51421 ICC_PCH=1
51422 if test "$INTELCXX10" = "yes"; then
51423 ICC_PCH_CREATE_SWITCH="-pch-create"
51424 ICC_PCH_USE_SWITCH="-pch-use"
51425 else
51426 ICC_PCH_CREATE_SWITCH="-create-pch"
51427 ICC_PCH_USE_SWITCH="-use-pch"
51428 fi
51429 else
51430 { echo "$as_me:$LINENO: result: no" >&5
51431 echo "${ECHO_T}no" >&6; }
51432 fi
51433
51434 fi
51435
51436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51437 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51438 USE_PCH=1
51439
51440 D='$'
51441 cat <<EOF >bk-make-pch
51442 #!/bin/sh
51443
51444 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51445 # script. It is used to generated precompiled headers.
51446 #
51447 # Permission is given to use this file in any way.
51448
51449 outfile="${D}{1}"
51450 header="${D}{2}"
51451 shift
51452 shift
51453
51454 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51455
51456 compiler=""
51457 headerfile=""
51458
51459 while test ${D}{#} -gt 0; do
51460 add_to_cmdline=1
51461 case "${D}{1}" in
51462 -I* )
51463 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51464 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51465 headerfile="${D}{incdir}/${D}{header}"
51466 fi
51467 ;;
51468 -use-pch|-use_pch|-pch-use )
51469 shift
51470 add_to_cmdline=0
51471 ;;
51472 esac
51473 if test ${D}add_to_cmdline = 1 ; then
51474 compiler="${D}{compiler} ${D}{1}"
51475 fi
51476 shift
51477 done
51478
51479 if test "x${D}{headerfile}" = "x" ; then
51480 echo "error: can't find header ${D}{header} in include paths" >&2
51481 else
51482 if test -f ${D}{outfile} ; then
51483 rm -f ${D}{outfile}
51484 else
51485 mkdir -p \`dirname ${D}{outfile}\`
51486 fi
51487 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51488 mkdir -p ${D}{builddir}/.deps
51489 if test "x${GCC_PCH}" = "x1" ; then
51490 # can do this because gcc is >= 3.4:
51491 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51492 elif test "x${ICC_PCH}" = "x1" ; then
51493 filename=pch_gen-${D}${D}
51494 file=${D}{filename}.c
51495 dfile=${D}{filename}.d
51496 cat > ${D}file <<EOT
51497 #include "${D}header"
51498 EOT
51499 # using -MF icc complains about differing command lines in creation/use
51500 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51501 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51502 rm -f ${D}file ${D}dfile ${D}{filename}.o
51503 fi
51504 exit ${D}{?}
51505 fi
51506 EOF
51507
51508 chmod +x bk-make-pch
51509 BK_MAKE_PCH="`pwd`/bk-make-pch"
51510 fi
51511 fi
51512 fi
51513
51514
51515
51516
51517
51518
51519
51520 COND_BUILD_DEBUG="#"
51521 if test "x$BUILD" = "xdebug" ; then
51522 COND_BUILD_DEBUG=""
51523 fi
51524
51525 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51526 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51527 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51528 fi
51529
51530 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51533 fi
51534
51535 COND_BUILD_DEBUG_UNICODE_0="#"
51536 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51537 COND_BUILD_DEBUG_UNICODE_0=""
51538 fi
51539
51540 COND_BUILD_DEBUG_UNICODE_1="#"
51541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51542 COND_BUILD_DEBUG_UNICODE_1=""
51543 fi
51544
51545 COND_BUILD_RELEASE="#"
51546 if test "x$BUILD" = "xrelease" ; then
51547 COND_BUILD_RELEASE=""
51548 fi
51549
51550 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51551 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51552 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51553 fi
51554
51555 COND_BUILD_RELEASE_UNICODE_0="#"
51556 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51557 COND_BUILD_RELEASE_UNICODE_0=""
51558 fi
51559
51560 COND_BUILD_RELEASE_UNICODE_1="#"
51561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51562 COND_BUILD_RELEASE_UNICODE_1=""
51563 fi
51564
51565 COND_BUILD_debug="#"
51566 if test "x$BUILD" = "xdebug" ; then
51567 COND_BUILD_debug=""
51568 fi
51569
51570 COND_BUILD_debug_DEBUG_FLAG_default="#"
51571 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51572 COND_BUILD_debug_DEBUG_FLAG_default=""
51573 fi
51574
51575 COND_BUILD_debug_DEBUG_INFO_default="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51577 COND_BUILD_debug_DEBUG_INFO_default=""
51578 fi
51579
51580 COND_BUILD_debug_UNICODE_0="#"
51581 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51582 COND_BUILD_debug_UNICODE_0=""
51583 fi
51584
51585 COND_BUILD_debug_UNICODE_1="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51587 COND_BUILD_debug_UNICODE_1=""
51588 fi
51589
51590 COND_BUILD_release="#"
51591 if test "x$BUILD" = "xrelease" ; then
51592 COND_BUILD_release=""
51593 fi
51594
51595 COND_BUILD_release_DEBUG_INFO_default="#"
51596 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51597 COND_BUILD_release_DEBUG_INFO_default=""
51598 fi
51599
51600 COND_BUILD_release_UNICODE_0="#"
51601 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51602 COND_BUILD_release_UNICODE_0=""
51603 fi
51604
51605 COND_BUILD_release_UNICODE_1="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51607 COND_BUILD_release_UNICODE_1=""
51608 fi
51609
51610 COND_DEBUG_FLAG_0="#"
51611 if test "x$DEBUG_FLAG" = "x0" ; then
51612 COND_DEBUG_FLAG_0=""
51613 fi
51614
51615 COND_DEBUG_FLAG_1="#"
51616 if test "x$DEBUG_FLAG" = "x1" ; then
51617 COND_DEBUG_FLAG_1=""
51618 fi
51619
51620 COND_DEBUG_INFO_0="#"
51621 if test "x$DEBUG_INFO" = "x0" ; then
51622 COND_DEBUG_INFO_0=""
51623 fi
51624
51625 COND_DEBUG_INFO_1="#"
51626 if test "x$DEBUG_INFO" = "x1" ; then
51627 COND_DEBUG_INFO_1=""
51628 fi
51629
51630 COND_DEPS_TRACKING_0="#"
51631 if test "x$DEPS_TRACKING" = "x0" ; then
51632 COND_DEPS_TRACKING_0=""
51633 fi
51634
51635 COND_DEPS_TRACKING_1="#"
51636 if test "x$DEPS_TRACKING" = "x1" ; then
51637 COND_DEPS_TRACKING_1=""
51638 fi
51639
51640 COND_GCC_PCH_1="#"
51641 if test "x$GCC_PCH" = "x1" ; then
51642 COND_GCC_PCH_1=""
51643 fi
51644
51645 COND_ICC_PCH_1="#"
51646 if test "x$ICC_PCH" = "x1" ; then
51647 COND_ICC_PCH_1=""
51648 fi
51649
51650 COND_MONOLITHIC_0="#"
51651 if test "x$MONOLITHIC" = "x0" ; then
51652 COND_MONOLITHIC_0=""
51653 fi
51654
51655 COND_MONOLITHIC_0_SHARED_0="#"
51656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51657 COND_MONOLITHIC_0_SHARED_0=""
51658 fi
51659
51660 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51662 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51663 fi
51664
51665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51688 fi
51689
51690 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51693 fi
51694
51695 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51698 fi
51699
51700 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51708 fi
51709
51710 COND_MONOLITHIC_0_SHARED_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_1=""
51713 fi
51714
51715 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51723 fi
51724
51725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51728 fi
51729
51730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_USE_AUI_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51767 COND_MONOLITHIC_0_USE_AUI_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_USE_GUI_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_GUI_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51778 fi
51779
51780 COND_MONOLITHIC_0_USE_HTML_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_HTML_1=""
51783 fi
51784
51785 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51787 COND_MONOLITHIC_0_USE_MEDIA_1=""
51788 fi
51789
51790 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51792 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51793 fi
51794
51795 COND_MONOLITHIC_0_USE_QA_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51797 COND_MONOLITHIC_0_USE_QA_1=""
51798 fi
51799
51800 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51802 COND_MONOLITHIC_0_USE_RIBBON_1=""
51803 fi
51804
51805 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51807 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51808 fi
51809
51810 COND_MONOLITHIC_0_USE_STC_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51812 COND_MONOLITHIC_0_USE_STC_1=""
51813 fi
51814
51815 COND_MONOLITHIC_0_USE_XRC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51817 COND_MONOLITHIC_0_USE_XRC_1=""
51818 fi
51819
51820 COND_MONOLITHIC_1="#"
51821 if test "x$MONOLITHIC" = "x1" ; then
51822 COND_MONOLITHIC_1=""
51823 fi
51824
51825 COND_MONOLITHIC_1_SHARED_0="#"
51826 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51827 COND_MONOLITHIC_1_SHARED_0=""
51828 fi
51829
51830 COND_MONOLITHIC_1_SHARED_1="#"
51831 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51832 COND_MONOLITHIC_1_SHARED_1=""
51833 fi
51834
51835 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51836 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51837 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51838 fi
51839
51840 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51841 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51842 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51843 fi
51844
51845 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51846 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51847 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51848 fi
51849
51850 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51851 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51853 fi
51854
51855 COND_PLATFORM_MACOSX_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x1" ; then
51857 COND_PLATFORM_MACOSX_1=""
51858 fi
51859
51860 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51862 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51863 fi
51864
51865 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51867 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51868 fi
51869
51870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51873 fi
51874
51875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51878 fi
51879
51880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51883 fi
51884
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51888 fi
51889
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51893 fi
51894
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51898 fi
51899
51900 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51902 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51903 fi
51904
51905 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51907 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51908 fi
51909
51910 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51913 fi
51914
51915 COND_PLATFORM_MACOS_1="#"
51916 if test "x$PLATFORM_MACOS" = "x1" ; then
51917 COND_PLATFORM_MACOS_1=""
51918 fi
51919
51920 COND_PLATFORM_MAC_0="#"
51921 if test "x$PLATFORM_MAC" = "x0" ; then
51922 COND_PLATFORM_MAC_0=""
51923 fi
51924
51925 COND_PLATFORM_MAC_1="#"
51926 if test "x$PLATFORM_MAC" = "x1" ; then
51927 COND_PLATFORM_MAC_1=""
51928 fi
51929
51930 COND_PLATFORM_MSDOS_0="#"
51931 if test "x$PLATFORM_MSDOS" = "x0" ; then
51932 COND_PLATFORM_MSDOS_0=""
51933 fi
51934
51935 COND_PLATFORM_MSDOS_1="#"
51936 if test "x$PLATFORM_MSDOS" = "x1" ; then
51937 COND_PLATFORM_MSDOS_1=""
51938 fi
51939
51940 COND_PLATFORM_OS2_1="#"
51941 if test "x$PLATFORM_OS2" = "x1" ; then
51942 COND_PLATFORM_OS2_1=""
51943 fi
51944
51945 COND_PLATFORM_UNIX_0="#"
51946 if test "x$PLATFORM_UNIX" = "x0" ; then
51947 COND_PLATFORM_UNIX_0=""
51948 fi
51949
51950 COND_PLATFORM_UNIX_1="#"
51951 if test "x$PLATFORM_UNIX" = "x1" ; then
51952 COND_PLATFORM_UNIX_1=""
51953 fi
51954
51955 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51956 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51957 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51958 fi
51959
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51963 fi
51964
51965 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51966 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51968 fi
51969
51970 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51972 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51973 fi
51974
51975 COND_PLATFORM_WIN32_0="#"
51976 if test "x$PLATFORM_WIN32" = "x0" ; then
51977 COND_PLATFORM_WIN32_0=""
51978 fi
51979
51980 COND_PLATFORM_WIN32_1="#"
51981 if test "x$PLATFORM_WIN32" = "x1" ; then
51982 COND_PLATFORM_WIN32_1=""
51983 fi
51984
51985 COND_PLATFORM_WIN32_1_SHARED_0="#"
51986 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51987 COND_PLATFORM_WIN32_1_SHARED_0=""
51988 fi
51989
51990 COND_SHARED_0="#"
51991 if test "x$SHARED" = "x0" ; then
51992 COND_SHARED_0=""
51993 fi
51994
51995 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51996 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51997 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51998 fi
51999
52000 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52002 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52003 fi
52004
52005 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52007 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52008 fi
52009
52010 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52011 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52012 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52013 fi
52014
52015 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52017 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52018 fi
52019
52020 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52022 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52023 fi
52024
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52028 fi
52029
52030 COND_SHARED_0_USE_STC_1="#"
52031 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52032 COND_SHARED_0_USE_STC_1=""
52033 fi
52034
52035 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52036 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52037 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52038 fi
52039
52040 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52041 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52042 COND_SHARED_0_wxUSE_REGEX_builtin=""
52043 fi
52044
52045 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52046 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52047 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52048 fi
52049
52050 COND_SHARED_1="#"
52051 if test "x$SHARED" = "x1" ; then
52052 COND_SHARED_1=""
52053 fi
52054
52055 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52056 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52057 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52058 fi
52059
52060 COND_TOOLKIT_="#"
52061 if test "x$TOOLKIT" = "x" ; then
52062 COND_TOOLKIT_=""
52063 fi
52064
52065 COND_TOOLKIT_COCOA="#"
52066 if test "x$TOOLKIT" = "xCOCOA" ; then
52067 COND_TOOLKIT_COCOA=""
52068 fi
52069
52070 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_COCOA_USE_GUI_1=""
52073 fi
52074
52075 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52078 fi
52079
52080 COND_TOOLKIT_DFB="#"
52081 if test "x$TOOLKIT" = "xDFB" ; then
52082 COND_TOOLKIT_DFB=""
52083 fi
52084
52085 COND_TOOLKIT_DFB_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_DFB_USE_GUI_1=""
52088 fi
52089
52090 COND_TOOLKIT_GTK="#"
52091 if test "x$TOOLKIT" = "xGTK" ; then
52092 COND_TOOLKIT_GTK=""
52093 fi
52094
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52096 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52098 fi
52099
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52103 fi
52104
52105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52108 fi
52109
52110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52113 fi
52114
52115 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52117 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52118 fi
52119
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52123 fi
52124
52125 COND_TOOLKIT_GTK_USE_GUI_1="#"
52126 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52127 COND_TOOLKIT_GTK_USE_GUI_1=""
52128 fi
52129
52130 COND_TOOLKIT_MAC="#"
52131 if test "x$TOOLKIT" = "xMAC" ; then
52132 COND_TOOLKIT_MAC=""
52133 fi
52134
52135 COND_TOOLKIT_MGL="#"
52136 if test "x$TOOLKIT" = "xMGL" ; then
52137 COND_TOOLKIT_MGL=""
52138 fi
52139
52140 COND_TOOLKIT_MGL_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_MGL_USE_GUI_1=""
52143 fi
52144
52145 COND_TOOLKIT_MOTIF="#"
52146 if test "x$TOOLKIT" = "xMOTIF" ; then
52147 COND_TOOLKIT_MOTIF=""
52148 fi
52149
52150 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52151 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52152 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52153 fi
52154
52155 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52156 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52157 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52158 fi
52159
52160 COND_TOOLKIT_MSW="#"
52161 if test "x$TOOLKIT" = "xMSW" ; then
52162 COND_TOOLKIT_MSW=""
52163 fi
52164
52165 COND_TOOLKIT_MSW_USE_GUI_1="#"
52166 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_MSW_USE_GUI_1=""
52168 fi
52169
52170 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52171 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52172 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52173 fi
52174
52175 COND_TOOLKIT_MSW_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_MSW_WXUNIV_0=""
52178 fi
52179
52180 COND_TOOLKIT_OSX_CARBON="#"
52181 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52182 COND_TOOLKIT_OSX_CARBON=""
52183 fi
52184
52185 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52186 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52187 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52188 fi
52189
52190 COND_TOOLKIT_OSX_COCOA="#"
52191 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52192 COND_TOOLKIT_OSX_COCOA=""
52193 fi
52194
52195 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52196 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52197 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52198 fi
52199
52200 COND_TOOLKIT_OSX_IPHONE="#"
52201 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52202 COND_TOOLKIT_OSX_IPHONE=""
52203 fi
52204
52205 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52206 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52207 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52208 fi
52209
52210 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52211 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52212 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52213 fi
52214
52215 COND_TOOLKIT_PM="#"
52216 if test "x$TOOLKIT" = "xPM" ; then
52217 COND_TOOLKIT_PM=""
52218 fi
52219
52220 COND_TOOLKIT_PM_USE_GUI_1="#"
52221 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52222 COND_TOOLKIT_PM_USE_GUI_1=""
52223 fi
52224
52225 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52226 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52227 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52228 fi
52229
52230 COND_TOOLKIT_WINCE="#"
52231 if test "x$TOOLKIT" = "xWINCE" ; then
52232 COND_TOOLKIT_WINCE=""
52233 fi
52234
52235 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52236 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52237 COND_TOOLKIT_WINCE_USE_GUI_1=""
52238 fi
52239
52240 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52241 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52242 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52243 fi
52244
52245 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_WINCE_WXUNIV_0=""
52248 fi
52249
52250 COND_TOOLKIT_X11="#"
52251 if test "x$TOOLKIT" = "xX11" ; then
52252 COND_TOOLKIT_X11=""
52253 fi
52254
52255 COND_TOOLKIT_X11_USE_GUI_1="#"
52256 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52257 COND_TOOLKIT_X11_USE_GUI_1=""
52258 fi
52259
52260 COND_UNICODE_1="#"
52261 if test "x$UNICODE" = "x1" ; then
52262 COND_UNICODE_1=""
52263 fi
52264
52265 COND_USE_CAIRO_1="#"
52266 if test "x$USE_CAIRO" = "x1" ; then
52267 COND_USE_CAIRO_1=""
52268 fi
52269
52270 COND_USE_EXCEPTIONS_0="#"
52271 if test "x$USE_EXCEPTIONS" = "x0" ; then
52272 COND_USE_EXCEPTIONS_0=""
52273 fi
52274
52275 COND_USE_EXCEPTIONS_1="#"
52276 if test "x$USE_EXCEPTIONS" = "x1" ; then
52277 COND_USE_EXCEPTIONS_1=""
52278 fi
52279
52280 COND_USE_GUI_0="#"
52281 if test "x$USE_GUI" = "x0" ; then
52282 COND_USE_GUI_0=""
52283 fi
52284
52285 COND_USE_GUI_1="#"
52286 if test "x$USE_GUI" = "x1" ; then
52287 COND_USE_GUI_1=""
52288 fi
52289
52290 COND_USE_GUI_1_USE_OPENGL_1="#"
52291 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52292 COND_USE_GUI_1_USE_OPENGL_1=""
52293 fi
52294
52295 COND_USE_GUI_1_WXUNIV_0="#"
52296 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52297 COND_USE_GUI_1_WXUNIV_0=""
52298 fi
52299
52300 COND_USE_GUI_1_WXUNIV_1="#"
52301 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52302 COND_USE_GUI_1_WXUNIV_1=""
52303 fi
52304
52305 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52306 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52307 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52308 fi
52309
52310 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52311 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52312 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52313 fi
52314
52315 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52316 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52317 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52318 fi
52319
52320 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52321 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52322 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52323 fi
52324
52325 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52327 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52328 fi
52329
52330 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52332 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52333 fi
52334
52335 COND_USE_OPENGL_1="#"
52336 if test "x$USE_OPENGL" = "x1" ; then
52337 COND_USE_OPENGL_1=""
52338 fi
52339
52340 COND_USE_PCH_1="#"
52341 if test "x$USE_PCH" = "x1" ; then
52342 COND_USE_PCH_1=""
52343 fi
52344
52345 COND_USE_PLUGINS_0="#"
52346 if test "x$USE_PLUGINS" = "x0" ; then
52347 COND_USE_PLUGINS_0=""
52348 fi
52349
52350 COND_USE_RTTI_0="#"
52351 if test "x$USE_RTTI" = "x0" ; then
52352 COND_USE_RTTI_0=""
52353 fi
52354
52355 COND_USE_RTTI_1="#"
52356 if test "x$USE_RTTI" = "x1" ; then
52357 COND_USE_RTTI_1=""
52358 fi
52359
52360 COND_USE_SOTWOSYMLINKS_1="#"
52361 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52362 COND_USE_SOTWOSYMLINKS_1=""
52363 fi
52364
52365 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52366 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52367 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52368 fi
52369
52370 COND_USE_SOVERLINUX_1="#"
52371 if test "x$USE_SOVERLINUX" = "x1" ; then
52372 COND_USE_SOVERLINUX_1=""
52373 fi
52374
52375 COND_USE_SOVERSION_0="#"
52376 if test "x$USE_SOVERSION" = "x0" ; then
52377 COND_USE_SOVERSION_0=""
52378 fi
52379
52380 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52381 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52382 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52383 fi
52384
52385 COND_USE_SOVERSOLARIS_1="#"
52386 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52387 COND_USE_SOVERSOLARIS_1=""
52388 fi
52389
52390 COND_USE_STC_1="#"
52391 if test "x$USE_STC" = "x1" ; then
52392 COND_USE_STC_1=""
52393 fi
52394
52395 COND_USE_THREADS_0="#"
52396 if test "x$USE_THREADS" = "x0" ; then
52397 COND_USE_THREADS_0=""
52398 fi
52399
52400 COND_USE_THREADS_1="#"
52401 if test "x$USE_THREADS" = "x1" ; then
52402 COND_USE_THREADS_1=""
52403 fi
52404
52405 COND_USE_XRC_1="#"
52406 if test "x$USE_XRC" = "x1" ; then
52407 COND_USE_XRC_1=""
52408 fi
52409
52410 COND_WINDOWS_IMPLIB_1="#"
52411 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52412 COND_WINDOWS_IMPLIB_1=""
52413 fi
52414
52415 COND_WITH_PLUGIN_SDL_1="#"
52416 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52417 COND_WITH_PLUGIN_SDL_1=""
52418 fi
52419
52420 COND_WXUNIV_0="#"
52421 if test "x$WXUNIV" = "x0" ; then
52422 COND_WXUNIV_0=""
52423 fi
52424
52425 COND_WXUNIV_1="#"
52426 if test "x$WXUNIV" = "x1" ; then
52427 COND_WXUNIV_1=""
52428 fi
52429
52430 COND_WXUSE_EXPAT_BUILTIN="#"
52431 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52432 COND_WXUSE_EXPAT_BUILTIN=""
52433 fi
52434
52435 COND_WXUSE_LIBJPEG_BUILTIN="#"
52436 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52437 COND_WXUSE_LIBJPEG_BUILTIN=""
52438 fi
52439
52440 COND_WXUSE_LIBPNG_BUILTIN="#"
52441 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52442 COND_WXUSE_LIBPNG_BUILTIN=""
52443 fi
52444
52445 COND_WXUSE_LIBTIFF_BUILTIN="#"
52446 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52447 COND_WXUSE_LIBTIFF_BUILTIN=""
52448 fi
52449
52450 COND_WXUSE_REGEX_BUILTIN="#"
52451 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52452 COND_WXUSE_REGEX_BUILTIN=""
52453 fi
52454
52455 COND_WXUSE_ZLIB_BUILTIN="#"
52456 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52457 COND_WXUSE_ZLIB_BUILTIN=""
52458 fi
52459
52460 COND_wxUSE_EXPAT_builtin="#"
52461 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52462 COND_wxUSE_EXPAT_builtin=""
52463 fi
52464
52465 COND_wxUSE_LIBJPEG_builtin="#"
52466 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52467 COND_wxUSE_LIBJPEG_builtin=""
52468 fi
52469
52470 COND_wxUSE_LIBPNG_builtin="#"
52471 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52472 COND_wxUSE_LIBPNG_builtin=""
52473 fi
52474
52475 COND_wxUSE_LIBTIFF_builtin="#"
52476 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52477 COND_wxUSE_LIBTIFF_builtin=""
52478 fi
52479
52480 COND_wxUSE_REGEX_builtin="#"
52481 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52482 COND_wxUSE_REGEX_builtin=""
52483 fi
52484
52485 COND_wxUSE_ZLIB_builtin="#"
52486 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52487 COND_wxUSE_ZLIB_builtin=""
52488 fi
52489
52490
52491
52492 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52493 { { 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
52494 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;}
52495 { (exit 1); exit 1; }; }
52496 fi
52497
52498 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52499 { { 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
52500 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;}
52501 { (exit 1); exit 1; }; }
52502 fi
52503
52504
52505 case ${INSTALL} in
52506 /* ) # Absolute
52507 ;;
52508 ?:* ) # Drive letter, considered as absolute.
52509 ;;
52510 *)
52511 INSTALL=`pwd`/${INSTALL} ;;
52512 esac
52513
52514 if test "$wxUSE_GUI" = "yes"; then
52515
52516 if test "$wxUSE_MSW" = 1 ; then
52517 if test "x$WINDRES" = "x"; then
52518 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52519 echo "$as_me: error: Required windres program not found" >&2;}
52520 { (exit 1); exit 1; }; }
52521 fi
52522
52523 RESCOMP="$WINDRES"
52524 fi
52525
52526 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52527 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52528 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52529
52530 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52531
52532 # Extract the first word of "DeRez", so it can be a program name with args.
52533 set dummy DeRez; ac_word=$2
52534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52536 if test "${ac_cv_prog_DEREZ+set}" = set; then
52537 echo $ECHO_N "(cached) $ECHO_C" >&6
52538 else
52539 if test -n "$DEREZ"; then
52540 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52541 else
52542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52543 for as_dir in $PATH
52544 do
52545 IFS=$as_save_IFS
52546 test -z "$as_dir" && as_dir=.
52547 for ac_exec_ext in '' $ac_executable_extensions; do
52548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52549 ac_cv_prog_DEREZ="DeRez"
52550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52551 break 2
52552 fi
52553 done
52554 done
52555 IFS=$as_save_IFS
52556
52557 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52558 fi
52559 fi
52560 DEREZ=$ac_cv_prog_DEREZ
52561 if test -n "$DEREZ"; then
52562 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52563 echo "${ECHO_T}$DEREZ" >&6; }
52564 else
52565 { echo "$as_me:$LINENO: result: no" >&5
52566 echo "${ECHO_T}no" >&6; }
52567 fi
52568
52569
52570
52571 MACSETFILE="\$(SETFILE)"
52572
52573 if test "$wxUSE_OSX_CARBON" = 1; then
52574 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52575 RESCOMP="$REZ"
52576 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52577 else
52578 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52579 RESCOMP="cat /dev/null \| $REZ"
52580 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52581 fi
52582
52583 else
52584 MACSETFILE="@true"
52585
52586 if test "$wxUSE_PM" = 1; then
52587 RESCOMP="emxbind"
52588 WXCONFIG_RESFLAGS="-ep"
52589
52590 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52591 else
52592 POSTLINK_COMMAND="@true"
52593 fi
52594 fi
52595
52596 fi
52597
52598
52599 if test $GCC_PCH = 1
52600 then
52601 if test "$wx_cv_gcc_pch_bug" = yes; then
52602 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52603 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52604 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52605 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52606 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52607 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52608 fi
52609
52610 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52611 # the headers that benefit from precompilation are mostly C++ headers.
52612 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52613 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52614 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52615 fi
52616
52617
52618 if test "$wxUSE_MAC" = 1 ; then
52619 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52620 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52621 mv temp bk-deps
52622 chmod +x bk-deps
52623 fi
52624 fi
52625
52626 if test "$wxUSE_SHARED" = "yes"; then
52627 case "${host}" in
52628 *-pc-os2_emx | *-pc-os2-emx )
52629 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52630 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52631 cp -p ${srcdir}/src/os2/dllnames.sh .
52632 cp -p ${srcdir}/src/os2/dllar.sh .
52633 ;;
52634 esac
52635 fi
52636 if test "$wxUSE_OMF" = "yes"; then
52637 case "${host}" in
52638 *-pc-os2_emx | *-pc-os2-emx )
52639 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52640 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52641 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52642 ;;
52643 esac
52644 fi
52645
52646 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52647
52648
52649 case "${host}" in
52650 *-*-solaris2* )
52651 if test "$GCC" = yes; then
52652 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52653 LIBS=`echo $LIBS | sed 's/-mt//'`
52654 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52655 fi
52656 ;;
52657
52658 *-*-linux* )
52659 if test "x$SUNCXX" = xyes; then
52660 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52661 LIBS=`echo $LIBS | sed 's/-pthread//'`
52662 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52663 fi
52664 ;;
52665 esac
52666
52667 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52668 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52669 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52670 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52671
52672 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52734 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52735 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52736 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52737 echo $ECHO_N "(cached) $ECHO_C" >&6
52738 else
52739 cat >conftest.make <<\_ACEOF
52740 SHELL = /bin/sh
52741 all:
52742 @echo '@@@%%%=$(MAKE)=@@@%%%'
52743 _ACEOF
52744 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52746 *@@@%%%=?*=@@@%%%*)
52747 eval ac_cv_prog_make_${ac_make}_set=yes;;
52748 *)
52749 eval ac_cv_prog_make_${ac_make}_set=no;;
52750 esac
52751 rm -f conftest.make
52752 fi
52753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52754 { echo "$as_me:$LINENO: result: yes" >&5
52755 echo "${ECHO_T}yes" >&6; }
52756 SET_MAKE=
52757 else
52758 { echo "$as_me:$LINENO: result: no" >&5
52759 echo "${ECHO_T}no" >&6; }
52760 SET_MAKE="MAKE=${MAKE-make}"
52761 fi
52762
52763
52764
52765 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52766
52767
52768 if test "$USE_WIN32" = 1; then
52769 ac_config_commands="$ac_config_commands rcdefs.h"
52770
52771 fi
52772
52773 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52774
52775
52776 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52777
52778
52779 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52780
52781
52782 if test "$wx_cv_version_script" = "yes"; then
52783 ac_config_files="$ac_config_files version-script"
52784
52785 fi
52786 ac_config_files="$ac_config_files Makefile"
52787
52788
52789 ac_config_commands="$ac_config_commands wx-config"
52790
52791
52792
52793 if test "$wxWITH_SUBDIRS" != "no"; then
52794 if test "$wxUSE_GUI" = "yes"; then
52795 SUBDIRS="samples demos utils"
52796 else
52797 SUBDIRS="samples utils"
52798 fi
52799
52800
52801
52802 # Check whether --with-cppunit-prefix was given.
52803 if test "${with_cppunit_prefix+set}" = set; then
52804 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52805 else
52806 cppunit_config_prefix=""
52807 fi
52808
52809
52810 # Check whether --with-cppunit-exec-prefix was given.
52811 if test "${with_cppunit_exec_prefix+set}" = set; then
52812 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52813 else
52814 cppunit_config_exec_prefix=""
52815 fi
52816
52817
52818 if test x$cppunit_config_exec_prefix != x ; then
52819 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52820 if test x${CPPUNIT_CONFIG+set} != xset ; then
52821 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52822 fi
52823 fi
52824 if test x$cppunit_config_prefix != x ; then
52825 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52826 if test x${CPPUNIT_CONFIG+set} != xset ; then
52827 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52828 fi
52829 fi
52830
52831 # Extract the first word of "cppunit-config", so it can be a program name with args.
52832 set dummy cppunit-config; ac_word=$2
52833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52835 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52836 echo $ECHO_N "(cached) $ECHO_C" >&6
52837 else
52838 case $CPPUNIT_CONFIG in
52839 [\\/]* | ?:[\\/]*)
52840 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52841 ;;
52842 *)
52843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52844 for as_dir in $PATH
52845 do
52846 IFS=$as_save_IFS
52847 test -z "$as_dir" && as_dir=.
52848 for ac_exec_ext in '' $ac_executable_extensions; do
52849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52850 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52852 break 2
52853 fi
52854 done
52855 done
52856 IFS=$as_save_IFS
52857
52858 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52859 ;;
52860 esac
52861 fi
52862 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52863 if test -n "$CPPUNIT_CONFIG"; then
52864 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52865 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52866 else
52867 { echo "$as_me:$LINENO: result: no" >&5
52868 echo "${ECHO_T}no" >&6; }
52869 fi
52870
52871
52872 cppunit_version_min=1.8.0
52873
52874 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52875 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52876 no_cppunit=""
52877 if test "$CPPUNIT_CONFIG" = "no" ; then
52878 { echo "$as_me:$LINENO: result: no" >&5
52879 echo "${ECHO_T}no" >&6; }
52880 no_cppunit=yes
52881 else
52882 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52883 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52884 cppunit_version=`$CPPUNIT_CONFIG --version`
52885
52886 cppunit_major_version=`echo $cppunit_version | \
52887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52888 cppunit_minor_version=`echo $cppunit_version | \
52889 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52890 cppunit_micro_version=`echo $cppunit_version | \
52891 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52892
52893 cppunit_major_min=`echo $cppunit_version_min | \
52894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52895 cppunit_minor_min=`echo $cppunit_version_min | \
52896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52897 cppunit_micro_min=`echo $cppunit_version_min | \
52898 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52899
52900 cppunit_version_proper=`expr \
52901 $cppunit_major_version \> $cppunit_major_min \| \
52902 $cppunit_major_version \= $cppunit_major_min \& \
52903 $cppunit_minor_version \> $cppunit_minor_min \| \
52904 $cppunit_major_version \= $cppunit_major_min \& \
52905 $cppunit_minor_version \= $cppunit_minor_min \& \
52906 $cppunit_micro_version \>= $cppunit_micro_min `
52907
52908 if test "$cppunit_version_proper" = "1" ; then
52909 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52910 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52911 else
52912 { echo "$as_me:$LINENO: result: no" >&5
52913 echo "${ECHO_T}no" >&6; }
52914 no_cppunit=yes
52915 fi
52916 fi
52917
52918 if test "x$no_cppunit" = x ; then
52919 SUBDIRS="$SUBDIRS tests"
52920 else
52921 CPPUNIT_CFLAGS=""
52922 CPPUNIT_LIBS=""
52923 :
52924 fi
52925
52926
52927
52928
52929
52930 for subdir in $SUBDIRS; do
52931 if test -d ${srcdir}/${subdir} ; then
52932 if test "$wxUSE_GUI" = "yes"; then
52933 if test ${subdir} = "samples"; then
52934 makefiles="samples/Makefile.in $makefiles"
52935 for sample in $SAMPLES_SUBDIRS; do
52936 if test -d $srcdir/samples/$sample; then
52937 makefiles="samples/$sample/Makefile.in $makefiles"
52938 fi
52939 done
52940 else
52941 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52942 eval "disabled=\$$disabled_var"
52943 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52944 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52945 fi
52946 else
52947 if test ${subdir} = "samples"; then
52948 makefiles="samples/Makefile.in $makefiles"
52949 for sample in `echo $SAMPLES_SUBDIRS`; do
52950 if test -d $srcdir/samples/$sample; then
52951 makefiles="samples/$sample/Makefile.in $makefiles"
52952 fi
52953 done
52954 elif test ${subdir} = "utils"; then
52955 makefiles=""
52956 for util in ifacecheck ; do
52957 if test -d $srcdir/utils/$util ; then
52958 makefiles="utils/$util/src/Makefile.in \
52959 $makefiles"
52960 fi
52961 done
52962 else
52963 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52964 fi
52965 fi
52966
52967 for mkin in $makefiles ; do
52968 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52969 ac_config_files="$ac_config_files $mk"
52970
52971 done
52972 fi
52973 done
52974 fi
52975 cat >confcache <<\_ACEOF
52976 # This file is a shell script that caches the results of configure
52977 # tests run on this system so they can be shared between configure
52978 # scripts and configure runs, see configure's option --config-cache.
52979 # It is not useful on other systems. If it contains results you don't
52980 # want to keep, you may remove or edit it.
52981 #
52982 # config.status only pays attention to the cache file if you give it
52983 # the --recheck option to rerun configure.
52984 #
52985 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52986 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52987 # following values.
52988
52989 _ACEOF
52990
52991 # The following way of writing the cache mishandles newlines in values,
52992 # but we know of no workaround that is simple, portable, and efficient.
52993 # So, we kill variables containing newlines.
52994 # Ultrix sh set writes to stderr and can't be redirected directly,
52995 # and sets the high bit in the cache file unless we assign to the vars.
52996 (
52997 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52998 eval ac_val=\$$ac_var
52999 case $ac_val in #(
53000 *${as_nl}*)
53001 case $ac_var in #(
53002 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53003 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53004 esac
53005 case $ac_var in #(
53006 _ | IFS | as_nl) ;; #(
53007 *) $as_unset $ac_var ;;
53008 esac ;;
53009 esac
53010 done
53011
53012 (set) 2>&1 |
53013 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53014 *${as_nl}ac_space=\ *)
53015 # `set' does not quote correctly, so add quotes (double-quote
53016 # substitution turns \\\\ into \\, and sed turns \\ into \).
53017 sed -n \
53018 "s/'/'\\\\''/g;
53019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53020 ;; #(
53021 *)
53022 # `set' quotes correctly as required by POSIX, so do not add quotes.
53023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53024 ;;
53025 esac |
53026 sort
53027 ) |
53028 sed '
53029 /^ac_cv_env_/b end
53030 t clear
53031 :clear
53032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53033 t end
53034 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53035 :end' >>confcache
53036 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53037 if test -w "$cache_file"; then
53038 test "x$cache_file" != "x/dev/null" &&
53039 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53040 echo "$as_me: updating cache $cache_file" >&6;}
53041 cat confcache >$cache_file
53042 else
53043 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53044 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53045 fi
53046 fi
53047 rm -f confcache
53048
53049 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53050 # Let make expand exec_prefix.
53051 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53052
53053 DEFS=-DHAVE_CONFIG_H
53054
53055 ac_libobjs=
53056 ac_ltlibobjs=
53057 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53058 # 1. Remove the extension, and $U if already installed.
53059 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53060 ac_i=`echo "$ac_i" | sed "$ac_script"`
53061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53062 # will be set to the directory where LIBOBJS objects are built.
53063 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53064 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53065 done
53066 LIBOBJS=$ac_libobjs
53067
53068 LTLIBOBJS=$ac_ltlibobjs
53069
53070
53071
53072 : ${CONFIG_STATUS=./config.status}
53073 ac_clean_files_save=$ac_clean_files
53074 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53075 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53076 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53077 cat >$CONFIG_STATUS <<_ACEOF
53078 #! $SHELL
53079 # Generated by $as_me.
53080 # Run this file to recreate the current configuration.
53081 # Compiler output produced by configure, useful for debugging
53082 # configure, is in config.log if it exists.
53083
53084 debug=false
53085 ac_cs_recheck=false
53086 ac_cs_silent=false
53087 SHELL=\${CONFIG_SHELL-$SHELL}
53088 _ACEOF
53089
53090 cat >>$CONFIG_STATUS <<\_ACEOF
53091 ## --------------------- ##
53092 ## M4sh Initialization. ##
53093 ## --------------------- ##
53094
53095 # Be more Bourne compatible
53096 DUALCASE=1; export DUALCASE # for MKS sh
53097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53098 emulate sh
53099 NULLCMD=:
53100 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53101 # is contrary to our usage. Disable this feature.
53102 alias -g '${1+"$@"}'='"$@"'
53103 setopt NO_GLOB_SUBST
53104 else
53105 case `(set -o) 2>/dev/null` in
53106 *posix*) set -o posix ;;
53107 esac
53108
53109 fi
53110
53111
53112
53113
53114 # PATH needs CR
53115 # Avoid depending upon Character Ranges.
53116 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53117 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53118 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53119 as_cr_digits='0123456789'
53120 as_cr_alnum=$as_cr_Letters$as_cr_digits
53121
53122 # The user is always right.
53123 if test "${PATH_SEPARATOR+set}" != set; then
53124 echo "#! /bin/sh" >conf$$.sh
53125 echo "exit 0" >>conf$$.sh
53126 chmod +x conf$$.sh
53127 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53128 PATH_SEPARATOR=';'
53129 else
53130 PATH_SEPARATOR=:
53131 fi
53132 rm -f conf$$.sh
53133 fi
53134
53135 # Support unset when possible.
53136 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53137 as_unset=unset
53138 else
53139 as_unset=false
53140 fi
53141
53142
53143 # IFS
53144 # We need space, tab and new line, in precisely that order. Quoting is
53145 # there to prevent editors from complaining about space-tab.
53146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53147 # splitting by setting IFS to empty value.)
53148 as_nl='
53149 '
53150 IFS=" "" $as_nl"
53151
53152 # Find who we are. Look in the path if we contain no directory separator.
53153 case $0 in
53154 *[\\/]* ) as_myself=$0 ;;
53155 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53156 for as_dir in $PATH
53157 do
53158 IFS=$as_save_IFS
53159 test -z "$as_dir" && as_dir=.
53160 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53161 done
53162 IFS=$as_save_IFS
53163
53164 ;;
53165 esac
53166 # We did not find ourselves, most probably we were run as `sh COMMAND'
53167 # in which case we are not to be found in the path.
53168 if test "x$as_myself" = x; then
53169 as_myself=$0
53170 fi
53171 if test ! -f "$as_myself"; then
53172 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53173 { (exit 1); exit 1; }
53174 fi
53175
53176 # Work around bugs in pre-3.0 UWIN ksh.
53177 for as_var in ENV MAIL MAILPATH
53178 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53179 done
53180 PS1='$ '
53181 PS2='> '
53182 PS4='+ '
53183
53184 # NLS nuisances.
53185 for as_var in \
53186 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53187 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53188 LC_TELEPHONE LC_TIME
53189 do
53190 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53191 eval $as_var=C; export $as_var
53192 else
53193 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53194 fi
53195 done
53196
53197 # Required to use basename.
53198 if expr a : '\(a\)' >/dev/null 2>&1 &&
53199 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53200 as_expr=expr
53201 else
53202 as_expr=false
53203 fi
53204
53205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53206 as_basename=basename
53207 else
53208 as_basename=false
53209 fi
53210
53211
53212 # Name of the executable.
53213 as_me=`$as_basename -- "$0" ||
53214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53215 X"$0" : 'X\(//\)$' \| \
53216 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53217 echo X/"$0" |
53218 sed '/^.*\/\([^/][^/]*\)\/*$/{
53219 s//\1/
53220 q
53221 }
53222 /^X\/\(\/\/\)$/{
53223 s//\1/
53224 q
53225 }
53226 /^X\/\(\/\).*/{
53227 s//\1/
53228 q
53229 }
53230 s/.*/./; q'`
53231
53232 # CDPATH.
53233 $as_unset CDPATH
53234
53235
53236
53237 as_lineno_1=$LINENO
53238 as_lineno_2=$LINENO
53239 test "x$as_lineno_1" != "x$as_lineno_2" &&
53240 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53241
53242 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53243 # uniformly replaced by the line number. The first 'sed' inserts a
53244 # line-number line after each line using $LINENO; the second 'sed'
53245 # does the real work. The second script uses 'N' to pair each
53246 # line-number line with the line containing $LINENO, and appends
53247 # trailing '-' during substitution so that $LINENO is not a special
53248 # case at line end.
53249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53250 # scripts with optimization help from Paolo Bonzini. Blame Lee
53251 # E. McMahon (1931-1989) for sed's syntax. :-)
53252 sed -n '
53253 p
53254 /[$]LINENO/=
53255 ' <$as_myself |
53256 sed '
53257 s/[$]LINENO.*/&-/
53258 t lineno
53259 b
53260 :lineno
53261 N
53262 :loop
53263 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53264 t loop
53265 s/-\n.*//
53266 ' >$as_me.lineno &&
53267 chmod +x "$as_me.lineno" ||
53268 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53269 { (exit 1); exit 1; }; }
53270
53271 # Don't try to exec as it changes $[0], causing all sort of problems
53272 # (the dirname of $[0] is not the place where we might find the
53273 # original and so on. Autoconf is especially sensitive to this).
53274 . "./$as_me.lineno"
53275 # Exit status is that of the last command.
53276 exit
53277 }
53278
53279
53280 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53281 as_dirname=dirname
53282 else
53283 as_dirname=false
53284 fi
53285
53286 ECHO_C= ECHO_N= ECHO_T=
53287 case `echo -n x` in
53288 -n*)
53289 case `echo 'x\c'` in
53290 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53291 *) ECHO_C='\c';;
53292 esac;;
53293 *)
53294 ECHO_N='-n';;
53295 esac
53296
53297 if expr a : '\(a\)' >/dev/null 2>&1 &&
53298 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53299 as_expr=expr
53300 else
53301 as_expr=false
53302 fi
53303
53304 rm -f conf$$ conf$$.exe conf$$.file
53305 if test -d conf$$.dir; then
53306 rm -f conf$$.dir/conf$$.file
53307 else
53308 rm -f conf$$.dir
53309 mkdir conf$$.dir
53310 fi
53311 echo >conf$$.file
53312 if ln -s conf$$.file conf$$ 2>/dev/null; then
53313 as_ln_s='ln -s'
53314 # ... but there are two gotchas:
53315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53317 # In both cases, we have to default to `cp -p'.
53318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53319 as_ln_s='cp -p'
53320 elif ln conf$$.file conf$$ 2>/dev/null; then
53321 as_ln_s=ln
53322 else
53323 as_ln_s='cp -p'
53324 fi
53325 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53326 rmdir conf$$.dir 2>/dev/null
53327
53328 if mkdir -p . 2>/dev/null; then
53329 as_mkdir_p=:
53330 else
53331 test -d ./-p && rmdir ./-p
53332 as_mkdir_p=false
53333 fi
53334
53335 if test -x / >/dev/null 2>&1; then
53336 as_test_x='test -x'
53337 else
53338 if ls -dL / >/dev/null 2>&1; then
53339 as_ls_L_option=L
53340 else
53341 as_ls_L_option=
53342 fi
53343 as_test_x='
53344 eval sh -c '\''
53345 if test -d "$1"; then
53346 test -d "$1/.";
53347 else
53348 case $1 in
53349 -*)set "./$1";;
53350 esac;
53351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53352 ???[sx]*):;;*)false;;esac;fi
53353 '\'' sh
53354 '
53355 fi
53356 as_executable_p=$as_test_x
53357
53358 # Sed expression to map a string onto a valid CPP name.
53359 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53360
53361 # Sed expression to map a string onto a valid variable name.
53362 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53363
53364
53365 exec 6>&1
53366
53367 # Save the log message, to keep $[0] and so on meaningful, and to
53368 # report actual input values of CONFIG_FILES etc. instead of their
53369 # values after options handling.
53370 ac_log="
53371 This file was extended by wxWidgets $as_me 2.9.2, which was
53372 generated by GNU Autoconf 2.61. Invocation command line was
53373
53374 CONFIG_FILES = $CONFIG_FILES
53375 CONFIG_HEADERS = $CONFIG_HEADERS
53376 CONFIG_LINKS = $CONFIG_LINKS
53377 CONFIG_COMMANDS = $CONFIG_COMMANDS
53378 $ $0 $@
53379
53380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53381 "
53382
53383 _ACEOF
53384
53385 cat >>$CONFIG_STATUS <<_ACEOF
53386 # Files that config.status was made for.
53387 config_files="$ac_config_files"
53388 config_headers="$ac_config_headers"
53389 config_commands="$ac_config_commands"
53390
53391 _ACEOF
53392
53393 cat >>$CONFIG_STATUS <<\_ACEOF
53394 ac_cs_usage="\
53395 \`$as_me' instantiates files from templates according to the
53396 current configuration.
53397
53398 Usage: $0 [OPTIONS] [FILE]...
53399
53400 -h, --help print this help, then exit
53401 -V, --version print version number and configuration settings, then exit
53402 -q, --quiet do not print progress messages
53403 -d, --debug don't remove temporary files
53404 --recheck update $as_me by reconfiguring in the same conditions
53405 --file=FILE[:TEMPLATE]
53406 instantiate the configuration file FILE
53407 --header=FILE[:TEMPLATE]
53408 instantiate the configuration header FILE
53409
53410 Configuration files:
53411 $config_files
53412
53413 Configuration headers:
53414 $config_headers
53415
53416 Configuration commands:
53417 $config_commands
53418
53419 Report bugs to <bug-autoconf@gnu.org>."
53420
53421 _ACEOF
53422 cat >>$CONFIG_STATUS <<_ACEOF
53423 ac_cs_version="\\
53424 wxWidgets config.status 2.9.2
53425 configured by $0, generated by GNU Autoconf 2.61,
53426 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53427
53428 Copyright (C) 2006 Free Software Foundation, Inc.
53429 This config.status script is free software; the Free Software Foundation
53430 gives unlimited permission to copy, distribute and modify it."
53431
53432 ac_pwd='$ac_pwd'
53433 srcdir='$srcdir'
53434 INSTALL='$INSTALL'
53435 _ACEOF
53436
53437 cat >>$CONFIG_STATUS <<\_ACEOF
53438 # If no file are specified by the user, then we need to provide default
53439 # value. By we need to know if files were specified by the user.
53440 ac_need_defaults=:
53441 while test $# != 0
53442 do
53443 case $1 in
53444 --*=*)
53445 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53446 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53447 ac_shift=:
53448 ;;
53449 *)
53450 ac_option=$1
53451 ac_optarg=$2
53452 ac_shift=shift
53453 ;;
53454 esac
53455
53456 case $ac_option in
53457 # Handling of the options.
53458 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53459 ac_cs_recheck=: ;;
53460 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53461 echo "$ac_cs_version"; exit ;;
53462 --debug | --debu | --deb | --de | --d | -d )
53463 debug=: ;;
53464 --file | --fil | --fi | --f )
53465 $ac_shift
53466 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53467 ac_need_defaults=false;;
53468 --header | --heade | --head | --hea )
53469 $ac_shift
53470 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53471 ac_need_defaults=false;;
53472 --he | --h)
53473 # Conflict between --help and --header
53474 { echo "$as_me: error: ambiguous option: $1
53475 Try \`$0 --help' for more information." >&2
53476 { (exit 1); exit 1; }; };;
53477 --help | --hel | -h )
53478 echo "$ac_cs_usage"; exit ;;
53479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53480 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53481 ac_cs_silent=: ;;
53482
53483 # This is an error.
53484 -*) { echo "$as_me: error: unrecognized option: $1
53485 Try \`$0 --help' for more information." >&2
53486 { (exit 1); exit 1; }; } ;;
53487
53488 *) ac_config_targets="$ac_config_targets $1"
53489 ac_need_defaults=false ;;
53490
53491 esac
53492 shift
53493 done
53494
53495 ac_configure_extra_args=
53496
53497 if $ac_cs_silent; then
53498 exec 6>/dev/null
53499 ac_configure_extra_args="$ac_configure_extra_args --silent"
53500 fi
53501
53502 _ACEOF
53503 cat >>$CONFIG_STATUS <<_ACEOF
53504 if \$ac_cs_recheck; then
53505 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53506 CONFIG_SHELL=$SHELL
53507 export CONFIG_SHELL
53508 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53509 fi
53510
53511 _ACEOF
53512 cat >>$CONFIG_STATUS <<\_ACEOF
53513 exec 5>>config.log
53514 {
53515 echo
53516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53517 ## Running $as_me. ##
53518 _ASBOX
53519 echo "$ac_log"
53520 } >&5
53521
53522 _ACEOF
53523 cat >>$CONFIG_STATUS <<_ACEOF
53524 #
53525 # INIT-COMMANDS
53526 #
53527
53528 CPP="$CPP"
53529 infile="$srcdir/include/wx/msw/genrcdefs.h"
53530 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53531
53532
53533 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53534 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53535 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53536 LN_S="${LN_S}"
53537
53538
53539 _ACEOF
53540
53541 cat >>$CONFIG_STATUS <<\_ACEOF
53542
53543 # Handling of arguments.
53544 for ac_config_target in $ac_config_targets
53545 do
53546 case $ac_config_target in
53547 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53548 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53549 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53550 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53551 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53552 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53553 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53554 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53555 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53556
53557 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53558 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53559 { (exit 1); exit 1; }; };;
53560 esac
53561 done
53562
53563
53564 # If the user did not use the arguments to specify the items to instantiate,
53565 # then the envvar interface is used. Set only those that are not.
53566 # We use the long form for the default assignment because of an extremely
53567 # bizarre bug on SunOS 4.1.3.
53568 if $ac_need_defaults; then
53569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53570 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53571 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53572 fi
53573
53574 # Have a temporary directory for convenience. Make it in the build tree
53575 # simply because there is no reason against having it here, and in addition,
53576 # creating and moving files from /tmp can sometimes cause problems.
53577 # Hook for its removal unless debugging.
53578 # Note that there is a small window in which the directory will not be cleaned:
53579 # after its creation but before its name has been assigned to `$tmp'.
53580 $debug ||
53581 {
53582 tmp=
53583 trap 'exit_status=$?
53584 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53585 ' 0
53586 trap '{ (exit 1); exit 1; }' 1 2 13 15
53587 }
53588 # Create a (secure) tmp directory for tmp files.
53589
53590 {
53591 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53592 test -n "$tmp" && test -d "$tmp"
53593 } ||
53594 {
53595 tmp=./conf$$-$RANDOM
53596 (umask 077 && mkdir "$tmp")
53597 } ||
53598 {
53599 echo "$me: cannot create a temporary directory in ." >&2
53600 { (exit 1); exit 1; }
53601 }
53602
53603 #
53604 # Set up the sed scripts for CONFIG_FILES section.
53605 #
53606
53607 # No need to generate the scripts if there are no CONFIG_FILES.
53608 # This happens for instance when ./config.status config.h
53609 if test -n "$CONFIG_FILES"; then
53610
53611 _ACEOF
53612
53613
53614
53615 ac_delim='%!_!# '
53616 for ac_last_try in false false false false false :; do
53617 cat >conf$$subs.sed <<_ACEOF
53618 SHELL!$SHELL$ac_delim
53619 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53620 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53621 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53622 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53623 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53624 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53625 exec_prefix!$exec_prefix$ac_delim
53626 prefix!$prefix$ac_delim
53627 program_transform_name!$program_transform_name$ac_delim
53628 bindir!$bindir$ac_delim
53629 sbindir!$sbindir$ac_delim
53630 libexecdir!$libexecdir$ac_delim
53631 datarootdir!$datarootdir$ac_delim
53632 datadir!$datadir$ac_delim
53633 sysconfdir!$sysconfdir$ac_delim
53634 sharedstatedir!$sharedstatedir$ac_delim
53635 localstatedir!$localstatedir$ac_delim
53636 includedir!$includedir$ac_delim
53637 oldincludedir!$oldincludedir$ac_delim
53638 docdir!$docdir$ac_delim
53639 infodir!$infodir$ac_delim
53640 htmldir!$htmldir$ac_delim
53641 dvidir!$dvidir$ac_delim
53642 pdfdir!$pdfdir$ac_delim
53643 psdir!$psdir$ac_delim
53644 libdir!$libdir$ac_delim
53645 localedir!$localedir$ac_delim
53646 mandir!$mandir$ac_delim
53647 DEFS!$DEFS$ac_delim
53648 ECHO_C!$ECHO_C$ac_delim
53649 ECHO_N!$ECHO_N$ac_delim
53650 ECHO_T!$ECHO_T$ac_delim
53651 LIBS!$LIBS$ac_delim
53652 build_alias!$build_alias$ac_delim
53653 host_alias!$host_alias$ac_delim
53654 target_alias!$target_alias$ac_delim
53655 build!$build$ac_delim
53656 build_cpu!$build_cpu$ac_delim
53657 build_vendor!$build_vendor$ac_delim
53658 build_os!$build_os$ac_delim
53659 host!$host$ac_delim
53660 host_cpu!$host_cpu$ac_delim
53661 host_vendor!$host_vendor$ac_delim
53662 host_os!$host_os$ac_delim
53663 wx_top_builddir!$wx_top_builddir$ac_delim
53664 CC!$CC$ac_delim
53665 CFLAGS!$CFLAGS$ac_delim
53666 LDFLAGS!$LDFLAGS$ac_delim
53667 CPPFLAGS!$CPPFLAGS$ac_delim
53668 ac_ct_CC!$ac_ct_CC$ac_delim
53669 EXEEXT!$EXEEXT$ac_delim
53670 OBJEXT!$OBJEXT$ac_delim
53671 CPP!$CPP$ac_delim
53672 GREP!$GREP$ac_delim
53673 EGREP!$EGREP$ac_delim
53674 CXX!$CXX$ac_delim
53675 CXXFLAGS!$CXXFLAGS$ac_delim
53676 ac_ct_CXX!$ac_ct_CXX$ac_delim
53677 AR!$AR$ac_delim
53678 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53679 CXXCPP!$CXXCPP$ac_delim
53680 subdirs!$subdirs$ac_delim
53681 PKG_CONFIG!$PKG_CONFIG$ac_delim
53682 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53683 GTK_LIBS!$GTK_LIBS$ac_delim
53684 GTK_CONFIG!$GTK_CONFIG$ac_delim
53685 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53686 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53687 XMKMF!$XMKMF$ac_delim
53688 X_CFLAGS!$X_CFLAGS$ac_delim
53689 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53690 X_LIBS!$X_LIBS$ac_delim
53691 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53692 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53693 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53694 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53695 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53696 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53697 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53698 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53699 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53700 LIBICONV!$LIBICONV$ac_delim
53701 GXX_VERSION!$GXX_VERSION$ac_delim
53702 SDL_CONFIG!$SDL_CONFIG$ac_delim
53703 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53704 SDL_LIBS!$SDL_LIBS$ac_delim
53705 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53706 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53707 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53708 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53709 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53710 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53711 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53712 HILDON_LIBS!$HILDON_LIBS$ac_delim
53713 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53714 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53715 _ACEOF
53716
53717 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53718 break
53719 elif $ac_last_try; then
53720 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53721 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53722 { (exit 1); exit 1; }; }
53723 else
53724 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53725 fi
53726 done
53727
53728 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53729 if test -n "$ac_eof"; then
53730 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53731 ac_eof=`expr $ac_eof + 1`
53732 fi
53733
53734 cat >>$CONFIG_STATUS <<_ACEOF
53735 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53737 _ACEOF
53738 sed '
53739 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53740 s/^/s,@/; s/!/@,|#_!!_#|/
53741 :n
53742 t n
53743 s/'"$ac_delim"'$/,g/; t
53744 s/$/\\/; p
53745 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53746 ' >>$CONFIG_STATUS <conf$$subs.sed
53747 rm -f conf$$subs.sed
53748 cat >>$CONFIG_STATUS <<_ACEOF
53749 CEOF$ac_eof
53750 _ACEOF
53751
53752
53753 ac_delim='%!_!# '
53754 for ac_last_try in false false false false false :; do
53755 cat >conf$$subs.sed <<_ACEOF
53756 PYTHON!$PYTHON$ac_delim
53757 COND_PYTHON!$COND_PYTHON$ac_delim
53758 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53759 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53760 GST_CFLAGS!$GST_CFLAGS$ac_delim
53761 GST_LIBS!$GST_LIBS$ac_delim
53762 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53763 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53764 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53765 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53766 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53767 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53768 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53769 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53770 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53771 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53772 VENDOR!$VENDOR$ac_delim
53773 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53774 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53775 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53776 WXUNIV!$WXUNIV$ac_delim
53777 MONOLITHIC!$MONOLITHIC$ac_delim
53778 USE_PLUGINS!$USE_PLUGINS$ac_delim
53779 CXXWARNINGS!$CXXWARNINGS$ac_delim
53780 EXTRALIBS!$EXTRALIBS$ac_delim
53781 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53782 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53783 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53784 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53785 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53786 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53787 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53788 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53789 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53790 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53791 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53792 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53793 UNICODE!$UNICODE$ac_delim
53794 DEBUG_INFO!$DEBUG_INFO$ac_delim
53795 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53796 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53797 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53798 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53799 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53800 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53801 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53802 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53803 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53804 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53805 RANLIB!$RANLIB$ac_delim
53806 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53807 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53808 INSTALL_DATA!$INSTALL_DATA$ac_delim
53809 LN_S!$LN_S$ac_delim
53810 SET_MAKE!$SET_MAKE$ac_delim
53811 MAKE_SET!$MAKE_SET$ac_delim
53812 AROPTIONS!$AROPTIONS$ac_delim
53813 STRIP!$STRIP$ac_delim
53814 NM!$NM$ac_delim
53815 INSTALL_DIR!$INSTALL_DIR$ac_delim
53816 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53817 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53818 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53819 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53820 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53821 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53822 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53823 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53824 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53825 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53826 SO_SUFFIX!$SO_SUFFIX$ac_delim
53827 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53828 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53829 LIBPREFIX!$LIBPREFIX$ac_delim
53830 LIBEXT!$LIBEXT$ac_delim
53831 DLLPREFIX!$DLLPREFIX$ac_delim
53832 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53833 dlldir!$dlldir$ac_delim
53834 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53835 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53836 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53837 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53838 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53839 PIC_FLAG!$PIC_FLAG$ac_delim
53840 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53841 USE_SOVERSION!$USE_SOVERSION$ac_delim
53842 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53843 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53844 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53845 USE_MACVERSION!$USE_MACVERSION$ac_delim
53846 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53847 SONAME_FLAG!$SONAME_FLAG$ac_delim
53848 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53849 BK_DEPS!$BK_DEPS$ac_delim
53850 WINDRES!$WINDRES$ac_delim
53851 REZ!$REZ$ac_delim
53852 SETFILE!$SETFILE$ac_delim
53853 _ACEOF
53854
53855 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53856 break
53857 elif $ac_last_try; then
53858 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53859 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53860 { (exit 1); exit 1; }; }
53861 else
53862 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53863 fi
53864 done
53865
53866 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53867 if test -n "$ac_eof"; then
53868 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53869 ac_eof=`expr $ac_eof + 1`
53870 fi
53871
53872 cat >>$CONFIG_STATUS <<_ACEOF
53873 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53874 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53875 _ACEOF
53876 sed '
53877 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53878 s/^/s,@/; s/!/@,|#_!!_#|/
53879 :n
53880 t n
53881 s/'"$ac_delim"'$/,g/; t
53882 s/$/\\/; p
53883 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53884 ' >>$CONFIG_STATUS <conf$$subs.sed
53885 rm -f conf$$subs.sed
53886 cat >>$CONFIG_STATUS <<_ACEOF
53887 CEOF$ac_eof
53888 _ACEOF
53889
53890
53891 ac_delim='%!_!# '
53892 for ac_last_try in false false false false false :; do
53893 cat >conf$$subs.sed <<_ACEOF
53894 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53895 GCC_PCH!$GCC_PCH$ac_delim
53896 ICC_PCH!$ICC_PCH$ac_delim
53897 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53898 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53899 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53900 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53901 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53902 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53903 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53904 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53905 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53906 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53907 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53908 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53909 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53910 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53911 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53912 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53913 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53914 COND_BUILD_release!$COND_BUILD_release$ac_delim
53915 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53916 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53917 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53918 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53919 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53920 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53921 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53922 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53923 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53924 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53925 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53926 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53927 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53928 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53929 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53931 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53933 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53934 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53935 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53936 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53938 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53949 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53950 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53951 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53952 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53953 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53954 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53955 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53956 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53957 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53958 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53959 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53960 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53961 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53962 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53963 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53965 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53966 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53967 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53968 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53969 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53970 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53971 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
53972 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53973 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
53974 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53975 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
53976 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53977 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53979 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53980 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53981 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53982 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53983 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53984 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53985 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53986 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53987 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53988 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53989 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53990 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53991 _ACEOF
53992
53993 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53994 break
53995 elif $ac_last_try; then
53996 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53997 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53998 { (exit 1); exit 1; }; }
53999 else
54000 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54001 fi
54002 done
54003
54004 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54005 if test -n "$ac_eof"; then
54006 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54007 ac_eof=`expr $ac_eof + 1`
54008 fi
54009
54010 cat >>$CONFIG_STATUS <<_ACEOF
54011 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54013 _ACEOF
54014 sed '
54015 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54016 s/^/s,@/; s/!/@,|#_!!_#|/
54017 :n
54018 t n
54019 s/'"$ac_delim"'$/,g/; t
54020 s/$/\\/; p
54021 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54022 ' >>$CONFIG_STATUS <conf$$subs.sed
54023 rm -f conf$$subs.sed
54024 cat >>$CONFIG_STATUS <<_ACEOF
54025 CEOF$ac_eof
54026 _ACEOF
54027
54028
54029 ac_delim='%!_!# '
54030 for ac_last_try in false false false false false :; do
54031 cat >conf$$subs.sed <<_ACEOF
54032 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54033 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54034 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54035 COND_SHARED_0!$COND_SHARED_0$ac_delim
54036 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54037 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54038 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54039 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54040 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54041 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54042 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54043 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54044 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54045 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54046 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54047 COND_SHARED_1!$COND_SHARED_1$ac_delim
54048 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54049 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54050 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54051 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54052 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54053 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54054 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54055 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54056 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54060 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54061 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54062 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54063 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54064 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54065 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54066 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54067 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54069 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54070 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54071 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54072 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54073 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54074 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54075 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54076 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54077 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54078 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54079 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54080 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54081 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54083 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54084 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54085 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54086 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54087 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54088 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54089 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54090 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54091 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54092 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54093 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54094 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54095 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54096 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54097 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54098 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54099 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54100 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54101 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54102 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54103 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54104 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54105 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54106 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54107 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54108 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54109 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54110 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54111 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54112 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54113 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54114 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54115 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54116 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54117 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54118 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54119 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54120 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54121 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54122 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54123 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54124 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54125 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54126 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54127 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54128 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54129 _ACEOF
54130
54131 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54132 break
54133 elif $ac_last_try; then
54134 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54135 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54136 { (exit 1); exit 1; }; }
54137 else
54138 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54139 fi
54140 done
54141
54142 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54143 if test -n "$ac_eof"; then
54144 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54145 ac_eof=`expr $ac_eof + 1`
54146 fi
54147
54148 cat >>$CONFIG_STATUS <<_ACEOF
54149 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54151 _ACEOF
54152 sed '
54153 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54154 s/^/s,@/; s/!/@,|#_!!_#|/
54155 :n
54156 t n
54157 s/'"$ac_delim"'$/,g/; t
54158 s/$/\\/; p
54159 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54160 ' >>$CONFIG_STATUS <conf$$subs.sed
54161 rm -f conf$$subs.sed
54162 cat >>$CONFIG_STATUS <<_ACEOF
54163 CEOF$ac_eof
54164 _ACEOF
54165
54166
54167 ac_delim='%!_!# '
54168 for ac_last_try in false false false false false :; do
54169 cat >conf$$subs.sed <<_ACEOF
54170 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54171 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54172 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54173 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54174 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54175 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54176 DEREZ!$DEREZ$ac_delim
54177 SHARED!$SHARED$ac_delim
54178 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54179 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54180 USE_GUI!$USE_GUI$ac_delim
54181 AFMINSTALL!$AFMINSTALL$ac_delim
54182 WIN32INSTALL!$WIN32INSTALL$ac_delim
54183 TOOLKIT!$TOOLKIT$ac_delim
54184 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54185 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54186 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54187 cross_compiling!$cross_compiling$ac_delim
54188 WIDGET_SET!$WIDGET_SET$ac_delim
54189 WX_RELEASE!$WX_RELEASE$ac_delim
54190 WX_VERSION!$WX_VERSION$ac_delim
54191 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54192 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54193 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54194 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54195 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54196 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54197 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54198 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54199 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54200 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54201 GUIDIST!$GUIDIST$ac_delim
54202 DISTDIR!$DISTDIR$ac_delim
54203 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54204 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54205 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54206 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54207 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54208 RESCOMP!$RESCOMP$ac_delim
54209 RESFLAGS!$RESFLAGS$ac_delim
54210 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54211 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54212 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54213 LIBWXMACRES!$LIBWXMACRES$ac_delim
54214 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54215 MACSETFILE!$MACSETFILE$ac_delim
54216 GCC!$GCC$ac_delim
54217 DLLTOOL!$DLLTOOL$ac_delim
54218 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54219 LIBOBJS!$LIBOBJS$ac_delim
54220 LTLIBOBJS!$LTLIBOBJS$ac_delim
54221 _ACEOF
54222
54223 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54224 break
54225 elif $ac_last_try; then
54226 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54227 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54228 { (exit 1); exit 1; }; }
54229 else
54230 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54231 fi
54232 done
54233
54234 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54235 if test -n "$ac_eof"; then
54236 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54237 ac_eof=`expr $ac_eof + 1`
54238 fi
54239
54240 cat >>$CONFIG_STATUS <<_ACEOF
54241 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54243 _ACEOF
54244 sed '
54245 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54246 s/^/s,@/; s/!/@,|#_!!_#|/
54247 :n
54248 t n
54249 s/'"$ac_delim"'$/,g/; t
54250 s/$/\\/; p
54251 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54252 ' >>$CONFIG_STATUS <conf$$subs.sed
54253 rm -f conf$$subs.sed
54254 cat >>$CONFIG_STATUS <<_ACEOF
54255 :end
54256 s/|#_!!_#|//g
54257 CEOF$ac_eof
54258 _ACEOF
54259
54260
54261 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54262 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54263 # trailing colons and then remove the whole line if VPATH becomes empty
54264 # (actually we leave an empty line to preserve line numbers).
54265 if test "x$srcdir" = x.; then
54266 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54267 s/:*\$(srcdir):*/:/
54268 s/:*\${srcdir}:*/:/
54269 s/:*@srcdir@:*/:/
54270 s/^\([^=]*=[ ]*\):*/\1/
54271 s/:*$//
54272 s/^[^=]*=[ ]*$//
54273 }'
54274 fi
54275
54276 cat >>$CONFIG_STATUS <<\_ACEOF
54277 fi # test -n "$CONFIG_FILES"
54278
54279
54280 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54281 do
54282 case $ac_tag in
54283 :[FHLC]) ac_mode=$ac_tag; continue;;
54284 esac
54285 case $ac_mode$ac_tag in
54286 :[FHL]*:*);;
54287 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54288 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54289 { (exit 1); exit 1; }; };;
54290 :[FH]-) ac_tag=-:-;;
54291 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54292 esac
54293 ac_save_IFS=$IFS
54294 IFS=:
54295 set x $ac_tag
54296 IFS=$ac_save_IFS
54297 shift
54298 ac_file=$1
54299 shift
54300
54301 case $ac_mode in
54302 :L) ac_source=$1;;
54303 :[FH])
54304 ac_file_inputs=
54305 for ac_f
54306 do
54307 case $ac_f in
54308 -) ac_f="$tmp/stdin";;
54309 *) # Look for the file first in the build tree, then in the source tree
54310 # (if the path is not absolute). The absolute path cannot be DOS-style,
54311 # because $ac_f cannot contain `:'.
54312 test -f "$ac_f" ||
54313 case $ac_f in
54314 [\\/$]*) false;;
54315 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54316 esac ||
54317 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54318 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54319 { (exit 1); exit 1; }; };;
54320 esac
54321 ac_file_inputs="$ac_file_inputs $ac_f"
54322 done
54323
54324 # Let's still pretend it is `configure' which instantiates (i.e., don't
54325 # use $as_me), people would be surprised to read:
54326 # /* config.h. Generated by config.status. */
54327 configure_input="Generated from "`IFS=:
54328 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54329 if test x"$ac_file" != x-; then
54330 configure_input="$ac_file. $configure_input"
54331 { echo "$as_me:$LINENO: creating $ac_file" >&5
54332 echo "$as_me: creating $ac_file" >&6;}
54333 fi
54334
54335 case $ac_tag in
54336 *:-:* | *:-) cat >"$tmp/stdin";;
54337 esac
54338 ;;
54339 esac
54340
54341 ac_dir=`$as_dirname -- "$ac_file" ||
54342 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54343 X"$ac_file" : 'X\(//\)[^/]' \| \
54344 X"$ac_file" : 'X\(//\)$' \| \
54345 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54346 echo X"$ac_file" |
54347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54348 s//\1/
54349 q
54350 }
54351 /^X\(\/\/\)[^/].*/{
54352 s//\1/
54353 q
54354 }
54355 /^X\(\/\/\)$/{
54356 s//\1/
54357 q
54358 }
54359 /^X\(\/\).*/{
54360 s//\1/
54361 q
54362 }
54363 s/.*/./; q'`
54364 { as_dir="$ac_dir"
54365 case $as_dir in #(
54366 -*) as_dir=./$as_dir;;
54367 esac
54368 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54369 as_dirs=
54370 while :; do
54371 case $as_dir in #(
54372 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54373 *) as_qdir=$as_dir;;
54374 esac
54375 as_dirs="'$as_qdir' $as_dirs"
54376 as_dir=`$as_dirname -- "$as_dir" ||
54377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54378 X"$as_dir" : 'X\(//\)[^/]' \| \
54379 X"$as_dir" : 'X\(//\)$' \| \
54380 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54381 echo X"$as_dir" |
54382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54383 s//\1/
54384 q
54385 }
54386 /^X\(\/\/\)[^/].*/{
54387 s//\1/
54388 q
54389 }
54390 /^X\(\/\/\)$/{
54391 s//\1/
54392 q
54393 }
54394 /^X\(\/\).*/{
54395 s//\1/
54396 q
54397 }
54398 s/.*/./; q'`
54399 test -d "$as_dir" && break
54400 done
54401 test -z "$as_dirs" || eval "mkdir $as_dirs"
54402 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54403 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54404 { (exit 1); exit 1; }; }; }
54405 ac_builddir=.
54406
54407 case "$ac_dir" in
54408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54409 *)
54410 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54411 # A ".." for each directory in $ac_dir_suffix.
54412 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54413 case $ac_top_builddir_sub in
54414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54416 esac ;;
54417 esac
54418 ac_abs_top_builddir=$ac_pwd
54419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54420 # for backward compatibility:
54421 ac_top_builddir=$ac_top_build_prefix
54422
54423 case $srcdir in
54424 .) # We are building in place.
54425 ac_srcdir=.
54426 ac_top_srcdir=$ac_top_builddir_sub
54427 ac_abs_top_srcdir=$ac_pwd ;;
54428 [\\/]* | ?:[\\/]* ) # Absolute name.
54429 ac_srcdir=$srcdir$ac_dir_suffix;
54430 ac_top_srcdir=$srcdir
54431 ac_abs_top_srcdir=$srcdir ;;
54432 *) # Relative name.
54433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54434 ac_top_srcdir=$ac_top_build_prefix$srcdir
54435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54436 esac
54437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54438
54439
54440 case $ac_mode in
54441 :F)
54442 #
54443 # CONFIG_FILE
54444 #
54445
54446 case $INSTALL in
54447 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54448 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54449 esac
54450 _ACEOF
54451
54452 cat >>$CONFIG_STATUS <<\_ACEOF
54453 # If the template does not know about datarootdir, expand it.
54454 # FIXME: This hack should be removed a few years after 2.60.
54455 ac_datarootdir_hack=; ac_datarootdir_seen=
54456
54457 case `sed -n '/datarootdir/ {
54458 p
54459 q
54460 }
54461 /@datadir@/p
54462 /@docdir@/p
54463 /@infodir@/p
54464 /@localedir@/p
54465 /@mandir@/p
54466 ' $ac_file_inputs` in
54467 *datarootdir*) ac_datarootdir_seen=yes;;
54468 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54469 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54470 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54471 _ACEOF
54472 cat >>$CONFIG_STATUS <<_ACEOF
54473 ac_datarootdir_hack='
54474 s&@datadir@&$datadir&g
54475 s&@docdir@&$docdir&g
54476 s&@infodir@&$infodir&g
54477 s&@localedir@&$localedir&g
54478 s&@mandir@&$mandir&g
54479 s&\\\${datarootdir}&$datarootdir&g' ;;
54480 esac
54481 _ACEOF
54482
54483 # Neutralize VPATH when `$srcdir' = `.'.
54484 # Shell code in configure.ac might set extrasub.
54485 # FIXME: do we really want to maintain this feature?
54486 cat >>$CONFIG_STATUS <<_ACEOF
54487 sed "$ac_vpsub
54488 $extrasub
54489 _ACEOF
54490 cat >>$CONFIG_STATUS <<\_ACEOF
54491 :t
54492 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54493 s&@configure_input@&$configure_input&;t t
54494 s&@top_builddir@&$ac_top_builddir_sub&;t t
54495 s&@srcdir@&$ac_srcdir&;t t
54496 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54497 s&@top_srcdir@&$ac_top_srcdir&;t t
54498 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54499 s&@builddir@&$ac_builddir&;t t
54500 s&@abs_builddir@&$ac_abs_builddir&;t t
54501 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54502 s&@INSTALL@&$ac_INSTALL&;t t
54503 $ac_datarootdir_hack
54504 " $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
54505
54506 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54507 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54509 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54510 which seems to be undefined. Please make sure it is defined." >&5
54511 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54512 which seems to be undefined. Please make sure it is defined." >&2;}
54513
54514 rm -f "$tmp/stdin"
54515 case $ac_file in
54516 -) cat "$tmp/out"; rm -f "$tmp/out";;
54517 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54518 esac
54519 ;;
54520 :H)
54521 #
54522 # CONFIG_HEADER
54523 #
54524 _ACEOF
54525
54526 # Transform confdefs.h into a sed script `conftest.defines', that
54527 # substitutes the proper values into config.h.in to produce config.h.
54528 rm -f conftest.defines conftest.tail
54529 # First, append a space to every undef/define line, to ease matching.
54530 echo 's/$/ /' >conftest.defines
54531 # Then, protect against being on the right side of a sed subst, or in
54532 # an unquoted here document, in config.status. If some macros were
54533 # called several times there might be several #defines for the same
54534 # symbol, which is useless. But do not sort them, since the last
54535 # AC_DEFINE must be honored.
54536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54537 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54538 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54539 # PARAMS is the parameter list in the macro definition--in most cases, it's
54540 # just an empty string.
54541 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54542 ac_dB='\\)[ (].*,\\1define\\2'
54543 ac_dC=' '
54544 ac_dD=' ,'
54545
54546 uniq confdefs.h |
54547 sed -n '
54548 t rset
54549 :rset
54550 s/^[ ]*#[ ]*define[ ][ ]*//
54551 t ok
54552 d
54553 :ok
54554 s/[\\&,]/\\&/g
54555 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54556 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54557 ' >>conftest.defines
54558
54559 # Remove the space that was appended to ease matching.
54560 # Then replace #undef with comments. This is necessary, for
54561 # example, in the case of _POSIX_SOURCE, which is predefined and required
54562 # on some systems where configure will not decide to define it.
54563 # (The regexp can be short, since the line contains either #define or #undef.)
54564 echo 's/ $//
54565 s,^[ #]*u.*,/* & */,' >>conftest.defines
54566
54567 # Break up conftest.defines:
54568 ac_max_sed_lines=50
54569
54570 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54571 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54572 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54573 # et cetera.
54574 ac_in='$ac_file_inputs'
54575 ac_out='"$tmp/out1"'
54576 ac_nxt='"$tmp/out2"'
54577
54578 while :
54579 do
54580 # Write a here document:
54581 cat >>$CONFIG_STATUS <<_ACEOF
54582 # First, check the format of the line:
54583 cat >"\$tmp/defines.sed" <<\\CEOF
54584 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54585 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54586 b
54587 :def
54588 _ACEOF
54589 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54590 echo 'CEOF
54591 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54592 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54593 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54594 grep . conftest.tail >/dev/null || break
54595 rm -f conftest.defines
54596 mv conftest.tail conftest.defines
54597 done
54598 rm -f conftest.defines conftest.tail
54599
54600 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54601 cat >>$CONFIG_STATUS <<\_ACEOF
54602 if test x"$ac_file" != x-; then
54603 echo "/* $configure_input */" >"$tmp/config.h"
54604 cat "$ac_result" >>"$tmp/config.h"
54605 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54606 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54607 echo "$as_me: $ac_file is unchanged" >&6;}
54608 else
54609 rm -f $ac_file
54610 mv "$tmp/config.h" $ac_file
54611 fi
54612 else
54613 echo "/* $configure_input */"
54614 cat "$ac_result"
54615 fi
54616 rm -f "$tmp/out12"
54617 ;;
54618
54619 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54620 echo "$as_me: executing $ac_file commands" >&6;}
54621 ;;
54622 esac
54623
54624
54625 case $ac_file$ac_mode in
54626 "rcdefs.h":C)
54627 mkdir -p $outdir &&
54628 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54629 ;;
54630 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54631 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54632 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54633 "wx-config":C) rm -f wx-config
54634 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54635 ;;
54636
54637 esac
54638 done # for ac_tag
54639
54640
54641 { (exit 0); exit 0; }
54642 _ACEOF
54643 chmod +x $CONFIG_STATUS
54644 ac_clean_files=$ac_clean_files_save
54645
54646
54647 # configure is writing to config.log, and then calls config.status.
54648 # config.status does its own redirection, appending to config.log.
54649 # Unfortunately, on DOS this fails, as config.log is still kept open
54650 # by configure, so config.status won't be able to write to it; its
54651 # output is simply discarded. So we exec the FD to /dev/null,
54652 # effectively closing config.log, so it can be properly (re)opened and
54653 # appended to by config.status. When coming back to configure, we
54654 # need to make the FD available again.
54655 if test "$no_create" != yes; then
54656 ac_cs_success=:
54657 ac_config_status_args=
54658 test "$silent" = yes &&
54659 ac_config_status_args="$ac_config_status_args --quiet"
54660 exec 5>/dev/null
54661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54662 exec 5>>config.log
54663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54664 # would make configure fail if this is the last instruction.
54665 $ac_cs_success || { (exit 1); exit 1; }
54666 fi
54667
54668 #
54669 # CONFIG_SUBDIRS section.
54670 #
54671 if test "$no_recursion" != yes; then
54672
54673 # Remove --cache-file and --srcdir arguments so they do not pile up.
54674 ac_sub_configure_args=
54675 ac_prev=
54676 eval "set x $ac_configure_args"
54677 shift
54678 for ac_arg
54679 do
54680 if test -n "$ac_prev"; then
54681 ac_prev=
54682 continue
54683 fi
54684 case $ac_arg in
54685 -cache-file | --cache-file | --cache-fil | --cache-fi \
54686 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54687 ac_prev=cache_file ;;
54688 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54689 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54690 | --c=*)
54691 ;;
54692 --config-cache | -C)
54693 ;;
54694 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54695 ac_prev=srcdir ;;
54696 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54697 ;;
54698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54699 ac_prev=prefix ;;
54700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54701 ;;
54702 *)
54703 case $ac_arg in
54704 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54705 esac
54706 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54707 esac
54708 done
54709
54710 # Always prepend --prefix to ensure using the same prefix
54711 # in subdir configurations.
54712 ac_arg="--prefix=$prefix"
54713 case $ac_arg in
54714 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54715 esac
54716 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54717
54718 # Pass --silent
54719 if test "$silent" = yes; then
54720 ac_sub_configure_args="--silent $ac_sub_configure_args"
54721 fi
54722
54723 ac_popdir=`pwd`
54724 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54725
54726 # Do not complain, so a configure script can configure whichever
54727 # parts of a large source tree are present.
54728 test -d "$srcdir/$ac_dir" || continue
54729
54730 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54731 echo "$as_me:$LINENO: $ac_msg" >&5
54732 echo "$ac_msg" >&6
54733 { as_dir="$ac_dir"
54734 case $as_dir in #(
54735 -*) as_dir=./$as_dir;;
54736 esac
54737 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54738 as_dirs=
54739 while :; do
54740 case $as_dir in #(
54741 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54742 *) as_qdir=$as_dir;;
54743 esac
54744 as_dirs="'$as_qdir' $as_dirs"
54745 as_dir=`$as_dirname -- "$as_dir" ||
54746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54747 X"$as_dir" : 'X\(//\)[^/]' \| \
54748 X"$as_dir" : 'X\(//\)$' \| \
54749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54750 echo X"$as_dir" |
54751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54752 s//\1/
54753 q
54754 }
54755 /^X\(\/\/\)[^/].*/{
54756 s//\1/
54757 q
54758 }
54759 /^X\(\/\/\)$/{
54760 s//\1/
54761 q
54762 }
54763 /^X\(\/\).*/{
54764 s//\1/
54765 q
54766 }
54767 s/.*/./; q'`
54768 test -d "$as_dir" && break
54769 done
54770 test -z "$as_dirs" || eval "mkdir $as_dirs"
54771 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54772 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54773 { (exit 1); exit 1; }; }; }
54774 ac_builddir=.
54775
54776 case "$ac_dir" in
54777 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54778 *)
54779 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54780 # A ".." for each directory in $ac_dir_suffix.
54781 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54782 case $ac_top_builddir_sub in
54783 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54784 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54785 esac ;;
54786 esac
54787 ac_abs_top_builddir=$ac_pwd
54788 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54789 # for backward compatibility:
54790 ac_top_builddir=$ac_top_build_prefix
54791
54792 case $srcdir in
54793 .) # We are building in place.
54794 ac_srcdir=.
54795 ac_top_srcdir=$ac_top_builddir_sub
54796 ac_abs_top_srcdir=$ac_pwd ;;
54797 [\\/]* | ?:[\\/]* ) # Absolute name.
54798 ac_srcdir=$srcdir$ac_dir_suffix;
54799 ac_top_srcdir=$srcdir
54800 ac_abs_top_srcdir=$srcdir ;;
54801 *) # Relative name.
54802 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54803 ac_top_srcdir=$ac_top_build_prefix$srcdir
54804 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54805 esac
54806 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54807
54808
54809 cd "$ac_dir"
54810
54811 # Check for guested configure; otherwise get Cygnus style configure.
54812 if test -f "$ac_srcdir/configure.gnu"; then
54813 ac_sub_configure=$ac_srcdir/configure.gnu
54814 elif test -f "$ac_srcdir/configure"; then
54815 ac_sub_configure=$ac_srcdir/configure
54816 elif test -f "$ac_srcdir/configure.in"; then
54817 # This should be Cygnus configure.
54818 ac_sub_configure=$ac_aux_dir/configure
54819 else
54820 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54821 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54822 ac_sub_configure=
54823 fi
54824
54825 # The recursion is here.
54826 if test -n "$ac_sub_configure"; then
54827 # Make the cache file name correct relative to the subdirectory.
54828 case $cache_file in
54829 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54830 *) # Relative name.
54831 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54832 esac
54833
54834 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54835 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54836 # The eval makes quoting arguments work.
54837 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54838 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54839 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54840 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54841 { (exit 1); exit 1; }; }
54842 fi
54843
54844 cd "$ac_popdir"
54845 done
54846 fi
54847
54848
54849 echo
54850 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54851 echo ""
54852 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54853 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54854 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54855 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54856 if test "$wxUSE_UNICODE" = "yes"; then
54857 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54858 echo " (using UTF-8)"
54859 else
54860 echo " (using wchar_t)"
54861 fi
54862 else
54863 echo
54864 fi
54865
54866 echo " What level of wxWidgets compatibility should be enabled?"
54867 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54868 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54869
54870 echo " Which libraries should wxWidgets use?"
54871 echo " STL ${wxUSE_STL}"
54872 echo " jpeg ${wxUSE_LIBJPEG-none}"
54873 echo " png ${wxUSE_LIBPNG-none}"
54874 echo " regex ${wxUSE_REGEX}"
54875 echo " tiff ${wxUSE_LIBTIFF-none}"
54876 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54877 echo " xpm ${wxUSE_LIBXPM-none}"
54878 fi
54879 echo " zlib ${wxUSE_ZLIB}"
54880 echo " expat ${wxUSE_EXPAT}"
54881 echo " libmspack ${wxUSE_LIBMSPACK}"
54882 echo " sdl ${wxUSE_LIBSDL}"
54883
54884 echo ""
54885